@dssp/dcsp 1.0.0-alpha.77 → 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.77",
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.77",
44
- "@dssp/supervision": "^1.0.0-alpha.77",
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": "3752c56a8dd342972a54edf9e08c4fa4dce69781"
96
+ "gitHead": "beb40d25c5caaf2e736848bf4ec8059af2fc90d3"
97
97
  }
package/schema.graphql CHANGED
@@ -4331,6 +4331,48 @@ type FavoriteList {
4331
4331
  total: Int!
4332
4332
  }
4333
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
+
4334
4376
  """Input type for specifying a filter condition in a list query."""
4335
4377
  input Filter {
4336
4378
  """The field name to apply the filter on."""
@@ -6382,6 +6424,12 @@ type Mutation {
6382
6424
  """To create new Favorite"""
6383
6425
  createFavorite(favorite: NewFavorite!): Favorite!
6384
6426
 
6427
+ """현장 문서 생성"""
6428
+ createFieldDocument(patch: NewFieldDocument!): FieldDocument!
6429
+
6430
+ """현장 문서 다건 생성"""
6431
+ createFieldDocuments(patches: [NewFieldDocument!]!): [FieldDocument!]!
6432
+
6385
6433
  """To create new Font"""
6386
6434
  createFont(font: NewFont!): Font!
6387
6435
 
@@ -6787,6 +6835,9 @@ type Mutation {
6787
6835
  """To delete Favorite"""
6788
6836
  deleteFavorite(routing: String!): Boolean!
6789
6837
 
6838
+ """현장 문서 삭제"""
6839
+ deleteFieldDocuments(ids: [String!]!): Boolean!
6840
+
6790
6841
  """To delete Font"""
6791
6842
  deleteFont(id: String!): Boolean!
6792
6843
 
@@ -7276,6 +7327,9 @@ type Mutation {
7276
7327
  완료된 ImportSession 의 결과 boardModel 을 새 Board entity 로 영속화한다. 검수 단계 (사용자/AI 가 import 결과를 확인 후 명시적으로 호출) 에서 사용. Board.state="draft" 로 생성되므로 release mutation 으로 별도 발행 필요.
7277
7328
  """
7278
7329
  materializeImportSession(input: MaterializeImportSessionInput!): Board!
7330
+
7331
+ """문서 폴더 이동"""
7332
+ moveFieldDocuments(ids: [String!]!, targetCode: String!): Boolean!
7279
7333
  multipleUpload(files: [Upload!]!): [Attachment!]!
7280
7334
 
7281
7335
  """
@@ -7451,6 +7505,9 @@ type Mutation {
7451
7505
  synchronizePrivilegeMaster(privilege: NewPrivilege!): Boolean!
7452
7506
  terminateContract(partnerName: String!): Boolean!
7453
7507
 
7508
+ """즐겨찾기 토글"""
7509
+ toggleFieldDocumentFavorite(id: String!): FieldDocument!
7510
+
7454
7511
  """
7455
7512
  Transfers domain ownership to another user. Use this mutation to assign the owner role to a different user within the domain.
7456
7513
  """
@@ -8515,6 +8572,15 @@ input NewFavorite {
8515
8572
  routing: String!
8516
8573
  }
8517
8574
 
8575
+ input NewFieldDocument {
8576
+ code: String!
8577
+ file: Upload
8578
+ name: String!
8579
+ projectId: String!
8580
+ sourceRefId: String
8581
+ sourceType: String
8582
+ }
8583
+
8518
8584
  input NewFont {
8519
8585
  active: Boolean
8520
8586
  files: [Upload!]
@@ -11729,6 +11795,15 @@ type Query {
11729
11795
  """Fetches the current state of a single connection by its name."""
11730
11796
  fetchConnectionState(name: String!): ConnectionState!
11731
11797
 
11798
+ """단건 문서 상세 조회"""
11799
+ fieldDocument(id: String!): FieldDocument
11800
+
11801
+ """프로젝트별 분류 코드당 문서 수"""
11802
+ fieldDocumentCountsByProject(projectId: String!): [FieldDocumentCodeCount!]!
11803
+
11804
+ """소분류 코드별 문서 목록 조회"""
11805
+ fieldDocumentsByCode(code: String!, projectId: String!): FieldDocumentList!
11806
+
11732
11807
  """To fetch a Font"""
11733
11808
  font(id: String!): Font!
11734
11809