@strapi/review-workflows 5.50.1 → 5.51.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/dist/admin/index.js +1 -0
- package/dist/admin/index.js.map +1 -1
- package/dist/admin/index.mjs +1 -0
- package/dist/admin/index.mjs.map +1 -1
- package/dist/admin/src/routes/content-manager/model/constants.d.ts +2 -2
- package/dist/admin/src/services/content-manager.d.ts +4 -4
- package/dist/admin/src/services/settings.d.ts +1389 -1389
- package/dist/admin/src/utils/cm-hooks.d.ts +2 -2
- package/dist/admin/translations/ko.json.js +41 -0
- package/dist/admin/translations/ko.json.js.map +1 -0
- package/dist/admin/translations/ko.json.mjs +39 -0
- package/dist/admin/translations/ko.json.mjs.map +1 -0
- package/dist/server/src/homepage/index.d.ts +7 -3
- package/dist/server/src/homepage/index.d.ts.map +1 -1
- package/dist/server/src/homepage/routes/index.d.ts +3 -1
- package/dist/server/src/homepage/routes/index.d.ts.map +1 -1
- package/dist/server/src/homepage/services/index.d.ts +1 -1
- package/dist/server/src/index.d.ts +18 -16
- package/dist/server/src/index.d.ts.map +1 -1
- package/dist/server/src/routes/index.d.ts +3 -1
- package/dist/server/src/routes/index.d.ts.map +1 -1
- package/dist/server/src/services/assignees.d.ts +1 -1
- package/dist/server/src/services/index.d.ts +13 -13
- package/dist/server/src/services/stages.d.ts +1 -1
- package/package.json +14 -9
|
@@ -21,7 +21,7 @@ declare const addColumnToTableHook: ({ displayedHeaders, layout }: AddColumnToTa
|
|
|
21
21
|
name: string;
|
|
22
22
|
type: "string";
|
|
23
23
|
};
|
|
24
|
-
cellFormatter: (props: import("@strapi/types/dist/modules/documents").AnyDocument) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
cellFormatter: (props: import("@strapi/types/dist/modules/documents/index.js").AnyDocument) => import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
} | {
|
|
26
26
|
name: string;
|
|
27
27
|
attribute: {
|
|
@@ -39,7 +39,7 @@ declare const addColumnToTableHook: ({ displayedHeaders, layout }: AddColumnToTa
|
|
|
39
39
|
name: string;
|
|
40
40
|
type: "string";
|
|
41
41
|
};
|
|
42
|
-
cellFormatter: (props: import("@strapi/types/dist/modules/documents").AnyDocument) => import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
cellFormatter: (props: import("@strapi/types/dist/modules/documents/index.js").AnyDocument) => import("react/jsx-runtime").JSX.Element;
|
|
43
43
|
})[];
|
|
44
44
|
layout: ListLayout;
|
|
45
45
|
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var ko = {
|
|
4
|
+
"settings.page.title": "리뷰 워크플로우",
|
|
5
|
+
"settings.page.subtitle": "{count, plural, one {단계 #개} other {단계 #개}}",
|
|
6
|
+
"settings.page.isLoading": "워크플로우를 불러오는 중입니다",
|
|
7
|
+
"settings.page.delete.confirm.body": "삭제된 단계에 할당된 모든 항목은 이전 단계로 이동됩니다. 저장하시겠습니까?",
|
|
8
|
+
"settings.stage.name.label": "단계 이름",
|
|
9
|
+
"settings.not-available": "리뷰 워크플로우는 엔터프라이즈 에디션에서만 사용할 수 있습니다. 업그레이드하여 워크플로우를 생성하고 관리하세요.",
|
|
10
|
+
"settings.review-workflows.workflow.stageRequiredToPublish.label": "배포에 필요한 단계",
|
|
11
|
+
"settings.review-workflows.workflow.stageRequiredToPublish.any": "모든 단계",
|
|
12
|
+
"settings.review-workflows.workflow.stageRequiredToPublish.hint": "필요한 단계에 있지 않은 항목은 배포되지 않도록 합니다.",
|
|
13
|
+
"settings.page.purchase.description": "콘텐츠 검토 프로세스를 관리하세요",
|
|
14
|
+
"settings.page.purchase.perks1": "맞춤 설정 가능한 검토 단계",
|
|
15
|
+
"settings.page.purchase.perks2": "사용자 권한 관리",
|
|
16
|
+
"settings.page.purchase.perks3": "웹훅 지원",
|
|
17
|
+
"widget.assigned.title": "나에게 할당됨",
|
|
18
|
+
"widget.assigned.no-data": "항목 없음",
|
|
19
|
+
"containers.list.table-headers.reviewWorkflows.stage": "검토 단계",
|
|
20
|
+
"containers.list.table-headers.reviewWorkflows.assignee": "담당자",
|
|
21
|
+
"containers.list.table-headers.reviewWorkflows.assignee.label": "담당자",
|
|
22
|
+
"assignee.label": "담당자",
|
|
23
|
+
"assignee.clear": "담당자 지우기",
|
|
24
|
+
"assignee.placeholder": "선택…",
|
|
25
|
+
"assignee.notification.saved": "담당자가 업데이트되었습니다",
|
|
26
|
+
"assignee.error": "사용자를 불러오는 중 오류가 발생했습니다",
|
|
27
|
+
"stage.label": "검토 단계",
|
|
28
|
+
"stage.color": "색상",
|
|
29
|
+
"stage.notification.saved": "검토 단계가 업데이트되었습니다",
|
|
30
|
+
"stage.notification.error": "검토 단계를 업데이트하는 중 오류가 발생했습니다",
|
|
31
|
+
"stages.no-transition": "이 단계를 수정할 권한이 없습니다.",
|
|
32
|
+
"stages.save-first": "워크플로우 단계를 지정하려면 이 항목을 먼저 저장하세요.",
|
|
33
|
+
"stages.single-stage": "이 워크플로우에는 단계가 하나뿐입니다. 단계 간 전환을 위해 단계를 추가하세요.",
|
|
34
|
+
"stages.limit.title": "현재 요금제에서 이 워크플로우의 단계 한도에 도달했습니다",
|
|
35
|
+
"stages.limit.body": "일부 단계를 삭제하거나 영업팀에 문의하여 더 많은 단계를 사용하세요.",
|
|
36
|
+
"workflows.limit.title": "현재 요금제에서 워크플로우 한도에 도달했습니다",
|
|
37
|
+
"workflows.limit.body": "워크플로우를 삭제하거나 영업팀에 문의하여 더 많은 워크플로우를 사용하세요."
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
module.exports = ko;
|
|
41
|
+
//# sourceMappingURL=ko.json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ko.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
var ko = {
|
|
2
|
+
"settings.page.title": "리뷰 워크플로우",
|
|
3
|
+
"settings.page.subtitle": "{count, plural, one {단계 #개} other {단계 #개}}",
|
|
4
|
+
"settings.page.isLoading": "워크플로우를 불러오는 중입니다",
|
|
5
|
+
"settings.page.delete.confirm.body": "삭제된 단계에 할당된 모든 항목은 이전 단계로 이동됩니다. 저장하시겠습니까?",
|
|
6
|
+
"settings.stage.name.label": "단계 이름",
|
|
7
|
+
"settings.not-available": "리뷰 워크플로우는 엔터프라이즈 에디션에서만 사용할 수 있습니다. 업그레이드하여 워크플로우를 생성하고 관리하세요.",
|
|
8
|
+
"settings.review-workflows.workflow.stageRequiredToPublish.label": "배포에 필요한 단계",
|
|
9
|
+
"settings.review-workflows.workflow.stageRequiredToPublish.any": "모든 단계",
|
|
10
|
+
"settings.review-workflows.workflow.stageRequiredToPublish.hint": "필요한 단계에 있지 않은 항목은 배포되지 않도록 합니다.",
|
|
11
|
+
"settings.page.purchase.description": "콘텐츠 검토 프로세스를 관리하세요",
|
|
12
|
+
"settings.page.purchase.perks1": "맞춤 설정 가능한 검토 단계",
|
|
13
|
+
"settings.page.purchase.perks2": "사용자 권한 관리",
|
|
14
|
+
"settings.page.purchase.perks3": "웹훅 지원",
|
|
15
|
+
"widget.assigned.title": "나에게 할당됨",
|
|
16
|
+
"widget.assigned.no-data": "항목 없음",
|
|
17
|
+
"containers.list.table-headers.reviewWorkflows.stage": "검토 단계",
|
|
18
|
+
"containers.list.table-headers.reviewWorkflows.assignee": "담당자",
|
|
19
|
+
"containers.list.table-headers.reviewWorkflows.assignee.label": "담당자",
|
|
20
|
+
"assignee.label": "담당자",
|
|
21
|
+
"assignee.clear": "담당자 지우기",
|
|
22
|
+
"assignee.placeholder": "선택…",
|
|
23
|
+
"assignee.notification.saved": "담당자가 업데이트되었습니다",
|
|
24
|
+
"assignee.error": "사용자를 불러오는 중 오류가 발생했습니다",
|
|
25
|
+
"stage.label": "검토 단계",
|
|
26
|
+
"stage.color": "색상",
|
|
27
|
+
"stage.notification.saved": "검토 단계가 업데이트되었습니다",
|
|
28
|
+
"stage.notification.error": "검토 단계를 업데이트하는 중 오류가 발생했습니다",
|
|
29
|
+
"stages.no-transition": "이 단계를 수정할 권한이 없습니다.",
|
|
30
|
+
"stages.save-first": "워크플로우 단계를 지정하려면 이 항목을 먼저 저장하세요.",
|
|
31
|
+
"stages.single-stage": "이 워크플로우에는 단계가 하나뿐입니다. 단계 간 전환을 위해 단계를 추가하세요.",
|
|
32
|
+
"stages.limit.title": "현재 요금제에서 이 워크플로우의 단계 한도에 도달했습니다",
|
|
33
|
+
"stages.limit.body": "일부 단계를 삭제하거나 영업팀에 문의하여 더 많은 단계를 사용하세요.",
|
|
34
|
+
"workflows.limit.title": "현재 요금제에서 워크플로우 한도에 도달했습니다",
|
|
35
|
+
"workflows.limit.body": "워크플로우를 삭제하거나 영업팀에 문의하여 더 많은 워크플로우를 사용하세요."
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export { ko as default };
|
|
39
|
+
//# sourceMappingURL=ko.json.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ko.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
routes: {
|
|
3
|
-
homepage: import("@strapi/types/dist/core").Router
|
|
3
|
+
homepage: import("@strapi/types/dist/core/router.js").Router | ((params: {
|
|
4
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
5
|
+
}) => import("@strapi/types/dist/core/router.js").Router);
|
|
4
6
|
};
|
|
5
|
-
controllers: Record<string, import("@strapi/types/dist/core").Controller
|
|
7
|
+
controllers: Record<string, import("@strapi/types/dist/core/controller.js").Controller | ((params: {
|
|
8
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
9
|
+
}) => import("@strapi/types/dist/core/controller.js").Controller)>;
|
|
6
10
|
services: {
|
|
7
11
|
homepage: ({ strapi }: {
|
|
8
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
12
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
9
13
|
}) => {
|
|
10
14
|
getRecentlyAssignedDocuments(): Promise<import("../../../shared/contracts/homepage").GetRecentlyAssignedDocuments.Response["data"]>;
|
|
11
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/homepage/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/homepage/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAIA,wBAIE"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare const routes: {
|
|
2
|
-
homepage: import("@strapi/types/dist/core").Router
|
|
2
|
+
homepage: import("@strapi/types/dist/core/router.js").Router | ((params: {
|
|
3
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
4
|
+
}) => import("@strapi/types/dist/core/router.js").Router);
|
|
3
5
|
};
|
|
4
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/homepage/routes/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../server/src/homepage/routes/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM;;;;CAEsB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const services: {
|
|
2
2
|
homepage: ({ strapi }: {
|
|
3
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
3
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
4
4
|
}) => {
|
|
5
5
|
getRecentlyAssignedDocuments(): Promise<import("../../../../shared/contracts/homepage").GetRecentlyAssignedDocuments.Response["data"]>;
|
|
6
6
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
register: ({ strapi }: {
|
|
3
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
3
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
4
4
|
}) => Promise<void>;
|
|
5
5
|
bootstrap: ({ strapi }: {
|
|
6
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
6
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
7
7
|
}) => Promise<void>;
|
|
8
8
|
destroy: () => Promise<void>;
|
|
9
9
|
contentTypes: {
|
|
@@ -102,12 +102,12 @@ declare const _default: {
|
|
|
102
102
|
};
|
|
103
103
|
services: {
|
|
104
104
|
homepage: ({ strapi }: {
|
|
105
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
105
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
106
106
|
}) => {
|
|
107
107
|
getRecentlyAssignedDocuments(): Promise<import("../../shared/contracts/homepage").GetRecentlyAssignedDocuments.Response["data"]>;
|
|
108
108
|
};
|
|
109
109
|
workflows: ({ strapi }: {
|
|
110
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
110
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
111
111
|
}) => {
|
|
112
112
|
find(opts?: any): Promise<any[]>;
|
|
113
113
|
findById(id: any, opts?: {
|
|
@@ -125,7 +125,7 @@ declare const _default: {
|
|
|
125
125
|
assertStageBelongsToWorkflow(stageId: any, workflow: any): void;
|
|
126
126
|
};
|
|
127
127
|
stages: ({ strapi }: {
|
|
128
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
128
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
129
129
|
}) => {
|
|
130
130
|
find({ workflowId, populate }: any): Promise<any[]>;
|
|
131
131
|
findById(id: string | number, { populate }?: any): Promise<any>;
|
|
@@ -141,12 +141,12 @@ declare const _default: {
|
|
|
141
141
|
documentId: string;
|
|
142
142
|
locale: string;
|
|
143
143
|
updatedAt: string;
|
|
144
|
-
}, model: import("@strapi/types/dist/uid").ContentType, stageId: any): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
|
|
144
|
+
}, model: import("@strapi/types/dist/uid/index.js").ContentType, stageId: any): Promise<import("@strapi/types/dist/modules/documents/index.js").AnyDocument | null>;
|
|
145
145
|
updateEntitiesStage(contentTypeUID: any, { fromStageId, toStageId }: any): Promise<number | number[]>;
|
|
146
146
|
deleteAllEntitiesStage(contentTypeUID: any): Promise<number>;
|
|
147
147
|
};
|
|
148
148
|
'stage-permissions': ({ strapi }: {
|
|
149
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
149
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
150
150
|
}) => {
|
|
151
151
|
register({ roleId, action, fromStage, }: {
|
|
152
152
|
roleId: number;
|
|
@@ -185,18 +185,18 @@ declare const _default: {
|
|
|
185
185
|
}): boolean;
|
|
186
186
|
};
|
|
187
187
|
assignees: ({ strapi }: {
|
|
188
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
188
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
189
189
|
}) => {
|
|
190
|
-
findEntityAssigneeId(id: string | number, model: import("@strapi/types/dist/uid").ContentType): Promise<any>;
|
|
190
|
+
findEntityAssigneeId(id: string | number, model: import("@strapi/types/dist/uid/index.js").ContentType): Promise<any>;
|
|
191
191
|
updateEntityAssignee(entityToUpdate: {
|
|
192
192
|
id: number | string;
|
|
193
193
|
documentId: string;
|
|
194
194
|
locale: string;
|
|
195
195
|
updatedAt: string;
|
|
196
|
-
}, model: import("@strapi/types/dist/uid").ContentType, assigneeId: string | null): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
|
|
196
|
+
}, model: import("@strapi/types/dist/uid/index.js").ContentType, assigneeId: string | null): Promise<import("@strapi/types/dist/modules/documents/index.js").AnyDocument | null>;
|
|
197
197
|
};
|
|
198
198
|
validation: ({ strapi }: {
|
|
199
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
199
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
200
200
|
}) => {
|
|
201
201
|
limits: {
|
|
202
202
|
numberOfWorkflows: number;
|
|
@@ -208,9 +208,9 @@ declare const _default: {
|
|
|
208
208
|
validateWorkflowCount(countAddedWorkflows?: number): Promise<void>;
|
|
209
209
|
};
|
|
210
210
|
'document-service-middlewares': () => {
|
|
211
|
-
assignStageOnCreate: import("@strapi/types/dist/modules/documents/middleware").Middleware;
|
|
212
|
-
handleStageOnUpdate: import("@strapi/types/dist/modules/documents/middleware").Middleware;
|
|
213
|
-
checkStageBeforePublish: import("@strapi/types/dist/modules/documents/middleware").Middleware;
|
|
211
|
+
assignStageOnCreate: import("@strapi/types/dist/modules/documents/middleware.js").Middleware;
|
|
212
|
+
handleStageOnUpdate: import("@strapi/types/dist/modules/documents/middleware.js").Middleware;
|
|
213
|
+
checkStageBeforePublish: import("@strapi/types/dist/modules/documents/middleware.js").Middleware;
|
|
214
214
|
};
|
|
215
215
|
'workflow-metrics': {
|
|
216
216
|
sendDidCreateStage: () => Promise<void>;
|
|
@@ -223,7 +223,7 @@ declare const _default: {
|
|
|
223
223
|
sendDidEditAssignee: (fromId: any, toId: any) => Promise<void>;
|
|
224
224
|
};
|
|
225
225
|
'workflow-weekly-metrics': ({ strapi }: {
|
|
226
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
226
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
227
227
|
}) => {
|
|
228
228
|
computeMetrics(): Promise<{
|
|
229
229
|
numberOfActiveWorkflows: number;
|
|
@@ -254,7 +254,9 @@ declare const _default: {
|
|
|
254
254
|
};
|
|
255
255
|
};
|
|
256
256
|
routes: {
|
|
257
|
-
homepage: import("@strapi/types/dist/core").Router
|
|
257
|
+
homepage: import("@strapi/types/dist/core/router.js").Router | ((params: {
|
|
258
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
259
|
+
}) => import("@strapi/types/dist/core/router.js").Router);
|
|
258
260
|
'review-workflows': {
|
|
259
261
|
type: string;
|
|
260
262
|
routes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../server/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA6By/C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAA8zC,CAAC;oCAAoB,CAAC;0BAAM,CAAC;;wBAAgB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../server/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA6By/C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAA8zC,CAAC;oCAAoB,CAAC;0BAAM,CAAC;;wBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AADt2F,wBAA2B"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
homepage: import("@strapi/types/dist/core").Router
|
|
2
|
+
homepage: import("@strapi/types/dist/core/router.js").Router | ((params: {
|
|
3
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
4
|
+
}) => import("@strapi/types/dist/core/router.js").Router);
|
|
3
5
|
'review-workflows': {
|
|
4
6
|
type: string;
|
|
5
7
|
routes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
|
|
@@ -11,7 +11,7 @@ declare const _default: ({ strapi }: {
|
|
|
11
11
|
documentId: string;
|
|
12
12
|
locale: string;
|
|
13
13
|
updatedAt: string;
|
|
14
|
-
}, model: UID.ContentType, assigneeId: string | null): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
|
|
14
|
+
}, model: UID.ContentType, assigneeId: string | null): Promise<import("@strapi/types/dist/modules/documents/index.js").AnyDocument | null>;
|
|
15
15
|
};
|
|
16
16
|
export default _default;
|
|
17
17
|
//# sourceMappingURL=assignees.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
homepage: ({ strapi }: {
|
|
3
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
3
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
4
4
|
}) => {
|
|
5
5
|
getRecentlyAssignedDocuments(): Promise<import("../../../shared/contracts/homepage").GetRecentlyAssignedDocuments.Response["data"]>;
|
|
6
6
|
};
|
|
7
7
|
workflows: ({ strapi }: {
|
|
8
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
8
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
9
9
|
}) => {
|
|
10
10
|
find(opts?: any): Promise<any[]>;
|
|
11
11
|
findById(id: any, opts?: {
|
|
@@ -23,7 +23,7 @@ declare const _default: {
|
|
|
23
23
|
assertStageBelongsToWorkflow(stageId: any, workflow: any): void;
|
|
24
24
|
};
|
|
25
25
|
stages: ({ strapi }: {
|
|
26
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
26
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
27
27
|
}) => {
|
|
28
28
|
find({ workflowId, populate }: any): Promise<any[]>;
|
|
29
29
|
findById(id: string | number, { populate }?: any): Promise<any>;
|
|
@@ -39,12 +39,12 @@ declare const _default: {
|
|
|
39
39
|
documentId: string;
|
|
40
40
|
locale: string;
|
|
41
41
|
updatedAt: string;
|
|
42
|
-
}, model: import("@strapi/types/dist/uid").ContentType, stageId: any): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
|
|
42
|
+
}, model: import("@strapi/types/dist/uid/index.js").ContentType, stageId: any): Promise<import("@strapi/types/dist/modules/documents/index.js").AnyDocument | null>;
|
|
43
43
|
updateEntitiesStage(contentTypeUID: any, { fromStageId, toStageId }: any): Promise<number | number[]>;
|
|
44
44
|
deleteAllEntitiesStage(contentTypeUID: any): Promise<number>;
|
|
45
45
|
};
|
|
46
46
|
'stage-permissions': ({ strapi }: {
|
|
47
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
47
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
48
48
|
}) => {
|
|
49
49
|
register({ roleId, action, fromStage, }: {
|
|
50
50
|
roleId: number;
|
|
@@ -83,18 +83,18 @@ declare const _default: {
|
|
|
83
83
|
}): boolean;
|
|
84
84
|
};
|
|
85
85
|
assignees: ({ strapi }: {
|
|
86
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
86
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
87
87
|
}) => {
|
|
88
|
-
findEntityAssigneeId(id: string | number, model: import("@strapi/types/dist/uid").ContentType): Promise<any>;
|
|
88
|
+
findEntityAssigneeId(id: string | number, model: import("@strapi/types/dist/uid/index.js").ContentType): Promise<any>;
|
|
89
89
|
updateEntityAssignee(entityToUpdate: {
|
|
90
90
|
id: number | string;
|
|
91
91
|
documentId: string;
|
|
92
92
|
locale: string;
|
|
93
93
|
updatedAt: string;
|
|
94
|
-
}, model: import("@strapi/types/dist/uid").ContentType, assigneeId: string | null): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
|
|
94
|
+
}, model: import("@strapi/types/dist/uid/index.js").ContentType, assigneeId: string | null): Promise<import("@strapi/types/dist/modules/documents/index.js").AnyDocument | null>;
|
|
95
95
|
};
|
|
96
96
|
validation: ({ strapi }: {
|
|
97
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
97
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
98
98
|
}) => {
|
|
99
99
|
limits: {
|
|
100
100
|
numberOfWorkflows: number;
|
|
@@ -106,9 +106,9 @@ declare const _default: {
|
|
|
106
106
|
validateWorkflowCount(countAddedWorkflows?: number): Promise<void>;
|
|
107
107
|
};
|
|
108
108
|
'document-service-middlewares': () => {
|
|
109
|
-
assignStageOnCreate: import("@strapi/types/dist/modules/documents/middleware").Middleware;
|
|
110
|
-
handleStageOnUpdate: import("@strapi/types/dist/modules/documents/middleware").Middleware;
|
|
111
|
-
checkStageBeforePublish: import("@strapi/types/dist/modules/documents/middleware").Middleware;
|
|
109
|
+
assignStageOnCreate: import("@strapi/types/dist/modules/documents/middleware.js").Middleware;
|
|
110
|
+
handleStageOnUpdate: import("@strapi/types/dist/modules/documents/middleware.js").Middleware;
|
|
111
|
+
checkStageBeforePublish: import("@strapi/types/dist/modules/documents/middleware.js").Middleware;
|
|
112
112
|
};
|
|
113
113
|
'workflow-metrics': {
|
|
114
114
|
sendDidCreateStage: () => Promise<void>;
|
|
@@ -121,7 +121,7 @@ declare const _default: {
|
|
|
121
121
|
sendDidEditAssignee: (fromId: any, toId: any) => Promise<void>;
|
|
122
122
|
};
|
|
123
123
|
'workflow-weekly-metrics': ({ strapi }: {
|
|
124
|
-
strapi: import("@strapi/types/dist/core").Strapi;
|
|
124
|
+
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
125
125
|
}) => {
|
|
126
126
|
computeMetrics(): Promise<{
|
|
127
127
|
numberOfActiveWorkflows: number;
|
|
@@ -19,7 +19,7 @@ declare const _default: ({ strapi }: {
|
|
|
19
19
|
documentId: string;
|
|
20
20
|
locale: string;
|
|
21
21
|
updatedAt: string;
|
|
22
|
-
}, model: UID.ContentType, stageId: any): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
|
|
22
|
+
}, model: UID.ContentType, stageId: any): Promise<import("@strapi/types/dist/modules/documents/index.js").AnyDocument | null>;
|
|
23
23
|
/**
|
|
24
24
|
* Updates entity stages of a content type:
|
|
25
25
|
* - If fromStageId is undefined, all entities with an existing stage will be assigned the new stage
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/review-workflows",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.51.0",
|
|
4
4
|
"description": "Review workflows for your content",
|
|
5
5
|
"homepage": "https://strapi.io",
|
|
6
6
|
"bugs": {
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"build:types:server": "run -T tsc -p server/tsconfig.build.json --emitDeclarationOnly",
|
|
53
53
|
"build:types:admin": "run -T tsc -p admin/tsconfig.build.json --emitDeclarationOnly",
|
|
54
54
|
"clean": "run -T rimraf ./dist",
|
|
55
|
-
"lint": "run -T eslint .",
|
|
55
|
+
"lint": "run -T eslint . --max-warnings=0",
|
|
56
56
|
"test:front": "run -T cross-env IS_EE=true jest --config ./jest.config.front.js",
|
|
57
|
-
"test:ts:back": "run -T tsc
|
|
57
|
+
"test:ts:back": "run -T tsc -p server/tsconfig.json",
|
|
58
58
|
"test:ts:front": "run -T tsc -p admin/tsconfig.json",
|
|
59
59
|
"test:unit": "run -T jest",
|
|
60
60
|
"test:unit:watch": "run -T jest --watch",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@reduxjs/toolkit": "1.9.7",
|
|
65
|
-
"@strapi/design-system": "2.2.
|
|
66
|
-
"@strapi/icons": "2.2.
|
|
67
|
-
"@strapi/utils": "5.
|
|
65
|
+
"@strapi/design-system": "2.2.3",
|
|
66
|
+
"@strapi/icons": "2.2.3",
|
|
67
|
+
"@strapi/utils": "5.51.0",
|
|
68
68
|
"date-fns": "2.30.0",
|
|
69
69
|
"fractional-indexing": "3.2.0",
|
|
70
70
|
"koa": "2.16.4",
|
|
@@ -78,10 +78,15 @@
|
|
|
78
78
|
"yup": "0.32.9"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@strapi/admin": "5.
|
|
82
|
-
"@strapi/content-manager": "5.
|
|
83
|
-
"@strapi/types": "5.
|
|
81
|
+
"@strapi/admin": "5.51.0",
|
|
82
|
+
"@strapi/content-manager": "5.51.0",
|
|
83
|
+
"@strapi/types": "5.51.0",
|
|
84
|
+
"@testing-library/dom": "10.4.1",
|
|
85
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
84
86
|
"@testing-library/react": "16.3.2",
|
|
87
|
+
"@types/jest": "29.5.2",
|
|
88
|
+
"@types/node": "20.19.41",
|
|
89
|
+
"jest": "29.6.0",
|
|
85
90
|
"koa-body": "6.0.1",
|
|
86
91
|
"msw": "2.13.4",
|
|
87
92
|
"react": "18.3.1",
|