@axinom/mosaic-id-utils 0.26.0-rc.13 → 0.26.0-rc.15

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.
@@ -23,6 +23,15 @@ export interface Permission {
23
23
  * @property
24
24
  */
25
25
  usedForDevelopment?: boolean;
26
+ /**
27
+ * Defines the intended assignment scope metadata for the permission.
28
+ * 'ANY' (default) - available to general permission-assignment flows.
29
+ * 'SERVICE' - intended for service-account usage and may be hidden from user-role UI flows.
30
+ * Note: this flag does not by itself enforce server-side assignment restrictions; any such
31
+ * validation must be implemented by the consumer of this definition.
32
+ * @property
33
+ */
34
+ usageScope?: 'ANY' | 'SERVICE';
26
35
  /**
27
36
  * List of gqlOperations.
28
37
  * @property
@@ -1 +1 @@
1
- {"version":3,"file":"permission-definition-interface.d.ts","sourceRoot":"","sources":["../../src/operation-to-permission-mapping/permission-definition-interface.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;OAGG;IACH,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACnC;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,UAAU,CAAC,EAAE;QACX;;;WAGG;QACH,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;QAClC;;;;WAIG;QACH,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;KACjC,CAAC;IAEF;;;;;;OAMG;IACH,WAAW,EAAE,SAAS,UAAU,EAAE,CAAC;CACpC"}
1
+ {"version":3,"file":"permission-definition-interface.d.ts","sourceRoot":"","sources":["../../src/operation-to-permission-mapping/permission-definition-interface.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;IAC/B;;;OAGG;IACH,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACnC;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,UAAU,CAAC,EAAE;QACX;;;WAGG;QACH,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;QAClC;;;;WAIG;QACH,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;KACjC,CAAC;IAEF;;;;;;OAMG;IACH,WAAW,EAAE,SAAS,UAAU,EAAE,CAAC;CACpC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-id-utils",
3
- "version": "0.26.0-rc.13",
3
+ "version": "0.26.0-rc.15",
4
4
  "description": "Shared types used by id-service for integration clients",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -27,7 +27,7 @@
27
27
  "lint": "eslint . --ext .ts,.tsx,.js --color --cache"
28
28
  },
29
29
  "dependencies": {
30
- "@axinom/mosaic-core": "^0.4.32-rc.13"
30
+ "@axinom/mosaic-core": "^0.4.32-rc.15"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "^22.0.0",
@@ -38,5 +38,5 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "0f0cd2180ed2b113303a01c2b25a06b7f7627eee"
41
+ "gitHead": "07036c86e5a6bb94f3100a20e46c8dcc65771918"
42
42
  }
@@ -23,6 +23,15 @@ export interface Permission {
23
23
  * @property
24
24
  */
25
25
  usedForDevelopment?: boolean;
26
+ /**
27
+ * Defines the intended assignment scope metadata for the permission.
28
+ * 'ANY' (default) - available to general permission-assignment flows.
29
+ * 'SERVICE' - intended for service-account usage and may be hidden from user-role UI flows.
30
+ * Note: this flag does not by itself enforce server-side assignment restrictions; any such
31
+ * validation must be implemented by the consumer of this definition.
32
+ * @property
33
+ */
34
+ usageScope?: 'ANY' | 'SERVICE';
26
35
  /**
27
36
  * List of gqlOperations.
28
37
  * @property