@misaina08/dto-lib 1.0.0 → 1.0.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/dist/enums/format.enum.d.ts +6 -0
- package/dist/enums/format.enum.d.ts.map +1 -0
- package/dist/enums/format.enum.js +10 -0
- package/dist/enums/format.enum.js.map +1 -0
- package/dist/event.dto.d.ts +14 -9
- package/dist/event.dto.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -1
- package/dist/enums/location-type.enum.d.ts +0 -6
- package/dist/enums/location-type.enum.d.ts.map +0 -1
- package/dist/enums/location-type.enum.js +0 -10
- package/dist/enums/location-type.enum.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format.enum.d.ts","sourceRoot":"","sources":["../../src/enums/format.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACpB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,SAAS,cAAc;CACxB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FormatEnum = void 0;
|
|
4
|
+
var FormatEnum;
|
|
5
|
+
(function (FormatEnum) {
|
|
6
|
+
FormatEnum["VIRTUAL"] = "VIRTUAL";
|
|
7
|
+
FormatEnum["DIFFERED"] = "DIFFERED";
|
|
8
|
+
FormatEnum["IN_PERSON"] = "IN_PERSON";
|
|
9
|
+
})(FormatEnum || (exports.FormatEnum = FormatEnum = {}));
|
|
10
|
+
//# sourceMappingURL=format.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format.enum.js","sourceRoot":"","sources":["../../src/enums/format.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,mCAAqB,CAAA;IACrB,qCAAuB,CAAA;AACzB,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB"}
|
package/dist/event.dto.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FormatEnum } from './enums/format.enum';
|
|
2
2
|
export interface CategoryDto {
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
@@ -7,7 +7,12 @@ export interface EventResourceDto {
|
|
|
7
7
|
id: string;
|
|
8
8
|
title: string;
|
|
9
9
|
type: string;
|
|
10
|
-
|
|
10
|
+
event_id: string;
|
|
11
|
+
}
|
|
12
|
+
export interface EventDateDto {
|
|
13
|
+
id: string;
|
|
14
|
+
date: Date;
|
|
15
|
+
event_id: string;
|
|
11
16
|
}
|
|
12
17
|
export interface EventDto {
|
|
13
18
|
id: string;
|
|
@@ -16,12 +21,12 @@ export interface EventDto {
|
|
|
16
21
|
title: string;
|
|
17
22
|
summary: string;
|
|
18
23
|
description: string;
|
|
19
|
-
|
|
24
|
+
format: FormatEnum;
|
|
20
25
|
address: string;
|
|
21
|
-
category_id: string;
|
|
22
26
|
max_attendee: number;
|
|
23
|
-
category
|
|
27
|
+
category: CategoryDto;
|
|
24
28
|
event_resources?: EventResourceDto[];
|
|
29
|
+
event_dates?: EventDateDto[];
|
|
25
30
|
}
|
|
26
31
|
export interface CreateCategoryDto {
|
|
27
32
|
name: string;
|
|
@@ -29,7 +34,7 @@ export interface CreateCategoryDto {
|
|
|
29
34
|
export interface CreateEventResourceDto {
|
|
30
35
|
title: string;
|
|
31
36
|
type: string;
|
|
32
|
-
|
|
37
|
+
event_id: string;
|
|
33
38
|
}
|
|
34
39
|
export interface CreateEventDto {
|
|
35
40
|
owner_id: string;
|
|
@@ -37,7 +42,7 @@ export interface CreateEventDto {
|
|
|
37
42
|
title: string;
|
|
38
43
|
summary: string;
|
|
39
44
|
description: string;
|
|
40
|
-
location_type:
|
|
45
|
+
location_type: FormatEnum;
|
|
41
46
|
address: string;
|
|
42
47
|
category_id: string;
|
|
43
48
|
max_attendee: number;
|
|
@@ -45,7 +50,7 @@ export interface CreateEventDto {
|
|
|
45
50
|
export interface UpdateEventResourceDto {
|
|
46
51
|
title?: string;
|
|
47
52
|
type?: string;
|
|
48
|
-
|
|
53
|
+
event_id?: string;
|
|
49
54
|
}
|
|
50
55
|
export interface UpdateEventDto {
|
|
51
56
|
owner_id?: string;
|
|
@@ -53,7 +58,7 @@ export interface UpdateEventDto {
|
|
|
53
58
|
title?: string;
|
|
54
59
|
summary?: string;
|
|
55
60
|
description?: string;
|
|
56
|
-
location_type?:
|
|
61
|
+
location_type?: FormatEnum;
|
|
57
62
|
address?: string;
|
|
58
63
|
category_id?: string;
|
|
59
64
|
max_attendee?: number;
|
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,
|
|
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,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,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AAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./enums/
|
|
17
|
+
__exportStar(require("./enums/format.enum"), exports);
|
|
18
18
|
__exportStar(require("./event.dto"), exports);
|
|
19
19
|
//# 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,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,8CAA4B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@misaina08/dto-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://github.com/kairos-wb/dto-lib#readme",
|
|
27
27
|
"devDependencies": {
|
|
28
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
29
|
+
"@semantic-release/git": "^10.0.1",
|
|
30
|
+
"semantic-release": "^24.2.9",
|
|
28
31
|
"typescript": "^5.9.3"
|
|
29
32
|
},
|
|
30
33
|
"dependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"location-type.enum.d.ts","sourceRoot":"","sources":["../../src/enums/location-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,MAAM,WAAW;IACjB,OAAO,aAAa;IACpB,OAAO,YAAY;CACpB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LocationTypeEnum = void 0;
|
|
4
|
-
var LocationTypeEnum;
|
|
5
|
-
(function (LocationTypeEnum) {
|
|
6
|
-
LocationTypeEnum["ONLINE"] = "ONLINE";
|
|
7
|
-
LocationTypeEnum["DIFFERE"] = "DIFFERED";
|
|
8
|
-
LocationTypeEnum["ON_SITE"] = "ON_SITE";
|
|
9
|
-
})(LocationTypeEnum || (exports.LocationTypeEnum = LocationTypeEnum = {}));
|
|
10
|
-
//# sourceMappingURL=location-type.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"location-type.enum.js","sourceRoot":"","sources":["../../src/enums/location-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,qCAAiB,CAAA;IACjB,wCAAoB,CAAA;IACpB,uCAAmB,CAAA;AACrB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B"}
|