expo-backend-types 0.33.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/exports.d.ts +3 -0
- package/dist/src/exports.js +3 -0
- package/dist/src/i18n/es.d.ts +20 -0
- package/dist/src/i18n/es.js +20 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/image/constants.d.ts +5 -0
- package/dist/src/image/constants.js +9 -0
- package/dist/src/location/dto/find-all-location.dto.js +2 -2
- package/dist/src/location/exports.d.ts +0 -1
- package/dist/src/location/exports.js +0 -1
- package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
- package/dist/src/message/dto/non-read-messages.dto.js +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +337 -0
- package/dist/src/mi-expo/dto/get-me.dto.js +16 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +311 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.js +29 -0
- package/dist/src/mi-expo/dto/login.dto.d.ts +327 -0
- package/dist/src/mi-expo/dto/login.dto.js +31 -0
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +352 -0
- package/dist/src/mi-expo/dto/update-me.dto.js +31 -0
- package/dist/src/mi-expo/exports.d.ts +4 -0
- package/dist/src/mi-expo/exports.js +21 -0
- package/dist/src/otp/constants.d.ts +2 -0
- package/dist/src/otp/constants.js +6 -0
- package/dist/src/otp/dto/send-otp.dto.d.ts +158 -0
- package/dist/src/otp/dto/send-otp.dto.js +35 -0
- package/dist/src/otp/dto/verify-otp.dto.d.ts +455 -0
- package/dist/src/otp/dto/verify-otp.dto.js +46 -0
- package/dist/src/otp/exports.d.ts +2 -0
- package/dist/src/otp/exports.js +19 -0
- package/dist/src/prisma/constants.d.ts +1 -0
- package/dist/src/prisma/constants.js +5 -0
- package/dist/src/profile/dto/create-profile.dto.d.ts +48 -14
- package/dist/src/profile/dto/create-profile.dto.js +9 -7
- package/dist/src/profile/dto/delete-profile.dto.d.ts +30 -6
- package/dist/src/profile/dto/delete-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +75 -11
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +32 -13
- package/dist/src/profile/dto/find-by-id-profile.dto.js +7 -5
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +30 -6
- package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-trash.dto.d.ts +7 -3
- package/dist/src/profile/dto/find-trash.dto.js +2 -2
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
- package/dist/src/profile/dto/profile.dto.d.ts +44 -30
- package/dist/src/profile/dto/profile.dto.js +6 -63
- package/dist/src/profile/dto/update-profile.dto.d.ts +54 -12
- package/dist/src/profile/dto/update-profile.dto.js +9 -6
- package/dist/src/schema/exports.d.ts +2 -0
- package/dist/src/schema/exports.js +19 -0
- package/dist/src/{location/dto/location.dto.js → schema/location.schema.js} +2 -2
- package/dist/src/schema/profile.schema.d.ts +74 -0
- package/dist/src/schema/profile.schema.js +133 -0
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -4
- package/dist/src/shared/dto-modification/zod-without-dates.js +8 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
- package/dist/src/ticket/constants.d.ts +16 -0
- package/dist/src/ticket/constants.js +272 -0
- package/dist/src/webhook/constants.d.ts +1 -0
- package/dist/src/webhook/constants.js +5 -0
- package/dist/types/prisma-schema/edge.js +38 -24
- package/dist/types/prisma-schema/index-browser.js +18 -9
- package/dist/types/prisma-schema/index.d.ts +4093 -456
- package/dist/types/prisma-schema/index.js +38 -24
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +8 -2
- package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
- package/dist/types/prisma-schema/runtime/edge.js +18 -18
- package/dist/types/prisma-schema/runtime/index-browser.d.ts +3 -1
- package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
- package/dist/types/prisma-schema/runtime/library.d.ts +205 -153
- package/dist/types/prisma-schema/runtime/library.js +55 -55
- package/dist/types/prisma-schema/runtime/react-native.js +26 -26
- package/dist/types/prisma-schema/runtime/wasm.js +17 -17
- package/dist/types/prisma-schema/schema.prisma +22 -1
- package/dist/types/prisma-schema/wasm.js +18 -9
- package/dist/types/schema.d.ts +506 -2
- package/package.json +41 -40
- /package/dist/src/{location/dto/location.dto.d.ts → schema/location.schema.d.ts} +0 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.34.0",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -8,6 +8,8 @@
|
|
8
8
|
"files": [
|
9
9
|
"dist/types",
|
10
10
|
"dist/src/**/*.dto.{js,d.ts,ts}",
|
11
|
+
"dist/src/**/*.schema.{js,d.ts,ts}",
|
12
|
+
"dist/src/**/constants.{js,d.ts,ts}",
|
11
13
|
"dist/src/**/exports.{js,d.ts,ts}",
|
12
14
|
"dist/src/shared/dto-modification",
|
13
15
|
"dist/src/i18n"
|
@@ -18,19 +20,14 @@
|
|
18
20
|
"postinstall": "patch-package",
|
19
21
|
"format": "prettier --write \"src/**/*.ts\" \"types/**/*.ts\"",
|
20
22
|
"check-format": "prettier --check \"src/**/*.ts\"",
|
21
|
-
"check-exports": "attw --pack .",
|
23
|
+
"check-exports": "attw --pack --profile node16 .",
|
22
24
|
"local-release": "changeset version && changeset publish",
|
23
25
|
"commit-schema": "git add ./types/schema.d.ts swagger.yaml && git commit -m \"Update schema\"",
|
24
26
|
"start": "npx prisma generate && npx nest start",
|
25
|
-
"dev": "npx prisma generate && nest start --watch",
|
27
|
+
"dev": "rm -r ./dist && npx prisma generate && nest start --watch",
|
26
28
|
"start:debug": "nest start --debug --watch",
|
27
29
|
"start:prod": "node dist/src/main",
|
28
30
|
"lint": "eslint \"{src,apps,libs,test,types}/**/*.ts\" --fix",
|
29
|
-
"test": "jest",
|
30
|
-
"test:watch": "jest --watch",
|
31
|
-
"test:cov": "jest --coverage",
|
32
|
-
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
33
|
-
"test:e2e": "jest --config ./test/jest-e2e.json",
|
34
31
|
"generate-ts-schema": "npx ts-node -r tsconfig-paths/register src/main.swagger.ts && npx openapi-typescript ./swagger.yaml -o ./types/schema.ts",
|
35
32
|
"prepare": "husky",
|
36
33
|
"prepublishOnly": "npm run ci"
|
@@ -38,41 +35,28 @@
|
|
38
35
|
"dependencies": {
|
39
36
|
"@anatine/zod-nestjs": "^2.0.9",
|
40
37
|
"@anatine/zod-openapi": "^2.2.6",
|
41
|
-
"@nestjs/common": "^10.0.0",
|
42
|
-
"@nestjs/config": "^3.2.3",
|
43
|
-
"@nestjs/core": "^10.0.0",
|
44
|
-
"@nestjs/jwt": "^10.2.0",
|
45
|
-
"@nestjs/platform-express": "^10.0.0",
|
46
|
-
"@nestjs/swagger": "^7.3.1",
|
47
|
-
"@pdfme/common": "^5.3.8",
|
48
|
-
"@pdfme/generator": "^5.3.8",
|
49
|
-
"@pdfme/schemas": "^5.3.8",
|
50
|
-
"@pdfme/ui": "^5.3.8",
|
51
|
-
"@prisma/client": "^5.22.0",
|
52
|
-
"bcrypt": "^5.1.1",
|
53
|
-
"body-parser": "^1.20.3",
|
54
|
-
"class-transformer": "^0.5.1",
|
55
|
-
"class-validator": "^0.14.1",
|
56
|
-
"country-state-city": "^3.2.1",
|
57
|
-
"date-fns": "^4.1.0",
|
58
|
-
"exceljs": "^4.4.0",
|
59
|
-
"fast-csv": "^5.0.2",
|
60
38
|
"i18n-js": "^4.4.3",
|
61
|
-
"json-to-pretty-yaml": "^1.2.2",
|
62
|
-
"jszip": "^3.10.1",
|
63
|
-
"openapi3-ts": "^4.4.0",
|
64
39
|
"patch-package": "^8.0.0",
|
65
|
-
"reflect-metadata": "^0.2.0",
|
66
|
-
"string-comparison": "^1.3.0",
|
67
40
|
"zod": "^3.23.8"
|
68
41
|
},
|
69
42
|
"devDependencies": {
|
70
|
-
"@arethetypeswrong/cli": "^0.
|
43
|
+
"@arethetypeswrong/cli": "^0.17.3",
|
71
44
|
"@changesets/cli": "^2.27.7",
|
72
45
|
"@nestjs/cli": "^10.0.0",
|
46
|
+
"@nestjs/common": "^10.0.0",
|
47
|
+
"@nestjs/config": "^3.2.3",
|
48
|
+
"@nestjs/core": "^10.0.0",
|
49
|
+
"@nestjs/jwt": "^10.2.0",
|
50
|
+
"@nestjs/platform-express": "^10.0.0",
|
73
51
|
"@nestjs/schematics": "^10.0.0",
|
52
|
+
"@nestjs/swagger": "^7.3.1",
|
74
53
|
"@nestjs/testing": "^10.0.0",
|
75
54
|
"@openapitools/openapi-generator-cli": "^2.13.4",
|
55
|
+
"@pdfme/common": "^5.3.8",
|
56
|
+
"@pdfme/generator": "^5.3.8",
|
57
|
+
"@pdfme/schemas": "^5.3.8",
|
58
|
+
"@pdfme/ui": "^5.3.8",
|
59
|
+
"@prisma/client": "^6.4.1",
|
76
60
|
"@types/bcrypt": "^5.0.2",
|
77
61
|
"@types/express": "^4.17.17",
|
78
62
|
"@types/jest": "^29.5.2",
|
@@ -83,25 +67,38 @@
|
|
83
67
|
"@types/supertest": "^6.0.0",
|
84
68
|
"@typescript-eslint/eslint-plugin": "^8.8.0",
|
85
69
|
"@typescript-eslint/parser": "^8.8.0",
|
86
|
-
"
|
70
|
+
"bcrypt": "^5.1.1",
|
71
|
+
"body-parser": "^1.20.3",
|
72
|
+
"class-transformer": "^0.5.1",
|
73
|
+
"class-validator": "^0.14.1",
|
74
|
+
"country-state-city": "^3.2.1",
|
75
|
+
"date-fns": "^4.1.0",
|
87
76
|
"eslint-config-prettier": "^9.0.0",
|
88
77
|
"eslint-plugin-prettier": "^5.0.0",
|
89
78
|
"eslint-plugin-unused-imports": "^4.1.4",
|
79
|
+
"eslint": "^9.11.1",
|
80
|
+
"exceljs": "^4.4.0",
|
81
|
+
"fast-csv": "^5.0.2",
|
90
82
|
"globals": "^15.10.0",
|
91
83
|
"husky": "^9.0.11",
|
92
|
-
"
|
84
|
+
"i18n-js": "^4.4.3",
|
85
|
+
"json-to-pretty-yaml": "^1.2.2",
|
86
|
+
"jszip": "^3.10.1",
|
93
87
|
"lint-staged": "^15.2.5",
|
94
88
|
"luxon": "^3.5.0",
|
89
|
+
"multer": "^1.4.5-lts.1",
|
95
90
|
"openapi-typescript": "^7.0.0-rc.0",
|
91
|
+
"openapi3-ts": "^4.4.0",
|
92
|
+
"patch-package": "^8.0.0",
|
96
93
|
"prettier": "^3.0.0",
|
97
|
-
"prisma": "^
|
94
|
+
"prisma": "^6.3.1",
|
95
|
+
"reflect-metadata": "^0.2.0",
|
98
96
|
"source-map-support": "^0.5.21",
|
99
|
-
"
|
100
|
-
"ts-jest": "^29.1.0",
|
101
|
-
"ts-loader": "^9.4.3",
|
97
|
+
"string-comparison": "^1.3.0",
|
102
98
|
"ts-node": "^10.9.2",
|
103
99
|
"tsconfig-paths": "^4.2.0",
|
104
|
-
"typescript": "^5.4.5"
|
100
|
+
"typescript": "^5.4.5",
|
101
|
+
"zod": "^3.23.8"
|
105
102
|
},
|
106
103
|
"main": "./dist/types/index.ts",
|
107
104
|
"exports": {
|
@@ -110,6 +107,10 @@
|
|
110
107
|
"require": "./dist/types/index.js",
|
111
108
|
"default": "./dist/types/index.js",
|
112
109
|
"types": "./dist/types/index.d.ts"
|
110
|
+
},
|
111
|
+
"./schema": {
|
112
|
+
"default": "./dist/src/schema/exports.js",
|
113
|
+
"types": "./dist/src/schema/exports.d.ts"
|
113
114
|
}
|
114
115
|
},
|
115
116
|
"lint-staged": {
|
File without changes
|