expo-backend-types 0.0.40 → 0.0.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. package/package.json +12 -21
  2. package/src/auth/dto/login.dto.ts +22 -0
  3. package/src/auth/dto/register.dto.ts +16 -0
  4. package/src/cuenta/dto/cuenta.dto.ts +28 -0
  5. package/{dist/types/dto.d.ts → types/dto.ts} +1 -1
  6. package/types/index.d.ts +2 -0
  7. package/types/prisma-schema/default.d.ts +1 -0
  8. package/types/prisma-schema/default.js +1 -0
  9. package/types/prisma-schema/edge.d.ts +1 -0
  10. package/types/prisma-schema/edge.js +306 -0
  11. package/types/prisma-schema/index-browser.js +298 -0
  12. package/types/prisma-schema/index.d.ts +16638 -0
  13. package/types/prisma-schema/index.js +327 -0
  14. package/types/prisma-schema/package.json +84 -0
  15. package/types/prisma-schema/query_engine-windows.dll.node +0 -0
  16. package/types/prisma-schema/runtime/edge-esm.js +28 -0
  17. package/types/prisma-schema/runtime/edge.js +28 -0
  18. package/types/prisma-schema/runtime/index-browser.d.ts +365 -0
  19. package/types/prisma-schema/runtime/index-browser.js +13 -0
  20. package/types/prisma-schema/runtime/library.d.ts +3193 -0
  21. package/types/prisma-schema/runtime/library.js +140 -0
  22. package/types/prisma-schema/runtime/react-native.js +77 -0
  23. package/types/prisma-schema/runtime/wasm.js +29 -0
  24. package/types/prisma-schema/schema.prisma +170 -0
  25. package/types/prisma-schema/wasm.d.ts +1 -0
  26. package/types/prisma-schema/wasm.js +298 -0
  27. package/{dist/types → types}/schema.d.ts +15 -0
  28. package/dist/src/auth/dto/login.dto.d.ts +0 -170
  29. package/dist/src/auth/dto/login.dto.js +0 -29
  30. package/dist/src/auth/dto/login.dto.js.map +0 -1
  31. package/dist/src/auth/dto/register.dto.d.ts +0 -73
  32. package/dist/src/auth/dto/register.dto.js +0 -20
  33. package/dist/src/auth/dto/register.dto.js.map +0 -1
  34. package/dist/src/auth/exports.d.ts +0 -2
  35. package/dist/src/auth/exports.js +0 -19
  36. package/dist/src/auth/exports.js.map +0 -1
  37. package/dist/src/cuenta/dto/cuenta.dto.d.ts +0 -60
  38. package/dist/src/cuenta/dto/cuenta.dto.js +0 -31
  39. package/dist/src/cuenta/dto/cuenta.dto.js.map +0 -1
  40. package/dist/src/cuenta/exports.d.ts +0 -1
  41. package/dist/src/cuenta/exports.js +0 -18
  42. package/dist/src/cuenta/exports.js.map +0 -1
  43. package/dist/src/exports.d.ts +0 -2
  44. package/dist/src/exports.js +0 -19
  45. package/dist/src/exports.js.map +0 -1
  46. package/dist/types/dto.js +0 -18
  47. package/dist/types/dto.js.map +0 -1
  48. package/dist/types/index.d.ts +0 -2
  49. package/dist/types/index.js +0 -19
  50. package/dist/types/index.js.map +0 -1
  51. package/dist/types/schema.js +0 -3
  52. package/dist/types/schema.js.map +0 -1
  53. package/tsconfig.json +0 -27
