@docupace/ihub-config 1.1.13 → 1.1.15

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.
Files changed (32) hide show
  1. package/README.md +182 -182
  2. package/dist/model/graphs/config/common.graphql +7 -7
  3. package/dist/model/graphs/config/fields.graphql +367 -367
  4. package/dist/model/graphs/config/menu.graphql +49 -49
  5. package/dist/model/graphs/config/mutation.graphql +30 -30
  6. package/dist/model/graphs/config/page.graphql +242 -241
  7. package/dist/model/graphs/config/panel.graphql +30 -30
  8. package/dist/model/graphs/config/query.graphql +55 -55
  9. package/dist/model/graphs/config/selectOptions.graphql +47 -47
  10. package/dist/model/graphs/config/table.graphql +182 -180
  11. package/dist/model/graphs/config/tests.graphql +16 -16
  12. package/dist/model/graphs/config/theme.graphql +41 -41
  13. package/dist/model/graphs/config/ui-components.graphql +10 -10
  14. package/dist/model/graphs/domains/scalars.graphql +3 -3
  15. package/dist/model/graphs/filter.graphql +5 -5
  16. package/dist/model/graphs/schema.graphql +7 -7
  17. package/model/graphs/config/common.graphql +7 -7
  18. package/model/graphs/config/fields.graphql +367 -367
  19. package/model/graphs/config/menu.graphql +49 -49
  20. package/model/graphs/config/mutation.graphql +30 -30
  21. package/model/graphs/config/page.graphql +242 -241
  22. package/model/graphs/config/panel.graphql +30 -30
  23. package/model/graphs/config/query.graphql +55 -55
  24. package/model/graphs/config/selectOptions.graphql +47 -47
  25. package/model/graphs/config/table.graphql +182 -180
  26. package/model/graphs/config/tests.graphql +16 -16
  27. package/model/graphs/config/theme.graphql +41 -41
  28. package/model/graphs/config/ui-components.graphql +10 -10
  29. package/model/graphs/domains/scalars.graphql +3 -3
  30. package/model/graphs/filter.graphql +5 -5
  31. package/model/graphs/schema.graphql +7 -7
  32. package/package.json +80 -78
