@dssp/dkpi 1.0.0-alpha.78 → 1.0.0-alpha.79

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/dkpi",
3
- "version": "1.0.0-alpha.78",
3
+ "version": "1.0.0-alpha.79",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -48,7 +48,9 @@
48
48
  "docker:push": "docker image push hatiolab/dkpi:latest && docker image push hatiolab/dkpi:$npm_package_version"
49
49
  },
50
50
  "dependencies": {
51
- "@dssp/project": "^1.0.0-alpha.78",
51
+ "@dssp/integration-allbaro": "^1.0.0-alpha.79",
52
+ "@dssp/integration-kiscon": "^1.0.0-alpha.79",
53
+ "@dssp/project": "^1.0.0-alpha.79",
52
54
  "@material/web": "^2.4.0",
53
55
  "@operato/chart": "^10.0.0-beta",
54
56
  "@operato/gantt": "^10.0.0-beta",
@@ -105,5 +107,5 @@
105
107
  "devDependencies": {
106
108
  "@things-factory/builder": "^10.0.0-beta"
107
109
  },
108
- "gitHead": "beb40d25c5caaf2e736848bf4ec8059af2fc90d3"
110
+ "gitHead": "be501b36216b2404cc3df1a56da33954e17da8b9"
109
111
  }
package/schema.graphql CHANGED
@@ -1786,6 +1786,11 @@ type BuildingInspectionSummaryOfLevel {
1786
1786
  wait: Int!
1787
1787
  }
1788
1788
 
