@uniteverses/shared 1.0.96 → 1.0.98
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/index.d.ts +1 -0
- package/dist/domains/politicians/community/residents/explore/index.js +1 -0
- package/dist/domains/politicians/community/residents/explore/organization_event_occurrence/types.d.ts +7 -0
- 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 });
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
// Scope barrel for politicians/community/residents/explore wire types.
|
|
18
18
|
// Landing-needed slice restored; further per-model types/constants are
|
|
19
19
|
// re-added here as each model is rebuilt out of v2/.
|
|
20
|
+
__exportStar(require("./common/types"), exports);
|
|
20
21
|
__exportStar(require("./language/types"), exports);
|
|
21
22
|
__exportStar(require("./type/types"), exports);
|
|
22
23
|
__exportStar(require("./organization_translation/types"), exports);
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import type { PoliticiansCommunityResidentsExploreOrganization } from "..";
|
|
2
|
+
export type PoliticiansCommunityResidentsExploreOrganizationEventOccurrenceScope = "upcoming" | "past";
|
|
3
|
+
export interface PoliticiansCommunityResidentsExploreOrganizationEventOccurrenceSummary {
|
|
4
|
+
id: string;
|
|
5
|
+
startsAt: string;
|
|
6
|
+
endsAt?: string | null;
|
|
7
|
+
location?: string | null;
|
|
8
|
+
}
|
|
2
9
|
export interface PoliticiansCommunityResidentsExploreOrganizationEventOccurrence {
|
|
3
10
|
id: string;
|
|
4
11
|
startsAt: string;
|