Type anys

This commit is contained in:
Adria Navarro 2024-12-29 12:42:31 +01:00
parent 332fdc5f38
commit 81ed65b099
2 changed files with 4 additions and 8 deletions

View File

@ -5,10 +5,10 @@ import { Store as StoreContext } from "."
interface ConfigStore {
datasource: UIDatasource
initialSortColumn: any
initialSortColumn: Readable<string>
initialSortOrder: any
initialFilter: any
fixedRowHeight: any
fixedRowHeight: Readable<number>
schemaOverrides: any
notifySuccess: any
notifyError: any

View File

@ -70,23 +70,19 @@ export type Store = BaseStore &
Scroll.Store & {
// TODO while typing the rest of stores
sort: Writable<any>
initialFilter: Writable<any>
initialSortColumn: Writable<any>
initialSortOrder: Writable<any>
subscribe: any
config: Writable<any>
dispatch: (event: string, data: any) => any
notifications: Writable<any>
schemaOverrides: Writable<any>
gridID: string
props: Writable<any>
width: Writable<number>
fixedRowHeight: Writable<number>
bounds: Readable<any>
height: Readable<number>
} & Rows.Store &
Reorder.Store &
Resize.Store
Resize.Store &
Config.Store
export const attachStores = (context: Store): Store => {
// Atomic store creation