Fix config value type and schema (#60688)

This commit is contained in:
Jen Huang 2020-03-20 09:54:01 -07:00 committed by GitHub
parent 88612743a9
commit 22f14b53cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ export interface DatasourceInputStream {
string,
{
type?: string;
value: any;
value?: any;
}
>;
}

View file

@ -35,7 +35,7 @@ const DatasourceBaseSchema = {
schema.string(),
schema.object({
type: schema.maybe(schema.string()),
value: schema.any(),
value: schema.maybe(schema.any()),
})
),
})