expo-backend-types 0.13.0 → 0.14.0-EXPO-249-EB-Modelo.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.13.0",
3
+ "version": "0.14.0-EXPO-249-EB-Modelo.1",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -1,166 +0,0 @@
1
- import z from 'zod';
2
- export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
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
- }, "location" | "name" | "date" | "folderId">, {
14
- subEvents: z.ZodOptional<z.ZodArray<z.ZodObject<Pick<{
15
- id: z.ZodString;
16
- name: z.ZodString;
17
- date: z.ZodDate;
18
- location: z.ZodString;
19
- folderId: z.ZodNullable<z.ZodString>;
20
- tagAssistedId: z.ZodString;
21
- tagConfirmedId: z.ZodString;
22
- supraEventId: z.ZodNullable<z.ZodString>;
23
- created_at: z.ZodDate;
24
- updated_at: z.ZodDate;
25
- }, "location" | "name" | "date">, "strip", z.ZodTypeAny, {
26
- location: string;
27
- name: string;
28
- date: Date;
29
- }, {
30
- location: string;
31
- name: string;
32
- date: Date;
33
- }>, "many">>;
34
- }>, "strip", z.ZodTypeAny, {
35
- location: string;
36
- name: string;
37
- date: Date;
38
- folderId: string | null;
39
- subEvents?: {
40
- location: string;
41
- name: string;
42
- date: Date;
43
- }[] | undefined;
44
- }, {
45
- location: string;
46
- name: string;
47
- date: Date;
48
- folderId: string | null;
49
- subEvents?: {
50
- location: string;
51
- name: string;
52
- date: Date;
53
- }[] | undefined;
54
- }>;
55
- declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
56
- location: z.ZodString;
57
- name: z.ZodString;
58
- date: z.ZodString;
59
- folderId: z.ZodNullable<z.ZodString>;
60
- subEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
61
- location: z.ZodString;
62
- name: z.ZodString;
63
- date: z.ZodString;
64
- }, z.UnknownKeysParam, z.ZodTypeAny, {
65
- location: string;
66
- name: string;
67
- date: string;
68
- }, {
69
- location: string;
70
- name: string;
71
- date: string;
72
- }>, "many">>;
73
- }, z.UnknownKeysParam, z.ZodTypeAny, {
74
- location: string;
75
- name: string;
76
- date: string;
77
- folderId: string | null;
78
- subEvents?: {
79
- location: string;
80
- name: string;
81
- date: string;
82
- }[] | undefined;
83
- }, {
84
- location: string;
85
- name: string;
86
- date: string;
87
- folderId: string | null;
88
- subEvents?: {
89
- location: string;
90
- name: string;
91
- date: string;
92
- }[] | undefined;
93
- }>>;
94
- export declare class CreateEventDto extends CreateEventDto_base {
95
- }
96
- export declare const createEventResponseSchema: z.ZodObject<{
97
- id: z.ZodString;
98
- name: z.ZodString;
99
- date: z.ZodDate;
100
- location: z.ZodString;
101
- folderId: z.ZodNullable<z.ZodString>;
102
- tagAssistedId: z.ZodString;
103
- tagConfirmedId: z.ZodString;
104
- supraEventId: z.ZodNullable<z.ZodString>;
105
- created_at: z.ZodDate;
106
- updated_at: z.ZodDate;
107
- }, "strip", z.ZodTypeAny, {
108
- location: string;
109
- id: string;
110
- name: string;
111
- date: Date;
112
- created_at: Date;
113
- updated_at: Date;
114
- folderId: string | null;
115
- tagAssistedId: string;
116
- tagConfirmedId: string;
117
- supraEventId: string | null;
118
- }, {
119
- location: string;
120
- id: string;
121
- name: string;
122
- date: Date;
123
- created_at: Date;
124
- updated_at: Date;
125
- folderId: string | null;
126
- tagAssistedId: string;
127
- tagConfirmedId: string;
128
- supraEventId: string | null;
129
- }>;
130
- declare const CreateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
131
- id: z.ZodString;
132
- name: z.ZodString;
133
- date: z.ZodString;
134
- location: z.ZodString;
135
- folderId: z.ZodNullable<z.ZodString>;
136
- tagAssistedId: z.ZodString;
137
- tagConfirmedId: z.ZodString;
138
- supraEventId: z.ZodNullable<z.ZodString>;
139
- created_at: z.ZodString;
140
- updated_at: z.ZodString;
141
- }, z.UnknownKeysParam, z.ZodTypeAny, {
142
- location: string;
143
- id: string;
144
- name: string;
145
- date: string;
146
- created_at: string;
147
- updated_at: string;
148
- folderId: string | null;
149
- tagAssistedId: string;
150
- tagConfirmedId: string;
151
- supraEventId: string | null;
152
- }, {
153
- location: string;
154
- id: string;
155
- name: string;
156
- date: string;
157
- created_at: string;
158
- updated_at: string;
159
- folderId: string | null;
160
- tagAssistedId: string;
161
- tagConfirmedId: string;
162
- supraEventId: string | null;
163
- }>>;
164
- export declare class CreateEventResponseDto extends CreateEventResponseDto_base {
165
- }
166
- export {};
@@ -1,33 +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.CreateEventResponseDto = exports.createEventResponseSchema = exports.CreateEventDto = exports.createEventSchema = void 0;
7
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
8
- const zod_1 = __importDefault(require("zod"));
9
- const event_dto_1 = require("./event.dto");
10
- exports.createEventSchema = event_dto_1.eventSchema
11
- .pick({
12
- name: true,
13
- date: true,
14
- location: true,
15
- folderId: true,
16
- })
17
- .merge(zod_1.default.object({
18
- subEvents: zod_1.default
19
- .array(event_dto_1.eventSchema.pick({
20
- name: true,
21
- date: true,
22
- location: true,
23
- }))
24
- .optional(),
25
- }));
26
- class CreateEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createEventSchema) {
27
- }
28
- exports.CreateEventDto = CreateEventDto;
29
- exports.createEventResponseSchema = event_dto_1.eventSchema;
30
- class CreateEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createEventResponseSchema) {
31
- }
32
- exports.CreateEventResponseDto = CreateEventResponseDto;
33
- //# 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