@cv-tec/validations 0.0.8 → 0.0.10
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/custom-class-validators/cross-validation.d.ts +2 -0
- package/dist/custom-class-validators/cross-validation.js +23 -0
- package/dist/custom-class-validators/cross-validation.js.map +1 -0
- package/dist/custom-class-validators/is-valid-email-domain/black-list.json +184906 -0
- package/dist/custom-class-validators/is-valid-email-domain/disposable-mail-validation.d.ts +12 -0
- package/dist/custom-class-validators/is-valid-email-domain/disposable-mail-validation.js +66 -0
- package/dist/custom-class-validators/is-valid-email-domain/disposable-mail-validation.js.map +1 -0
- package/dist/custom-class-validators/is-valid-email-domain/index.d.ts +6 -0
- package/dist/custom-class-validators/{is-validate-email-domain.js → is-valid-email-domain/index.js} +18 -15
- package/dist/custom-class-validators/is-valid-email-domain/index.js.map +1 -0
- package/dist/custom-class-validators/validate-single-property-sync.d.ts +1 -0
- package/dist/custom-class-validators/validate-single-property-sync.js +12 -0
- package/dist/custom-class-validators/validate-single-property-sync.js.map +1 -0
- package/dist/dto/auth.d.ts +17 -0
- package/dist/dto/auth.js +71 -0
- package/dist/dto/auth.js.map +1 -0
- package/dist/entities/cv-info/coordinates.d.ts +15 -0
- package/dist/entities/cv-info/coordinates.js +70 -0
- package/dist/entities/cv-info/coordinates.js.map +1 -0
- package/dist/entities/cv-info/cv-info.d.ts +45 -0
- package/dist/entities/cv-info/cv-info.js +128 -0
- package/dist/entities/cv-info/cv-info.js.map +1 -0
- package/dist/entities/cv-info/cv-info.mocks.d.ts +24 -0
- package/dist/entities/cv-info/cv-info.mocks.js +171 -0
- package/dist/entities/cv-info/cv-info.mocks.js.map +1 -0
- package/dist/entities/cv-info/experience.d.ts +17 -0
- package/dist/entities/cv-info/experience.js +94 -0
- package/dist/entities/cv-info/experience.js.map +1 -0
- package/dist/entities/cv-info/formation.d.ts +13 -0
- package/dist/entities/cv-info/formation.js +60 -0
- package/dist/entities/cv-info/formation.js.map +1 -0
- package/dist/entities/cv-info/hobby.d.ts +8 -0
- package/dist/entities/cv-info/hobby.js +36 -0
- package/dist/entities/cv-info/hobby.js.map +1 -0
- package/dist/entities/cv-info/index.d.ts +1 -0
- package/dist/entities/cv-info/index.js +6 -0
- package/dist/entities/cv-info/index.js.map +1 -0
- package/dist/entities/cv-info/language.d.ts +6 -0
- package/dist/entities/cv-info/language.js +31 -0
- package/dist/entities/cv-info/language.js.map +1 -0
- package/dist/entities/cv-info/mission.d.ts +13 -0
- package/dist/entities/cv-info/mission.js +76 -0
- package/dist/entities/cv-info/mission.js.map +1 -0
- package/dist/entities/cv-info/profile.d.ts +11 -0
- package/dist/entities/cv-info/profile.js +51 -0
- package/dist/entities/cv-info/profile.js.map +1 -0
- package/dist/entities/cv-info/reference.d.ts +11 -0
- package/dist/entities/cv-info/reference.js +51 -0
- package/dist/entities/cv-info/reference.js.map +1 -0
- package/dist/entities/cv-info/skills.d.ts +46 -0
- package/dist/entities/cv-info/skills.js +102 -0
- package/dist/entities/cv-info/skills.js.map +1 -0
- package/dist/entities/cv-tec-user.d.ts +3 -8
- package/dist/entities/cv-tec-user.js +7 -8
- package/dist/entities/cv-tec-user.js.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/dist/root-class-validation.d.ts +19 -0
- package/dist/root-class-validation.js +51 -0
- package/dist/root-class-validation.js.map +1 -0
- package/dist/utils/types.d.ts +1 -0
- package/dist/utils/types.js +3 -0
- package/dist/utils/types.js.map +1 -0
- package/dist/validation-messages.d.ts +0 -0
- package/dist/validation-messages.js +2 -0
- package/dist/validation-messages.js.map +1 -0
- package/package.json +7 -3
- package/dist/custom-class-validators/is-validate-email-domain.d.ts +0 -5
- package/dist/custom-class-validators/is-validate-email-domain.js.map +0 -1
- package/dist/entities/entity.d.ts +0 -4
- package/dist/entities/entity.js +0 -14
- package/dist/entities/entity.js.map +0 -1
@@ -0,0 +1,171 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.cvInfo = exports.skills = exports.category = exports.skill = exports.hobby = exports.refrence = exports.language = exports.experience = exports.mission = exports.formation = exports.profile = exports.coordinates = exports.address = exports.intervalDate = void 0;
|
4
|
+
exports.intervalDate = {
|
5
|
+
start: new Date(),
|
6
|
+
end: new Date(),
|
7
|
+
};
|
8
|
+
exports.address = {
|
9
|
+
city: 'Paris',
|
10
|
+
country: 'France',
|
11
|
+
province: 'Ile de France',
|
12
|
+
street: '1 rue de Rivoli',
|
13
|
+
zipCode: '75000',
|
14
|
+
};
|
15
|
+
exports.coordinates = {
|
16
|
+
address: Object.assign({}, exports.address),
|
17
|
+
email: 'test@gmail.com',
|
18
|
+
phone: '+33769000000',
|
19
|
+
linkedin: 'https://www.linkedin.com',
|
20
|
+
github: 'https://www.github.com',
|
21
|
+
additional_1: 'sdqcqsc',
|
22
|
+
additional_2: 'qqscqsqs',
|
23
|
+
additional_3: 'sdfsdcsd',
|
24
|
+
additional_4: 'qsdqsd',
|
25
|
+
};
|
26
|
+
exports.profile = {
|
27
|
+
coordinates: Object.assign({}, exports.coordinates),
|
28
|
+
about: "bonjour le monde, je m'appelle baracus et je suis développeur",
|
29
|
+
firstname: 'Baracus',
|
30
|
+
lastname: 'Barghod',
|
31
|
+
profileName: 'Dev',
|
32
|
+
};
|
33
|
+
exports.formation = {
|
34
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb68',
|
35
|
+
domain: 'Informatique',
|
36
|
+
intervalDate: {
|
37
|
+
start: new Date(),
|
38
|
+
},
|
39
|
+
establishment: 'Université de Lyon',
|
40
|
+
certification: 'Master en Génie Logiciel',
|
41
|
+
location: 'Lyon',
|
42
|
+
description: 'Acquisition de compétences avancées en développement logiciel et architecture des systèmes.',
|
43
|
+
};
|
44
|
+
exports.mission = {
|
45
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d',
|
46
|
+
client: 'FinancePro',
|
47
|
+
context: 'Plateforme de gestion de paiements en ligne.',
|
48
|
+
location: 'Lyon',
|
49
|
+
position: 'Développeuse Backend',
|
50
|
+
project: 'Gestion de transactions bancaires',
|
51
|
+
tasks: ['Développement d’un moteur de paiement', 'Sécurisation des données bancaires'],
|
52
|
+
skillsUsed: ['Node.js', 'PostgreSQL', 'CI/CD'],
|
53
|
+
};
|
54
|
+
exports.experience = {
|
55
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d',
|
56
|
+
company: 'TechCorp',
|
57
|
+
location: 'Paris',
|
58
|
+
intervalDate: {
|
59
|
+
start: new Date(),
|
60
|
+
},
|
61
|
+
context: "Développement d'applications web pour des clients internationaux.",
|
62
|
+
position: 'Développeuse Full Stack',
|
63
|
+
projectName: 'Refonte du site e-commerce',
|
64
|
+
skillsUsed: ['JavaScript', 'React.js', 'Node.js'],
|
65
|
+
tasks: [
|
66
|
+
'Développement frontend et backend',
|
67
|
+
'Optimisation des performances',
|
68
|
+
'Mise en place de tests unitaires',
|
69
|
+
],
|
70
|
+
missions: [
|
71
|
+
Object.assign({}, exports.mission),
|
72
|
+
],
|
73
|
+
};
|
74
|
+
exports.language = {
|
75
|
+
$id: 'fr',
|
76
|
+
level: 1,
|
77
|
+
};
|
78
|
+
exports.refrence = {
|
79
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb77',
|
80
|
+
name: 'Paul Durand',
|
81
|
+
position: 'CTO chez TechCorp',
|
82
|
+
phone: '+33612345678',
|
83
|
+
email: 'paul.durand@techcorp.com',
|
84
|
+
linkedIn: 'https://linkedin.com/test',
|
85
|
+
};
|
86
|
+
exports.hobby = {
|
87
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb77',
|
88
|
+
name: 'Photographie',
|
89
|
+
desciption: "j'aime la photographie en haute montagne et aussi les volcan",
|
90
|
+
};
|
91
|
+
exports.skill = {
|
92
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d',
|
93
|
+
skillName: 'JavaScript',
|
94
|
+
level: 90,
|
95
|
+
$refCategoryId: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb62',
|
96
|
+
};
|
97
|
+
exports.category = {
|
98
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d',
|
99
|
+
categoryName: 'test',
|
100
|
+
};
|
101
|
+
exports.skills = {
|
102
|
+
$categories: [
|
103
|
+
{ $id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb77', categoryName: 'Développement Web' },
|
104
|
+
{ $id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb78', categoryName: 'Bases de données' },
|
105
|
+
{ $id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb79', categoryName: 'Outils DevOps' },
|
106
|
+
],
|
107
|
+
$list: [
|
108
|
+
{
|
109
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb80',
|
110
|
+
skillName: 'JavaScript',
|
111
|
+
level: 90,
|
112
|
+
$refCategoryId: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb77',
|
113
|
+
},
|
114
|
+
{
|
115
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb81',
|
116
|
+
skillName: 'React.js',
|
117
|
+
level: 85,
|
118
|
+
$refCategoryId: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb77',
|
119
|
+
},
|
120
|
+
{
|
121
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb82',
|
122
|
+
skillName: 'Node.js',
|
123
|
+
level: 80,
|
124
|
+
$refCategoryId: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb77',
|
125
|
+
},
|
126
|
+
{
|
127
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb83',
|
128
|
+
skillName: 'PostgreSQL',
|
129
|
+
level: 75,
|
130
|
+
$refCategoryId: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb78',
|
131
|
+
},
|
132
|
+
{
|
133
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb84',
|
134
|
+
skillName: 'MongoDB',
|
135
|
+
level: 70,
|
136
|
+
$refCategoryId: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb78',
|
137
|
+
},
|
138
|
+
{
|
139
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb85',
|
140
|
+
skillName: 'Docker',
|
141
|
+
level: 65,
|
142
|
+
$refCategoryId: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb79',
|
143
|
+
},
|
144
|
+
{
|
145
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb86',
|
146
|
+
skillName: 'CI/CD',
|
147
|
+
level: 60,
|
148
|
+
$refCategoryId: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb79',
|
149
|
+
},
|
150
|
+
{ $id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb87', skillName: 'Git', level: 85 },
|
151
|
+
{
|
152
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb88',
|
153
|
+
skillName: 'Agile/Scrum',
|
154
|
+
level: 80,
|
155
|
+
},
|
156
|
+
{
|
157
|
+
$id: '9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb89',
|
158
|
+
skillName: 'Test Driven Development',
|
159
|
+
level: 75,
|
160
|
+
},
|
161
|
+
],
|
162
|
+
};
|
163
|
+
exports.cvInfo = {
|
164
|
+
formations: [Object.assign({}, exports.formation)],
|
165
|
+
profile: Object.assign({}, exports.profile),
|
166
|
+
hobbies: [Object.assign({}, exports.hobby)],
|
167
|
+
languages: [Object.assign({}, exports.language)],
|
168
|
+
references: [Object.assign({}, exports.refrence)],
|
169
|
+
skills: Object.assign({}, exports.skills),
|
170
|
+
};
|
171
|
+
//# sourceMappingURL=cv-info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AE,yBAAyB;YACpC,KAAK,EAAE,EAAE;SACV;KACF;CACF,CAAA;AAEY,QAAA,MAAM,GAAY;IAC7B,UAAU,EAAE,mBAAM,iBAAS,EAAG;IAC9B,OAAO,oBAAO,eAAO,CAAE;IACvB,OAAO,EAAE,mBAAM,aAAK,EAAG;IACvB,SAAS,EAAE,mBAAM,gBAAQ,EAAG;IAC5B,UAAU,EAAE,mBAAM,gBAAQ,EAAG;IAC7B,MAAM,oBAAO,cAAM,CAAE;CACtB,CAAA"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { IIntervalDate } from './cv-info';
|
2
|
+
import { RootClassValidation } from '../../root-class-validation';
|
3
|
+
import { IMission } from './mission';
|
4
|
+
export type IExperience = Omit<Experience, keyof RootClassValidation>;
|
5
|
+
export declare class Experience extends RootClassValidation {
|
6
|
+
constructor(params?: IExperience);
|
7
|
+
$id: string;
|
8
|
+
company: string;
|
9
|
+
location: string;
|
10
|
+
intervalDate: IIntervalDate;
|
11
|
+
context?: string;
|
12
|
+
position: string;
|
13
|
+
projectName?: string;
|
14
|
+
skillsUsed?: string[];
|
15
|
+
tasks?: string[];
|
16
|
+
missions?: IMission[];
|
17
|
+
}
|
@@ -0,0 +1,94 @@
|
|
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.Experience = void 0;
|
13
|
+
const class_validator_1 = require("class-validator");
|
14
|
+
const cv_info_1 = require("./cv-info");
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
16
|
+
const root_class_validation_1 = require("../../root-class-validation");
|
17
|
+
const mission_1 = require("./mission");
|
18
|
+
class Experience extends root_class_validation_1.RootClassValidation {
|
19
|
+
constructor(params) {
|
20
|
+
super(params);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
exports.Experience = Experience;
|
24
|
+
__decorate([
|
25
|
+
(0, class_validator_1.IsUUID)('4'),
|
26
|
+
__metadata("design:type", String)
|
27
|
+
], Experience.prototype, "$id", void 0);
|
28
|
+
__decorate([
|
29
|
+
(0, class_validator_1.MinLength)(5),
|
30
|
+
(0, class_validator_1.MaxLength)(25),
|
31
|
+
__metadata("design:type", String)
|
32
|
+
], Experience.prototype, "company", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, class_validator_1.MinLength)(5),
|
35
|
+
(0, class_validator_1.MaxLength)(50),
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
37
|
+
__metadata("design:type", String)
|
38
|
+
], Experience.prototype, "location", void 0);
|
39
|
+
__decorate([
|
40
|
+
(0, class_validator_1.IsObject)(),
|
41
|
+
(0, class_transformer_1.Type)(() => cv_info_1.IntervalDate),
|
42
|
+
(0, class_validator_1.ValidateNested)(),
|
43
|
+
__metadata("design:type", Object)
|
44
|
+
], Experience.prototype, "intervalDate", void 0);
|
45
|
+
__decorate([
|
46
|
+
(0, class_validator_1.MinLength)(20),
|
47
|
+
(0, class_validator_1.MaxLength)(200),
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
49
|
+
__metadata("design:type", String)
|
50
|
+
], Experience.prototype, "context", void 0);
|
51
|
+
__decorate([
|
52
|
+
(0, class_validator_1.MinLength)(5),
|
53
|
+
(0, class_validator_1.MaxLength)(50),
|
54
|
+
__metadata("design:type", String)
|
55
|
+
], Experience.prototype, "position", void 0);
|
56
|
+
__decorate([
|
57
|
+
(0, class_validator_1.MinLength)(1),
|
58
|
+
(0, class_validator_1.MaxLength)(50),
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
60
|
+
__metadata("design:type", String)
|
61
|
+
], Experience.prototype, "projectName", void 0);
|
62
|
+
__decorate([
|
63
|
+
(0, class_validator_1.IsArray)(),
|
64
|
+
(0, class_validator_1.ArrayMaxSize)(20),
|
65
|
+
(0, class_validator_1.MinLength)(1, {
|
66
|
+
each: true,
|
67
|
+
}),
|
68
|
+
(0, class_validator_1.MaxLength)(60, {
|
69
|
+
each: true,
|
70
|
+
}),
|
71
|
+
(0, class_validator_1.IsOptional)(),
|
72
|
+
__metadata("design:type", Array)
|
73
|
+
], Experience.prototype, "skillsUsed", void 0);
|
74
|
+
__decorate([
|
75
|
+
(0, class_validator_1.IsArray)(),
|
76
|
+
(0, class_validator_1.ArrayMaxSize)(10),
|
77
|
+
(0, class_validator_1.MinLength)(10, {
|
78
|
+
each: true,
|
79
|
+
}),
|
80
|
+
(0, class_validator_1.MaxLength)(60, {
|
81
|
+
each: true,
|
82
|
+
}),
|
83
|
+
(0, class_validator_1.IsOptional)(),
|
84
|
+
__metadata("design:type", Array)
|
85
|
+
], Experience.prototype, "tasks", void 0);
|
86
|
+
__decorate([
|
87
|
+
(0, class_validator_1.IsArray)(),
|
88
|
+
(0, class_validator_1.ArrayMaxSize)(10),
|
89
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
90
|
+
(0, class_transformer_1.Type)(() => mission_1.Mission),
|
91
|
+
(0, class_validator_1.IsOptional)(),
|
92
|
+
__metadata("design:type", Array)
|
93
|
+
], Experience.prototype, "missions", void 0);
|
94
|
+
//# sourceMappingURL=experience.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"experience.js","sourceRoot":"","sources":["../../../src/entities/cv-info/experience.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qD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I,EAAE,IAAI;KACX,CAAC;IACD,IAAA,2BAAS,EAAC,EAAE,EAAE;QACb,IAAI,EAAE,IAAI;KACX,CAAC;IACD,IAAA,4BAAU,GAAE;;yCACG;AAOhB;IALC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,EAAE,CAAC;IAChB,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAO,CAAC;IACnB,IAAA,4BAAU,GAAE;;4CACQ"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { RootClassValidation } from '../../root-class-validation';
|
2
|
+
import { IIntervalDate } from './cv-info';
|
3
|
+
export type IFormation = Omit<Formation, keyof RootClassValidation>;
|
4
|
+
export declare class Formation extends RootClassValidation {
|
5
|
+
constructor(param: IFormation);
|
6
|
+
$id: string;
|
7
|
+
intervalDate: IIntervalDate;
|
8
|
+
establishment: string;
|
9
|
+
domain: string;
|
10
|
+
certification: string;
|
11
|
+
location: string;
|
12
|
+
description?: string;
|
13
|
+
}
|
@@ -0,0 +1,60 @@
|
|
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.Formation = void 0;
|
13
|
+
const root_class_validation_1 = require("../../root-class-validation");
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
15
|
+
const class_validator_1 = require("class-validator");
|
16
|
+
const cv_info_1 = require("./cv-info");
|
17
|
+
class Formation extends root_class_validation_1.RootClassValidation {
|
18
|
+
constructor(param) {
|
19
|
+
super(param);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
exports.Formation = Formation;
|
23
|
+
__decorate([
|
24
|
+
(0, class_validator_1.IsUUID)('4'),
|
25
|
+
__metadata("design:type", String)
|
26
|
+
], Formation.prototype, "$id", void 0);
|
27
|
+
__decorate([
|
28
|
+
(0, class_validator_1.IsObject)(),
|
29
|
+
(0, class_transformer_1.Type)(() => cv_info_1.IntervalDate),
|
30
|
+
(0, class_validator_1.ValidateNested)(),
|
31
|
+
__metadata("design:type", Object)
|
32
|
+
], Formation.prototype, "intervalDate", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, class_validator_1.MinLength)(2),
|
35
|
+
(0, class_validator_1.MaxLength)(25),
|
36
|
+
__metadata("design:type", String)
|
37
|
+
], Formation.prototype, "establishment", void 0);
|
38
|
+
__decorate([
|
39
|
+
(0, class_validator_1.MinLength)(5),
|
40
|
+
(0, class_validator_1.MaxLength)(50),
|
41
|
+
__metadata("design:type", String)
|
42
|
+
], Formation.prototype, "domain", void 0);
|
43
|
+
__decorate([
|
44
|
+
(0, class_validator_1.MinLength)(5),
|
45
|
+
(0, class_validator_1.MaxLength)(50),
|
46
|
+
__metadata("design:type", String)
|
47
|
+
], Formation.prototype, "certification", void 0);
|
48
|
+
__decorate([
|
49
|
+
(0, class_validator_1.MinLength)(2),
|
50
|
+
(0, class_validator_1.MaxLength)(50),
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
52
|
+
__metadata("design:type", String)
|
53
|
+
], Formation.prototype, "location", void 0);
|
54
|
+
__decorate([
|
55
|
+
(0, class_validator_1.MinLength)(10),
|
56
|
+
(0, class_validator_1.MaxLength)(200),
|
57
|
+
(0, class_validator_1.IsOptional)(),
|
58
|
+
__metadata("design:type", String)
|
59
|
+
], Formation.prototype, "description", void 0);
|
60
|
+
//# sourceMappingURL=formation.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"formation.js","sourceRoot":"","sources":["../../../src/entities/cv-info/formation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAA6D;AAC7D,yDAAwC;AACxC,qDAOwB;AACxB,uCAAuD;AAIvD,MAAa,SAAU,SAAQ,2CAAmB;IAChD,YAAY,KAAiB;QAC3B,KAAK,CAAC,KAAK,CAAC,CAAA;IACd,CAAC;CA+BF;AAlCD,8BAkCC;AA5BC;IADC,IAAA,wBAAM,EAAC,GAAG,CAAC;;sCACA;AAKZ;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAY,CAAC;IACxB,IAAA,gCAAc,GAAE;;+CACW;AAI5B;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;;gDACQ;AAItB;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;;yCACC;AAIf;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;;gDACQ;AAKtB;IAHC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;IACb,IAAA,4BAAU,GAAE;;2CACI;AAKjB;IAHC,IAAA,2BAAS,EAAC,EAAE,CAAC;IACb,IAAA,2BAAS,EAAC,GAAG,CAAC;IACd,IAAA,4BAAU,GAAE;;8CACO"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { RootClassValidation } from '../../root-class-validation';
|
2
|
+
export type IHobby = Omit<Hobby, keyof RootClassValidation>;
|
3
|
+
export declare class Hobby extends RootClassValidation {
|
4
|
+
constructor(params: IHobby);
|
5
|
+
$id: string;
|
6
|
+
name: string;
|
7
|
+
desciption?: string;
|
8
|
+
}
|
@@ -0,0 +1,36 @@
|
|
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.Hobby = void 0;
|
13
|
+
const root_class_validation_1 = require("../../root-class-validation");
|
14
|
+
const class_validator_1 = require("class-validator");
|
15
|
+
class Hobby extends root_class_validation_1.RootClassValidation {
|
16
|
+
constructor(params) {
|
17
|
+
super(params);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
exports.Hobby = Hobby;
|
21
|
+
__decorate([
|
22
|
+
(0, class_validator_1.IsUUID)('4'),
|
23
|
+
__metadata("design:type", String)
|
24
|
+
], Hobby.prototype, "$id", void 0);
|
25
|
+
__decorate([
|
26
|
+
(0, class_validator_1.MinLength)(1),
|
27
|
+
(0, class_validator_1.MaxLength)(25),
|
28
|
+
__metadata("design:type", String)
|
29
|
+
], Hobby.prototype, "name", void 0);
|
30
|
+
__decorate([
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
32
|
+
(0, class_validator_1.IsNotEmpty)(),
|
33
|
+
(0, class_validator_1.MaxLength)(200),
|
34
|
+
__metadata("design:type", String)
|
35
|
+
], Hobby.prototype, "desciption", void 0);
|
36
|
+
//# sourceMappingURL=hobby.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hobby.js","sourceRoot":"","sources":["../../../src/entities/cv-info/hobby.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAA6D;AAC7D,qDAAsF;AAItF,MAAa,KAAM,SAAQ,2CAAmB;IAC5C,YAAY,MAAc;QACxB,KAAK,CAAC,MAAM,CAAC,CAAA;IACf,CAAC;CAYF;AAfD,sBAeC;AAVC;IADC,IAAA,wBAAM,EAAC,GAAG,CAAC;;kCACA;AAIZ;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;;mCACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;yCACI"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { CvInfo } from './cv-info';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CvInfo = void 0;
|
4
|
+
var cv_info_1 = require("./cv-info");
|
5
|
+
Object.defineProperty(exports, "CvInfo", { enumerable: true, get: function () { return cv_info_1.CvInfo; } });
|
6
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/cv-info/index.ts"],"names":[],"mappings":";;;AAAA,qCAAkC;AAAzB,iGAAA,MAAM,OAAA"}
|
@@ -0,0 +1,31 @@
|
|
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.Language = void 0;
|
13
|
+
const root_class_validation_1 = require("../../root-class-validation");
|
14
|
+
const class_validator_1 = require("class-validator");
|
15
|
+
class Language extends root_class_validation_1.RootClassValidation {
|
16
|
+
}
|
17
|
+
exports.Language = Language;
|
18
|
+
__decorate([
|
19
|
+
(0, class_validator_1.IsLocale)(),
|
20
|
+
(0, class_validator_1.MinLength)(2),
|
21
|
+
(0, class_validator_1.MaxLength)(3),
|
22
|
+
__metadata("design:type", String)
|
23
|
+
], Language.prototype, "$id", void 0);
|
24
|
+
__decorate([
|
25
|
+
(0, class_validator_1.Min)(1),
|
26
|
+
(0, class_validator_1.Max)(100),
|
27
|
+
(0, class_validator_1.IsNumber)(),
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
29
|
+
__metadata("design:type", Number)
|
30
|
+
], Language.prototype, "level", void 0);
|
31
|
+
//# sourceMappingURL=language.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"language.js","sourceRoot":"","sources":["../../../src/entities/cv-info/language.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAA6D;AAC7D,qDAQwB;AAIxB,MAAa,QAAS,SAAQ,2CAAmB;CAWhD;AAXD,4BAWC;AAPC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,CAAC,CAAC;;qCACD;AAMZ;IAJC,IAAA,qBAAG,EAAC,CAAC,CAAC;IACN,IAAA,qBAAG,EAAC,GAAG,CAAC;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uCACC"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { RootClassValidation } from '../../root-class-validation';
|
2
|
+
export type IMission = Omit<Mission, keyof RootClassValidation>;
|
3
|
+
export declare class Mission extends RootClassValidation {
|
4
|
+
constructor(param: IMission);
|
5
|
+
$id: string;
|
6
|
+
client: string;
|
7
|
+
context?: string;
|
8
|
+
location?: string;
|
9
|
+
position: string;
|
10
|
+
project: string;
|
11
|
+
tasks?: string[];
|
12
|
+
skillsUsed?: string[];
|
13
|
+
}
|
@@ -0,0 +1,76 @@
|
|
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.Mission = void 0;
|
13
|
+
const root_class_validation_1 = require("../../root-class-validation");
|
14
|
+
const class_validator_1 = require("class-validator");
|
15
|
+
class Mission extends root_class_validation_1.RootClassValidation {
|
16
|
+
constructor(param) {
|
17
|
+
super(param);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
exports.Mission = Mission;
|
21
|
+
__decorate([
|
22
|
+
(0, class_validator_1.IsUUID)('4'),
|
23
|
+
__metadata("design:type", String)
|
24
|
+
], Mission.prototype, "$id", void 0);
|
25
|
+
__decorate([
|
26
|
+
(0, class_validator_1.MinLength)(1),
|
27
|
+
(0, class_validator_1.MaxLength)(25),
|
28
|
+
__metadata("design:type", String)
|
29
|
+
], Mission.prototype, "client", void 0);
|
30
|
+
__decorate([
|
31
|
+
(0, class_validator_1.MinLength)(5),
|
32
|
+
(0, class_validator_1.MaxLength)(200),
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
34
|
+
__metadata("design:type", String)
|
35
|
+
], Mission.prototype, "context", void 0);
|
36
|
+
__decorate([
|
37
|
+
(0, class_validator_1.MinLength)(2),
|
38
|
+
(0, class_validator_1.MaxLength)(50),
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
40
|
+
__metadata("design:type", String)
|
41
|
+
], Mission.prototype, "location", void 0);
|
42
|
+
__decorate([
|
43
|
+
(0, class_validator_1.MinLength)(2),
|
44
|
+
(0, class_validator_1.MaxLength)(50),
|
45
|
+
__metadata("design:type", String)
|
46
|
+
], Mission.prototype, "position", void 0);
|
47
|
+
__decorate([
|
48
|
+
(0, class_validator_1.MinLength)(5),
|
49
|
+
(0, class_validator_1.MaxLength)(50),
|
50
|
+
__metadata("design:type", String)
|
51
|
+
], Mission.prototype, "project", void 0);
|
52
|
+
__decorate([
|
53
|
+
(0, class_validator_1.IsArray)(),
|
54
|
+
(0, class_validator_1.ArrayMaxSize)(20),
|
55
|
+
(0, class_validator_1.MinLength)(1, {
|
56
|
+
each: true,
|
57
|
+
}),
|
58
|
+
(0, class_validator_1.MaxLength)(140, {
|
59
|
+
each: true,
|
60
|
+
}),
|
61
|
+
(0, class_validator_1.IsOptional)(),
|
62
|
+
__metadata("design:type", Array)
|
63
|
+
], Mission.prototype, "tasks", void 0);
|
64
|
+
__decorate([
|
65
|
+
(0, class_validator_1.IsArray)(),
|
66
|
+
(0, class_validator_1.ArrayMaxSize)(20),
|
67
|
+
(0, class_validator_1.MinLength)(1, {
|
68
|
+
each: true,
|
69
|
+
}),
|
70
|
+
(0, class_validator_1.MaxLength)(60, {
|
71
|
+
each: true,
|
72
|
+
}),
|
73
|
+
(0, class_validator_1.IsOptional)(),
|
74
|
+
__metadata("design:type", Array)
|
75
|
+
], Mission.prototype, "skillsUsed", void 0);
|
76
|
+
//# sourceMappingURL=mission.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mission.js","sourceRoot":"","sources":["../../../src/entities/cv-info/mission.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mEAA6D;AAC7D,qDAOwB;AAIxB,MAAa,OAAQ,SAAQ,2CAAmB;IAC9C,YAAY,KAAe;QACzB,KAAK,CAAC,KAAK,CAAC,CAAA;IACd,CAAC;CAgDF;AAnDD,0BAmDC;AA7CC;IADC,IAAA,wBAAM,EAAC,GAAG,CAAC;;oCACA;AAIZ;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;;uCACC;AAKf;IAHC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;IACd,IAAA,4BAAU,GAAE;;wCACG;AAKhB;IAHC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;IACb,IAAA,4BAAU,GAAE;;yCACI;AAIjB;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;;yCACG;AAIjB;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;;wCACE;AAWhB;IATC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,EAAE,CAAC;IAChB,IAAA,2BAAS,EAAC,CAAC,EAAE;QACZ,IAAI,EAAE,IAAI;KACX,CAAC;IACD,IAAA,2BAAS,EAAC,GAAG,EAAE;QACd,IAAI,EAAE,IAAI;KACX,CAAC;IACD,IAAA,4BAAU,GAAE;;sCACG;AAWhB;IATC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,EAAE,CAAC;IAChB,IAAA,2BAAS,EAAC,CAAC,EAAE;QACZ,IAAI,EAAE,IAAI;KACX,CAAC;IACD,IAAA,2BAAS,EAAC,EAAE,EAAE;QACb,IAAI,EAAE,IAAI;KACX,CAAC;IACD,IAAA,4BAAU,GAAE;;2CACQ"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { ICoordinates } from './coordinates';
|
2
|
+
import { RootClassValidation } from '../../root-class-validation';
|
3
|
+
export type IProfile = Omit<Profile, keyof RootClassValidation>;
|
4
|
+
export declare class Profile extends RootClassValidation {
|
5
|
+
constructor(params: IProfile);
|
6
|
+
firstname: string;
|
7
|
+
lastname: string;
|
8
|
+
profileName: string;
|
9
|
+
about?: string;
|
10
|
+
coordinates: ICoordinates;
|
11
|
+
}
|
@@ -0,0 +1,51 @@
|
|
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.Profile = void 0;
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
14
|
+
const class_validator_1 = require("class-validator");
|
15
|
+
const coordinates_1 = require("./coordinates");
|
16
|
+
const root_class_validation_1 = require("../../root-class-validation");
|
17
|
+
class Profile extends root_class_validation_1.RootClassValidation {
|
18
|
+
constructor(params) {
|
19
|
+
super(params);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
exports.Profile = Profile;
|
23
|
+
__decorate([
|
24
|
+
(0, class_validator_1.MinLength)(2),
|
25
|
+
(0, class_validator_1.MaxLength)(20),
|
26
|
+
__metadata("design:type", String)
|
27
|
+
], Profile.prototype, "firstname", void 0);
|
28
|
+
__decorate([
|
29
|
+
(0, class_validator_1.MinLength)(2),
|
30
|
+
(0, class_validator_1.MaxLength)(20),
|
31
|
+
__metadata("design:type", String)
|
32
|
+
], Profile.prototype, "lastname", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
35
|
+
(0, class_validator_1.MinLength)(2),
|
36
|
+
(0, class_validator_1.MaxLength)(35),
|
37
|
+
__metadata("design:type", String)
|
38
|
+
], Profile.prototype, "profileName", void 0);
|
39
|
+
__decorate([
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
41
|
+
(0, class_validator_1.MinLength)(20),
|
42
|
+
(0, class_validator_1.MaxLength)(200),
|
43
|
+
__metadata("design:type", String)
|
44
|
+
], Profile.prototype, "about", void 0);
|
45
|
+
__decorate([
|
46
|
+
(0, class_validator_1.IsObject)(),
|
47
|
+
(0, class_transformer_1.Type)(() => coordinates_1.Coordinates),
|
48
|
+
(0, class_validator_1.ValidateNested)(),
|
49
|
+
__metadata("design:type", Object)
|
50
|
+
], Profile.prototype, "coordinates", void 0);
|
51
|
+
//# sourceMappingURL=profile.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../src/entities/cv-info/profile.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAwC;AACxC,qDAMwB;AACxB,+CAAyD;AACzD,mEAA6D;AAI7D,MAAa,OAAQ,SAAQ,2CAAmB;IAC9C,YAAY,MAAgB;QAC1B,KAAK,CAAC,MAAM,CAAC,CAAA;IACf,CAAC;CAwBF;AA3BD,0BA2BC;AApBC;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;;0CACI;AAIlB;IAFC,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;;yCACG;AAKjB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,CAAC,CAAC;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;;4CACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,EAAE,CAAC;IACb,IAAA,2BAAS,EAAC,GAAG,CAAC;;sCACD;AAKd;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yBAAW,CAAC;IACvB,IAAA,gCAAc,GAAE;;4CACS"}
|