https://project.mdnd-it.cc/work_packages/94
This commit is contained in:
2025-08-23 04:25:28 +02:00
parent 725516ad6c
commit 19cfa031d0
25823 changed files with 1095587 additions and 2801760 deletions
@@ -0,0 +1,27 @@
export declare enum ContactType {
BUG = 0,
PROBLEM = 1,
QUESTION = 2,
SALES = 3,
OTHER = 4
}
export declare enum ContactState {
ACTIVE = 0,
RESOLVED = 1,
SOFT_DELETE = 2
}
export declare class ContactAggregate {
id: string;
name: string;
email: string;
userid: string | null;
type: ContactType;
txt: string;
state: ContactState;
createDate: Date;
updateDate: Date;
adminResponse: string | null;
responseDate: Date | null;
respondedBy: string | null;
}
//# sourceMappingURL=ContactAggregate.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"ContactAggregate.d.ts","sourceRoot":"","sources":["../../../src/Domain/Contact/ContactAggregate.ts"],"names":[],"mappings":"AAEA,oBAAY,WAAW;IACnB,GAAG,IAAI;IACP,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,KAAK,IAAI;IACT,KAAK,IAAI;CACZ;AAED,oBAAY,YAAY;IACpB,MAAM,IAAI;IACV,QAAQ,IAAI;IACZ,WAAW,IAAI;CAClB;AAED,qBACa,gBAAgB;IAEzB,EAAE,EAAG,MAAM,CAAC;IAGZ,IAAI,EAAG,MAAM,CAAC;IAGd,KAAK,EAAG,MAAM,CAAC;IAGf,MAAM,EAAG,MAAM,GAAG,IAAI,CAAC;IAGvB,IAAI,EAAG,WAAW,CAAC;IAGnB,GAAG,EAAG,MAAM,CAAC;IAGb,KAAK,EAAG,YAAY,CAAC;IAGrB,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;IAIlB,aAAa,EAAG,MAAM,GAAG,IAAI,CAAC;IAG9B,YAAY,EAAG,IAAI,GAAG,IAAI,CAAC;IAG3B,WAAW,EAAG,MAAM,GAAG,IAAI,CAAC;CAC/B"}
@@ -0,0 +1,82 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
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;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContactAggregate = exports.ContactState = exports.ContactType = void 0;
const typeorm_1 = require("typeorm");
var ContactType;
(function (ContactType) {
ContactType[ContactType["BUG"] = 0] = "BUG";
ContactType[ContactType["PROBLEM"] = 1] = "PROBLEM";
ContactType[ContactType["QUESTION"] = 2] = "QUESTION";
ContactType[ContactType["SALES"] = 3] = "SALES";
ContactType[ContactType["OTHER"] = 4] = "OTHER";
})(ContactType || (exports.ContactType = ContactType = {}));
var ContactState;
(function (ContactState) {
ContactState[ContactState["ACTIVE"] = 0] = "ACTIVE";
ContactState[ContactState["RESOLVED"] = 1] = "RESOLVED";
ContactState[ContactState["SOFT_DELETE"] = 2] = "SOFT_DELETE";
})(ContactState || (exports.ContactState = ContactState = {}));
let ContactAggregate = class ContactAggregate {
};
exports.ContactAggregate = ContactAggregate;
__decorate([
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
__metadata("design:type", String)
], ContactAggregate.prototype, "id", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'varchar', length: 255 }),
__metadata("design:type", String)
], ContactAggregate.prototype, "name", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'varchar', length: 255 }),
__metadata("design:type", String)
], ContactAggregate.prototype, "email", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'uuid', nullable: true }),
__metadata("design:type", Object)
], ContactAggregate.prototype, "userid", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'int' }),
__metadata("design:type", Number)
], ContactAggregate.prototype, "type", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'text' }),
__metadata("design:type", String)
], ContactAggregate.prototype, "txt", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'int', default: ContactState.ACTIVE }),
__metadata("design:type", Number)
], ContactAggregate.prototype, "state", void 0);
__decorate([
(0, typeorm_1.CreateDateColumn)(),
__metadata("design:type", Date)
], ContactAggregate.prototype, "createDate", void 0);
__decorate([
(0, typeorm_1.UpdateDateColumn)(),
__metadata("design:type", Date)
], ContactAggregate.prototype, "updateDate", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
__metadata("design:type", Object)
], ContactAggregate.prototype, "adminResponse", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'timestamp', nullable: true }),
__metadata("design:type", Object)
], ContactAggregate.prototype, "responseDate", void 0);
__decorate([
(0, typeorm_1.Column)({ type: 'uuid', nullable: true }),
__metadata("design:type", Object)
], ContactAggregate.prototype, "respondedBy", void 0);
exports.ContactAggregate = ContactAggregate = __decorate([
(0, typeorm_1.Entity)('Contacts')
], ContactAggregate);
//# sourceMappingURL=ContactAggregate.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ContactAggregate.js","sourceRoot":"","sources":["../../../src/Domain/Contact/ContactAggregate.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAqG;AAErG,IAAY,WAMX;AAND,WAAY,WAAW;IACnB,2CAAO,CAAA;IACP,mDAAW,CAAA;IACX,qDAAY,CAAA;IACZ,+CAAS,CAAA;IACT,+CAAS,CAAA;AACb,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,mDAAU,CAAA;IACV,uDAAY,CAAA;IACZ,6DAAe,CAAA;AACnB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB;AAGM,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAqC5B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