interface CustomListsForBookProps {
    allCustomLists?: CustomListData[];
    book: BookData;
    bookUrl: string;
    csrfToken: string;
    customListsForBook?: CustomListData[];
    editCustomListsForBook?: (url: string, data: FormData) => Promise<void>;
    fetchAllCustomLists?: () => Promise<CustomListsData>;
    fetchCustomListsForBook?: (url: string) => Promise<CustomListsData>;
    fetchError?: FetchErrorData;
    isFetching?: boolean;
    library: string;
    refreshCatalog: () => Promise<any>;
    store?: Store<
        {
            api: CombinedState<{}, any, "api">;
            bookEditor: BookState;
            catalog: State;
            editor: CombinedState<State>;
        },
    >;
}

Hierarchy (View Summary)

Properties

allCustomLists?: CustomListData[]
book: BookData
bookUrl: string
csrfToken: string
customListsForBook?: CustomListData[]
editCustomListsForBook?: (url: string, data: FormData) => Promise<void>
fetchAllCustomLists?: () => Promise<CustomListsData>
fetchCustomListsForBook?: (url: string) => Promise<CustomListsData>
fetchError?: FetchErrorData
isFetching?: boolean
library: string
refreshCatalog: () => Promise<any>
store?: Store<
    {
        api: CombinedState<{}, any, "api">;
        bookEditor: BookState;
        catalog: State;
        editor: CombinedState<State>;
    },
>