@ya-accelerators/web-backend-framework 0.0.155 → 0.0.156
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.
|
@@ -4,7 +4,7 @@ export interface AuditContext {
|
|
|
4
4
|
reason?: string;
|
|
5
5
|
suppress: boolean;
|
|
6
6
|
}
|
|
7
|
-
export type AuditOperationReason = 'account-type-update' | 'contact-update' | 'document-write' | 'legal-hold-create' | 'legal-hold-release' | '
|
|
7
|
+
export type AuditOperationReason = 'account-type-update' | 'contact-update' | 'document-write' | 'legal-hold-create' | 'legal-hold-release' | 'personnel-contract-write' | 'profile-update' | 'processing-restriction-create' | 'processing-restriction-lift';
|
|
8
8
|
export declare const auditContextStorage: AsyncLocalStorage<AuditContext>;
|
|
9
9
|
export declare const getCurrentAuditContext: () => AuditContext | undefined;
|
|
10
10
|
export declare const runWithAuditActorFor: <TReason extends string>() => <T>({ actorUserId, reason }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/context/audit/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/context/audit/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAuB/C,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,iBAAiB,EAAgB,CAAA;AAExE,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,EAAE,CAAC,mBAAmB,CAAC,QAAQ,EAAE,CAAA;AAE1E,MAAM,CAAC,MAAM,oBAAoB,GAC/B,GAA2B,EAAE,CAC7B,CAAI,EAAE,WAAW,EAAE,MAAM,EAA8C,EAAE,EAAwB,EAAE,EAAE;IACnG,OAAO,mBAAmB,CAAC,GAAG,CAC5B;QACE,WAAW;QACX,MAAM;QACN,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,EAAE,EAAE,QAAQ,IAAI,KAAK;KAC5D;IACD,8GAA8G;IAC9G,KAAK,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE,CACvB,CAAA;AACH,CAAC,CAAA;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG,oBAAoB,EAAwB,CAAA;AAE7E,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAI,EAAE,MAAM,EAAuB,EAAE,EAAwB,EAAE,EAAE,CAChG,mBAAmB,CAAC,GAAG,CACrB;IACE,MAAM;IACN,QAAQ,EAAE,IAAI;CACf,EACD,KAAK,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE,CACvB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ya-accelerators/web-backend-framework",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.156",
|
|
4
4
|
"packageRole": "library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "",
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
"test:integration": "jest --testPathPatterns=integration"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@aws-sdk/client-s3": "^3.
|
|
56
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
55
|
+
"@aws-sdk/client-s3": "^3.1167.0",
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.97",
|
|
57
57
|
"@prisma/adapter-mariadb": "^7.10.1",
|
|
58
58
|
"@prisma/extension-read-replicas": "^0.5.0",
|
|
59
|
-
"@valkey/valkey-glide": "^2.
|
|
59
|
+
"@valkey/valkey-glide": "^2.6.0",
|
|
60
60
|
"cors": "^2.8.6",
|
|
61
61
|
"express": "^5.3.0",
|
|
62
|
-
"google-auth-library": "^11.3.
|
|
62
|
+
"google-auth-library": "^11.3.4",
|
|
63
63
|
"http-proxy-middleware": "^4.2.1",
|
|
64
|
-
"jose": "^6.2.
|
|
64
|
+
"jose": "^6.2.17",
|
|
65
65
|
"mariadb": "^3.5.5",
|
|
66
66
|
"ulid": "^3.0.2"
|
|
67
67
|
},
|