@intelact/gnosa 0.1.3 → 0.1.4
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 +9 -11
- package/lib/book/book.dto.js +16 -29
- package/lib/book/book.dto.js.map +1 -1
- package/lib/book/book.model.d.ts +0 -4
- package/lib/book/book.model.js +0 -8
- package/lib/book/book.model.js.map +1 -1
- package/lib/discover/discover.dto.d.ts +9 -8
- package/lib/discover/discover.dto.js +20 -20
- package/lib/discover/discover.dto.js.map +1 -1
- package/lib/discover/discover.model.d.ts +8 -7
- package/lib/discover/discover.model.js +13 -11
- package/lib/discover/discover.model.js.map +1 -1
- package/lib/event/event.dto.d.ts +12 -24
- package/lib/event/event.dto.js +19 -45
- package/lib/event/event.dto.js.map +1 -1
- package/lib/foundation/history.dto.d.ts +51 -23
- package/lib/foundation/history.dto.js +103 -77
- package/lib/foundation/history.dto.js.map +1 -1
- package/lib/foundation/history.model.d.ts +4 -1
- package/lib/foundation/history.model.js +8 -1
- package/lib/foundation/history.model.js.map +1 -1
- package/lib/foundation/partner.dto.d.ts +6 -2
- package/lib/foundation/partner.dto.js +6 -2
- package/lib/foundation/partner.dto.js.map +1 -1
- package/lib/foundation/person.dto.d.ts +6 -1
- package/lib/foundation/person.dto.js +12 -1
- package/lib/foundation/person.dto.js.map +1 -1
- package/lib/magazine/magazine.dto.d.ts +3 -2
- package/lib/magazine/magazine.dto.js +3 -2
- package/lib/magazine/magazine.dto.js.map +1 -1
- package/lib/order/order.dto.d.ts +0 -8
- package/lib/order/order.dto.js +0 -20
- package/lib/order/order.dto.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,32 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
constructor(props?: Partial<
|
|
1
|
+
import { PublishStatus } from '../general/publish-status.enum';
|
|
2
|
+
import { LanguageDto } from '../general/language.dto';
|
|
3
|
+
/**
|
|
4
|
+
* Saves the entry's `date`. `null` clears it.
|
|
5
|
+
*
|
|
6
|
+
* In UTC, as an ISO 8601 date.
|
|
7
|
+
*/
|
|
8
|
+
export declare class HistoryDateDto {
|
|
9
|
+
date?: Date;
|
|
10
|
+
constructor(props?: Partial<HistoryDateDto>);
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Saves the entry's `title` in one language, sent with its `language`. `null` clears it.
|
|
14
|
+
*
|
|
15
|
+
* A new Albanian title gives the entry a new slug.
|
|
16
|
+
*/
|
|
17
|
+
export declare class HistoryTitleDto extends LanguageDto {
|
|
18
|
+
title?: string;
|
|
19
|
+
constructor(props?: Partial<HistoryTitleDto>);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Saves the entry's `shortDescription` in one language, sent with its `language`. `null` clears it.
|
|
23
|
+
*/
|
|
24
|
+
export declare class HistoryShortDescriptionDto extends LanguageDto {
|
|
25
|
+
shortDescription?: string;
|
|
26
|
+
constructor(props?: Partial<HistoryShortDescriptionDto>);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Saves the entry's `description` (the full description) in one language, sent with its
|
|
30
|
+
* `language`. `null` clears it.
|
|
31
|
+
*/
|
|
32
|
+
export declare class HistoryDescriptionDto extends LanguageDto {
|
|
33
|
+
description?: string;
|
|
34
|
+
constructor(props?: Partial<HistoryDescriptionDto>);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Saves the entry's `seoTitle` in one language, sent with its `language`. `null` clears it.
|
|
38
|
+
*/
|
|
39
|
+
export declare class HistorySeoTitleDto extends LanguageDto {
|
|
40
|
+
seoTitle?: string;
|
|
41
|
+
constructor(props?: Partial<HistorySeoTitleDto>);
|
|
11
42
|
}
|
|
12
43
|
/**
|
|
13
|
-
*
|
|
44
|
+
* Saves the entry's `seoDescription` in one language, sent with its `language`. `null` clears it.
|
|
14
45
|
*/
|
|
15
|
-
export declare class
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
mk: HistoryTranslationDto;
|
|
19
|
-
constructor(props?: Partial<HistoryTranslationsDto>);
|
|
46
|
+
export declare class HistorySeoDescriptionDto extends LanguageDto {
|
|
47
|
+
seoDescription?: string;
|
|
48
|
+
constructor(props?: Partial<HistorySeoDescriptionDto>);
|
|
20
49
|
}
|
|
21
50
|
/**
|
|
22
|
-
* The
|
|
23
|
-
* required when the entry is created.
|
|
51
|
+
* The search and filter of the admin History List.
|
|
24
52
|
*/
|
|
25
|
-
export declare class
|
|
53
|
+
export declare class HistoryFilterDto {
|
|
26
54
|
/**
|
|
27
|
-
*
|
|
55
|
+
* Matches the title, in any language.
|
|
28
56
|
*/
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
constructor(props?: Partial<
|
|
57
|
+
phrase?: string;
|
|
58
|
+
status?: PublishStatus;
|
|
59
|
+
constructor(props?: Partial<HistoryFilterDto>);
|
|
32
60
|
}
|
|
@@ -9,120 +9,146 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.HistoryFilterDto = exports.HistorySeoDescriptionDto = exports.HistorySeoTitleDto = exports.HistoryDescriptionDto = exports.HistoryShortDescriptionDto = exports.HistoryTitleDto = exports.HistoryDateDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const common_1 = require("@intelact/common");
|
|
15
|
-
const
|
|
15
|
+
const publish_status_enum_1 = require("../general/publish-status.enum");
|
|
16
16
|
const transformers_helper_1 = require("../utils/transformers.helper");
|
|
17
|
+
const language_dto_1 = require("../general/language.dto");
|
|
17
18
|
/**
|
|
18
|
-
*
|
|
19
|
+
* Saves the entry's `date`. `null` clears it.
|
|
20
|
+
*
|
|
21
|
+
* In UTC, as an ISO 8601 date.
|
|
19
22
|
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
: 'gnosa.validation.date.invalid';
|
|
23
|
-
class HistoryTranslationDto {
|
|
24
|
-
title;
|
|
25
|
-
shortDescription;
|
|
26
|
-
/**
|
|
27
|
-
* The full description.
|
|
28
|
-
*/
|
|
29
|
-
description;
|
|
30
|
-
seoTitle;
|
|
31
|
-
seoDescription;
|
|
23
|
+
class HistoryDateDto {
|
|
24
|
+
date;
|
|
32
25
|
constructor(props) {
|
|
33
26
|
Object.assign(this, props);
|
|
34
27
|
}
|
|
35
28
|
}
|
|
36
|
-
exports.
|
|
29
|
+
exports.HistoryDateDto = HistoryDateDto;
|
|
37
30
|
__decorate([
|
|
38
|
-
(0, class_validator_1.
|
|
39
|
-
(0, class_validator_1.
|
|
40
|
-
(0,
|
|
41
|
-
(
|
|
42
|
-
|
|
43
|
-
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
(0, class_validator_1.IsDate)({ message: 'gnosa.validation.date.invalid' }),
|
|
33
|
+
(0, transformers_helper_1.ToUtcDate)(),
|
|
34
|
+
__metadata("design:type", Date)
|
|
35
|
+
], HistoryDateDto.prototype, "date", void 0);
|
|
36
|
+
/**
|
|
37
|
+
* Saves the entry's `title` in one language, sent with its `language`. `null` clears it.
|
|
38
|
+
*
|
|
39
|
+
* A new Albanian title gives the entry a new slug.
|
|
40
|
+
*/
|
|
41
|
+
class HistoryTitleDto extends language_dto_1.LanguageDto {
|
|
42
|
+
title;
|
|
43
|
+
constructor(props) {
|
|
44
|
+
super();
|
|
45
|
+
Object.assign(this, props);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.HistoryTitleDto = HistoryTitleDto;
|
|
44
49
|
__decorate([
|
|
45
|
-
(0, class_validator_1.
|
|
46
|
-
(0, class_validator_1.IsString)({ message: 'gnosa.validation.
|
|
47
|
-
(0, class_validator_1.MaxLength)(
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
(0, class_validator_1.IsString)({ message: 'gnosa.validation.history.title' }),
|
|
52
|
+
(0, class_validator_1.MaxLength)(255, { message: 'gnosa.validation.history.title' }),
|
|
48
53
|
(0, common_1.Trim)(),
|
|
49
54
|
__metadata("design:type", String)
|
|
50
|
-
],
|
|
55
|
+
], HistoryTitleDto.prototype, "title", void 0);
|
|
56
|
+
/**
|
|
57
|
+
* Saves the entry's `shortDescription` in one language, sent with its `language`. `null` clears it.
|
|
58
|
+
*/
|
|
59
|
+
class HistoryShortDescriptionDto extends language_dto_1.LanguageDto {
|
|
60
|
+
shortDescription;
|
|
61
|
+
constructor(props) {
|
|
62
|
+
super();
|
|
63
|
+
Object.assign(this, props);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.HistoryShortDescriptionDto = HistoryShortDescriptionDto;
|
|
51
67
|
__decorate([
|
|
52
|
-
(0, class_validator_1.
|
|
53
|
-
(0, class_validator_1.IsString)({ message: 'gnosa.validation.
|
|
54
|
-
(0, class_validator_1.MaxLength)(
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
(0, class_validator_1.IsString)({ message: 'gnosa.validation.history.shortDescription' }),
|
|
70
|
+
(0, class_validator_1.MaxLength)(1000, { message: 'gnosa.validation.history.shortDescription' }),
|
|
55
71
|
(0, common_1.Trim)(),
|
|
56
72
|
__metadata("design:type", String)
|
|
57
|
-
],
|
|
73
|
+
], HistoryShortDescriptionDto.prototype, "shortDescription", void 0);
|
|
74
|
+
/**
|
|
75
|
+
* Saves the entry's `description` (the full description) in one language, sent with its
|
|
76
|
+
* `language`. `null` clears it.
|
|
77
|
+
*/
|
|
78
|
+
class HistoryDescriptionDto extends language_dto_1.LanguageDto {
|
|
79
|
+
description;
|
|
80
|
+
constructor(props) {
|
|
81
|
+
super();
|
|
82
|
+
Object.assign(this, props);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.HistoryDescriptionDto = HistoryDescriptionDto;
|
|
58
86
|
__decorate([
|
|
59
|
-
(0, class_validator_1.
|
|
60
|
-
(0, class_validator_1.IsString)({ message: 'gnosa.validation.
|
|
61
|
-
(0, class_validator_1.MaxLength)(
|
|
87
|
+
(0, class_validator_1.IsOptional)(),
|
|
88
|
+
(0, class_validator_1.IsString)({ message: 'gnosa.validation.history.description' }),
|
|
89
|
+
(0, class_validator_1.MaxLength)(10000, { message: 'gnosa.validation.history.description' }),
|
|
62
90
|
(0, common_1.Trim)(),
|
|
63
91
|
__metadata("design:type", String)
|
|
64
|
-
],
|
|
92
|
+
], HistoryDescriptionDto.prototype, "description", void 0);
|
|
93
|
+
/**
|
|
94
|
+
* Saves the entry's `seoTitle` in one language, sent with its `language`. `null` clears it.
|
|
95
|
+
*/
|
|
96
|
+
class HistorySeoTitleDto extends language_dto_1.LanguageDto {
|
|
97
|
+
seoTitle;
|
|
98
|
+
constructor(props) {
|
|
99
|
+
super();
|
|
100
|
+
Object.assign(this, props);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.HistorySeoTitleDto = HistorySeoTitleDto;
|
|
65
104
|
__decorate([
|
|
66
|
-
(0, class_validator_1.
|
|
67
|
-
(0, class_validator_1.IsString)({ message: 'gnosa.validation.
|
|
68
|
-
(0, class_validator_1.MaxLength)(
|
|
105
|
+
(0, class_validator_1.IsOptional)(),
|
|
106
|
+
(0, class_validator_1.IsString)({ message: 'gnosa.validation.history.seoTitle' }),
|
|
107
|
+
(0, class_validator_1.MaxLength)(255, { message: 'gnosa.validation.history.seoTitle' }),
|
|
69
108
|
(0, common_1.Trim)(),
|
|
70
109
|
__metadata("design:type", String)
|
|
71
|
-
],
|
|
110
|
+
], HistorySeoTitleDto.prototype, "seoTitle", void 0);
|
|
72
111
|
/**
|
|
73
|
-
*
|
|
112
|
+
* Saves the entry's `seoDescription` in one language, sent with its `language`. `null` clears it.
|
|
74
113
|
*/
|
|
75
|
-
class
|
|
76
|
-
|
|
77
|
-
en;
|
|
78
|
-
mk;
|
|
114
|
+
class HistorySeoDescriptionDto extends language_dto_1.LanguageDto {
|
|
115
|
+
seoDescription;
|
|
79
116
|
constructor(props) {
|
|
117
|
+
super();
|
|
80
118
|
Object.assign(this, props);
|
|
81
119
|
}
|
|
82
120
|
}
|
|
83
|
-
exports.
|
|
84
|
-
__decorate([
|
|
85
|
-
(0, class_validator_1.IsDefined)({ message: 'gnosa.validation.translations.sq' }),
|
|
86
|
-
(0, class_validator_1.ValidateNested)({ message: 'gnosa.validation.translations.sq' }),
|
|
87
|
-
(0, class_transformer_1.Type)(() => HistoryTranslationDto),
|
|
88
|
-
__metadata("design:type", HistoryTranslationDto)
|
|
89
|
-
], HistoryTranslationsDto.prototype, "sq", void 0);
|
|
121
|
+
exports.HistorySeoDescriptionDto = HistorySeoDescriptionDto;
|
|
90
122
|
__decorate([
|
|
91
|
-
(0, class_validator_1.
|
|
92
|
-
(0, class_validator_1.
|
|
93
|
-
(0,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
(0, class_validator_1.IsDefined)({ message: 'gnosa.validation.translations.mk' }),
|
|
98
|
-
(0, class_validator_1.ValidateNested)({ message: 'gnosa.validation.translations.mk' }),
|
|
99
|
-
(0, class_transformer_1.Type)(() => HistoryTranslationDto),
|
|
100
|
-
__metadata("design:type", HistoryTranslationDto)
|
|
101
|
-
], HistoryTranslationsDto.prototype, "mk", void 0);
|
|
123
|
+
(0, class_validator_1.IsOptional)(),
|
|
124
|
+
(0, class_validator_1.IsString)({ message: 'gnosa.validation.history.seoDescription' }),
|
|
125
|
+
(0, class_validator_1.MaxLength)(1000, { message: 'gnosa.validation.history.seoDescription' }),
|
|
126
|
+
(0, common_1.Trim)(),
|
|
127
|
+
__metadata("design:type", String)
|
|
128
|
+
], HistorySeoDescriptionDto.prototype, "seoDescription", void 0);
|
|
102
129
|
/**
|
|
103
|
-
* The
|
|
104
|
-
* required when the entry is created.
|
|
130
|
+
* The search and filter of the admin History List.
|
|
105
131
|
*/
|
|
106
|
-
class
|
|
132
|
+
class HistoryFilterDto {
|
|
107
133
|
/**
|
|
108
|
-
*
|
|
134
|
+
* Matches the title, in any language.
|
|
109
135
|
*/
|
|
110
|
-
|
|
111
|
-
|
|
136
|
+
phrase;
|
|
137
|
+
status;
|
|
112
138
|
constructor(props) {
|
|
113
139
|
Object.assign(this, props);
|
|
114
140
|
}
|
|
115
141
|
}
|
|
116
|
-
exports.
|
|
142
|
+
exports.HistoryFilterDto = HistoryFilterDto;
|
|
117
143
|
__decorate([
|
|
118
|
-
(0, class_validator_1.
|
|
119
|
-
(0,
|
|
120
|
-
|
|
121
|
-
|
|
144
|
+
(0, class_validator_1.IsOptional)(),
|
|
145
|
+
(0, class_validator_1.IsString)({ message: 'gnosa.validation.filter' }),
|
|
146
|
+
(0, common_1.Trim)(),
|
|
147
|
+
__metadata("design:type", String)
|
|
148
|
+
], HistoryFilterDto.prototype, "phrase", void 0);
|
|
122
149
|
__decorate([
|
|
123
|
-
(0, class_validator_1.
|
|
124
|
-
(0, class_validator_1.
|
|
125
|
-
(
|
|
126
|
-
|
|
127
|
-
], HistoryDto.prototype, "translations", void 0);
|
|
150
|
+
(0, class_validator_1.IsOptional)(),
|
|
151
|
+
(0, class_validator_1.IsEnum)(publish_status_enum_1.PublishStatus, { message: 'gnosa.validation.filter' }),
|
|
152
|
+
__metadata("design:type", String)
|
|
153
|
+
], HistoryFilterDto.prototype, "status", void 0);
|
|
128
154
|
//# sourceMappingURL=history.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"history.dto.js","sourceRoot":"","sources":["../../src/foundation/history.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"history.dto.js","sourceRoot":"","sources":["../../src/foundation/history.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkF;AAClF,6CAAwC;AAExC,wEAA+D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Y,KAAiC;QAC5C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAhBD,4CAgBC;AATA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IAChD,IAAA,aAAI,GAAE;;gDACS;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,mCAAa,EAAE,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;;gDACvC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PublishStatus } from '../general/publish-status.enum';
|
|
1
2
|
import { Translations } from '../general/translations';
|
|
2
3
|
export declare class HistoryTranslation {
|
|
3
4
|
title: string;
|
|
@@ -11,10 +12,12 @@ export declare class HistoryTranslation {
|
|
|
11
12
|
constructor(props?: Partial<HistoryTranslation>);
|
|
12
13
|
}
|
|
13
14
|
/**
|
|
14
|
-
* An entry of the foundation's history timeline.
|
|
15
|
+
* An entry of the foundation's history timeline. Like the other content records it is a Draft
|
|
16
|
+
* until it is published, and only Published entries are on the website.
|
|
15
17
|
*/
|
|
16
18
|
export declare class History {
|
|
17
19
|
slug: string;
|
|
20
|
+
status: PublishStatus;
|
|
18
21
|
imageUrl: string;
|
|
19
22
|
/**
|
|
20
23
|
* The image file name as it was uploaded, and its size in bytes.
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.History = exports.HistoryTranslation = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const publish_status_enum_1 = require("../general/publish-status.enum");
|
|
14
15
|
class HistoryTranslation {
|
|
15
16
|
title;
|
|
16
17
|
shortDescription;
|
|
@@ -46,10 +47,12 @@ __decorate([
|
|
|
46
47
|
__metadata("design:type", String)
|
|
47
48
|
], HistoryTranslation.prototype, "seoDescription", void 0);
|
|
48
49
|
/**
|
|
49
|
-
* An entry of the foundation's history timeline.
|
|
50
|
+
* An entry of the foundation's history timeline. Like the other content records it is a Draft
|
|
51
|
+
* until it is published, and only Published entries are on the website.
|
|
50
52
|
*/
|
|
51
53
|
class History {
|
|
52
54
|
slug;
|
|
55
|
+
status;
|
|
53
56
|
imageUrl;
|
|
54
57
|
/**
|
|
55
58
|
* The image file name as it was uploaded, and its size in bytes.
|
|
@@ -81,6 +84,10 @@ __decorate([
|
|
|
81
84
|
(0, class_transformer_1.Expose)(),
|
|
82
85
|
__metadata("design:type", String)
|
|
83
86
|
], History.prototype, "slug", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, class_transformer_1.Expose)(),
|
|
89
|
+
__metadata("design:type", String)
|
|
90
|
+
], History.prototype, "status", void 0);
|
|
84
91
|
__decorate([
|
|
85
92
|
(0, class_transformer_1.Expose)(),
|
|
86
93
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"history.model.js","sourceRoot":"","sources":["../../src/foundation/history.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;
|
|
1
|
+
{"version":3,"file":"history.model.js","sourceRoot":"","sources":["../../src/foundation/history.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,wEAA+D;AAG/D,MAAa,kBAAkB;IAE9B,KAAK,CAAS;IAGd,gBAAgB,CAAS;IAEzB;;OAEG;IAEH,WAAW,CAAS;IAGpB,QAAQ,CAAS;IAGjB,cAAc,CAAS;IAEvB,YAAY,KAAmC;QAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAtBD,gDAsBC;AApBA;IADC,IAAA,0BAAM,GAAE;;iDACK;AAGd;IADC,IAAA,0BAAM,GAAE;;4DACgB;AAMzB;IADC,IAAA,0BAAM,GAAE;;uDACW;AAGpB;IADC,IAAA,0BAAM,GAAE;;oDACQ;AAGjB;IADC,IAAA,0BAAM,GAAE;;0DACc;AAOxB;;;GAGG;AACH,MAAa,OAAO;IAEnB,IAAI,CAAS;IAGb,MAAM,CAAgB;IAGtB,QAAQ,CAAS;IAEjB;;OAEG;IAEH,SAAS,CAAS;IAGlB,SAAS,CAAS;IAElB;;OAEG;IAGH,IAAI,CAAO;IAEX;;OAEG;IAEH,KAAK,CAAU;IAGf,gBAAgB,CAAU;IAG1B,WAAW,CAAU;IAGrB,QAAQ,CAAU;IAGlB,cAAc,CAAU;IAExB;;OAEG;IAEH,YAAY,CAAoC;IAEhD,YAAY,KAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AArDD,0BAqDC;AAnDA;IADC,IAAA,0BAAM,GAAE;;qCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;uCACa;AAGtB;IADC,IAAA,0BAAM,GAAE;;yCACQ;AAMjB;IADC,IAAA,0BAAM,GAAE;;0CACS;AAGlB;IADC,IAAA,0BAAM,GAAE;;0CACS;AAOlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACX,IAAI;qCAAC;AAMX;IADC,IAAA,0BAAM,GAAE;;sCACM;AAGf;IADC,IAAA,0BAAM,GAAE;;iDACiB;AAG1B;IADC,IAAA,0BAAM,GAAE;;4CACY;AAGrB;IADC,IAAA,0BAAM,GAAE;;yCACS;AAGlB;IADC,IAAA,0BAAM,GAAE;;+CACe;AAMxB;IADC,IAAA,0BAAM,GAAE;;6CACuC"}
|
|
@@ -12,11 +12,15 @@ export declare class PartnerTranslationsDto {
|
|
|
12
12
|
constructor(props?: Partial<PartnerTranslationsDto>);
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* The fields of a partner, sent as a multipart form together with the `logo` file
|
|
15
|
+
* The fields of a partner, sent as a multipart form together with the `logo` file, which is required
|
|
16
|
+
* when the partner is created.
|
|
16
17
|
*/
|
|
17
18
|
export declare class PartnerDto {
|
|
18
19
|
name: string;
|
|
19
|
-
|
|
20
|
+
/**
|
|
21
|
+
* The partner's website, optional.
|
|
22
|
+
*/
|
|
23
|
+
externalUrl?: string;
|
|
20
24
|
translations: PartnerTranslationsDto;
|
|
21
25
|
constructor(props?: Partial<PartnerDto>);
|
|
22
26
|
}
|
|
@@ -58,10 +58,14 @@ __decorate([
|
|
|
58
58
|
__metadata("design:type", PartnerTranslationDto)
|
|
59
59
|
], PartnerTranslationsDto.prototype, "mk", void 0);
|
|
60
60
|
/**
|
|
61
|
-
* The fields of a partner, sent as a multipart form together with the `logo` file
|
|
61
|
+
* The fields of a partner, sent as a multipart form together with the `logo` file, which is required
|
|
62
|
+
* when the partner is created.
|
|
62
63
|
*/
|
|
63
64
|
class PartnerDto {
|
|
64
65
|
name;
|
|
66
|
+
/**
|
|
67
|
+
* The partner's website, optional.
|
|
68
|
+
*/
|
|
65
69
|
externalUrl;
|
|
66
70
|
translations;
|
|
67
71
|
constructor(props) {
|
|
@@ -77,7 +81,7 @@ __decorate([
|
|
|
77
81
|
__metadata("design:type", String)
|
|
78
82
|
], PartnerDto.prototype, "name", void 0);
|
|
79
83
|
__decorate([
|
|
80
|
-
(0, class_validator_1.
|
|
84
|
+
(0, class_validator_1.IsOptional)(),
|
|
81
85
|
(0, class_validator_1.IsUrl)({ protocols: ['http', 'https'], require_protocol: true }, { message: 'gnosa.validation.url.invalid' }),
|
|
82
86
|
(0, class_validator_1.MaxLength)(1024, { message: 'gnosa.validation.url.invalid' }),
|
|
83
87
|
(0, common_1.Trim)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partner.dto.js","sourceRoot":"","sources":["../../src/foundation/partner.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"partner.dto.js","sourceRoot":"","sources":["../../src/foundation/partner.dto.ts"],"names":[],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E,CAAC;IAC/D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC;8BAC9B,qBAAqB;kDAAC;AAO3B;;;GAGG;AACH,MAAa,UAAU;IAKtB,IAAI,CAAS;IAEb;;OAEG;IAKH,WAAW,CAAU;IAKrB,YAAY,CAAyB;IAErC,YAAY,KAA2B;QACtC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAxBD,gCAwBC;AAnBA;IAJC,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,gCAAgC,EAAE,CAAC;IACzD,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,gCAAgC,EAAE,CAAC;IACvD,IAAA,2BAAS,EAAC,GAAG,EAAE,EAAE,OAAO,EAAE,+BAA+B,EAAE,CAAC;IAC5D,IAAA,aAAI,GAAE;;wCACM;AASb;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,EAAC,EAAE,SAAS,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;IAC5G,IAAA,2BAAS,EAAC,IAAI,EAAE,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;IAC5D,IAAA,aAAI,GAAE;;+CACc;AAKrB;IAHC,IAAA,2BAAS,EAAC,EAAE,OAAO,EAAE,wCAAwC,EAAE,CAAC;IAChE,IAAA,gCAAc,EAAC,EAAE,OAAO,EAAE,wCAAwC,EAAE,CAAC;IACrE,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC;8BACrB,sBAAsB;gDAAC"}
|
|
@@ -14,12 +14,17 @@ export declare class PersonTranslationsDto {
|
|
|
14
14
|
constructor(props?: Partial<PersonTranslationsDto>);
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* The fields of a person, sent as a multipart form together with the `image` file.
|
|
17
|
+
* The fields of a person, sent as a multipart form together with the optional `image` file.
|
|
18
18
|
*/
|
|
19
19
|
export declare class PersonDto {
|
|
20
20
|
name: string;
|
|
21
21
|
group: PersonGroup;
|
|
22
22
|
translations: PersonTranslationsDto;
|
|
23
|
+
/**
|
|
24
|
+
* Removes the person's photo when no new `image` is sent. Left out, the photo is kept. Read from
|
|
25
|
+
* the raw form value: the implicit conversion would turn the text `"false"` into `true`.
|
|
26
|
+
*/
|
|
27
|
+
removeImage?: boolean;
|
|
23
28
|
constructor(props?: Partial<PersonDto>);
|
|
24
29
|
}
|
|
25
30
|
/**
|
|
@@ -60,12 +60,17 @@ __decorate([
|
|
|
60
60
|
__metadata("design:type", PersonTranslationDto)
|
|
61
61
|
], PersonTranslationsDto.prototype, "mk", void 0);
|
|
62
62
|
/**
|
|
63
|
-
* The fields of a person, sent as a multipart form together with the `image` file.
|
|
63
|
+
* The fields of a person, sent as a multipart form together with the optional `image` file.
|
|
64
64
|
*/
|
|
65
65
|
class PersonDto {
|
|
66
66
|
name;
|
|
67
67
|
group;
|
|
68
68
|
translations;
|
|
69
|
+
/**
|
|
70
|
+
* Removes the person's photo when no new `image` is sent. Left out, the photo is kept. Read from
|
|
71
|
+
* the raw form value: the implicit conversion would turn the text `"false"` into `true`.
|
|
72
|
+
*/
|
|
73
|
+
removeImage;
|
|
69
74
|
constructor(props) {
|
|
70
75
|
Object.assign(this, props);
|
|
71
76
|
}
|
|
@@ -88,6 +93,12 @@ __decorate([
|
|
|
88
93
|
(0, class_transformer_1.Type)(() => PersonTranslationsDto),
|
|
89
94
|
__metadata("design:type", PersonTranslationsDto)
|
|
90
95
|
], PersonDto.prototype, "translations", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, class_validator_1.IsOptional)(),
|
|
98
|
+
(0, class_validator_1.IsBoolean)(),
|
|
99
|
+
(0, class_transformer_1.Transform)(({ obj, key }) => obj[key] === true || obj[key] === 'true'),
|
|
100
|
+
__metadata("design:type", Boolean)
|
|
101
|
+
], PersonDto.prototype, "removeImage", void 0);
|
|
91
102
|
/**
|
|
92
103
|
* A new manual order of one group's people.
|
|
93
104
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"person.dto.js","sourceRoot":"","sources":["../../src/foundation/person.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"person.dto.js","sourceRoot":"","sources":["../../src/foundation/person.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4H;AAC5H,6CAAwC;AACxC,yDAAoD;AAEpD,2DAAkD;AAClD,kDAA8C;AAE9C,MAAa,oBAAoB;IAKhC,QAAQ,CAAS;IAEjB,YAAY,KAAqC;QAChD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAVD,oDAUC;AALA;IAJC,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,oCAAoC,EAAE,CAAC;IAC7D,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,oCAAoC,EAAE,CAAC;IAC3D,IAAA,2BAAS,EAAC,GAAG,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,CAAC;IAChE,IAAA,aAAI,GAAE;;sDACU;AAOlB;;GAEG;AACH,MAAa,qBAAqB;IAIjC,EAAE,CAAuB;IAKzB,EAAE,CAAuB;IAKzB,EAAE,CAAuB;IAEzB,YAAY,KAAsC;QACjD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAnBD,sDAmBC;AAfA;IAHC,IAAA,2BAAS,EAAC,EAAE,OAAO,EAAE,kCAAkC,EAAE,CAAC;IAC1D,IAAA,gCAAc,EAAC,EAAE,OAAO,EAAE,kCAAkC,EAAE,CAAC;IAC/D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAoB,CAAC;8BAC7B,oBAAoB;iDAAC;AAKzB;IAHC,IAAA,2BAAS,EA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,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,EAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,IAAI,IAAI,GAAG,CAAC,GAAG,CAAC,KAAK,MAAM,CAAC;;8CAChD;AAOvB;;GAEG;AACH,MAAa,aAAc,SAAQ,kBAAO;IAEzC,KAAK,CAAc;IAEnB,YAAY,KAA8B;QACzC,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AARD,sCAQC;AANA;IADC,IAAA,wBAAM,EAAC,+BAAW,EAAE,EAAE,OAAO,EAAE,gCAAgC,EAAE,CAAC;;4CAChD"}
|
|
@@ -103,7 +103,8 @@ export declare class MagazineSeoDescriptionDto extends LanguageDto {
|
|
|
103
103
|
constructor(props?: Partial<MagazineSeoDescriptionDto>);
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
|
-
* The search and filters of the admin Magazines List.
|
|
106
|
+
* The search and filters of the admin Magazines List. The list's Availability filter is the two
|
|
107
|
+
* flags together, as for books: only physical, only PDF, both or neither.
|
|
107
108
|
*/
|
|
108
109
|
export declare class MagazineFilterDto {
|
|
109
110
|
/**
|
|
@@ -112,7 +113,7 @@ export declare class MagazineFilterDto {
|
|
|
112
113
|
phrase?: string;
|
|
113
114
|
status?: PublishStatus;
|
|
114
115
|
/**
|
|
115
|
-
* Whether the physical issue can be ordered.
|
|
116
|
+
* Whether the physical issue can be ordered. `false` also matches a Draft that leaves it unset.
|
|
116
117
|
*/
|
|
117
118
|
isAvailable?: boolean;
|
|
118
119
|
/**
|
|
@@ -247,7 +247,8 @@ __decorate([
|
|
|
247
247
|
__metadata("design:type", String)
|
|
248
248
|
], MagazineSeoDescriptionDto.prototype, "seoDescription", void 0);
|
|
249
249
|
/**
|
|
250
|
-
* The search and filters of the admin Magazines List.
|
|
250
|
+
* The search and filters of the admin Magazines List. The list's Availability filter is the two
|
|
251
|
+
* flags together, as for books: only physical, only PDF, both or neither.
|
|
251
252
|
*/
|
|
252
253
|
class MagazineFilterDto {
|
|
253
254
|
/**
|
|
@@ -256,7 +257,7 @@ class MagazineFilterDto {
|
|
|
256
257
|
phrase;
|
|
257
258
|
status;
|
|
258
259
|
/**
|
|
259
|
-
* Whether the physical issue can be ordered.
|
|
260
|
+
* Whether the physical issue can be ordered. `false` also matches a Draft that leaves it unset.
|
|
260
261
|
*/
|
|
261
262
|
isAvailable;
|
|
262
263
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magazine.dto.js","sourceRoot":"","sources":["../../src/magazine/magazine.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyH;AACzH,6CAAmD;AAEnD,sEAAiE;AACjE,wEAA+D;AAC/D,0DAAsD;AAEtD;;;;GAIG;AACH,MAAa,kBAAkB;IAK9B,KAAK,CAAU;IAEf;;OAEG;IAKH,OAAO,CAAU;IAEjB,YAAY,KAAmC;QAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAnBD,gDAmBC;AAdA;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,wCAAwC,EAAE,CAAC;IAC/D,IAAA,2BAAS,EAAC,GAAG,EAAE,EAAE,OAAO,EAAE,wCAAwC,EAAE,CAAC;IACrE,IAAA,aAAI,GAAE;;iDACQ;AASf;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,0CAA0C,EAAE,CAAC;IACjE,IAAA,2BAAS,EAAC,IAAI,EAAE,EAAE,OAAO,EAAE,0CAA0C,EAAE,CAAC;IACxE,IAAA,aAAI,GAAE;;mDACU;AAOlB;;;;GAIG;AACH,MAAa,sBAAsB;IAKlC,WAAW,CAAU;IAErB,YAAY,KAAuC;QAClD,M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AAS,GAAE;;sDACU;AAQtB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,EAAE,OAAO,EAAE,yBAAyB,EAAE,CAAC;IACjD,IAAA,kBAAS,GAAE;;iDACK"}
|
package/lib/order/order.dto.d.ts
CHANGED
|
@@ -79,13 +79,5 @@ export declare class OrderFilterDto {
|
|
|
79
79
|
*/
|
|
80
80
|
phrase?: string;
|
|
81
81
|
status?: OrderStatus;
|
|
82
|
-
/**
|
|
83
|
-
* Orders placed at or after this time, in UTC.
|
|
84
|
-
*/
|
|
85
|
-
from?: Date;
|
|
86
|
-
/**
|
|
87
|
-
* Orders placed at or before this time, in UTC.
|
|
88
|
-
*/
|
|
89
|
-
to?: Date;
|
|
90
82
|
constructor(props?: Partial<OrderFilterDto>);
|
|
91
83
|
}
|
package/lib/order/order.dto.js
CHANGED
|
@@ -249,14 +249,6 @@ class OrderFilterDto {
|
|
|
249
249
|
*/
|
|
250
250
|
phrase;
|
|
251
251
|
status;
|
|
252
|
-
/**
|
|
253
|
-
* Orders placed at or after this time, in UTC.
|
|
254
|
-
*/
|
|
255
|
-
from;
|
|
256
|
-
/**
|
|
257
|
-
* Orders placed at or before this time, in UTC.
|
|
258
|
-
*/
|
|
259
|
-
to;
|
|
260
252
|
constructor(props) {
|
|
261
253
|
Object.assign(this, props);
|
|
262
254
|
}
|
|
@@ -273,16 +265,4 @@ __decorate([
|
|
|
273
265
|
(0, class_validator_1.IsEnum)(order_enum_1.OrderStatus, { message: 'gnosa.validation.filter' }),
|
|
274
266
|
__metadata("design:type", String)
|
|
275
267
|
], OrderFilterDto.prototype, "status", void 0);
|
|
276
|
-
__decorate([
|
|
277
|
-
(0, class_validator_1.IsOptional)(),
|
|
278
|
-
(0, class_validator_1.IsDate)({ message: 'gnosa.validation.filter' }),
|
|
279
|
-
(0, transformers_helper_1.ToUtcDate)(),
|
|
280
|
-
__metadata("design:type", Date)
|
|
281
|
-
], OrderFilterDto.prototype, "from", void 0);
|
|
282
|
-
__decorate([
|
|
283
|
-
(0, class_validator_1.IsOptional)(),
|
|
284
|
-
(0, class_validator_1.IsDate)({ message: 'gnosa.validation.filter' }),
|
|
285
|
-
(0, transformers_helper_1.ToUtcDate)(),
|
|
286
|
-
__metadata("design:type", Date)
|
|
287
|
-
], OrderFilterDto.prototype, "to", void 0);
|
|
288
268
|
//# sourceMappingURL=order.dto.js.map
|