@thepalaceproject/circulation-admin
    Preparing search index...

    Interface EditableConfigListProps<T>

    interface EditableConfigListProps<T> {
        additionalData?: any;
        csrfToken: string;
        data?: T;
        deleteItem?: (identifier: string | number) => Promise<void>;
        editItem?: (data: FormData) => Promise<void>;
        editOrCreate?: string;
        fetchData?: () => Promise<T>;
        fetchError?: FetchErrorData;
        formError?: FetchErrorData;
        identifier?: string;
        isFetching?: boolean;
        responseBody?: string;
        settingUp?: boolean;
        store?: Store<
            {
                api: CombinedState<{}, any, "api">;
                bookEditor: BookState;
                catalog: State;
                editor: CombinedState<State>;
            },
        >;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Properties

    additionalData?: any
    csrfToken: string
    data?: T
    deleteItem?: (identifier: string | number) => Promise<void>
    editItem?: (data: FormData) => Promise<void>
    editOrCreate?: string
    fetchData?: () => Promise<T>
    fetchError?: FetchErrorData
    formError?: FetchErrorData
    identifier?: string
    isFetching?: boolean
    responseBody?: string
    settingUp?: boolean
    store?: Store<
        {
            api: CombinedState<{}, any, "api">;
            bookEditor: BookState;
            catalog: State;
            editor: CombinedState<State>;
        },
    >