@lyxa.ai/core 1.4.149 → 1.4.150
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/libraries/mongo/models/app-appearance.model.d.ts +1 -1
- package/dist/libraries/mongo/models/app-appearance.model.js +3 -3
- package/dist/libraries/mongo/models/app-appearance.model.js.map +1 -1
- package/dist/types/README.md +1 -1
- package/dist/types/package.json +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';
|
|
|
3
3
|
import { Types } from 'mongoose';
|
|
4
4
|
export declare class WorldCupTeam {
|
|
5
5
|
_id: Types.ObjectId;
|
|
6
|
-
|
|
6
|
+
name?: string;
|
|
7
7
|
teamImageUrl?: string;
|
|
8
8
|
}
|
|
9
9
|
export declare class AppAppearance extends TimeStamps {
|
|
@@ -16,18 +16,18 @@ const defaultClasses_1 = require("@typegoose/typegoose/lib/defaultClasses");
|
|
|
16
16
|
const mongoose_1 = require("mongoose");
|
|
17
17
|
class WorldCupTeam {
|
|
18
18
|
_id;
|
|
19
|
-
|
|
19
|
+
name;
|
|
20
20
|
teamImageUrl;
|
|
21
21
|
}
|
|
22
22
|
exports.WorldCupTeam = WorldCupTeam;
|
|
23
23
|
__decorate([
|
|
24
|
-
(0, typegoose_1.prop)({ type: mongoose_1.Types.ObjectId
|
|
24
|
+
(0, typegoose_1.prop)({ type: mongoose_1.Types.ObjectId }),
|
|
25
25
|
__metadata("design:type", mongoose_1.Types.ObjectId)
|
|
26
26
|
], WorldCupTeam.prototype, "_id", void 0);
|
|
27
27
|
__decorate([
|
|
28
28
|
(0, typegoose_1.prop)({ type: String }),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
|
-
], WorldCupTeam.prototype, "
|
|
30
|
+
], WorldCupTeam.prototype, "name", void 0);
|
|
31
31
|
__decorate([
|
|
32
32
|
(0, typegoose_1.prop)({ type: String }),
|
|
33
33
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-appearance.model.js","sourceRoot":"/","sources":["libraries/mongo/models/app-appearance.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA0D;AAC1D,kDAA4D;AAC5D,4EAAqE;AACrE,uCAAiC;AAEjC,MAAa,YAAY;IAEjB,GAAG,CAAkB;IAGrB,IAAI,CAAU;IAGd,YAAY,CAAU;CAC7B;AATD,oCASC;AAPO;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,gBAAK,CAAC,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"app-appearance.model.js","sourceRoot":"/","sources":["libraries/mongo/models/app-appearance.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA0D;AAC1D,kDAA4D;AAC5D,4EAAqE;AACrE,uCAAiC;AAEjC,MAAa,YAAY;IAEjB,GAAG,CAAkB;IAGrB,IAAI,CAAU;IAGd,YAAY,CAAU;CAC7B;AATD,oCASC;AAPO;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,gBAAK,CAAC,QAAQ,EAAE,CAAC;8BAClB,gBAAK,CAAC,QAAQ;yCAAC;AAGrB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;0CACF;AAGd;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;kDACM;AAIvB,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,2BAAU;IAErC,IAAI,CAAU;IAGd,KAAK,CAAU;IAGf,cAAc,CAAqB;IAGnC,kBAAkB,CAAW;IAG7B,SAAS,CAAU;IAGnB,kBAAkB,CAAU;IAG5B,aAAa,CAAkB;CACtC,CAAA;AArBY,sCAAa;AAElB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;2CAClB;AAGd;IADN,IAAA,gBAAI,EAAC,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MAAM,EAAE,CAAC;;qDACG;AAGnB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;8DACJ","sourcesContent":["import { modelOptions, prop } from '@typegoose/typegoose';\nimport { AppAppearanceType } from '../../../utilities/enum';\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\nimport { Types } from 'mongoose';\n\nexport class WorldCupTeam {\n\t@prop({ type: Types.ObjectId })\n\tpublic _id!: Types.ObjectId;\n\n\t@prop({ type: String })\n\tpublic name?: string;\n\n\t@prop({ type: String })\n\tpublic teamImageUrl?: string;\n}\n\n@modelOptions({ schemaOptions: { collection: 'app-appearance' } })\nexport class AppAppearance extends TimeStamps {\n\t@prop({ required: true, type: String })\n\tpublic name!: string;\n\n\t@prop({ type: String })\n\tpublic theme?: string;\n\n\t@prop({ required: true, type: String, enum: AppAppearanceType })\n\tpublic appearanceType!: AppAppearanceType;\n\n\t@prop({ required: true, type: Boolean, default: false })\n\tpublic isVisibleToUserApp!: boolean;\n\n\t@prop({ type: String })\n\tpublic imageName?: string;\n\n\t@prop({ type: String })\n\tpublic appearanceImageUrl?: string;\n\n\t@prop({ type: () => [WorldCupTeam], default: [] })\n\tpublic worldCupTeams?: WorldCupTeam[];\n}\n\nexport class WorldCupAppAppearance extends AppAppearance {\n\t@prop({ type: () => [WorldCupTeamHeader], default: [] })\n\tpublic teamsHeader!: WorldCupTeamHeader[];\n}\n\nexport class WorldCupTeamHeader {\n\t@prop({ type: Types.ObjectId, default: () => new Types.ObjectId() })\n\tpublic _id!: Types.ObjectId;\n\n\t@prop({ type: String })\n\tpublic imageName?: string;\n\n\t@prop({ required: true, type: String })\n\tpublic appearanceImageUrl!: string;\n}"]}
|
package/dist/types/README.md
CHANGED
package/dist/types/package.json
CHANGED