@things-factory/operato-board 7.0.31 → 7.0.34

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": "@things-factory/operato-board",
3
- "version": "7.0.31",
3
+ "version": "7.0.34",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -91,45 +91,45 @@
91
91
  "@operato/shell": "^7.0.0",
92
92
  "@operato/styles": "^7.0.0",
93
93
  "@operato/utils": "^7.0.0",
94
- "@things-factory/apptool-ui": "^7.0.28",
95
- "@things-factory/auth-azure-ad": "^7.0.28",
96
- "@things-factory/auth-google": "^7.0.28",
97
- "@things-factory/auth-ui": "^7.0.28",
98
- "@things-factory/board-service": "^7.0.28",
99
- "@things-factory/board-ui": "^7.0.30",
100
- "@things-factory/context-ui": "^7.0.28",
101
- "@things-factory/export-ui": "^7.0.28",
102
- "@things-factory/fav-base": "^7.0.28",
103
- "@things-factory/font-base": "^7.0.28",
104
- "@things-factory/form-ui": "^7.0.28",
105
- "@things-factory/help": "^7.0.28",
106
- "@things-factory/i18n-base": "^7.0.28",
107
- "@things-factory/import-ui": "^7.0.28",
108
- "@things-factory/integration-base": "^7.0.28",
109
- "@things-factory/integration-email": "^7.0.28",
110
- "@things-factory/integration-influxdb": "^7.0.28",
111
- "@things-factory/integration-msgraph": "^7.0.28",
112
- "@things-factory/integration-notification": "^7.0.28",
113
- "@things-factory/integration-openai": "^7.0.28",
114
- "@things-factory/integration-ui": "^7.0.31",
115
- "@things-factory/more-ui": "^7.0.28",
116
- "@things-factory/notification": "^7.0.28",
117
- "@things-factory/oauth2-client": "^7.0.28",
118
- "@things-factory/offline-ui": "^7.0.28",
119
- "@things-factory/pdf": "^7.0.28",
120
- "@things-factory/print-service": "^7.0.28",
121
- "@things-factory/print-ui": "^7.0.28",
122
- "@things-factory/resource-ui": "^7.0.28",
123
- "@things-factory/setting-ui": "^7.0.28",
124
- "@things-factory/shell": "^7.0.28",
125
- "@things-factory/system": "^7.0.28"
94
+ "@things-factory/apptool-ui": "^7.0.33",
95
+ "@things-factory/auth-azure-ad": "^7.0.33",
96
+ "@things-factory/auth-google": "^7.0.33",
97
+ "@things-factory/auth-ui": "^7.0.33",
98
+ "@things-factory/board-service": "^7.0.33",
99
+ "@things-factory/board-ui": "^7.0.33",
100
+ "@things-factory/context-ui": "^7.0.33",
101
+ "@things-factory/export-ui": "^7.0.33",
102
+ "@things-factory/fav-base": "^7.0.33",
103
+ "@things-factory/font-base": "^7.0.33",
104
+ "@things-factory/form-ui": "^7.0.33",
105
+ "@things-factory/help": "^7.0.33",
106
+ "@things-factory/i18n-base": "^7.0.33",
107
+ "@things-factory/import-ui": "^7.0.33",
108
+ "@things-factory/integration-base": "^7.0.33",
109
+ "@things-factory/integration-email": "^7.0.33",
110
+ "@things-factory/integration-influxdb": "^7.0.33",
111
+ "@things-factory/integration-msgraph": "^7.0.33",
112
+ "@things-factory/integration-notification": "^7.0.33",
113
+ "@things-factory/integration-openai": "^7.0.33",
114
+ "@things-factory/integration-ui": "^7.0.33",
115
+ "@things-factory/more-ui": "^7.0.33",
116
+ "@things-factory/notification": "^7.0.33",
117
+ "@things-factory/oauth2-client": "^7.0.33",
118
+ "@things-factory/offline-ui": "^7.0.33",
119
+ "@things-factory/pdf": "^7.0.33",
120
+ "@things-factory/print-service": "^7.0.33",
121
+ "@things-factory/print-ui": "^7.0.33",
122
+ "@things-factory/resource-ui": "^7.0.33",
123
+ "@things-factory/setting-ui": "^7.0.33",
124
+ "@things-factory/shell": "^7.0.33",
125
+ "@things-factory/system": "^7.0.33"
126
126
  },
127
127
  "devDependencies": {
128
- "@things-factory/board-test": "^7.0.28",
129
- "@things-factory/builder": "^7.0.29"
128
+ "@things-factory/board-test": "^7.0.33",
129
+ "@things-factory/builder": "^7.0.33"
130
130
  },
