@uniteverses/shared 1.0.130 → 1.0.131

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.
Files changed (41) hide show
  1. package/dist/domains/politicians/planet/officials/manage/index.d.ts +18 -0
  2. package/dist/domains/politicians/planet/officials/manage/index.js +34 -0
  3. package/dist/domains/politicians/planet/officials/manage/language/types.d.ts +5 -0
  4. package/dist/domains/politicians/planet/officials/manage/language/types.js +2 -0
  5. package/dist/domains/politicians/planet/officials/manage/organization/types.d.ts +13 -0
  6. package/dist/domains/politicians/planet/officials/manage/organization/types.js +2 -0
  7. package/dist/domains/politicians/planet/officials/manage/organization_branch/types.d.ts +25 -0
  8. package/dist/domains/politicians/planet/officials/manage/organization_branch/types.js +2 -0
  9. package/dist/domains/politicians/planet/officials/manage/organization_branch_community/types.d.ts +18 -0
  10. package/dist/domains/politicians/planet/officials/manage/organization_branch_community/types.js +2 -0
  11. package/dist/domains/politicians/planet/officials/manage/organization_branch_community_status/types.d.ts +31 -0
  12. package/dist/domains/politicians/planet/officials/manage/organization_branch_community_status/types.js +2 -0
  13. package/dist/domains/politicians/planet/officials/manage/organization_type/types.d.ts +20 -0
  14. package/dist/domains/politicians/planet/officials/manage/organization_type/types.js +2 -0
  15. package/dist/domains/politicians/planet/officials/manage/type/types.d.ts +45 -0
  16. package/dist/domains/politicians/planet/officials/manage/type/types.js +6 -0
  17. package/dist/domains/politicians/planet/officials/manage/type_group/types.d.ts +11 -0
  18. package/dist/domains/politicians/planet/officials/manage/type_group/types.js +7 -0
  19. package/dist/domains/politicians/planet/officials/manage/world_city/types.d.ts +28 -0
  20. package/dist/domains/politicians/planet/officials/manage/world_city/types.js +2 -0
  21. package/dist/domains/politicians/planet/officials/manage/world_community/types.d.ts +29 -0
  22. package/dist/domains/politicians/planet/officials/manage/world_community/types.js +2 -0
  23. package/dist/domains/politicians/planet/officials/manage/world_continent/types.d.ts +15 -0
  24. package/dist/domains/politicians/planet/officials/manage/world_continent/types.js +2 -0
  25. package/dist/domains/politicians/planet/officials/manage/world_country/types.d.ts +28 -0
  26. package/dist/domains/politicians/planet/officials/manage/world_country/types.js +2 -0
  27. package/dist/domains/politicians/planet/officials/manage/world_district/types.d.ts +29 -0
  28. package/dist/domains/politicians/planet/officials/manage/world_district/types.js +2 -0
  29. package/dist/domains/politicians/planet/officials/manage/world_district_type/types.d.ts +12 -0
  30. package/dist/domains/politicians/planet/officials/manage/world_district_type/types.js +2 -0
  31. package/dist/domains/politicians/planet/officials/manage/world_region/types.d.ts +25 -0
  32. package/dist/domains/politicians/planet/officials/manage/world_region/types.js +2 -0
  33. package/dist/domains/politicians/planet/officials/manage/world_region_type/types.d.ts +12 -0
  34. package/dist/domains/politicians/planet/officials/manage/world_region_type/types.js +2 -0
  35. package/dist/domains/politicians/planet/officials/manage/world_subdivision/types.d.ts +25 -0
  36. package/dist/domains/politicians/planet/officials/manage/world_subdivision/types.js +2 -0
  37. package/dist/domains/politicians/planet/officials/manage/world_subdivision_type/types.d.ts +12 -0
  38. package/dist/domains/politicians/planet/officials/manage/world_subdivision_type/types.js +2 -0
  39. package/dist/index.d.ts +1 -0
  40. package/dist/index.js +1 -0
  41. package/package.json +1 -1
