Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

chore: regenerate openapi schema and web types for workflow last_run_at

joshistoastce5b611cd7f3
diff --git a/invokeai/frontend/web/openapi.json b/invokeai/frontend/web/openapi.json
index e5f418d205..2f144e1fb2 100644
--- a/invokeai/frontend/web/openapi.json
+++ b/invokeai/frontend/web/openapi.json
@@ -12028,6 +12028,47 @@
}
}
},
+ "/api/v1/workflows/i/{workflow_id}/last_run_at": {
+ "put": {
+ "tags": ["workflows"],
+ "summary": "Update Workflow Last Run At",
+ "description": "Updates the last_run_at field of a workflow",
+ "operationId": "update_workflow_last_run_at",
+ "security": [
+ {
+ "HTTPBearer": []
+ }
+ ],
+ "parameters": [
+ {
+ "name": "workflow_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "description": "The workflow to update",
+ "title": "Workflow Id"
+ },
+ "description": "The workflow to update"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Successful Response"
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/api/v1/style_presets/i/{style_preset_id}": {
"get": {
"tags": ["style_presets"],
@@ -95068,6 +95109,22 @@
"title": "Opened At",
"description": "The opened timestamp of the workflow."
},
+ "last_run_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Last Run At",
+ "description": "The timestamp of the last completed run of this workflow."
+ },
"user_id": {
"type": "string",
"title": "User Id",
@@ -95141,6 +95198,22 @@
"title": "Opened At",
"description": "The opened timestamp of the workflow."
},
+ "last_run_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Last Run At",
+ "description": "The timestamp of the last completed run of this workflow."
+ },
"user_id": {
"type": "string",
"title": "User Id",
@@ -95263,6 +95336,22 @@
"title": "Opened At",
"description": "The opened timestamp of the workflow."
},
+ "last_run_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Last Run At",
+ "description": "The timestamp of the last completed run of this workflow."
+ },
"user_id": {
"type": "string",
"title": "User Id",
diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.ts
index a7b094c67d..2b2791a1b4 100644
--- a/invokeai/frontend/web/src/services/api/schema.ts
+++ b/invokeai/frontend/web/src/services/api/schema.ts
@@ -3045,6 +3045,26 @@ export type paths = {
patch?: never;
trace?: never;
};
+ "/api/v1/workflows/i/{workflow_id}/last_run_at": {
+ parameters: {
+ query?: never;
+ header?: never;
+ path?: never;
+ cookie?: never;
+ };
+ get?: never;
+ /**
+ * Update Workflow Last Run At
+ * @description Updates the last_run_at field of a workflow
+ */
+ put: operations["update_workflow_last_run_at"];
+ post?: never;
+ delete?: never;
+ options?: never;
+ head?: never;
+ patch?: never;
+ trace?: never;
+ };
"/api/v1/style_presets/i/{style_preset_id}": {
parameters: {
query?: never;
@@ -42724,6 +42744,11 @@ export type components = {
* @description The opened timestamp of the workflow.
*/
opened_at?: string | null;
+ /**
+ * Last Run At
+ * @description The timestamp of the last completed run of this workflow.
+ */
+ last_run_at?: string | null;
/**
* User Id
* @description The id of the user who owns this workflow.
@@ -42764,6 +42789,11 @@ export type components = {
* @description The opened timestamp of the workflow.
*/
opened_at?: string | null;
+ /**
+ * Last Run At
+ * @description The timestamp of the last completed run of this workflow.
+ */
+ last_run_at?: string | null;
/**
* User Id
* @description The id of the user who owns this workflow.
@@ -42827,6 +42857,11 @@ export type components = {
* @description The opened timestamp of the workflow.
*/
opened_at?: string | null;
+ /**
+ * Last Run At
+ * @description The timestamp of the last completed run of this workflow.
+ */
+ last_run_at?: string | null;
/**
* User Id
* @description The id of the user who owns this workflow.
@@ -49920,6 +49955,36 @@ export interface operations {
};
};
};
+ update_workflow_last_run_at: {
+ parameters: {
+ query?: never;
+ header?: never;
+ path: {
+ /** @description The workflow to update */
+ workflow_id: string;
+ };
+ cookie?: never;
+ };
+ requestBody?: never;
+ responses: {
+ /** @description Successful Response */
+ 204: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content?: never;
+ };
+ /** @description Validation Error */
+ 422: {
+ headers: {
+ [name: string]: unknown;
+ };
+ content: {
+ "application/json": components["schemas"]["HTTPValidationError"];
+ };
+ };
+ };
+ };
get_style_preset: {
parameters: {
query?: never;