@uniteverses/shared 1.0.129 → 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.
- package/dist/domains/ceos/technology/ceos/manage/index.d.ts +12 -0
- package/dist/domains/ceos/technology/ceos/manage/index.js +28 -0
- package/dist/domains/ceos/technology/ceos/manage/ordering/constants.d.ts +4 -0
- package/dist/domains/ceos/technology/ceos/manage/ordering/constants.js +7 -0
- package/dist/domains/ceos/technology/ceos/manage/ordering/types.d.ts +1 -0
- package/dist/domains/ceos/technology/ceos/manage/ordering/types.js +2 -0
- package/dist/domains/ceos/technology/ceos/manage/organization/types.d.ts +13 -0
- package/dist/domains/ceos/technology/ceos/manage/organization/types.js +2 -0
- package/dist/domains/ceos/technology/ceos/manage/project/types.d.ts +19 -0
- package/dist/domains/ceos/technology/ceos/manage/project/types.js +2 -0
- package/dist/domains/ceos/technology/ceos/manage/project_group/types.d.ts +18 -0
- package/dist/domains/ceos/technology/ceos/manage/project_group/types.js +2 -0
- package/dist/domains/ceos/technology/ceos/manage/project_stage/types.d.ts +19 -0
- package/dist/domains/ceos/technology/ceos/manage/project_stage/types.js +2 -0
- package/dist/domains/ceos/technology/ceos/manage/project_stage_goal/types.d.ts +19 -0
- package/dist/domains/ceos/technology/ceos/manage/project_stage_goal/types.js +2 -0
- package/dist/domains/ceos/technology/ceos/manage/project_stage_goal_group/types.d.ts +21 -0
- package/dist/domains/ceos/technology/ceos/manage/project_stage_goal_group/types.js +2 -0
- package/dist/domains/ceos/technology/ceos/manage/project_stage_group/types.d.ts +21 -0
- package/dist/domains/ceos/technology/ceos/manage/project_stage_group/types.js +2 -0
- package/dist/domains/ceos/technology/ceos/manage/project_task/constants.d.ts +7 -0
- package/dist/domains/ceos/technology/ceos/manage/project_task/constants.js +12 -0
- package/dist/domains/ceos/technology/ceos/manage/project_task/types.d.ts +23 -0
- package/dist/domains/ceos/technology/ceos/manage/project_task/types.js +2 -0
- package/dist/domains/ceos/technology/ceos/manage/project_task_group/types.d.ts +21 -0
- package/dist/domains/ceos/technology/ceos/manage/project_task_group/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/index.d.ts +18 -0
- package/dist/domains/politicians/planet/officials/manage/index.js +34 -0
- package/dist/domains/politicians/planet/officials/manage/language/types.d.ts +5 -0
- package/dist/domains/politicians/planet/officials/manage/language/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/organization/types.d.ts +13 -0
- package/dist/domains/politicians/planet/officials/manage/organization/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/organization_branch/types.d.ts +25 -0
- package/dist/domains/politicians/planet/officials/manage/organization_branch/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/organization_branch_community/types.d.ts +18 -0
- package/dist/domains/politicians/planet/officials/manage/organization_branch_community/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/organization_branch_community_status/types.d.ts +31 -0
- package/dist/domains/politicians/planet/officials/manage/organization_branch_community_status/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/organization_type/types.d.ts +20 -0
- package/dist/domains/politicians/planet/officials/manage/organization_type/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/type/types.d.ts +45 -0
- package/dist/domains/politicians/planet/officials/manage/type/types.js +6 -0
- package/dist/domains/politicians/planet/officials/manage/type_group/types.d.ts +11 -0
- package/dist/domains/politicians/planet/officials/manage/type_group/types.js +7 -0
- package/dist/domains/politicians/planet/officials/manage/world_city/types.d.ts +28 -0
- package/dist/domains/politicians/planet/officials/manage/world_city/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/world_community/types.d.ts +29 -0
- package/dist/domains/politicians/planet/officials/manage/world_community/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/world_continent/types.d.ts +15 -0
- package/dist/domains/politicians/planet/officials/manage/world_continent/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/world_country/types.d.ts +28 -0
- package/dist/domains/politicians/planet/officials/manage/world_country/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/world_district/types.d.ts +29 -0
- package/dist/domains/politicians/planet/officials/manage/world_district/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/world_district_type/types.d.ts +12 -0
- package/dist/domains/politicians/planet/officials/manage/world_district_type/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/world_region/types.d.ts +25 -0
- package/dist/domains/politicians/planet/officials/manage/world_region/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/world_region_type/types.d.ts +12 -0
- package/dist/domains/politicians/planet/officials/manage/world_region_type/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/world_subdivision/types.d.ts +25 -0
- package/dist/domains/politicians/planet/officials/manage/world_subdivision/types.js +2 -0
- package/dist/domains/politicians/planet/officials/manage/world_subdivision_type/types.d.ts +12 -0
- package/dist/domains/politicians/planet/officials/manage/world_subdivision_type/types.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from "./ordering/types";
|
|
2
|
+
export * from "./ordering/constants";
|
|
3
|
+
export * from "./organization/types";
|
|
4
|
+
export * from "./project_group/types";
|
|
5
|
+
export * from "./project/types";
|
|
6
|
+
export * from "./project_stage_group/types";
|
|
7
|
+
export * from "./project_stage/types";
|
|
8
|
+
export * from "./project_stage_goal_group/types";
|
|
9
|
+
export * from "./project_stage_goal/types";
|
|
10
|
+
export * from "./project_task_group/types";
|
|
11
|
+
export * from "./project_task/types";
|
|
12
|
+
export * from "./project_task/constants";
|
|
@@ -0,0 +1,28 @@
|
|
|
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("./ordering/types"), exports);
|
|
18
|
+
__exportStar(require("./ordering/constants"), exports);
|
|
19
|
+
__exportStar(require("./organization/types"), exports);
|
|
20
|
+
__exportStar(require("./project_group/types"), exports);
|
|
21
|
+
__exportStar(require("./project/types"), exports);
|
|
22
|
+
__exportStar(require("./project_stage_group/types"), exports);
|
|
23
|
+
__exportStar(require("./project_stage/types"), exports);
|
|
24
|
+
__exportStar(require("./project_stage_goal_group/types"), exports);
|
|
25
|
+
__exportStar(require("./project_stage_goal/types"), exports);
|
|
26
|
+
__exportStar(require("./project_task_group/types"), exports);
|
|
27
|
+
__exportStar(require("./project_task/types"), exports);
|
|
28
|
+
__exportStar(require("./project_task/constants"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CeosTechnologyCeosManageMoveDirection = "up" | "down";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type CeosTechnologyCeosManageOrganization = {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
createdByUserId: string;
|
|
5
|
+
createdAt: string;
|
|
6
|
+
updatedAt: string;
|
|
7
|
+
};
|
|
8
|
+
export type CeosTechnologyCeosManageOrganizationCreateInput = {
|
|
9
|
+
name: string;
|
|
10
|
+
};
|
|
11
|
+
export type CeosTechnologyCeosManageOrganizationUpdateInput = {
|
|
12
|
+
name: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type CeosTechnologyCeosManageProject = {
|
|
2
|
+
id: string;
|
|
3
|
+
projectGroupId: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string | null;
|
|
6
|
+
position: number;
|
|
7
|
+
createdByUserId: string;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
updatedAt: string;
|
|
10
|
+
};
|
|
11
|
+
export type CeosTechnologyCeosManageProjectCreateInput = {
|
|
12
|
+
projectGroupId: string;
|
|
13
|
+
name: string;
|
|
14
|
+
description: string | null;
|
|
15
|
+
};
|
|
16
|
+
export type CeosTechnologyCeosManageProjectUpdateInput = {
|
|
17
|
+
name: string;
|
|
18
|
+
description: string | null;
|
|
19
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type CeosTechnologyCeosManageProjectGroup = {
|
|
2
|
+
id: string;
|
|
3
|
+
organizationId: string;
|
|
4
|
+
parentProjectGroupId: string | null;
|
|
5
|
+
name: string;
|
|
6
|
+
position: number;
|
|
7
|
+
createdByUserId: string;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
updatedAt: string;
|
|
10
|
+
};
|
|
11
|
+
export type CeosTechnologyCeosManageProjectGroupCreateInput = {
|
|
12
|
+
organizationId: string;
|
|
13
|
+
parentProjectGroupId: string | null;
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
16
|
+
export type CeosTechnologyCeosManageProjectGroupUpdateInput = {
|
|
17
|
+
name: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type CeosTechnologyCeosManageProjectStage = {
|
|
2
|
+
id: string;
|
|
3
|
+
projectStageGroupId: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string | null;
|
|
6
|
+
position: number;
|
|
7
|
+
createdByUserId: string;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
updatedAt: string;
|
|
10
|
+
};
|
|
11
|
+
export type CeosTechnologyCeosManageProjectStageCreateInput = {
|
|
12
|
+
projectStageGroupId: string;
|
|
13
|
+
name: string;
|
|
14
|
+
description: string | null;
|
|
15
|
+
};
|
|
16
|
+
export type CeosTechnologyCeosManageProjectStageUpdateInput = {
|
|
17
|
+
name: string;
|
|
18
|
+
description: string | null;
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type CeosTechnologyCeosManageProjectStageGoal = {
|
|
2
|
+
id: string;
|
|
3
|
+
projectStageGoalGroupId: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string | null;
|
|
6
|
+
position: number;
|
|
7
|
+
createdByUserId: string;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
updatedAt: string;
|
|
10
|
+
};
|
|
11
|
+
export type CeosTechnologyCeosManageProjectStageGoalCreateInput = {
|
|
12
|
+
projectStageGoalGroupId: string;
|
|
13
|
+
name: string;
|
|
14
|
+
description: string | null;
|
|
15
|
+
};
|
|
16
|
+
export type CeosTechnologyCeosManageProjectStageGoalUpdateInput = {
|
|
17
|
+
name: string;
|
|
18
|
+
description: string | null;
|
|
19
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type CeosTechnologyCeosManageProjectStageGoalGroup = {
|
|
2
|
+
id: string;
|
|
3
|
+
projectStageId: string;
|
|
4
|
+
parentProjectStageGoalGroupId: string | null;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string | null;
|
|
7
|
+
position: number;
|
|
8
|
+
createdByUserId: string;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
updatedAt: string;
|
|
11
|
+
};
|
|
12
|
+
export type CeosTechnologyCeosManageProjectStageGoalGroupCreateInput = {
|
|
13
|
+
projectStageId: string;
|
|
14
|
+
parentProjectStageGoalGroupId: string | null;
|
|
15
|
+
name: string;
|
|
16
|
+
description: string | null;
|
|
17
|
+
};
|
|
18
|
+
export type CeosTechnologyCeosManageProjectStageGoalGroupUpdateInput = {
|
|
19
|
+
name: string;
|
|
20
|
+
description: string | null;
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type CeosTechnologyCeosManageProjectStageGroup = {
|
|
2
|
+
id: string;
|
|
3
|
+
projectId: string;
|
|
4
|
+
parentProjectStageGroupId: string | null;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string | null;
|
|
7
|
+
position: number;
|
|
8
|
+
createdByUserId: string;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
updatedAt: string;
|
|
11
|
+
};
|
|
12
|
+
export type CeosTechnologyCeosManageProjectStageGroupCreateInput = {
|
|
13
|
+
projectId: string;
|
|
14
|
+
parentProjectStageGroupId: string | null;
|
|
15
|
+
name: string;
|
|
16
|
+
description: string | null;
|
|
17
|
+
};
|
|
18
|
+
export type CeosTechnologyCeosManageProjectStageGroupUpdateInput = {
|
|
19
|
+
name: string;
|
|
20
|
+
description: string | null;
|
|
21
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CEOS_TECHNOLOGY_CEOS_MANAGE_PROJECT_TASK_RECURRENCE = void 0;
|
|
4
|
+
// Mirrors the ctcm_project_task_recurrence pg enum. Keep in sync with the
|
|
5
|
+
// prisma enum values.
|
|
6
|
+
exports.CEOS_TECHNOLOGY_CEOS_MANAGE_PROJECT_TASK_RECURRENCE = {
|
|
7
|
+
ONCE: "once",
|
|
8
|
+
DAILY: "daily",
|
|
9
|
+
WEEKLY: "weekly",
|
|
10
|
+
MONTHLY: "monthly",
|
|
11
|
+
YEARLY: "yearly",
|
|
12
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type CeosTechnologyCeosManageProjectTaskRecurrence = "once" | "daily" | "weekly" | "monthly" | "yearly";
|
|
2
|
+
export type CeosTechnologyCeosManageProjectTask = {
|
|
3
|
+
id: string;
|
|
4
|
+
projectTaskGroupId: string;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string | null;
|
|
7
|
+
recurrence: CeosTechnologyCeosManageProjectTaskRecurrence;
|
|
8
|
+
position: number;
|
|
9
|
+
createdByUserId: string;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
};
|
|
13
|
+
export type CeosTechnologyCeosManageProjectTaskCreateInput = {
|
|
14
|
+
projectTaskGroupId: string;
|
|
15
|
+
name: string;
|
|
16
|
+
description: string | null;
|
|
17
|
+
recurrence: CeosTechnologyCeosManageProjectTaskRecurrence;
|
|
18
|
+
};
|
|
19
|
+
export type CeosTechnologyCeosManageProjectTaskUpdateInput = {
|
|
20
|
+
name: string;
|
|
21
|
+
description: string | null;
|
|
22
|
+
recurrence: CeosTechnologyCeosManageProjectTaskRecurrence;
|
|
23
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type CeosTechnologyCeosManageProjectTaskGroup = {
|
|
2
|
+
id: string;
|
|
3
|
+
projectId: string;
|
|
4
|
+
parentProjectTaskGroupId: string | null;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string | null;
|
|
7
|
+
position: number;
|
|
8
|
+
createdByUserId: string;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
updatedAt: string;
|
|
11
|
+
};
|
|
12
|
+
export type CeosTechnologyCeosManageProjectTaskGroupCreateInput = {
|
|
13
|
+
projectId: string;
|
|
14
|
+
parentProjectTaskGroupId: string | null;
|
|
15
|
+
name: string;
|
|
16
|
+
description: string | null;
|
|
17
|
+
};
|
|
18
|
+
export type CeosTechnologyCeosManageProjectTaskGroupUpdateInput = {
|
|
19
|
+
name: string;
|
|
20
|
+
description: string | null;
|
|
21
|
+
};
|
|
@@ -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,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,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
|
+
};
|
package/dist/domains/politicians/planet/officials/manage/organization_branch_community/types.d.ts
ADDED
|
@@ -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,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,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,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,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,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,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,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,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,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,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,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
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
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";
|
|
5
6
|
export * from "./domains/lawyers/real_estate/assistants/research";
|
|
6
7
|
export * from "./domains/artists/gamestory/directors/develop";
|
|
8
|
+
export * from "./domains/ceos/technology/ceos/manage";
|
package/dist/index.js
CHANGED
|
@@ -15,8 +15,10 @@ 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);
|
|
21
22
|
__exportStar(require("./domains/lawyers/real_estate/assistants/research"), exports);
|
|
22
23
|
__exportStar(require("./domains/artists/gamestory/directors/develop"), exports);
|
|
24
|
+
__exportStar(require("./domains/ceos/technology/ceos/manage"), exports);
|