@intelact/gnosa 0.1.0 → 0.1.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/lib/book/book.dto.d.ts +199 -0
- package/lib/book/book.dto.js +463 -0
- package/lib/book/book.dto.js.map +1 -0
- package/lib/book/book.model.d.ts +90 -0
- package/lib/book/book.model.js +262 -0
- package/lib/book/book.model.js.map +1 -0
- package/lib/discover/discover.dto.d.ts +38 -0
- package/lib/discover/discover.dto.js +99 -0
- package/lib/discover/discover.dto.js.map +1 -0
- package/lib/discover/discover.model.d.ts +30 -0
- package/lib/discover/discover.model.js +81 -0
- package/lib/discover/discover.model.js.map +1 -0
- package/lib/event/event.dto.d.ts +128 -0
- package/lib/event/event.dto.js +328 -0
- package/lib/event/event.dto.js.map +1 -0
- package/lib/event/event.enum.d.ts +16 -0
- package/lib/event/event.enum.js +22 -0
- package/lib/event/event.enum.js.map +1 -0
- package/lib/event/event.model.d.ts +78 -0
- package/lib/event/event.model.js +216 -0
- package/lib/event/event.model.js.map +1 -0
- package/lib/foundation/history.dto.d.ts +27 -0
- package/lib/foundation/history.dto.js +102 -0
- package/lib/foundation/history.dto.js.map +1 -0
- package/lib/foundation/history.model.d.ts +30 -0
- package/lib/foundation/history.model.js +82 -0
- package/lib/foundation/history.model.js.map +1 -0
- package/lib/foundation/partner.dto.d.ts +22 -0
- package/lib/foundation/partner.dto.js +92 -0
- package/lib/foundation/partner.dto.js.map +1 -0
- package/lib/foundation/partner.model.d.ts +30 -0
- package/lib/foundation/partner.model.js +82 -0
- package/lib/foundation/partner.model.js.map +1 -0
- package/lib/foundation/person.dto.d.ts +31 -0
- package/lib/foundation/person.dto.js +106 -0
- package/lib/foundation/person.dto.js.map +1 -0
- package/lib/foundation/person.model.d.ts +28 -0
- package/lib/foundation/person.model.js +80 -0
- package/lib/foundation/person.model.js.map +1 -0
- package/lib/general/language.dto.d.ts +7 -0
- package/lib/general/language.dto.js +26 -0
- package/lib/general/language.dto.js.map +1 -0
- package/lib/general/sort.dto.d.ts +7 -0
- package/lib/general/sort.dto.js +30 -0
- package/lib/general/sort.dto.js.map +1 -0
- package/lib/general/translations.d.ts +6 -0
- package/lib/general/translations.js +3 -0
- package/lib/general/translations.js.map +1 -0
- package/lib/index.d.ts +20 -0
- package/lib/index.js +20 -0
- package/lib/index.js.map +1 -1
- package/lib/magazine/magazine.dto.d.ts +132 -0
- package/lib/magazine/magazine.dto.js +314 -0
- package/lib/magazine/magazine.dto.js.map +1 -0
- package/lib/magazine/magazine.model.d.ts +88 -0
- package/lib/magazine/magazine.model.js +232 -0
- package/lib/magazine/magazine.model.js.map +1 -0
- package/lib/order/order.dto.d.ts +96 -0
- package/lib/order/order.dto.js +299 -0
- package/lib/order/order.dto.js.map +1 -0
- package/lib/order/order.enum.d.ts +10 -2
- package/lib/order/order.enum.js +12 -3
- package/lib/order/order.enum.js.map +1 -1
- package/lib/order/order.model.d.ts +168 -0
- package/lib/order/order.model.js +427 -0
- package/lib/order/order.model.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/transformers.helper.d.ts +13 -0
- package/lib/utils/transformers.helper.js +33 -0
- package/lib/utils/transformers.helper.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,82 @@
|
|
|
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.Partner = exports.PartnerTranslation = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
class PartnerTranslation {
|
|
15
|
+
description;
|
|
16
|
+
constructor(props) {
|
|
17
|
+
Object.assign(this, props);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.PartnerTranslation = PartnerTranslation;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], PartnerTranslation.prototype, "description", void 0);
|
|
25
|
+
/**
|
|
26
|
+
* A partner institution of the foundation.
|
|
27
|
+
*/
|
|
28
|
+
class Partner {
|
|
29
|
+
slug;
|
|
30
|
+
logoUrl;
|
|
31
|
+
name;
|
|
32
|
+
/**
|
|
33
|
+
* The partner's website.
|
|
34
|
+
*/
|
|
35
|
+
externalUrl;
|
|
36
|
+
/**
|
|
37
|
+
* Position in the partners list.
|
|
38
|
+
*/
|
|
39
|
+
sort;
|
|
40
|
+
/**
|
|
41
|
+
* The description in the app language (lists and the public page).
|
|
42
|
+
*/
|
|
43
|
+
description;
|
|
44
|
+
/**
|
|
45
|
+
* The description in every language (the editor).
|
|
46
|
+
*/
|
|
47
|
+
translations;
|
|
48
|
+
constructor(props) {
|
|
49
|
+
Object.assign(this, props);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.Partner = Partner;
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], Partner.prototype, "slug", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_transformer_1.Expose)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], Partner.prototype, "logoUrl", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_transformer_1.Expose)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], Partner.prototype, "name", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_transformer_1.Expose)(),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], Partner.prototype, "externalUrl", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_transformer_1.Expose)(),
|
|
71
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
72
|
+
__metadata("design:type", Number)
|
|
73
|
+
], Partner.prototype, "sort", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_transformer_1.Expose)(),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], Partner.prototype, "description", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_transformer_1.Expose)(),
|
|
80
|
+
__metadata("design:type", Object)
|
|
81
|
+
], Partner.prototype, "translations", void 0);
|
|
82
|
+
//# sourceMappingURL=partner.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"partner.model.js","sourceRoot":"","sources":["../../src/foundation/partner.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAIjD,MAAa,kBAAkB;IAE9B,WAAW,CAAS;IAEpB,YAAY,KAAmC;QAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAPD,gDAOC;AALA;IADC,IAAA,0BAAM,GAAE;;uDACW;AAOrB;;GAEG;AACH,MAAa,OAAO;IAEnB,IAAI,CAAS;IAGb,OAAO,CAAS;IAGhB,IAAI,CAAS;IAEb;;OAEG;IAEH,WAAW,CAAS;IAEpB;;OAEG;IAGH,IAAI,CAAS;IAEb;;OAEG;IAEH,WAAW,CAAU;IAErB;;OAEG;IAEH,YAAY,CAAoC;IAEhD,YAAY,KAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAtCD,0BAsCC;AApCA;IADC,IAAA,0BAAM,GAAE;;qCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;wCACO;AAGhB;IADC,IAAA,0BAAM,GAAE;;qCACI;AAMb;IADC,IAAA,0BAAM,GAAE;;4CACW;AAOpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qCACN;AAMb;IADC,IAAA,0BAAM,GAAE;;4CACY;AAMrB;IADC,IAAA,0BAAM,GAAE;;6CACuC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { PersonGroup } from './person-group.enum';
|
|
2
|
+
import { SortDto } from '../general/sort.dto';
|
|
3
|
+
export declare class PersonTranslationDto {
|
|
4
|
+
position: string;
|
|
5
|
+
constructor(props?: Partial<PersonTranslationDto>);
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* A person is never a draft, so the position is required in all three languages.
|
|
9
|
+
*/
|
|
10
|
+
export declare class PersonTranslationsDto {
|
|
11
|
+
sq: PersonTranslationDto;
|
|
12
|
+
en: PersonTranslationDto;
|
|
13
|
+
mk: PersonTranslationDto;
|
|
14
|
+
constructor(props?: Partial<PersonTranslationsDto>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The fields of a person, sent as a multipart form together with the `image` file.
|
|
18
|
+
*/
|
|
19
|
+
export declare class PersonDto {
|
|
20
|
+
name: string;
|
|
21
|
+
group: PersonGroup;
|
|
22
|
+
translations: PersonTranslationsDto;
|
|
23
|
+
constructor(props?: Partial<PersonDto>);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* A new manual order of one group's people.
|
|
27
|
+
*/
|
|
28
|
+
export declare class PeopleSortDto extends SortDto {
|
|
29
|
+
group: PersonGroup;
|
|
30
|
+
constructor(props?: Partial<PeopleSortDto>);
|
|
31
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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.PeopleSortDto = exports.PersonDto = exports.PersonTranslationsDto = exports.PersonTranslationDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const common_1 = require("@intelact/common");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
const person_group_enum_1 = require("./person-group.enum");
|
|
17
|
+
const sort_dto_1 = require("../general/sort.dto");
|
|
18
|
+
class PersonTranslationDto {
|
|
19
|
+
position;
|
|
20
|
+
constructor(props) {
|
|
21
|
+
Object.assign(this, props);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.PersonTranslationDto = PersonTranslationDto;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)({ message: 'gnosa.validation.position.required' }),
|
|
27
|
+
(0, class_validator_1.IsString)({ message: 'gnosa.validation.position.required' }),
|
|
28
|
+
(0, class_validator_1.MaxLength)(255, { message: 'gnosa.validation.position.invalid' }),
|
|
29
|
+
(0, common_1.Trim)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], PersonTranslationDto.prototype, "position", void 0);
|
|
32
|
+
/**
|
|
33
|
+
* A person is never a draft, so the position is required in all three languages.
|
|
34
|
+
*/
|
|
35
|
+
class PersonTranslationsDto {
|
|
36
|
+
sq;
|
|
37
|
+
en;
|
|
38
|
+
mk;
|
|
39
|
+
constructor(props) {
|
|
40
|
+
Object.assign(this, props);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.PersonTranslationsDto = PersonTranslationsDto;
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_validator_1.IsDefined)({ message: 'gnosa.validation.translations.sq' }),
|
|
46
|
+
(0, class_validator_1.ValidateNested)({ message: 'gnosa.validation.translations.sq' }),
|
|
47
|
+
(0, class_transformer_1.Type)(() => PersonTranslationDto),
|
|
48
|
+
__metadata("design:type", PersonTranslationDto)
|
|
49
|
+
], PersonTranslationsDto.prototype, "sq", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsDefined)({ message: 'gnosa.validation.translations.en' }),
|
|
52
|
+
(0, class_validator_1.ValidateNested)({ message: 'gnosa.validation.translations.en' }),
|
|
53
|
+
(0, class_transformer_1.Type)(() => PersonTranslationDto),
|
|
54
|
+
__metadata("design:type", PersonTranslationDto)
|
|
55
|
+
], PersonTranslationsDto.prototype, "en", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsDefined)({ message: 'gnosa.validation.translations.mk' }),
|
|
58
|
+
(0, class_validator_1.ValidateNested)({ message: 'gnosa.validation.translations.mk' }),
|
|
59
|
+
(0, class_transformer_1.Type)(() => PersonTranslationDto),
|
|
60
|
+
__metadata("design:type", PersonTranslationDto)
|
|
61
|
+
], PersonTranslationsDto.prototype, "mk", void 0);
|
|
62
|
+
/**
|
|
63
|
+
* The fields of a person, sent as a multipart form together with the `image` file.
|
|
64
|
+
*/
|
|
65
|
+
class PersonDto {
|
|
66
|
+
name;
|
|
67
|
+
group;
|
|
68
|
+
translations;
|
|
69
|
+
constructor(props) {
|
|
70
|
+
Object.assign(this, props);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.PersonDto = PersonDto;
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_validator_1.IsNotEmpty)({ message: 'gnosa.validation.name.required' }),
|
|
76
|
+
(0, class_validator_1.IsString)({ message: 'gnosa.validation.name.required' }),
|
|
77
|
+
(0, class_validator_1.MaxLength)(255, { message: 'gnosa.validation.name.invalid' }),
|
|
78
|
+
(0, common_1.Trim)(),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], PersonDto.prototype, "name", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, class_validator_1.IsEnum)(person_group_enum_1.PersonGroup, { message: 'gnosa.validation.group.invalid' }),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], PersonDto.prototype, "group", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_validator_1.IsDefined)({ message: 'gnosa.validation.translations.required' }),
|
|
87
|
+
(0, class_validator_1.ValidateNested)({ message: 'gnosa.validation.translations.required' }),
|
|
88
|
+
(0, class_transformer_1.Type)(() => PersonTranslationsDto),
|
|
89
|
+
__metadata("design:type", PersonTranslationsDto)
|
|
90
|
+
], PersonDto.prototype, "translations", void 0);
|
|
91
|
+
/**
|
|
92
|
+
* A new manual order of one group's people.
|
|
93
|
+
*/
|
|
94
|
+
class PeopleSortDto extends sort_dto_1.SortDto {
|
|
95
|
+
group;
|
|
96
|
+
constructor(props) {
|
|
97
|
+
super();
|
|
98
|
+
Object.assign(this, props);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.PeopleSortDto = PeopleSortDto;
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, class_validator_1.IsEnum)(person_group_enum_1.PersonGroup, { message: 'gnosa.validation.group.invalid' }),
|
|
104
|
+
__metadata("design:type", String)
|
|
105
|
+
], PeopleSortDto.prototype, "group", void 0);
|
|
106
|
+
//# sourceMappingURL=person.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"person.dto.js","sourceRoot":"","sources":["../../src/foundation/person.dto.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Translations } from '../general/translations';
|
|
2
|
+
import { PersonGroup } from './person-group.enum';
|
|
3
|
+
export declare class PersonTranslation {
|
|
4
|
+
position: string;
|
|
5
|
+
constructor(props?: Partial<PersonTranslation>);
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* A member of the foundation's Staff or Contributors.
|
|
9
|
+
*/
|
|
10
|
+
export declare class Person {
|
|
11
|
+
slug: string;
|
|
12
|
+
name: string;
|
|
13
|
+
group: PersonGroup;
|
|
14
|
+
imageUrl: string;
|
|
15
|
+
/**
|
|
16
|
+
* Position within the person's group.
|
|
17
|
+
*/
|
|
18
|
+
sort: number;
|
|
19
|
+
/**
|
|
20
|
+
* The position in the app language (lists and the public page).
|
|
21
|
+
*/
|
|
22
|
+
position?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The position in every language (the editor).
|
|
25
|
+
*/
|
|
26
|
+
translations?: Translations<PersonTranslation>;
|
|
27
|
+
constructor(props?: Partial<Person>);
|
|
28
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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.Person = exports.PersonTranslation = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const person_group_enum_1 = require("./person-group.enum");
|
|
15
|
+
class PersonTranslation {
|
|
16
|
+
position;
|
|
17
|
+
constructor(props) {
|
|
18
|
+
Object.assign(this, props);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.PersonTranslation = PersonTranslation;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], PersonTranslation.prototype, "position", void 0);
|
|
26
|
+
/**
|
|
27
|
+
* A member of the foundation's Staff or Contributors.
|
|
28
|
+
*/
|
|
29
|
+
class Person {
|
|
30
|
+
slug;
|
|
31
|
+
name;
|
|
32
|
+
group;
|
|
33
|
+
imageUrl;
|
|
34
|
+
/**
|
|
35
|
+
* Position within the person's group.
|
|
36
|
+
*/
|
|
37
|
+
sort;
|
|
38
|
+
/**
|
|
39
|
+
* The position in the app language (lists and the public page).
|
|
40
|
+
*/
|
|
41
|
+
position;
|
|
42
|
+
/**
|
|
43
|
+
* The position in every language (the editor).
|
|
44
|
+
*/
|
|
45
|
+
translations;
|
|
46
|
+
constructor(props) {
|
|
47
|
+
Object.assign(this, props);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.Person = Person;
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_transformer_1.Expose)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], Person.prototype, "slug", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], Person.prototype, "name", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], Person.prototype, "group", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_transformer_1.Expose)(),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], Person.prototype, "imageUrl", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_transformer_1.Expose)(),
|
|
69
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
70
|
+
__metadata("design:type", Number)
|
|
71
|
+
], Person.prototype, "sort", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_transformer_1.Expose)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], Person.prototype, "position", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_transformer_1.Expose)(),
|
|
78
|
+
__metadata("design:type", Object)
|
|
79
|
+
], Person.prototype, "translations", void 0);
|
|
80
|
+
//# sourceMappingURL=person.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"person.model.js","sourceRoot":"","sources":["../../src/foundation/person.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAGjD,2DAAkD;AAElD,MAAa,iBAAiB;IAE7B,QAAQ,CAAS;IAEjB,YAAY,KAAkC;QAC7C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAPD,8CAOC;AALA;IADC,IAAA,0BAAM,GAAE;;mDACQ;AAOlB;;GAEG;AACH,MAAa,MAAM;IAElB,IAAI,CAAS;IAGb,IAAI,CAAS;IAGb,KAAK,CAAc;IAGnB,QAAQ,CAAS;IAEjB;;OAEG;IAGH,IAAI,CAAS;IAEb;;OAEG;IAEH,QAAQ,CAAU;IAElB;;OAEG;IAEH,YAAY,CAAmC;IAE/C,YAAY,KAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAnCD,wBAmCC;AAjCA;IADC,IAAA,0BAAM,GAAE;;oCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;oCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;qCACU;AAGnB;IADC,IAAA,0BAAM,GAAE;;wCACQ;AAOjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oCACN;AAMb;IADC,IAAA,0BAAM,GAAE;;wCACS;AAMlB;IADC,IAAA,0BAAM,GAAE;;4CACsC"}
|
|
@@ -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.LanguageDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const language_enum_1 = require("./language.enum");
|
|
15
|
+
/**
|
|
16
|
+
* The language a localized field is saved in, sent next to the field.
|
|
17
|
+
*/
|
|
18
|
+
class LanguageDto {
|
|
19
|
+
language;
|
|
20
|
+
}
|
|
21
|
+
exports.LanguageDto = LanguageDto;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsEnum)(language_enum_1.Language, { message: 'gnosa.validation.language' }),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], LanguageDto.prototype, "language", void 0);
|
|
26
|
+
//# sourceMappingURL=language.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"language.dto.js","sourceRoot":"","sources":["../../src/general/language.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyC;AAEzC,mDAA2C;AAE3C;;GAEG;AACH,MAAsB,WAAW;IAEhC,QAAQ,CAAW;CACnB;AAHD,kCAGC;AADA;IADC,IAAA,wBAAM,EAAC,wBAAQ,EAAE,EAAE,OAAO,EAAE,2BAA2B,EAAE,CAAC;;6CACxC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.SortDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
/**
|
|
15
|
+
* A new manual order: the slugs of the records in the order they are shown in.
|
|
16
|
+
*/
|
|
17
|
+
class SortDto {
|
|
18
|
+
slugs;
|
|
19
|
+
constructor(props) {
|
|
20
|
+
Object.assign(this, props);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.SortDto = SortDto;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsArray)({ message: 'gnosa.validation.slugs.required' }),
|
|
26
|
+
(0, class_validator_1.ArrayNotEmpty)({ message: 'gnosa.validation.slugs.required' }),
|
|
27
|
+
(0, class_validator_1.IsString)({ each: true, message: 'gnosa.validation.slugs.required' }),
|
|
28
|
+
__metadata("design:type", Array)
|
|
29
|
+
], SortDto.prototype, "slugs", void 0);
|
|
30
|
+
//# sourceMappingURL=sort.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort.dto.js","sourceRoot":"","sources":["../../src/general/sort.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE;;GAEG;AACH,MAAa,OAAO;IAInB,KAAK,CAAW;IAEhB,YAAY,KAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AATD,0BASC;AALA;IAHC,IAAA,yBAAO,EAAC,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;IACvD,IAAA,+BAAa,EAAC,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;IAC7D,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;;sCACrD"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Language } from './language.enum';
|
|
2
|
+
/**
|
|
3
|
+
* A record's localized fields, keyed by language: `{ sq: {...}, en: {...}, mk: {...} }`.
|
|
4
|
+
* A language may be missing where the record allows it, such as a draft.
|
|
5
|
+
*/
|
|
6
|
+
export type Translations<T> = Partial<Record<Language, T>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translations.js","sourceRoot":"","sources":["../../src/general/translations.ts"],"names":[],"mappings":""}
|
package/lib/index.d.ts
CHANGED
|
@@ -6,3 +6,23 @@ export * from './utils/transformers.helper';
|
|
|
6
6
|
export * from './auth/auth.dto';
|
|
7
7
|
export * from './auth/token.model';
|
|
8
8
|
export * from './auth/verification-status.model';
|
|
9
|
+
export * from './general/translations';
|
|
10
|
+
export * from './general/sort.dto';
|
|
11
|
+
export * from './foundation/person.dto';
|
|
12
|
+
export * from './foundation/person.model';
|
|
13
|
+
export * from './foundation/history.dto';
|
|
14
|
+
export * from './foundation/history.model';
|
|
15
|
+
export * from './foundation/partner.dto';
|
|
16
|
+
export * from './foundation/partner.model';
|
|
17
|
+
export * from './book/book.dto';
|
|
18
|
+
export * from './book/book.model';
|
|
19
|
+
export * from './magazine/magazine.dto';
|
|
20
|
+
export * from './magazine/magazine.model';
|
|
21
|
+
export * from './event/event.enum';
|
|
22
|
+
export * from './event/event.dto';
|
|
23
|
+
export * from './event/event.model';
|
|
24
|
+
export * from './general/language.dto';
|
|
25
|
+
export * from './discover/discover.dto';
|
|
26
|
+
export * from './discover/discover.model';
|
|
27
|
+
export * from './order/order.dto';
|
|
28
|
+
export * from './order/order.model';
|
package/lib/index.js
CHANGED
|
@@ -22,4 +22,24 @@ __exportStar(require("./utils/transformers.helper"), exports);
|
|
|
22
22
|
__exportStar(require("./auth/auth.dto"), exports);
|
|
23
23
|
__exportStar(require("./auth/token.model"), exports);
|
|
24
24
|
__exportStar(require("./auth/verification-status.model"), exports);
|
|
25
|
+
__exportStar(require("./general/translations"), exports);
|
|
26
|
+
__exportStar(require("./general/sort.dto"), exports);
|
|
27
|
+
__exportStar(require("./foundation/person.dto"), exports);
|
|
28
|
+
__exportStar(require("./foundation/person.model"), exports);
|
|
29
|
+
__exportStar(require("./foundation/history.dto"), exports);
|
|
30
|
+
__exportStar(require("./foundation/history.model"), exports);
|
|
31
|
+
__exportStar(require("./foundation/partner.dto"), exports);
|
|
32
|
+
__exportStar(require("./foundation/partner.model"), exports);
|
|
33
|
+
__exportStar(require("./book/book.dto"), exports);
|
|
34
|
+
__exportStar(require("./book/book.model"), exports);
|
|
35
|
+
__exportStar(require("./magazine/magazine.dto"), exports);
|
|
36
|
+
__exportStar(require("./magazine/magazine.model"), exports);
|
|
37
|
+
__exportStar(require("./event/event.enum"), exports);
|
|
38
|
+
__exportStar(require("./event/event.dto"), exports);
|
|
39
|
+
__exportStar(require("./event/event.model"), exports);
|
|
40
|
+
__exportStar(require("./general/language.dto"), exports);
|
|
41
|
+
__exportStar(require("./discover/discover.dto"), exports);
|
|
42
|
+
__exportStar(require("./discover/discover.model"), exports);
|
|
43
|
+
__exportStar(require("./order/order.dto"), exports);
|
|
44
|
+
__exportStar(require("./order/order.model"), exports);
|
|
25
45
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,gEAA8C;AAC9C,iEAA+C;AAC/C,qDAAmC;AACnC,8DAA4C;AAC5C,kDAAgC;AAChC,qDAAmC;AACnC,mEAAiD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,gEAA8C;AAC9C,iEAA+C;AAC/C,qDAAmC;AACnC,8DAA4C;AAC5C,kDAAgC;AAChC,qDAAmC;AACnC,mEAAiD;AACjD,yDAAuC;AACvC,qDAAmC;AACnC,0DAAwC;AACxC,4DAA0C;AAC1C,2DAAyC;AACzC,6DAA2C;AAC3C,2DAAyC;AACzC,6DAA2C;AAC3C,kDAAgC;AAChC,oDAAkC;AAClC,0DAAwC;AACxC,4DAA0C;AAC1C,qDAAmC;AACnC,oDAAkC;AAClC,sDAAoC;AACpC,yDAAuC;AACvC,0DAAwC;AACxC,4DAA0C;AAC1C,oDAAkC;AAClC,sDAAoC"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { PublishStatus } from '../general/publish-status.enum';
|
|
2
|
+
import { LanguageDto } from '../general/language.dto';
|
|
3
|
+
/**
|
|
4
|
+
* An article of the issue: its Albanian title and its authors, both untranslated. Saving an
|
|
5
|
+
* article replaces both; either may be empty while the issue is a Draft, and publishing requires
|
|
6
|
+
* both for every article.
|
|
7
|
+
*/
|
|
8
|
+
export declare class MagazineArticleDto {
|
|
9
|
+
title?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Every author in one text, as it is displayed.
|
|
12
|
+
*/
|
|
13
|
+
authors?: string;
|
|
14
|
+
constructor(props?: Partial<MagazineArticleDto>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Saves the issue's `issueNumber`. `null` clears it.
|
|
18
|
+
*
|
|
19
|
+
* The issue number as it is printed (`12`, `2026/1`).
|
|
20
|
+
*/
|
|
21
|
+
export declare class MagazineIssueNumberDto {
|
|
22
|
+
issueNumber?: string;
|
|
23
|
+
constructor(props?: Partial<MagazineIssueNumberDto>);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Saves the issue's `publicationDate`. `null` clears it.
|
|
27
|
+
*
|
|
28
|
+
* In UTC, as an ISO 8601 date.
|
|
29
|
+
*/
|
|
30
|
+
export declare class MagazinePublicationDateDto {
|
|
31
|
+
publicationDate?: Date;
|
|
32
|
+
constructor(props?: Partial<MagazinePublicationDateDto>);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Saves the issue's `issn`. `null` clears it.
|
|
36
|
+
*/
|
|
37
|
+
export declare class MagazineIssnDto {
|
|
38
|
+
issn?: string;
|
|
39
|
+
constructor(props?: Partial<MagazineIssnDto>);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Saves the issue's `preface`. `null` clears it.
|
|
43
|
+
*
|
|
44
|
+
* The preface, in Albanian only: the rich-text editor's HTML, stored as it is sent.
|
|
45
|
+
*/
|
|
46
|
+
export declare class MagazinePrefaceDto {
|
|
47
|
+
preface?: string;
|
|
48
|
+
constructor(props?: Partial<MagazinePrefaceDto>);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Saves the issue's `priceEur`. `null` clears it.
|
|
52
|
+
*
|
|
53
|
+
* VAT-inclusive price in euros.
|
|
54
|
+
*/
|
|
55
|
+
export declare class MagazinePriceEurDto {
|
|
56
|
+
priceEur?: number;
|
|
57
|
+
constructor(props?: Partial<MagazinePriceEurDto>);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Saves the issue's `priceMkd`. `null` clears it.
|
|
61
|
+
*
|
|
62
|
+
* VAT-inclusive price in Macedonian denars, entered separately rather than converted.
|
|
63
|
+
*/
|
|
64
|
+
export declare class MagazinePriceMkdDto {
|
|
65
|
+
priceMkd?: number;
|
|
66
|
+
constructor(props?: Partial<MagazinePriceMkdDto>);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Saves the issue's `isAvailable`. `null` clears it.
|
|
70
|
+
*
|
|
71
|
+
* Whether the physical issue can be ordered. Independent of the PDF.
|
|
72
|
+
*/
|
|
73
|
+
export declare class MagazineIsAvailableDto {
|
|
74
|
+
isAvailable?: boolean;
|
|
75
|
+
constructor(props?: Partial<MagazineIsAvailableDto>);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Saves the issue's `title` in one language, sent with its `language`. `null` clears it.
|
|
79
|
+
*
|
|
80
|
+
* A new Albanian title gives the issue a new slug.
|
|
81
|
+
*/
|
|
82
|
+
export declare class MagazineTitleDto extends LanguageDto {
|
|
83
|
+
title?: string;
|
|
84
|
+
constructor(props?: Partial<MagazineTitleDto>);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Saves the issue's `shortDescription` in one language, sent with its `language`. `null` clears it.
|
|
88
|
+
*/
|
|
89
|
+
export declare class MagazineShortDescriptionDto extends LanguageDto {
|
|
90
|
+
shortDescription?: string;
|
|
91
|
+
constructor(props?: Partial<MagazineShortDescriptionDto>);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Saves the issue's `description` in one language, sent with its `language`. `null` clears it.
|
|
95
|
+
*/
|
|
96
|
+
export declare class MagazineDescriptionDto extends LanguageDto {
|
|
97
|
+
description?: string;
|
|
98
|
+
constructor(props?: Partial<MagazineDescriptionDto>);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Saves the issue's `seoTitle` in one language, sent with its `language`. `null` clears it.
|
|
102
|
+
*/
|
|
103
|
+
export declare class MagazineSeoTitleDto extends LanguageDto {
|
|
104
|
+
seoTitle?: string;
|
|
105
|
+
constructor(props?: Partial<MagazineSeoTitleDto>);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Saves the issue's `seoDescription` in one language, sent with its `language`. `null` clears it.
|
|
109
|
+
*/
|
|
110
|
+
export declare class MagazineSeoDescriptionDto extends LanguageDto {
|
|
111
|
+
seoDescription?: string;
|
|
112
|
+
constructor(props?: Partial<MagazineSeoDescriptionDto>);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* The search and filters of the admin Magazines List.
|
|
116
|
+
*/
|
|
117
|
+
export declare class MagazineFilterDto {
|
|
118
|
+
/**
|
|
119
|
+
* Matches the title in any language, the issue number and the ISSN.
|
|
120
|
+
*/
|
|
121
|
+
phrase?: string;
|
|
122
|
+
status?: PublishStatus;
|
|
123
|
+
/**
|
|
124
|
+
* Whether the physical issue can be ordered.
|
|
125
|
+
*/
|
|
126
|
+
isAvailable?: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Whether the issue has a PDF.
|
|
129
|
+
*/
|
|
130
|
+
hasPdf?: boolean;
|
|
131
|
+
constructor(props?: Partial<MagazineFilterDto>);
|
|
132
|
+
}
|