aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionSchema/CollectionSchemaCells.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-11-21 14:50:25 -0500
committerbobzel <zzzman@gmail.com>2022-11-21 14:50:25 -0500
commit1f5db9cfc594dbf337d752ec94dab5fca7d8b6f7 (patch)
tree1427d85c987550b60a5a5068b46e07070cc283b9 /src/client/views/collections/collectionSchema/CollectionSchemaCells.tsx
parentcdd1dd95c67fcb95914913bb5346c5117c0abc27 (diff)
working cleaned up version of link editor properties in propertiesView
Diffstat (limited to 'src/client/views/collections/collectionSchema/CollectionSchemaCells.tsx')
-rw-r--r--src/client/views/collections/collectionSchema/CollectionSchemaCells.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaCells.tsx b/src/client/views/collections/collectionSchema/CollectionSchemaCells.tsx
index ef75fb159..a22999f52 100644
--- a/src/client/views/collections/collectionSchema/CollectionSchemaCells.tsx
+++ b/src/client/views/collections/collectionSchema/CollectionSchemaCells.tsx
@@ -31,6 +31,7 @@ import { OverlayView } from '../../OverlayView';
import { CollectionView } from '../CollectionView';
import './CollectionSchemaView.scss';
import { OpenWhere } from '../../nodes/DocumentView';
+import { PinProps } from '../../nodes/trails';
// intialize cell properties
export interface CellProps {
@@ -48,7 +49,7 @@ export interface CellProps {
renderDepth: number;
// called when a button is pressed on the node itself
addDocTab: (document: Doc, where: OpenWhere) => boolean;
- pinToPres: (document: Doc) => void;
+ pinToPres: (document: Doc, pinProps: PinProps) => void;
moveDocument?: (document: Doc | Doc[], targetCollection: Doc | undefined, addDocument: (document: Doc | Doc[]) => boolean) => boolean;
isFocused: boolean;
changeFocusedCellByIndex: (row: number, col: number) => void;