Collection model

This commit is contained in:
Jori Lallo
2017-05-23 00:45:15 -07:00
parent 07ff5b6ae5
commit 6b566a568f
6 changed files with 116 additions and 16 deletions

View File

@@ -19,20 +19,9 @@ export type NavigationNode = {
children: Array<NavigationNode>,
};
export type Collection = {
createdAt: string,
description: ?string,
id: string,
name: string,
type: 'atlas' | 'journal',
navigationTree: NavigationNode,
updatedAt: string,
url: string,
};
export type Document = {
collaborators: Array<User>,
collection: Collection,
collection: Object,
createdAt: string,
createdBy: string,
html: string,