@uniteverses/shared 1.0.94 → 1.0.96
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/deal/types.d.ts +34 -15
- package/dist/domains/politicians/community/residents/explore/index.d.ts +5 -14
- package/dist/domains/politicians/community/residents/explore/index.js +8 -14
- 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 -31
- package/dist/domains/politicians/community/residents/explore/organization_event_occurrence/constants.d.ts +0 -5
- package/dist/domains/politicians/community/residents/explore/organization_event_occurrence/constants.js +1 -6
- package/dist/domains/politicians/community/residents/explore/organization_event_occurrence/types.d.ts +44 -52
- 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,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,10 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./language/types";
|
|
2
2
|
export * from "./type/types";
|
|
3
|
-
export * from "./type_group/types";
|
|
4
|
-
export * from "./organization/types";
|
|
5
3
|
export * from "./organization_translation/types";
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./deal/types";
|
|
9
|
-
export * from "./deal_translation/types";
|
|
4
|
+
export * from "./organization/types";
|
|
5
|
+
export * from "./organization_member/types";
|
|
10
6
|
export * from "./organization_event/types";
|
|
11
7
|
export * from "./organization_event_occurrence/types";
|
|
12
|
-
export * from "./
|
|
8
|
+
export * from "./post/types";
|
|
9
|
+
export * from "./deal/types";
|
|
13
10
|
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,16 @@ 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
|
-
|
|
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/.
|
|
20
|
+
__exportStar(require("./language/types"), exports);
|
|
18
21
|
__exportStar(require("./type/types"), exports);
|
|
19
|
-
__exportStar(require("./type_group/types"), exports);
|
|
20
|
-
__exportStar(require("./organization/types"), exports);
|
|
21
22
|
__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);
|
|
23
|
+
__exportStar(require("./organization/types"), exports);
|
|
24
|
+
__exportStar(require("./organization_member/types"), exports);
|
|
26
25
|
__exportStar(require("./organization_event/types"), exports);
|
|
27
26
|
__exportStar(require("./organization_event_occurrence/types"), exports);
|
|
28
|
-
__exportStar(require("./
|
|
27
|
+
__exportStar(require("./post/types"), exports);
|
|
28
|
+
__exportStar(require("./deal/types"), exports);
|
|
29
29
|
__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,57 +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
|
-
registrationRequired: boolean;
|
|
26
23
|
createdAt: string;
|
|
27
24
|
pinned: boolean;
|
|
28
|
-
|
|
29
|
-
translations: OrgEventTranslation[];
|
|
25
|
+
translations: PoliticiansCommunityResidentsExploreOrganizationEventTranslation[];
|
|
30
26
|
imageUrl?: string | null;
|
|
31
|
-
types?: {
|
|
32
|
-
type: Type;
|
|
33
|
-
}[];
|
|
34
|
-
partnerOrgs?: OrgEventPartnerOrg[];
|
|
35
27
|
_count?: {
|
|
36
28
|
occurrences: number;
|
|
37
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[];
|
|
38
42
|
}
|
|
39
|
-
export interface
|
|
40
|
-
|
|
43
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationEventCreateInput {
|
|
44
|
+
organizationId: string;
|
|
45
|
+
imageStoragePath?: string | null;
|
|
41
46
|
isActive?: boolean;
|
|
42
|
-
|
|
47
|
+
pinned?: boolean;
|
|
43
48
|
typeIds?: string[];
|
|
49
|
+
translations: {
|
|
50
|
+
languageId: string;
|
|
51
|
+
name: string;
|
|
52
|
+
description?: string | null;
|
|
53
|
+
}[];
|
|
44
54
|
}
|
|
45
|
-
export interface
|
|
46
|
-
translations: OrgEventTranslationInput[];
|
|
47
|
-
isActive?: boolean;
|
|
48
|
-
registrationRequired?: boolean;
|
|
55
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationEventUpdateInput {
|
|
49
56
|
imageStoragePath?: string | null;
|
|
57
|
+
isActive?: boolean;
|
|
58
|
+
pinned?: boolean;
|
|
50
59
|
typeIds?: string[];
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
nextOccurrencesCursor?: string | null;
|
|
60
|
+
translations?: {
|
|
61
|
+
languageId: string;
|
|
62
|
+
name: string;
|
|
63
|
+
description?: string | null;
|
|
64
|
+
}[];
|
|
57
65
|
}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.OCCURRENCES_MAX_LIMIT = exports.OCCURRENCES_PAGE_SIZE = void 0;
|
|
4
4
|
exports.OCCURRENCES_PAGE_SIZE = 100;
|
|
5
5
|
exports.OCCURRENCES_MAX_LIMIT = 500;
|
|
6
|
-
exports.APPLICANT_STATUS = {
|
|
7
|
-
PENDING: "pending",
|
|
8
|
-
APPROVED: "approved",
|
|
9
|
-
REJECTED: "rejected",
|
|
10
|
-
};
|
|
@@ -1,64 +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
|
-
applicants?: OrgEventOccurrenceApplicant[];
|
|
24
|
-
participants?: OrgEventOccurrenceParticipant[];
|
|
25
|
-
translations: OrgEventOccurrenceTranslation[];
|
|
5
|
+
endsAt?: string | null;
|
|
6
|
+
location?: string | null;
|
|
7
|
+
capacity?: number | null;
|
|
8
|
+
rsvpLink?: string | null;
|
|
26
9
|
imageUrl?: string | null;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
+
}[];
|
|
30
29
|
};
|
|
30
|
+
organization?: PoliticiansCommunityResidentsExploreOrganization;
|
|
31
31
|
}
|
|
32
|
-
export interface
|
|
32
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationEventOccurrenceCreateInput {
|
|
33
|
+
eventId: string;
|
|
33
34
|
startsAt: string;
|
|
34
|
-
endsAt?: string;
|
|
35
|
-
location?: string;
|
|
36
|
-
capacity?: number;
|
|
35
|
+
endsAt?: string | null;
|
|
36
|
+
location?: string | null;
|
|
37
|
+
capacity?: number | null;
|
|
37
38
|
rsvpLink?: string | null;
|
|
38
|
-
|
|
39
|
+
imageStoragePath?: string | null;
|
|
40
|
+
translations?: {
|
|
41
|
+
languageId: string;
|
|
42
|
+
description?: string | null;
|
|
43
|
+
}[];
|
|
39
44
|
}
|
|
40
|
-
export interface
|
|
45
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationEventOccurrenceUpdateInput {
|
|
41
46
|
startsAt?: string;
|
|
42
|
-
endsAt?: string;
|
|
43
|
-
location?: string;
|
|
44
|
-
capacity?: number;
|
|
47
|
+
endsAt?: string | null;
|
|
48
|
+
location?: string | null;
|
|
49
|
+
capacity?: number | null;
|
|
45
50
|
rsvpLink?: string | null;
|
|
46
51
|
imageStoragePath?: string | null;
|
|
47
|
-
translations?:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
id: string;
|
|
52
|
-
occurrenceId: string;
|
|
53
|
-
userId: string;
|
|
54
|
-
status: ApplicantStatus;
|
|
55
|
-
appliedAt: string;
|
|
56
|
-
user: User;
|
|
57
|
-
}
|
|
58
|
-
export interface OrgEventOccurrenceParticipant {
|
|
59
|
-
id: string;
|
|
60
|
-
occurrenceId: string;
|
|
61
|
-
userId: string;
|
|
62
|
-
joinedAt: string;
|
|
63
|
-
user: User;
|
|
52
|
+
translations?: {
|
|
53
|
+
languageId: string;
|
|
54
|
+
description?: string | null;
|
|
55
|
+
}[];
|
|
64
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
|
}
|