@uniteverses/shared 1.0.93 → 1.0.95
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/index.d.ts +0 -10
- package/dist/domains/politicians/community/residents/explore/index.js +0 -10
- package/dist/domains/politicians/community/residents/explore/organization/types.d.ts +0 -6
- package/dist/domains/politicians/community/residents/explore/organization_event/types.d.ts +0 -3
- 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 +1 -25
- package/dist/domains/politicians/community/residents/explore/post/types.d.ts +1 -8
- package/package.json +1 -1
|
@@ -1,21 +1,14 @@
|
|
|
1
1
|
export * from "./common/types";
|
|
2
|
-
export * from "./profile/types";
|
|
3
2
|
export * from "./type/types";
|
|
4
3
|
export * from "./type_group/types";
|
|
5
4
|
export * from "./organization/types";
|
|
6
5
|
export * from "./organization_translation/types";
|
|
7
|
-
export * from "./topic/types";
|
|
8
6
|
export * from "./post/types";
|
|
9
7
|
export * from "./post_translation/types";
|
|
10
|
-
export * from "./comment/types";
|
|
11
8
|
export * from "./deal/types";
|
|
12
9
|
export * from "./deal_translation/types";
|
|
13
10
|
export * from "./organization_event/types";
|
|
14
11
|
export * from "./organization_event_occurrence/types";
|
|
15
|
-
export * from "./food_item/types";
|
|
16
|
-
export * from "./food_group/types";
|
|
17
|
-
export * from "./organization_food_item/types";
|
|
18
|
-
export * from "./organization_food_group/types";
|
|
19
12
|
export * from "./organization_member/types";
|
|
20
13
|
export * from "./inquiry/types";
|
|
21
14
|
export * from "./post/constants";
|
|
@@ -23,7 +16,4 @@ export * from "./deal/constants";
|
|
|
23
16
|
export * from "./organization/constants";
|
|
24
17
|
export * from "./organization_event/constants";
|
|
25
18
|
export * from "./organization_event_occurrence/constants";
|
|
26
|
-
export * from "./food_group/constants";
|
|
27
|
-
export * from "./topic/constants";
|
|
28
|
-
export * from "./comment/constants";
|
|
29
19
|
export * from "./inquiry/constants";
|
|
@@ -15,23 +15,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./common/types"), exports);
|
|
18
|
-
__exportStar(require("./profile/types"), exports);
|
|
19
18
|
__exportStar(require("./type/types"), exports);
|
|
20
19
|
__exportStar(require("./type_group/types"), exports);
|
|
21
20
|
__exportStar(require("./organization/types"), exports);
|
|
22
21
|
__exportStar(require("./organization_translation/types"), exports);
|
|
23
|
-
__exportStar(require("./topic/types"), exports);
|
|
24
22
|
__exportStar(require("./post/types"), exports);
|
|
25
23
|
__exportStar(require("./post_translation/types"), exports);
|
|
26
|
-
__exportStar(require("./comment/types"), exports);
|
|
27
24
|
__exportStar(require("./deal/types"), exports);
|
|
28
25
|
__exportStar(require("./deal_translation/types"), exports);
|
|
29
26
|
__exportStar(require("./organization_event/types"), exports);
|
|
30
27
|
__exportStar(require("./organization_event_occurrence/types"), exports);
|
|
31
|
-
__exportStar(require("./food_item/types"), exports);
|
|
32
|
-
__exportStar(require("./food_group/types"), exports);
|
|
33
|
-
__exportStar(require("./organization_food_item/types"), exports);
|
|
34
|
-
__exportStar(require("./organization_food_group/types"), exports);
|
|
35
28
|
__exportStar(require("./organization_member/types"), exports);
|
|
36
29
|
__exportStar(require("./inquiry/types"), exports);
|
|
37
30
|
__exportStar(require("./post/constants"), exports);
|
|
@@ -39,7 +32,4 @@ __exportStar(require("./deal/constants"), exports);
|
|
|
39
32
|
__exportStar(require("./organization/constants"), exports);
|
|
40
33
|
__exportStar(require("./organization_event/constants"), exports);
|
|
41
34
|
__exportStar(require("./organization_event_occurrence/constants"), exports);
|
|
42
|
-
__exportStar(require("./food_group/constants"), exports);
|
|
43
|
-
__exportStar(require("./topic/constants"), exports);
|
|
44
|
-
__exportStar(require("./comment/constants"), exports);
|
|
45
35
|
__exportStar(require("./inquiry/constants"), exports);
|
|
@@ -22,7 +22,6 @@ export interface OrgEvent {
|
|
|
22
22
|
id: string;
|
|
23
23
|
organizationId: string;
|
|
24
24
|
isActive: boolean;
|
|
25
|
-
registrationRequired: boolean;
|
|
26
25
|
createdAt: string;
|
|
27
26
|
pinned: boolean;
|
|
28
27
|
occurrences?: OrgEventOccurrence[];
|
|
@@ -39,13 +38,11 @@ export interface OrgEvent {
|
|
|
39
38
|
export interface CreateOrgEventInput {
|
|
40
39
|
translations: OrgEventTranslationInput[];
|
|
41
40
|
isActive?: boolean;
|
|
42
|
-
registrationRequired?: boolean;
|
|
43
41
|
typeIds?: string[];
|
|
44
42
|
}
|
|
45
43
|
export interface UpdateOrgEventInput {
|
|
46
44
|
translations: OrgEventTranslationInput[];
|
|
47
45
|
isActive?: boolean;
|
|
48
|
-
registrationRequired?: boolean;
|
|
49
46
|
imageStoragePath?: string | null;
|
|
50
47
|
typeIds?: string[];
|
|
51
48
|
}
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import type { Language
|
|
1
|
+
import type { Language } from "..";
|
|
2
2
|
export interface OrgEventOccurrenceTranslation {
|
|
3
3
|
id: string;
|
|
4
4
|
occurrenceId: string;
|
|
@@ -20,14 +20,8 @@ export interface OrgEventOccurrence {
|
|
|
20
20
|
capacity: number | null;
|
|
21
21
|
rsvpLink: string | null;
|
|
22
22
|
createdAt: string;
|
|
23
|
-
applicants?: OrgEventOccurrenceApplicant[];
|
|
24
|
-
participants?: OrgEventOccurrenceParticipant[];
|
|
25
23
|
translations: OrgEventOccurrenceTranslation[];
|
|
26
24
|
imageUrl?: string | null;
|
|
27
|
-
_count?: {
|
|
28
|
-
applicants: number;
|
|
29
|
-
participants: number;
|
|
30
|
-
};
|
|
31
25
|
}
|
|
32
26
|
export interface CreateOrgEventOccurrenceInput {
|
|
33
27
|
startsAt: string;
|
|
@@ -46,21 +40,3 @@ export interface UpdateOrgEventOccurrenceInput {
|
|
|
46
40
|
imageStoragePath?: string | null;
|
|
47
41
|
translations?: OrgEventOccurrenceTranslationInput[];
|
|
48
42
|
}
|
|
49
|
-
export type ApplicantStatus = "pending" | "approved" | "rejected";
|
|
50
|
-
export interface OrgEventOccurrenceApplicant {
|
|
51
|
-
id: string;
|
|
52
|
-
occurrenceId: string;
|
|
53
|
-
userId: string;
|
|
54
|
-
status: ApplicantStatus;
|
|
55
|
-
appliedAt: string;
|
|
56
|
-
user: User & {
|
|
57
|
-
profile?: Profile | null;
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
export interface OrgEventOccurrenceParticipant {
|
|
61
|
-
id: string;
|
|
62
|
-
occurrenceId: string;
|
|
63
|
-
userId: string;
|
|
64
|
-
joinedAt: string;
|
|
65
|
-
user: User;
|
|
66
|
-
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import type { User,
|
|
1
|
+
import type { User, Organization, Type, PostTranslation } from "..";
|
|
2
2
|
export interface CreatePostInput {
|
|
3
3
|
title?: string;
|
|
4
4
|
body?: string;
|
|
5
|
-
topicId?: string;
|
|
6
5
|
organizationId?: string;
|
|
7
6
|
imageStoragePath?: string | null;
|
|
8
7
|
typeIds?: string[];
|
|
@@ -24,7 +23,6 @@ export interface PostVersion {
|
|
|
24
23
|
export interface Post {
|
|
25
24
|
id: string;
|
|
26
25
|
userId: string;
|
|
27
|
-
topicId: string | null;
|
|
28
26
|
organizationId: string | null;
|
|
29
27
|
imageStoragePath?: string | null;
|
|
30
28
|
imageUrl?: string | null;
|
|
@@ -32,15 +30,10 @@ export interface Post {
|
|
|
32
30
|
deletedAt: string | null;
|
|
33
31
|
pinned: boolean;
|
|
34
32
|
user: User;
|
|
35
|
-
topic?: Topic | null;
|
|
36
33
|
organization?: Organization | null;
|
|
37
34
|
versions: PostVersion[];
|
|
38
35
|
translations?: PostTranslation[];
|
|
39
|
-
comments?: Comment[];
|
|
40
36
|
types?: {
|
|
41
37
|
type: Type;
|
|
42
38
|
}[];
|
|
43
|
-
_count?: {
|
|
44
|
-
comments: number;
|
|
45
|
-
};
|
|
46
39
|
}
|