Skip to content

Commit 38c3300

Browse files
authored
fix: manually adjust enum for allowedResources (#58)
1 parent d61d8a9 commit 38c3300

File tree

9 files changed

+103
-103
lines changed

9 files changed

+103
-103
lines changed

crd-chart/templates/Column.crd.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -148,26 +148,26 @@ spec:
148148
allowedResources:
149149
description: the list of resources that are allowed to be children
150150
of this widget or referenced by it
151-
enum:
152-
- barcharts
153-
- buttons
154-
- columns
155-
- datagrids
156-
- eventlists
157-
- filters
158-
- flowcharts
159-
- forms
160-
- linecharts
161-
- markdowns
162-
- panels
163-
- paragraphs
164-
- piecharts
165-
- rows
166-
- tables
167-
- tablists
168-
- yamlviewers
169151
items:
170152
type: string
153+
enum:
154+
- barcharts
155+
- buttons
156+
- columns
157+
- datagrids
158+
- eventlists
159+
- filters
160+
- flowcharts
161+
- forms
162+
- linecharts
163+
- markdowns
164+
- panels
165+
- paragraphs
166+
- piecharts
167+
- rows
168+
- tables
169+
- tablists
170+
- yamlviewers
171171
type: array
172172
items:
173173
description: the items of the column

crd-chart/templates/DataGrid.crd.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -148,23 +148,23 @@ spec:
148148
allowedResources:
149149
description: the list of resources that are allowed to be children
150150
of this widget or referenced by it
151-
enum:
152-
- barcharts
153-
- buttons
154-
- eventlists
155-
- filters
156-
- flowcharts
157-
- forms
158-
- linecharts
159-
- markdowns
160-
- panels
161-
- paragraphs
162-
- piecharts
163-
- tables
164-
- tablists
165-
- yamlviewers
166151
items:
167152
type: string
153+
enum:
154+
- barcharts
155+
- buttons
156+
- eventlists
157+
- filters
158+
- flowcharts
159+
- forms
160+
- linecharts
161+
- markdowns
162+
- panels
163+
- paragraphs
164+
- piecharts
165+
- tables
166+
- tablists
167+
- yamlviewers
168168
type: array
169169
asGrid:
170170
description: to show children as list or grid

crd-chart/templates/NavMenu.crd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ spec:
148148
allowedResources:
149149
description: the list of resources that are allowed to be children
150150
of this widget or referenced by it
151-
enum:
152-
- navmenuitems
153151
items:
154152
type: string
153+
enum:
154+
- navmenuitems
155155
type: array
156156
items:
157157
description: list of navigation entries each pointing to a k8s

crd-chart/templates/NavMenuItem.crd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ spec:
148148
allowedResources:
149149
description: the list of resources that are allowed to be children
150150
of this widget or referenced by it
151-
enum:
152-
- pages
153151
items:
154152
type: string
153+
enum:
154+
- pages
155155
type: array
156156
icon:
157157
description: 'name of the icon to display alongside the label

crd-chart/templates/Page.crd.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -148,26 +148,26 @@ spec:
148148
allowedResources:
149149
description: the list of resources that are allowed to be children
150150
of this widget or referenced by it
151-
enum:
152-
- barcharts
153-
- buttons
154-
- columns
155-
- datagrids
156-
- eventlists
157-
- filters
158-
- flowcharts
159-
- forms
160-
- linecharts
161-
- markdowns
162-
- panels
163-
- paragraphs
164-
- piecharts
165-
- rows
166-
- tables
167-
- tablists
168-
- yamlviewers
169151
items:
170152
type: string
153+
enum:
154+
- barcharts
155+
- buttons
156+
- columns
157+
- datagrids
158+
- eventlists
159+
- filters
160+
- flowcharts
161+
- forms
162+
- linecharts
163+
- markdowns
164+
- panels
165+
- paragraphs
166+
- piecharts
167+
- rows
168+
- tables
169+
- tablists
170+
- yamlviewers
171171
type: array
172172
items:
173173
description: list of resources to be rendered within the route

crd-chart/templates/RoutesLoader.crd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ spec:
148148
allowedResources:
149149
description: the list of resources that are allowed to be children
150150
of this widget or referenced by it
151-
enum:
152-
- routes
153151
items:
154152
type: string
153+
enum:
154+
- routes
155155
type: array
156156
required:
157157
- allowedResources

crd-chart/templates/Row.crd.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -149,26 +149,26 @@ spec:
149149
allowedResources:
150150
description: the list of resources that are allowed to be children
151151
of this widget or referenced by it
152-
enum:
153-
- barcharts
154-
- buttons
155-
- columns
156-
- datagrids
157-
- eventlists
158-
- filters
159-
- flowcharts
160-
- forms
161-
- linecharts
162-
- markdowns
163-
- panels
164-
- paragraphs
165-
- piecharts
166-
- rows
167-
- tables
168-
- tablists
169-
- yamlviewers
170152
items:
171153
type: string
154+
enum:
155+
- barcharts
156+
- buttons
157+
- columns
158+
- datagrids
159+
- eventlists
160+
- filters
161+
- flowcharts
162+
- forms
163+
- linecharts
164+
- markdowns
165+
- panels
166+
- paragraphs
167+
- piecharts
168+
- rows
169+
- tables
170+
- tablists
171+
- yamlviewers
172172
type: array
173173
items:
174174
description: the items of the row

crd-chart/templates/TabList.crd.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -149,26 +149,26 @@ spec:
149149
allowedResources:
150150
description: the list of resources that are allowed to be children
151151
of this widget or referenced by it
152-
enum:
153-
- barcharts
154-
- buttons
155-
- columns
156-
- datagrids
157-
- eventlists
158-
- filters
159-
- flowcharts
160-
- forms
161-
- linecharts
162-
- markdowns
163-
- panels
164-
- paragraphs
165-
- piecharts
166-
- rows
167-
- tables
168-
- tablists
169-
- yamlviewers
170152
items:
171153
type: string
154+
enum:
155+
- barcharts
156+
- buttons
157+
- columns
158+
- datagrids
159+
- eventlists
160+
- filters
161+
- flowcharts
162+
- forms
163+
- linecharts
164+
- markdowns
165+
- panels
166+
- paragraphs
167+
- piecharts
168+
- rows
169+
- tables
170+
- tablists
171+
- yamlviewers
172172
type: array
173173
items:
174174
description: the items of the tab list

crd-chart/templates/Table.crd.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -148,18 +148,18 @@ spec:
148148
allowedResources:
149149
description: the list of resources that are allowed to be children
150150
of this widget or referenced by it
151-
enum:
152-
- barcharts
153-
- buttons
154-
- filters
155-
- flowcharts
156-
- linecharts
157-
- markdowns
158-
- paragraphs
159-
- piecharts
160-
- yamlviewers
161151
items:
162152
type: string
153+
enum:
154+
- barcharts
155+
- buttons
156+
- filters
157+
- flowcharts
158+
- linecharts
159+
- markdowns
160+
- paragraphs
161+
- piecharts
162+
- yamlviewers
163163
type: array
164164
columns:
165165
description: configuration of the table's columns

0 commit comments

Comments
 (0)