@webiny/api-workflows 0.0.0-unstable.ac6ebf63c6 → 0.0.0-unstable.c27f4d8a31
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/domain/workflowState/errors.js +1 -1
- package/domain/workflowState/errors.js.map +1 -1
- package/features/notifications/ListNotificationTypes/ListNotificationTypesUseCase.js +1 -2
- package/features/notifications/ListNotificationTypes/ListNotificationTypesUseCase.js.map +1 -1
- package/features/workflow/CreateWorkflow/CreateWorkflowUseCase.js +1 -2
- package/features/workflow/CreateWorkflow/CreateWorkflowUseCase.js.map +1 -1
- package/features/workflow/DeleteWorkflow/DeleteWorkflowUseCase.js +1 -2
- package/features/workflow/DeleteWorkflow/DeleteWorkflowUseCase.js.map +1 -1
- package/features/workflow/UpdateWorkflow/UpdateWorkflowUseCase.js +1 -2
- package/features/workflow/UpdateWorkflow/UpdateWorkflowUseCase.js.map +1 -1
- package/features/workflowState/ListWorkflowStates/abstractions.d.ts +18 -3
- package/features/workflowState/ListWorkflowStates/abstractions.js.map +1 -1
- package/graphql/validation/approveWorkflowState.d.ts +1 -7
- package/graphql/validation/cancelWorkflowState.d.ts +1 -5
- package/graphql/validation/createWorkflowState.d.ts +1 -9
- package/graphql/validation/deleteWorkflow.d.ts +1 -7
- package/graphql/validation/getTargetWorkflowState.d.ts +1 -7
- package/graphql/validation/getWorkflow.d.ts +1 -7
- package/graphql/validation/getWorkflowState.d.ts +1 -5
- package/graphql/validation/listWorkflowStates.d.ts +14 -96
- package/graphql/validation/listWorkflows.d.ts +6 -36
- package/graphql/validation/rejectWorkflowState.d.ts +1 -7
- package/graphql/validation/startWorkflowState.d.ts +1 -5
- package/graphql/validation/step.d.ts +8 -36
- package/graphql/validation/storeWorkflow.d.ts +14 -86
- package/graphql/validation/takeOverWorkflowStateStep.d.ts +1 -5
- package/graphql/validation/workflow.d.ts +13 -60
- package/graphql/workflowState.js +36 -7
- package/graphql/workflowState.js.map +1 -1
- package/index.js +6 -4
- package/index.js.map +1 -1
- package/package.json +16 -16
- package/types.d.ts +11 -4
- package/types.js +1 -5
- package/types.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-workflows",
|
|
3
|
-
"version": "0.0.0-unstable.
|
|
3
|
+
"version": "0.0.0-unstable.c27f4d8a31",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"description": "Workflows API",
|
|
@@ -14,28 +14,28 @@
|
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@webiny/api": "0.0.0-unstable.
|
|
18
|
-
"@webiny/api-core": "0.0.0-unstable.
|
|
19
|
-
"@webiny/api-headless-cms": "0.0.0-unstable.
|
|
20
|
-
"@webiny/api-mailer": "0.0.0-unstable.
|
|
21
|
-
"@webiny/feature": "0.0.0-unstable.
|
|
22
|
-
"@webiny/handler": "0.0.0-unstable.
|
|
23
|
-
"@webiny/handler-graphql": "0.0.0-unstable.
|
|
24
|
-
"@webiny/utils": "0.0.0-unstable.
|
|
25
|
-
"zod": "3.
|
|
17
|
+
"@webiny/api": "0.0.0-unstable.c27f4d8a31",
|
|
18
|
+
"@webiny/api-core": "0.0.0-unstable.c27f4d8a31",
|
|
19
|
+
"@webiny/api-headless-cms": "0.0.0-unstable.c27f4d8a31",
|
|
20
|
+
"@webiny/api-mailer": "0.0.0-unstable.c27f4d8a31",
|
|
21
|
+
"@webiny/feature": "0.0.0-unstable.c27f4d8a31",
|
|
22
|
+
"@webiny/handler": "0.0.0-unstable.c27f4d8a31",
|
|
23
|
+
"@webiny/handler-graphql": "0.0.0-unstable.c27f4d8a31",
|
|
24
|
+
"@webiny/utils": "0.0.0-unstable.c27f4d8a31",
|
|
25
|
+
"zod": "4.3.6"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@webiny/build-tools": "0.0.0-unstable.
|
|
29
|
-
"@webiny/plugins": "0.0.0-unstable.
|
|
30
|
-
"@webiny/project-utils": "0.0.0-unstable.
|
|
31
|
-
"@webiny/testing": "0.0.0-unstable.
|
|
28
|
+
"@webiny/build-tools": "0.0.0-unstable.c27f4d8a31",
|
|
29
|
+
"@webiny/plugins": "0.0.0-unstable.c27f4d8a31",
|
|
30
|
+
"@webiny/project-utils": "0.0.0-unstable.c27f4d8a31",
|
|
31
|
+
"@webiny/testing": "0.0.0-unstable.c27f4d8a31",
|
|
32
32
|
"type-fest": "5.4.4",
|
|
33
33
|
"typescript": "5.9.3",
|
|
34
|
-
"vitest": "
|
|
34
|
+
"vitest": "4.0.18"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public",
|
|
38
38
|
"directory": "dist"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "c27f4d8a31c3af1570817797441855292b6c1f20"
|
|
41
41
|
}
|
package/types.d.ts
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import type { SecurityPermission } from "@webiny/api-core/types/security.js";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export interface ICmsEntryWorkflowState {
|
|
3
|
+
state: string;
|
|
4
|
+
workflowId: string;
|
|
5
|
+
stepId: string;
|
|
6
|
+
stepName: string;
|
|
5
7
|
}
|
|
6
8
|
export interface IWorkflowsSecurityPermission extends SecurityPermission {
|
|
7
|
-
editor:
|
|
9
|
+
editor: boolean;
|
|
8
10
|
}
|
|
9
11
|
export interface IMeta {
|
|
10
12
|
totalCount: number;
|
|
11
13
|
hasMoreItems: boolean;
|
|
12
14
|
cursor: string | null;
|
|
13
15
|
}
|
|
16
|
+
declare module "@webiny/api-headless-cms/types/types.js" {
|
|
17
|
+
interface IEntrySystem {
|
|
18
|
+
workflow?: ICmsEntryWorkflowState | null;
|
|
19
|
+
}
|
|
20
|
+
}
|
package/types.js
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
WorkflowsSecurityPermissionAccessLevel["NO"] = "no";
|
|
3
|
-
WorkflowsSecurityPermissionAccessLevel["YES"] = "yes";
|
|
4
|
-
return WorkflowsSecurityPermissionAccessLevel;
|
|
5
|
-
}({});
|
|
1
|
+
export {};
|
|
6
2
|
|
|
7
3
|
//# sourceMappingURL=types.js.map
|
package/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import type { SecurityPermission } from \"@webiny/api-core/types/security.js\";\n\nexport interface ICmsEntryWorkflowState {\n state: string;\n workflowId: string;\n stepId: string;\n stepName: string;\n}\n\nexport interface IWorkflowsSecurityPermission extends SecurityPermission {\n editor: boolean;\n}\n\nexport interface IMeta {\n totalCount: number;\n hasMoreItems: boolean;\n cursor: string | null;\n}\n\ndeclare module \"@webiny/api-headless-cms/types/types.js\" {\n export interface IEntrySystem {\n workflow?: ICmsEntryWorkflowState | null;\n }\n}\n"],"mappings":"","ignoreList":[]}
|