@dssp/supervision 1.0.0-alpha.74 → 1.0.0-alpha.77
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-client/pages/building-inspection/building-inspection-list.js +2 -2
- package/dist-client/pages/building-inspection/building-inspection-list.js.map +1 -1
- package/dist-client/pages/building-inspection/building-inspection-management.d.ts +8 -0
- package/dist-client/pages/building-inspection/building-inspection-management.js +297 -45
- package/dist-client/pages/building-inspection/building-inspection-management.js.map +1 -1
- package/dist-client/pages/building-inspection/component/field-document/field-document-constants.d.ts +18 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-constants.js +630 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-constants.js.map +1 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.d.ts +10 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.js +219 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-detail-popup.js.map +1 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.d.ts +22 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.js +472 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-list-panel.js.map +1 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-popup.d.ts +38 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-popup.js +651 -0
- package/dist-client/pages/building-inspection/component/field-document/field-document-popup.js.map +1 -0
- package/dist-client/pages/building-inspection/component/inspection-event-provider.d.ts +3 -2
- package/dist-client/pages/building-inspection/component/inspection-event-provider.js +129 -34
- package/dist-client/pages/building-inspection/component/inspection-event-provider.js.map +1 -1
- package/dist-client/pages/checklist-template/construction-checklist-template-list.js +9 -14
- package/dist-client/pages/checklist-template/construction-checklist-template-list.js.map +1 -1
- package/dist-client/pages/project-checklist/project-checklist-management.d.ts +2 -0
- package/dist-client/pages/project-checklist/project-checklist-management.js +24 -2
- package/dist-client/pages/project-checklist/project-checklist-management.js.map +1 -1
- package/dist-client/route.d.ts +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/service/building-inspection/building-inspection-query.d.ts +5 -1
- package/dist-server/service/building-inspection/building-inspection-query.js +114 -0
- package/dist-server/service/building-inspection/building-inspection-query.js.map +1 -1
- package/dist-server/service/building-inspection/building-inspection-type.d.ts +4 -0
- package/dist-server/service/building-inspection/building-inspection-type.js +15 -1
- package/dist-server/service/building-inspection/building-inspection-type.js.map +1 -1
- package/dist-server/service/building-inspection/index.d.ts +1 -1
- package/dist-server/service/field-document/field-document-auto-file.d.ts +21 -0
- package/dist-server/service/field-document/field-document-auto-file.js +47 -0
- package/dist-server/service/field-document/field-document-auto-file.js.map +1 -0
- package/dist-server/service/field-document/field-document-mutation.d.ts +9 -0
- package/dist-server/service/field-document/field-document-mutation.js +136 -0
- package/dist-server/service/field-document/field-document-mutation.js.map +1 -0
- package/dist-server/service/field-document/field-document-query.d.ts +13 -0
- package/dist-server/service/field-document/field-document-query.js +107 -0
- package/dist-server/service/field-document/field-document-query.js.map +1 -0
- package/dist-server/service/field-document/field-document-summary-service.d.ts +2 -0
- package/dist-server/service/field-document/field-document-summary-service.js +55 -0
- package/dist-server/service/field-document/field-document-summary-service.js.map +1 -0
- package/dist-server/service/field-document/field-document-type.d.ts +22 -0
- package/dist-server/service/field-document/field-document-type.js +83 -0
- package/dist-server/service/field-document/field-document-type.js.map +1 -0
- package/dist-server/service/field-document/field-document.d.ts +28 -0
- package/dist-server/service/field-document/field-document.js +123 -0
- package/dist-server/service/field-document/field-document.js.map +1 -0
- package/dist-server/service/field-document/index.d.ts +5 -0
- package/dist-server/service/field-document/index.js +9 -0
- package/dist-server/service/field-document/index.js.map +1 -0
- package/dist-server/service/index.d.ts +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-document.js","sourceRoot":"","sources":["../../../server/service/field-document/field-document.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,EAAC,EAAE,WAAW,EAAE,0BAA0B,EAAE,CAAC;GAC3C,aAAa,CAyEzB","sourcesContent":["import {\n CreateDateColumn,\n UpdateDateColumn,\n DeleteDateColumn,\n Entity,\n Index,\n Column,\n RelationId,\n ManyToOne,\n PrimaryGeneratedColumn\n} from 'typeorm'\nimport { ObjectType, Field, ID, Int, registerEnumType } from 'type-graphql'\n\nimport { Domain } from '@things-factory/shell'\nimport { User } from '@things-factory/auth-base'\n\nexport enum FieldDocumentSummaryStatus {\n REQUEST = '10',\n SUCCESS = '20',\n FAIL = '30'\n}\n\nregisterEnumType(FieldDocumentSummaryStatus, {\n name: 'FieldDocumentSummaryStatus',\n description: 'AI 문서 요약 요청 상태'\n})\n\n@Entity({ comment: '현장 문서' })\n@Index('ix_field_document_0', (fd: FieldDocument) => [fd.projectId, fd.code], {\n where: '\"deleted_at\" IS NULL'\n})\n@Index('ix_field_document_1', (fd: FieldDocument) => [fd.projectId, fd.isFavorite], {\n where: '\"deleted_at\" IS NULL'\n})\n@ObjectType({ description: 'Entity for FieldDocument' })\nexport class FieldDocument {\n @PrimaryGeneratedColumn('uuid')\n @Field(type => ID, { nullable: true })\n readonly id: string\n\n @ManyToOne(type => Domain)\n @Field({ nullable: true })\n domain?: Domain\n\n @RelationId((fd: FieldDocument) => fd.domain)\n domainId?: string\n\n @Column({ nullable: false, comment: '프로젝트 ID' })\n @Field({ nullable: false })\n projectId!: string\n\n @Column({ nullable: false, comment: '소분류 코드 (예: 020108)' })\n @Field({ nullable: false })\n code!: string\n\n @Column({ nullable: false, comment: '파일명' })\n @Field({ nullable: false })\n name!: string\n\n @Column({ nullable: true, comment: 'AI 생성 요약' })\n @Field({ nullable: true })\n aiSummary?: string\n\n @Column({ nullable: true, comment: 'AI 요약 요청 상태 (10: 요청, 20: 성공, 30: 실패)' })\n @Field(type => FieldDocumentSummaryStatus, { nullable: true })\n aiSummaryStatus?: FieldDocumentSummaryStatus\n\n @Column({ default: false, comment: '즐겨찾기' })\n @Field({ nullable: true })\n isFavorite?: boolean\n\n @Column({ nullable: true, comment: '자동 등록 출처 (DAILY_WORKLOG, INSPECTION_REQUEST 등)' })\n @Field({ nullable: true })\n sourceType?: string\n\n @Column({ nullable: true, comment: '출처 엔티티 ID' })\n @Field({ nullable: true })\n sourceRefId?: string\n\n @CreateDateColumn()\n @Field({ nullable: true })\n createdAt?: Date\n\n @UpdateDateColumn()\n @Field({ nullable: true })\n updatedAt?: Date\n\n @DeleteDateColumn()\n @Field({ nullable: true })\n deletedAt?: Date\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n creator?: User\n\n @RelationId((fd: FieldDocument) => fd.creator)\n creatorId?: string\n\n @ManyToOne(type => User, { nullable: true })\n @Field(type => User, { nullable: true })\n updater?: User\n\n @RelationId((fd: FieldDocument) => fd.updater)\n updaterId?: string\n\n /* Attachment 연결: refBy = fieldDocument.id, refType = 'FieldDocument' */\n @Field({ nullable: true, description: '첨부파일 fullpath' })\n fullpath?: string\n}\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FieldDocument } from './field-document';
|
|
2
|
+
import { FieldDocumentQuery } from './field-document-query';
|
|
3
|
+
import { FieldDocumentMutation } from './field-document-mutation';
|
|
4
|
+
export declare const entities: (typeof FieldDocument)[];
|
|
5
|
+
export declare const resolvers: (typeof FieldDocumentQuery | typeof FieldDocumentMutation)[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolvers = exports.entities = void 0;
|
|
4
|
+
const field_document_1 = require("./field-document");
|
|
5
|
+
const field_document_query_1 = require("./field-document-query");
|
|
6
|
+
const field_document_mutation_1 = require("./field-document-mutation");
|
|
7
|
+
exports.entities = [field_document_1.FieldDocument];
|
|
8
|
+
exports.resolvers = [field_document_query_1.FieldDocumentQuery, field_document_mutation_1.FieldDocumentMutation];
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../server/service/field-document/index.ts"],"names":[],"mappings":";;;AAAA,qDAAgD;AAChD,iEAA2D;AAC3D,uEAAiE;AAEpD,QAAA,QAAQ,GAAG,CAAC,8BAAa,CAAC,CAAA;AAC1B,QAAA,SAAS,GAAG,CAAC,yCAAkB,EAAE,+CAAqB,CAAC,CAAA","sourcesContent":["import { FieldDocument } from './field-document'\nimport { FieldDocumentQuery } from './field-document-query'\nimport { FieldDocumentMutation } from './field-document-mutation'\n\nexport const entities = [FieldDocument]\nexport const resolvers = [FieldDocumentQuery, FieldDocumentMutation]\n"]}
|
|
@@ -15,7 +15,7 @@ export * from './project-checklist-item/project-checklist-item';
|
|
|
15
15
|
export * from './building-inspection/building-inspection';
|
|
16
16
|
export * from './building-inspection/building-inspection-type';
|
|
17
17
|
export * from './building-inspection-daily-worklog/building-inspection-daily-worklog';
|
|
18
|
-
export declare const entities: (typeof import("./
|
|
18
|
+
export declare const entities: (typeof import("./building-inspection/building-inspection").BuildingInspection | typeof import("./checklist/checklist").Checklist | typeof import("./checklist-item/checklist-item").ChecklistItem | typeof import("./building-inspection-daily-worklog/building-inspection-daily-worklog").BuildingInspectionDailyWorklog | typeof import("./action-plan/action-plan").ActionPlan | typeof import("./issue/issue").Issue | typeof import("./project-report/project-report").ProjectReport | typeof import("./supervisor/supervisor").Supervisor | typeof import("./checklist-history/checklist-history").ChecklistHistory | typeof import("./checklist-item-history/checklist-item-history").ChecklistItemHistory | typeof import("./checklist-item-comment/checklist-item-comment").ChecklistItemComment | typeof import("./checklist-type/checklist-type").ChecklistType | typeof import("./checklist-template-item/checklist-template-item").ChecklistTemplateItem | typeof import("./checklist-template/checklist-template").ChecklistTemplate | typeof import("./construction-checklist-template/construction-checklist-template").ConstructionChecklistTemplate | typeof import("./construction-checklist-template-item/construction-checklist-template-item").ConstructionChecklistTemplateItem | typeof import("./project-checklist/project-checklist").ProjectChecklist | typeof import("./project-checklist-item/project-checklist-item").ProjectChecklistItem | typeof import("./building-inspection-history/building-inspection-history").BuildingInspectionHistory)[];
|
|
19
19
|
export declare const schema: {
|
|
20
20
|
resolverClasses: typeof import("./checklist-item/checklist-item-mutation").ChecklistItemMutation[];
|
|
21
21
|
};
|