@axinom/mosaic-id-utils 0.26.0-rc.9 → 0.27.0-rc.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/dist/common/types.d.ts +1 -0
- package/dist/common/types.d.ts.map +1 -1
- package/dist/common/types.js.map +1 -1
- package/dist/operation-to-permission-mapping/permission-definition-interface.d.ts +9 -0
- package/dist/operation-to-permission-mapping/permission-definition-interface.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/common/types.ts +3 -0
- package/src/operation-to-permission-mapping/permission-definition-interface.ts +9 -0
package/dist/common/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/common/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EACL,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAGjB,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,iBAAiB,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAGD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,kBAAkB,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/common/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EACL,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAGjB,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,iBAAiB,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAGD,MAAM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AAW;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;CAcnB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC"}
|
package/dist/common/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/common/types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/common/types.ts"],"names":[],"mappings":";;;AAqFa,QAAA,gBAAgB,GAAG;IAC9B,UAAU,EAAE,eAAe;IAC3B,sBAAsB,EAAE,2BAA2B;IACnD,cAAc,EAAE,mBAAmB;IACnC,cAAc,EAAE,iBAAiB;IACjC,aAAa,EAAE,kBAAkB;IACjC,aAAa,EAAE,kBAAkB;IACjC,YAAY,EAAE,iBAAiB;IAC/B,uBAAuB,EAAE,4BAA4B;IACrD,eAAe,EAAE,oBAAoB;IACrC,oBAAoB,EAAE,yBAAyB;IAC/C,WAAW,EAAE,gBAAgB;IAC7B,mBAAmB,EAAE,wBAAwB;IAC7C,WAAW,EAAE,gBAAgB;CACrB,CAAC"}
|
|
@@ -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.
|
|
3
|
+
"version": "0.27.0-rc.0",
|
|
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.
|
|
30
|
+
"@axinom/mosaic-core": "^0.4.33-rc.0"
|
|
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": "
|
|
41
|
+
"gitHead": "67b8c53e16818fd583a92957d452b2d54d9a7fa4"
|
|
42
42
|
}
|
package/src/common/types.ts
CHANGED
|
@@ -17,6 +17,9 @@ export interface TokenResponse {
|
|
|
17
17
|
export interface LogoutResponse {
|
|
18
18
|
code: LogoutResponseCode;
|
|
19
19
|
message?: string;
|
|
20
|
+
// Present when the IDP supports RP-Initiated Logout and logout_from_idp is enabled.
|
|
21
|
+
// The client must navigate the browser to this URL to clear the IDP session.
|
|
22
|
+
idpLogoutUrl?: string;
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
interface IdpConfigBase {
|
|
@@ -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
|