Skip to content

Commit

Permalink
Add resouce to Dataset value_type (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
barbara-chaves authored Mar 27, 2024
1 parent 951f0c3 commit 57f9640
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cms/src/api/dataset/content-types/dataset/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
"enum": [
"text",
"number",
"boolean"
"boolean",
"resource"
],
"required": true
}
Expand Down
4 changes: 3 additions & 1 deletion cms/types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,9 @@ export interface ApiDatasetDataset extends Schema.CollectionType {
'api::layer.layer'
>;
unit: Attribute.String;
value_type: Attribute.Enumeration<['text', 'number', 'boolean']> &
value_type: Attribute.Enumeration<
['text', 'number', 'boolean', 'resource']
> &
Attribute.Required;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
Expand Down

0 comments on commit 57f9640

Please sign in to comment.