mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-14 21:45:06 -05:00
another new workflow library
This commit is contained in:
committed by
psychedelicious
parent
518a7c941f
commit
d5c5e8e8ed
@@ -1,6 +1,7 @@
|
||||
import type { paths } from 'services/api/schema';
|
||||
|
||||
import { api, buildV1Url, LIST_TAG } from '..';
|
||||
import queryString from 'query-string';
|
||||
|
||||
/**
|
||||
* Builds an endpoint URL for the workflows router
|
||||
@@ -73,8 +74,7 @@ export const workflowsApi = api.injectEndpoints({
|
||||
NonNullable<paths['/api/v1/workflows/']['get']['parameters']['query']>
|
||||
>({
|
||||
query: (params) => ({
|
||||
url: buildWorkflowsUrl(),
|
||||
params,
|
||||
url: `${buildWorkflowsUrl()}?${queryString.stringify(params, { arrayFormat: 'none' })}`,
|
||||
}),
|
||||
providesTags: ['FetchOnReconnect', { type: 'Workflow', id: LIST_TAG }],
|
||||
}),
|
||||
|
||||
@@ -24252,8 +24252,8 @@ export interface operations {
|
||||
order_by?: components["schemas"]["WorkflowRecordOrderBy"];
|
||||
/** @description The direction to order by */
|
||||
direction?: components["schemas"]["SQLiteDirection"];
|
||||
/** @description The category of workflow to get */
|
||||
category?: components["schemas"]["WorkflowCategory"];
|
||||
/** @description The categories of workflow to get */
|
||||
categories?: components["schemas"]["WorkflowCategory"][] | null;
|
||||
/** @description The text to query by (matches name and description) */
|
||||
query?: string | null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user