@misaina08/dto-lib 1.0.3 → 1.0.5
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/account.dto.d.ts +11 -0
- package/dist/account.dto.d.ts.map +1 -0
- package/dist/account.dto.js +10 -0
- package/dist/account.dto.js.map +1 -0
- package/dist/event.dto.d.ts +16 -16
- package/dist/event.dto.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.dto.d.ts","sourceRoot":"","sources":["../src/account.dto.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,QAAQ,IAAA;IACR,SAAS,IAAA;IACT,QAAQ,IAAA;CACT;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,eAAe,CAAC;CAC9B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccountTypeEnum = void 0;
|
|
4
|
+
var AccountTypeEnum;
|
|
5
|
+
(function (AccountTypeEnum) {
|
|
6
|
+
AccountTypeEnum[AccountTypeEnum["PROVIDER"] = 0] = "PROVIDER";
|
|
7
|
+
AccountTypeEnum[AccountTypeEnum["ORGANIZER"] = 1] = "ORGANIZER";
|
|
8
|
+
AccountTypeEnum[AccountTypeEnum["ATTENDEE"] = 2] = "ATTENDEE";
|
|
9
|
+
})(AccountTypeEnum || (exports.AccountTypeEnum = AccountTypeEnum = {}));
|
|
10
|
+
//# sourceMappingURL=account.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.dto.js","sourceRoot":"","sources":["../src/account.dto.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,6DAAQ,CAAA;IACR,+DAAS,CAAA;IACT,6DAAQ,CAAA;AACV,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B"}
|
package/dist/event.dto.d.ts
CHANGED
|
@@ -7,27 +7,27 @@ export interface EventResourceDto {
|
|
|
7
7
|
id: string;
|
|
8
8
|
title: string;
|
|
9
9
|
type: string;
|
|
10
|
-
|
|
10
|
+
eventId: string;
|
|
11
11
|
}
|
|
12
12
|
export interface EventDateDto {
|
|
13
13
|
id: string;
|
|
14
14
|
startDate: Date;
|
|
15
15
|
endDate: Date;
|
|
16
|
-
|
|
16
|
+
eventId: string;
|
|
17
17
|
}
|
|
18
18
|
export interface EventDto {
|
|
19
19
|
id: string;
|
|
20
|
-
|
|
20
|
+
ownerId: string;
|
|
21
21
|
status: string;
|
|
22
22
|
title: string;
|
|
23
23
|
summary: string;
|
|
24
24
|
description: string;
|
|
25
25
|
format: FormatEnum;
|
|
26
26
|
address: string;
|
|
27
|
-
|
|
27
|
+
maxAttendee: number;
|
|
28
28
|
category: CategoryDto;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
eventResources?: EventResourceDto[];
|
|
30
|
+
eventDates?: EventDateDto[];
|
|
31
31
|
}
|
|
32
32
|
export interface CreateCategoryDto {
|
|
33
33
|
name: string;
|
|
@@ -35,33 +35,33 @@ export interface CreateCategoryDto {
|
|
|
35
35
|
export interface CreateEventResourceDto {
|
|
36
36
|
title: string;
|
|
37
37
|
type: string;
|
|
38
|
-
|
|
38
|
+
eventId: string;
|
|
39
39
|
}
|
|
40
40
|
export interface CreateEventDto {
|
|
41
|
-
|
|
41
|
+
ownerId: string;
|
|
42
42
|
status: string;
|
|
43
43
|
title: string;
|
|
44
44
|
summary: string;
|
|
45
45
|
description: string;
|
|
46
|
-
|
|
46
|
+
locationType: FormatEnum;
|
|
47
47
|
address: string;
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
categoryId: string;
|
|
49
|
+
maxAttendee: number;
|
|
50
50
|
}
|
|
51
51
|
export interface UpdateEventResourceDto {
|
|
52
52
|
title?: string;
|
|
53
53
|
type?: string;
|
|
54
|
-
|
|
54
|
+
eventId?: string;
|
|
55
55
|
}
|
|
56
56
|
export interface UpdateEventDto {
|
|
57
|
-
|
|
57
|
+
ownerId?: string;
|
|
58
58
|
status?: string;
|
|
59
59
|
title?: string;
|
|
60
60
|
summary?: string;
|
|
61
61
|
description?: string;
|
|
62
|
-
|
|
62
|
+
locationType?: FormatEnum;
|
|
63
63
|
address?: string;
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
categoryId?: string;
|
|
65
|
+
maxAttendee?: number;
|
|
66
66
|
}
|
|
67
67
|
//# sourceMappingURL=event.dto.d.ts.map
|
package/dist/event.dto.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.dto.d.ts","sourceRoot":"","sources":["../src/event.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,
|
|
1
|
+
{"version":3,"file":"event.dto.d.ts","sourceRoot":"","sources":["../src/event.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC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AE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./enums/format.enum"), exports);
|
|
18
18
|
__exportStar(require("./event.dto"), exports);
|
|
19
|
+
__exportStar(require("./account.dto"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,8CAA4B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,8CAA4B;AAC5B,gDAA8B"}
|