Skip to content

Commit

Permalink
feat(picker): support callback for tags (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-wec authored Oct 5, 2021
1 parent c676b48 commit cf89ee0
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions src/schema/picker.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@ export const PickerParamsSchema = {
},
],
},
tags: {
type: 'object',
additionalProperties: {
type: 'string',
},
},
container: {
format: 'HTMLContainer',
},
Expand Down Expand Up @@ -416,7 +410,23 @@ export const PickerParamsSchema = {
uploadConfig: {
type: 'object',
additionalProperties: false,
properties: UploadParamsSchema.properties,// manual import upload definitions
properties: {
// manual import upload definitions
...UploadParamsSchema.properties,
tags: {
type: 'object',
additionalProperties: {
anyOf: [
{
type: 'string',
},
{
format: 'callback',
},
],
},
},
},
},
useSentryBreadcrumbs: {
type: 'boolean',
Expand Down

0 comments on commit cf89ee0

Please sign in to comment.