@trebco/treb 27.5.2 → 27.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,27 +0,0 @@
1
-
2
- import type { IArea, ICellAddress } from "treb-base-types";
3
-
4
- export type DependencyList = Array<IArea|ICellAddress|undefined>;
5
- export type ExternalEditorCallback = (selection?: string) => DependencyList|undefined;
6
-
7
- export interface ExternalEditorType {
8
-
9
- /**
10
- * list of dependencies to highlight. we support undefined entries in
11
- * this list so you can use the result of `EmbeddedSpreadsheet.Resolve`,
12
- * which may return undefined.
13
- */
14
- dependencies: DependencyList;
15
-
16
- /**
17
- * this callback will be called when the selection changes in the
18
- * spreadsheet and this external editor is active. return an updated
19
- * list of dependencies to highlight.
20
- *
21
- * NOTE: this is currently synchronous, but don't rely on that. it
22
- * might switch to async in the future depending on how it works in
23
- * practice.
24
- */
25
- update: ExternalEditorCallback;
26
-
27
- }