expo-backend-types 0.30.0-EXPO-308-auth.13 → 0.30.0-EXPO-308-auth.14
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/auth/dto/login-mi-expo.dto.js +2 -2
- package/dist/src/exports.d.ts +0 -1
- package/dist/src/exports.js +0 -1
- package/dist/src/message/dto/non-read-messages.dto.js +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
- package/dist/src/otp/dto/send-otp.dto.js +2 -2
- package/dist/src/otp/dto/verify-otp.dto.js +3 -3
- package/dist/src/profile/dto/create-profile.dto.d.ts +82 -468
- package/dist/src/profile/dto/create-profile.dto.js +4 -80
- package/dist/src/profile/dto/delete-profile.dto.d.ts +0 -73
- package/dist/src/profile/dto/delete-profile.dto.js +3 -4
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +39 -266
- package/dist/src/profile/dto/find-all-profile.dto.js +3 -19
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +79 -440
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +4 -26
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +58 -309
- package/dist/src/profile/dto/find-by-id-profile.dto.js +3 -21
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +0 -73
- package/dist/src/profile/dto/find-by-phone-number.dto.js +3 -4
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +35 -223
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +3 -13
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +38 -257
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +3 -18
- package/dist/src/profile/dto/find-trash.dto.d.ts +11 -75
- package/dist/src/profile/dto/find-trash.dto.js +3 -18
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +58 -443
- package/dist/src/profile/dto/find-with-active-chat.dto.js +3 -20
- package/dist/src/profile/dto/profile.dto.js +2 -2
- package/dist/src/profile/dto/update-profile.dto.d.ts +60 -244
- package/dist/src/profile/dto/update-profile.dto.js +4 -48
- package/dist/src/profile/exports.d.ts +12 -12
- package/dist/src/profile/exports.js +12 -12
- package/dist/src/profile/schema/create-profile.schema.d.ts +405 -0
- package/dist/src/profile/schema/create-profile.schema.js +83 -0
- package/dist/src/profile/schema/delete-profile.schema.d.ts +73 -0
- package/dist/src/profile/schema/delete-profile.schema.js +6 -0
- package/dist/src/profile/schema/find-all-profile.schema.d.ts +227 -0
- package/dist/src/profile/schema/find-all-profile.schema.js +21 -0
- package/dist/src/profile/schema/find-by-date-range-profile.schema.d.ts +361 -0
- package/dist/src/profile/schema/find-by-date-range-profile.schema.js +27 -0
- package/dist/src/profile/schema/find-by-id-profile.schema.d.ts +251 -0
- package/dist/src/profile/schema/find-by-id-profile.schema.js +23 -0
- package/dist/src/profile/schema/find-by-phone-number.schema.d.ts +73 -0
- package/dist/src/profile/schema/find-by-phone-number.schema.js +6 -0
- package/dist/src/profile/schema/find-by-tag-groups-profile.schema.d.ts +188 -0
- package/dist/src/profile/schema/find-by-tag-groups-profile.schema.js +15 -0
- package/dist/src/profile/schema/find-by-tags-profile.schema.d.ts +219 -0
- package/dist/src/profile/schema/find-by-tags-profile.schema.js +20 -0
- package/dist/src/profile/schema/find-trash.schema.d.ts +64 -0
- package/dist/src/profile/schema/find-trash.schema.js +20 -0
- package/dist/src/profile/schema/find-with-active-chat.schema.d.ts +385 -0
- package/dist/src/profile/schema/find-with-active-chat.schema.js +22 -0
- package/dist/src/{prisma/dtos.dto.js → profile/schema/profile.schema.js} +2 -2
- package/dist/src/profile/schema/update-profile.schema.d.ts +196 -0
- package/dist/src/profile/schema/update-profile.schema.js +51 -0
- package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
- package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
- package/dist/types/schema.d.ts +4 -0
- package/package.json +2 -5
- /package/dist/src/{prisma/dtos.dto.d.ts → profile/schema/profile.schema.d.ts} +0 -0
@@ -4,19 +4,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.MassiveDeallocationResponseDto = exports.massiveDeallocationResponseSchema = exports.MassiveDeallocationDto = exports.massiveDeallocationSchema = void 0;
|
7
|
-
const
|
7
|
+
const profile_schema_1 = require("../../profile/schema/profile.schema");
|
8
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const tag_dto_1 = require("./tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
11
11
|
exports.massiveDeallocationSchema = zod_1.default.object({
|
12
12
|
tagIds: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
|
13
|
-
profileIds: zod_1.default.array(
|
13
|
+
profileIds: zod_1.default.array(profile_schema_1.profileSchema.shape.id),
|
14
14
|
});
|
15
15
|
class MassiveDeallocationDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveDeallocationSchema) {
|
16
16
|
}
|
17
17
|
exports.MassiveDeallocationDto = MassiveDeallocationDto;
|
18
18
|
exports.massiveDeallocationResponseSchema = zod_1.default.object({
|
19
|
-
profiles: zod_1.default.array(
|
19
|
+
profiles: zod_1.default.array(profile_schema_1.profileSchema),
|
20
20
|
});
|
21
21
|
class MassiveDeallocationResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveDeallocationResponseSchema) {
|
22
22
|
}
|
package/dist/types/schema.d.ts
CHANGED
@@ -2013,6 +2013,8 @@ export interface components {
|
|
2013
2013
|
phoneNumber: string;
|
2014
2014
|
profilePictureUrl: string | null;
|
2015
2015
|
secondaryPhoneNumber: string | null;
|
2016
|
+
password: string | null;
|
2017
|
+
username: string | null;
|
2016
2018
|
comments?: {
|
2017
2019
|
content: string;
|
2018
2020
|
isSolvable: boolean;
|
@@ -2148,6 +2150,8 @@ export interface components {
|
|
2148
2150
|
secondaryPhoneNumber?: string | null;
|
2149
2151
|
isInTrash?: boolean;
|
2150
2152
|
movedToTrashDate?: string | null;
|
2153
|
+
username?: string | null;
|
2154
|
+
password?: string | null;
|
2151
2155
|
residence?: {
|
2152
2156
|
city: string;
|
2153
2157
|
country: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.30.0-EXPO-308-auth.
|
3
|
+
"version": "0.30.0-EXPO-308-auth.14",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -9,6 +9,7 @@
|
|
9
9
|
"dist/types",
|
10
10
|
"dist/src/**/*.dto.{js,d.ts,ts}",
|
11
11
|
"dist/src/**/constants.{js,d.ts,ts}",
|
12
|
+
"dist/src/**/*.schema.{js,d.ts,ts}",
|
12
13
|
"dist/src/**/exports.{js,d.ts,ts}",
|
13
14
|
"dist/src/shared/dto-modification",
|
14
15
|
"dist/src/shared/errors/dotType.ts",
|
@@ -110,10 +111,6 @@
|
|
110
111
|
"require": "./dist/types/index.js",
|
111
112
|
"default": "./dist/types/index.js",
|
112
113
|
"types": "./dist/types/index.d.ts"
|
113
|
-
},
|
114
|
-
"./dto": {
|
115
|
-
"default": "./dist/src/prisma/dtos.dto.js",
|
116
|
-
"types": "./dist/src/prisma/dtos.dto.d.ts"
|
117
114
|
}
|
118
115
|
},
|
119
116
|
"lint-staged": {
|
File without changes
|