@i2analyze/notebook-sdk 1.1.3 → 1.1.4

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.
@@ -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)‬ ‎‪Los Angeles Time‬‬
57
- * ‪‪(GMT-01:00)‬ Azores Time [Atlantic/Azores]‬‬
58
- * ‪‪(GMT)‬ ‎‪United Kingdom Time [Europe/London]‬‬
59
- * ‪‪(GMT+01:00)‬ Austria Time
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, responseHandler?: MutationResponseHandler, options?: ITransactionOptions): void;
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, responseHandler?: MutationResponseHandler, options?: ITransactionOptions): void;
121
+ runUntrackedMutations(mutationHandler: UntrackedMutationHandler, options?: ITransactionOptions): void;
122
122
  }
123
123
  /**
124
124
  * A report on the result of one or more mutations.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i2analyze/notebook-sdk",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "i2 Notebook SDK",
5
5
  "license": "MIT",
6
6
  "publishConfig": {