@extrahorizon/javascript-sdk 8.5.0-dev-74-a452954 → 8.5.0-dev-76-d4ca7d4
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/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
10
10
|
### Fixed
|
|
11
11
|
- Corrected `functioName` field to `functionName` in the `TransitionActionTask` type
|
|
12
12
|
- `exh.templates.findFirst`, `findById` and `findByName` now correctly state `undefined` can be returned
|
|
13
|
+
- The `notifyAlgoQueueManager` transition action type no longer claims it has a `id` and `version` field
|
|
14
|
+
- Transitions now correctly state `name` is optional and `id` is only a returned field.
|
|
13
15
|
|
|
14
16
|
### Added
|
|
15
17
|
- Added `exh.data.documents.unlinkAllUsers` and `unlinkAllGroups` methods to unlink all users or groups from a document
|
package/build/index.cjs.js
CHANGED
package/build/index.mjs
CHANGED
|
@@ -184,8 +184,6 @@ export interface TransitionActionMeasurementReviewedNotification {
|
|
|
184
184
|
*/
|
|
185
185
|
export interface TransitionActionNotifyAlgoQueueManager {
|
|
186
186
|
type: 'notifyAlgoQueueManager';
|
|
187
|
-
id: string;
|
|
188
|
-
version: string;
|
|
189
187
|
}
|
|
190
188
|
export declare type TransitionAction = TransitionActionSet | TransitionActionUnset | TransitionActionAddItems | TransitionActionRemoveItems | TransitionActionTask | TransitionActionLinkCreator | TransitionActionLinkEnlistedGroups | TransitionActionLinkUserFromData | TransitionActionLinkGroupFromData | TransitionActionDelay | TransitionActionMeasurementReviewedNotification;
|
|
191
189
|
export declare type TransitionAfterAction = TransitionActionNotifyAlgoQueueManager | TransitionActionTask;
|
|
@@ -198,11 +196,12 @@ export interface CreationTransition {
|
|
|
198
196
|
}
|
|
199
197
|
export declare type StatusData = Record<string, string>;
|
|
200
198
|
export declare type TransitionInput = CreationTransition & {
|
|
201
|
-
|
|
202
|
-
name: string;
|
|
199
|
+
name?: string;
|
|
203
200
|
fromStatuses: string[];
|
|
204
201
|
};
|
|
205
|
-
export declare type Transition = TransitionInput &
|
|
202
|
+
export declare type Transition = TransitionInput & {
|
|
203
|
+
id: ObjectId;
|
|
204
|
+
};
|
|
206
205
|
export interface Schema {
|
|
207
206
|
id: ObjectId;
|
|
208
207
|
name: string;
|
package/build/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "8.5.0-dev-
|
|
1
|
+
export declare const version = "8.5.0-dev-76-d4ca7d4";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@extrahorizon/javascript-sdk",
|
|
3
|
-
"version": "8.5.0-dev-
|
|
3
|
+
"version": "8.5.0-dev-76-d4ca7d4",
|
|
4
4
|
"description": "This package serves as a JavaScript wrapper around all Extra Horizon cloud services.",
|
|
5
5
|
"main": "build/index.cjs.js",
|
|
6
6
|
"types": "build/types/index.d.ts",
|