@nx-ddd/x 19.0.0-preview.19 → 19.0.0-preview.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx-ddd/x",
|
|
3
|
-
"version": "19.0.0-preview.
|
|
3
|
+
"version": "19.0.0-preview.2",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"homepage": "https://github.com/xx-machina/plaform/tree/main/packages/@nx-ddd/x",
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
},
|
|
11
11
|
"peerDependencies": {
|
|
12
12
|
"@angular/core": "19.1.4",
|
|
13
|
-
"@nx-ddd/common": "19.0.0-preview.
|
|
14
|
-
"@nx-ddd/core": "19.0.0-preview.
|
|
15
|
-
"@nx-ddd/firestore": "19.0.0-preview.
|
|
13
|
+
"@nx-ddd/common": "19.0.0-preview.2",
|
|
14
|
+
"@nx-ddd/core": "19.0.0-preview.2",
|
|
15
|
+
"@nx-ddd/firestore": "19.0.0-preview.2",
|
|
16
16
|
"class-validator": "^0.14.0",
|
|
17
17
|
"dayjs": "1.11.13",
|
|
18
18
|
"tslib": "^2.3.0",
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MessageEvent = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const
|
|
5
|
+
const models_1 = require("@nx-ddd/common/domain/models");
|
|
6
6
|
const firestore_1 = require("@nx-ddd/firestore");
|
|
7
7
|
class User {
|
|
8
8
|
}
|
|
9
|
-
class MessageEvent extends
|
|
9
|
+
class MessageEvent extends models_1.Entity {
|
|
10
10
|
static from(params) {
|
|
11
11
|
return Object.assign(new MessageEvent(), params);
|
|
12
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-event.js","sourceRoot":"","sources":["../../../../../../../../packages/@nx-ddd/x/src/lib/domain/models/message-event.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"message-event.js","sourceRoot":"","sources":["../../../../../../../../packages/@nx-ddd/x/src/lib/domain/models/message-event.ts"],"names":[],"mappings":";;;;AAAA,yDAAsD;AACtD,iDAA8C;AAE9C,MAAM,IAAI;CAIT;AAED,MAAa,YAAa,SAAQ,eAAM;IAkBtC,MAAM,CAAC,IAAI,CAAC,MAA6B;QACvC,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,YAAY,EAAE,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC;CACF;AArBD,oCAqBC;AAhBC;IADC,qBAAS,CAAC,MAAM,EAAE;;8CACF;AAKjB;IADC,qBAAS,CAAC,MAAM,EAAE;;+CACQ;AAG3B;IADC,qBAAS,CAAC,MAAM,EAAE;;sDACM;AAGzB;IADC,qBAAS,CAAC,MAAM,EAAE;;0CACN"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TwitterToken = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const
|
|
5
|
+
const class_validators_1 = require("@nx-ddd/core/util/class-validators");
|
|
6
6
|
const decorators_1 = require("@nx-ddd/firestore/decorators");
|
|
7
7
|
const class_validator_1 = require("class-validator");
|
|
8
8
|
const dayjs_1 = tslib_1.__importDefault(require("dayjs"));
|
|
@@ -34,7 +34,7 @@ tslib_1.__decorate([
|
|
|
34
34
|
], TwitterToken.prototype, "refresh_token", void 0);
|
|
35
35
|
tslib_1.__decorate([
|
|
36
36
|
decorators_1.Firestore.Timestamp(),
|
|
37
|
-
(0,
|
|
37
|
+
(0, class_validators_1.IsDayjs)(),
|
|
38
38
|
tslib_1.__metadata("design:type", dayjs_1.default.Dayjs)
|
|
39
39
|
], TwitterToken.prototype, "expires_at", void 0);
|
|
40
40
|
//# sourceMappingURL=token.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token.js","sourceRoot":"","sources":["../../../../../../../../packages/@nx-ddd/x/src/lib/domain/models/token.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"token.js","sourceRoot":"","sources":["../../../../../../../../packages/@nx-ddd/x/src/lib/domain/models/token.ts"],"names":[],"mappings":";;;;AAAA,yEAA6D;AAC7D,6DAAyD;AACzD,qDAAyD;AACzD,0DAA0B;AAE1B,MAAa,YAAY;IAOvB,MAAM,CAAC,QAAQ,CAAC,KAA6B;QAC3C,OAAO,IAAA,8BAAY,EAAC,MAAM,CAAC,MAAM,CAAC,IAAI,YAAY,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC;IAChE,CAAC;CACF;AAVD,oCAUC;AATiC;IAA/B,sBAAS,CAAC,MAAM,EAAE;IAAE,IAAA,0BAAQ,GAAE;;gDAAoB;AACnB;IAA/B,sBAAS,CAAC,MAAM,EAAE;IAAE,IAAA,0BAAQ,GAAE;;kDAAsB;AACrB;IAA/B,sBAAS,CAAC,MAAM,EAAE;IAAE,IAAA,0BAAQ,GAAE;;2CAAe;AACd;IAA/B,sBAAS,CAAC,MAAM,EAAE;IAAE,IAAA,0BAAQ,GAAE;;mDAAuB;AACpB;IAAjC,sBAAS,CAAC,SAAS,EAAE;IAAE,IAAA,0BAAO,GAAE;sCAAa,eAAK,CAAC,KAAK;gDAAC"}
|