Skip to content

Commit 7e027b7

Browse files
committed
fix: Updating param from useNewTransformer to transformationsUI
1 parent 7b86275 commit 7e027b7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/lib/picker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ export interface PickerOptions {
690690
/**
691691
* Whether to use the new transformations UI. Defaults to `false`.
692692
*/
693-
useNewTransformer?: boolean;
693+
transformationsUI?: boolean;
694694
/**
695695
* Options for local file uploads.
696696
*/

src/schema/picker.schema.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,10 @@ export const PickerParamsSchema = {
303303
type: 'object',
304304
additionalProperties: false,
305305
properties: {
306+
config: {
307+
type: 'object',
308+
additionalProperties: true,
309+
},
306310
circle: {
307311
type: 'boolean',
308312
},
@@ -443,7 +447,7 @@ export const PickerParamsSchema = {
443447
useSentryBreadcrumbs: {
444448
type: 'boolean',
445449
},
446-
useNewTransformer: {
450+
transformationsUI: {
447451
type: 'boolean',
448452
},
449453
pasteMode: {

0 commit comments

Comments
 (0)