@uniteverses/shared 1.0.92 → 1.0.93
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/comment/types.d.ts +3 -3
- package/dist/domains/politicians/community/residents/explore/common/types.d.ts +3 -3
- package/dist/domains/politicians/community/residents/explore/deal/types.d.ts +4 -4
- package/dist/domains/politicians/community/residents/explore/deal_translation/types.d.ts +1 -1
- package/dist/domains/politicians/community/residents/explore/food_group/types.d.ts +3 -3
- package/dist/domains/politicians/community/residents/explore/food_item/types.d.ts +1 -1
- package/dist/domains/politicians/community/residents/explore/inquiry/types.d.ts +1 -1
- package/dist/domains/politicians/community/residents/explore/organization/types.d.ts +3 -3
- package/dist/domains/politicians/community/residents/explore/organization_event/types.d.ts +2 -2
- package/dist/domains/politicians/community/residents/explore/organization_event_occurrence/types.d.ts +6 -6
- package/dist/domains/politicians/community/residents/explore/organization_food_group/types.d.ts +3 -3
- package/dist/domains/politicians/community/residents/explore/organization_food_item/types.d.ts +3 -3
- package/dist/domains/politicians/community/residents/explore/organization_member/types.d.ts +2 -2
- package/dist/domains/politicians/community/residents/explore/organization_translation/types.d.ts +1 -1
- package/dist/domains/politicians/community/residents/explore/post/types.d.ts +3 -3
- package/dist/domains/politicians/community/residents/explore/post_translation/types.d.ts +1 -1
- package/dist/domains/politicians/community/residents/explore/profile/types.d.ts +5 -5
- package/dist/domains/politicians/community/residents/explore/topic/types.d.ts +2 -2
- package/dist/domains/politicians/community/residents/explore/type/types.d.ts +2 -2
- package/dist/domains/politicians/community/residents/explore/type_group/types.d.ts +3 -3
- package/package.json +1 -1
|
@@ -11,15 +11,15 @@ export interface CommentVersion {
|
|
|
11
11
|
commentId: string;
|
|
12
12
|
version: number;
|
|
13
13
|
body: string;
|
|
14
|
-
createdAt: string
|
|
14
|
+
createdAt: string;
|
|
15
15
|
}
|
|
16
16
|
export interface Comment {
|
|
17
17
|
id: string;
|
|
18
18
|
postId: string;
|
|
19
19
|
userId: string;
|
|
20
20
|
parentCommentId: string | null;
|
|
21
|
-
createdAt: string
|
|
22
|
-
deletedAt: string |
|
|
21
|
+
createdAt: string;
|
|
22
|
+
deletedAt: string | null;
|
|
23
23
|
user: User;
|
|
24
24
|
versions: CommentVersion[];
|
|
25
25
|
replies?: Comment[];
|
|
@@ -8,7 +8,7 @@ export interface User {
|
|
|
8
8
|
firstName: string;
|
|
9
9
|
lastName: string;
|
|
10
10
|
username: string;
|
|
11
|
-
createdAt: string
|
|
11
|
+
createdAt: string;
|
|
12
12
|
}
|
|
13
13
|
export interface CreateUserInput {
|
|
14
14
|
id: string;
|
|
@@ -31,13 +31,13 @@ export interface Unit {
|
|
|
31
31
|
id: string;
|
|
32
32
|
name: string;
|
|
33
33
|
label: string;
|
|
34
|
-
createdAt: string
|
|
34
|
+
createdAt: string;
|
|
35
35
|
}
|
|
36
36
|
export interface Size {
|
|
37
37
|
id: string;
|
|
38
38
|
name: string;
|
|
39
39
|
label: string;
|
|
40
|
-
createdAt: string
|
|
40
|
+
createdAt: string;
|
|
41
41
|
}
|
|
42
42
|
export interface ImageUploadResult {
|
|
43
43
|
storagePath: string;
|
|
@@ -10,10 +10,10 @@ export interface Deal {
|
|
|
10
10
|
flatOff: string | null;
|
|
11
11
|
bogoBuy: number | null;
|
|
12
12
|
bogoGet: number | null;
|
|
13
|
-
startsAt: string |
|
|
14
|
-
endsAt: string |
|
|
15
|
-
createdAt: string
|
|
16
|
-
deletedAt: string |
|
|
13
|
+
startsAt: string | null;
|
|
14
|
+
endsAt: string | null;
|
|
15
|
+
createdAt: string;
|
|
16
|
+
deletedAt: string | null;
|
|
17
17
|
pinned: boolean;
|
|
18
18
|
organization?: Organization | null;
|
|
19
19
|
translations?: DealTranslation[];
|
|
@@ -3,7 +3,7 @@ export interface FoodGroup {
|
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
5
5
|
parentGroupId: string | null;
|
|
6
|
-
createdAt: string
|
|
6
|
+
createdAt: string;
|
|
7
7
|
_count?: {
|
|
8
8
|
foodItems: number;
|
|
9
9
|
childGroups: number;
|
|
@@ -13,14 +13,14 @@ export interface FoodGroupItem {
|
|
|
13
13
|
id: string;
|
|
14
14
|
foodGroupId: string;
|
|
15
15
|
foodItemId: string;
|
|
16
|
-
createdAt: string
|
|
16
|
+
createdAt: string;
|
|
17
17
|
foodItem: FoodItem;
|
|
18
18
|
}
|
|
19
19
|
export interface FoodGroupWithChildren {
|
|
20
20
|
id: string;
|
|
21
21
|
name: string;
|
|
22
22
|
parentGroupId: string | null;
|
|
23
|
-
createdAt: string
|
|
23
|
+
createdAt: string;
|
|
24
24
|
foodItems: FoodGroupItem[];
|
|
25
25
|
childGroups: FoodGroupWithChildren[];
|
|
26
26
|
}
|
|
@@ -8,20 +8,20 @@ export interface OrganizationAddress {
|
|
|
8
8
|
state: string;
|
|
9
9
|
zip: string;
|
|
10
10
|
country: string;
|
|
11
|
-
createdAt: string
|
|
11
|
+
createdAt: string;
|
|
12
12
|
}
|
|
13
13
|
export interface OrganizationPhone {
|
|
14
14
|
id: string;
|
|
15
15
|
organizationId: string;
|
|
16
16
|
number: string;
|
|
17
17
|
label: string | null;
|
|
18
|
-
createdAt: string
|
|
18
|
+
createdAt: string;
|
|
19
19
|
}
|
|
20
20
|
export interface Organization {
|
|
21
21
|
id: string;
|
|
22
22
|
name: string;
|
|
23
23
|
description?: string | null;
|
|
24
|
-
createdAt: string
|
|
24
|
+
createdAt: string;
|
|
25
25
|
pinned: boolean;
|
|
26
26
|
types: {
|
|
27
27
|
type: Type;
|
|
@@ -5,7 +5,7 @@ export interface OrgEventTranslation {
|
|
|
5
5
|
languageId: string;
|
|
6
6
|
name: string;
|
|
7
7
|
description: string | null;
|
|
8
|
-
createdAt: string
|
|
8
|
+
createdAt: string;
|
|
9
9
|
language: Language;
|
|
10
10
|
}
|
|
11
11
|
export interface OrgEventTranslationInput {
|
|
@@ -23,7 +23,7 @@ export interface OrgEvent {
|
|
|
23
23
|
organizationId: string;
|
|
24
24
|
isActive: boolean;
|
|
25
25
|
registrationRequired: boolean;
|
|
26
|
-
createdAt: string
|
|
26
|
+
createdAt: string;
|
|
27
27
|
pinned: boolean;
|
|
28
28
|
occurrences?: OrgEventOccurrence[];
|
|
29
29
|
translations: OrgEventTranslation[];
|
|
@@ -4,7 +4,7 @@ export interface OrgEventOccurrenceTranslation {
|
|
|
4
4
|
occurrenceId: string;
|
|
5
5
|
languageId: string;
|
|
6
6
|
description: string | null;
|
|
7
|
-
createdAt: string
|
|
7
|
+
createdAt: string;
|
|
8
8
|
language: Language;
|
|
9
9
|
}
|
|
10
10
|
export interface OrgEventOccurrenceTranslationInput {
|
|
@@ -14,12 +14,12 @@ export interface OrgEventOccurrenceTranslationInput {
|
|
|
14
14
|
export interface OrgEventOccurrence {
|
|
15
15
|
id: string;
|
|
16
16
|
eventId: string;
|
|
17
|
-
startsAt: string
|
|
18
|
-
endsAt: string |
|
|
17
|
+
startsAt: string;
|
|
18
|
+
endsAt: string | null;
|
|
19
19
|
location: string | null;
|
|
20
20
|
capacity: number | null;
|
|
21
21
|
rsvpLink: string | null;
|
|
22
|
-
createdAt: string
|
|
22
|
+
createdAt: string;
|
|
23
23
|
applicants?: OrgEventOccurrenceApplicant[];
|
|
24
24
|
participants?: OrgEventOccurrenceParticipant[];
|
|
25
25
|
translations: OrgEventOccurrenceTranslation[];
|
|
@@ -52,7 +52,7 @@ export interface OrgEventOccurrenceApplicant {
|
|
|
52
52
|
occurrenceId: string;
|
|
53
53
|
userId: string;
|
|
54
54
|
status: ApplicantStatus;
|
|
55
|
-
appliedAt: string
|
|
55
|
+
appliedAt: string;
|
|
56
56
|
user: User & {
|
|
57
57
|
profile?: Profile | null;
|
|
58
58
|
};
|
|
@@ -61,6 +61,6 @@ export interface OrgEventOccurrenceParticipant {
|
|
|
61
61
|
id: string;
|
|
62
62
|
occurrenceId: string;
|
|
63
63
|
userId: string;
|
|
64
|
-
joinedAt: string
|
|
64
|
+
joinedAt: string;
|
|
65
65
|
user: User;
|
|
66
66
|
}
|
package/dist/domains/politicians/community/residents/explore/organization_food_group/types.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export interface OrgFoodGroup {
|
|
|
4
4
|
organizationId: string;
|
|
5
5
|
name: string;
|
|
6
6
|
parentGroupId: string | null;
|
|
7
|
-
createdAt: string
|
|
7
|
+
createdAt: string;
|
|
8
8
|
_count?: {
|
|
9
9
|
foodItems: number;
|
|
10
10
|
childGroups: number;
|
|
@@ -14,7 +14,7 @@ export interface OrgFoodGroupItem {
|
|
|
14
14
|
id: string;
|
|
15
15
|
foodGroupId: string;
|
|
16
16
|
foodItemId: string;
|
|
17
|
-
createdAt: string
|
|
17
|
+
createdAt: string;
|
|
18
18
|
foodItem: OrgFoodItem;
|
|
19
19
|
}
|
|
20
20
|
export interface OrgFoodGroupWithChildren {
|
|
@@ -22,7 +22,7 @@ export interface OrgFoodGroupWithChildren {
|
|
|
22
22
|
organizationId: string;
|
|
23
23
|
name: string;
|
|
24
24
|
parentGroupId: string | null;
|
|
25
|
-
createdAt: string
|
|
25
|
+
createdAt: string;
|
|
26
26
|
foodItems: OrgFoodGroupItem[];
|
|
27
27
|
childGroups: OrgFoodGroupWithChildren[];
|
|
28
28
|
}
|
package/dist/domains/politicians/community/residents/explore/organization_food_item/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export interface OrgFoodItemType {
|
|
|
3
3
|
id: string;
|
|
4
4
|
orgFoodItemId: string;
|
|
5
5
|
foodItemId: string;
|
|
6
|
-
createdAt: string
|
|
6
|
+
createdAt: string;
|
|
7
7
|
foodItem: FoodItem;
|
|
8
8
|
}
|
|
9
9
|
export interface OrgFoodItemPrice {
|
|
@@ -13,7 +13,7 @@ export interface OrgFoodItemPrice {
|
|
|
13
13
|
unitId: string;
|
|
14
14
|
sizeId: string | null;
|
|
15
15
|
quantityPerUnit: number | null;
|
|
16
|
-
createdAt: string
|
|
16
|
+
createdAt: string;
|
|
17
17
|
unit: Unit;
|
|
18
18
|
size: Size | null;
|
|
19
19
|
}
|
|
@@ -21,7 +21,7 @@ export interface OrgFoodItem {
|
|
|
21
21
|
id: string;
|
|
22
22
|
organizationId: string;
|
|
23
23
|
name: string;
|
|
24
|
-
createdAt: string
|
|
24
|
+
createdAt: string;
|
|
25
25
|
_count?: {
|
|
26
26
|
foodGroups: number;
|
|
27
27
|
};
|
|
@@ -3,13 +3,13 @@ export interface OrgMember {
|
|
|
3
3
|
id: string;
|
|
4
4
|
organizationId: string;
|
|
5
5
|
userId: string;
|
|
6
|
-
createdAt: string
|
|
6
|
+
createdAt: string;
|
|
7
7
|
user: User;
|
|
8
8
|
}
|
|
9
9
|
export interface MyOrganization {
|
|
10
10
|
id: string;
|
|
11
11
|
organizationId: string;
|
|
12
|
-
createdAt: string
|
|
12
|
+
createdAt: string;
|
|
13
13
|
organization: Organization;
|
|
14
14
|
}
|
|
15
15
|
export interface AddOrgMemberInput {
|
|
@@ -19,7 +19,7 @@ export interface PostVersion {
|
|
|
19
19
|
version: number;
|
|
20
20
|
title: string;
|
|
21
21
|
body: string;
|
|
22
|
-
createdAt: string
|
|
22
|
+
createdAt: string;
|
|
23
23
|
}
|
|
24
24
|
export interface Post {
|
|
25
25
|
id: string;
|
|
@@ -28,8 +28,8 @@ export interface Post {
|
|
|
28
28
|
organizationId: string | null;
|
|
29
29
|
imageStoragePath?: string | null;
|
|
30
30
|
imageUrl?: string | null;
|
|
31
|
-
createdAt: string
|
|
32
|
-
deletedAt: string |
|
|
31
|
+
createdAt: string;
|
|
32
|
+
deletedAt: string | null;
|
|
33
33
|
pinned: boolean;
|
|
34
34
|
user: User;
|
|
35
35
|
topic?: Topic | null;
|
|
@@ -18,16 +18,16 @@ export interface ProfileTranslation {
|
|
|
18
18
|
languageId: string;
|
|
19
19
|
bio: string | null;
|
|
20
20
|
job: string | null;
|
|
21
|
-
createdAt: string
|
|
22
|
-
updatedAt: string
|
|
21
|
+
createdAt: string;
|
|
22
|
+
updatedAt: string;
|
|
23
23
|
language: Language;
|
|
24
24
|
}
|
|
25
25
|
export interface Profile {
|
|
26
26
|
id: string;
|
|
27
27
|
userId: string;
|
|
28
|
-
dob: string
|
|
29
|
-
createdAt: string
|
|
30
|
-
updatedAt: string
|
|
28
|
+
dob: string;
|
|
29
|
+
createdAt: string;
|
|
30
|
+
updatedAt: string;
|
|
31
31
|
translations: ProfileTranslation[];
|
|
32
32
|
user: User;
|
|
33
33
|
}
|
|
@@ -2,7 +2,7 @@ export interface Topic {
|
|
|
2
2
|
id: string;
|
|
3
3
|
name: string;
|
|
4
4
|
parentTopicId: string | null;
|
|
5
|
-
createdAt: string
|
|
5
|
+
createdAt: string;
|
|
6
6
|
_count?: {
|
|
7
7
|
childTopics: number;
|
|
8
8
|
posts: number;
|
|
@@ -12,7 +12,7 @@ export interface TopicWithChildren {
|
|
|
12
12
|
id: string;
|
|
13
13
|
name: string;
|
|
14
14
|
parentTopicId: string | null;
|
|
15
|
-
createdAt: string
|
|
15
|
+
createdAt: string;
|
|
16
16
|
childTopics: TopicWithChildren[];
|
|
17
17
|
_count?: {
|
|
18
18
|
childTopics: number;
|
|
@@ -5,13 +5,13 @@ export interface TypeTranslation {
|
|
|
5
5
|
typeId: string;
|
|
6
6
|
languageId: string;
|
|
7
7
|
name: string;
|
|
8
|
-
createdAt: string
|
|
8
|
+
createdAt: string;
|
|
9
9
|
language: Language;
|
|
10
10
|
}
|
|
11
11
|
export interface Type {
|
|
12
12
|
id: string;
|
|
13
13
|
emoji: string;
|
|
14
|
-
createdAt: string
|
|
14
|
+
createdAt: string;
|
|
15
15
|
translations?: TypeTranslation[];
|
|
16
16
|
groups?: TypeGroupType[];
|
|
17
17
|
}
|
|
@@ -4,20 +4,20 @@ export interface TypeGroupTranslation {
|
|
|
4
4
|
typeGroupId: string;
|
|
5
5
|
languageId: string;
|
|
6
6
|
name: string;
|
|
7
|
-
createdAt: string
|
|
7
|
+
createdAt: string;
|
|
8
8
|
language: Language;
|
|
9
9
|
}
|
|
10
10
|
export interface TypeGroupType {
|
|
11
11
|
id: string;
|
|
12
12
|
typeGroupId: string;
|
|
13
13
|
typeId: string;
|
|
14
|
-
createdAt: string
|
|
14
|
+
createdAt: string;
|
|
15
15
|
type?: Type;
|
|
16
16
|
}
|
|
17
17
|
export interface TypeGroup {
|
|
18
18
|
id: string;
|
|
19
19
|
emoji: string;
|
|
20
|
-
createdAt: string
|
|
20
|
+
createdAt: string;
|
|
21
21
|
translations?: TypeGroupTranslation[];
|
|
22
22
|
types?: TypeGroupType[];
|
|
23
23
|
}
|