@strapi/review-workflows 5.50.2 → 5.51.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/server/src/homepage/index.d.ts +6 -2
- 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/index.d.ts +3 -1
- 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/shared/contracts/homepage.d.ts +2 -2
- package/dist/shared/contracts/homepage.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
routes: {
|
|
3
|
-
homepage: import("@strapi/types/dist/core/router.js").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.js").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
12
|
strapi: import("@strapi/types/dist/core/strapi.js").Strapi;
|
|
@@ -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.js").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"}
|
|
@@ -254,7 +254,9 @@ declare const _default: {
|
|
|
254
254
|
};
|
|
255
255
|
};
|
|
256
256
|
routes: {
|
|
257
|
-
homepage: import("@strapi/types/dist/core/router.js").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.js").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"}
|
|
@@ -8,8 +8,8 @@ export interface RecentDocument {
|
|
|
8
8
|
locale: string | null;
|
|
9
9
|
status?: 'draft' | 'published' | 'modified';
|
|
10
10
|
title: string;
|
|
11
|
-
updatedAt:
|
|
12
|
-
publishedAt?:
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
publishedAt?: string | null;
|
|
13
13
|
strapi_stage?: {
|
|
14
14
|
color?: string;
|
|
15
15
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"homepage.d.ts","sourceRoot":"","sources":["../../../shared/contracts/homepage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAGjD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC,eAAe,CAAC;IAC7B,cAAc,EAAE,GAAG,CAAC,WAAW,CAAC;IAChC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,GAAG,WAAW,GAAG,UAAU,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"homepage.d.ts","sourceRoot":"","sources":["../../../shared/contracts/homepage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAGjD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC,eAAe,CAAC;IAC7B,cAAc,EAAE,GAAG,CAAC,WAAW,CAAC;IAChC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,GAAG,WAAW,GAAG,UAAU,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,CAAC,EAAE;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAED,MAAM,CAAC,OAAO,WAAW,4BAA4B,CAAC;IACpD,UAAiB,OAAO;QACtB,IAAI,EAAE,EAAE,CAAC;KACV;IAED,UAAiB,QAAQ;QACvB,IAAI,EAAE,cAAc,EAAE,CAAC;QACvB,KAAK,CAAC,EAAE,MAAM,CAAC,gBAAgB,CAAC;KACjC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/review-workflows",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.51.1",
|
|
4
4
|
"description": "Review workflows for your content",
|
|
5
5
|
"homepage": "https://strapi.io",
|
|
6
6
|
"bugs": {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@reduxjs/toolkit": "1.9.7",
|
|
65
65
|
"@strapi/design-system": "2.2.3",
|
|
66
66
|
"@strapi/icons": "2.2.3",
|
|
67
|
-
"@strapi/utils": "5.
|
|
67
|
+
"@strapi/utils": "5.51.1",
|
|
68
68
|
"date-fns": "2.30.0",
|
|
69
69
|
"fractional-indexing": "3.2.0",
|
|
70
70
|
"koa": "2.16.4",
|
|
@@ -78,9 +78,9 @@
|
|
|
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.1",
|
|
82
|
+
"@strapi/content-manager": "5.51.1",
|
|
83
|
+
"@strapi/types": "5.51.1",
|
|
84
84
|
"@testing-library/dom": "10.4.1",
|
|
85
85
|
"@testing-library/jest-dom": "6.9.1",
|
|
86
86
|
"@testing-library/react": "16.3.2",
|