@cuby-ui/api 0.0.484 → 0.0.487
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/package.json +4 -1
- package/constants/api-url.d.ts +0 -10
- package/constants/index.d.ts +0 -10
- package/constants/shared-construction-http-options.d.ts +0 -4
- package/constants/shared-factory-http-options.d.ts +0 -4
- package/constants/shared-instruction-http-options.d.ts +0 -4
- package/constants/shared-learning-http-option.d.ts +0 -4
- package/constants/shared-platform-http-options.d.ts +0 -4
- package/constants/shared-project-http-options.d.ts +0 -4
- package/constants/shared-schedule-http-options.d.ts +0 -4
- package/constants/storage-object-type.d.ts +0 -6
- package/constants/x-ndjson-config-options.d.ts +0 -8
- package/construction/index.d.ts +0 -2
- package/construction/models/action-job.d.ts +0 -36
- package/construction/models/approval.api.d.ts +0 -14
- package/construction/models/criterion-api.options.d.ts +0 -32
- package/construction/models/holder-acceptance-criterion-wrapper.d.ts +0 -8
- package/construction/models/index.d.ts +0 -18
- package/construction/models/job-action-type.d.ts +0 -6
- package/construction/models/job-api.options.d.ts +0 -97
- package/construction/models/main-job.d.ts +0 -21
- package/construction/models/modal-header.option.d.ts +0 -8
- package/construction/models/operation.model.d.ts +0 -16
- package/construction/models/quantum-group-resources-structure-api.options.d.ts +0 -25
- package/construction/models/resource.d.ts +0 -27
- package/construction/models/skill.model.d.ts +0 -6
- package/construction/models/stage-job-information.d.ts +0 -10
- package/construction/models/technology.api.options.d.ts +0 -38
- package/construction/models/technology.d.ts +0 -46
- package/construction/models/utility-api.options.d.ts +0 -3
- package/construction/models/utility-component-instruction-structure-api.options.d.ts +0 -20
- package/construction/models/utility.d.ts +0 -40
- package/construction/services/criterion-api.service.d.ts +0 -25
- package/construction/services/index.d.ts +0 -6
- package/construction/services/job-api.service.d.ts +0 -32
- package/construction/services/quantum-group-resources-structure-api.service.d.ts +0 -15
- package/construction/services/utility-api.service.d.ts +0 -21
- package/construction/services/utility-component-instruction-structure-api.service.d.ts +0 -17
- package/construction/services/utility-instructions-api.service.d.ts +0 -10
- package/esm2022/constants/api-url.mjs +0 -2
- package/esm2022/constants/index.mjs +0 -10
- package/esm2022/constants/shared-construction-http-options.mjs +0 -6
- package/esm2022/constants/shared-factory-http-options.mjs +0 -6
- package/esm2022/constants/shared-instruction-http-options.mjs +0 -6
- package/esm2022/constants/shared-learning-http-option.mjs +0 -6
- package/esm2022/constants/shared-platform-http-options.mjs +0 -6
- package/esm2022/constants/shared-project-http-options.mjs +0 -6
- package/esm2022/constants/shared-schedule-http-options.mjs +0 -6
- package/esm2022/constants/storage-object-type.mjs +0 -5
- package/esm2022/constants/x-ndjson-config-options.mjs +0 -7
- package/esm2022/construction/index.mjs +0 -3
- package/esm2022/construction/models/action-job.mjs +0 -2
- package/esm2022/construction/models/approval.api.mjs +0 -2
- package/esm2022/construction/models/criterion-api.options.mjs +0 -2
- package/esm2022/construction/models/holder-acceptance-criterion-wrapper.mjs +0 -2
- package/esm2022/construction/models/index.mjs +0 -19
- package/esm2022/construction/models/job-action-type.mjs +0 -5
- package/esm2022/construction/models/job-api.options.mjs +0 -2
- package/esm2022/construction/models/main-job.mjs +0 -2
- package/esm2022/construction/models/modal-header.option.mjs +0 -2
- package/esm2022/construction/models/operation.model.mjs +0 -2
- package/esm2022/construction/models/quantum-group-resources-structure-api.options.mjs +0 -7
- package/esm2022/construction/models/resource.mjs +0 -7
- package/esm2022/construction/models/skill.model.mjs +0 -2
- package/esm2022/construction/models/stage-job-information.mjs +0 -2
- package/esm2022/construction/models/technology.api.options.mjs +0 -11
- package/esm2022/construction/models/technology.mjs +0 -2
- package/esm2022/construction/models/utility-api.options.mjs +0 -2
- package/esm2022/construction/models/utility-component-instruction-structure-api.options.mjs +0 -2
- package/esm2022/construction/models/utility.mjs +0 -2
- package/esm2022/construction/services/criterion-api.service.mjs +0 -93
- package/esm2022/construction/services/index.mjs +0 -7
- package/esm2022/construction/services/job-api.service.mjs +0 -128
- package/esm2022/construction/services/quantum-group-resources-structure-api.service.mjs +0 -30
- package/esm2022/construction/services/utility-api.service.mjs +0 -49
- package/esm2022/construction/services/utility-component-instruction-structure-api.service.mjs +0 -56
- package/esm2022/construction/services/utility-instructions-api.service.mjs +0 -25
- package/esm2022/cuby-ui-api.mjs +0 -5
- package/esm2022/factory/index.mjs +0 -3
- package/esm2022/factory/models/arrow-work-flow-component-controller-api.options.mjs +0 -6
- package/esm2022/factory/models/arrow-work-flow-component-structure-api.options.mjs +0 -2
- package/esm2022/factory/models/arrow-work-flow-controller-api.options.mjs +0 -2
- package/esm2022/factory/models/arrow-work-flow-readiness-checklist-api.options.mjs +0 -2
- package/esm2022/factory/models/arrow-work-flow-trasnfer-controller-api.options.mjs +0 -2
- package/esm2022/factory/models/consumable.mjs +0 -2
- package/esm2022/factory/models/factory-api.options.mjs +0 -2
- package/esm2022/factory/models/index.mjs +0 -14
- package/esm2022/factory/models/intra-logistic.mjs +0 -6
- package/esm2022/factory/models/maintenance.mjs +0 -2
- package/esm2022/factory/models/manufacturer.mjs +0 -2
- package/esm2022/factory/models/measurment.mjs +0 -2
- package/esm2022/factory/models/specification.mjs +0 -2
- package/esm2022/factory/models/specifications.mjs +0 -2
- package/esm2022/factory/services/arrow-work-flow-actions-api.service.mjs +0 -22
- package/esm2022/factory/services/arrow-work-flow-component-controller-api.service.mjs +0 -25
- package/esm2022/factory/services/arrow-work-flow-component-structure-api.service.mjs +0 -28
- package/esm2022/factory/services/arrow-work-flow-readiness-checklist-api.service.mjs +0 -25
- package/esm2022/factory/services/arrow-work-flow-trasnfer-controller-api.service.mjs +0 -61
- package/esm2022/factory/services/factory-api.service.mjs +0 -52
- package/esm2022/factory/services/index.mjs +0 -8
- package/esm2022/factory/services/instructions-api.service.mjs +0 -28
- package/esm2022/index.mjs +0 -9
- package/esm2022/instruction/index.mjs +0 -3
- package/esm2022/instruction/models/index.mjs +0 -2
- package/esm2022/instruction/models/instruction-assessment-config.mjs +0 -17
- package/esm2022/instruction/services/index.mjs +0 -2
- package/esm2022/instruction/services/instruction-assessment-config-api.service.mjs +0 -65
- package/esm2022/platform/index.mjs +0 -3
- package/esm2022/platform/models/exchange-context-api.options.mjs +0 -2
- package/esm2022/platform/models/index.mjs +0 -2
- package/esm2022/platform/models/user-company-api.options.mjs +0 -2
- package/esm2022/platform/services/exchange-context-api.service.mjs +0 -32
- package/esm2022/platform/services/index.mjs +0 -3
- package/esm2022/platform/services/user-company-api.service.mjs +0 -19
- package/esm2022/project/index.mjs +0 -3
- package/esm2022/project/models/design-job-main-api.options.mjs +0 -2
- package/esm2022/project/models/design-job-main-group-api.options.mjs +0 -2
- package/esm2022/project/models/index.mjs +0 -10
- package/esm2022/project/models/project-api.options.mjs +0 -2
- package/esm2022/project/models/project-details-phase-init-api.options.mjs +0 -2
- package/esm2022/project/models/project-init-phase-api.options.mjs +0 -2
- package/esm2022/project/models/project-phase-design-technology-api.options.mjs +0 -2
- package/esm2022/project/models/project-resource-phase-init-api.options.mjs +0 -2
- package/esm2022/project/models/project-schedule-phase-init-api.options.mjs +0 -2
- package/esm2022/project/models/technology-phase-init-api.options.mjs +0 -2
- package/esm2022/project/services/crew-template-api.service.mjs +0 -32
- package/esm2022/project/services/design-job-main-api.service.mjs +0 -22
- package/esm2022/project/services/design-job-main-group-api.service.mjs +0 -61
- package/esm2022/project/services/index.mjs +0 -11
- package/esm2022/project/services/project-api.service.mjs +0 -46
- package/esm2022/project/services/project-details-phase-init-api.service.mjs +0 -22
- package/esm2022/project/services/project-init-phase-api.service.mjs +0 -22
- package/esm2022/project/services/project-phase-design-technology-api.service.mjs +0 -34
- package/esm2022/project/services/project-resource-phase-init-api.service.mjs +0 -49
- package/esm2022/project/services/project-schedule-phase-init-api.service.mjs +0 -22
- package/esm2022/project/services/technology-phase-init-api.service.mjs +0 -38
- package/esm2022/shared/index.mjs +0 -3
- package/esm2022/shared/models/criterion-type-operations.mjs +0 -2
- package/esm2022/shared/models/criterion.mjs +0 -2
- package/esm2022/shared/models/frame-api.options.mjs +0 -2
- package/esm2022/shared/models/index.mjs +0 -19
- package/esm2022/shared/models/instruction-type-operations.mjs +0 -2
- package/esm2022/shared/models/instruction.mjs +0 -8
- package/esm2022/shared/models/job.options.mjs +0 -8
- package/esm2022/shared/models/jtext-api.options.mjs +0 -2
- package/esm2022/shared/models/list-object-instruction.mjs +0 -2
- package/esm2022/shared/models/node-checklist-api.options.mjs +0 -2
- package/esm2022/shared/models/node-checklist.options.mjs +0 -2
- package/esm2022/shared/models/review-type.mjs +0 -7
- package/esm2022/shared/models/storage-object-criterion.mjs +0 -2
- package/esm2022/shared/models/storage-object-instruction.mjs +0 -2
- package/esm2022/shared/models/storage-object.mjs +0 -2
- package/esm2022/shared/models/subject.mjs +0 -9
- package/esm2022/shared/models/tree-struct-navigator-api.options.mjs +0 -2
- package/esm2022/shared/models/tree-struct-type.options.mjs +0 -2
- package/esm2022/shared/models/tree-struct.options.mjs +0 -2
- package/esm2022/shared/services/frame-api.service.mjs +0 -45
- package/esm2022/shared/services/index.mjs +0 -6
- package/esm2022/shared/services/jtext-api.service.mjs +0 -53
- package/esm2022/shared/services/node-checklist-api.service.mjs +0 -61
- package/esm2022/shared/services/tree-struct-api.service.mjs +0 -31
- package/esm2022/shared/services/tree-struct-navigator-api.service.mjs +0 -54
- package/esm2022/tokens/api-url-context.mjs +0 -3
- package/esm2022/tokens/index.mjs +0 -2
- package/factory/index.d.ts +0 -2
- package/factory/models/arrow-work-flow-component-controller-api.options.d.ts +0 -56
- package/factory/models/arrow-work-flow-component-structure-api.options.d.ts +0 -7
- package/factory/models/arrow-work-flow-controller-api.options.d.ts +0 -56
- package/factory/models/arrow-work-flow-readiness-checklist-api.options.d.ts +0 -4
- package/factory/models/arrow-work-flow-trasnfer-controller-api.options.d.ts +0 -65
- package/factory/models/consumable.d.ts +0 -25
- package/factory/models/factory-api.options.d.ts +0 -26
- package/factory/models/index.d.ts +0 -13
- package/factory/models/intra-logistic.d.ts +0 -46
- package/factory/models/maintenance.d.ts +0 -12
- package/factory/models/manufacturer.d.ts +0 -5
- package/factory/models/measurment.d.ts +0 -6
- package/factory/models/specification.d.ts +0 -4
- package/factory/models/specifications.d.ts +0 -8
- package/factory/services/arrow-work-flow-actions-api.service.d.ts +0 -10
- package/factory/services/arrow-work-flow-component-controller-api.service.d.ts +0 -11
- package/factory/services/arrow-work-flow-component-structure-api.service.d.ts +0 -12
- package/factory/services/arrow-work-flow-readiness-checklist-api.service.d.ts +0 -11
- package/factory/services/arrow-work-flow-trasnfer-controller-api.service.d.ts +0 -20
- package/factory/services/factory-api.service.d.ts +0 -17
- package/factory/services/index.d.ts +0 -7
- package/factory/services/instructions-api.service.d.ts +0 -11
- package/fesm2022/cuby-ui-api.mjs +0 -1347
- package/fesm2022/cuby-ui-api.mjs.map +0 -1
- package/index.d.ts +0 -8
- package/instruction/index.d.ts +0 -2
- package/instruction/models/index.d.ts +0 -1
- package/instruction/models/instruction-assessment-config.d.ts +0 -43
- package/instruction/services/index.d.ts +0 -1
- package/instruction/services/instruction-assessment-config-api.service.d.ts +0 -25
- package/platform/index.d.ts +0 -2
- package/platform/models/exchange-context-api.options.d.ts +0 -19
- package/platform/models/index.d.ts +0 -2
- package/platform/models/user-company-api.options.d.ts +0 -20
- package/platform/services/exchange-context-api.service.d.ts +0 -10
- package/platform/services/index.d.ts +0 -2
- package/platform/services/user-company-api.service.d.ts +0 -9
- package/project/index.d.ts +0 -2
- package/project/models/design-job-main-api.options.d.ts +0 -12
- package/project/models/design-job-main-group-api.options.d.ts +0 -71
- package/project/models/index.d.ts +0 -9
- package/project/models/project-api.options.d.ts +0 -75
- package/project/models/project-details-phase-init-api.options.d.ts +0 -7
- package/project/models/project-init-phase-api.options.d.ts +0 -29
- package/project/models/project-phase-design-technology-api.options.d.ts +0 -33
- package/project/models/project-resource-phase-init-api.options.d.ts +0 -31
- package/project/models/project-schedule-phase-init-api.options.d.ts +0 -10
- package/project/models/technology-phase-init-api.options.d.ts +0 -4
- package/project/services/crew-template-api.service.d.ts +0 -12
- package/project/services/design-job-main-api.service.d.ts +0 -11
- package/project/services/design-job-main-group-api.service.d.ts +0 -20
- package/project/services/index.d.ts +0 -10
- package/project/services/project-api.service.d.ts +0 -15
- package/project/services/project-details-phase-init-api.service.d.ts +0 -10
- package/project/services/project-init-phase-api.service.d.ts +0 -10
- package/project/services/project-phase-design-technology-api.service.d.ts +0 -13
- package/project/services/project-resource-phase-init-api.service.d.ts +0 -14
- package/project/services/project-schedule-phase-init-api.service.d.ts +0 -10
- package/project/services/technology-phase-init-api.service.d.ts +0 -13
- package/shared/index.d.ts +0 -2
- package/shared/models/criterion-type-operations.d.ts +0 -7
- package/shared/models/criterion.d.ts +0 -7
- package/shared/models/frame-api.options.d.ts +0 -22
- package/shared/models/index.d.ts +0 -18
- package/shared/models/instruction-type-operations.d.ts +0 -7
- package/shared/models/instruction.d.ts +0 -15
- package/shared/models/job.options.d.ts +0 -64
- package/shared/models/jtext-api.options.d.ts +0 -20
- package/shared/models/list-object-instruction.d.ts +0 -6
- package/shared/models/node-checklist-api.options.d.ts +0 -29
- package/shared/models/node-checklist.options.d.ts +0 -46
- package/shared/models/review-type.d.ts +0 -5
- package/shared/models/storage-object-criterion.d.ts +0 -3
- package/shared/models/storage-object-instruction.d.ts +0 -3
- package/shared/models/storage-object.d.ts +0 -6
- package/shared/models/subject.d.ts +0 -9
- package/shared/models/tree-struct-navigator-api.options.d.ts +0 -21
- package/shared/models/tree-struct-type.options.d.ts +0 -10
- package/shared/models/tree-struct.options.d.ts +0 -15
- package/shared/services/frame-api.service.d.ts +0 -19
- package/shared/services/index.d.ts +0 -5
- package/shared/services/jtext-api.service.d.ts +0 -23
- package/shared/services/node-checklist-api.service.d.ts +0 -18
- package/shared/services/tree-struct-api.service.d.ts +0 -13
- package/shared/services/tree-struct-navigator-api.service.d.ts +0 -19
- package/tokens/api-url-context.d.ts +0 -6
- package/tokens/index.d.ts +0 -1
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import type { CuiNullable } from '@cuby-ui/cdk';
|
|
2
|
-
export interface Group extends SimpleGroup {
|
|
3
|
-
readonly jtext: string;
|
|
4
|
-
readonly structure: GroupBox[];
|
|
5
|
-
}
|
|
6
|
-
export interface GroupPart extends SimpleGroup {
|
|
7
|
-
readonly sizeStructure?: number;
|
|
8
|
-
}
|
|
9
|
-
export interface SimpleGroup {
|
|
10
|
-
readonly id: string;
|
|
11
|
-
readonly name: string;
|
|
12
|
-
readonly attributes: Record<string, string>;
|
|
13
|
-
readonly componentType: string;
|
|
14
|
-
}
|
|
15
|
-
export interface GroupBox extends GroupBoxPart {
|
|
16
|
-
readonly id: string;
|
|
17
|
-
readonly contentType: string;
|
|
18
|
-
readonly quantumFormalizations: GroupBoxFormalization[];
|
|
19
|
-
}
|
|
20
|
-
export interface GroupBoxPart {
|
|
21
|
-
readonly subjectElement: GroupBoxSubject;
|
|
22
|
-
readonly contentQuantumId: string;
|
|
23
|
-
}
|
|
24
|
-
export type GroupSubjectType = 'MATERIAL' | 'PART';
|
|
25
|
-
export interface GroupBoxSubject {
|
|
26
|
-
readonly itemId: string;
|
|
27
|
-
readonly contentType: GroupSubjectType;
|
|
28
|
-
}
|
|
29
|
-
export interface GroupBoxFormalization {
|
|
30
|
-
readonly id?: string;
|
|
31
|
-
readonly quantumId: string;
|
|
32
|
-
readonly specification?: GroupBoxSpecification;
|
|
33
|
-
}
|
|
34
|
-
export interface GroupBoxSpecification {
|
|
35
|
-
readonly parameter: GroupBoxSpecificationParameter;
|
|
36
|
-
}
|
|
37
|
-
export interface GroupBoxSpecificationParameter {
|
|
38
|
-
readonly fileDXF: CuiNullable<File>;
|
|
39
|
-
readonly size: CuiNullable<number>;
|
|
40
|
-
readonly quantity: CuiNullable<number>;
|
|
41
|
-
}
|
|
42
|
-
export interface AddGroupBoxFormalizationRequestParams extends FormalizationRequestIds {
|
|
43
|
-
readonly quantumId: string;
|
|
44
|
-
readonly body: GroupBoxRequestSpecification;
|
|
45
|
-
}
|
|
46
|
-
export interface UpdateGroupBoxFormalizationRequestParams extends FormalizationRequestIds {
|
|
47
|
-
readonly formalizationId: string;
|
|
48
|
-
readonly body: GroupBoxRequestSpecification;
|
|
49
|
-
}
|
|
50
|
-
export interface DeleteGroupBoxFormalizationRequestParams extends FormalizationRequestIds {
|
|
51
|
-
readonly formalizationId: string;
|
|
52
|
-
}
|
|
53
|
-
export interface FormalizationRequestIds {
|
|
54
|
-
readonly phaseId: string;
|
|
55
|
-
readonly jobId: string;
|
|
56
|
-
readonly groupId: string;
|
|
57
|
-
readonly boxId: string;
|
|
58
|
-
}
|
|
59
|
-
export interface GroupBoxRequestSpecification {
|
|
60
|
-
readonly parameter: GroupBoxRequestSpecificationParameter;
|
|
61
|
-
readonly fileDXF: CuiNullable<File>;
|
|
62
|
-
}
|
|
63
|
-
export interface GroupBoxRequestSpecificationParameter {
|
|
64
|
-
readonly size: CuiNullable<number>;
|
|
65
|
-
readonly quantity: number;
|
|
66
|
-
readonly type_operations: FormalizationTypeOperations;
|
|
67
|
-
}
|
|
68
|
-
export declare const enum FormalizationTypeOperations {
|
|
69
|
-
PART = "PART_QUANTUM_FORMALIZATION",
|
|
70
|
-
MATERIAL = "MATERIAL_QUANTUM_FORMALIZATION"
|
|
71
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './design-job-main-api.options';
|
|
2
|
-
export * from './design-job-main-group-api.options';
|
|
3
|
-
export * from './project-api.options';
|
|
4
|
-
export * from './project-details-phase-init-api.options';
|
|
5
|
-
export * from './project-init-phase-api.options';
|
|
6
|
-
export * from './project-phase-design-technology-api.options';
|
|
7
|
-
export * from './project-resource-phase-init-api.options';
|
|
8
|
-
export * from './project-schedule-phase-init-api.options';
|
|
9
|
-
export * from './technology-phase-init-api.options';
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import type { ProjectDetailsPhase, ProjectInitPhases } from './project-init-phase-api.options';
|
|
2
|
-
import type { TechnologyPhaseRules } from './technology-phase-init-api.options';
|
|
3
|
-
export declare const enum ProjectTypeOperations {
|
|
4
|
-
create = "CREATE_PROJECT"
|
|
5
|
-
}
|
|
6
|
-
export declare const enum ProjectPhases {
|
|
7
|
-
Init = "INIT",
|
|
8
|
-
Design = "DESIGN",
|
|
9
|
-
Preparation = "PREPARATION_FOR_CONSTRUCTION",
|
|
10
|
-
Construction = "CONSTRUCTION"
|
|
11
|
-
}
|
|
12
|
-
export interface CreateProjectRequestBody {
|
|
13
|
-
readonly title: string;
|
|
14
|
-
readonly storageNodeId: string;
|
|
15
|
-
}
|
|
16
|
-
export interface Project {
|
|
17
|
-
readonly id: string;
|
|
18
|
-
readonly title: string;
|
|
19
|
-
readonly currentPhase: SimpleProjectPhase;
|
|
20
|
-
}
|
|
21
|
-
export interface SimpleProjectPhase<T = ProjectPhases> {
|
|
22
|
-
readonly id: string;
|
|
23
|
-
readonly type: T;
|
|
24
|
-
}
|
|
25
|
-
export interface ProjectPhase<T = ProjectPhaseContent> {
|
|
26
|
-
readonly id: string;
|
|
27
|
-
readonly projectId: string;
|
|
28
|
-
readonly type: ProjectPhases;
|
|
29
|
-
readonly content: T;
|
|
30
|
-
}
|
|
31
|
-
export interface ProjectPhaseContent {
|
|
32
|
-
readonly timeCreated: string;
|
|
33
|
-
readonly isCompleted: boolean;
|
|
34
|
-
}
|
|
35
|
-
export interface ProjectInitPhase {
|
|
36
|
-
readonly id: string;
|
|
37
|
-
readonly projectId: string;
|
|
38
|
-
readonly type: ProjectPhases.Init;
|
|
39
|
-
readonly content: ProjectInitPhaseContent;
|
|
40
|
-
}
|
|
41
|
-
export interface ProjectDesignPhase {
|
|
42
|
-
readonly id: string;
|
|
43
|
-
readonly projectId: string;
|
|
44
|
-
readonly type: ProjectPhases.Design;
|
|
45
|
-
readonly content: ProjectDesignPhaseContent;
|
|
46
|
-
}
|
|
47
|
-
export interface ProjectInitPhaseContent extends ProjectPhaseContent {
|
|
48
|
-
readonly components: ProjectInitComponents[];
|
|
49
|
-
}
|
|
50
|
-
export interface ProjectDesignPhaseContent extends ProjectPhaseContent {
|
|
51
|
-
readonly phaseInitializationId: string;
|
|
52
|
-
}
|
|
53
|
-
export type ProjectInitComponents = ProjectDetailsPhase | ProjectLinkTechnologyPhase | ProjectHomeProduserPhase | ProjectResourceManagmentPhase;
|
|
54
|
-
export interface ProjectLinkTechnologyPhase {
|
|
55
|
-
readonly id: string;
|
|
56
|
-
readonly type: ProjectInitPhases.LinkTechnology;
|
|
57
|
-
readonly constructionTechnologyId: string;
|
|
58
|
-
readonly stageRules: TechnologyRule[];
|
|
59
|
-
}
|
|
60
|
-
export interface TechnologyRule {
|
|
61
|
-
readonly id: string;
|
|
62
|
-
readonly key: string;
|
|
63
|
-
readonly rulesType: TechnologyPhaseRules;
|
|
64
|
-
readonly stageId: string;
|
|
65
|
-
readonly taskId: string;
|
|
66
|
-
}
|
|
67
|
-
export interface ProjectHomeProduserPhase {
|
|
68
|
-
readonly id: string;
|
|
69
|
-
readonly type: ProjectInitPhases.HomeProducer;
|
|
70
|
-
readonly homeProviderId: string;
|
|
71
|
-
}
|
|
72
|
-
export interface ProjectResourceManagmentPhase {
|
|
73
|
-
readonly id: string;
|
|
74
|
-
readonly type: ProjectInitPhases.ConstructionResourseManagment;
|
|
75
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ProjectCoordinates } from './project-init-phase-api.options';
|
|
2
|
-
export interface ProjectAddressDetailsRequestBody {
|
|
3
|
-
readonly address: string;
|
|
4
|
-
readonly mapsLink: string;
|
|
5
|
-
readonly addressGps: ProjectCoordinates;
|
|
6
|
-
readonly polygonGPSCoordinate: ProjectCoordinates[];
|
|
7
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export declare const enum ProjectInitPhases {
|
|
2
|
-
Details = "PROJECT_DETAILS",
|
|
3
|
-
LinkTechnology = "LINK_TECHNOLOGY",
|
|
4
|
-
HomeProducer = "HOME_PRODUCER",
|
|
5
|
-
ConstructionResourseManagment = "CONSTRUCTION_RESOURCE_MANAGEMENT",
|
|
6
|
-
Schedule = "SCHEDULE"
|
|
7
|
-
}
|
|
8
|
-
export declare const enum ProjectInitPhaseIndex {
|
|
9
|
-
Details = 0,
|
|
10
|
-
LinkTechnology = 1,
|
|
11
|
-
HomeProducer = 2,
|
|
12
|
-
ConstructionResourseManagment = 3
|
|
13
|
-
}
|
|
14
|
-
export interface ProjectDetailsPhase {
|
|
15
|
-
readonly id: string;
|
|
16
|
-
readonly type: ProjectInitPhases.Details;
|
|
17
|
-
readonly address: ProjectDetailsAddress;
|
|
18
|
-
readonly jdescription: string;
|
|
19
|
-
}
|
|
20
|
-
export interface ProjectDetailsAddress {
|
|
21
|
-
readonly address: string;
|
|
22
|
-
readonly mapsLink: string;
|
|
23
|
-
readonly addressGps: ProjectCoordinates;
|
|
24
|
-
readonly polygonGPSCoordinate: ProjectCoordinates[];
|
|
25
|
-
}
|
|
26
|
-
export interface ProjectCoordinates {
|
|
27
|
-
readonly x: number;
|
|
28
|
-
readonly y: number;
|
|
29
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { CuiNullable } from '@cuby-ui/cdk';
|
|
2
|
-
import { FrameActivity, Job, JobContent, JobContentStructureType, SimpleMainJob, TreeStruct } from '../../shared';
|
|
3
|
-
export type ProjectStageStruct = TreeStruct<SimpleMainJob<ProjectStageActivity>>;
|
|
4
|
-
export interface ProjectStageExtendedActivity extends FrameActivity<ProjectStageExtendedActivityWorks> {
|
|
5
|
-
readonly constructionTechnologyId: string;
|
|
6
|
-
readonly phaseDesignId: string;
|
|
7
|
-
readonly projectId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ProjectStageExtendedActivityWorks {
|
|
10
|
-
readonly MAIN_WORKS: Job<ProjectStageMainJobContent>[];
|
|
11
|
-
}
|
|
12
|
-
export interface ProjectStageActivity {
|
|
13
|
-
readonly stageContext: ProjectDesignContent;
|
|
14
|
-
readonly contentStage: ProjectStageContent;
|
|
15
|
-
}
|
|
16
|
-
export interface ProjectDesignContent {
|
|
17
|
-
readonly stageContextType: DesignContextType;
|
|
18
|
-
readonly isDesignComplete: boolean;
|
|
19
|
-
}
|
|
20
|
-
export interface ProjectStageContent extends FrameActivity {
|
|
21
|
-
readonly utilityId: CuiNullable<string>;
|
|
22
|
-
}
|
|
23
|
-
export interface ProjectStageMainJobContent extends JobContentStructureType {
|
|
24
|
-
readonly stageDesignContext: ProjectDesignContent;
|
|
25
|
-
readonly contentJob: ProjectStageMainJobContentJob;
|
|
26
|
-
}
|
|
27
|
-
export interface ProjectStageMainJobContentJob extends JobContent {
|
|
28
|
-
readonly correctionTasks: string[];
|
|
29
|
-
}
|
|
30
|
-
export declare const enum DesignContextType {
|
|
31
|
-
Complete = "COMPLETE",
|
|
32
|
-
Exclude = "EXCLUDE"
|
|
33
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export interface ProjectResourceRequestBody {
|
|
2
|
-
readonly phaseInitId: string;
|
|
3
|
-
readonly crewTemplate: ProjectResourceTemplateRequestBody;
|
|
4
|
-
}
|
|
5
|
-
export type ProjectResourceTemplateRequestBody = Omit<ProjectResourceTemplatePart, 'id'>;
|
|
6
|
-
export interface ProjectResourceTemplatePart {
|
|
7
|
-
readonly id: string;
|
|
8
|
-
readonly crewId: string;
|
|
9
|
-
readonly crewRoleParticipants: ProjectCrewRoleParticipant[];
|
|
10
|
-
readonly schedule?: ProjectResourceSchedule;
|
|
11
|
-
}
|
|
12
|
-
export interface ProjectResourceSchedule {
|
|
13
|
-
readonly builderCrewId: string;
|
|
14
|
-
readonly scheduleId: string;
|
|
15
|
-
readonly scheduleType: string;
|
|
16
|
-
}
|
|
17
|
-
export interface ProjectResourceTemplate extends ProjectResourceTemplatePart {
|
|
18
|
-
readonly projectId: string;
|
|
19
|
-
readonly phaseInitId: string;
|
|
20
|
-
}
|
|
21
|
-
export interface CreateProjectResourceResponse {
|
|
22
|
-
readonly builderCrews: [string];
|
|
23
|
-
}
|
|
24
|
-
export interface ProjectCrewRoleParticipant {
|
|
25
|
-
readonly roleCrewId: string;
|
|
26
|
-
readonly workerUserId: string;
|
|
27
|
-
}
|
|
28
|
-
export declare const enum ProjectResourceTypeOperations {
|
|
29
|
-
Create = "CONSTRUCTION_RESOURCE_CREW_OPERATION_CREATE",
|
|
30
|
-
Update = "CONSTRUCTION_RESOURCE_CREW_OPERATION_TEMPLATE"
|
|
31
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface ApplyCrewScheduleRequestBody {
|
|
2
|
-
readonly builderCrewId: string;
|
|
3
|
-
readonly scheduleId: string;
|
|
4
|
-
readonly startingFromData: string;
|
|
5
|
-
readonly type_operations: CrewScheduleTypeOperations;
|
|
6
|
-
}
|
|
7
|
-
export declare const enum CrewScheduleTypeOperations {
|
|
8
|
-
Weekly = "WEEKLY_SCHEDULE",
|
|
9
|
-
Rotating = "ROTATING_SCHEDULE"
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
|
-
import type { ProjectResourceTemplate, ProjectResourceTemplateRequestBody } from '../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CuiCrewTemplateApiService {
|
|
5
|
-
private readonly httpClient;
|
|
6
|
-
private readonly CREW_TEMPLATE_URL;
|
|
7
|
-
getCrewTemplates(crewId: string): Observable<ProjectResourceTemplate>;
|
|
8
|
-
createTemplate(body: ProjectResourceTemplateRequestBody): Observable<ProjectResourceTemplate[]>;
|
|
9
|
-
getTemplateById(templateId: string): Observable<ProjectResourceTemplate>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiCrewTemplateApiService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiCrewTemplateApiService>;
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
|
-
import type { ProjectMainJobContent } from '../models';
|
|
3
|
-
import type { Job } from '../../shared';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CuiDesignJobMainApiService {
|
|
6
|
-
private readonly httpClient;
|
|
7
|
-
private readonly PROJECT_STAGE_URL;
|
|
8
|
-
getTask(phaseId: string, activityId: string, taskId: string): Observable<Job<ProjectMainJobContent>>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiDesignJobMainApiService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiDesignJobMainApiService>;
|
|
11
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
|
-
import type { AddGroupBoxFormalizationRequestParams, DeleteGroupBoxFormalizationRequestParams, Group, GroupBox, GroupBoxFormalization, GroupBoxPart, UpdateGroupBoxFormalizationRequestParams } from '../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CuiDesignJobMainGroupApiService {
|
|
5
|
-
private readonly httpClient;
|
|
6
|
-
private readonly DESIGN_URL;
|
|
7
|
-
private readonly JOB_GROUP_URL;
|
|
8
|
-
changeName(jobId: string, groupId: string, name: string): Observable<void>;
|
|
9
|
-
getGroup(phaseId: string, jobId: string, groupId: string): Observable<Group>;
|
|
10
|
-
createGroup(phaseId: string, jobId: string): Observable<Group>;
|
|
11
|
-
deleteGroup(phaseId: string, jobId: string, groupId: string): Observable<void>;
|
|
12
|
-
addGroupBox(phaseId: string, jobId: string, groupId: string, body: GroupBoxPart): Observable<GroupBox>;
|
|
13
|
-
addFormalization(params: AddGroupBoxFormalizationRequestParams): Observable<GroupBoxFormalization>;
|
|
14
|
-
updateFormalization(params: UpdateGroupBoxFormalizationRequestParams): Observable<GroupBoxFormalization>;
|
|
15
|
-
deleteFormalization(params: DeleteGroupBoxFormalizationRequestParams): Observable<void>;
|
|
16
|
-
deleteGroupBox(phaseId: string, jobId: string, groupId: string, boxId: string): Observable<void>;
|
|
17
|
-
private getFormalizationFormData;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiDesignJobMainGroupApiService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiDesignJobMainGroupApiService>;
|
|
20
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { CuiCrewTemplateApiService } from './crew-template-api.service';
|
|
2
|
-
export { CuiDesignJobMainApiService } from './design-job-main-api.service';
|
|
3
|
-
export { CuiDesignJobMainGroupApiService } from './design-job-main-group-api.service';
|
|
4
|
-
export { CuiProjectApiService } from './project-api.service';
|
|
5
|
-
export { CuiProjectDetailsPhaseInitApiService } from './project-details-phase-init-api.service';
|
|
6
|
-
export { CuiProjectInitPhaseApiService } from './project-init-phase-api.service';
|
|
7
|
-
export { CuiProjectPhaseDesignTechnologyService } from './project-phase-design-technology-api.service';
|
|
8
|
-
export { CuiProjectResoursePhaseInitApiService } from './project-resource-phase-init-api.service';
|
|
9
|
-
export { CuiProjectSchedulePhaseInitApiService } from './project-schedule-phase-init-api.service';
|
|
10
|
-
export { CuiTechnologyPhaseInitApiService } from './technology-phase-init-api.service';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type Observable } from 'rxjs';
|
|
2
|
-
import { CreateProjectRequestBody, Project, ProjectPhase, ProjectPhaseContent, ProjectPhases } from '../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CuiProjectApiService {
|
|
5
|
-
private readonly httpClient;
|
|
6
|
-
private readonly PROJECT_URL;
|
|
7
|
-
getProject(id: string): Observable<Project>;
|
|
8
|
-
getProjects(): Observable<Project[]>;
|
|
9
|
-
changePhase(projectId: string, type: ProjectPhases): Observable<ProjectPhase>;
|
|
10
|
-
getProjectPhase<T = ProjectPhaseContent>(phaseId: string): Observable<ProjectPhase<T>>;
|
|
11
|
-
updateTitle(id: string, title: string): Observable<void>;
|
|
12
|
-
createProject(body: CreateProjectRequestBody): Observable<Project>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiProjectApiService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiProjectApiService>;
|
|
15
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
|
-
import type { ProjectAddressDetailsRequestBody } from '../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CuiProjectDetailsPhaseInitApiService {
|
|
5
|
-
private readonly httpClient;
|
|
6
|
-
private readonly PROJECT_INIT_PHASE_URL;
|
|
7
|
-
setAddress(phaseId: string, body: ProjectAddressDetailsRequestBody): Observable<void>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiProjectDetailsPhaseInitApiService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiProjectDetailsPhaseInitApiService>;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
|
-
import type { ProjectInitComponents, ProjectInitPhases } from '../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CuiProjectInitPhaseApiService {
|
|
5
|
-
private readonly httpClient;
|
|
6
|
-
private readonly PROJECT_INIT_PHASE_URL;
|
|
7
|
-
changePhase(initPhaseId: string, type: ProjectInitPhases): Observable<ProjectInitComponents>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiProjectInitPhaseApiService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiProjectInitPhaseApiService>;
|
|
10
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
|
-
import type { ProjectStageExtendedActivity, ProjectStageStruct } from '../models';
|
|
3
|
-
import { SimpleMainJob } from '../../shared';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CuiProjectPhaseDesignTechnologyService {
|
|
6
|
-
private readonly httpClient;
|
|
7
|
-
private readonly DESIGN_PAHASE_URL;
|
|
8
|
-
getTechnologyStages(phaseId: string): Observable<ProjectStageStruct>;
|
|
9
|
-
getStage(phaseId: string, stageActivityId: string): Observable<SimpleMainJob<ProjectStageExtendedActivity>>;
|
|
10
|
-
getStageChildren(phaseId: string, stageId: string): Observable<ProjectStageStruct>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiProjectPhaseDesignTechnologyService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiProjectPhaseDesignTechnologyService>;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type Observable } from 'rxjs';
|
|
2
|
-
import { ProjectCrewRoleParticipant, ProjectResourceRequestBody, ProjectResourceTemplate } from '../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CuiProjectResoursePhaseInitApiService {
|
|
5
|
-
private readonly httpClient;
|
|
6
|
-
private readonly PROJECT_RESOURCE_URL;
|
|
7
|
-
createCrewTemplate(body: ProjectResourceRequestBody): Observable<string>;
|
|
8
|
-
replaceCrewTemplate(phaseInitId: string, crewTemplateId: string): Observable<string>;
|
|
9
|
-
updateCrewTemplate(phaseId: string, builderId: string, body: ProjectCrewRoleParticipant): Observable<void>;
|
|
10
|
-
getCrewTemplates(phaseId: string): Observable<ProjectResourceTemplate[]>;
|
|
11
|
-
deleteCrewTemplate(phaseId: string, builderCrewId: string): Observable<void>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiProjectResoursePhaseInitApiService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiProjectResoursePhaseInitApiService>;
|
|
14
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
|
-
import type { ProjectResourceTemplate, ApplyCrewScheduleRequestBody } from '../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CuiProjectSchedulePhaseInitApiService {
|
|
5
|
-
private readonly httpClient;
|
|
6
|
-
private readonly PROJECT_INIT_URL;
|
|
7
|
-
applySchedule(phaseId: string, body: ApplyCrewScheduleRequestBody): Observable<ProjectResourceTemplate>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiProjectSchedulePhaseInitApiService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiProjectSchedulePhaseInitApiService>;
|
|
10
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
|
-
import { TechnologyRule } from '../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CuiTechnologyPhaseInitApiService {
|
|
5
|
-
private readonly httpClient;
|
|
6
|
-
private readonly PROJECT_INIT_PHASE_URL;
|
|
7
|
-
setTechnology(id: string, technologyId: string): Observable<void>;
|
|
8
|
-
addStageRule(phaseId: string, stageId: string): Observable<TechnologyRule>;
|
|
9
|
-
addTaskRule(phaseId: string, stageId: string, taskId: string): Observable<TechnologyRule>;
|
|
10
|
-
deleteRule(phaseId: string, technologyId: string, stageRulesId: string): Observable<void>;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTechnologyPhaseInitApiService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiTechnologyPhaseInitApiService>;
|
|
13
|
-
}
|
package/shared/index.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { CuiNullable } from '@cuby-ui/cdk';
|
|
2
|
-
export interface Frame {
|
|
3
|
-
id: string;
|
|
4
|
-
fragments: Fragment[];
|
|
5
|
-
}
|
|
6
|
-
export type Fragment = JTextFragment | ResourceFragment;
|
|
7
|
-
export declare const enum FragmentType {
|
|
8
|
-
jText = "J_TEXT",
|
|
9
|
-
resourceFile = "RESOURCE_FILE"
|
|
10
|
-
}
|
|
11
|
-
export interface JTextFragment {
|
|
12
|
-
readonly id: string;
|
|
13
|
-
readonly type: FragmentType.jText;
|
|
14
|
-
readonly notEmpty: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface ResourceFragment {
|
|
17
|
-
readonly id: string;
|
|
18
|
-
readonly type: FragmentType.resourceFile;
|
|
19
|
-
readonly name: CuiNullable<string>;
|
|
20
|
-
readonly fileId: CuiNullable<string>;
|
|
21
|
-
readonly resource: CuiNullable<string>;
|
|
22
|
-
}
|
package/shared/models/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export * from './criterion';
|
|
2
|
-
export * from './criterion-type-operations';
|
|
3
|
-
export * from './job.options';
|
|
4
|
-
export * from './instruction';
|
|
5
|
-
export * from './subject';
|
|
6
|
-
export * from './storage-object';
|
|
7
|
-
export * from './frame-api.options';
|
|
8
|
-
export * from './tree-struct.options';
|
|
9
|
-
export * from './node-checklist.options';
|
|
10
|
-
export * from './node-checklist-api.options';
|
|
11
|
-
export * from './tree-struct-type.options';
|
|
12
|
-
export * from './list-object-instruction';
|
|
13
|
-
export * from './storage-object-criterion';
|
|
14
|
-
export * from './storage-object-instruction';
|
|
15
|
-
export * from './instruction-type-operations';
|
|
16
|
-
export * from './tree-struct-navigator-api.options';
|
|
17
|
-
export * from './jtext-api.options';
|
|
18
|
-
export * from './review-type';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Frame } from './frame-api.options';
|
|
2
|
-
export interface Instruction {
|
|
3
|
-
readonly id: string;
|
|
4
|
-
readonly title: string;
|
|
5
|
-
readonly shortDescription: string;
|
|
6
|
-
readonly framerInstructionId: string;
|
|
7
|
-
readonly frameContainer: Frame;
|
|
8
|
-
readonly status: InstructionStatus;
|
|
9
|
-
}
|
|
10
|
-
export declare enum InstructionStatus {
|
|
11
|
-
Draft = "DRAFT",
|
|
12
|
-
Publishing = "PUBLISHING",
|
|
13
|
-
Published = "PUBLISHED",
|
|
14
|
-
PublishFailed = "PUBLISH_FAILED"
|
|
15
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type { CuiNullable } from '@cuby-ui/cdk';
|
|
2
|
-
export declare const enum JobStructureType {
|
|
3
|
-
Simple = "SIMPLE",
|
|
4
|
-
Parallel = "PARALLEL"
|
|
5
|
-
}
|
|
6
|
-
export declare const JobType: {
|
|
7
|
-
readonly JobAction: "JOB_ACTION";
|
|
8
|
-
readonly JobMain: "JOB_MAIN";
|
|
9
|
-
readonly JobApproval: "JOB_APPROVAL";
|
|
10
|
-
readonly JobEvaluation: "JOB_EVALUATION";
|
|
11
|
-
readonly JobCorrective: "JOB_CORRECTIVE_MAIN_TASK";
|
|
12
|
-
};
|
|
13
|
-
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
14
|
-
export interface Job<T extends JobContentStructureType = JobContentStructureType> {
|
|
15
|
-
readonly id: string;
|
|
16
|
-
readonly title: string;
|
|
17
|
-
readonly type: JobType;
|
|
18
|
-
readonly textContainerId: string;
|
|
19
|
-
readonly content: T;
|
|
20
|
-
}
|
|
21
|
-
export interface SimpleMainJob<T = FrameActivity> {
|
|
22
|
-
readonly frameActivity: T;
|
|
23
|
-
readonly id: string;
|
|
24
|
-
readonly textContainerId: CuiNullable<string>;
|
|
25
|
-
readonly typeHandler: string;
|
|
26
|
-
}
|
|
27
|
-
export interface WorkTypes {
|
|
28
|
-
readonly APPROVAL_WORKS: string;
|
|
29
|
-
readonly MAIN_WORKS: string;
|
|
30
|
-
readonly PREPARATORY_WORKS: string;
|
|
31
|
-
}
|
|
32
|
-
export interface FrameActivity<T = WorkTypes> {
|
|
33
|
-
readonly works: T;
|
|
34
|
-
readonly carrierStageTreeStructId: string;
|
|
35
|
-
readonly expansionShiftJobId: string;
|
|
36
|
-
}
|
|
37
|
-
export interface JobContentStructureType {
|
|
38
|
-
readonly structureType: JobStructureType;
|
|
39
|
-
readonly jobs?: Job[];
|
|
40
|
-
}
|
|
41
|
-
export interface JobContent {
|
|
42
|
-
readonly components: JobContentComponents;
|
|
43
|
-
readonly containersQuantum: string[];
|
|
44
|
-
readonly divideTask: string;
|
|
45
|
-
readonly isGenerateSegmentWithOneQuantum: boolean;
|
|
46
|
-
readonly structureType: string;
|
|
47
|
-
readonly estimatedTime: string;
|
|
48
|
-
readonly type: string;
|
|
49
|
-
readonly treeStructId: string;
|
|
50
|
-
}
|
|
51
|
-
export declare const enum JobContentComponentName {
|
|
52
|
-
UtilityComponent = "UTILITY_COMPONENT",
|
|
53
|
-
TaskEvaluationComponent = "TASK_EVALUATION_COMPONENT",
|
|
54
|
-
TeamComponent = "TEAM_COMPONENT",
|
|
55
|
-
ChecklistEvaluation = "CHECKLIST_EVALUATION",
|
|
56
|
-
CheckListActions = "CHECKLIST_ACTIONS",
|
|
57
|
-
Quantum = "QUANTUM",
|
|
58
|
-
PreparatorySteps = "PREPARATORY_STEPS"
|
|
59
|
-
}
|
|
60
|
-
export type JobContentComponents = Record<JobContentComponentName, JobContentPart>;
|
|
61
|
-
export interface JobContentPart {
|
|
62
|
-
readonly id: string;
|
|
63
|
-
readonly componentId: string;
|
|
64
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export type CuiBlock<T = unknown> = {
|
|
2
|
-
id?: string;
|
|
3
|
-
readonly type: string;
|
|
4
|
-
readonly data: T;
|
|
5
|
-
};
|
|
6
|
-
export interface CuiJTextCreateBlockRequestBody {
|
|
7
|
-
readonly position: number;
|
|
8
|
-
readonly block: CuiBlock;
|
|
9
|
-
readonly jtextContainerId: string;
|
|
10
|
-
}
|
|
11
|
-
export interface CuiJTextUpdateBlockRequestBody {
|
|
12
|
-
readonly position: number;
|
|
13
|
-
readonly block: CuiBlock;
|
|
14
|
-
readonly jtextContainerId: string;
|
|
15
|
-
}
|
|
16
|
-
export interface CuiJTextCreateBlocksRequestBody {
|
|
17
|
-
readonly position: number;
|
|
18
|
-
readonly block: CuiBlock[];
|
|
19
|
-
readonly jtextContainerId: string;
|
|
20
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export interface NodeCheckListItemRequestBody {
|
|
2
|
-
readonly treeStructContainerCheckListId: string;
|
|
3
|
-
readonly title: string;
|
|
4
|
-
readonly type_operations: string;
|
|
5
|
-
}
|
|
6
|
-
export interface NodeCheckListActionContentRequestBody {
|
|
7
|
-
readonly nodeCheckListId: string;
|
|
8
|
-
readonly assigneeActionType: string;
|
|
9
|
-
readonly actionId: string;
|
|
10
|
-
readonly contentId: string;
|
|
11
|
-
readonly isRequired: boolean;
|
|
12
|
-
readonly isEnable: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const enum NodeCheckListItemSwitchContentPointer {
|
|
15
|
-
BEFORE = "BEFORE",
|
|
16
|
-
AFTER = "AFTER"
|
|
17
|
-
}
|
|
18
|
-
export interface NodeCheckListItemSwitchContentRequestParams {
|
|
19
|
-
readonly nodeCheckListId: string;
|
|
20
|
-
readonly listEvaluationId: string;
|
|
21
|
-
readonly movingElementId: string;
|
|
22
|
-
readonly targetItemId: string;
|
|
23
|
-
readonly pointer: NodeCheckListItemSwitchContentPointer;
|
|
24
|
-
}
|
|
25
|
-
export interface NodeCheckListActionConsiderCorrectRequestBody {
|
|
26
|
-
readonly nodeCheckListId: string;
|
|
27
|
-
readonly assigneeActionType: string;
|
|
28
|
-
readonly actionId: string;
|
|
29
|
-
}
|