expo-backend-types 0.30.0-EXPO-308-auth.12 → 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.
Files changed (60) hide show
  1. package/dist/src/auth/dto/login-mi-expo.dto.js +2 -2
  2. package/dist/src/exports.d.ts +0 -1
  3. package/dist/src/exports.js +0 -1
  4. package/dist/src/message/dto/non-read-messages.dto.js +2 -2
  5. package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
  6. package/dist/src/otp/dto/send-otp.dto.js +2 -2
  7. package/dist/src/otp/dto/verify-otp.dto.js +3 -3
  8. package/dist/src/profile/dto/create-profile.dto.d.ts +82 -468
  9. package/dist/src/profile/dto/create-profile.dto.js +4 -80
  10. package/dist/src/profile/dto/delete-profile.dto.d.ts +0 -73
  11. package/dist/src/profile/dto/delete-profile.dto.js +3 -4
  12. package/dist/src/profile/dto/find-all-profile.dto.d.ts +39 -266
  13. package/dist/src/profile/dto/find-all-profile.dto.js +3 -19
  14. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +79 -440
  15. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +4 -26
  16. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +58 -309
  17. package/dist/src/profile/dto/find-by-id-profile.dto.js +3 -21
  18. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +0 -73
  19. package/dist/src/profile/dto/find-by-phone-number.dto.js +3 -4
  20. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +35 -223
  21. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +3 -13
  22. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +38 -257
  23. package/dist/src/profile/dto/find-by-tags-profile.dto.js +3 -18
  24. package/dist/src/profile/dto/find-trash.dto.d.ts +11 -75
  25. package/dist/src/profile/dto/find-trash.dto.js +3 -18
  26. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +58 -443
  27. package/dist/src/profile/dto/find-with-active-chat.dto.js +3 -20
  28. package/dist/src/profile/dto/profile.dto.js +2 -2
  29. package/dist/src/profile/dto/update-profile.dto.d.ts +60 -244
  30. package/dist/src/profile/dto/update-profile.dto.js +4 -48
  31. package/dist/src/profile/exports.d.ts +12 -12
  32. package/dist/src/profile/exports.js +12 -12
  33. package/dist/src/profile/schema/create-profile.schema.d.ts +405 -0
  34. package/dist/src/profile/schema/create-profile.schema.js +83 -0
  35. package/dist/src/profile/schema/delete-profile.schema.d.ts +73 -0
  36. package/dist/src/profile/schema/delete-profile.schema.js +6 -0
  37. package/dist/src/profile/schema/find-all-profile.schema.d.ts +227 -0
  38. package/dist/src/profile/schema/find-all-profile.schema.js +21 -0
  39. package/dist/src/profile/schema/find-by-date-range-profile.schema.d.ts +361 -0
  40. package/dist/src/profile/schema/find-by-date-range-profile.schema.js +27 -0
  41. package/dist/src/profile/schema/find-by-id-profile.schema.d.ts +251 -0
  42. package/dist/src/profile/schema/find-by-id-profile.schema.js +23 -0
  43. package/dist/src/profile/schema/find-by-phone-number.schema.d.ts +73 -0
  44. package/dist/src/profile/schema/find-by-phone-number.schema.js +6 -0
  45. package/dist/src/profile/schema/find-by-tag-groups-profile.schema.d.ts +188 -0
  46. package/dist/src/profile/schema/find-by-tag-groups-profile.schema.js +15 -0
  47. package/dist/src/profile/schema/find-by-tags-profile.schema.d.ts +219 -0
  48. package/dist/src/profile/schema/find-by-tags-profile.schema.js +20 -0
  49. package/dist/src/profile/schema/find-trash.schema.d.ts +64 -0
  50. package/dist/src/profile/schema/find-trash.schema.js +20 -0
  51. package/dist/src/profile/schema/find-with-active-chat.schema.d.ts +385 -0
  52. package/dist/src/profile/schema/find-with-active-chat.schema.js +22 -0
  53. package/dist/src/{prisma/dtos.dto.js → profile/schema/profile.schema.js} +2 -2
  54. package/dist/src/profile/schema/update-profile.schema.d.ts +196 -0
  55. package/dist/src/profile/schema/update-profile.schema.js +51 -0
  56. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  57. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  58. package/dist/types/schema.d.ts +4 -0
  59. package/package.json +4 -3
  60. /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 dtos_dto_1 = require("../../prisma/dtos.dto");
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(dtos_dto_1.profileSchema.shape.id),
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(dtos_dto_1.profileSchema),
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
  }
@@ -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.12",
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",
@@ -20,7 +21,7 @@
20
21
  "postinstall": "patch-package",
21
22
  "format": "prettier --write \"src/**/*.ts\" \"types/**/*.ts\"",
22
23
  "check-format": "prettier --check \"src/**/*.ts\"",
23
- "check-exports": "attw --pack .",
24
+ "check-exports": "attw --pack --profile node16 .",
24
25
  "local-release": "changeset version && changeset publish",
25
26
  "commit-schema": "git add ./types/schema.d.ts swagger.yaml && git commit -m \"Update schema\"",
26
27
  "start": "npx prisma generate && npx nest start",
@@ -46,7 +47,7 @@
46
47
  "zod": "^3.23.8"
47
48
  },
48
49
  "devDependencies": {
49
- "@arethetypeswrong/cli": "^0.15.4",
50
+ "@arethetypeswrong/cli": "^0.17.3",
50
51
  "@changesets/cli": "^2.27.7",
51
52
  "@nestjs/cli": "^10.0.0",
52
53
  "@nestjs/common": "^10.0.0",