diff options
author | bob <bcz@cs.brown.edu> | 2019-06-20 17:46:56 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-06-20 17:46:56 -0400 |
commit | e495d4e32402384dbf7bb72945e83c912fce892b (patch) | |
tree | e063f397de53788a969bce5196d2c14d7bf14eff /src/client/views/nodes/DocumentView.tsx | |
parent | 46a2a9e1f10b63feeb21a1e186daeaef2ccbcda4 (diff) |
first shot at templates...
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 280804630..93b883533 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -67,6 +67,7 @@ const LinkDoc = makeInterface(linkSchema); export interface DocumentViewProps { ContainingCollectionView: Opt<CollectionView | CollectionPDFView | CollectionVideoView>; Document: Doc; + DataDoc: Doc; addDocument?: (doc: Doc, allowDuplicates?: boolean) => boolean; removeDocument?: (doc: Doc) => boolean; moveDocument?: (doc: Doc, targetCollection: Doc, addDocument: (document: Doc) => boolean) => boolean; |