Type some of the anys

This commit is contained in:
Adria Navarro 2024-12-24 10:57:07 +01:00
parent 577df882ae
commit 17590cb5e6
1 changed files with 9 additions and 5 deletions

View File

@ -32,11 +32,15 @@ interface ActionDatasourceStore {
datasource: DatasourceStore["definition"] & { datasource: DatasourceStore["definition"] & {
actions: DatasourceActions<UpdateViewRequest | SaveTableRequest> & { actions: DatasourceActions<UpdateViewRequest | SaveTableRequest> & {
refreshDefinition: () => Promise<void> refreshDefinition: () => Promise<void>
changePrimaryDisplay: any changePrimaryDisplay: (column: string) => Promise<void>
addSchemaMutation: any addSchemaMutation: (field: string, mutation: UIFieldMutation) => void
addSubSchemaMutation: any addSubSchemaMutation: (
saveSchemaMutations: any field: string,
resetSchemaMutations: any fromField: string,
mutation: UIFieldMutation
) => void
saveSchemaMutations: () => Promise<void>
resetSchemaMutations: () => void
} }
} }
} }