@uniteverses/shared 1.0.95 → 1.0.97
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/domains/politicians/community/residents/explore/common/types.d.ts +1 -22
- package/dist/domains/politicians/community/residents/explore/common/types.js +5 -1
- package/dist/domains/politicians/community/residents/explore/deal/types.d.ts +34 -15
- package/dist/domains/politicians/community/residents/explore/index.d.ts +5 -13
- package/dist/domains/politicians/community/residents/explore/index.js +8 -13
- package/dist/domains/politicians/community/residents/explore/inquiry/types.d.ts +1 -4
- package/dist/domains/politicians/community/residents/explore/language/types.d.ts +5 -0
- package/dist/domains/politicians/community/residents/explore/language/types.js +2 -0
- package/dist/domains/politicians/community/residents/explore/organization/types.d.ts +27 -49
- package/dist/domains/politicians/community/residents/explore/organization_event/types.d.ts +39 -28
- package/dist/domains/politicians/community/residents/explore/organization_event_occurrence/types.d.ts +45 -31
- package/dist/domains/politicians/community/residents/explore/organization_member/types.d.ts +6 -11
- package/dist/domains/politicians/community/residents/explore/organization_translation/types.d.ts +3 -3
- package/dist/domains/politicians/community/residents/explore/post/types.d.ts +30 -29
- package/dist/domains/politicians/community/residents/explore/type/types.d.ts +5 -7
- package/package.json +1 -1
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
export interface Language {
|
|
2
|
-
id: string;
|
|
3
|
-
code: string;
|
|
4
|
-
name: string;
|
|
5
|
-
}
|
|
6
1
|
export interface User {
|
|
7
2
|
id: string;
|
|
8
3
|
firstName: string;
|
|
9
4
|
lastName: string;
|
|
10
5
|
username: string;
|
|
11
|
-
createdAt
|
|
6
|
+
createdAt?: string;
|
|
12
7
|
}
|
|
13
8
|
export interface CreateUserInput {
|
|
14
9
|
id: string;
|
|
@@ -27,19 +22,3 @@ export interface CheckUsernameResult {
|
|
|
27
22
|
export interface CheckAdminResult {
|
|
28
23
|
isAdmin: boolean;
|
|
29
24
|
}
|
|
30
|
-
export interface Unit {
|
|
31
|
-
id: string;
|
|
32
|
-
name: string;
|
|
33
|
-
label: string;
|
|
34
|
-
createdAt: string;
|
|
35
|
-
}
|
|
36
|
-
export interface Size {
|
|
37
|
-
id: string;
|
|
38
|
-
name: string;
|
|
39
|
-
label: string;
|
|
40
|
-
createdAt: string;
|
|
41
|
-
}
|
|
42
|
-
export interface ImageUploadResult {
|
|
43
|
-
storagePath: string;
|
|
44
|
-
url: string;
|
|
45
|
-
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
//
|
|
2
|
+
// Auth / user wire types shared by the auth domain (api `domains/auth/*` +
|
|
3
|
+
// website `app/auth/*`) and the admin check. Generic (unprefixed) names because
|
|
4
|
+
// the auth consumers import them as `User` / `CheckAdminResult` / etc. They live
|
|
5
|
+
// here (the explore shared leaf) because that is the writable shared mount;
|
|
6
|
+
// `Language` was moved out to `language/types.ts` to avoid a duplicate export.
|
|
3
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,8 +1,22 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface
|
|
1
|
+
import type { PoliticiansCommunityResidentsExploreLanguage, PoliticiansCommunityResidentsExploreOrganization, PoliticiansCommunityResidentsExploreType } from "..";
|
|
2
|
+
export interface PoliticiansCommunityResidentsExploreDealTranslation {
|
|
3
|
+
id: string;
|
|
4
|
+
dealId: string;
|
|
5
|
+
languageId: string;
|
|
6
|
+
title: string;
|
|
7
|
+
body: string | null;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
language: PoliticiansCommunityResidentsExploreLanguage;
|
|
10
|
+
}
|
|
11
|
+
export interface PoliticiansCommunityResidentsExploreDeal {
|
|
3
12
|
id: string;
|
|
4
13
|
organizationId: string;
|
|
5
|
-
|
|
14
|
+
createdAt: string;
|
|
15
|
+
pinned: boolean;
|
|
16
|
+
translations: PoliticiansCommunityResidentsExploreDealTranslation[];
|
|
17
|
+
types?: {
|
|
18
|
+
type: PoliticiansCommunityResidentsExploreType;
|
|
19
|
+
}[];
|
|
6
20
|
imageUrl?: string | null;
|
|
7
21
|
previousPrice: string | null;
|
|
8
22
|
currentPrice: string | null;
|
|
@@ -12,18 +26,13 @@ export interface Deal {
|
|
|
12
26
|
bogoGet: number | null;
|
|
13
27
|
startsAt: string | null;
|
|
14
28
|
endsAt: string | null;
|
|
15
|
-
|
|
16
|
-
deletedAt: string | null;
|
|
17
|
-
pinned: boolean;
|
|
18
|
-
organization?: Organization | null;
|
|
19
|
-
translations?: DealTranslation[];
|
|
20
|
-
types?: {
|
|
21
|
-
type: Type;
|
|
22
|
-
}[];
|
|
29
|
+
organization: PoliticiansCommunityResidentsExploreOrganization;
|
|
23
30
|
}
|
|
24
|
-
export interface
|
|
31
|
+
export interface PoliticiansCommunityResidentsExploreDealCreateInput {
|
|
25
32
|
organizationId: string;
|
|
26
33
|
imageStoragePath?: string | null;
|
|
34
|
+
pinned?: boolean;
|
|
35
|
+
typeIds?: string[];
|
|
27
36
|
previousPrice?: string | null;
|
|
28
37
|
currentPrice?: string | null;
|
|
29
38
|
percentOff?: number | null;
|
|
@@ -32,10 +41,16 @@ export interface CreateDealInput {
|
|
|
32
41
|
bogoGet?: number | null;
|
|
33
42
|
startsAt?: string | null;
|
|
34
43
|
endsAt?: string | null;
|
|
35
|
-
|
|
44
|
+
translations: {
|
|
45
|
+
languageId: string;
|
|
46
|
+
title: string;
|
|
47
|
+
body?: string | null;
|
|
48
|
+
}[];
|
|
36
49
|
}
|
|
37
|
-
export interface
|
|
50
|
+
export interface PoliticiansCommunityResidentsExploreDealUpdateInput {
|
|
38
51
|
imageStoragePath?: string | null;
|
|
52
|
+
pinned?: boolean;
|
|
53
|
+
typeIds?: string[];
|
|
39
54
|
previousPrice?: string | null;
|
|
40
55
|
currentPrice?: string | null;
|
|
41
56
|
percentOff?: number | null;
|
|
@@ -44,5 +59,9 @@ export interface UpdateDealInput {
|
|
|
44
59
|
bogoGet?: number | null;
|
|
45
60
|
startsAt?: string | null;
|
|
46
61
|
endsAt?: string | null;
|
|
47
|
-
|
|
62
|
+
translations?: {
|
|
63
|
+
languageId: string;
|
|
64
|
+
title: string;
|
|
65
|
+
body?: string | null;
|
|
66
|
+
}[];
|
|
48
67
|
}
|
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
export * from "./common/types";
|
|
2
|
+
export * from "./language/types";
|
|
2
3
|
export * from "./type/types";
|
|
3
|
-
export * from "./type_group/types";
|
|
4
|
-
export * from "./organization/types";
|
|
5
4
|
export * from "./organization_translation/types";
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./deal/types";
|
|
9
|
-
export * from "./deal_translation/types";
|
|
5
|
+
export * from "./organization/types";
|
|
6
|
+
export * from "./organization_member/types";
|
|
10
7
|
export * from "./organization_event/types";
|
|
11
8
|
export * from "./organization_event_occurrence/types";
|
|
12
|
-
export * from "./
|
|
9
|
+
export * from "./post/types";
|
|
10
|
+
export * from "./deal/types";
|
|
13
11
|
export * from "./inquiry/types";
|
|
14
|
-
export * from "./post/constants";
|
|
15
|
-
export * from "./deal/constants";
|
|
16
|
-
export * from "./organization/constants";
|
|
17
|
-
export * from "./organization_event/constants";
|
|
18
|
-
export * from "./organization_event_occurrence/constants";
|
|
19
|
-
export * from "./inquiry/constants";
|
|
@@ -14,22 +14,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// Scope barrel for politicians/community/residents/explore wire types.
|
|
18
|
+
// Landing-needed slice restored; further per-model types/constants are
|
|
19
|
+
// re-added here as each model is rebuilt out of v2/.
|
|
17
20
|
__exportStar(require("./common/types"), exports);
|
|
21
|
+
__exportStar(require("./language/types"), exports);
|
|
18
22
|
__exportStar(require("./type/types"), exports);
|
|
19
|
-
__exportStar(require("./type_group/types"), exports);
|
|
20
|
-
__exportStar(require("./organization/types"), exports);
|
|
21
23
|
__exportStar(require("./organization_translation/types"), exports);
|
|
22
|
-
__exportStar(require("./
|
|
23
|
-
__exportStar(require("./
|
|
24
|
-
__exportStar(require("./deal/types"), exports);
|
|
25
|
-
__exportStar(require("./deal_translation/types"), exports);
|
|
24
|
+
__exportStar(require("./organization/types"), exports);
|
|
25
|
+
__exportStar(require("./organization_member/types"), exports);
|
|
26
26
|
__exportStar(require("./organization_event/types"), exports);
|
|
27
27
|
__exportStar(require("./organization_event_occurrence/types"), exports);
|
|
28
|
-
__exportStar(require("./
|
|
28
|
+
__exportStar(require("./post/types"), exports);
|
|
29
|
+
__exportStar(require("./deal/types"), exports);
|
|
29
30
|
__exportStar(require("./inquiry/types"), exports);
|
|
30
|
-
__exportStar(require("./post/constants"), exports);
|
|
31
|
-
__exportStar(require("./deal/constants"), exports);
|
|
32
|
-
__exportStar(require("./organization/constants"), exports);
|
|
33
|
-
__exportStar(require("./organization_event/constants"), exports);
|
|
34
|
-
__exportStar(require("./organization_event_occurrence/constants"), exports);
|
|
35
|
-
__exportStar(require("./inquiry/constants"), exports);
|
|
@@ -1,72 +1,50 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export interface OrganizationAddress {
|
|
4
|
-
id: string;
|
|
5
|
-
organizationId: string;
|
|
1
|
+
import type { PoliticiansCommunityResidentsExploreOrganizationTranslation, PoliticiansCommunityResidentsExploreType } from "..";
|
|
2
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationAddress {
|
|
6
3
|
street: string;
|
|
7
4
|
city: string;
|
|
8
5
|
state: string;
|
|
9
6
|
zip: string;
|
|
10
|
-
country
|
|
11
|
-
createdAt: string;
|
|
7
|
+
country?: string;
|
|
12
8
|
}
|
|
13
|
-
export interface
|
|
14
|
-
id: string;
|
|
15
|
-
organizationId: string;
|
|
9
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationPhone {
|
|
16
10
|
number: string;
|
|
17
11
|
label: string | null;
|
|
18
|
-
createdAt: string;
|
|
19
12
|
}
|
|
20
|
-
export interface
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
types: {
|
|
27
|
-
type: Type;
|
|
28
|
-
}[];
|
|
29
|
-
addresses: OrganizationAddress[];
|
|
30
|
-
phones: OrganizationPhone[];
|
|
31
|
-
imageUrl?: string | null;
|
|
32
|
-
translations?: OrganizationTranslation[];
|
|
13
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationAddressInput {
|
|
14
|
+
street: string;
|
|
15
|
+
city: string;
|
|
16
|
+
state: string;
|
|
17
|
+
zip: string;
|
|
18
|
+
country: string;
|
|
33
19
|
}
|
|
34
|
-
export interface
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
typeIds?: string[];
|
|
38
|
-
addresses?: Omit<OrganizationAddress, "id" | "organizationId" | "createdAt">[];
|
|
39
|
-
phones?: Omit<OrganizationPhone, "id" | "organizationId" | "createdAt">[];
|
|
20
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationPhoneInput {
|
|
21
|
+
number: string;
|
|
22
|
+
label?: string | null;
|
|
40
23
|
}
|
|
41
|
-
export interface
|
|
24
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationUpdateInput {
|
|
42
25
|
name?: string;
|
|
43
26
|
description?: string | null;
|
|
44
27
|
imageStoragePath?: string | null;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
28
|
+
addresses?: PoliticiansCommunityResidentsExploreOrganizationAddressInput[];
|
|
29
|
+
phones?: PoliticiansCommunityResidentsExploreOrganizationPhoneInput[];
|
|
30
|
+
translations?: {
|
|
31
|
+
languageId: string;
|
|
32
|
+
name: string;
|
|
33
|
+
description?: string | null;
|
|
34
|
+
}[];
|
|
48
35
|
}
|
|
49
|
-
export interface
|
|
36
|
+
export interface PoliticiansCommunityResidentsExploreOrganization {
|
|
50
37
|
id: string;
|
|
51
38
|
name: string;
|
|
39
|
+
pinned?: boolean;
|
|
52
40
|
description?: string | null;
|
|
53
41
|
imageUrl?: string | null;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
street: string;
|
|
57
|
-
city: string;
|
|
58
|
-
state: string;
|
|
59
|
-
zip: string;
|
|
60
|
-
}[];
|
|
61
|
-
phones?: {
|
|
62
|
-
number: string;
|
|
63
|
-
label?: string | null;
|
|
64
|
-
}[];
|
|
65
|
-
translations?: OrganizationTranslation[];
|
|
42
|
+
addresses?: PoliticiansCommunityResidentsExploreOrganizationAddress[];
|
|
43
|
+
phones?: PoliticiansCommunityResidentsExploreOrganizationPhone[];
|
|
66
44
|
types?: {
|
|
67
|
-
type:
|
|
45
|
+
type: PoliticiansCommunityResidentsExploreType;
|
|
68
46
|
}[];
|
|
69
|
-
|
|
47
|
+
translations?: PoliticiansCommunityResidentsExploreOrganizationTranslation[];
|
|
70
48
|
_count?: {
|
|
71
49
|
events: number;
|
|
72
50
|
};
|
|
@@ -1,54 +1,65 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface
|
|
1
|
+
import type { PoliticiansCommunityResidentsExploreLanguage, PoliticiansCommunityResidentsExploreOrganization, PoliticiansCommunityResidentsExploreType } from "..";
|
|
2
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationEventTranslation {
|
|
3
3
|
id: string;
|
|
4
4
|
eventId: string;
|
|
5
5
|
languageId: string;
|
|
6
6
|
name: string;
|
|
7
7
|
description: string | null;
|
|
8
8
|
createdAt: string;
|
|
9
|
-
language:
|
|
9
|
+
language: PoliticiansCommunityResidentsExploreLanguage;
|
|
10
10
|
}
|
|
11
|
-
export interface
|
|
12
|
-
languageId: string;
|
|
13
|
-
name: string;
|
|
14
|
-
description?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface OrgEventPartnerOrg {
|
|
11
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationEventPartnerOrg {
|
|
17
12
|
id: string;
|
|
18
13
|
organizationId: string;
|
|
19
|
-
organization:
|
|
14
|
+
organization: {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
};
|
|
20
18
|
}
|
|
21
|
-
export interface
|
|
19
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationEvent {
|
|
22
20
|
id: string;
|
|
23
21
|
organizationId: string;
|
|
24
22
|
isActive: boolean;
|
|
25
23
|
createdAt: string;
|
|
26
24
|
pinned: boolean;
|
|
27
|
-
|
|
28
|
-
translations: OrgEventTranslation[];
|
|
25
|
+
translations: PoliticiansCommunityResidentsExploreOrganizationEventTranslation[];
|
|
29
26
|
imageUrl?: string | null;
|
|
30
|
-
types?: {
|
|
31
|
-
type: Type;
|
|
32
|
-
}[];
|
|
33
|
-
partnerOrgs?: OrgEventPartnerOrg[];
|
|
34
27
|
_count?: {
|
|
35
28
|
occurrences: number;
|
|
36
29
|
};
|
|
30
|
+
types?: {
|
|
31
|
+
type: PoliticiansCommunityResidentsExploreType;
|
|
32
|
+
}[];
|
|
33
|
+
organization: PoliticiansCommunityResidentsExploreOrganization;
|
|
34
|
+
nextOccurrenceAt?: string | null;
|
|
35
|
+
occurrences?: {
|
|
36
|
+
id: string;
|
|
37
|
+
startsAt: string;
|
|
38
|
+
endsAt?: string | null;
|
|
39
|
+
location?: string | null;
|
|
40
|
+
}[];
|
|
41
|
+
partnerOrgs?: PoliticiansCommunityResidentsExploreOrganizationEventPartnerOrg[];
|
|
37
42
|
}
|
|
38
|
-
export interface
|
|
39
|
-
|
|
43
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationEventCreateInput {
|
|
44
|
+
organizationId: string;
|
|
45
|
+
imageStoragePath?: string | null;
|
|
40
46
|
isActive?: boolean;
|
|
47
|
+
pinned?: boolean;
|
|
41
48
|
typeIds?: string[];
|
|
49
|
+
translations: {
|
|
50
|
+
languageId: string;
|
|
51
|
+
name: string;
|
|
52
|
+
description?: string | null;
|
|
53
|
+
}[];
|
|
42
54
|
}
|
|
43
|
-
export interface
|
|
44
|
-
translations: OrgEventTranslationInput[];
|
|
45
|
-
isActive?: boolean;
|
|
55
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationEventUpdateInput {
|
|
46
56
|
imageStoragePath?: string | null;
|
|
57
|
+
isActive?: boolean;
|
|
58
|
+
pinned?: boolean;
|
|
47
59
|
typeIds?: string[];
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
nextOccurrencesCursor?: string | null;
|
|
60
|
+
translations?: {
|
|
61
|
+
languageId: string;
|
|
62
|
+
name: string;
|
|
63
|
+
description?: string | null;
|
|
64
|
+
}[];
|
|
54
65
|
}
|
|
@@ -1,42 +1,56 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface
|
|
1
|
+
import type { PoliticiansCommunityResidentsExploreOrganization } from "..";
|
|
2
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationEventOccurrence {
|
|
3
3
|
id: string;
|
|
4
|
-
occurrenceId: string;
|
|
5
|
-
languageId: string;
|
|
6
|
-
description: string | null;
|
|
7
|
-
createdAt: string;
|
|
8
|
-
language: Language;
|
|
9
|
-
}
|
|
10
|
-
export interface OrgEventOccurrenceTranslationInput {
|
|
11
|
-
languageId: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface OrgEventOccurrence {
|
|
15
|
-
id: string;
|
|
16
|
-
eventId: string;
|
|
17
4
|
startsAt: string;
|
|
18
|
-
endsAt
|
|
19
|
-
location
|
|
20
|
-
capacity
|
|
21
|
-
rsvpLink
|
|
22
|
-
createdAt: string;
|
|
23
|
-
translations: OrgEventOccurrenceTranslation[];
|
|
5
|
+
endsAt?: string | null;
|
|
6
|
+
location?: string | null;
|
|
7
|
+
capacity?: number | null;
|
|
8
|
+
rsvpLink?: string | null;
|
|
24
9
|
imageUrl?: string | null;
|
|
10
|
+
translations?: {
|
|
11
|
+
languageId: string;
|
|
12
|
+
language: {
|
|
13
|
+
id: string;
|
|
14
|
+
code: string;
|
|
15
|
+
name: string;
|
|
16
|
+
};
|
|
17
|
+
description?: string | null;
|
|
18
|
+
}[];
|
|
19
|
+
event?: {
|
|
20
|
+
id: string;
|
|
21
|
+
translations?: {
|
|
22
|
+
languageId: string;
|
|
23
|
+
language: {
|
|
24
|
+
code: string;
|
|
25
|
+
name: string;
|
|
26
|
+
};
|
|
27
|
+
name?: string | null;
|
|
28
|
+
}[];
|
|
29
|
+
};
|
|
30
|
+
organization?: PoliticiansCommunityResidentsExploreOrganization;
|
|
25
31
|
}
|
|
26
|
-
export interface
|
|
32
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationEventOccurrenceCreateInput {
|
|
33
|
+
eventId: string;
|
|
27
34
|
startsAt: string;
|
|
28
|
-
endsAt?: string;
|
|
29
|
-
location?: string;
|
|
30
|
-
capacity?: number;
|
|
35
|
+
endsAt?: string | null;
|
|
36
|
+
location?: string | null;
|
|
37
|
+
capacity?: number | null;
|
|
31
38
|
rsvpLink?: string | null;
|
|
32
|
-
|
|
39
|
+
imageStoragePath?: string | null;
|
|
40
|
+
translations?: {
|
|
41
|
+
languageId: string;
|
|
42
|
+
description?: string | null;
|
|
43
|
+
}[];
|
|
33
44
|
}
|
|
34
|
-
export interface
|
|
45
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationEventOccurrenceUpdateInput {
|
|
35
46
|
startsAt?: string;
|
|
36
|
-
endsAt?: string;
|
|
37
|
-
location?: string;
|
|
38
|
-
capacity?: number;
|
|
47
|
+
endsAt?: string | null;
|
|
48
|
+
location?: string | null;
|
|
49
|
+
capacity?: number | null;
|
|
39
50
|
rsvpLink?: string | null;
|
|
40
51
|
imageStoragePath?: string | null;
|
|
41
|
-
translations?:
|
|
52
|
+
translations?: {
|
|
53
|
+
languageId: string;
|
|
54
|
+
description?: string | null;
|
|
55
|
+
}[];
|
|
42
56
|
}
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
export interface OrgMember {
|
|
1
|
+
export interface PoliticiansCommunityResidentsExploreUser {
|
|
3
2
|
id: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
user: User;
|
|
3
|
+
firstName: string;
|
|
4
|
+
lastName: string;
|
|
5
|
+
username: string;
|
|
8
6
|
}
|
|
9
|
-
export interface
|
|
7
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationMember {
|
|
10
8
|
id: string;
|
|
11
9
|
organizationId: string;
|
|
12
|
-
createdAt: string;
|
|
13
|
-
organization: Organization;
|
|
14
|
-
}
|
|
15
|
-
export interface AddOrgMemberInput {
|
|
16
10
|
userId: string;
|
|
11
|
+
user: PoliticiansCommunityResidentsExploreUser;
|
|
17
12
|
}
|
package/dist/domains/politicians/community/residents/explore/organization_translation/types.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface
|
|
1
|
+
import type { PoliticiansCommunityResidentsExploreLanguage } from "..";
|
|
2
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationTranslation {
|
|
3
3
|
id: string;
|
|
4
4
|
organizationId: string;
|
|
5
5
|
languageId: string;
|
|
6
6
|
name: string;
|
|
7
7
|
description: string | null;
|
|
8
8
|
createdAt: string;
|
|
9
|
-
language:
|
|
9
|
+
language: PoliticiansCommunityResidentsExploreLanguage;
|
|
10
10
|
}
|
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface
|
|
3
|
-
title?: string;
|
|
4
|
-
body?: string;
|
|
5
|
-
organizationId?: string;
|
|
6
|
-
imageStoragePath?: string | null;
|
|
7
|
-
typeIds?: string[];
|
|
8
|
-
}
|
|
9
|
-
export interface UpdatePostInput {
|
|
10
|
-
title?: string;
|
|
11
|
-
body?: string;
|
|
12
|
-
imageStoragePath?: string | null;
|
|
13
|
-
typeIds?: string[];
|
|
14
|
-
}
|
|
15
|
-
export interface PostVersion {
|
|
1
|
+
import type { PoliticiansCommunityResidentsExploreLanguage, PoliticiansCommunityResidentsExploreOrganization, PoliticiansCommunityResidentsExploreType } from "..";
|
|
2
|
+
export interface PoliticiansCommunityResidentsExplorePostTranslation {
|
|
16
3
|
id: string;
|
|
17
4
|
postId: string;
|
|
18
|
-
|
|
5
|
+
languageId: string;
|
|
19
6
|
title: string;
|
|
20
|
-
body
|
|
7
|
+
body?: string | null;
|
|
21
8
|
createdAt: string;
|
|
9
|
+
language: PoliticiansCommunityResidentsExploreLanguage;
|
|
22
10
|
}
|
|
23
|
-
export interface
|
|
11
|
+
export interface PoliticiansCommunityResidentsExplorePost {
|
|
24
12
|
id: string;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
imageStoragePath?: string | null;
|
|
28
|
-
imageUrl?: string | null;
|
|
13
|
+
organizationId: string;
|
|
14
|
+
pinned?: boolean;
|
|
29
15
|
createdAt: string;
|
|
30
|
-
|
|
31
|
-
pinned: boolean;
|
|
32
|
-
user: User;
|
|
33
|
-
organization?: Organization | null;
|
|
34
|
-
versions: PostVersion[];
|
|
35
|
-
translations?: PostTranslation[];
|
|
16
|
+
translations: PoliticiansCommunityResidentsExplorePostTranslation[];
|
|
36
17
|
types?: {
|
|
37
|
-
type:
|
|
18
|
+
type: PoliticiansCommunityResidentsExploreType;
|
|
38
19
|
}[];
|
|
20
|
+
imageUrl?: string | null;
|
|
21
|
+
organization: PoliticiansCommunityResidentsExploreOrganization;
|
|
22
|
+
}
|
|
23
|
+
export interface PoliticiansCommunityResidentsExplorePostTranslationInput {
|
|
24
|
+
languageId: string;
|
|
25
|
+
title: string;
|
|
26
|
+
body?: string | null;
|
|
27
|
+
}
|
|
28
|
+
export interface PoliticiansCommunityResidentsExplorePostCreateInput {
|
|
29
|
+
organizationId: string;
|
|
30
|
+
imageStoragePath?: string | null;
|
|
31
|
+
pinned?: boolean;
|
|
32
|
+
topicId?: string | null;
|
|
33
|
+
translations: PoliticiansCommunityResidentsExplorePostTranslationInput[];
|
|
34
|
+
}
|
|
35
|
+
export interface PoliticiansCommunityResidentsExplorePostUpdateInput {
|
|
36
|
+
imageStoragePath?: string | null;
|
|
37
|
+
pinned?: boolean;
|
|
38
|
+
topicId?: string | null;
|
|
39
|
+
translations?: PoliticiansCommunityResidentsExplorePostTranslationInput[];
|
|
39
40
|
}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export interface TypeTranslation {
|
|
1
|
+
import type { PoliticiansCommunityResidentsExploreLanguage } from "..";
|
|
2
|
+
export interface PoliticiansCommunityResidentsExploreTypeTranslation {
|
|
4
3
|
id: string;
|
|
5
4
|
typeId: string;
|
|
6
5
|
languageId: string;
|
|
7
6
|
name: string;
|
|
8
7
|
createdAt: string;
|
|
9
|
-
language:
|
|
8
|
+
language: PoliticiansCommunityResidentsExploreLanguage;
|
|
10
9
|
}
|
|
11
|
-
export interface
|
|
10
|
+
export interface PoliticiansCommunityResidentsExploreType {
|
|
12
11
|
id: string;
|
|
13
12
|
emoji: string;
|
|
14
13
|
createdAt: string;
|
|
15
|
-
translations?:
|
|
16
|
-
groups?: TypeGroupType[];
|
|
14
|
+
translations?: PoliticiansCommunityResidentsExploreTypeTranslation[];
|
|
17
15
|
}
|