Variable templateActionsConst
templateActions: { getAllTemplates: AsyncThunk< IPaginatedData<ITemplate>, { connectionId: string; filters?: object; workspaceId: string }, AsyncThunkConfig, >; getAllTemplatesForChat: AsyncThunk< IPaginatedData<ITemplate>, { connectionId: string; filters?: { [key: string]: string | number | boolean }; workspaceId: string; }, AsyncThunkConfig, >; getTemplateById: AsyncThunk< ITemplate, { connectionId: string; templateId: string; workspaceId: string }, AsyncThunkConfig, >; setTemplates: ActionCreatorWithOptionalPayload< IPaginatedData<ITemplate>, "templateReducer/setTemplates", >; unselectTemplate: ActionCreatorWithoutPayload<"unselectTemplate">;} = ... Type declaration
getAllTemplates: AsyncThunk<
IPaginatedData<ITemplate>,
{ connectionId: string; filters?: object; workspaceId: string },
AsyncThunkConfig,
>
getAllTemplatesForChat: AsyncThunk<
IPaginatedData<ITemplate>,
{
connectionId: string;
filters?: { [key: string]: string | number | boolean };
workspaceId: string;
},
AsyncThunkConfig,
>
getTemplateById: AsyncThunk<
ITemplate,
{ connectionId: string; templateId: string; workspaceId: string },
AsyncThunkConfig,
>
setTemplates: ActionCreatorWithOptionalPayload<
IPaginatedData<ITemplate>,
"templateReducer/setTemplates",
>
unselectTemplate: ActionCreatorWithoutPayload<"unselectTemplate">