@i2analyze/notebook-sdk 1.3.0-dev.9 → 1.3.0
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.
- package/README.md +2 -1
- package/lib/gen/notebook-sdk-public.d.ts +28 -17
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,10 +8,11 @@ This npm package provides the JavaScript library for developing plug-ins and a t
|
|
|
8
8
|
|
|
9
9
|
| `@i2analyze/notebook-sdk` version | i2 Analyze version |
|
|
10
10
|
| --------------------------------- | ------------------ |
|
|
11
|
+
| 1.3.\* | 4.4.2.0 |
|
|
11
12
|
| 1.2.\* | 4.4.1.0 |
|
|
12
13
|
| 1.1.\* | 4.4.0.0 |
|
|
13
14
|
| 1.0.\* | 4.3.4.0 |
|
|
14
15
|
|
|
15
16
|
## Documentation
|
|
16
17
|
|
|
17
|
-
For more details, see the documentation at https://i2group.github.io/notebook-sdk
|
|
18
|
+
For more details, see the documentation at [https://i2group.github.io/notebook-sdk](https://i2group.github.io/notebook-sdk/).
|
|
@@ -53,10 +53,10 @@ export declare namespace app {
|
|
|
53
53
|
* The list is sorted in ascending order of {@link data.ITimeZone.rawUtcOffset}, and then alphabetically
|
|
54
54
|
* by {@link data.ITimeZone.fullDisplayName} if UTC offsets are equal. For example:
|
|
55
55
|
* ```text
|
|
56
|
-
* (GMT-08:00)
|
|
57
|
-
* (GMT-01:00)
|
|
58
|
-
* (GMT)
|
|
59
|
-
* (GMT+01:00)
|
|
56
|
+
* (GMT-08:00) Los Angeles Time
|
|
57
|
+
* (GMT-01:00) Azores Time [Atlantic/Azores]
|
|
58
|
+
* (GMT) United Kingdom Time [Europe/London]
|
|
59
|
+
* (GMT+01:00)Austria Time
|
|
60
60
|
* (GMT+01:00) Belgium Time
|
|
61
61
|
* ```
|
|
62
62
|
* @i2since 1.0
|
|
@@ -68,57 +68,57 @@ export declare namespace app {
|
|
|
68
68
|
*/
|
|
69
69
|
readonly serverComponents: IServerComponents;
|
|
70
70
|
/**
|
|
71
|
-
* Queues a function that performs tracked mutations on the application contents at the next available opportunity
|
|
71
|
+
* Queues a function that performs tracked mutations on the application contents at the next available opportunity,
|
|
72
|
+
* and can respond to the changes that the mutations cause.
|
|
72
73
|
*
|
|
73
74
|
* @remarks
|
|
74
75
|
* A mutation is an operation that can read or modify the contents of the application.
|
|
75
76
|
* A successful set of _tracked_ mutations is added as a single entry to the undo stack.
|
|
76
77
|
*
|
|
77
78
|
* @param mutationHandler - A function that performs one or more tracked mutations and reports on their success as a whole.
|
|
79
|
+
* @param responseHandler - A callback that receives the changes caused by the mutations.
|
|
78
80
|
* @param options - An object that can control the transaction.
|
|
79
81
|
* @i2since 1.1
|
|
80
82
|
*/
|
|
81
|
-
runTrackedMutations(mutationHandler: TrackedMutationHandler, options?: ITransactionOptions): void;
|
|
83
|
+
runTrackedMutations(mutationHandler: TrackedMutationHandler, responseHandler?: MutationResponseHandler, options?: ITransactionOptions): void;
|
|
82
84
|
/**
|
|
83
|
-
* Queues a function that performs tracked mutations on the application contents at the next available opportunity
|
|
84
|
-
* and can respond to the changes that the mutations cause.
|
|
85
|
+
* Queues a function that performs tracked mutations on the application contents at the next available opportunity.
|
|
85
86
|
*
|
|
86
87
|
* @remarks
|
|
87
88
|
* A mutation is an operation that can read or modify the contents of the application.
|
|
88
89
|
* A successful set of _tracked_ mutations is added as a single entry to the undo stack.
|
|
89
90
|
*
|
|
90
91
|
* @param mutationHandler - A function that performs one or more tracked mutations and reports on their success as a whole.
|
|
91
|
-
* @param responseHandler - A callback that receives the changes caused by the mutations.
|
|
92
92
|
* @param options - An object that can control the transaction.
|
|
93
93
|
* @i2since 1.1
|
|
94
94
|
*/
|
|
95
|
-
runTrackedMutations(mutationHandler: TrackedMutationHandler,
|
|
95
|
+
runTrackedMutations(mutationHandler: TrackedMutationHandler, options?: ITransactionOptions): void;
|
|
96
96
|
/**
|
|
97
|
-
* Queues a function that performs untracked mutations on the application contents at the next available opportunity
|
|
97
|
+
* Queues a function that performs untracked mutations on the application contents at the next available opportunity,
|
|
98
|
+
* and can respond to the changes that the mutations cause.
|
|
98
99
|
*
|
|
99
100
|
* @remarks
|
|
100
101
|
* A mutation is an operation that can read or modify the contents of the application.
|
|
101
102
|
* _Untracked_ mutations are not added to the undo stack, and therefore cannot be undone.
|
|
102
103
|
*
|
|
103
104
|
* @param mutationHandler - A function that performs one or more untracked mutations and reports on their success as a whole.
|
|
105
|
+
* @param responseHandler - A callback that receives the changes produced by the mutations.
|
|
104
106
|
* @param options - An object that can control the transaction.
|
|
105
107
|
* @i2since 1.1
|
|
106
108
|
*/
|
|
107
|
-
runUntrackedMutations(mutationHandler: UntrackedMutationHandler, options?: ITransactionOptions): void;
|
|
109
|
+
runUntrackedMutations(mutationHandler: UntrackedMutationHandler, responseHandler?: MutationResponseHandler, options?: ITransactionOptions): void;
|
|
108
110
|
/**
|
|
109
|
-
* Queues a function that performs untracked mutations on the application contents at the next available opportunity
|
|
110
|
-
* and can respond to the changes that the mutations cause.
|
|
111
|
+
* Queues a function that performs untracked mutations on the application contents at the next available opportunity.
|
|
111
112
|
*
|
|
112
113
|
* @remarks
|
|
113
114
|
* A mutation is an operation that can read or modify the contents of the application.
|
|
114
115
|
* _Untracked_ mutations are not added to the undo stack, and therefore cannot be undone.
|
|
115
116
|
*
|
|
116
117
|
* @param mutationHandler - A function that performs one or more untracked mutations and reports on their success as a whole.
|
|
117
|
-
* @param responseHandler - A callback that receives the changes produced by the mutations.
|
|
118
118
|
* @param options - An object that can control the transaction.
|
|
119
119
|
* @i2since 1.1
|
|
120
120
|
*/
|
|
121
|
-
runUntrackedMutations(mutationHandler: UntrackedMutationHandler,
|
|
121
|
+
runUntrackedMutations(mutationHandler: UntrackedMutationHandler, options?: ITransactionOptions): void;
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* A report on the result of one or more mutations.
|
|
@@ -2270,6 +2270,16 @@ export declare namespace commands {
|
|
|
2270
2270
|
* @i2since 1.3
|
|
2271
2271
|
*/
|
|
2272
2272
|
readonly toggleLists: CommandId;
|
|
2273
|
+
/**
|
|
2274
|
+
* Gets the identifier of the "Export to PDF" system command.
|
|
2275
|
+
* @i2since 1.3
|
|
2276
|
+
*/
|
|
2277
|
+
readonly exportPdf: CommandId;
|
|
2278
|
+
/**
|
|
2279
|
+
* Gets the identifier of the system command that allows users to share records with each other.
|
|
2280
|
+
* @i2since 1.3
|
|
2281
|
+
*/
|
|
2282
|
+
readonly shareRecords: CommandId;
|
|
2273
2283
|
}
|
|
2274
2284
|
/**
|
|
2275
2285
|
* A lookup table for the identifiers of the system action groups in the Home tab.
|
|
@@ -3015,6 +3025,7 @@ export declare interface IEntryPointApi extends app.IApplication {
|
|
|
3015
3025
|
* For example, setting `path` to '`./`' makes the server use the folder that contains the entry point.
|
|
3016
3026
|
* @returns The new tool view.
|
|
3017
3027
|
* @i2since 1.0
|
|
3028
|
+
* @deprecated since version 1.3. Use {@link (IEntryPointApi:interface).(createToolView:2)} instead.
|
|
3018
3029
|
*/
|
|
3019
3030
|
createToolView(name: string, path: string): toolview.IToolView;
|
|
3020
3031
|
/**
|
|
@@ -4202,7 +4213,7 @@ export declare namespace toolview {
|
|
|
4202
4213
|
* @i2since 1.0
|
|
4203
4214
|
* @deprecated `toolview.SerializableValue` is no longer used. Replace any existing use with `unknown`.
|
|
4204
4215
|
*/
|
|
4205
|
-
export type SerializableValue = string | number | boolean | null |
|
|
4216
|
+
export type SerializableValue = string | number | boolean | null | bigint | Date | SerializableValue[] | {
|
|
4206
4217
|
[key: string]: SerializableValue;
|
|
4207
4218
|
};
|
|
4208
4219
|
/**
|