summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/gitbook-core/src/models/StateApi.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/gitbook-core/src/models/StateApi.js b/packages/gitbook-core/src/models/StateApi.js
index 430833b..3347c46 100644
--- a/packages/gitbook-core/src/models/StateApi.js
+++ b/packages/gitbook-core/src/models/StateApi.js
@@ -1,6 +1,9 @@
const { Record } = require('immutable');
const DEFAULTS = {
+ // Is the API accessible for this book ? (Is the book on GitBook.com)
+ isAvailable: false,
+ // Current gitbook.com ready the book
currentUser: null
};