@sprucelabs/mercury-types 28.0.7 → 28.0.10

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.
@@ -10,13 +10,13 @@ const permissionReferenceSchema = {
10
10
  fields: {
11
11
  /** . */
12
12
  'contractId': {
13
- type: 'text',
13
+ type: 'id',
14
14
  isRequired: true,
15
15
  options: undefined
16
16
  },
17
17
  /** . */
18
- 'requiredPermissionsAll': {
19
- type: 'text',
18
+ 'permissionIdsAny': {
19
+ type: 'id',
20
20
  isArray: true,
21
21
  options: undefined
22
22
  },
@@ -336,7 +336,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
336
336
  namespace SpruceSchemas.Mercury.v2020_12_25 {
337
337
  interface PermissionReference {
338
338
  'contractId': string;
339
- 'requiredPermissionsAll'?: string[] | undefined | null;
339
+ 'permissionIdsAny'?: string[] | undefined | null;
340
340
  }
341
341
  interface PermissionReferenceSchema extends SpruceSchema.Schema {
342
342
  id: 'permissionReference';
@@ -347,13 +347,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
347
347
  fields: {
348
348
  /** . */
349
349
  'contractId': {
350
- type: 'text';
350
+ type: 'id';
351
351
  isRequired: true;
352
352
  options: undefined;
353
353
  };
354
354
  /** . */
355
- 'requiredPermissionsAll': {
356
- type: 'text';
355
+ 'permissionIdsAny': {
356
+ type: 'id';
357
357
  isArray: true;
358
358
  options: undefined;
359
359
  };
@@ -8,13 +8,13 @@ const permissionReferenceSchema = {
8
8
  fields: {
9
9
  /** . */
10
10
  'contractId': {
11
- type: 'text',
11
+ type: 'id',
12
12
  isRequired: true,
13
13
  options: undefined
14
14
  },
15
15
  /** . */
16
- 'requiredPermissionsAll': {
17
- type: 'text',
16
+ 'permissionIdsAny': {
17
+ type: 'id',
18
18
  isArray: true,
19
19
  options: undefined
20
20
  },
@@ -336,7 +336,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
336
336
  namespace SpruceSchemas.Mercury.v2020_12_25 {
337
337
  interface PermissionReference {
338
338
  'contractId': string;
339
- 'requiredPermissionsAll'?: string[] | undefined | null;
339
+ 'permissionIdsAny'?: string[] | undefined | null;
340
340
  }
341
341
  interface PermissionReferenceSchema extends SpruceSchema.Schema {
342
342
  id: 'permissionReference';
@@ -347,13 +347,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
347
347
  fields: {
348
348
  /** . */
349
349
  'contractId': {
350
- type: 'text';
350
+ type: 'id';
351
351
  isRequired: true;
352
352
  options: undefined;
353
353
  };
354
354
  /** . */
355
- 'requiredPermissionsAll': {
356
- type: 'text';
355
+ 'permissionIdsAny': {
356
+ type: 'id';
357
357
  isArray: true;
358
358
  options: undefined;
359
359
  };
@@ -61,11 +61,11 @@ declare const _default: {
61
61
  id: string;
62
62
  fields: {
63
63
  contractId: {
64
- type: "text";
64
+ type: "id";
65
65
  isRequired: true;
66
66
  };
67
- requiredPermissionsAll: {
68
- type: "text";
67
+ permissionIdsAny: {
68
+ type: "id";
69
69
  isArray: true;
70
70
  };
71
71
  };
@@ -79,11 +79,11 @@ declare const _default: {
79
79
  id: string;
80
80
  fields: {
81
81
  contractId: {
82
- type: "text";
82
+ type: "id";
83
83
  isRequired: true;
84
84
  };
85
- requiredPermissionsAll: {
86
- type: "text";
85
+ permissionIdsAny: {
86
+ type: "id";
87
87
  isArray: true;
88
88
  };
89
89
  };
@@ -4,11 +4,11 @@ const permissionReferenceSchema = buildSchema({
4
4
  id: 'permissionReference',
5
5
  fields: {
6
6
  contractId: {
7
- type: 'text',
7
+ type: 'id',
8
8
  isRequired: true,
9
9
  },
10
- requiredPermissionsAll: {
11
- type: 'text',
10
+ permissionIdsAny: {
11
+ type: 'id',
12
12
  isArray: true,
13
13
  },
14
14
  },
@@ -61,11 +61,11 @@ declare const _default: {
61
61
  id: string;
62
62
  fields: {
63
63
  contractId: {
64
- type: "text";
64
+ type: "id";
65
65
  isRequired: true;
66
66
  };
67
- requiredPermissionsAll: {
68
- type: "text";
67
+ permissionIdsAny: {
68
+ type: "id";
69
69
  isArray: true;
70
70
  };
71
71
  };
@@ -79,11 +79,11 @@ declare const _default: {
79
79
  id: string;
80
80
  fields: {
81
81
  contractId: {
82
- type: "text";
82
+ type: "id";
83
83
  isRequired: true;
84
84
  };
85
- requiredPermissionsAll: {
86
- type: "text";
85
+ permissionIdsAny: {
86
+ type: "id";
87
87
  isArray: true;
88
88
  };
89
89
  };
@@ -9,11 +9,11 @@ const permissionReferenceSchema = (0, schema_1.buildSchema)({
9
9
  id: 'permissionReference',
10
10
  fields: {
11
11
  contractId: {
12
- type: 'text',
12
+ type: 'id',
13
13
  isRequired: true,
14
14
  },
15
- requiredPermissionsAll: {
16
- type: 'text',
15
+ permissionIdsAny: {
16
+ type: 'id',
17
17
  isArray: true,
18
18
  },
19
19
  },
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "28.0.7",
6
+ "version": "28.0.10",
7
7
  "files": [
8
8
  "build"
9
9
  ],
@@ -66,17 +66,17 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@sprucelabs/error": "^5.0.452",
69
- "@sprucelabs/schema": "^28.0.6",
70
- "@sprucelabs/spruce-core-schemas": "^27.0.2"
69
+ "@sprucelabs/schema": "^28.0.7",
70
+ "@sprucelabs/spruce-core-schemas": "^27.1.1"
71
71
  },
72
72
  "devDependencies": {
73
- "@sprucelabs/esm-postbuild": "^1.0.463",
74
- "@sprucelabs/jest-json-reporter": "^6.0.376",
73
+ "@sprucelabs/esm-postbuild": "^1.0.464",
74
+ "@sprucelabs/jest-json-reporter": "^6.0.377",
75
75
  "@sprucelabs/resolve-path-aliases": "^1.1.40",
76
76
  "@sprucelabs/semantic-release": "^4.0.8",
77
77
  "@sprucelabs/test": "^7.7.313",
78
- "@sprucelabs/test-utils": "^3.0.541",
79
- "@types/node": "^17.0.31",
78
+ "@sprucelabs/test-utils": "^3.0.542",
79
+ "@types/node": "^17.0.32",
80
80
  "chokidar-cli": "^3.0.0",
81
81
  "concurrently": "^7.1.0",
82
82
  "conventional-changelog-sprucelabs": "^1.1.2",