@docupace/ihub-config 1.1.13 → 1.1.14

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.
@@ -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,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
+
@@ -1,41 +1,41 @@
1
- type Base64Image {
2
- "Base64 encoded image data"
3
- data: String!
4
- "MIME type of the image (e.g. 'image/png', 'image/jpeg')"
5
- mimeType: String!
6
- "Unique hash of the image data for caching purposes"
7
- hash: String!
8
- }
9
-
10
- type Theme {
11
- name: String
12
- "Base64 encoded logo image data"
13
- logoImage: Base64Image
14
- """
15
- @deprecated Use logoImage instead
16
- SVG logo image data in string format
17
- """
18
- logoSvg: String
19
- "Base64 encoded sidebar logo image data"
20
- sidebarLogoImage: Base64Image
21
- """
22
- @deprecated Use sidebarLogoImage instead
23
- SVG sidebar logo image data in string format
24
- """
25
- sidebarLogoSvg: String
26
- "Base64 encoded login logo image data"
27
- loginLogoImage: Base64Image
28
- """
29
- @deprecated Use loginLogoImage instead
30
- SVG login logo image data in string format
31
- """
32
- loginLogoSvg: String
33
- "Base64 encoded login background image data"
34
- loginBackgroundImage: Base64Image
35
- """
36
- @deprecated Use loginBackgroundImage instead
37
- SVG login background image data in string format
38
- """
39
- loginBackgroundSvg: String
40
- colors: JSON
41
- }
1
+ type Base64Image {
2
+ "Base64 encoded image data"
3
+ data: String!
4
+ "MIME type of the image (e.g. 'image/png', 'image/jpeg')"
5
+ mimeType: String!
6
+ "Unique hash of the image data for caching purposes"
7
+ hash: String!
8
+ }
9
+
10
+ type Theme {
11
+ name: String
12
+ "Base64 encoded logo image data"
13
+ logoImage: Base64Image
14
+ """
15
+ @deprecated Use logoImage instead
16
+ SVG logo image data in string format
17
+ """
18
+ logoSvg: String
19
+ "Base64 encoded sidebar logo image data"
20
+ sidebarLogoImage: Base64Image
21
+ """
22
+ @deprecated Use sidebarLogoImage instead
23
+ SVG sidebar logo image data in string format
24
+ """
25
+ sidebarLogoSvg: String
26
+ "Base64 encoded login logo image data"
27
+ loginLogoImage: Base64Image
28
+ """
29
+ @deprecated Use loginLogoImage instead
30
+ SVG login logo image data in string format
31
+ """
32
+ loginLogoSvg: String
33
+ "Base64 encoded login background image data"
34
+ loginBackgroundImage: Base64Image
35
+ """
36
+ @deprecated Use loginBackgroundImage instead
37
+ SVG login background image data in string format
38
+ """
39
+ loginBackgroundSvg: String
40
+ colors: JSON
41
+ }
@@ -1,11 +1,11 @@
1
- type TextElement implements IRowElement & IElement {
2
- color: String
3
- cols: Int
4
- fontSize: String
5
- name: String
6
- sx: JSON
7
- value: String
8
- valueExpression: String
9
- variant: String
10
- visibilityCondition: String
1
+ type TextElement implements IRowElement & IElement {
2
+ color: String
3
+ cols: Int
4
+ fontSize: String
5
+ name: String
6
+ sx: JSON
7
+ value: String
8
+ valueExpression: String
9
+ variant: String
10
+ visibilityCondition: String
11
11
  }
@@ -1,3 +1,3 @@
1
- scalar Number
2
-
3
- scalar JSON
1
+ scalar Number
2
+
3
+ scalar JSON
@@ -1,5 +1,5 @@
1
-
2
- enum OrderType {
3
- ASC
4
- DESC
5
- }
1
+
2
+ enum OrderType {
3
+ ASC
4
+ DESC
5
+ }
@@ -1,7 +1,7 @@
1
- type Query {
2
- config: ConfigQuery
3
- }
4
-
5
- type Mutation {
6
- config: ConfigMutation
7
- }
1
+ type Query {
2
+ config: ConfigQuery
3
+ }
4
+
5
+ type Mutation {
6
+ config: ConfigMutation
7
+ }
@@ -1,8 +1,8 @@
1
- interface IElement {
2
- name: String
3
- }
4
-
5
- interface IRowElement implements IElement {
6
- cols: Int
7
- name: String
1
+ interface IElement {
2
+ name: String
3
+ }
4
+
5
+ interface IRowElement implements IElement {
6
+ cols: Int
7
+ name: String
8
8
  }
@@ -1,49 +1,49 @@
1
- interface IMenuItem {
2
- name: String!
3
- label: String!
4
- icon: String
5
- url: String
6
- color: String
7
- action: String
8
- component: String
9
- description: String
10
- visibilityCondition: String
11
- disabledCondition: String
12
- config: JSON
13
- }
14
-
15
- type MenuItem implements IMenuItem {
16
- name: String!
17
- label: String!
18
- icon: String
19
- url: String
20
- color: String
21
- action: String
22
- component: String
23
- tooltip: String
24
- description: String
25
- visibilityCondition: String
26
- disabledCondition: String
27
- config: JSON
28
- }
29
-
30
- type ActionButton implements IMenuItem {
31
- name: String!
32
- label: String!
33
- icon: String
34
- url: String
35
- color: String
36
- variant: ActionButtonVariant
37
- component: String
38
- action: String
39
- disabled: Boolean
40
- menuItems: [MenuItem!]
41
- visibilityCondition: String
42
- description: String
43
- }
44
-
45
- enum ActionButtonVariant {
46
- INLINE
47
- DROPDOWN
48
- INLINE_DROPDOWN
49
- }
1
+ interface IMenuItem {
2
+ name: String!
3
+ label: String!
4
+ icon: String
5
+ url: String
6
+ color: String
7
+ action: String
8
+ component: String
9
+ description: String
10
+ visibilityCondition: String
11
+ disabledCondition: String
12
+ config: JSON
13
+ }
14
+
15
+ type MenuItem implements IMenuItem {
16
+ name: String!
17
+ label: String!
18
+ icon: String
19
+ url: String
20
+ color: String
21
+ action: String
22
+ component: String
23
+ tooltip: String
24
+ description: String
25
+ visibilityCondition: String
26
+ disabledCondition: String
27
+ config: JSON
28
+ }
29
+
30
+ type ActionButton implements IMenuItem {
31
+ name: String!
32
+ label: String!
33
+ icon: String
34
+ url: String
35
+ color: String
36
+ variant: ActionButtonVariant
37
+ component: String
38
+ action: String
39
+ disabled: Boolean
40
+ menuItems: [MenuItem!]
41
+ visibilityCondition: String
42
+ description: String
43
+ }
44
+
45
+ enum ActionButtonVariant {
46
+ INLINE
47
+ DROPDOWN
48
+ INLINE_DROPDOWN
49
+ }
@@ -1,30 +1,30 @@
1
-
2
- input WidgetInput {
3
- name : String
4
- }
5
-
6
- input DashboardRowInput {
7
- title : String
8
- name: String
9
- hidden: Boolean
10
- layout: Number
11
- elements : [WidgetInput!]
12
- }
13
-
14
- input DashboardPanelInput {
15
- rows : [DashboardRowInput]
16
- }
17
-
18
- input DashboardPageInput {
19
- title: String
20
- panel : DashboardPanelInput
21
- }
22
-
23
- type PageMutation {
24
- updateDashboard(input: DashboardPageInput) : DashboardPage
25
- }
26
-
27
- type ConfigMutation {
28
- refresh: Boolean
29
- pages: PageMutation
30
- }
1
+
2
+ input WidgetInput {
3
+ name : String
4
+ }
5
+
6
+ input DashboardRowInput {
7
+ title : String
8
+ name: String
9
+ hidden: Boolean
10
+ layout: Number
11
+ elements : [WidgetInput!]
12
+ }
13
+
14
+ input DashboardPanelInput {
15
+ rows : [DashboardRowInput]
16
+ }
17
+
18
+ input DashboardPageInput {
19
+ title: String
20
+ panel : DashboardPanelInput
21
+ }
22
+
23
+ type PageMutation {
24
+ updateDashboard(input: DashboardPageInput) : DashboardPage
25
+ }
26
+
27
+ type ConfigMutation {
28
+ refresh: Boolean
29
+ pages: PageMutation
30
+ }
@@ -147,6 +147,7 @@ type Tab {
147
147
  label: String!
148
148
  page: Page!
149
149
  visibilityCondition: String
150
+ config: JSON
150
151
  }
151
152
 
152
153
  type DashboardPanel implements IPanel {
@@ -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
+ }