@kravc/dos 2.0.0-alpha.15 → 2.0.0-alpha.16
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.
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import Operation from '../Operation';
|
|
2
2
|
import { type Permissions } from './JwtAuthorization';
|
|
3
3
|
type Props = {
|
|
4
|
+
name?: string;
|
|
4
5
|
issuer: string;
|
|
5
6
|
publicKey: string;
|
|
7
|
+
description?: string;
|
|
6
8
|
permissions?: Permissions;
|
|
7
9
|
};
|
|
8
10
|
/** Returns helper to extend operation class with user authorization requirement. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userAuthorization.d.ts","sourceRoot":"","sources":["../../../src/Operation/security/userAuthorization.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAyB,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAExE,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAA;AAED,oFAAoF;AACpF,QAAA,MAAM,iBAAiB,GAAI,OAAO,KAAK,MAG7B,gBAAgB,OAAO,SAAS,KAAG,OAAO,SA+BnD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"userAuthorization.d.ts","sourceRoot":"","sources":["../../../src/Operation/security/userAuthorization.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAyB,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAExE,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAA;AAED,oFAAoF;AACpF,QAAA,MAAM,iBAAiB,GAAI,OAAO,KAAK,MAG7B,gBAAgB,OAAO,SAAS,KAAG,OAAO,SA+BnD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userAuthorization.js","sourceRoot":"","sources":["../../../src/Operation/security/userAuthorization.ts"],"names":[],"mappings":";;;;;AACA,0EAAwE;
|
|
1
|
+
{"version":3,"file":"userAuthorization.js","sourceRoot":"","sources":["../../../src/Operation/security/userAuthorization.ts"],"names":[],"mappings":";;;;;AACA,0EAAwE;AAUxE,oFAAoF;AACpF,MAAM,iBAAiB,GAAG,CAAC,KAAY,EAAE,EAAE;IACzC,MAAM,wBAAwB,GAAG,0BAAgB,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;IAE3E,OAAO,CAAC,cAAgC,EAAoB,EAAE;IAC5D,gCAAgC;IAChC,KAAM,SAAQ,cAAc;QAC1B,+CAA+C;QAC/C,MAAM,KAAK,QAAQ;YACjB,OAAO,CAAE,wBAAwB,CAAE,CAAC;QACtC,CAAC;QAED,yDAAyD;QACzD,MAAM,KAAK,WAAW;YACpB,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,CAAC;YAEzC,IAAI,CAAC,cAAc,EAAE,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,EAAE,EAAE,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;YAEjC,MAAM,oBAAoB,GAAG,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC;iBACxD,MAAM,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;iBAChE,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC;YAErC,MAAM,qBAAqB,GAAG,oBAAoB,CAAC,MAAM,GAAG,CAAC,CAAC;YAE9D,IAAI,CAAC,qBAAqB,EAAE,CAAC;gBAC3B,MAAM,IAAI,KAAK,CAAC,0CAA0C,WAAW,GAAG,CAAC,CAAC;YAC5E,CAAC;YAED,OAAO,oBAAoB,CAAC;QAC9B,CAAC;KACF,CAAC;AACN,CAAC,CAAC;AAEF,kBAAe,iBAAiB,CAAC"}
|
package/package.json
CHANGED