Skip to content

Commit

Permalink
fix: unrequire data in view schema (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sparkier authored Dec 21, 2023
1 parent 6b9af13 commit 436e45b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion frontend/src/lib/instance-views/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@
"type": "string"
}
},
"required": ["data"],
"type": "object"
},
"ViewType": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lib/instance-views/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export interface SeparatedValues extends View {
}

export interface ViewSchema {
data: ViewUnion;
data?: ViewUnion;
label?: ViewUnion;
output?: ViewUnion;
displayType?: DisplayType;
Expand Down

0 comments on commit 436e45b

Please sign in to comment.