@@ -1,30 +1,30 @@
1
- interface IPanel {
2
- name: String
3
- rows: [IPanelRow!]
4
- dataType: String
5
- }
6
-
7
- interface IPanelRow {
8
- elements: [IRowElement!]
9
- name: String
10
- title: String
11
- titleVariant: String
12
- visibilityCondition: String
13
- }
14
-
15
- type Panel implements IPanel {
16
- columns: Int
17
- isGrouped: Boolean
18
- name: String
19
- rows: [PanelRow!]!
20
- dataType: String
21
- }
22
-
23
- type PanelRow implements IPanelRow {
24
- elements: [IRowElement!]
25
- hasDivider: Boolean
26
- name: String
27
- title: String
28
- titleVariant: String
29
- visibilityCondition: String
30
- }
1
+ interface IPanel {
2
+ name: String
3
+ rows: [IPanelRow!]
4
+ dataType: String
5
+ }
6
+
7
+ interface IPanelRow {
8
+ elements: [IRowElement!]
9
+ name: String
10
+ title: String
11
+ titleVariant: String
12
+ visibilityCondition: String
13
+ }
14
+
15
+ type Panel implements IPanel {
16
+ columns: Int
17
+ isGrouped: Boolean
18
+ name: String
19
+ rows: [PanelRow!]!
20
+ dataType: String
21
+ }
22
+
23
+ type PanelRow implements IPanelRow {
24
+ elements: [IRowElement!]
25
+ hasDivider: Boolean
26
+ name: String
27
+ title: String
28
+ titleVariant: String
29
+ visibilityCondition: String
30
+ }
@@ -1,55 +1,55 @@
1
-
2
- type PageQuery {
3
- getPageConfig(path : String) : Page
4
- }
5
-
6
- type WidgetQuery {
7
- list(search: String) : [Widget!]
8
- get(path : String) : Widget
9
- }
10
-
11
- type ThemeQuery {
12
- get(path: String): Theme
13
- }
14
-
15
- type ConfigQuery {
16
- pages : PageQuery
17
- widgets : WidgetQuery
18
- tests: TestQuery
19
- themes: ThemeQuery
20
- data : DataQuery
21
- }
22
-
23
- type DataQuery {
24
- get(path : String) : [DataResult!]
25
- list(path : String) : [String]
26
- getSeedConfig(path: String): SeedConfigResult
27
- }
28
-
29
- type DataResult {
30
- config: DataConfig
31
- data: JSON!
32
- }
33
-
34
- type DataConfig {
35
- severity: String
36
- }
37
-
38
- type SeedConfigResult {
39
- typeName: String!
40
- updateMethod: String
41
- updateInputType: String
42
- createMethod: String
43
- createInputType: String
44
- referenceByIdPaths: [String]
45
- referencePaths: [String]
46
- doNotUpdate: Boolean
47
- doNotDelete: Boolean
48
- uniqueColumns: [String]
49
- }
50
-
51
- type GQLQuery {
52
- queryName: String
53
- operationName: String
54
- variableDefinitions: JSON
55
- }
1
+
2
+ type PageQuery {
3
+ getPageConfig(path : String) : Page
4
+ }
5
+
6
+ type WidgetQuery {
7
+ list(search: String) : [Widget!]
8
+ get(path : String) : Widget
9
+ }
10
+
11
+ type ThemeQuery {
12
+ get(path: String): Theme
13
+ }
14
+
15
+ type ConfigQuery {
16
+ pages : PageQuery
17
+ widgets : WidgetQuery
18
+ tests: TestQuery
19
+ themes: ThemeQuery
20
+ data : DataQuery
21
+ }
22
+
23
+ type DataQuery {
24
+ get(path : String) : [DataResult!]
25
+ list(path : String) : [String]
26
+ getSeedConfig(path: String): SeedConfigResult
27
+ }
28
+
29
+ type DataResult {
30
+ config: DataConfig
31
+ data: JSON!
32
+ }
33
+
34
+ type DataConfig {
35
+ severity: String
36
+ }
37
+
38
+ type SeedConfigResult {
39
+ typeName: String!
40
+ updateMethod: String
41
+ updateInputType: String
42
+ createMethod: String
43
+ createInputType: String
44
+ referenceByIdPaths: [String]
45
+ referencePaths: [String]
46
+ doNotUpdate: Boolean
47
+ doNotDelete: Boolean
48
+ uniqueColumns: [String]
49
+ }
50
+
51
+ type GQLQuery {
52
+ queryName: String
53
+ operationName: String
54
+ variableDefinitions: JSON
55
+ }
@@ -1,47 +1,47 @@
1
- interface ISelectOptions {
2
- type: String
3
- }
4
-
5
- type SelectOptionsFilter {
6
- path: String
7
- }
8
-
9
- type QuerySelectOptions implements ISelectOptions {
10
- type: String
11
- labelProp: String # defaults to "name" in ui
12
- valueProp: String # defaults to "id" in ui
13
- queryName: String!
14
- variableDefinitions: JSON
15
- variables: JSON
16
- paths: [String!]!
17
- operationName: String
18
- expression: String
19
- maxRows: Int
20
- variablesExpressions: JSON
21
- responsePathPrefix: String
22
- where: WhereFilterConfig
23
- filter: SelectOptionsFilter
24
- excludeId: Boolean
25
- queryOnTyping: Boolean # if true, query will be triggered on typing
26
- minLength: Int # minimum length of input to trigger query
27
- }
28
-
29
- type ValueSelectOptions implements ISelectOptions {
30
- type: String
31
- values: [SelectValue!]!
32
- }
33
-
34
- type SelectValue {
35
- label: String!
36
- value: JSON!
37
- }
38
-
39
- type DropdownSelectOptions implements ISelectOptions {
40
- type: String
41
- dropdownName: String!
42
- }
43
-
44
- type WhereFilterConfig {
45
- type: String!
46
- value: JSON
47
- }
1
+ interface ISelectOptions {
2
+ type: String
3
+ }
4
+
5
+ type SelectOptionsFilter {
6
+ path: String
7
+ }
8
+
9
+ type QuerySelectOptions implements ISelectOptions {
10
+ type: String
11
+ labelProp: String # defaults to "name" in ui
12
+ valueProp: String # defaults to "id" in ui
13
+ queryName: String!
14
+ variableDefinitions: JSON
15
+ variables: JSON
16
+ paths: [String!]!
17
+ operationName: String
18
+ expression: String
19
+ maxRows: Int
20
+ variablesExpressions: JSON
21
+ responsePathPrefix: String
22
+ where: WhereFilterConfig
23
+ filter: SelectOptionsFilter
24
+ excludeId: Boolean
25
+ queryOnTyping: Boolean # if true, query will be triggered on typing
26
+ minLength: Int # minimum length of input to trigger query
27
+ }
28
+
29
+ type ValueSelectOptions implements ISelectOptions {
30
+ type: String
31
+ values: [SelectValue!]!
32
+ }
33
+
34
+ type SelectValue {
35
+ label: String!
36
+ value: JSON!
37
+ }
38
+
39
+ type DropdownSelectOptions implements ISelectOptions {
40
+ type: String
41
+ dropdownName: String!
42
+ }
43
+
44
+ type WhereFilterConfig {
45
+ type: String!
46
+ value: JSON
47
+ }
@@ -1,180 +1,182 @@
1
-
2
- interface ITable {
3
- dataType: String
4
- selection: TableSelection
5
- disableColumnSorting: Boolean
6
- disableRowClick: Boolean
7
- queryName: String!
8
- operationName: String
9
- variableDefinitions: JSON
10
- variablesExpressions: JSON
11
- filter: TableFilter
12
- search: SimpleSearch
13
- menuItems: [MenuItem!]
14
- columns: [Column!]!
15
- rowMenuItems: [MenuItem!]
16
- preview: Preview
17
- cardView: CardView
18
- groupBy: GroupBy
19
- orderBy: [OrderBy!]
20
- flattenDataKey: String
21
- actionButton: ActionButton
22
- pagingMode: String
23
- maxRows: Int
24
- pageSizeOptions: [Int!]
25
- defaultPageSize: Int
26
- deferredLoad: Boolean
27
- useCardView: Boolean
28
- whereFilter: WhereFilter
29
- whereFilterName: String
30
- emptyStateMessage: String
31
- unstructuredData: Boolean
32
- toolbar: Toolbar
33
- pagination: TablePagination
34
- expandable: Expandable
35
- totals: [TotalsItem!]
36
- config: JSON
37
- }
38
-
39
- type TotalsItem {
40
- path: String!
41
- label: String!
42
- component: String
43
- }
44
-
45
- type GroupBy {
46
- path: String
47
- pathExpression: String
48
- orderType: OrderType!
49
- component: String
50
- }
51
-
52
-
53
- type OrderBy {
54
- path: String!
55
- orderType: OrderType!
56
- }
57
-
58
- type TableSelection {
59
- enabled: Boolean
60
- label: String
61
- action: String
62
- disabledCondition: String
63
- visibilityCondition: String
64
- position: TablePinnedPosition
65
- }
66
-
67
- enum TablePinnedPosition {
68
- RIGHT
69
- LEFT
70
- }
71
-
72
- type Toolbar {
73
- columns: ToolbarColumns
74
- }
75
-
76
- type ToolbarColumns {
77
- enabled: Boolean
78
- }
79
-
80
- type TablePagination {
81
- totalCount: TablePaginationTotalCount
82
- }
83
-
84
- type TablePaginationTotalCount {
85
- enabled: Boolean
86
- }
87
-
88
- type Table implements ITable
89
-
90
- type NamedTable implements ITable {
91
- name: String
92
- }
93
-
94
- type TabbedTable {
95
- tabs: [TableTab!]!
96
- }
97
-
98
- union AnyTable = Table | TabbedTable
99
-
100
- type TableTab {
101
- name : String!
102
- label: String!
103
- table: Table!
104
- visibilityCondition: String
105
- }
106
-
107
- type TableFilter {
108
- criteria: [TableCriteria!]!
109
- variant: TableFilterVariant
110
- }
111
-
112
- type DateShortcuts {
113
- enabled: Boolean
114
- days: [Int!]
115
- }
116
-
117
- type TableCriteriaDate {
118
- calendars: Int
119
- disableFuture: Boolean
120
- format: String
121
- shortcuts: DateShortcuts
122
- }
123
-
124
- type TableCriteria {
125
- name: String!
126
- label: String!
127
- labelProp: String
128
- path: String!
129
- component: String
130
- config: JSON
131
- dataType: String
132
- date: TableCriteriaDate
133
- defaultValue: String
134
- multiple: Boolean
135
- exactMatchEnabled: Boolean
136
- operator: String
137
- selectOptions: ISelectOptions
138
- }
139
-
140
- enum TableFilterVariant {
141
- SIDEBAR
142
- MODAL
143
- }
144
-
145
- type Column {
146
- name: String!
147
- label: String!
148
- visible: Boolean
149
- paths: [String!]
150
- expression: String
151
- component: String
152
- sortable: Boolean
153
- flex: Float
154
- pinned: TablePinnedPosition
155
- config: JSON
156
- filter: ColumnFilter
157
- }
158
-
159
- type ColumnFilter {
160
- operators: [String]
161
- path: String
162
- dataType: String
163
- selectOptions: ISelectOptions
164
- }
165
-
166
- type SimpleSearch {
167
- filterType: String
168
- searchBy: String
169
- placeholder: String
170
- selectOptions: QuerySelectOptions!
171
- }
172
-
173
- type WhereFilter {
174
- type: String!
175
- value: JSON!
176
- }
177
-
178
- type Expandable {
179
- component: String
180
- }
1
+
2
+ interface ITable {
3
+ dataType: String
4
+ selection: TableSelection
5
+ disableColumnSorting: Boolean
6
+ disableRowClick: Boolean
7
+ queryName: String!
8
+ operationName: String
9
+ variableDefinitions: JSON
10
+ variablesExpressions: JSON
11
+ filter: TableFilter
12
+ search: SimpleSearch
13
+ menuItems: [MenuItem!]
14
+ columns: [Column!]!
15
+ rowMenuItems: [MenuItem!]
16
+ preview: Preview
17
+ cardView: CardView
18
+ groupBy: GroupBy
19
+ orderBy: [OrderBy!]
20
+ flattenDataKey: String
21
+ actionButton: ActionButton
22
+ pagingMode: String
23
+ maxRows: Int
24
+ pageSizeOptions: [Int!]
25
+ defaultPageSize: Int
26
+ deferredLoad: Boolean
27
+ useCardView: Boolean
28
+ whereFilter: WhereFilter
29
+ whereFilterName: String
30
+ emptyStateMessage: String
31
+ unstructuredData: Boolean
32
+ toolbar: Toolbar
33
+ pagination: TablePagination
34
+ expandable: Expandable
35
+ totals: [TotalsItem!]
36
+ config: JSON
37
+ }
38
+
39
+ type TotalsItem {
40
+ path: String!
41
+ label: String!
42
+ component: String
43
+ }
44
+
45
+ type GroupBy {
46
+ path: String
47
+ pathExpression: String
48
+ orderType: OrderType!
49
+ component: String
50
+ }
51
+
52
+
53
+ type OrderBy {
54
+ path: String!
55
+ orderType: OrderType!
56
+ }
57
+
58
+ type TableSelection {
59
+ enabled: Boolean
60
+ label: String
61
+ action: String
62
+ disabledCondition: String
63
+ visibilityCondition: String
64
+ position: TablePinnedPosition
65
+ }
66
+
67
+ enum TablePinnedPosition {
68
+ RIGHT
69
+ LEFT
70
+ }
71
+
72
+ type Toolbar {
73
+ columns: ToolbarColumns
74
+ }
75
+
76
+ type ToolbarColumns {
77
+ enabled: Boolean
78
+ }
79
+
80
+ type TablePagination {
81
+ totalCount: TablePaginationTotalCount
82
+ }
83
+
84
+ type TablePaginationTotalCount {
85
+ enabled: Boolean
86
+ }
87
+
88
+ type Table implements ITable
89
+
90
+ type NamedTable implements ITable {
91
+ name: String
92
+ }
93
+
94
+ type TabbedTable {
95
+ tabs: [TableTab!]!
96
+ }
97
+
98
+ union AnyTable = Table | TabbedTable
99
+
100
+ type TableTab {
101
+ name : String!
102
+ label: String!
103
+ table: Table!
104
+ visibilityCondition: String
105
+ }
106
+
107
+ type TableFilter {
108
+ criteria: [TableCriteria!]!
109
+ variant: TableFilterVariant
110
+ }
111
+
112
+ type DateShortcuts {
113
+ enabled: Boolean
114
+ days: [Int!]
115
+ }
116
+
117
+ type TableCriteriaDate {
118
+ calendars: Int
119
+ disableFuture: Boolean
120
+ format: String
121
+ shortcuts: DateShortcuts
122
+ }
123
+
124
+ type TableCriteria {
125
+ name: String!
126
+ label: String!
127
+ labelProp: String
128
+ path: String!
129
+ component: String
130
+ config: JSON
131
+ dataType: String
132
+ date: TableCriteriaDate
133
+ defaultValue: String
134
+ multiple: Boolean
135
+ exactMatchEnabled: Boolean
136
+ operator: String
137
+ selectOptions: ISelectOptions
138
+ min: Float
139
+ max: Float
140
+ }
141
+
142
+ enum TableFilterVariant {
143
+ SIDEBAR
144
+ MODAL
145
+ }
146
+
147
+ type Column {
148
+ name: String!
149
+ label: String!
150
+ visible: Boolean
151
+ paths: [String!]
152
+ expression: String
153
+ component: String
154
+ sortable: Boolean
155
+ flex: Float
156
+ pinned: TablePinnedPosition
157
+ config: JSON
158
+ filter: ColumnFilter
159
+ }
160
+
161
+ type ColumnFilter {
162
+ operators: [String]
163
+ path: String
164
+ dataType: String
165
+ selectOptions: ISelectOptions
166
+ }
167
+
168
+ type SimpleSearch {
169
+ filterType: String
170
+ searchBy: String
171
+ placeholder: String
172
+ selectOptions: QuerySelectOptions!
173
+ }
174
+
175
+ type WhereFilter {
176
+ type: String!
177
+ value: JSON!
178
+ }
179
+
180
+ type Expandable {
181
+ component: String
182
+ }
@@ -1,16 +1,16 @@
1
-
2
- type Test {
3
- name : String!
4
- description: String
5
- configPath : String!
6
- }
7
-
8
- type TestResults {
9
- items : [Test!]!
10
- }
11
-
12
- type TestQuery {
13
- list(path : String!, search: String) : TestResults
14
- getConfig(path : String) : JSON!
15
- }
16
-
1
+
2
+ type Test {
3
+ name : String!
4
+ description: String
5
+ configPath : String!
6
+ }
7
+
8
+ type TestResults {
9
+ items : [Test!]!
10
+ }
11
+
12
+ type TestQuery {
13
+ list(path : String!, search: String) : TestResults
14
+ getConfig(path : String) : JSON!
15
+ }
16
+