expo-backend-types 0.9.0-EXPO-247-EB-Evento.1 → 0.9.0-EXPO-249-EB-Modelo.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/account/dto/account.dto.d.ts +6 -4
- package/dist/src/account/dto/create-account.dto.d.ts +12 -8
- package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
- package/dist/src/account/dto/get-me.dto.d.ts +6 -4
- package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
- package/dist/src/auth/dto/login.dto.d.ts +11 -8
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
- package/dist/src/event/exports.d.ts +0 -5
- package/dist/src/event/exports.js +0 -5
- package/dist/src/event-folder/dto/update-event-folder.dto.d.ts +17 -14
- package/dist/src/event-folder/dto/update-event-folder.dto.js +2 -4
- package/dist/src/i18n/es.d.ts +40 -15
- package/dist/src/i18n/es.js +40 -15
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/profile/dto/create-profile.dto.d.ts +694 -0
- package/dist/src/profile/dto/create-profile.dto.js +84 -0
- package/dist/src/profile/dto/delete-profile.dto.d.ts +125 -0
- package/dist/src/profile/dto/delete-profile.dto.js +10 -0
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +410 -0
- package/dist/src/profile/dto/find-all-profile.dto.js +25 -0
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +655 -0
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +34 -0
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +475 -0
- package/dist/src/profile/dto/find-by-id-profile.dto.js +27 -0
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +125 -0
- package/dist/src/profile/dto/find-by-phone-number.dto.js +10 -0
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +337 -0
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +19 -0
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +393 -0
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +24 -0
- package/dist/src/profile/dto/find-trash.dto.d.ts +110 -0
- package/dist/src/profile/dto/find-trash.dto.js +24 -0
- package/dist/src/profile/dto/profile.dto.d.ts +5 -5
- package/dist/src/profile/dto/profile.dto.js +7 -3
- package/dist/src/profile/dto/update-profile.dto.d.ts +360 -0
- package/dist/src/profile/dto/update-profile.dto.js +55 -0
- package/dist/src/profile/exports.d.ts +10 -0
- package/dist/src/profile/exports.js +10 -0
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +16 -16
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +16 -16
- package/dist/types/prisma-schema/edge.js +5 -4
- package/dist/types/prisma-schema/index-browser.js +2 -1
- package/dist/types/prisma-schema/index.d.ts +9 -2
- package/dist/types/prisma-schema/index.js +5 -4
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +2 -0
- package/dist/types/prisma-schema/wasm.js +2 -1
- package/dist/types/schema.d.ts +587 -154
- package/package.json +4 -1
- package/dist/src/event/dto/create-event.dto.d.ts +0 -126
- package/dist/src/event/dto/create-event.dto.js +0 -22
- package/dist/src/event/dto/delete-event.dto.d.ts +0 -71
- package/dist/src/event/dto/delete-event.dto.js +0 -10
- package/dist/src/event/dto/get-all-event.dto.d.ts +0 -223
- package/dist/src/event/dto/get-all-event.dto.js +0 -19
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +0 -139
- package/dist/src/event/dto/get-by-id-event.dto.js +0 -17
- package/dist/src/event/dto/update-event.dto.d.ts +0 -126
- package/dist/src/event/dto/update-event.dto.js +0 -22
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.9.0-EXPO-
|
3
|
+
"version": "0.9.0-EXPO-249-EB-Modelo.8",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -54,6 +54,7 @@
|
|
54
54
|
"openapi3-ts": "^4.4.0",
|
55
55
|
"patch-package": "^8.0.0",
|
56
56
|
"reflect-metadata": "^0.2.0",
|
57
|
+
"string-comparison": "^1.3.0",
|
57
58
|
"zod": "^3.23.8"
|
58
59
|
},
|
59
60
|
"devDependencies": {
|
@@ -67,6 +68,7 @@
|
|
67
68
|
"@types/express": "^4.17.17",
|
68
69
|
"@types/jest": "^29.5.2",
|
69
70
|
"@types/json-to-pretty-yaml": "^1.2.1",
|
71
|
+
"@types/luxon": "^3.4.2",
|
70
72
|
"@types/node": "^20.3.1",
|
71
73
|
"@types/supertest": "^6.0.0",
|
72
74
|
"@typescript-eslint/eslint-plugin": "^8.8.0",
|
@@ -79,6 +81,7 @@
|
|
79
81
|
"husky": "^9.0.11",
|
80
82
|
"jest": "^29.5.0",
|
81
83
|
"lint-staged": "^15.2.5",
|
84
|
+
"luxon": "^3.5.0",
|
82
85
|
"openapi-typescript": "^7.0.0-rc.0",
|
83
86
|
"prettier": "^3.0.0",
|
84
87
|
"prisma": "^5.14.0",
|
@@ -1,126 +0,0 @@
|
|
1
|
-
export declare const createEventSchema: import("zod").ZodObject<Pick<{
|
2
|
-
id: import("zod").ZodString;
|
3
|
-
name: import("zod").ZodString;
|
4
|
-
date: import("zod").ZodDate;
|
5
|
-
location: import("zod").ZodString;
|
6
|
-
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
7
|
-
tagAssistedId: import("zod").ZodString;
|
8
|
-
tagConfirmedId: import("zod").ZodString;
|
9
|
-
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
10
|
-
created_at: import("zod").ZodDate;
|
11
|
-
updated_at: import("zod").ZodDate;
|
12
|
-
}, "location" | "name" | "date" | "folderId" | "tagAssistedId" | "tagConfirmedId" | "supraEventId">, "strip", import("zod").ZodTypeAny, {
|
13
|
-
location: string;
|
14
|
-
name: string;
|
15
|
-
date: Date;
|
16
|
-
folderId: string | null;
|
17
|
-
tagAssistedId: string;
|
18
|
-
tagConfirmedId: string;
|
19
|
-
supraEventId: string | null;
|
20
|
-
}, {
|
21
|
-
location: string;
|
22
|
-
name: string;
|
23
|
-
date: Date;
|
24
|
-
folderId: string | null;
|
25
|
-
tagAssistedId: string;
|
26
|
-
tagConfirmedId: string;
|
27
|
-
supraEventId: string | null;
|
28
|
-
}>;
|
29
|
-
declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
30
|
-
location: import("zod").ZodString;
|
31
|
-
name: import("zod").ZodString;
|
32
|
-
date: import("zod").ZodString;
|
33
|
-
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
34
|
-
tagAssistedId: import("zod").ZodString;
|
35
|
-
tagConfirmedId: import("zod").ZodString;
|
36
|
-
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
37
|
-
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
38
|
-
location: string;
|
39
|
-
name: string;
|
40
|
-
date: string;
|
41
|
-
folderId: string | null;
|
42
|
-
tagAssistedId: string;
|
43
|
-
tagConfirmedId: string;
|
44
|
-
supraEventId: string | null;
|
45
|
-
}, {
|
46
|
-
location: string;
|
47
|
-
name: string;
|
48
|
-
date: string;
|
49
|
-
folderId: string | null;
|
50
|
-
tagAssistedId: string;
|
51
|
-
tagConfirmedId: string;
|
52
|
-
supraEventId: string | null;
|
53
|
-
}>>;
|
54
|
-
export declare class CreateEventDto extends CreateEventDto_base {
|
55
|
-
}
|
56
|
-
export declare const createEventResponseSchema: import("zod").ZodObject<{
|
57
|
-
id: import("zod").ZodString;
|
58
|
-
name: import("zod").ZodString;
|
59
|
-
date: import("zod").ZodDate;
|
60
|
-
location: import("zod").ZodString;
|
61
|
-
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
62
|
-
tagAssistedId: import("zod").ZodString;
|
63
|
-
tagConfirmedId: import("zod").ZodString;
|
64
|
-
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
65
|
-
created_at: import("zod").ZodDate;
|
66
|
-
updated_at: import("zod").ZodDate;
|
67
|
-
}, "strip", import("zod").ZodTypeAny, {
|
68
|
-
location: string;
|
69
|
-
id: string;
|
70
|
-
name: string;
|
71
|
-
date: Date;
|
72
|
-
created_at: Date;
|
73
|
-
updated_at: Date;
|
74
|
-
folderId: string | null;
|
75
|
-
tagAssistedId: string;
|
76
|
-
tagConfirmedId: string;
|
77
|
-
supraEventId: string | null;
|
78
|
-
}, {
|
79
|
-
location: string;
|
80
|
-
id: string;
|
81
|
-
name: string;
|
82
|
-
date: Date;
|
83
|
-
created_at: Date;
|
84
|
-
updated_at: Date;
|
85
|
-
folderId: string | null;
|
86
|
-
tagAssistedId: string;
|
87
|
-
tagConfirmedId: string;
|
88
|
-
supraEventId: string | null;
|
89
|
-
}>;
|
90
|
-
declare const CreateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
91
|
-
id: import("zod").ZodString;
|
92
|
-
name: import("zod").ZodString;
|
93
|
-
date: import("zod").ZodString;
|
94
|
-
location: import("zod").ZodString;
|
95
|
-
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
96
|
-
tagAssistedId: import("zod").ZodString;
|
97
|
-
tagConfirmedId: import("zod").ZodString;
|
98
|
-
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
99
|
-
created_at: import("zod").ZodString;
|
100
|
-
updated_at: import("zod").ZodString;
|
101
|
-
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
102
|
-
location: string;
|
103
|
-
id: string;
|
104
|
-
name: string;
|
105
|
-
date: string;
|
106
|
-
created_at: string;
|
107
|
-
updated_at: string;
|
108
|
-
folderId: string | null;
|
109
|
-
tagAssistedId: string;
|
110
|
-
tagConfirmedId: string;
|
111
|
-
supraEventId: string | null;
|
112
|
-
}, {
|
113
|
-
location: string;
|
114
|
-
id: string;
|
115
|
-
name: string;
|
116
|
-
date: string;
|
117
|
-
created_at: string;
|
118
|
-
updated_at: string;
|
119
|
-
folderId: string | null;
|
120
|
-
tagAssistedId: string;
|
121
|
-
tagConfirmedId: string;
|
122
|
-
supraEventId: string | null;
|
123
|
-
}>>;
|
124
|
-
export declare class CreateEventResponseDto extends CreateEventResponseDto_base {
|
125
|
-
}
|
126
|
-
export {};
|
@@ -1,22 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CreateEventResponseDto = exports.createEventResponseSchema = exports.CreateEventDto = exports.createEventSchema = void 0;
|
4
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
-
const event_dto_1 = require("./event.dto");
|
6
|
-
exports.createEventSchema = event_dto_1.eventSchema.pick({
|
7
|
-
name: true,
|
8
|
-
date: true,
|
9
|
-
location: true,
|
10
|
-
folderId: true,
|
11
|
-
tagAssistedId: true,
|
12
|
-
tagConfirmedId: true,
|
13
|
-
supraEventId: true,
|
14
|
-
});
|
15
|
-
class CreateEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createEventSchema) {
|
16
|
-
}
|
17
|
-
exports.CreateEventDto = CreateEventDto;
|
18
|
-
exports.createEventResponseSchema = event_dto_1.eventSchema;
|
19
|
-
class CreateEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createEventResponseSchema) {
|
20
|
-
}
|
21
|
-
exports.CreateEventResponseDto = CreateEventResponseDto;
|
22
|
-
//# sourceMappingURL=create-event.dto.js.map
|
@@ -1,71 +0,0 @@
|
|
1
|
-
export declare const deleteEventResponseSchema: import("zod").ZodObject<{
|
2
|
-
id: import("zod").ZodString;
|
3
|
-
name: import("zod").ZodString;
|
4
|
-
date: import("zod").ZodDate;
|
5
|
-
location: import("zod").ZodString;
|
6
|
-
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
7
|
-
tagAssistedId: import("zod").ZodString;
|
8
|
-
tagConfirmedId: import("zod").ZodString;
|
9
|
-
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
10
|
-
created_at: import("zod").ZodDate;
|
11
|
-
updated_at: import("zod").ZodDate;
|
12
|
-
}, "strip", import("zod").ZodTypeAny, {
|
13
|
-
location: string;
|
14
|
-
id: string;
|
15
|
-
name: string;
|
16
|
-
date: Date;
|
17
|
-
created_at: Date;
|
18
|
-
updated_at: Date;
|
19
|
-
folderId: string | null;
|
20
|
-
tagAssistedId: string;
|
21
|
-
tagConfirmedId: string;
|
22
|
-
supraEventId: string | null;
|
23
|
-
}, {
|
24
|
-
location: string;
|
25
|
-
id: string;
|
26
|
-
name: string;
|
27
|
-
date: Date;
|
28
|
-
created_at: Date;
|
29
|
-
updated_at: Date;
|
30
|
-
folderId: string | null;
|
31
|
-
tagAssistedId: string;
|
32
|
-
tagConfirmedId: string;
|
33
|
-
supraEventId: string | null;
|
34
|
-
}>;
|
35
|
-
declare const DeleteEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
36
|
-
id: import("zod").ZodString;
|
37
|
-
name: import("zod").ZodString;
|
38
|
-
date: import("zod").ZodString;
|
39
|
-
location: import("zod").ZodString;
|
40
|
-
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
41
|
-
tagAssistedId: import("zod").ZodString;
|
42
|
-
tagConfirmedId: import("zod").ZodString;
|
43
|
-
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
44
|
-
created_at: import("zod").ZodString;
|
45
|
-
updated_at: import("zod").ZodString;
|
46
|
-
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
47
|
-
location: string;
|
48
|
-
id: string;
|
49
|
-
name: string;
|
50
|
-
date: string;
|
51
|
-
created_at: string;
|
52
|
-
updated_at: string;
|
53
|
-
folderId: string | null;
|
54
|
-
tagAssistedId: string;
|
55
|
-
tagConfirmedId: string;
|
56
|
-
supraEventId: string | null;
|
57
|
-
}, {
|
58
|
-
location: string;
|
59
|
-
id: string;
|
60
|
-
name: string;
|
61
|
-
date: string;
|
62
|
-
created_at: string;
|
63
|
-
updated_at: string;
|
64
|
-
folderId: string | null;
|
65
|
-
tagAssistedId: string;
|
66
|
-
tagConfirmedId: string;
|
67
|
-
supraEventId: string | null;
|
68
|
-
}>>;
|
69
|
-
export declare class DeleteEventResponseDto extends DeleteEventResponseDto_base {
|
70
|
-
}
|
71
|
-
export {};
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DeleteEventResponseDto = exports.deleteEventResponseSchema = void 0;
|
4
|
-
const event_dto_1 = require("./event.dto");
|
5
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
-
exports.deleteEventResponseSchema = event_dto_1.eventSchema;
|
7
|
-
class DeleteEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteEventResponseSchema) {
|
8
|
-
}
|
9
|
-
exports.DeleteEventResponseDto = DeleteEventResponseDto;
|
10
|
-
//# sourceMappingURL=delete-event.dto.js.map
|
@@ -1,223 +0,0 @@
|
|
1
|
-
import z from 'zod';
|
2
|
-
export declare const getAllEventsResponseSchema: z.ZodObject<{
|
3
|
-
events: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4
|
-
id: z.ZodString;
|
5
|
-
name: z.ZodString;
|
6
|
-
date: z.ZodDate;
|
7
|
-
location: z.ZodString;
|
8
|
-
folderId: z.ZodNullable<z.ZodString>;
|
9
|
-
tagAssistedId: z.ZodString;
|
10
|
-
tagConfirmedId: z.ZodString;
|
11
|
-
supraEventId: z.ZodNullable<z.ZodString>;
|
12
|
-
created_at: z.ZodDate;
|
13
|
-
updated_at: z.ZodDate;
|
14
|
-
}, {
|
15
|
-
folder: z.ZodNullable<z.ZodObject<{
|
16
|
-
id: z.ZodString;
|
17
|
-
name: z.ZodString;
|
18
|
-
color: z.ZodString;
|
19
|
-
created_at: z.ZodDate;
|
20
|
-
updated_at: z.ZodDate;
|
21
|
-
}, "strip", z.ZodTypeAny, {
|
22
|
-
id: string;
|
23
|
-
name: string;
|
24
|
-
color: string;
|
25
|
-
created_at: Date;
|
26
|
-
updated_at: Date;
|
27
|
-
}, {
|
28
|
-
id: string;
|
29
|
-
name: string;
|
30
|
-
color: string;
|
31
|
-
created_at: Date;
|
32
|
-
updated_at: Date;
|
33
|
-
}>>;
|
34
|
-
}>, "strip", z.ZodTypeAny, {
|
35
|
-
location: string;
|
36
|
-
id: string;
|
37
|
-
name: string;
|
38
|
-
date: Date;
|
39
|
-
created_at: Date;
|
40
|
-
updated_at: Date;
|
41
|
-
folderId: string | null;
|
42
|
-
tagAssistedId: string;
|
43
|
-
tagConfirmedId: string;
|
44
|
-
supraEventId: string | null;
|
45
|
-
folder: {
|
46
|
-
id: string;
|
47
|
-
name: string;
|
48
|
-
color: string;
|
49
|
-
created_at: Date;
|
50
|
-
updated_at: Date;
|
51
|
-
} | null;
|
52
|
-
}, {
|
53
|
-
location: string;
|
54
|
-
id: string;
|
55
|
-
name: string;
|
56
|
-
date: Date;
|
57
|
-
created_at: Date;
|
58
|
-
updated_at: Date;
|
59
|
-
folderId: string | null;
|
60
|
-
tagAssistedId: string;
|
61
|
-
tagConfirmedId: string;
|
62
|
-
supraEventId: string | null;
|
63
|
-
folder: {
|
64
|
-
id: string;
|
65
|
-
name: string;
|
66
|
-
color: string;
|
67
|
-
created_at: Date;
|
68
|
-
updated_at: Date;
|
69
|
-
} | null;
|
70
|
-
}>, "many">;
|
71
|
-
}, "strip", z.ZodTypeAny, {
|
72
|
-
events: {
|
73
|
-
location: string;
|
74
|
-
id: string;
|
75
|
-
name: string;
|
76
|
-
date: Date;
|
77
|
-
created_at: Date;
|
78
|
-
updated_at: Date;
|
79
|
-
folderId: string | null;
|
80
|
-
tagAssistedId: string;
|
81
|
-
tagConfirmedId: string;
|
82
|
-
supraEventId: string | null;
|
83
|
-
folder: {
|
84
|
-
id: string;
|
85
|
-
name: string;
|
86
|
-
color: string;
|
87
|
-
created_at: Date;
|
88
|
-
updated_at: Date;
|
89
|
-
} | null;
|
90
|
-
}[];
|
91
|
-
}, {
|
92
|
-
events: {
|
93
|
-
location: string;
|
94
|
-
id: string;
|
95
|
-
name: string;
|
96
|
-
date: Date;
|
97
|
-
created_at: Date;
|
98
|
-
updated_at: Date;
|
99
|
-
folderId: string | null;
|
100
|
-
tagAssistedId: string;
|
101
|
-
tagConfirmedId: string;
|
102
|
-
supraEventId: string | null;
|
103
|
-
folder: {
|
104
|
-
id: string;
|
105
|
-
name: string;
|
106
|
-
color: string;
|
107
|
-
created_at: Date;
|
108
|
-
updated_at: Date;
|
109
|
-
} | null;
|
110
|
-
}[];
|
111
|
-
}>;
|
112
|
-
declare const GetAllEventsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
113
|
-
events: z.ZodArray<z.ZodObject<{
|
114
|
-
id: z.ZodString;
|
115
|
-
name: z.ZodString;
|
116
|
-
date: z.ZodString;
|
117
|
-
location: z.ZodString;
|
118
|
-
folderId: z.ZodNullable<z.ZodString>;
|
119
|
-
tagAssistedId: z.ZodString;
|
120
|
-
tagConfirmedId: z.ZodString;
|
121
|
-
supraEventId: z.ZodNullable<z.ZodString>;
|
122
|
-
created_at: z.ZodString;
|
123
|
-
updated_at: z.ZodString;
|
124
|
-
folder: z.ZodNullable<z.ZodObject<{
|
125
|
-
id: z.ZodString;
|
126
|
-
name: z.ZodString;
|
127
|
-
color: z.ZodString;
|
128
|
-
created_at: z.ZodString;
|
129
|
-
updated_at: z.ZodString;
|
130
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
131
|
-
id: string;
|
132
|
-
name: string;
|
133
|
-
color: string;
|
134
|
-
created_at: string;
|
135
|
-
updated_at: string;
|
136
|
-
}, {
|
137
|
-
id: string;
|
138
|
-
name: string;
|
139
|
-
color: string;
|
140
|
-
created_at: string;
|
141
|
-
updated_at: string;
|
142
|
-
}>>;
|
143
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
144
|
-
location: string;
|
145
|
-
id: string;
|
146
|
-
name: string;
|
147
|
-
date: string;
|
148
|
-
created_at: string;
|
149
|
-
updated_at: string;
|
150
|
-
folderId: string | null;
|
151
|
-
tagAssistedId: string;
|
152
|
-
tagConfirmedId: string;
|
153
|
-
supraEventId: string | null;
|
154
|
-
folder: {
|
155
|
-
id: string;
|
156
|
-
name: string;
|
157
|
-
color: string;
|
158
|
-
created_at: string;
|
159
|
-
updated_at: string;
|
160
|
-
} | null;
|
161
|
-
}, {
|
162
|
-
location: string;
|
163
|
-
id: string;
|
164
|
-
name: string;
|
165
|
-
date: string;
|
166
|
-
created_at: string;
|
167
|
-
updated_at: string;
|
168
|
-
folderId: string | null;
|
169
|
-
tagAssistedId: string;
|
170
|
-
tagConfirmedId: string;
|
171
|
-
supraEventId: string | null;
|
172
|
-
folder: {
|
173
|
-
id: string;
|
174
|
-
name: string;
|
175
|
-
color: string;
|
176
|
-
created_at: string;
|
177
|
-
updated_at: string;
|
178
|
-
} | null;
|
179
|
-
}>, "many">;
|
180
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
181
|
-
events: {
|
182
|
-
location: string;
|
183
|
-
id: string;
|
184
|
-
name: string;
|
185
|
-
date: string;
|
186
|
-
created_at: string;
|
187
|
-
updated_at: string;
|
188
|
-
folderId: string | null;
|
189
|
-
tagAssistedId: string;
|
190
|
-
tagConfirmedId: string;
|
191
|
-
supraEventId: string | null;
|
192
|
-
folder: {
|
193
|
-
id: string;
|
194
|
-
name: string;
|
195
|
-
color: string;
|
196
|
-
created_at: string;
|
197
|
-
updated_at: string;
|
198
|
-
} | null;
|
199
|
-
}[];
|
200
|
-
}, {
|
201
|
-
events: {
|
202
|
-
location: string;
|
203
|
-
id: string;
|
204
|
-
name: string;
|
205
|
-
date: string;
|
206
|
-
created_at: string;
|
207
|
-
updated_at: string;
|
208
|
-
folderId: string | null;
|
209
|
-
tagAssistedId: string;
|
210
|
-
tagConfirmedId: string;
|
211
|
-
supraEventId: string | null;
|
212
|
-
folder: {
|
213
|
-
id: string;
|
214
|
-
name: string;
|
215
|
-
color: string;
|
216
|
-
created_at: string;
|
217
|
-
updated_at: string;
|
218
|
-
} | null;
|
219
|
-
}[];
|
220
|
-
}>>;
|
221
|
-
export declare class GetAllEventsResponseDto extends GetAllEventsResponseDto_base {
|
222
|
-
}
|
223
|
-
export {};
|
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.GetAllEventsResponseDto = exports.getAllEventsResponseSchema = void 0;
|
7
|
-
const event_folder_dto_1 = require("../../event-folder/dto/event-folder.dto");
|
8
|
-
const event_dto_1 = require("./event.dto");
|
9
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
|
-
const zod_1 = __importDefault(require("zod"));
|
11
|
-
exports.getAllEventsResponseSchema = zod_1.default.object({
|
12
|
-
events: zod_1.default.array(event_dto_1.eventSchema.merge(zod_1.default.object({
|
13
|
-
folder: event_folder_dto_1.eventFolderSchema.nullable(),
|
14
|
-
}))),
|
15
|
-
});
|
16
|
-
class GetAllEventsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getAllEventsResponseSchema) {
|
17
|
-
}
|
18
|
-
exports.GetAllEventsResponseDto = GetAllEventsResponseDto;
|
19
|
-
//# sourceMappingURL=get-all-event.dto.js.map
|
@@ -1,139 +0,0 @@
|
|
1
|
-
import z from 'zod';
|
2
|
-
export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
3
|
-
id: z.ZodString;
|
4
|
-
name: z.ZodString;
|
5
|
-
date: z.ZodDate;
|
6
|
-
location: z.ZodString;
|
7
|
-
folderId: z.ZodNullable<z.ZodString>;
|
8
|
-
tagAssistedId: z.ZodString;
|
9
|
-
tagConfirmedId: z.ZodString;
|
10
|
-
supraEventId: z.ZodNullable<z.ZodString>;
|
11
|
-
created_at: z.ZodDate;
|
12
|
-
updated_at: z.ZodDate;
|
13
|
-
}, {
|
14
|
-
folder: z.ZodNullable<z.ZodObject<{
|
15
|
-
id: z.ZodString;
|
16
|
-
name: z.ZodString;
|
17
|
-
color: z.ZodString;
|
18
|
-
created_at: z.ZodDate;
|
19
|
-
updated_at: z.ZodDate;
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
21
|
-
id: string;
|
22
|
-
name: string;
|
23
|
-
color: string;
|
24
|
-
created_at: Date;
|
25
|
-
updated_at: Date;
|
26
|
-
}, {
|
27
|
-
id: string;
|
28
|
-
name: string;
|
29
|
-
color: string;
|
30
|
-
created_at: Date;
|
31
|
-
updated_at: Date;
|
32
|
-
}>>;
|
33
|
-
}>, "strip", z.ZodTypeAny, {
|
34
|
-
location: string;
|
35
|
-
id: string;
|
36
|
-
name: string;
|
37
|
-
date: Date;
|
38
|
-
created_at: Date;
|
39
|
-
updated_at: Date;
|
40
|
-
folderId: string | null;
|
41
|
-
tagAssistedId: string;
|
42
|
-
tagConfirmedId: string;
|
43
|
-
supraEventId: string | null;
|
44
|
-
folder: {
|
45
|
-
id: string;
|
46
|
-
name: string;
|
47
|
-
color: string;
|
48
|
-
created_at: Date;
|
49
|
-
updated_at: Date;
|
50
|
-
} | null;
|
51
|
-
}, {
|
52
|
-
location: string;
|
53
|
-
id: string;
|
54
|
-
name: string;
|
55
|
-
date: Date;
|
56
|
-
created_at: Date;
|
57
|
-
updated_at: Date;
|
58
|
-
folderId: string | null;
|
59
|
-
tagAssistedId: string;
|
60
|
-
tagConfirmedId: string;
|
61
|
-
supraEventId: string | null;
|
62
|
-
folder: {
|
63
|
-
id: string;
|
64
|
-
name: string;
|
65
|
-
color: string;
|
66
|
-
created_at: Date;
|
67
|
-
updated_at: Date;
|
68
|
-
} | null;
|
69
|
-
}>;
|
70
|
-
declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
71
|
-
id: z.ZodString;
|
72
|
-
name: z.ZodString;
|
73
|
-
date: z.ZodString;
|
74
|
-
location: z.ZodString;
|
75
|
-
folderId: z.ZodNullable<z.ZodString>;
|
76
|
-
tagAssistedId: z.ZodString;
|
77
|
-
tagConfirmedId: z.ZodString;
|
78
|
-
supraEventId: z.ZodNullable<z.ZodString>;
|
79
|
-
created_at: z.ZodString;
|
80
|
-
updated_at: z.ZodString;
|
81
|
-
folder: z.ZodNullable<z.ZodObject<{
|
82
|
-
id: z.ZodString;
|
83
|
-
name: z.ZodString;
|
84
|
-
color: z.ZodString;
|
85
|
-
created_at: z.ZodString;
|
86
|
-
updated_at: z.ZodString;
|
87
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
88
|
-
id: string;
|
89
|
-
name: string;
|
90
|
-
color: string;
|
91
|
-
created_at: string;
|
92
|
-
updated_at: string;
|
93
|
-
}, {
|
94
|
-
id: string;
|
95
|
-
name: string;
|
96
|
-
color: string;
|
97
|
-
created_at: string;
|
98
|
-
updated_at: string;
|
99
|
-
}>>;
|
100
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
101
|
-
location: string;
|
102
|
-
id: string;
|
103
|
-
name: string;
|
104
|
-
date: string;
|
105
|
-
created_at: string;
|
106
|
-
updated_at: string;
|
107
|
-
folderId: string | null;
|
108
|
-
tagAssistedId: string;
|
109
|
-
tagConfirmedId: string;
|
110
|
-
supraEventId: string | null;
|
111
|
-
folder: {
|
112
|
-
id: string;
|
113
|
-
name: string;
|
114
|
-
color: string;
|
115
|
-
created_at: string;
|
116
|
-
updated_at: string;
|
117
|
-
} | null;
|
118
|
-
}, {
|
119
|
-
location: string;
|
120
|
-
id: string;
|
121
|
-
name: string;
|
122
|
-
date: string;
|
123
|
-
created_at: string;
|
124
|
-
updated_at: string;
|
125
|
-
folderId: string | null;
|
126
|
-
tagAssistedId: string;
|
127
|
-
tagConfirmedId: string;
|
128
|
-
supraEventId: string | null;
|
129
|
-
folder: {
|
130
|
-
id: string;
|
131
|
-
name: string;
|
132
|
-
color: string;
|
133
|
-
created_at: string;
|
134
|
-
updated_at: string;
|
135
|
-
} | null;
|
136
|
-
}>>;
|
137
|
-
export declare class GetByIdEventResponseDto extends GetByIdEventResponseDto_base {
|
138
|
-
}
|
139
|
-
export {};
|
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.GetByIdEventResponseDto = exports.getByIdEventResponseSchema = void 0;
|
7
|
-
const event_folder_dto_1 = require("../../event-folder/dto/event-folder.dto");
|
8
|
-
const event_dto_1 = require("./event.dto");
|
9
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
|
-
const zod_1 = __importDefault(require("zod"));
|
11
|
-
exports.getByIdEventResponseSchema = event_dto_1.eventSchema.merge(zod_1.default.object({
|
12
|
-
folder: event_folder_dto_1.eventFolderSchema.nullable(),
|
13
|
-
}));
|
14
|
-
class GetByIdEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getByIdEventResponseSchema) {
|
15
|
-
}
|
16
|
-
exports.GetByIdEventResponseDto = GetByIdEventResponseDto;
|
17
|
-
//# sourceMappingURL=get-by-id-event.dto.js.map
|