opds-web-client
Version:
12 lines (11 loc) • 418 B
TypeScript
import { CollectionState } from "./reducers/collection";
import { BookState } from "./reducers/book";
import { LoansState } from "./reducers/loans";
import { AuthState } from "./reducers/auth";
export interface State {
collection: CollectionState;
book: BookState;
loans: LoansState;
auth: AuthState;
}
export default function buildInitialState(collectionUrl: string, bookUrl: string): Promise<State>;