@dssp/dcsp 1.0.0-alpha.76 → 1.0.0-alpha.78

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dssp/dcsp",
3
- "version": "1.0.0-alpha.76",
3
+ "version": "1.0.0-alpha.78",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -40,8 +40,8 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@dssp/building-complex": "^1.0.0-alpha.76",
43
- "@dssp/project": "^1.0.0-alpha.76",
44
- "@dssp/supervision": "^1.0.0-alpha.76",
43
+ "@dssp/project": "^1.0.0-alpha.78",
44
+ "@dssp/supervision": "^1.0.0-alpha.78",
45
45
  "@material/web": "^2.4.0",
46
46
  "@operato/chart": "^10.0.0-beta",
47
47
  "@operato/gantt": "^10.0.0-beta",
@@ -93,5 +93,5 @@
93
93
  "devDependencies": {
94
94
  "@things-factory/builder": "^10.0.0-beta"
95
95
  },
96
- "gitHead": "2cdad3871fe43d7e7010bbc4f8d05e9f64d96c2b"
96
+ "gitHead": "beb40d25c5caaf2e736848bf4ec8059af2fc90d3"
97
97
  }
package/schema.graphql CHANGED
@@ -1163,6 +1163,11 @@ type Board {
1163
1163
  """A base64 encoded thumbnail image of the board."""
1164
1164
  thumbnail: String
1165
1165
 
1166
+ """
1167
+ Timestamp of the last thumbnail generation. Separate lifecycle from updatedAt; only changes when the thumbnail image itself is regenerated.
1168
+ """
1169
+ thumbnailUpdatedAt: DateTimeISO
1170
+
1166
1171
  """The type of the board, can be 'main', 'sub', or 'popup'."""
1167
1172
  type: String
1168
1173
 
@@ -1341,6 +1346,11 @@ type BoardFavorite {
1341
1346
  """A base64 encoded thumbnail image of the board."""
1342
1347
  thumbnail: String
1343
1348
 
1349
+ """
1350
+ Timestamp of the last thumbnail generation. Separate lifecycle from updatedAt; only changes when the thumbnail image itself is regenerated.
1351
+ """
1352
+ thumbnailUpdatedAt: DateTimeISO
1353
+
1344
1354
  """The type of the board, can be 'main', 'sub', or 'popup'."""
1345
1355
  type: String
1346
1356
 
@@ -1776,6 +1786,11 @@ type BuildingInspectionSummaryOfLevel {
1776
1786
  wait: Int!
1777
1787
  }
1778
1788
 
1789
+ input BuildingInspectionsOfBuilding {
1790
+ buildingId: String!
1791
+ limit: Float
1792
+ }
1793
+
1779
1794
  input BuildingInspectionsOfBuildingLevel {
1780
1795
  buildingLevelId: String!
1781
1796
  endDate: String
@@ -4316,6 +4331,48 @@ type FavoriteList {
4316
4331
  total: Int!
4317
4332
  }
4318
4333
 
4334
+ """Entity for FieldDocument"""
4335
+ type FieldDocument {
4336
+ aiSummary: String
4337
+ aiSummaryStatus: FieldDocumentSummaryStatus
4338
+ code: String!
4339
+ createdAt: DateTimeISO
4340
+ creator: User
4341
+ deletedAt: DateTimeISO
4342
+ domain: Domain
4343
+
4344
+ """파일 크기"""
4345
+ fileSize: String
4346
+
4347
+ """첨부파일 fullpath"""
4348
+ fullpath: String
4349
+ id: ID
4350
+ isFavorite: Boolean
4351
+ name: String!
4352
+ projectId: String!
4353
+ sourceRefId: String
4354
+ sourceType: String
4355
+ updatedAt: DateTimeISO
4356
+ updater: User
4357
+ }
4358
+
4359
+ type FieldDocumentCodeCount {
4360
+ code: String!
4361
+ count: Int!
4362
+ }
4363
+
4364
+ type FieldDocumentList {
4365
+ items: [FieldDocument!]!
4366
+ total: Int!
4367
+ }
4368
+
4369
+ """AI 문서 요약 요청 상태"""
4370
+ enum FieldDocumentSummaryStatus {
4371
+ FAIL
4372
+ REQUEST
4373
+ SUCCESS
4374
+ }
4375
+
4319
4376
  """Input type for specifying a filter condition in a list query."""
4320
4377
  input Filter {
4321
4378
  """The field name to apply the filter on."""
@@ -6367,6 +6424,12 @@ type Mutation {
6367
6424
  """To create new Favorite"""
6368
6425
  createFavorite(favorite: NewFavorite!): Favorite!
6369
6426
 
6427
+ """현장 문서 생성"""
6428
+ createFieldDocument(patch: NewFieldDocument!): FieldDocument!
6429
+
6430
+ """현장 문서 다건 생성"""
6431
+ createFieldDocuments(patches: [NewFieldDocument!]!): [FieldDocument!]!
6432
+
6370
6433
  """To create new Font"""
6371
6434
  createFont(font: NewFont!): Font!
6372
6435
 
@@ -6772,6 +6835,9 @@ type Mutation {
6772
6835
  """To delete Favorite"""
6773
6836
  deleteFavorite(routing: String!): Boolean!
6774
6837
 
6838
+ """현장 문서 삭제"""
6839
+ deleteFieldDocuments(ids: [String!]!): Boolean!
6840
+
6775
6841
  """To delete Font"""
6776
6842
  deleteFont(id: String!): Boolean!
6777
6843
 
@@ -7261,6 +7327,9 @@ type Mutation {
7261
7327
  완료된 ImportSession 의 결과 boardModel 을 새 Board entity 로 영속화한다. 검수 단계 (사용자/AI 가 import 결과를 확인 후 명시적으로 호출) 에서 사용. Board.state="draft" 로 생성되므로 release mutation 으로 별도 발행 필요.
7262
7328
  """
7263
7329
  materializeImportSession(input: MaterializeImportSessionInput!): Board!
7330
+
7331
+ """문서 폴더 이동"""
7332
+ moveFieldDocuments(ids: [String!]!, targetCode: String!): Boolean!
7264
7333
  multipleUpload(files: [Upload!]!): [Attachment!]!
7265
7334
 
7266
7335
  """
@@ -7436,6 +7505,9 @@ type Mutation {
7436
7505
  synchronizePrivilegeMaster(privilege: NewPrivilege!): Boolean!
7437
7506
  terminateContract(partnerName: String!): Boolean!
7438
7507
 
7508
+ """즐겨찾기 토글"""
7509
+ toggleFieldDocumentFavorite(id: String!): FieldDocument!
7510
+
7439
7511
  """
7440
7512
  Transfers domain ownership to another user. Use this mutation to assign the owner role to a different user within the domain.
7441
7513
  """
@@ -8500,6 +8572,15 @@ input NewFavorite {
8500
8572
  routing: String!
8501
8573
  }
8502
8574
 
8575
+ input NewFieldDocument {
8576
+ code: String!
8577
+ file: Upload
8578
+ name: String!
8579
+ projectId: String!
8580
+ sourceRefId: String
8581
+ sourceType: String
8582
+ }
8583
+
8503
8584
  input NewFont {
8504
8585
  active: Boolean
8505
8586
  files: [Upload!]
@@ -10707,9 +10788,15 @@ type Query {
10707
10788
  buildingInspection(id: String!): BuildingInspection
10708
10789
  buildingInspectionDailyWorklogByProjectIdAndDate(date: String!, projectId: String!): BuildingInspectionDailyWorklog
10709
10790
 
10791
+ """To fetch BuildingInspection Date Summary of Building"""
10792
+ buildingInspectionDateSummaryOfBuilding(buildingId: String!, endDate: String!, startDate: String!): [BuildingInspectionSummary!]
10793
+
10710
10794
  """To fetch a BuildingInspection Summary"""
10711
10795
  buildingInspectionDateSummaryOfLevelAndPeriod(buildingLevelId: String!, endDate: String!, startDate: String!): [BuildingInspectionSummary!]
10712
10796
 
10797
+ """To fetch BuildingInspection Date Summary of Project"""
10798
+ buildingInspectionDateSummaryOfProject(endDate: String!, projectId: String!, startDate: String!): [BuildingInspectionSummary!]
10799
+
10713
10800
  """To fetch multiple BuildingInspections"""
10714
10801
  buildingInspectionHistories(
10715
10802
  """An array of filter conditions to apply to the list query."""
@@ -10728,6 +10815,9 @@ type Query {
10728
10815
  """To fetch a BuildingInspectionHistory"""
10729
10816
  buildingInspectionHistory(id: String!): BuildingInspectionHistory
10730
10817
 
10818
+ """To fetch BuildingInspection Summary of Building"""
10819
+ buildingInspectionSummaryOfBuilding(buildingId: String!): BuildingInspectionSummary
10820
+
10731
10821
  """To fetch a BuildingInspection Summary"""
10732
10822
  buildingInspectionSummaryOfBuildingLevel(buildingLevelId: String!): BuildingInspectionSummary
10733
10823
 
@@ -10749,6 +10839,9 @@ type Query {
10749
10839
  sortings: [Sorting!]
10750
10840
  ): BuildingInspectionList!
10751
10841
 
10842
+ """To fetch BuildingInspections of Building"""
10843
+ buildingInspectionsOfBuilding(params: BuildingInspectionsOfBuilding!): BuildingInspectionList!
10844
+
10752
10845
  """To fetch multiple BuildingInspections"""
10753
10846
  buildingInspectionsOfBuildingLevel(params: BuildingInspectionsOfBuildingLevel!): BuildingInspectionList!
10754
10847
 
@@ -11702,6 +11795,15 @@ type Query {
11702
11795
  """Fetches the current state of a single connection by its name."""
11703
11796
  fetchConnectionState(name: String!): ConnectionState!
11704
11797
 
11798
+ """단건 문서 상세 조회"""
11799
+ fieldDocument(id: String!): FieldDocument
11800
+
11801
+ """프로젝트별 분류 코드당 문서 수"""
11802
+ fieldDocumentCountsByProject(projectId: String!): [FieldDocumentCodeCount!]!
11803
+
11804
+ """소분류 코드별 문서 목록 조회"""
11805
+ fieldDocumentsByCode(code: String!, projectId: String!): FieldDocumentList!
11806
+
11705
11807
  """To fetch a Font"""
11706
11808
  font(id: String!): Font!
11707
11809