@strapi/review-workflows 0.0.0-experimental.abc → 0.0.0-experimental.afa3b513b8f95459043f33fb94f4bac03af1474f

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 +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;IAiD/B;;;;;;;;OAQG;6BAC4B,OAAO;;AA/GxC,wBA2KE"}
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;IAsD/B;;;;;;;;OAQG;6BAC4B,OAAO;;AApHxC,wBAgLE"}
@@ -126,7 +126,7 @@ declare const _default: {
126
126
  deleteStagePermissions(stages: any): Promise<void>;
127
127
  count({ workflowId }?: any): Promise<number>;
128
128
  replaceStages(srcStages: any, destStages: any, contentTypesToMigrate?: never[]): Promise<any>;
129
- updateEntity(entityInfo: any, stageId: any): Promise<any>;
129
+ updateEntity(documentId: string, locale: string, model: import("@strapi/types/dist/uid").ContentType, stageId: any): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
130
130
  updateEntitiesStage(contentTypeUID: any, { fromStageId, toStageId }: any): Promise<number | number[]>;
131
131
  deleteAllEntitiesStage(contentTypeUID: any): Promise<number>;
132
132
  };
@@ -1 +1 @@
1
- {"version":3,"file":"document-service-middleware.d.ts","sourceRoot":"","sources":["../../../../server/src/services/document-service-middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;;;;;AA2HxC,wBAGG"}
1
+ {"version":3,"file":"document-service-middleware.d.ts","sourceRoot":"","sources":["../../../../server/src/services/document-service-middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;;;;;AA4HxC,wBAGG"}
@@ -29,7 +29,7 @@ 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(entityInfo: any, stageId: any): Promise<any>;
32
+ updateEntity(documentId: string, locale: string, model: import("@strapi/types/dist/uid").ContentType, stageId: any): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
33
33
  updateEntitiesStage(contentTypeUID: any, { fromStageId, toStageId }: any): Promise<number | number[]>;
34
34
  deleteAllEntitiesStage(contentTypeUID: any): Promise<number>;
35
35
  };
@@ -1,4 +1,4 @@
1
- import type { Core } from '@strapi/types';
1
+ import type { Core, UID } from '@strapi/types';
2
2
  declare const _default: ({ strapi }: {
3
3
  strapi: Core.Strapi;
4
4
  }) => {
@@ -13,13 +13,8 @@ declare const _default: ({ strapi }: {
13
13
  replaceStages(srcStages: any, destStages: any, contentTypesToMigrate?: never[]): Promise<any>;
14
14
  /**
15
15
  * Update the stage of an entity
16
- *
17
- * @param {object} entityInfo
18
- * @param {number} entityInfo.id - Entity id
19
- * @param {string} entityInfo.modelUID - the content-type of the entity
20
- * @param {number} stageId - The id of the stage to assign to the entity
21
16
  */
22
- updateEntity(entityInfo: any, stageId: any): Promise<any>;
17
+ updateEntity(documentId: string, locale: string, model: UID.ContentType, stageId: any): Promise<import("@strapi/types/dist/modules/documents").AnyDocument | null>;
23
18
  /**
24
19
  * Updates entity stages of a content type:
25
20
  * - 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,MAAM,eAAe,CAAC;qCAUd;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;;;;;;;OAOG;6BAC4B,GAAG,WAAW,GAAG;IAsBhD;;;;;;;;;;;;;OAaG;wCACuC,GAAG,8BAA8B,GAAG;IAwC9E;;;;OAIG;2CAC0C,GAAG;;AAnRpD,wBA6RE"}
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;6BAC4B,MAAM,UAAU,MAAM,SAAS,IAAI,WAAW,WAAW,GAAG;IAqB3F;;;;;;;;;;;;;OAaG;wCACuC,GAAG,8BAA8B,GAAG;IAwC9E;;;;OAIG;2CAC0C,GAAG;;AA7QpD,wBAuRE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/review-workflows",
3
- "version": "0.0.0-experimental.abc",
3
+ "version": "0.0.0-experimental.afa3b513b8f95459043f33fb94f4bac03af1474f",
4
4
  "description": "Review workflows for your content",
5
5
  "repository": {
6
6
  "type": "git",
@@ -53,9 +53,9 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@reduxjs/toolkit": "1.9.7",
56
- "@strapi/design-system": "2.0.0-rc.7",
57
- "@strapi/icons": "2.0.0-rc.7",
58
- "@strapi/utils": "0.0.0-experimental.abc",
56
+ "@strapi/design-system": "2.0.0-rc.10",
57
+ "@strapi/icons": "2.0.0-rc.10",
58
+ "@strapi/utils": "0.0.0-experimental.afa3b513b8f95459043f33fb94f4bac03af1474f",
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": "0.0.0-experimental.abc",
69
- "@strapi/content-manager": "0.0.0-experimental.abc",
68
+ "@strapi/admin": "0.0.0-experimental.afa3b513b8f95459043f33fb94f4bac03af1474f",
69
+ "@strapi/content-manager": "0.0.0-experimental.afa3b513b8f95459043f33fb94f4bac03af1474f",
70
70
  "@strapi/pack-up": "5.0.0",
71
- "@strapi/types": "0.0.0-experimental.abc",
71
+ "@strapi/types": "0.0.0-experimental.afa3b513b8f95459043f33fb94f4bac03af1474f",
72
72
  "@strapi/utils": "workspace:*",
73
73
  "@testing-library/react": "15.0.7",
74
74
  "msw": "1.3.0",
@@ -96,5 +96,5 @@
96
96
  "displayName": "Review Workflows",
97
97
  "required": true
98
98
  },
99
- "gitHead": "fb442e5e12dd3f611303691bf85a249520ba348b"
99
+ "gitHead": "afa3b513b8f95459043f33fb94f4bac03af1474f"
100
100
  }
package/strapi-server.js DELETED
@@ -1,3 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = require('./dist/server');