@docupace/ihub-config 1.1.28 → 1.1.29

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.
@@ -63,7 +63,9 @@ type InputField implements IField & IRowElement & IElement {
63
63
  rows: Int
64
64
  maxRows: Int
65
65
  minRows: Int
66
- # End of text area configuration
66
+ # End of text area configuration
67
+ # Masks the entered value and marks it for browser privacy tooling.
68
+ sensitive: Boolean
67
69
  custom: Boolean
68
70
  }
69
71
 
@@ -74,7 +76,7 @@ type CustomValidator implements IRowElement & IElement {
74
76
  custom: Boolean
75
77
  }
76
78
 
77
- union Fields = InputField | PhoneField | DateField | DateRangeField | SelectField | ToggleField | BooleanField | TextElement
79
+ union Fields = InputField | PhoneField | DateField | DateRangeField | SelectField | ToggleField | BooleanField | TextElement | ReferenceTable
78
80
 
79
81
  type ItemValidation {
80
82
  type: String!
@@ -126,6 +128,7 @@ type ReferenceTable implements IField & IRowElement & IElement {
126
128
  readonly: Boolean
127
129
  required: Boolean
128
130
  requiredCondition: String
131
+ skipDirtyCheck: Boolean
129
132
  skipQuery: Boolean
130
133
  visibilityCondition: String
131
134
  dataType: String!
@@ -135,9 +138,16 @@ type ReferenceTable implements IField & IRowElement & IElement {
135
138
  confirmDelete: Boolean
136
139
  maxRows: Int
137
140
  rowMenuItems: [MenuItem!]
141
+ recordCreate: ReferenceTableRecordDialog
142
+ recordUpdate: ReferenceTableRecordDialog
138
143
  custom: Boolean
139
144
  }
140
145
 
146
+ type ReferenceTableRecordDialog {
147
+ label: String
148
+ configPath: String!
149
+ }
150
+
141
151
  type PhoneField implements IField & IRowElement & IElement {
142
152
  cols: Int
143
153
  defaultValue: String
@@ -247,6 +257,8 @@ type ToggleField implements IField & IRowElement & IElement {
247
257
  }
248
258
 
249
259
  type BooleanField implements IField & IRowElement & IElement {
260
+ """Allow the selected Yes or No option to be selected again to restore a null value."""
261
+ clearable: Boolean
250
262
  cols: Int
251
263
  defaultValue: String
252
264
  hidden: Boolean
@@ -47,10 +47,29 @@ type TabbedPage implements Page {
47
47
  breadcrumbs: [Breadcrumb!]
48
48
  }
49
49
 
50
+ """
51
+ The write operation used when applying Core data type attribute security.
52
+ """
53
+ enum DataTypeSecurityMode {
54
+ CREATE
55
+ UPDATE
56
+ }
57
+
50
58
  type DetailsPage implements Page {
51
59
  title: String
52
60
  description: String
53
61
  panel: Panel
62
+ """
63
+ Selects the Core write permission applied when processing this page's panel.
64
+
65
+ This belongs to DetailsPage because CREATE or UPDATE describes how the page uses
66
+ the panel. Panel.dataType remains on Panel because it identifies the panel's record
67
+ type. A panel may be reused by create and update pages with different security modes.
68
+
69
+ CREATE checks insert permission and UPDATE checks update permission. Both modes
70
+ check select permission. When omitted, the application uses UPDATE.
71
+ """
72
+ dataTypeSecurityMode: DataTypeSecurityMode
54
73
  config: JSON
55
74
  breadcrumbs: [Breadcrumb!]
56
75
  }
@@ -261,4 +280,4 @@ type Breadcrumb {
261
280
  non-empty value, the client falls back to the record's `id`.
262
281
  """
263
282
  valuePaths: [String!]
264
- }
283
+ }
@@ -1,6 +1,9 @@
1
1
  interface IPanel {
2
2
  name: String
3
3
  rows: [IPanelRow!]
4
+ """
5
+ Identifies the GraphQL data type used to load Core domain metadata for attribute-security checks.
6
+ """
4
7
  dataType: String
5
8
  }
6
9
 
@@ -17,6 +20,9 @@ type Panel implements IPanel {
17
20
  isGrouped: Boolean
18
21
  name: String
19
22
  rows: [PanelRow!]!
23
+ """
24
+ Identifies the GraphQL data type used to load Core domain metadata for attribute-security checks.
25
+ """
20
26
  dataType: String
21
27
  }
22
28
 
@@ -1,5 +1,8 @@
1
1
 
2
2
  interface ITable {
3
+ """
4
+ Identifies the GraphQL data type used to load Core domain metadata for attribute-security checks.
5
+ """
3
6
  dataType: String
4
7
  selection: TableSelection
5
8
  disableColumnSorting: Boolean
@@ -63,7 +63,9 @@ type InputField implements IField & IRowElement & IElement {
63
63
  rows: Int
64
64
  maxRows: Int
65
65
  minRows: Int
66
- # End of text area configuration
66
+ # End of text area configuration
67
+ # Masks the entered value and marks it for browser privacy tooling.
68
+ sensitive: Boolean
67
69
  custom: Boolean
68
70
  }
69
71
 
@@ -74,7 +76,7 @@ type CustomValidator implements IRowElement & IElement {
74
76
  custom: Boolean
75
77
  }
76
78
 
77
- union Fields = InputField | PhoneField | DateField | DateRangeField | SelectField | ToggleField | BooleanField | TextElement
79
+ union Fields = InputField | PhoneField | DateField | DateRangeField | SelectField | ToggleField | BooleanField | TextElement | ReferenceTable
78
80
 
79
81
  type ItemValidation {
80
82
  type: String!
@@ -126,6 +128,7 @@ type ReferenceTable implements IField & IRowElement & IElement {
126
128
  readonly: Boolean
127
129
  required: Boolean
128
130
  requiredCondition: String
131
+ skipDirtyCheck: Boolean
129
132
  skipQuery: Boolean
130
133
  visibilityCondition: String
131
134
  dataType: String!
@@ -135,9 +138,16 @@ type ReferenceTable implements IField & IRowElement & IElement {
135
138
  confirmDelete: Boolean
136
139
  maxRows: Int
137
140
  rowMenuItems: [MenuItem!]
141
+ recordCreate: ReferenceTableRecordDialog
142
+ recordUpdate: ReferenceTableRecordDialog
138
143
  custom: Boolean
139
144
  }
140
145
 
146
+ type ReferenceTableRecordDialog {
147
+ label: String
148
+ configPath: String!
149
+ }
150
+
141
151
  type PhoneField implements IField & IRowElement & IElement {
142
152
  cols: Int
143
153
  defaultValue: String
@@ -247,6 +257,8 @@ type ToggleField implements IField & IRowElement & IElement {
247
257
  }
248
258
 
249
259
  type BooleanField implements IField & IRowElement & IElement {
260
+ """Allow the selected Yes or No option to be selected again to restore a null value."""
261
+ clearable: Boolean
250
262
  cols: Int
251
263
  defaultValue: String
252
264
  hidden: Boolean
@@ -47,10 +47,29 @@ type TabbedPage implements Page {
47
47
  breadcrumbs: [Breadcrumb!]
48
48
  }
49
49
 
50
+ """
51
+ The write operation used when applying Core data type attribute security.
52
+ """
53
+ enum DataTypeSecurityMode {
54
+ CREATE
55
+ UPDATE
56
+ }
57
+
50
58
  type DetailsPage implements Page {
51
59
  title: String
52
60
  description: String
53
61
  panel: Panel
62
+ """
63
+ Selects the Core write permission applied when processing this page's panel.
64
+
65
+ This belongs to DetailsPage because CREATE or UPDATE describes how the page uses
66
+ the panel. Panel.dataType remains on Panel because it identifies the panel's record
67
+ type. A panel may be reused by create and update pages with different security modes.
68
+
69
+ CREATE checks insert permission and UPDATE checks update permission. Both modes
70
+ check select permission. When omitted, the application uses UPDATE.
71
+ """
72
+ dataTypeSecurityMode: DataTypeSecurityMode
54
73
  config: JSON
55
74
  breadcrumbs: [Breadcrumb!]
56
75
  }
@@ -261,4 +280,4 @@ type Breadcrumb {
261
280
  non-empty value, the client falls back to the record's `id`.
262
281
  """
263
282
  valuePaths: [String!]
264
- }
283
+ }
@@ -1,6 +1,9 @@
1
1
  interface IPanel {
2
2
  name: String
3
3
  rows: [IPanelRow!]
4
+ """
5
+ Identifies the GraphQL data type used to load Core domain metadata for attribute-security checks.
6
+ """
4
7
  dataType: String
5
8
  }
6
9
 
@@ -17,6 +20,9 @@ type Panel implements IPanel {
17
20
  isGrouped: Boolean
18
21
  name: String
19
22
  rows: [PanelRow!]!
23
+ """
24
+ Identifies the GraphQL data type used to load Core domain metadata for attribute-security checks.
25
+ """
20
26
  dataType: String
21
27
  }
22
28
 
@@ -1,5 +1,8 @@
1
1
 
2
2
  interface ITable {
3
+ """
4
+ Identifies the GraphQL data type used to load Core domain metadata for attribute-security checks.
5
+ """
3
6
  dataType: String
4
7
  selection: TableSelection
5
8
  disableColumnSorting: Boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/ihub-config",
3
- "version": "1.1.28",
3
+ "version": "1.1.29",
4
4
  "description": "Reusable config GraphQL extension and standalone server",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",