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

    Interface LibrariesProps

    Right panel for library configuration on the system configuration page. Shows a list of current libraries and allows creating a new library or editing or deleting an existing library.

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

    Hierarchy (View Summary)

    Index

    Properties

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