@webiny/wcp 5.40.6 → 5.41.0-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/wcp",
3
- "version": "5.40.6",
3
+ "version": "5.41.0-beta.0",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,11 +21,11 @@
21
21
  "@babel/plugin-transform-runtime": "7.24.3",
22
22
  "@babel/preset-env": "7.24.3",
23
23
  "@babel/preset-typescript": "7.24.1",
24
- "@webiny/cli": "5.40.6",
25
- "@webiny/project-utils": "5.40.6",
24
+ "@webiny/cli": "5.41.0-beta.0",
25
+ "@webiny/project-utils": "5.41.0-beta.0",
26
26
  "rimraf": "5.0.5",
27
27
  "ttypescript": "1.5.15",
28
- "typescript": "4.7.4"
28
+ "typescript": "4.9.5"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public",
@@ -40,5 +40,5 @@
40
40
  "__tests__"
41
41
  ]
42
42
  },
43
- "gitHead": "f9da84b373e62f9f269599c4301e5e4418a98d51"
43
+ "gitHead": "9ce5e75fc577aa4de2cf08d5ca734b3c98fe65b6"
44
44
  }
@@ -0,0 +1,2 @@
1
+ import { DecryptedWcpProjectLicense } from "../types";
2
+ export declare const createTestWcpLicense: () => DecryptedWcpProjectLicense;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.createTestWcpLicense = void 0;
7
+ var _types = require("../types");
8
+ const createTestWcpLicense = () => {
9
+ return {
10
+ orgId: "org-id",
11
+ projectId: "project-id",
12
+ package: {
13
+ features: {
14
+ [_types.PROJECT_PACKAGE_FEATURE_NAME.AACL]: {
15
+ enabled: true,
16
+ options: {
17
+ teams: true,
18
+ folderLevelPermissions: true,
19
+ privateFiles: true
20
+ }
21
+ },
22
+ [_types.PROJECT_PACKAGE_FEATURE_NAME.MT]: {
23
+ enabled: true,
24
+ options: {
25
+ maxCount: {
26
+ type: _types.MT_OPTIONS_MAX_COUNT_TYPE.SEAT_BASED
27
+ }
28
+ }
29
+ },
30
+ [_types.PROJECT_PACKAGE_FEATURE_NAME.APW]: {
31
+ enabled: false
32
+ },
33
+ [_types.PROJECT_PACKAGE_FEATURE_NAME.AUDIT_LOGS]: {
34
+ enabled: false
35
+ },
36
+ [_types.PROJECT_PACKAGE_FEATURE_NAME.RECORD_LOCKING]: {
37
+ enabled: false
38
+ },
39
+ [_types.PROJECT_PACKAGE_FEATURE_NAME.SEATS]: {
40
+ enabled: true,
41
+ options: {
42
+ maxCount: 100
43
+ }
44
+ }
45
+ }
46
+ }
47
+ };
48
+ };
49
+ exports.createTestWcpLicense = createTestWcpLicense;
50
+
51
+ //# sourceMappingURL=createTestWcpLicense.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_types","require","createTestWcpLicense","orgId","projectId","package","features","PROJECT_PACKAGE_FEATURE_NAME","AACL","enabled","options","teams","folderLevelPermissions","privateFiles","MT","maxCount","type","MT_OPTIONS_MAX_COUNT_TYPE","SEAT_BASED","APW","AUDIT_LOGS","RECORD_LOCKING","SEATS","exports"],"sources":["createTestWcpLicense.ts"],"sourcesContent":["import {\n DecryptedWcpProjectLicense,\n MT_OPTIONS_MAX_COUNT_TYPE,\n PROJECT_PACKAGE_FEATURE_NAME\n} from \"~/types\";\n\nexport const createTestWcpLicense = (): DecryptedWcpProjectLicense => {\n return {\n orgId: \"org-id\",\n projectId: \"project-id\",\n package: {\n features: {\n [PROJECT_PACKAGE_FEATURE_NAME.AACL]: {\n enabled: true,\n options: {\n teams: true,\n folderLevelPermissions: true,\n privateFiles: true\n }\n },\n [PROJECT_PACKAGE_FEATURE_NAME.MT]: {\n enabled: true,\n options: {\n maxCount: {\n type: MT_OPTIONS_MAX_COUNT_TYPE.SEAT_BASED\n }\n }\n },\n [PROJECT_PACKAGE_FEATURE_NAME.APW]: {\n enabled: false\n },\n [PROJECT_PACKAGE_FEATURE_NAME.AUDIT_LOGS]: {\n enabled: false\n },\n [PROJECT_PACKAGE_FEATURE_NAME.RECORD_LOCKING]: {\n enabled: false\n },\n [PROJECT_PACKAGE_FEATURE_NAME.SEATS]: {\n enabled: true,\n options: {\n maxCount: 100\n }\n }\n }\n }\n };\n};\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAMO,MAAMC,oBAAoB,GAAGA,CAAA,KAAkC;EAClE,OAAO;IACHC,KAAK,EAAE,QAAQ;IACfC,SAAS,EAAE,YAAY;IACvBC,OAAO,EAAE;MACLC,QAAQ,EAAE;QACN,CAACC,mCAA4B,CAACC,IAAI,GAAG;UACjCC,OAAO,EAAE,IAAI;UACbC,OAAO,EAAE;YACLC,KAAK,EAAE,IAAI;YACXC,sBAAsB,EAAE,IAAI;YAC5BC,YAAY,EAAE;UAClB;QACJ,CAAC;QACD,CAACN,mCAA4B,CAACO,EAAE,GAAG;UAC/BL,OAAO,EAAE,IAAI;UACbC,OAAO,EAAE;YACLK,QAAQ,EAAE;cACNC,IAAI,EAAEC,gCAAyB,CAACC;YACpC;UACJ;QACJ,CAAC;QACD,CAACX,mCAA4B,CAACY,GAAG,GAAG;UAChCV,OAAO,EAAE;QACb,CAAC;QACD,CAACF,mCAA4B,CAACa,UAAU,GAAG;UACvCX,OAAO,EAAE;QACb,CAAC;QACD,CAACF,mCAA4B,CAACc,cAAc,GAAG;UAC3CZ,OAAO,EAAE;QACb,CAAC;QACD,CAACF,mCAA4B,CAACe,KAAK,GAAG;UAClCb,OAAO,EAAE,IAAI;UACbC,OAAO,EAAE;YACLK,QAAQ,EAAE;UACd;QACJ;MACJ;IACJ;EACJ,CAAC;AACL,CAAC;AAACQ,OAAA,CAAArB,oBAAA,GAAAA,oBAAA","ignoreList":[]}