diff options
author | andrewdkim <adkim414@gmail.com> | 2019-09-21 14:24:05 -0400 |
---|---|---|
committer | andrewdkim <adkim414@gmail.com> | 2019-09-21 14:24:05 -0400 |
commit | c0dc4928c29e043ae897f4f7c58168831c3d8fd5 (patch) | |
tree | 214173886faf8a7bcd47fd384e3341c2f8158658 /src/client/views/nodes/FieldView.tsx | |
parent | 53c4f6ddad5534101d7a7482332cddb02ba99c21 (diff) | |
parent | 1d5dc3eb4095cea017412de9519b8eaee979c16c (diff) |
merge from master
Diffstat (limited to 'src/client/views/nodes/FieldView.tsx')
-rw-r--r-- | src/client/views/nodes/FieldView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/FieldView.tsx b/src/client/views/nodes/FieldView.tsx index 943d181d6..49fc2263d 100644 --- a/src/client/views/nodes/FieldView.tsx +++ b/src/client/views/nodes/FieldView.tsx @@ -30,6 +30,7 @@ export interface FieldViewProps { leaveNativeSize?: boolean; fitToBox?: boolean; ContainingCollectionView: Opt<CollectionView | CollectionPDFView | CollectionVideoView>; + ContainingCollectionDoc: Opt<Doc>; ruleProvider: Doc | undefined; Document: Doc; DataDoc?: Doc; @@ -38,7 +39,7 @@ export interface FieldViewProps { select: (isCtrlPressed: boolean) => void; renderDepth: number; addDocument?: (document: Doc, allowDuplicates?: boolean) => boolean; - addDocTab: (document: Doc, dataDoc: Doc | undefined, where: string) => void; + addDocTab: (document: Doc, dataDoc: Doc | undefined, where: string) => boolean; pinToPres: (document: Doc) => void; removeDocument?: (document: Doc) => boolean; moveDocument?: (document: Doc, targetCollection: Doc, addDocument: (document: Doc) => boolean) => boolean; |