Skip to content

Commit 5ab80b5

Browse files
committed
fix(pickerschema): update missing picker options
1 parent 73d4fa9 commit 5ab80b5

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

src/schema/picker.schema.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,9 @@ export const PickerParamsSchema = {
252252
onUploadDone: {
253253
format: 'callback',
254254
},
255+
onFileCropped: {
256+
format: 'callback',
257+
},
255258
storeTo: {
256259
additionalProperties: false,
257260
type: 'object',
@@ -324,11 +327,22 @@ export const PickerParamsSchema = {
324327
'.*': { type: 'string' },
325328
},
326329
},
330+
cropFiles: {
331+
type: 'array',
332+
minItems: 1,
333+
},
334+
loadCss: {
335+
type: 'string',
336+
},
337+
failOverMaxFiles: {
338+
type: 'boolean',
339+
},
327340
dropPane: {
328341
type: 'object',
329342
properties: {
330343
cropFiles: {
331-
type: 'boolean',
344+
type: 'array',
345+
minItems: 1,
332346
},
333347
customText: {
334348
type: 'string',

0 commit comments

Comments
 (0)