mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-22 06:58:45 +00:00
CE-1955 Switch fieldMetaData to use a type from in here for FieldAdornment, to include some better docs, but also to exclude new FILE_UPLOAD adornment type enum value
This commit is contained in:
@ -130,26 +130,31 @@ components:
|
||||
description: "Description of the error"
|
||||
type: "string"
|
||||
type: "object"
|
||||
FieldAdornment:
|
||||
properties:
|
||||
type:
|
||||
description: "Type of this adornment"
|
||||
enum:
|
||||
- "LINK"
|
||||
- "CHIP"
|
||||
- "SIZE"
|
||||
- "CODE_EDITOR"
|
||||
- "RENDER_HTML"
|
||||
- "REVEAL"
|
||||
- "FILE_DOWNLOAD"
|
||||
- "ERROR"
|
||||
type: "string"
|
||||
values:
|
||||
description: "Values associated with this adornment. Keys and the meanings\
|
||||
\ of their values will differ by type."
|
||||
type: "object"
|
||||
type: "object"
|
||||
FieldMetaData:
|
||||
properties:
|
||||
adornments:
|
||||
description: "Special UI dressings to add to the field."
|
||||
items:
|
||||
properties:
|
||||
type:
|
||||
enum:
|
||||
- "LINK"
|
||||
- "CHIP"
|
||||
- "SIZE"
|
||||
- "CODE_EDITOR"
|
||||
- "RENDER_HTML"
|
||||
- "REVEAL"
|
||||
- "FILE_DOWNLOAD"
|
||||
- "ERROR"
|
||||
type: "string"
|
||||
values:
|
||||
type: "object"
|
||||
type: "object"
|
||||
$ref: "#/components/schemas/FieldAdornment"
|
||||
type: "array"
|
||||
defaultValue:
|
||||
description: "Default value to use in this field."
|
||||
@ -973,21 +978,7 @@ components:
|
||||
adornments:
|
||||
description: "Special UI dressings to add to the field."
|
||||
items:
|
||||
properties:
|
||||
type:
|
||||
enum:
|
||||
- "LINK"
|
||||
- "CHIP"
|
||||
- "SIZE"
|
||||
- "CODE_EDITOR"
|
||||
- "RENDER_HTML"
|
||||
- "REVEAL"
|
||||
- "FILE_DOWNLOAD"
|
||||
- "ERROR"
|
||||
type: "string"
|
||||
values:
|
||||
type: "object"
|
||||
type: "object"
|
||||
$ref: "#/components/schemas/FieldAdornment"
|
||||
type: "array"
|
||||
defaultValue:
|
||||
description: "Default value to use in this field."
|
||||
|
Reference in New Issue
Block a user