@strapi/review-workflows 5.50.2 → 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.
@@ -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":";;;;;;;;;;;;;AAIA,wBAIE"}
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;;CAEsB,CAAC"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AADt2F,wBAA2B"}
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":";;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../server/src/routes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/review-workflows",
3
- "version": "5.50.2",
3
+ "version": "5.51.0",
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.50.2",
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,9 +78,9 @@
78
78
  "yup": "0.32.9"
79
79
  },
80
80
  "devDependencies": {
81
- "@strapi/admin": "5.50.2",
82
- "@strapi/content-manager": "5.50.2",
83
- "@strapi/types": "5.50.2",
81
+ "@strapi/admin": "5.51.0",
82
+ "@strapi/content-manager": "5.51.0",
83
+ "@strapi/types": "5.51.0",
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",