@uniteverses/shared 1.0.102 → 1.0.104

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.
@@ -3,9 +3,11 @@ export * from "./language/types";
3
3
  export * from "./type/types";
4
4
  export * from "./organization_translation/types";
5
5
  export * from "./organization/types";
6
+ export * from "./map/types";
6
7
  export * from "./organization_member/types";
7
8
  export * from "./organization_event/types";
8
9
  export * from "./organization_event_occurrence/types";
9
10
  export * from "./post/types";
10
11
  export * from "./deal/types";
11
12
  export * from "./inquiry/types";
13
+ export * from "./profile/types";
@@ -22,9 +22,11 @@ __exportStar(require("./language/types"), exports);
22
22
  __exportStar(require("./type/types"), exports);
23
23
  __exportStar(require("./organization_translation/types"), exports);
24
24
  __exportStar(require("./organization/types"), exports);
25
+ __exportStar(require("./map/types"), exports);
25
26
  __exportStar(require("./organization_member/types"), exports);
26
27
  __exportStar(require("./organization_event/types"), exports);
27
28
  __exportStar(require("./organization_event_occurrence/types"), exports);
28
29
  __exportStar(require("./post/types"), exports);
29
30
  __exportStar(require("./deal/types"), exports);
30
31
  __exportStar(require("./inquiry/types"), exports);
32
+ __exportStar(require("./profile/types"), exports);
@@ -0,0 +1,19 @@
1
+ import type { PoliticiansCommunityResidentsExploreType } from "..";
2
+ export interface PoliticiansCommunityResidentsExploreMapPinTranslation {
3
+ name: string;
4
+ language: {
5
+ code: string;
6
+ };
7
+ }
8
+ export interface PoliticiansCommunityResidentsExploreMapPin {
9
+ id: string;
10
+ name: string;
11
+ imageUrl?: string | null;
12
+ description?: string | null;
13
+ latitude: number;
14
+ longitude: number;
15
+ types?: {
16
+ type: PoliticiansCommunityResidentsExploreType;
17
+ }[];
18
+ translations?: PoliticiansCommunityResidentsExploreMapPinTranslation[];
19
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,39 +1,40 @@
1
- import type { Language, User } from "..";
2
- export interface ProfileTranslationInput {
3
- languageId: string;
4
- bio?: string;
5
- job?: string;
6
- }
7
- export interface CreateProfileInput {
8
- dob: string;
9
- translations?: ProfileTranslationInput[];
10
- }
11
- export interface UpdateProfileInput {
12
- dob?: string;
13
- translations?: ProfileTranslationInput[];
14
- }
15
- export interface ProfileTranslation {
1
+ import type { PoliticiansCommunityResidentsExploreLanguage } from "..";
2
+ export interface PoliticiansCommunityResidentsExploreProfileTranslation {
16
3
  id: string;
17
4
  profileId: string;
18
5
  languageId: string;
19
- bio: string | null;
20
- job: string | null;
6
+ firstName: string;
7
+ lastName: string;
8
+ bio?: string | null;
9
+ job?: string | null;
10
+ education?: string | null;
21
11
  createdAt: string;
22
- updatedAt: string;
23
- language: Language;
12
+ language: PoliticiansCommunityResidentsExploreLanguage;
24
13
  }
25
- export interface Profile {
14
+ export interface PoliticiansCommunityResidentsExploreProfile {
26
15
  id: string;
27
16
  userId: string;
28
17
  dob: string;
18
+ imageUrl?: string | null;
29
19
  createdAt: string;
30
20
  updatedAt: string;
31
- translations: ProfileTranslation[];
32
- user: User;
21
+ translations: PoliticiansCommunityResidentsExploreProfileTranslation[];
33
22
  }
34
- export interface CheckProfileResult {
35
- exists: boolean;
23
+ export interface PoliticiansCommunityResidentsExploreProfileTranslationInput {
24
+ languageId: string;
25
+ firstName: string;
26
+ lastName: string;
27
+ bio?: string | null;
28
+ job?: string | null;
29
+ education?: string | null;
36
30
  }
37
- export interface DeleteProfileResult {
38
- deleted: boolean;
31
+ export interface PoliticiansCommunityResidentsExploreProfileCreateInput {
32
+ dob: string;
33
+ imageStoragePath?: string | null;
34
+ translations: PoliticiansCommunityResidentsExploreProfileTranslationInput[];
35
+ }
36
+ export interface PoliticiansCommunityResidentsExploreProfileUpdateInput {
37
+ dob?: string;
38
+ imageStoragePath?: string | null;
39
+ translations?: PoliticiansCommunityResidentsExploreProfileTranslationInput[];
39
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.102",
3
+ "version": "1.0.104",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [