expo-backend-types 0.0.42 → 0.0.44
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/auth/dto/login.dto.d.ts +170 -0
- package/dist/src/auth/dto/register.dto.d.ts +73 -0
- package/dist/src/auth/exports.d.ts +2 -0
- package/dist/src/cuenta/dto/cuenta.dto.d.ts +60 -0
- package/dist/src/cuenta/exports.d.ts +1 -0
- package/dist/src/exports.d.ts +2 -0
- package/{types/dto.ts → dist/types/dto.d.ts} +1 -1
- package/dist/types/dto.js +18 -0
- package/dist/types/dto.js.map +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +20 -0
- package/dist/types/index.js.map +1 -0
- package/{types → dist/types}/prisma-schema/edge.js +6 -6
- package/dist/types/prisma-schema/index.d.ts +14906 -0
- package/{types → dist/types}/prisma-schema/index.js +9 -9
- package/{types → dist/types}/prisma-schema/package.json +1 -1
- package/{types → dist/types}/prisma-schema/schema.prisma +1 -1
- package/{types → dist/types}/schema.d.ts +0 -15
- package/dist/types/schema.js +3 -0
- package/dist/types/schema.js.map +1 -0
- package/package.json +115 -115
- package/src/auth/dto/login.dto.ts +0 -22
- package/src/auth/dto/register.dto.ts +0 -16
- package/src/cuenta/dto/cuenta.dto.ts +0 -28
- package/types/index.d.ts +0 -2
- package/types/prisma-schema/index.d.ts +0 -16638
- /package/{types → dist/types}/prisma-schema/default.d.ts +0 -0
- /package/{types → dist/types}/prisma-schema/default.js +0 -0
- /package/{types → dist/types}/prisma-schema/edge.d.ts +0 -0
- /package/{types → dist/types}/prisma-schema/index-browser.js +0 -0
- /package/{types → dist/types}/prisma-schema/query_engine-windows.dll.node +0 -0
- /package/{types → dist/types}/prisma-schema/runtime/edge-esm.js +0 -0
- /package/{types → dist/types}/prisma-schema/runtime/edge.js +0 -0
- /package/{types → dist/types}/prisma-schema/runtime/index-browser.d.ts +0 -0
- /package/{types → dist/types}/prisma-schema/runtime/index-browser.js +0 -0
- /package/{types → dist/types}/prisma-schema/runtime/library.d.ts +0 -0
- /package/{types → dist/types}/prisma-schema/runtime/library.js +0 -0
- /package/{types → dist/types}/prisma-schema/runtime/react-native.js +0 -0
- /package/{types → dist/types}/prisma-schema/runtime/wasm.js +0 -0
- /package/{types → dist/types}/prisma-schema/wasm.d.ts +0 -0
- /package/{types → dist/types}/prisma-schema/wasm.js +0 -0
@@ -0,0 +1,170 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const loginSchema: z.ZodObject<Pick<{
|
3
|
+
id: z.ZodString;
|
4
|
+
username: z.ZodString;
|
5
|
+
password: z.ZodString;
|
6
|
+
isAdmin: z.ZodDefault<z.ZodBoolean>;
|
7
|
+
created_at: z.ZodString;
|
8
|
+
updated_at: z.ZodString;
|
9
|
+
filtroBaseActivo: z.ZodDefault<z.ZodBoolean>;
|
10
|
+
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
11
|
+
}, "username" | "password">, "strip", z.ZodTypeAny, {
|
12
|
+
username: string;
|
13
|
+
password: string;
|
14
|
+
}, {
|
15
|
+
username: string;
|
16
|
+
password: string;
|
17
|
+
}>;
|
18
|
+
declare const LoginDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<Pick<{
|
19
|
+
id: z.ZodString;
|
20
|
+
username: z.ZodString;
|
21
|
+
password: z.ZodString;
|
22
|
+
isAdmin: z.ZodDefault<z.ZodBoolean>;
|
23
|
+
created_at: z.ZodString;
|
24
|
+
updated_at: z.ZodString;
|
25
|
+
filtroBaseActivo: z.ZodDefault<z.ZodBoolean>;
|
26
|
+
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
27
|
+
}, "username" | "password">, "strip", z.ZodTypeAny, {
|
28
|
+
username: string;
|
29
|
+
password: string;
|
30
|
+
}, {
|
31
|
+
username: string;
|
32
|
+
password: string;
|
33
|
+
}>>;
|
34
|
+
export declare class LoginDto extends LoginDto_base {
|
35
|
+
}
|
36
|
+
export declare const loginResponseSchema: z.ZodObject<{
|
37
|
+
user: z.ZodObject<Omit<{
|
38
|
+
id: z.ZodString;
|
39
|
+
username: z.ZodString;
|
40
|
+
password: z.ZodString;
|
41
|
+
isAdmin: z.ZodDefault<z.ZodBoolean>;
|
42
|
+
created_at: z.ZodString;
|
43
|
+
updated_at: z.ZodString;
|
44
|
+
filtroBaseActivo: z.ZodDefault<z.ZodBoolean>;
|
45
|
+
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
46
|
+
}, "password">, "strip", z.ZodTypeAny, {
|
47
|
+
id: string;
|
48
|
+
username: string;
|
49
|
+
isAdmin: boolean;
|
50
|
+
created_at: string;
|
51
|
+
updated_at: string;
|
52
|
+
filtroBaseActivo: boolean;
|
53
|
+
fcmToken: string[];
|
54
|
+
}, {
|
55
|
+
id: string;
|
56
|
+
username: string;
|
57
|
+
created_at: string;
|
58
|
+
updated_at: string;
|
59
|
+
isAdmin?: boolean | undefined;
|
60
|
+
filtroBaseActivo?: boolean | undefined;
|
61
|
+
fcmToken?: string[] | undefined;
|
62
|
+
}>;
|
63
|
+
backendTokens: z.ZodObject<{
|
64
|
+
accessToken: z.ZodString;
|
65
|
+
refreshToken: z.ZodString;
|
66
|
+
}, "strip", z.ZodTypeAny, {
|
67
|
+
accessToken: string;
|
68
|
+
refreshToken: string;
|
69
|
+
}, {
|
70
|
+
accessToken: string;
|
71
|
+
refreshToken: string;
|
72
|
+
}>;
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
74
|
+
user: {
|
75
|
+
id: string;
|
76
|
+
username: string;
|
77
|
+
isAdmin: boolean;
|
78
|
+
created_at: string;
|
79
|
+
updated_at: string;
|
80
|
+
filtroBaseActivo: boolean;
|
81
|
+
fcmToken: string[];
|
82
|
+
};
|
83
|
+
backendTokens: {
|
84
|
+
accessToken: string;
|
85
|
+
refreshToken: string;
|
86
|
+
};
|
87
|
+
}, {
|
88
|
+
user: {
|
89
|
+
id: string;
|
90
|
+
username: string;
|
91
|
+
created_at: string;
|
92
|
+
updated_at: string;
|
93
|
+
isAdmin?: boolean | undefined;
|
94
|
+
filtroBaseActivo?: boolean | undefined;
|
95
|
+
fcmToken?: string[] | undefined;
|
96
|
+
};
|
97
|
+
backendTokens: {
|
98
|
+
accessToken: string;
|
99
|
+
refreshToken: string;
|
100
|
+
};
|
101
|
+
}>;
|
102
|
+
declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
103
|
+
user: z.ZodObject<Omit<{
|
104
|
+
id: z.ZodString;
|
105
|
+
username: z.ZodString;
|
106
|
+
password: z.ZodString;
|
107
|
+
isAdmin: z.ZodDefault<z.ZodBoolean>;
|
108
|
+
created_at: z.ZodString;
|
109
|
+
updated_at: z.ZodString;
|
110
|
+
filtroBaseActivo: z.ZodDefault<z.ZodBoolean>;
|
111
|
+
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
112
|
+
}, "password">, "strip", z.ZodTypeAny, {
|
113
|
+
id: string;
|
114
|
+
username: string;
|
115
|
+
isAdmin: boolean;
|
116
|
+
created_at: string;
|
117
|
+
updated_at: string;
|
118
|
+
filtroBaseActivo: boolean;
|
119
|
+
fcmToken: string[];
|
120
|
+
}, {
|
121
|
+
id: string;
|
122
|
+
username: string;
|
123
|
+
created_at: string;
|
124
|
+
updated_at: string;
|
125
|
+
isAdmin?: boolean | undefined;
|
126
|
+
filtroBaseActivo?: boolean | undefined;
|
127
|
+
fcmToken?: string[] | undefined;
|
128
|
+
}>;
|
129
|
+
backendTokens: z.ZodObject<{
|
130
|
+
accessToken: z.ZodString;
|
131
|
+
refreshToken: z.ZodString;
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
133
|
+
accessToken: string;
|
134
|
+
refreshToken: string;
|
135
|
+
}, {
|
136
|
+
accessToken: string;
|
137
|
+
refreshToken: string;
|
138
|
+
}>;
|
139
|
+
}, "strip", z.ZodTypeAny, {
|
140
|
+
user: {
|
141
|
+
id: string;
|
142
|
+
username: string;
|
143
|
+
isAdmin: boolean;
|
144
|
+
created_at: string;
|
145
|
+
updated_at: string;
|
146
|
+
filtroBaseActivo: boolean;
|
147
|
+
fcmToken: string[];
|
148
|
+
};
|
149
|
+
backendTokens: {
|
150
|
+
accessToken: string;
|
151
|
+
refreshToken: string;
|
152
|
+
};
|
153
|
+
}, {
|
154
|
+
user: {
|
155
|
+
id: string;
|
156
|
+
username: string;
|
157
|
+
created_at: string;
|
158
|
+
updated_at: string;
|
159
|
+
isAdmin?: boolean | undefined;
|
160
|
+
filtroBaseActivo?: boolean | undefined;
|
161
|
+
fcmToken?: string[] | undefined;
|
162
|
+
};
|
163
|
+
backendTokens: {
|
164
|
+
accessToken: string;
|
165
|
+
refreshToken: string;
|
166
|
+
};
|
167
|
+
}>>;
|
168
|
+
export declare class LoginResponseDto extends LoginResponseDto_base {
|
169
|
+
}
|
170
|
+
export {};
|
@@ -0,0 +1,73 @@
|
|
1
|
+
export declare const registerSchema: import("zod").ZodObject<Pick<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
username: import("zod").ZodString;
|
4
|
+
password: import("zod").ZodString;
|
5
|
+
isAdmin: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
6
|
+
created_at: import("zod").ZodString;
|
7
|
+
updated_at: import("zod").ZodString;
|
8
|
+
filtroBaseActivo: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
9
|
+
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
10
|
+
}, "username" | "password" | "isAdmin">, "strip", import("zod").ZodTypeAny, {
|
11
|
+
username: string;
|
12
|
+
password: string;
|
13
|
+
isAdmin: boolean;
|
14
|
+
}, {
|
15
|
+
username: string;
|
16
|
+
password: string;
|
17
|
+
isAdmin?: boolean | undefined;
|
18
|
+
}>;
|
19
|
+
declare const RegisterDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Pick<{
|
20
|
+
id: import("zod").ZodString;
|
21
|
+
username: import("zod").ZodString;
|
22
|
+
password: import("zod").ZodString;
|
23
|
+
isAdmin: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
24
|
+
created_at: import("zod").ZodString;
|
25
|
+
updated_at: import("zod").ZodString;
|
26
|
+
filtroBaseActivo: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
27
|
+
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
28
|
+
}, "username" | "password" | "isAdmin">, "strip", import("zod").ZodTypeAny, {
|
29
|
+
username: string;
|
30
|
+
password: string;
|
31
|
+
isAdmin: boolean;
|
32
|
+
}, {
|
33
|
+
username: string;
|
34
|
+
password: string;
|
35
|
+
isAdmin?: boolean | undefined;
|
36
|
+
}>>;
|
37
|
+
export declare class RegisterDto extends RegisterDto_base {
|
38
|
+
}
|
39
|
+
export declare const registerResponseSchema: import("zod").ZodObject<Omit<Pick<{
|
40
|
+
id: import("zod").ZodString;
|
41
|
+
username: import("zod").ZodString;
|
42
|
+
password: import("zod").ZodString;
|
43
|
+
isAdmin: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
44
|
+
created_at: import("zod").ZodString;
|
45
|
+
updated_at: import("zod").ZodString;
|
46
|
+
filtroBaseActivo: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
47
|
+
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
48
|
+
}, "username" | "password" | "isAdmin">, "password">, "strip", import("zod").ZodTypeAny, {
|
49
|
+
username: string;
|
50
|
+
isAdmin: boolean;
|
51
|
+
}, {
|
52
|
+
username: string;
|
53
|
+
isAdmin?: boolean | undefined;
|
54
|
+
}>;
|
55
|
+
declare const RegisterResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Omit<Pick<{
|
56
|
+
id: import("zod").ZodString;
|
57
|
+
username: import("zod").ZodString;
|
58
|
+
password: import("zod").ZodString;
|
59
|
+
isAdmin: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
60
|
+
created_at: import("zod").ZodString;
|
61
|
+
updated_at: import("zod").ZodString;
|
62
|
+
filtroBaseActivo: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
63
|
+
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
64
|
+
}, "username" | "password" | "isAdmin">, "password">, "strip", import("zod").ZodTypeAny, {
|
65
|
+
username: string;
|
66
|
+
isAdmin: boolean;
|
67
|
+
}, {
|
68
|
+
username: string;
|
69
|
+
isAdmin?: boolean | undefined;
|
70
|
+
}>>;
|
71
|
+
export declare class RegisterResponseDto extends RegisterResponseDto_base {
|
72
|
+
}
|
73
|
+
export {};
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const cuentaSchema: z.ZodObject<{
|
3
|
+
id: z.ZodString;
|
4
|
+
username: z.ZodString;
|
5
|
+
password: z.ZodString;
|
6
|
+
isAdmin: z.ZodDefault<z.ZodBoolean>;
|
7
|
+
created_at: z.ZodString;
|
8
|
+
updated_at: z.ZodString;
|
9
|
+
filtroBaseActivo: z.ZodDefault<z.ZodBoolean>;
|
10
|
+
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
12
|
+
id: string;
|
13
|
+
username: string;
|
14
|
+
password: string;
|
15
|
+
isAdmin: boolean;
|
16
|
+
created_at: string;
|
17
|
+
updated_at: string;
|
18
|
+
filtroBaseActivo: boolean;
|
19
|
+
fcmToken: string[];
|
20
|
+
}, {
|
21
|
+
id: string;
|
22
|
+
username: string;
|
23
|
+
password: string;
|
24
|
+
created_at: string;
|
25
|
+
updated_at: string;
|
26
|
+
isAdmin?: boolean | undefined;
|
27
|
+
filtroBaseActivo?: boolean | undefined;
|
28
|
+
fcmToken?: string[] | undefined;
|
29
|
+
}>;
|
30
|
+
declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
31
|
+
id: z.ZodString;
|
32
|
+
username: z.ZodString;
|
33
|
+
password: z.ZodString;
|
34
|
+
isAdmin: z.ZodDefault<z.ZodBoolean>;
|
35
|
+
created_at: z.ZodString;
|
36
|
+
updated_at: z.ZodString;
|
37
|
+
filtroBaseActivo: z.ZodDefault<z.ZodBoolean>;
|
38
|
+
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
40
|
+
id: string;
|
41
|
+
username: string;
|
42
|
+
password: string;
|
43
|
+
isAdmin: boolean;
|
44
|
+
created_at: string;
|
45
|
+
updated_at: string;
|
46
|
+
filtroBaseActivo: boolean;
|
47
|
+
fcmToken: string[];
|
48
|
+
}, {
|
49
|
+
id: string;
|
50
|
+
username: string;
|
51
|
+
password: string;
|
52
|
+
created_at: string;
|
53
|
+
updated_at: string;
|
54
|
+
isAdmin?: boolean | undefined;
|
55
|
+
filtroBaseActivo?: boolean | undefined;
|
56
|
+
fcmToken?: string[] | undefined;
|
57
|
+
}>>;
|
58
|
+
export declare class CuentaDto extends CuentaDto_base {
|
59
|
+
}
|
60
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './dto/cuenta.dto';
|
@@ -1 +1 @@
|
|
1
|
-
export * from '../src/exports';
|
1
|
+
export * from '../src/exports';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("../src/exports"), exports);
|
18
|
+
//# sourceMappingURL=dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dto.js","sourceRoot":"","sources":["../../types/dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./schema"), exports);
|
18
|
+
__exportStar(require("./prisma-schema"), exports);
|
19
|
+
__exportStar(require("./dto"), exports);
|
20
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB"}
|
@@ -244,7 +244,7 @@ const config = {
|
|
244
244
|
"value": "prisma-client-js"
|
245
245
|
},
|
246
246
|
"output": {
|
247
|
-
"value": "D:\\Documents D\\Laburitos\\ExpoArielito\\expo-backend\\types\\prisma-schema",
|
247
|
+
"value": "D:\\Documents D\\Laburitos\\ExpoArielito\\expo-backend\\dist\\types\\prisma-schema",
|
248
248
|
"fromEnvVar": null
|
249
249
|
},
|
250
250
|
"config": {
|
@@ -261,10 +261,10 @@ const config = {
|
|
261
261
|
"isCustomOutput": true
|
262
262
|
},
|
263
263
|
"relativeEnvPaths": {
|
264
|
-
"rootEnvPath": "
|
265
|
-
"schemaEnvPath": "
|
264
|
+
"rootEnvPath": "../../../.env",
|
265
|
+
"schemaEnvPath": "../../../.env"
|
266
266
|
},
|
267
|
-
"relativePath": "
|
267
|
+
"relativePath": "../../../prisma",
|
268
268
|
"clientVersion": "5.14.0",
|
269
269
|
"engineVersion": "e9771e62de70f79a5e1c604a2d7c8e2a0a874b48",
|
270
270
|
"datasourceNames": [
|
@@ -280,8 +280,8 @@ const config = {
|
|
280
280
|
}
|
281
281
|
}
|
282
282
|
},
|
283
|
-
"inlineSchema": "generator client {\n
|
284
|
-
"inlineSchemaHash": "
|
283
|
+
"inlineSchema": "generator client {\n output = \"../dist/types/prisma-schema\"\n provider = \"prisma-client-js\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n relationMode = \"foreignKeys\"\n}\n\nmodel Cuenta {\n id String @id @default(uuid())\n nombreUsuario String @unique @map(\"nombre_usuario\")\n contrasena String\n esAdmin Boolean @default(false) @map(\"es_admin\")\n\n comentarios Comentario[]\n etiquetas Etiqueta[] @relation(\"CUENTA_X_ETIQUETA\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n filtroBase Etiqueta[] @relation(\"FILTRO_BASE_X_ETIQUETA\")\n filtroBaseActivo Boolean @default(false) @map(\"filtro_base_activo\")\n\n fcmToken String[] @map(\"fcm_token\")\n\n @@map(\"CUENTA\")\n}\n\nmodel Perfil {\n id String @id @default(uuid())\n idLegible Int @map(\"id_legible\")\n\n telefono String @unique\n nombreCompleto String @map(\"nombre_completo\")\n nombrePila String? @map(\"nombre_pila\")\n genero String?\n fechaNacimiento DateTime? @map(\"fecha_nacimiento\")\n fotoUrl String? @map(\"foto_url\")\n instagram String?\n mail String?\n dni String?\n nombresAlternativos String[] @map(\"nombres_alternativos\")\n\n comentarios Comentario[]\n mensajes Mensaje[] @relation(\"PERFIL_X_MENSAJE\")\n etiquetas Etiqueta[] @relation(\"PERFIL_X_ETIQUETA\")\n esPapelera Boolean @default(false)\n fechaPapelera DateTime? @map(\"fecha_papelera\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"PERFIL\")\n}\n\nmodel Comentario {\n id String @id @default(uuid())\n contenido String\n\n creadoPor String @map(\"creado_por\")\n cuenta Cuenta @relation(fields: [creadoPor], references: [id])\n perfilId String @map(\"perfil_id\")\n perfil Perfil @relation(fields: [perfilId], references: [id], onDelete: Cascade)\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"COMENTARIO\")\n}\n\nmodel Etiqueta {\n id String @id @default(uuid())\n nombre String\n grupoId String @map(\"grupo_id\")\n tipo TipoEtiqueta @default(PERSONAL)\n grupo EtiquetaGrupo @relation(fields: [grupoId], references: [id], onDelete: Cascade)\n\n eventosAsistidos Evento[] @relation(\"EVENTOASISTIDO_X_ETIQUETA\")\n eventosConfirmados Evento[] @relation(\"EVENTOCONFIRMADO_X_ETIQUETA\")\n cuentas Cuenta[] @relation(\"CUENTA_X_ETIQUETA\")\n perfiles Perfil[] @relation(\"PERFIL_X_ETIQUETA\")\n cuentasFiltroBase Cuenta[] @relation(\"FILTRO_BASE_X_ETIQUETA\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"ETIQUETA\")\n}\n\nmodel EtiquetaGrupo {\n id String @id @default(uuid())\n nombre String\n color String\n esExclusivo Boolean @map(\"es_exclusivo\")\n etiquetas Etiqueta[]\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"GRUPO_ETIQUETA\")\n}\n\nmodel Evento {\n id String @id @default(uuid())\n nombre String\n fecha DateTime\n ubicacion String\n\n etiquetaAsistioId String @map(\"etiqueta_asistio\")\n etiquetaAsistio Etiqueta @relation(\"EVENTOASISTIDO_X_ETIQUETA\", fields: [etiquetaAsistioId], references: [id], onDelete: Cascade)\n etiquetaConfirmoId String @map(\"etiqueta_confirmo\")\n etiquetaConfirmo Etiqueta @relation(\"EVENTOCONFIRMADO_X_ETIQUETA\", fields: [etiquetaConfirmoId], references: [id], onDelete: Cascade)\n eventoPadreId String? @map(\"evento_padre\")\n eventoPadre Evento? @relation(\"SubEventos\", fields: [eventoPadreId], references: [id], onDelete: Cascade)\n subEventos Evento[] @relation(\"SubEventos\")\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"EVENTO\")\n}\n\nmodel Mensaje {\n id String @id @default(uuid())\n wamId String @unique @map(\"wam_id\")\n message Json\n perfilTelefono String @map(\"perfil_telefono\")\n perfil Perfil @relation(\"PERFIL_X_MENSAJE\", fields: [perfilTelefono], references: [telefono], onDelete: Cascade)\n status MensajeStatus @default(ENVIADO)\n statusAt DateTime? @map(\"status_at\")\n visto Boolean @default(false)\n\n created_at DateTime @default(now())\n updated_at DateTime @updatedAt\n\n @@map(\"MENSAJE\")\n}\n\nmodel Enums {\n id String @id\n EstadoPlantilla EstadoPlantilla\n CategoriaPlantilla CategoriaPlantilla\n}\n\nenum EstadoPlantilla {\n APRROVED\n PENDING\n REJECTED\n}\n\nenum CategoriaPlantilla {\n MARKETING\n UTILITY\n AUTHENTICATION\n}\n\nenum TipoEtiqueta {\n PERSONAL\n EVENTO\n MODELO\n TENTATIVA\n}\n\nenum MensajeStatus {\n ENVIADO\n RECIBIDO\n LEIDO\n}\n",
|
284
|
+
"inlineSchemaHash": "053155dd56c013d268858a6f9fb1de2f5ce1ae6e6fce364634bd65b9bdff12fb",
|
285
285
|
"copyEngine": true
|
286
286
|
}
|
287
287
|
config.dirname = '/'
|