Skip to content

Commit 33d2490

Browse files
authored
fix: correct the widget definition type (#76)
1 parent 92a6960 commit 33d2490

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

types/WidgetDefinition.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ export type WidgetMetadataBasic = {
55
title: string;
66
status?: 'stable' | 'beta' | 'wip' | 'deprecated';
77
settingsSchema?: {
8-
fields: Schema;
8+
type: 'object';
9+
properties: {
10+
fields: Schema;
11+
};
912
};
1013
description?: string;
1114
additionalCustomProperties?: Record<string, scalar>;

0 commit comments

Comments
 (0)