summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-core/src/models
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-10-06 20:08:47 +0200
committerSamy Pesse <samypesse@gmail.com>2016-10-06 20:08:47 +0200
commit58ae96b7f6a5cd3b7c1fd1d650fcaae4686f578d (patch)
treec1555e51d2d399062d52a8b1df8eda1852a2bf7c /packages/gitbook-core/src/models
parent1354582c4e0d61c7608965f36b3c27ee3e39dc78 (diff)
downloadgitbook-58ae96b7f6a5cd3b7c1fd1d650fcaae4686f578d.zip
gitbook-58ae96b7f6a5cd3b7c1fd1d650fcaae4686f578d.tar.gz
gitbook-58ae96b7f6a5cd3b7c1fd1d650fcaae4686f578d.tar.bz2
Add "url" to summary articles and files in json representation
Diffstat (limited to 'packages/gitbook-core/src/models')
-rw-r--r--packages/gitbook-core/src/models/SummaryArticle.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/gitbook-core/src/models/SummaryArticle.js b/packages/gitbook-core/src/models/SummaryArticle.js
index 0f8ca0d..3651c8a 100644
--- a/packages/gitbook-core/src/models/SummaryArticle.js
+++ b/packages/gitbook-core/src/models/SummaryArticle.js
@@ -4,6 +4,7 @@ const DEFAULTS = {
title: '',
depth: 0,
path: '',
+ url: '',
ref: '',
level: '',
articles: List()