1789
+ input BuildingInspectionsOfBuilding {
1790
+ buildingId: String!
1791
+ limit: Float
1792
+ }
1793
+
1789
1794
  input BuildingInspectionsOfBuildingLevel {
1790
1795
  buildingLevelId: String!
1791
1796
  endDate: String
@@ -2324,6 +2329,11 @@ type Connection {
2324
2329
  """Unique identifier for the connection."""
2325
2330
  id: ID!
2326
2331
 
2332
+ """
2333
+ Inheritance mode for child domains. ISOLATE = per-child instance with isolated session. SHARE = shared parent instance. null = use Connector default (falls back to ISOLATE).
2334
+ """
2335
+ inheritanceMode: ConnectionInheritanceMode
2336
+
2327
2337
  """The name of the connection."""
2328
2338
  name: String!
2329
2339
 
@@ -2348,6 +2358,14 @@ type Connection {
2348
2358
  updater: User
2349
2359
  }
2350
2360
 
2361
+ """
2362
+ Child domain inheritance mode — ISOLATE: per-child instance with isolated session/credentials. SHARE: single parent instance reused by all children.
2363
+ """
2364
+ enum ConnectionInheritanceMode {
2365
+ ISOLATE
2366
+ SHARE
2367
+ }
2368
+
2351
2369
  """A paginated list of connections."""
2352
2370
  type ConnectionList {
2353
2371
  """The list of connection items."""
@@ -2379,6 +2397,11 @@ input ConnectionPatch {
2379
2397
  """The unique identifier of the connection to update."""
2380
2398
  id: ID
2381
2399
 
2400
+ """
2401
+ Inheritance mode for child domains. ISOLATE = per-child instance. SHARE = shared parent instance. null = use connector default.
2402
+ """
2403
+ inheritanceMode: ConnectionInheritanceMode
2404
+
2382
2405
  """The new name for the connection."""
2383
2406
  name: String
2384
2407
 
@@ -2408,6 +2431,11 @@ type ConnectionState {
2408
2431
  """The unique identifier of the connection."""
2409
2432
  id: String
2410
2433
 
2434
+ """
2435
+ Inheritance mode for child domains. ISOLATE = per-child instance. SHARE = shared parent instance. null = use connector default (falls back to ISOLATE).
2436
+ """
2437
+ inheritanceMode: ConnectionInheritanceMode
2438
+
2411
2439
  """The name of the connection."""
2412
2440
  name: String
2413
2441
 
@@ -4309,6 +4337,22 @@ input EnvVarPatch {
4309
4337
  value: String
4310
4338
  }
4311
4339
 
4340
+ """Resolved state of an EnvVar key with ancestor closest-wins lookup."""
4341
+ type EnvVarResolution {
4342
+ """EnvVar id (only when found in any domain)."""
4343
+ envVarId: String
4344
+ hasValue: Boolean!
4345
+ key: String!
4346
+ sourceDomainId: String
4347
+ sourceDomainName: String
4348
+ status: String!
4349
+
4350
+ """
4351
+ Resolved value when found. Client decides masking based on propertySpec type.
4352
+ """
4353
+ value: String
4354
+ }
4355
+
4312
4356
  """Entity for Favorite"""
4313
4357
  type Favorite {
4314
4358
  createdAt: DateTimeISO
@@ -4326,6 +4370,48 @@ type FavoriteList {
4326
4370
  total: Int!
4327
4371
  }
4328
4372
 
4373
+ """Entity for FieldDocument"""
4374
+ type FieldDocument {
4375
+ aiSummary: String
4376
+ aiSummaryStatus: FieldDocumentSummaryStatus
4377
+ code: String!
4378
+ createdAt: DateTimeISO
4379
+ creator: User
4380
+ deletedAt: DateTimeISO
4381
+ domain: Domain
4382
+
4383
+ """파일 크기"""
4384
+ fileSize: String
4385
+
4386
+ """첨부파일 fullpath"""
4387
+ fullpath: String
4388
+ id: ID
4389
+ isFavorite: Boolean
4390
+ name: String!
4391
+ projectId: String!
4392
+ sourceRefId: String
4393
+ sourceType: String
4394
+ updatedAt: DateTimeISO
4395
+ updater: User
4396
+ }
4397
+
4398
+ type FieldDocumentCodeCount {
4399
+ code: String!
4400
+ count: Int!
4401
+ }
4402
+
4403
+ type FieldDocumentList {
4404
+ items: [FieldDocument!]!
4405
+ total: Int!
4406
+ }
4407
+
4408
+ """AI 문서 요약 요청 상태"""
4409
+ enum FieldDocumentSummaryStatus {
4410
+ FAIL
4411
+ REQUEST
4412
+ SUCCESS
4413
+ }
4414
+
4329
4415
  """Input type for specifying a filter condition in a list query."""
4330
4416
  input Filter {
4331
4417
  """The field name to apply the filter on."""
@@ -6423,6 +6509,12 @@ type Mutation {
6423
6509
  """To create new Favorite"""
6424
6510
  createFavorite(favorite: NewFavorite!): Favorite!
6425
6511
 
6512
+ """현장 문서 생성"""
6513
+ createFieldDocument(patch: NewFieldDocument!): FieldDocument!
6514
+
6515
+ """현장 문서 다건 생성"""
6516
+ createFieldDocuments(patches: [NewFieldDocument!]!): [FieldDocument!]!
6517
+
6426
6518
  """To create new Font"""
6427
6519
  createFont(font: NewFont!): Font!
6428
6520
 
@@ -6828,6 +6920,9 @@ type Mutation {
6828
6920
  """To delete Favorite"""
6829
6921
  deleteFavorite(routing: String!): Boolean!
6830
6922
 
6923
+ """현장 문서 삭제"""
6924
+ deleteFieldDocuments(ids: [String!]!): Boolean!
6925
+
6831
6926
  """To delete Font"""
6832
6927
  deleteFont(id: String!): Boolean!
6833
6928
 
@@ -7320,6 +7415,9 @@ type Mutation {
7320
7415
  완료된 ImportSession 의 결과 boardModel 을 새 Board entity 로 영속화한다. 검수 단계 (사용자/AI 가 import 결과를 확인 후 명시적으로 호출) 에서 사용. Board.state="draft" 로 생성되므로 release mutation 으로 별도 발행 필요.
7321
7416
  """
7322
7417
  materializeImportSession(input: MaterializeImportSessionInput!): Board!
7418
+
7419
+ """문서 폴더 이동"""
7420
+ moveFieldDocuments(ids: [String!]!, targetCode: String!): Boolean!
7323
7421
  multipleUpload(files: [Upload!]!): [Attachment!]!
7324
7422
 
7325
7423
  """
@@ -7495,6 +7593,9 @@ type Mutation {
7495
7593
  synchronizePrivilegeMaster(privilege: NewPrivilege!): Boolean!
7496
7594
  terminateContract(partnerName: String!): Boolean!
7497
7595
 
7596
+ """즐겨찾기 토글"""
7597
+ toggleFieldDocumentFavorite(id: String!): FieldDocument!
7598
+
7498
7599
  """
7499
7600
  Transfers domain ownership to another user. Use this mutation to assign the owner role to a different user within the domain.
7500
7601
  """
@@ -8258,6 +8359,11 @@ input NewConnection {
8258
8359
  """The endpoint URL or address for the new connection."""
8259
8360
  endpoint: String
8260
8361
 
8362
+ """
8363
+ Inheritance mode for child domains. ISOLATE = per-child instance. SHARE = shared parent instance. null = use connector default.
8364
+ """
8365
+ inheritanceMode: ConnectionInheritanceMode
8366
+
8261
8367
  """The name for the new connection."""
8262
8368
  name: String!
8263
8369
 
@@ -8568,6 +8674,15 @@ input NewFavorite {
8568
8674
  routing: String!
8569
8675
  }
8570
8676
 
8677
+ input NewFieldDocument {
8678
+ code: String!
8679
+ file: Upload
8680
+ name: String!
8681
+ projectId: String!
8682
+ sourceRefId: String
8683
+ sourceType: String
8684
+ }
8685
+
8571
8686
  input NewFont {
8572
8687
  active: Boolean
8573
8688
  files: [Upload!]
@@ -10775,9 +10890,15 @@ type Query {
10775
10890
  buildingInspection(id: String!): BuildingInspection
10776
10891
  buildingInspectionDailyWorklogByProjectIdAndDate(date: String!, projectId: String!): BuildingInspectionDailyWorklog
10777
10892
 
10893
+ """To fetch BuildingInspection Date Summary of Building"""
10894
+ buildingInspectionDateSummaryOfBuilding(buildingId: String!, endDate: String!, startDate: String!): [BuildingInspectionSummary!]
10895
+
10778
10896
  """To fetch a BuildingInspection Summary"""
10779
10897
  buildingInspectionDateSummaryOfLevelAndPeriod(buildingLevelId: String!, endDate: String!, startDate: String!): [BuildingInspectionSummary!]
10780
10898
 
10899
+ """To fetch BuildingInspection Date Summary of Project"""
10900
+ buildingInspectionDateSummaryOfProject(endDate: String!, projectId: String!, startDate: String!): [BuildingInspectionSummary!]
10901
+
10781
10902
  """To fetch multiple BuildingInspections"""
10782
10903
  buildingInspectionHistories(
10783
10904
  """An array of filter conditions to apply to the list query."""
@@ -10796,6 +10917,9 @@ type Query {
10796
10917
  """To fetch a BuildingInspectionHistory"""
10797
10918
  buildingInspectionHistory(id: String!): BuildingInspectionHistory
10798
10919
 
10920
+ """To fetch BuildingInspection Summary of Building"""
10921
+ buildingInspectionSummaryOfBuilding(buildingId: String!): BuildingInspectionSummary
10922
+
10799
10923
  """To fetch a BuildingInspection Summary"""
10800
10924
  buildingInspectionSummaryOfBuildingLevel(buildingLevelId: String!): BuildingInspectionSummary
10801
10925
 
@@ -10817,6 +10941,9 @@ type Query {
10817
10941
  sortings: [Sorting!]
10818
10942
  ): BuildingInspectionList!
10819
10943
 
10944
+ """To fetch BuildingInspections of Building"""
10945
+ buildingInspectionsOfBuilding(params: BuildingInspectionsOfBuilding!): BuildingInspectionList!
10946
+
10820
10947
  """To fetch multiple BuildingInspections"""
10821
10948
  buildingInspectionsOfBuildingLevel(params: BuildingInspectionsOfBuildingLevel!): BuildingInspectionList!
10822
10949
 
@@ -11720,6 +11847,11 @@ type Query {
11720
11847
  """To fetch a EntityMetadata"""
11721
11848
  entityMetadata(name: String!): EntityMetadata!
11722
11849
  envVar(id: String!): EnvVar
11850
+
11851
+ """
11852
+ Resolves a batch of EnvVar keys with ancestor closest-wins inheritance.
11853
+ """
11854
+ envVarResolutions(keys: [String!]!): [EnvVarResolution!]!
11723
11855
  envVars(
11724
11856
  """An array of filter conditions to apply to the list query."""
11725
11857
  filters: [Filter!]
@@ -11770,6 +11902,15 @@ type Query {
11770
11902
  """Fetches the current state of a single connection by its name."""
11771
11903
  fetchConnectionState(name: String!): ConnectionState!
11772
11904
 
11905
+ """단건 문서 상세 조회"""
11906
+ fieldDocument(id: String!): FieldDocument
11907
+
11908
+ """프로젝트별 분류 코드당 문서 수"""
11909
+ fieldDocumentCountsByProject(projectId: String!): [FieldDocumentCodeCount!]!
11910
+
11911
+ """소분류 코드별 문서 목록 조회"""
11912
+ fieldDocumentsByCode(code: String!, projectId: String!): FieldDocumentList!
11913
+
11773
11914
  """To fetch a Font"""
11774
11915
  font(id: String!): Font!
11775
11916