- default(props: Omit<ClassAttributes<BookDetailsEditor> & {
bookAdminUrl: string;
bookData: BookData;
editError: RequestError;
fetchError: RequestError;
isFetching: boolean;
languages: LanguagesData;
media: MediaData;
roles: RolesData;
} & {
fetchBookData: ((url: string) => Promise<PayloadAction<unknown, string, {
arg: GetBookDataArgs;
requestId: string;
requestStatus: "fulfilled";
}, never> | PayloadAction<unknown, string, Object, SerializedError>> & {
__linterBrands: "SafePromise";
} & {
abort: ((reason?: string) => void);
arg: GetBookDataArgs;
requestId: string;
unwrap: (() => Promise<unknown>);
});
fetchLanguages: (() => any);
fetchMedia: (() => any);
fetchRoles: (() => any);
postBookData: ((url: string, data: FormData) => Promise<PayloadAction<unknown, string, {
arg: SubmitBookDataArgs;
requestId: string;
requestStatus: "fulfilled";
}, never> | PayloadAction<unknown, string, Object, SerializedError>> & {
__linterBrands: "SafePromise";
} & {
abort: ((reason?: string) => void);
arg: SubmitBookDataArgs;
requestId: string;
unwrap: (() => Promise<unknown>);
});
suppressBook: ((url: string) => MutationActionCreatorResult<MutationDefinition<SuppressionMutationArg, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError, {}, FetchBaseQueryMeta>, any, SuppressionResponse, "api">>);
unsuppressBook: ((url: string) => MutationActionCreatorResult<MutationDefinition<SuppressionMutationArg, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError, {}, FetchBaseQueryMeta>, any, SuppressionResponse, "api">>);
} & BookDetailsEditorOwnProps, "media" | "isFetching" | "fetchError" | "roles" | "languages" | "suppressBook" | "unsuppressBook" | "editError" | "bookAdminUrl" | "bookData" | "postBookData" | "fetchBookData" | "fetchRoles" | "fetchMedia" | "fetchLanguages"> & BookDetailsEditorOwnProps): ReactElement<any, string | JSXElementConstructor<any>>
-
Parameters
-
props: Omit<ClassAttributes<BookDetailsEditor> & {
bookAdminUrl: string;
bookData: BookData;
editError: RequestError;
fetchError: RequestError;
isFetching: boolean;
languages: LanguagesData;
media: MediaData;
roles: RolesData;
} & {
fetchBookData: ((url: string) => Promise<PayloadAction<unknown, string, {
arg: GetBookDataArgs;
requestId: string;
requestStatus: "fulfilled";
}, never> | PayloadAction<unknown, string, Object, SerializedError>> & {
__linterBrands: "SafePromise";
} & {
abort: ((reason?: string) => void);
arg: GetBookDataArgs;
requestId: string;
unwrap: (() => Promise<unknown>);
});
fetchLanguages: (() => any);
fetchMedia: (() => any);
fetchRoles: (() => any);
postBookData: ((url: string, data: FormData) => Promise<PayloadAction<unknown, string, {
arg: SubmitBookDataArgs;
requestId: string;
requestStatus: "fulfilled";
}, never> | PayloadAction<unknown, string, Object, SerializedError>> & {
__linterBrands: "SafePromise";
} & {
abort: ((reason?: string) => void);
arg: SubmitBookDataArgs;
requestId: string;
unwrap: (() => Promise<unknown>);
});
suppressBook: ((url: string) => MutationActionCreatorResult<MutationDefinition<SuppressionMutationArg, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError, {}, FetchBaseQueryMeta>, any, SuppressionResponse, "api">>);
unsuppressBook: ((url: string) => MutationActionCreatorResult<MutationDefinition<SuppressionMutationArg, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError, {}, FetchBaseQueryMeta>, any, SuppressionResponse, "api">>);
} & BookDetailsEditorOwnProps, "media" | "isFetching" | "fetchError" | "roles" | "languages" | "suppressBook" | "unsuppressBook" | "editError" | "bookAdminUrl" | "bookData" | "postBookData" | "fetchBookData" | "fetchRoles" | "fetchMedia" | "fetchLanguages"> & BookDetailsEditorOwnProps
Returns ReactElement<any, string | JSXElementConstructor<any>>
NOTE: Exotic components are not callable.