@@ -1,60 +0,0 @@
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 {};
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CuentaDto = exports.cuentaSchema = void 0;
4
- const zod_nestjs_1 = require("@anatine/zod-nestjs");
5
- const zod_1 = require("zod");
6
- exports.cuentaSchema = zod_1.z.object({
7
- id: zod_1.z
8
- .string({
9
- required_error: 'El id es requerido',
10
- })
11
- .uuid({
12
- message: 'El id debe ser un UUID',
13
- }),
14
- username: zod_1.z.string({
15
- required_error: 'El nombre de usuario es requerido',
16
- }),
17
- password: zod_1.z
18
- .string({
19
- required_error: 'La contraseña es requerida',
20
- })
21
- .min(6, 'La contraseña debe tener al menos 6 caracteres'),
22
- isAdmin: zod_1.z.boolean().default(false),
23
- created_at: zod_1.z.string().datetime(),
24
- updated_at: zod_1.z.string().datetime(),
25
- filtroBaseActivo: zod_1.z.boolean().default(false),
26
- fcmToken: zod_1.z.array(zod_1.z.string()).default([]),
27
- });
28
- class CuentaDto extends (0, zod_nestjs_1.createZodDto)(exports.cuentaSchema) {
29
- }
30
- exports.CuentaDto = CuentaDto;
31
- //# sourceMappingURL=cuenta.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cuenta.dto.js","sourceRoot":"","sources":["../../../../src/cuenta/dto/cuenta.dto.ts"],"names":[],"mappings":";;;AAAA,oDAAmD;AACnD,6BAAwB;AAEX,QAAA,YAAY,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,EAAE,EAAE,OAAC;SACF,MAAM,CAAC;QACN,cAAc,EAAE,oBAAoB;KACrC,CAAC;SACD,IAAI,CAAC;QACJ,OAAO,EAAE,wBAAwB;KAClC,CAAC;IACJ,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;QACjB,cAAc,EAAE,mCAAmC;KACpD,CAAC;IACF,QAAQ,EAAE,OAAC;SACR,MAAM,CAAC;QACN,cAAc,EAAE,4BAA4B;KAC7C,CAAC;SACD,GAAG,CAAC,CAAC,EAAE,gDAAgD,CAAC;IAC3D,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACnC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAEjC,gBAAgB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5C,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CAC1C,CAAC,CAAC;AAEH,MAAa,SAAU,SAAQ,IAAA,yBAAY,EAAC,oBAAY,CAAC;CAAG;AAA5D,8BAA4D"}
@@ -1 +0,0 @@
1
- export * from './dto/cuenta.dto';
@@ -1,18 +0,0 @@
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("./dto/cuenta.dto"), exports);
18
- //# sourceMappingURL=exports.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"exports.js","sourceRoot":"","sources":["../../../src/cuenta/exports.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
@@ -1,2 +0,0 @@
1
- export * from './auth/exports';
2
- export * from './cuenta/exports';
@@ -1,19 +0,0 @@
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("./auth/exports"), exports);
18
- __exportStar(require("./cuenta/exports"), exports);
19
- //# sourceMappingURL=exports.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"exports.js","sourceRoot":"","sources":["../../src/exports.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,mDAAiC"}
package/dist/types/dto.js DELETED
@@ -1,18 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"dto.js","sourceRoot":"","sources":["../../types/dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
@@ -1,2 +0,0 @@
1
- export * from './schema';
2
- export * from '.prisma/client';
@@ -1,19 +0,0 @@
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/client"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,iDAA+B"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=schema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../types/schema.ts"],"names":[],"mappings":""}
package/tsconfig.json DELETED
@@ -1,27 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "module": "NodeNext",
4
- "moduleResolution": "NodeNext",
5
- "declaration": true,
6
- "removeComments": true,
7
- "emitDecoratorMetadata": true,
8
- "experimentalDecorators": true,
9
- "allowSyntheticDefaultImports": true,
10
- "target": "ES2021",
11
- "sourceMap": true,
12
- "outDir": "./dist",
13
- "baseUrl": ".",
14
- "incremental": true,
15
- "skipLibCheck": true,
16
- "strictNullChecks": true,
17
- "noImplicitAny": true,
18
- "strictBindCallApply": true,
19
- "forceConsistentCasingInFileNames": true,
20
- "noUncheckedIndexedAccess": true,
21
- "noFallthroughCasesInSwitch": true,
22
- "esModuleInterop": true,
23
- "paths": {
24
- "@/*": ["./src/*"]
25
- }
26
- }
27
- }