@mondaydotcomorg/monday-authorization 3.6.0-feat-shaime-support-entity-attributes-3-0d092e0 → 3.6.0-feat-shaime-support-entity-attributes-3-31fcbe3

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.
@@ -24,15 +24,15 @@ export declare const entityDeleteAssignmentSchema: import("ajv").ValidateFunctio
24
24
  entityType: any;
25
25
  }>;
26
26
  export declare const resourceDeleteAssignmentSchema: import("ajv").ValidateFunction<{
27
- id: any;
27
+ resourceId: any;
28
+ resourceType: any;
28
29
  key: any;
29
- type: any;
30
30
  } & {
31
- id: any;
31
+ resourceId: any;
32
+ } & {
33
+ resourceType: any;
32
34
  } & {
33
35
  key: any;
34
- } & {
35
- type: any;
36
36
  }>;
37
37
  export declare const resourceUpsertAssignmentSchema: import("ajv").ValidateFunction<{
38
38
  value: any;
@@ -31,7 +31,7 @@ const resourceDeleteAssignmentSchema = ajv.compile({
31
31
  resourceType: { type: 'string', enum: Object.values(ResourceType) },
32
32
  key: { type: 'string', minLength: 1 },
33
33
  },
34
- required: ['id', 'type', 'key'],
34
+ required: ['resourceId', 'resourceType', 'key'],
35
35
  additionalProperties: false,
36
36
  });
37
37
  const resourceUpsertAssignmentSchema = ajv.compile({
@@ -24,15 +24,15 @@ export declare const entityDeleteAssignmentSchema: import("ajv").ValidateFunctio
24
24
  entityType: any;
25
25
  }>;
26
26
  export declare const resourceDeleteAssignmentSchema: import("ajv").ValidateFunction<{
27
- id: any;
27
+ resourceId: any;
28
+ resourceType: any;
28
29
  key: any;
29
- type: any;
30
30
  } & {
31
- id: any;
31
+ resourceId: any;
32
+ } & {
33
+ resourceType: any;
32
34
  } & {
33
35
  key: any;
34
- } & {
35
- type: any;
36
36
  }>;
37
37
  export declare const resourceUpsertAssignmentSchema: import("ajv").ValidateFunction<{
38
38
  value: any;
@@ -37,7 +37,7 @@ const resourceDeleteAssignmentSchema = ajv.compile({
37
37
  resourceType: { type: 'string', enum: Object.values(resourceAttributesConstants.ResourceType) },
38
38
  key: { type: 'string', minLength: 1 },
39
39
  },
40
- required: ['id', 'type', 'key'],
40
+ required: ['resourceId', 'resourceType', 'key'],
41
41
  additionalProperties: false,
42
42
  });
43
43
  const resourceUpsertAssignmentSchema = ajv.compile({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mondaydotcomorg/monday-authorization",
3
- "version": "3.6.0-feat-shaime-support-entity-attributes-3-0d092e0",
3
+ "version": "3.6.0-feat-shaime-support-entity-attributes-3-31fcbe3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "BSD-3-Clause",
@@ -34,7 +34,7 @@ export const resourceDeleteAssignmentSchema = ajv.compile({
34
34
  resourceType: { type: 'string', enum: Object.values(ResourceType) },
35
35
  key: { type: 'string', minLength: 1 },
36
36
  },
37
- required: ['id', 'type', 'key'],
37
+ required: ['resourceId', 'resourceType', 'key'],
38
38
  additionalProperties: false,
39
39
  });
40
40