@dbos-inc/dbos-sdk 0.8.48-preview → 0.8.50-preview.gb70145e277
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/packages/communicator-bcrypt/index.d.ts +8 -0
- package/dist/packages/communicator-bcrypt/index.d.ts.map +1 -0
- package/dist/packages/communicator-bcrypt/index.js +43 -0
- package/dist/packages/communicator-bcrypt/index.js.map +1 -0
- package/dist/packages/communicator-datetime/index.d.ts +7 -0
- package/dist/packages/communicator-datetime/index.d.ts.map +1 -0
- package/dist/packages/communicator-datetime/index.js +35 -0
- package/dist/packages/communicator-datetime/index.js.map +1 -0
- package/dist/packages/communicator-random/index.d.ts +6 -0
- package/dist/packages/communicator-random/index.d.ts.map +1 -0
- package/dist/packages/communicator-random/index.js +26 -0
- package/dist/packages/communicator-random/index.js.map +1 -0
- package/dist/src/context.d.ts +0 -1
- package/dist/src/context.d.ts.map +1 -1
- package/dist/src/httpServer/server.d.ts +1 -2
- package/dist/src/httpServer/server.d.ts.map +1 -1
- package/dist/src/testing/testing_runtime.d.ts +1 -2
- package/dist/src/testing/testing_runtime.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/packages/communicator-bcrypt/dist/index.d.ts +8 -0
- package/packages/communicator-bcrypt/dist/index.d.ts.map +1 -0
- package/packages/communicator-bcrypt/dist/index.js +43 -0
- package/packages/communicator-bcrypt/dist/index.js.map +1 -0
- package/packages/communicator-bcrypt/package.json +27 -0
- package/packages/communicator-datetime/dist/index.d.ts +7 -0
- package/packages/communicator-datetime/dist/index.d.ts.map +1 -0
- package/packages/communicator-datetime/dist/index.js +35 -0
- package/packages/communicator-datetime/dist/index.js.map +1 -0
- package/packages/communicator-datetime/package.json +26 -0
- package/packages/communicator-random/dist/index.d.ts +6 -0
- package/packages/communicator-random/dist/index.d.ts.map +1 -0
- package/packages/communicator-random/dist/index.js +26 -0
- package/packages/communicator-random/dist/index.js.map +1 -0
- package/packages/communicator-random/package.json +26 -0
- package/packages/dbos-cloud/package.json +3 -2
- package/packages/dbos-openapi/package.json +1 -1
@@ -0,0 +1,8 @@
|
|
1
|
+
import { CommunicatorContext } from '@dbos-inc/dbos-sdk';
|
2
|
+
declare class BcryptCommunicator {
|
3
|
+
static bcryptGenSalt(_ctx: CommunicatorContext, saltRounds?: number): Promise<string>;
|
4
|
+
static bcryptHash(_ctx: CommunicatorContext, txt: string, saltRounds?: number): Promise<string>;
|
5
|
+
static bcryptCompare(txt: string, hashedTxt: string): Promise<boolean>;
|
6
|
+
}
|
7
|
+
export { BcryptCommunicator };
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/communicator-bcrypt/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AAKrE,cAAM,kBAAkB;WAGP,aAAa,CAAC,IAAI,EAAE,mBAAmB,EAAE,UAAU,GAAE,MAAW,GAAI,OAAO,CAAC,MAAM,CAAC;WAMnF,UAAU,CAAC,IAAI,EAAE,mBAAmB,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,GAAE,MAAW,GAAI,OAAO,CAAC,MAAM,CAAC;WAI7F,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAI/E;AAED,OACA,EACI,kBAAkB,EACrB,CAAA"}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
|
+
};
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
+
exports.BcryptCommunicator = void 0;
|
16
|
+
const dbos_sdk_1 = require("@dbos-inc/dbos-sdk");
|
17
|
+
const bcryptjs_1 = __importDefault(require("bcryptjs"));
|
18
|
+
class BcryptCommunicator {
|
19
|
+
static async bcryptGenSalt(_ctx, saltRounds = 10) {
|
20
|
+
return await bcryptjs_1.default.genSalt(saltRounds);
|
21
|
+
}
|
22
|
+
static async bcryptHash(_ctx, txt, saltRounds = 10) {
|
23
|
+
return await bcryptjs_1.default.hash(txt, saltRounds);
|
24
|
+
}
|
25
|
+
static async bcryptCompare(txt, hashedTxt) {
|
26
|
+
const isMatch = bcryptjs_1.default.compare(txt, hashedTxt);
|
27
|
+
return isMatch;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
exports.BcryptCommunicator = BcryptCommunicator;
|
31
|
+
__decorate([
|
32
|
+
(0, dbos_sdk_1.Communicator)(),
|
33
|
+
__metadata("design:type", Function),
|
34
|
+
__metadata("design:paramtypes", [Object, Number]),
|
35
|
+
__metadata("design:returntype", Promise)
|
36
|
+
], BcryptCommunicator, "bcryptGenSalt", null);
|
37
|
+
__decorate([
|
38
|
+
(0, dbos_sdk_1.Communicator)(),
|
39
|
+
__metadata("design:type", Function),
|
40
|
+
__metadata("design:paramtypes", [Object, String, Number]),
|
41
|
+
__metadata("design:returntype", Promise)
|
42
|
+
], BcryptCommunicator, "bcryptHash", null);
|
43
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/communicator-bcrypt/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,iDAAqE;AAErE,wDAAgC;AAGhC,MAAM,kBAAkB;IAGP,AAAb,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,IAAyB,EAAE,aAAqB,EAAE;QAEzE,OAAO,MAAM,kBAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAC9C,CAAC;IAGY,AAAb,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,IAAyB,EAAE,GAAW,EAAE,aAAqB,EAAE;QACnF,OAAO,MAAM,kBAAQ,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;IAChD,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,GAAW,EAAE,SAAiB;QACrD,MAAM,OAAO,GAAG,kBAAQ,CAAC,OAAO,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;QACjD,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ;AAIG,gDAAkB;AAlBL;IADZ,IAAA,uBAAY,GAAE;;;;6CAId;AAGY;IADZ,IAAA,uBAAY,GAAE;;;;0CAGd"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { CommunicatorContext } from '@dbos-inc/dbos-sdk';
|
2
|
+
declare class CurrentTimeCommunicator {
|
3
|
+
static getCurrentDate(_ctx: CommunicatorContext): Promise<Date>;
|
4
|
+
static getCurrentTime(_ctx: CommunicatorContext): Promise<number>;
|
5
|
+
}
|
6
|
+
export { CurrentTimeCommunicator };
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/communicator-datetime/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AAErE,cAAM,uBAAuB;IAGzB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,mBAAmB,GAAI,OAAO,CAAC,IAAI,CAAC;IAKhE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,mBAAmB,GAAI,OAAO,CAAC,MAAM,CAAC;CAGrE;AAED,OACA,EACI,uBAAuB,EAC1B,CAAA"}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.CurrentTimeCommunicator = void 0;
|
13
|
+
const dbos_sdk_1 = require("@dbos-inc/dbos-sdk");
|
14
|
+
class CurrentTimeCommunicator {
|
15
|
+
static getCurrentDate(_ctx) {
|
16
|
+
return Promise.resolve(new Date());
|
17
|
+
}
|
18
|
+
static getCurrentTime(_ctx) {
|
19
|
+
return Promise.resolve(new Date().getUTCMilliseconds());
|
20
|
+
}
|
21
|
+
}
|
22
|
+
exports.CurrentTimeCommunicator = CurrentTimeCommunicator;
|
23
|
+
__decorate([
|
24
|
+
(0, dbos_sdk_1.Communicator)(),
|
25
|
+
__metadata("design:type", Function),
|
26
|
+
__metadata("design:paramtypes", [Object]),
|
27
|
+
__metadata("design:returntype", Promise)
|
28
|
+
], CurrentTimeCommunicator, "getCurrentDate", null);
|
29
|
+
__decorate([
|
30
|
+
(0, dbos_sdk_1.Communicator)(),
|
31
|
+
__metadata("design:type", Function),
|
32
|
+
__metadata("design:paramtypes", [Object]),
|
33
|
+
__metadata("design:returntype", Promise)
|
34
|
+
], CurrentTimeCommunicator, "getCurrentTime", null);
|
35
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/communicator-datetime/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,iDAAqE;AAErE,MAAM,uBAAuB;IAGlB,AAAP,MAAM,CAAC,cAAc,CAAC,IAAyB;QAC3C,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IACvC,CAAC;IAGM,AAAP,MAAM,CAAC,cAAc,CAAC,IAAyB;QAC3C,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC,kBAAkB,EAAE,CAAC,CAAC;IAC5D,CAAC;CACJ;AAIG,0DAAuB;AAZhB;IADN,IAAA,uBAAY,GAAE;;;;mDAGd;AAGM;IADN,IAAA,uBAAY,GAAE;;;;mDAGd"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/communicator-random/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AAErE,cAAM,kBAAkB;IAGpB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,mBAAmB,GAAI,OAAO,CAAC,MAAM,CAAC;CAG7D;AAED,OACA,EACI,kBAAkB,EACrB,CAAA"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.RandomCommunicator = void 0;
|
13
|
+
const dbos_sdk_1 = require("@dbos-inc/dbos-sdk");
|
14
|
+
class RandomCommunicator {
|
15
|
+
static random(_ctx) {
|
16
|
+
return Promise.resolve(Math.random());
|
17
|
+
}
|
18
|
+
}
|
19
|
+
exports.RandomCommunicator = RandomCommunicator;
|
20
|
+
__decorate([
|
21
|
+
(0, dbos_sdk_1.Communicator)(),
|
22
|
+
__metadata("design:type", Function),
|
23
|
+
__metadata("design:paramtypes", [Object]),
|
24
|
+
__metadata("design:returntype", Promise)
|
25
|
+
], RandomCommunicator, "random", null);
|
26
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/communicator-random/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,iDAAqE;AAErE,MAAM,kBAAkB;IAGb,AAAP,MAAM,CAAC,MAAM,CAAC,IAAyB;QACnC,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;IAC1C,CAAC;CACJ;AAIG,gDAAkB;AAPX;IADN,IAAA,uBAAY,GAAE;;;;sCAGd"}
|
package/dist/src/context.d.ts
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
/// <reference types="node" />
|
3
|
-
/// <reference types="node/http" />
|
4
3
|
/// <reference types="@koa/bodyparser/dist/body-parser" />
|
5
4
|
import { Span } from "@opentelemetry/sdk-trace-base";
|
6
5
|
import { GlobalLogger as Logger, Logger as DBOSLogger } from "./telemetry/logs";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/context.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/context.ts"],"names":[],"mappings":";;;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,EAAE,mBAAmB,EAAE,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAI/C,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,OAAO,CAAC,EAAE,mBAAmB,CAAC;IACvC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,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;gBAEJ,QAAQ,EAAE,YAAY;IAO3C,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAIjC,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAI/B,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IAK/D,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IACxC,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,GAAG,CAAC;CAmB9C"}
|
@@ -1,7 +1,6 @@
|
|
1
|
+
/// <reference types="@koa/bodyparser/dist/body-parser" />
|
1
2
|
/// <reference types="koa__router" />
|
2
3
|
/// <reference types="node" />
|
3
|
-
/// <reference types="node/http" />
|
4
|
-
/// <reference types="@koa/bodyparser/dist/body-parser" />
|
5
4
|
import Koa from 'koa';
|
6
5
|
import Router from '@koa/router';
|
7
6
|
import { DBOSExecutor } from "../dbos-executor";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/httpServer/server.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/httpServer/server.ts"],"names":[],"mappings":";;;AAAA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,MAAM,MAAM,aAAa,CAAC;AAiBjC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAK3D,eAAO,MAAM,kBAAkB,sBAAsB,CAAC;AACtD,eAAO,MAAM,mBAAmB,4BAA4B,CAAA;AAC5D,eAAO,MAAM,SAAS,kBAAkB,CAAA;AAExC,qBAAa,cAAc;IAYb,QAAQ,CAAC,QAAQ,EAAE,YAAY;IAX3C,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC;IAClB,QAAQ,CAAC,QAAQ,EAAE,GAAG,CAAC;IACvB,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB;;;;OAIG;gBACkB,QAAQ,EAAE,YAAY;IAmB3C;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM;;;;IAYnB;;OAEG;IACD,MAAM,CAAC,sBAAsB,CAAC,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM;IAWtE;;;OAGG;IACH,MAAM,CAAC,wBAAwB,CAAC,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM;IAmBtE;;OAEG;IACH,MAAM,CAAC,0BAA0B,CAAC,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM;CAkKzE"}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
/// <reference types="node" />
|
2
|
-
/// <reference types="node" />
|
3
|
-
/// <reference types="node/http" />
|
4
2
|
/// <reference types="@koa/bodyparser/dist/body-parser" />
|
3
|
+
/// <reference types="node" />
|
5
4
|
import { IncomingMessage } from "http";
|
6
5
|
import { HTTPRequest } from "../context";
|
7
6
|
import { InvokeFuncs } from "../httpServer/handler";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"testing_runtime.d.ts","sourceRoot":"","sources":["../../../src/testing/testing_runtime.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"testing_runtime.d.ts","sourceRoot":"","sources":["../../../src/testing/testing_runtime.ts"],"names":[],"mappings":";;;AACA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAmB,MAAM,YAAY,CAAC;AAG1D,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,UAAU,EAA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