131
131
  "resolutions": {
132
132
  "passport": "^0.7.0"
133
133
  },
134
- "gitHead": "92f7ff0eb8c622abca54b37c33438e06e3472634"
134
+ "gitHead": "1beaeb402c00631506723069ac0c064b0b485e44"
135
135
  }
package/schema.graphql CHANGED
@@ -1598,6 +1598,9 @@ type Mutation {
1598
1598
  """To create new ApprovalLine for current user"""
1599
1599
  createMyApprovalLine(approvalLine: NewApprovalLine!): ApprovalLine!
1600
1600
 
1601
+ """To create my new PagePreference"""
1602
+ createMyPagePreference(pagePreference: NewPagePreference!): PagePreference!
1603
+
1601
1604
  """To create new Notification"""
1602
1605
  createNotification(notification: NewNotification!): Notification!
1603
1606
 
@@ -1639,6 +1642,9 @@ type Mutation {
1639
1642
 
1640
1643
  """To create new user"""
1641
1644
  createUser(user: NewUser!): User!
1645
+
1646
+ """To create new UserPreference"""
1647
+ createUserPreference(preference: NewUserPreference!): UserPreference!
1642
1648
  deleteAppBinding(id: String!): Boolean!
1643
1649
 
1644
1650
  """To delete appliance"""
@@ -1779,6 +1785,12 @@ type Mutation {
1779
1785
  """To delete multiple ApprovalLines for current user"""
1780
1786
  deleteMyApprovalLines(ids: [String!]!): Boolean!
1781
1787
 
1788
+ """To delete my PagePreference"""
1789
+ deleteMyPagePreference(element: String!, page: String!): Boolean!
1790
+
1791
+ """To delete my preference"""
1792
+ deleteMyUserPreference(element: String!, key: String!): Boolean!
1793
+
1782
1794
  """To delete Notification"""
1783
1795
  deleteNotification(id: String!): Boolean!
1784
1796
 
@@ -1797,6 +1809,12 @@ type Mutation {
1797
1809
  """To delete multiple Oauth2Clients"""
1798
1810
  deleteOauth2Clients(ids: [String!]!): Boolean!
1799
1811
 
1812
+ """To delete PagePreference"""
1813
+ deletePagePreference(id: String!): Boolean!
1814
+
1815
+ """To delete multiple PagePreferences"""
1816
+ deletePagePreferences(ids: [String!]!): Boolean!
1817
+
1800
1818
  """To delete multiple partnerSettings"""
1801
1819
  deletePartnerSettings(ids: [String!]!): Boolean!
1802
1820
 
@@ -1860,6 +1878,12 @@ type Mutation {
1860
1878
  """To delete a user"""
1861
1879
  deleteUser(email: EmailAddress!): Boolean!
1862
1880
 
1881
+ """To delete UserPreference"""
1882
+ deleteUserPreference(id: String!): Boolean!
1883
+
1884
+ """To delete multiple UserPreferences"""
1885
+ deleteUserPreferences(ids: [String!]!): Boolean!
1886
+
1863
1887
  """To delete some users"""
1864
1888
  deleteUsers(emails: [String!]!): Boolean!
1865
1889
 
@@ -2177,6 +2201,12 @@ type Mutation {
2177
2201
  """To modify ApprovalLine information for current user"""
2178
2202
  updateMyApprovalLine(id: String!, patch: ApprovalLinePatch!): ApprovalLine!
2179
2203
 
2204
+ """To create or update my PagePreference"""
2205
+ updateMyPagePreference(element: String!, page: String!, preference: Object!): PagePreference!
2206
+
2207
+ """To create or update my preference"""
2208
+ updateMyUserPreference(key: String!, preference: Object!): UserPreference!
2209
+
2180
2210
  """To modify Notification information"""
2181
2211
  updateNotification(id: String!, patch: NotificationPatch!): Notification!
2182
2212
 
@@ -2231,6 +2261,9 @@ type Mutation {
2231
2261
  """To modify user information"""
2232
2262
  updateUser(email: EmailAddress!, patch: UserPatch!): User!
2233
2263
 
2264
+ """To modify UserPreference information"""
2265
+ updateUserPreference(id: String!, patch: UserPreferencePatch!): UserPreference!
2266
+
2234
2267
  """To update roles for a user"""
2235
2268
  updateUserRoles(availableRoles: [ObjectRef!]!, selectedRoles: [ObjectRef!]!, userId: String!): User!
2236
2269
  }
@@ -2630,6 +2663,13 @@ input NewOauth2Client {
2630
2663
  webhook: String
2631
2664
  }
2632
2665
 
2666
+ input NewPagePreference {
2667
+ element: String
2668
+ page: String
2669
+ preference: Object!
2670
+ user: ObjectRef!
2671
+ }
2672
+
2633
2673
  input NewPayloadLog {
2634
2674
  description: String
2635
2675
  name: String!
@@ -2691,16 +2731,33 @@ input NewSetting {
2691
2731
  }
2692
2732
 
2693
2733
  input NewStateRegister {
2734
+ """Description of the state register"""
2694
2735
  description: String
2736
+
2737
+ """Group name for the state register"""
2695
2738
  group: String
2739
+
2740
+ """Name of the state register"""
2696
2741
  name: String!
2697
2742
 
2698
- """스테이트가 숫자형인 경우 자릿수 정보"""
2743
+ """Number of decimal places if the state is a number type"""
2699
2744
  place: String
2745
+
2746
+ """
2747
+ Reference to an external entity or data, used as a flexible foreign key
2748
+ """
2700
2749
  refBy: String
2750
+
2751
+ """Current state value"""
2701
2752
  state: Object
2753
+
2754
+ """Time to live for the state value in seconds"""
2702
2755
  ttl: Int
2756
+
2757
+ """Type of the state"""
2703
2758
  type: String
2759
+
2760
+ """Unit of the state value"""
2704
2761
  unit: String
2705
2762
  }
2706
2763
 
@@ -2738,6 +2795,12 @@ input NewUserByDomainWizardInput {
2738
2795
  roles: [NewRole!]!
2739
2796
  }
2740
2797
 
2798
+ input NewUserPreference {
2799
+ key: String!
2800
+ preference: Object!
2801
+ user: ObjectRef!
2802
+ }
2803
+
2741
2804
  """Entity for Notification"""
2742
2805
  type Notification {
2743
2806
  body: String
@@ -2961,6 +3024,25 @@ enum OrgMemberTargetType {
2961
3024
  Role
2962
3025
  }
2963
3026
 
3027
+ """Entity for PagePreference"""
3028
+ type PagePreference {
3029
+ createdAt: DateTimeISO
3030
+ creator: User
3031
+ domain: Domain!
3032
+ element: String
3033
+ id: ID!
3034
+ page: String
3035
+ preference: Object
3036
+ updatedAt: DateTimeISO
3037
+ updater: User
3038
+ user: User!
3039
+ }
3040
+
3041
+ type PagePreferenceList {
3042
+ items: [PagePreference!]!
3043
+ total: Int!
3044
+ }
3045
+
2964
3046
  input Pagination {
2965
3047
  limit: Int
2966
3048
  page: Int
@@ -3444,9 +3526,24 @@ type Query {
3444
3526
  """To fetch my notifications"""
3445
3527
  myNotifications(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): NotificationList!
3446
3528
 
3529
+ """To fetch a User's own PagePreference"""
3530
+ myPageAllPreferences(page: String!): [PagePreference!]
3531
+
3532
+ """To fetch a User's own PagePreference"""
3533
+ myPagePreference(element: String!, page: String!): PagePreference
3534
+
3535
+ """To fetch multiple PagePreferences"""
3536
+ myPagePreferences(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PagePreferenceList!
3537
+
3447
3538
  """To fetch roles of current user"""
3448
3539
  myRoles: [Role!]!
3449
3540
 
3541
+ """To fetch a User's own UserPreference"""
3542
+ myUserPreference(element: String!, key: String!): UserPreference
3543
+
3544
+ """To fetch multiple UserPreferences"""
3545
+ myUserPreferences(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): UserPreferenceList!
3546
+
3450
3547
  """To fetch a Notification"""
3451
3548
  notification(id: String!): Notification
3452
3549
 
@@ -3465,6 +3562,9 @@ type Query {
3465
3562
  """To fetch multiple Oauth2Clients"""
3466
3563
  oauth2Clients(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): Oauth2ClientList!
3467
3564
 
3565
+ """To fetch a PagePreference"""
3566
+ pagePreference(id: String!): PagePreference
3567
+
3468
3568
  """To fetch specific domain's CommonCodes by given name"""
3469
3569
  partnerCommonCode(name: String!, partnerDomainId: String!): CommonCode!
3470
3570
 
@@ -3490,6 +3590,9 @@ type Query {
3490
3590
  """To fetch multiple PlayGroups"""
3491
3591
  playGroups(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PlayGroupList!
3492
3592
 
3593
+ """To fetch a UserPreference"""
3594
+ preference(id: String!): UserPreference
3595
+
3493
3596
  """To fetch a PrinterDevice"""
3494
3597
  printerDevice(id: String!): PrinterDevice!
3495
3598
 
@@ -3774,49 +3877,112 @@ input Sorting {
3774
3877
 
3775
3878
  """Entity for StateRegister"""
3776
3879
  type StateRegister {
3880
+ """Creation time of the state register"""
3777
3881
  createdAt: DateTimeISO
3882
+
3883
+ """User who created the state register"""
3778
3884
  creator: User
3885
+
3886
+ """ID of the user who created the state register"""
3887
+ creatorId: String
3888
+
3889
+ """Description of the state register"""
3779
3890
  description: String
3891
+
3892
+ """Associated domain for the state register"""
3780
3893
  domain: Domain!
3894
+
3895
+ """ID of the associated domain"""
3896
+ domainId: String!
3897
+
3898
+ """Group name for the state register"""
3781
3899
  group: String
3782
3900
  id: ID!
3901
+
3902
+ """Name of the state register"""
3783
3903
  name: String
3784
3904
 
3785
- """스테이트가 숫자형인 경우 자릿수 정보"""
3905
+ """Number of decimal places if the state is a number type"""
3786
3906
  place: String
3907
+
3908
+ """
3909
+ Reference to an external entity or data, used as a flexible foreign key
3910
+ """
3787
3911
  refBy: String
3788
3912
 
3789
- """현재 상태값"""
3913
+ """Current state value"""
3790
3914
  state: Object
3915
+
3916
+ """Time to live for the state value in seconds"""
3791
3917
  ttl: Int
3918
+
3919
+ """Type of the state"""
3792
3920
  type: String
3921
+
3922
+ """Unit of the state value"""
3793
3923
  unit: String
3924
+
3925
+ """Last update time of the state register"""
3794
3926
  updatedAt: DateTimeISO
3927
+
3928
+ """User who last updated the state register"""
3795
3929
  updater: User
3930
+
3931
+ """ID of the user who last updated the state register"""
3932
+ updaterId: String
3933
+
3934
+ """User who wrote the state"""
3796
3935
  writer: User
3797
3936
 
3798
- """스테이트가 기록된 시간"""
3937
+ """ID of the user who wrote the state"""
3938
+ writerId: String
3939
+
3940
+ """Time when the state was recorded"""
3799
3941
  wroteAt: DateTimeISO
3800
3942
  }
3801
3943
 
3802
3944
  type StateRegisterList {
3945
+ """List of state registers"""
3803
3946
  items: [StateRegister!]!
3947
+
3948
+ """Total number of state registers"""
3804
3949
  total: Int!
3805
3950
  }
3806
3951
 
3807
3952
  input StateRegisterPatch {
3953
+ """Flag indicating create/update operations"""
3808
3954
  cuFlag: String
3955
+
3956
+ """Description of the state register"""
3809
3957
  description: String
3958
+
3959
+ """Group name for the state register"""
3810
3960
  group: String
3961
+
3962
+ """ID of the state register"""
3811
3963
  id: ID
3964
+
3965
+ """Name of the state register"""
3812
3966
  name: String
3813
3967
 
3814
- """스테이트가 숫자형인 경우 자릿수 정보"""
3968
+ """Number of decimal places if the state is a number type"""
3815
3969
  place: String
3970
+
3971
+ """
3972
+ Reference to an external entity or data, used as a flexible foreign key
3973
+ """
3816
3974
  refBy: String
3975
+
3976
+ """Current state value"""
3817
3977
  state: Object
3978
+
3979
+ """Time to live for the state value in seconds"""
3818
3980
  ttl: Int
3981
+
3982
+ """Type of the state"""
3819
3983
  type: String
3984
+
3985
+ """Unit of the state value"""
3820
3986
  unit: String
3821
3987
  }
3822
3988
 
@@ -3994,6 +4160,32 @@ input UserPatch {
3994
4160
  userType: String
3995
4161
  }
3996
4162
 
4163
+ """Entity for UserPreference"""
4164
+ type UserPreference {
4165
+ createdAt: DateTimeISO
4166
+ creator: User
4167
+ domain: Domain
4168
+ id: ID!
4169
+ key: String
4170
+ preference: Object
4171
+ updatedAt: DateTimeISO
4172
+ updater: User
4173
+ user: User!
4174
+ }
4175
+
4176
+ type UserPreferenceList {
4177
+ items: [UserPreference!]!
4178
+ total: Int!
4179
+ }
4180
+
4181
+ input UserPreferencePatch {
4182
+ cuFlag: String
4183
+ id: ID
4184
+ key: String!
4185
+ preference: Object!
4186
+ user: ObjectRef!
4187
+ }
4188
+
3997
4189
  type UserRole {
3998
4190
  assigned: Boolean
3999
4191
  description: String