diff options
| author | bobzel <zzzman@gmail.com> | 2024-05-15 10:55:17 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-05-15 10:55:17 -0400 |
| commit | 213e5c5ab7dcb7a92a2d6c0e2ca10433ddc3141f (patch) | |
| tree | 01a4c5501ce4e6ce8fb74c4a64acb6bc77c5562e /src/client/util/DropActionTypes.ts | |
| parent | c329d7719ed60d71bec4a8ac7309e33081c3373c (diff) | |
| parent | 0b1d434ad7f0d057456631ac786ed338c84a7f41 (diff) | |
merged with new eslint code
Diffstat (limited to 'src/client/util/DropActionTypes.ts')
| -rw-r--r-- | src/client/util/DropActionTypes.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/client/util/DropActionTypes.ts b/src/client/util/DropActionTypes.ts new file mode 100644 index 000000000..45b294d97 --- /dev/null +++ b/src/client/util/DropActionTypes.ts @@ -0,0 +1,9 @@ +export enum dropActionType { + embed = 'embed', // create a new embedding of the dragged document for the new location + copy = 'copy', // copy the dragged document + move = 'move', // move the dragged document to the drop location after removing it from where it was + add = 'add', // add the dragged document to the drop location without removing it from where it was + same = 'same', // only allow drop within same collection (or same hierarchical tree collection) + inPlace = 'inSame', // keep document in place (unless overridden by a drag modifier) + proto = 'proto', +} // undefined = move, same = move but doesn't call dropPropertiesToRemove |