@@ -0,0 +1,18 @@
1
+ export * from "./organization/types";
2
+ export * from "./organization_type/types";
3
+ export * from "./language/types";
4
+ export * from "./type/types";
5
+ export * from "./type_group/types";
6
+ export * from "./organization_branch/types";
7
+ export * from "./organization_branch_community/types";
8
+ export * from "./organization_branch_community_status/types";
9
+ export * from "./world_continent/types";
10
+ export * from "./world_country/types";
11
+ export * from "./world_subdivision_type/types";
12
+ export * from "./world_subdivision/types";
13
+ export * from "./world_region_type/types";
14
+ export * from "./world_region/types";
15
+ export * from "./world_district_type/types";
16
+ export * from "./world_district/types";
17
+ export * from "./world_city/types";
18
+ export * from "./world_community/types";
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./organization/types"), exports);
18
+ __exportStar(require("./organization_type/types"), exports);
19
+ __exportStar(require("./language/types"), exports);
20
+ __exportStar(require("./type/types"), exports);
21
+ __exportStar(require("./type_group/types"), exports);
22
+ __exportStar(require("./organization_branch/types"), exports);
23
+ __exportStar(require("./organization_branch_community/types"), exports);
24
+ __exportStar(require("./organization_branch_community_status/types"), exports);
25
+ __exportStar(require("./world_continent/types"), exports);
26
+ __exportStar(require("./world_country/types"), exports);
27
+ __exportStar(require("./world_subdivision_type/types"), exports);
28
+ __exportStar(require("./world_subdivision/types"), exports);
29
+ __exportStar(require("./world_region_type/types"), exports);
30
+ __exportStar(require("./world_region/types"), exports);
31
+ __exportStar(require("./world_district_type/types"), exports);
32
+ __exportStar(require("./world_district/types"), exports);
33
+ __exportStar(require("./world_city/types"), exports);
34
+ __exportStar(require("./world_community/types"), exports);
@@ -0,0 +1,5 @@
1
+ export type Language = {
2
+ id: string;
3
+ code: string;
4
+ name: string;
5
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ export type Organization = {
2
+ id: string;
3
+ name: string;
4
+ createdAt: string;
5
+ branchCount: number;
6
+ typeCount: number;
7
+ };
8
+ export type OrganizationCreateInput = {
9
+ name: string;
10
+ };
11
+ export type OrganizationUpdateInput = {
12
+ name: string;
13
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ export type OrganizationBranch = {
2
+ id: string;
3
+ name: string;
4
+ organizationId: string;
5
+ organizationName: string;
6
+ address: string | null;
7
+ phone: string | null;
8
+ description: string | null;
9
+ createdAt: string;
10
+ communityCount: number;
11
+ };
12
+ export type OrganizationBranchCreateInput = {
13
+ name: string;
14
+ organizationId: string;
15
+ address: string | null;
16
+ phone: string | null;
17
+ description: string | null;
18
+ };
19
+ export type OrganizationBranchUpdateInput = {
20
+ name: string;
21
+ organizationId: string;
22
+ address: string | null;
23
+ phone: string | null;
24
+ description: string | null;
25
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ export type OrganizationBranchCommunity = {
2
+ id: string;
3
+ organizationBranchId: string;
4
+ organizationBranchName: string;
5
+ organizationName: string;
6
+ worldCommunityId: string;
7
+ worldCommunityName: string;
8
+ worldCommunityDomain: string;
9
+ createdAt: string;
10
+ };
11
+ export type OrganizationBranchCommunityCreateInput = {
12
+ organizationBranchId: string;
13
+ worldCommunityId: string;
14
+ };
15
+ export type OrganizationBranchCommunityUpdateInput = {
16
+ organizationBranchId: string;
17
+ worldCommunityId: string;
18
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,31 @@
1
+ export type OrganizationBranchCommunityStatus = {
2
+ id: string;
3
+ name: string;
4
+ position: number;
5
+ createdAt: string;
6
+ };
7
+ export type OrganizationBranchCommunityStatusCreateInput = {
8
+ name: string;
9
+ position: number;
10
+ };
11
+ export type OrganizationBranchCommunityStatusUpdateInput = OrganizationBranchCommunityStatusCreateInput;
12
+ export type OrganizationBranchCommunityStatusEntry = {
13
+ statusId: string;
14
+ statusName: string;
15
+ position: number;
16
+ value: boolean;
17
+ setByUserId: string | null;
18
+ setByUsername: string | null;
19
+ updatedAt: string | null;
20
+ };
21
+ export type OrganizationBranchCommunityStatusChecklist = {
22
+ organizationBranchCommunityId: string;
23
+ entries: OrganizationBranchCommunityStatusEntry[];
24
+ };
25
+ export type OrganizationBranchCommunityStatusSetEntry = {
26
+ statusId: string;
27
+ value: boolean;
28
+ };
29
+ export type OrganizationBranchCommunityStatusSetInput = {
30
+ entries: OrganizationBranchCommunityStatusSetEntry[];
31
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ export type OrganizationType = {
2
+ id: string;
3
+ organizationId: string;
4
+ organizationName: string;
5
+ typeId: string;
6
+ typeEmoji: string;
7
+ typeName: string;
8
+ createdAt: string;
9
+ };
10
+ export type OrganizationTypeCreateInput = {
11
+ organizationId: string;
12
+ typeId: string;
13
+ };
14
+ export type OrganizationTypeUpdateInput = {
15
+ organizationId: string;
16
+ typeId: string;
17
+ };
18
+ export type OrganizationTypeSetInput = {
19
+ typeIds: string[];
20
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,45 @@
1
+ export type TranslationEntry = {
2
+ languageId: string;
3
+ languageCode: string;
4
+ name: string;
5
+ };
6
+ export type TranslationInput = {
7
+ languageId: string;
8
+ name: string;
9
+ };
10
+ export type TypeDetail = {
11
+ id: string;
12
+ emoji: string;
13
+ translations: TranslationEntry[];
14
+ typeGroupIds: string[];
15
+ createdAt: string;
16
+ };
17
+ export type TypeCreateInput = {
18
+ emoji: string;
19
+ translations: TranslationInput[];
20
+ typeGroupIds: string[];
21
+ };
22
+ export type TypeUpdateInput = TypeCreateInput;
23
+ export type TypeGroupDetail = {
24
+ id: string;
25
+ emoji: string;
26
+ translations: TranslationEntry[];
27
+ typeCount: number;
28
+ createdAt: string;
29
+ };
30
+ export type TypeGroupCreateInput = {
31
+ emoji: string;
32
+ translations: TranslationInput[];
33
+ };
34
+ export type TypeGroupUpdateInput = TypeGroupCreateInput;
35
+ export type TypeSuggestion = {
36
+ emoji: string;
37
+ names: TranslationInput[];
38
+ };
39
+ export type TypeSuggestRequestInput = {
40
+ typeGroupId: string | null;
41
+ count: number;
42
+ };
43
+ export type TypeSuggestResult = {
44
+ suggestions: TypeSuggestion[];
45
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ // A Type carries no name column - the emoji is its identity and every name is
3
+ // a TypeTranslation row, one per Language. Group membership is a third table.
4
+ // So a type is only meaningful as an AGGREGATE, and these wire types are shaped
5
+ // around that: one read returns the whole thing, one write replaces it.
6
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ export type TypeSummary = {
2
+ id: string;
3
+ emoji: string;
4
+ name: string;
5
+ };
6
+ export type TypeGroupWithTypes = {
7
+ id: string;
8
+ emoji: string;
9
+ name: string;
10
+ types: TypeSummary[];
11
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // Type and TypeGroup carry no name column - the display name lives in
3
+ // TypeTranslation / TypeGroupTranslation, one row per Language. These wire
4
+ // types return the name already resolved for a requested language code, with
5
+ // the emoji as the stable identity that always renders even when a translation
6
+ // is missing.
7
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,28 @@
1
+ export type WorldCity = {
2
+ id: string;
3
+ name: string;
4
+ countryId: string;
5
+ countryName: string;
6
+ subdivisionId: string | null;
7
+ subdivisionName: string | null;
8
+ regionId: string | null;
9
+ regionName: string | null;
10
+ districtId: string | null;
11
+ districtName: string | null;
12
+ createdAt: string;
13
+ communityCount: number;
14
+ };
15
+ export type WorldCityCreateInput = {
16
+ name: string;
17
+ countryId: string;
18
+ subdivisionId: string | null;
19
+ regionId: string | null;
20
+ districtId: string | null;
21
+ };
22
+ export type WorldCityUpdateInput = {
23
+ name: string;
24
+ countryId: string;
25
+ subdivisionId: string | null;
26
+ regionId: string | null;
27
+ districtId: string | null;
28
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ export type WorldCommunity = {
2
+ id: string;
3
+ name: string;
4
+ domain: string;
5
+ aliasDomains: string[];
6
+ port: number | null;
7
+ cityId: string | null;
8
+ cityName: string | null;
9
+ districtId: string | null;
10
+ districtName: string | null;
11
+ createdAt: string;
12
+ organizationBranchCount: number;
13
+ };
14
+ export type WorldCommunityCreateInput = {
15
+ name: string;
16
+ domain: string;
17
+ aliasDomains: string[];
18
+ port: number | null;
19
+ cityId: string | null;
20
+ districtId: string | null;
21
+ };
22
+ export type WorldCommunityUpdateInput = {
23
+ name: string;
24
+ domain: string;
25
+ aliasDomains: string[];
26
+ port: number | null;
27
+ cityId: string | null;
28
+ districtId: string | null;
29
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ export type WorldContinent = {
2
+ id: string;
3
+ code: string;
4
+ name: string;
5
+ createdAt: string;
6
+ countryCount: number;
7
+ };
8
+ export type WorldContinentCreateInput = {
9
+ code: string;
10
+ name: string;
11
+ };
12
+ export type WorldContinentUpdateInput = {
13
+ code: string;
14
+ name: string;
15
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,28 @@
1
+ export type WorldCountry = {
2
+ id: string;
3
+ iso2: string;
4
+ iso3: string;
5
+ numericCode: string;
6
+ name: string;
7
+ continentId: string;
8
+ continentName: string;
9
+ createdAt: string;
10
+ subdivisionCount: number;
11
+ regionCount: number;
12
+ districtCount: number;
13
+ cityCount: number;
14
+ };
15
+ export type WorldCountryCreateInput = {
16
+ iso2: string;
17
+ iso3: string;
18
+ numericCode: string;
19
+ name: string;
20
+ continentId: string;
21
+ };
22
+ export type WorldCountryUpdateInput = {
23
+ iso2: string;
24
+ iso3: string;
25
+ numericCode: string;
26
+ name: string;
27
+ continentId: string;
28
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ export type WorldDistrict = {
2
+ id: string;
3
+ name: string;
4
+ countryId: string;
5
+ countryName: string;
6
+ subdivisionId: string;
7
+ subdivisionName: string;
8
+ regionId: string | null;
9
+ regionName: string | null;
10
+ districtTypeId: string;
11
+ districtTypeCode: string;
12
+ createdAt: string;
13
+ cityCount: number;
14
+ communityCount: number;
15
+ };
16
+ export type WorldDistrictCreateInput = {
17
+ name: string;
18
+ countryId: string;
19
+ subdivisionId: string;
20
+ regionId: string | null;
21
+ districtTypeId: string;
22
+ };
23
+ export type WorldDistrictUpdateInput = {
24
+ name: string;
25
+ countryId: string;
26
+ subdivisionId: string;
27
+ regionId: string | null;
28
+ districtTypeId: string;
29
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ export type WorldDistrictType = {
2
+ id: string;
3
+ code: string;
4
+ createdAt: string;
5
+ districtCount: number;
6
+ };
7
+ export type WorldDistrictTypeCreateInput = {
8
+ code: string;
9
+ };
10
+ export type WorldDistrictTypeUpdateInput = {
11
+ code: string;
12
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ export type WorldRegion = {
2
+ id: string;
3
+ name: string;
4
+ countryId: string;
5
+ countryName: string;
6
+ subdivisionId: string;
7
+ subdivisionName: string;
8
+ regionTypeId: string;
9
+ regionTypeCode: string;
10
+ createdAt: string;
11
+ districtCount: number;
12
+ cityCount: number;
13
+ };
14
+ export type WorldRegionCreateInput = {
15
+ name: string;
16
+ countryId: string;
17
+ subdivisionId: string;
18
+ regionTypeId: string;
19
+ };
20
+ export type WorldRegionUpdateInput = {
21
+ name: string;
22
+ countryId: string;
23
+ subdivisionId: string;
24
+ regionTypeId: string;
25
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ export type WorldRegionType = {
2
+ id: string;
3
+ code: string;
4
+ createdAt: string;
5
+ regionCount: number;
6
+ };
7
+ export type WorldRegionTypeCreateInput = {
8
+ code: string;
9
+ };
10
+ export type WorldRegionTypeUpdateInput = {
11
+ code: string;
12
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ export type WorldSubdivision = {
2
+ id: string;
3
+ isoCode: string;
4
+ name: string;
5
+ countryId: string;
6
+ countryName: string;
7
+ subdivisionTypeId: string;
8
+ subdivisionTypeCode: string;
9
+ createdAt: string;
10
+ regionCount: number;
11
+ districtCount: number;
12
+ cityCount: number;
13
+ };
14
+ export type WorldSubdivisionCreateInput = {
15
+ isoCode: string;
16
+ name: string;
17
+ countryId: string;
18
+ subdivisionTypeId: string;
19
+ };
20
+ export type WorldSubdivisionUpdateInput = {
21
+ isoCode: string;
22
+ name: string;
23
+ countryId: string;
24
+ subdivisionTypeId: string;
25
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ export type WorldSubdivisionType = {
2
+ id: string;
3
+ code: string;
4
+ createdAt: string;
5
+ subdivisionCount: number;
6
+ };
7
+ export type WorldSubdivisionTypeCreateInput = {
8
+ code: string;
9
+ };
10
+ export type WorldSubdivisionTypeUpdateInput = {
11
+ code: string;
12
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from "./domains/politicians/community/residents/explore";
2
+ export * from "./domains/politicians/planet/officials/manage";
2
3
  export * from "./domains/teachers/prep_center/students/simulate/types";
3
4
  export * from "./domains/students/communication/students/practice";
4
5
  export * from "./domains/students/life/students/live";
package/dist/index.js CHANGED
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./domains/politicians/community/residents/explore"), exports);
18
+ __exportStar(require("./domains/politicians/planet/officials/manage"), exports);
18
19
  __exportStar(require("./domains/teachers/prep_center/students/simulate/types"), exports);
19
20
  __exportStar(require("./domains/students/communication/students/practice"), exports);
20
21
  __exportStar(require("./domains/students/life/students/live"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.130",
3
+ "version": "1.0.131",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [