Fix config value type and schema (#60688)
This commit is contained in:
parent
88612743a9
commit
22f14b53cd
|
@ -19,7 +19,7 @@ export interface DatasourceInputStream {
|
|||
string,
|
||||
{
|
||||
type?: string;
|
||||
value: any;
|
||||
value?: any;
|
||||
}
|
||||
>;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ const DatasourceBaseSchema = {
|
|||
schema.string(),
|
||||
schema.object({
|
||||
type: schema.maybe(schema.string()),
|
||||
value: schema.any(),
|
||||
value: schema.maybe(schema.any()),
|
||||
})
|
||||
),
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue