@strapi/review-workflows 5.3.0 → 5.4.1
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/dist/_chunks/{Layout-BWNbQOes.js → Layout-B4fpKB9J.js} +2 -2
- package/dist/_chunks/{Layout-BWNbQOes.js.map → Layout-B4fpKB9J.js.map} +1 -1
- package/dist/_chunks/{Layout-BIIxkAtf.mjs → Layout-Dko22Aly.mjs} +2 -2
- package/dist/_chunks/{Layout-BIIxkAtf.mjs.map → Layout-Dko22Aly.mjs.map} +1 -1
- package/dist/_chunks/{id-CaHzMdxL.js → id-BKq7JAqZ.js} +4 -4
- package/dist/_chunks/{id-CaHzMdxL.js.map → id-BKq7JAqZ.js.map} +1 -1
- package/dist/_chunks/{id-CtcCl3zh.mjs → id-DINFSsrh.mjs} +4 -4
- package/dist/_chunks/{id-CtcCl3zh.mjs.map → id-DINFSsrh.mjs.map} +1 -1
- package/dist/_chunks/{index-DKLk-Z5E.js → index-BpIILEs0.js} +3 -3
- package/dist/_chunks/{index-DKLk-Z5E.js.map → index-BpIILEs0.js.map} +1 -1
- package/dist/_chunks/{index-BX5MyocW.js → index-BpL7C1EG.js} +2 -2
- package/dist/_chunks/{index-BX5MyocW.js.map → index-BpL7C1EG.js.map} +1 -1
- package/dist/_chunks/{index-ByTEmYbc.mjs → index-DAcEdoqJ.mjs} +2 -2
- package/dist/_chunks/{index-ByTEmYbc.mjs.map → index-DAcEdoqJ.mjs.map} +1 -1
- package/dist/_chunks/{index-CGmh3cED.mjs → index-ZcZKwmTD.mjs} +3 -3
- package/dist/_chunks/{index-CGmh3cED.mjs.map → index-ZcZKwmTD.mjs.map} +1 -1
- package/dist/_chunks/{router-Cr3nulh9.mjs → router-BPH_u176.mjs} +3 -3
- package/dist/_chunks/{router-Cr3nulh9.mjs.map → router-BPH_u176.mjs.map} +1 -1
- package/dist/_chunks/{router-Bt6JHY-e.js → router-DeEgX8Ao.js} +3 -3
- package/dist/_chunks/{router-Bt6JHY-e.js.map → router-DeEgX8Ao.js.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/index.js +23 -32
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +23 -32
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/controllers/assignees.d.ts.map +1 -1
- package/dist/server/src/controllers/stages.d.ts.map +1 -1
- package/dist/server/src/index.d.ts +13 -4
- package/dist/server/src/index.d.ts.map +1 -1
- package/dist/server/src/services/assignees.d.ts +8 -4
- package/dist/server/src/services/assignees.d.ts.map +1 -1
- package/dist/server/src/services/index.d.ts +13 -4
- package/dist/server/src/services/index.d.ts.map +1 -1
- package/dist/server/src/services/stages.d.ts +6 -1
- package/dist/server/src/services/stages.d.ts.map +1 -1
- package/package.json +8 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assignees.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/assignees.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;;IAOjC;;;;;;;;;;;;OAYG;sBACqB,OAAO;;AAdjC,
|
|
1
|
+
{"version":3,"file":"assignees.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/assignees.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;;IAOjC;;;;;;;;;;;;OAYG;sBACqB,OAAO;;AAdjC,wBA4DE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stages.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/stages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;;IA4BjC;;;OAGG;cACa,OAAO;IAevB;;;OAGG;kBACiB,OAAO;IAgB3B;;;;;;;;;;;;OAYG;sBACqB,OAAO;
|
|
1
|
+
{"version":3,"file":"stages.d.ts","sourceRoot":"","sources":["../../../../server/src/controllers/stages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;;IA4BjC;;;OAGG;cACa,OAAO;IAevB;;;OAGG;kBACiB,OAAO;IAgB3B;;;;;;;;;;;;OAYG;sBACqB,OAAO;IAiD/B;;;;;;;;OAQG;6BAC4B,OAAO;;AA/GxC,wBA4KE"}
|
|
@@ -132,7 +132,12 @@ declare const _default: {
|
|
|
132
132
|
deleteStagePermissions(stages: any): Promise<void>;
|
|
133
133
|
count({ workflowId }?: any): Promise<number>;
|
|
134
134
|
replaceStages(srcStages: any, destStages: any, contentTypesToMigrate?: never[]): Promise<any>;
|
|
135
|
-
updateEntity(
|
|
135
|
+
updateEntity(entityToUpdate: {
|
|
136
|
+
id: string | number;
|
|
137
|
+
documentId: string;
|
|
138
|
+
locale: string;
|
|
139
|
+
updatedAt: string;
|
|
140
|
+
}, model: import("@strapi/types/dist/uid").ContentType, stageId: any): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
|
|
136
141
|
updateEntitiesStage(contentTypeUID: any, { fromStageId, toStageId }: any): Promise<number | number[]>;
|
|
137
142
|
deleteAllEntitiesStage(contentTypeUID: any): Promise<number>;
|
|
138
143
|
};
|
|
@@ -147,9 +152,13 @@ declare const _default: {
|
|
|
147
152
|
assignees: ({ strapi }: {
|
|
148
153
|
strapi: import("@strapi/types/dist/core").Strapi;
|
|
149
154
|
}) => {
|
|
150
|
-
findEntityAssigneeId(id: string, model: import("@strapi/types/dist/uid").ContentType): Promise<any>;
|
|
151
|
-
updateEntityAssignee(
|
|
152
|
-
|
|
155
|
+
findEntityAssigneeId(id: string | number, model: import("@strapi/types/dist/uid").ContentType): Promise<any>;
|
|
156
|
+
updateEntityAssignee(entityToUpdate: {
|
|
157
|
+
id: string | number;
|
|
158
|
+
documentId: string;
|
|
159
|
+
locale: string;
|
|
160
|
+
updatedAt: string;
|
|
161
|
+
}, model: import("@strapi/types/dist/uid").ContentType, assigneeId: string | null): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
|
|
153
162
|
};
|
|
154
163
|
validation: ({ strapi }: {
|
|
155
164
|
strapi: import("@strapi/types/dist/core").Strapi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../server/src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../server/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,wBAA2B"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import type { Core, UID } from '@strapi/types';
|
|
1
|
+
import type { Core, UID, Modules } from '@strapi/types';
|
|
2
2
|
declare const _default: ({ strapi }: {
|
|
3
3
|
strapi: Core.Strapi;
|
|
4
4
|
}) => {
|
|
5
|
-
findEntityAssigneeId(id: string, model: UID.ContentType): Promise<any>;
|
|
5
|
+
findEntityAssigneeId(id: string | number, model: UID.ContentType): Promise<any>;
|
|
6
6
|
/**
|
|
7
7
|
* Update the assignee of an entity
|
|
8
8
|
*/
|
|
9
|
-
updateEntityAssignee(
|
|
10
|
-
|
|
9
|
+
updateEntityAssignee(entityToUpdate: {
|
|
10
|
+
id: number | string;
|
|
11
|
+
documentId: string;
|
|
12
|
+
locale: string;
|
|
13
|
+
updatedAt: string;
|
|
14
|
+
}, model: UID.ContentType, assigneeId: string | null): Promise<Modules.Documents.AnyDocument | null>;
|
|
11
15
|
};
|
|
12
16
|
export default _default;
|
|
13
17
|
//# sourceMappingURL=assignees.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assignees.d.ts","sourceRoot":"","sources":["../../../../server/src/services/assignees.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"assignees.d.ts","sourceRoot":"","sources":["../../../../server/src/services/assignees.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;qCAQ5B;IAAE,MAAM,EAAE,KAAK,MAAM,CAAA;CAAE;6BAIhB,MAAM,GAAG,MAAM,SAAS,IAAI,WAAW;IAUtE;;OAEG;yCAEe;QACd,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;KACnB,SACM,IAAI,WAAW,cACV,MAAM,GAAG,IAAI;;AAzB/B,wBA8DE"}
|
|
@@ -29,7 +29,12 @@ declare const _default: {
|
|
|
29
29
|
deleteStagePermissions(stages: any): Promise<void>;
|
|
30
30
|
count({ workflowId }?: any): Promise<number>;
|
|
31
31
|
replaceStages(srcStages: any, destStages: any, contentTypesToMigrate?: never[]): Promise<any>;
|
|
32
|
-
updateEntity(
|
|
32
|
+
updateEntity(entityToUpdate: {
|
|
33
|
+
id: string | number;
|
|
34
|
+
documentId: string;
|
|
35
|
+
locale: string;
|
|
36
|
+
updatedAt: string;
|
|
37
|
+
}, model: import("@strapi/types/dist/uid").ContentType, stageId: any): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
|
|
33
38
|
updateEntitiesStage(contentTypeUID: any, { fromStageId, toStageId }: any): Promise<number | number[]>;
|
|
34
39
|
deleteAllEntitiesStage(contentTypeUID: any): Promise<number>;
|
|
35
40
|
};
|
|
@@ -44,9 +49,13 @@ declare const _default: {
|
|
|
44
49
|
assignees: ({ strapi }: {
|
|
45
50
|
strapi: import("@strapi/types/dist/core").Strapi;
|
|
46
51
|
}) => {
|
|
47
|
-
findEntityAssigneeId(id: string, model: import("@strapi/types/dist/uid").ContentType): Promise<any>;
|
|
48
|
-
updateEntityAssignee(
|
|
49
|
-
|
|
52
|
+
findEntityAssigneeId(id: string | number, model: import("@strapi/types/dist/uid").ContentType): Promise<any>;
|
|
53
|
+
updateEntityAssignee(entityToUpdate: {
|
|
54
|
+
id: string | number;
|
|
55
|
+
documentId: string;
|
|
56
|
+
locale: string;
|
|
57
|
+
updatedAt: string;
|
|
58
|
+
}, model: import("@strapi/types/dist/uid").ContentType, assigneeId: string | null): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
|
|
50
59
|
};
|
|
51
60
|
validation: ({ strapi }: {
|
|
52
61
|
strapi: import("@strapi/types/dist/core").Strapi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/services/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBASE"}
|
|
@@ -14,7 +14,12 @@ declare const _default: ({ strapi }: {
|
|
|
14
14
|
/**
|
|
15
15
|
* Update the stage of an entity
|
|
16
16
|
*/
|
|
17
|
-
updateEntity(
|
|
17
|
+
updateEntity(entityToUpdate: {
|
|
18
|
+
id: number | string;
|
|
19
|
+
documentId: string;
|
|
20
|
+
locale: string;
|
|
21
|
+
updatedAt: string;
|
|
22
|
+
}, model: UID.ContentType, stageId: any): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
|
|
18
23
|
/**
|
|
19
24
|
* Updates entity stages of a content type:
|
|
20
25
|
* - If fromStageId is undefined, all entities with an existing stage will be assigned the new stage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stages.d.ts","sourceRoot":"","sources":["../../../../server/src/services/stages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;qCAWnB;IAAE,MAAM,EAAE,KAAK,MAAM,CAAA;CAAE;mCAMhB,GAAG;iBAOrB,MAAM,GAAG,MAAM,iBAAgB,GAAG;2BAOlB,GAAG,eAAc,GAAG;qBA+C1B,GAAG,aAAa,GAAG;kBA8BtB,GAAG;uBAaE,GAAG;mCAQS,GAAG;2BAMlB,GAAG;6BAYM,GAAG,cAAc,GAAG;IAkDnD;;OAEG;
|
|
1
|
+
{"version":3,"file":"stages.d.ts","sourceRoot":"","sources":["../../../../server/src/services/stages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;qCAWnB;IAAE,MAAM,EAAE,KAAK,MAAM,CAAA;CAAE;mCAMhB,GAAG;iBAOrB,MAAM,GAAG,MAAM,iBAAgB,GAAG;2BAOlB,GAAG,eAAc,GAAG;qBA+C1B,GAAG,aAAa,GAAG;kBA8BtB,GAAG;uBAaE,GAAG;mCAQS,GAAG;2BAMlB,GAAG;6BAYM,GAAG,cAAc,GAAG;IAkDnD;;OAEG;iCAEe;QACd,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;KACnB,SACM,IAAI,WAAW,WACb,GAAG;IAoCd;;;;;;;;;;;;;OAaG;wCACuC,GAAG,8BAA8B,GAAG;IAwC9E;;;;OAIG;2CAC0C,GAAG;;AApSpD,wBA8SE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/review-workflows",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.1",
|
|
4
4
|
"description": "Review workflows for your content",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@reduxjs/toolkit": "1.9.7",
|
|
56
56
|
"@strapi/design-system": "2.0.0-rc.12",
|
|
57
57
|
"@strapi/icons": "2.0.0-rc.12",
|
|
58
|
-
"@strapi/utils": "5.
|
|
58
|
+
"@strapi/utils": "5.4.1",
|
|
59
59
|
"fractional-indexing": "3.2.0",
|
|
60
60
|
"react-dnd": "16.0.1",
|
|
61
61
|
"react-dnd-html5-backend": "16.0.1",
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"yup": "0.32.9"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@strapi/admin": "5.
|
|
69
|
-
"@strapi/content-manager": "5.
|
|
68
|
+
"@strapi/admin": "5.4.1",
|
|
69
|
+
"@strapi/content-manager": "5.4.1",
|
|
70
70
|
"@strapi/pack-up": "5.0.0",
|
|
71
|
-
"@strapi/types": "5.
|
|
71
|
+
"@strapi/types": "5.4.1",
|
|
72
72
|
"@strapi/utils": "workspace:*",
|
|
73
73
|
"@testing-library/react": "15.0.7",
|
|
74
74
|
"msw": "1.3.0",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"styled-components": "6.1.8"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"@strapi/admin": "^5.0.0
|
|
82
|
-
"@strapi/content-manager": "^5.0.0
|
|
81
|
+
"@strapi/admin": "^5.0.0",
|
|
82
|
+
"@strapi/content-manager": "^5.0.0",
|
|
83
83
|
"react": "^17.0.0 || ^18.0.0",
|
|
84
84
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
85
85
|
"react-router-dom": "^6.0.0",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"displayName": "Review Workflows",
|
|
97
97
|
"required": true
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "c7e2ed60ecd8893748d30753ce16f0357e3c3663"
|
|
100
100
|
}
|