Files
subtracks/app/models/state.ts
2022-03-20 16:16:16 +09:00

15 lines
224 B
TypeScript

export interface ById<T> {
[id: string]: T
}
export type OneToMany = ById<string[]>
export interface OrderedById<T> {
byId: ById<T>
allIds: string[]
}
export interface PaginatedList {
[offset: number]: string[]
}