expo-backend-types 0.0.36 → 0.0.38

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
7
7
  "license": "UNLICENSED",
8
8
  "files": [
9
9
  "types",
10
+ "./tsconfig.json",
10
11
  "src/**/*.dto.ts",
11
12
  "src/**/exports.ts"
12
13
  ],
@@ -1,5 +1,5 @@
1
1
  import { createZodDto } from '@anatine/zod-nestjs';
2
- import { cuentaSchema } from 'src/cuenta/dto/cuenta.dto';
2
+ import { cuentaSchema } from '@/cuenta/dto/cuenta.dto';
3
3
  import z from 'zod';
4
4
 
5
5
  export const loginSchema = cuentaSchema.pick({
@@ -1,5 +1,5 @@
1
1
  import { createZodDto } from '@anatine/zod-nestjs';
2
- import { cuentaSchema } from 'src/cuenta/dto/cuenta.dto';
2
+ import { cuentaSchema } from '@/cuenta/dto/cuenta.dto';
3
3
 
4
4
  export const registerSchema = cuentaSchema.pick({
5
5
  username: true,
package/tsconfig.json ADDED
@@ -0,0 +1,27 @@
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
+ }