mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-28 08:49:42 +02:00
feat: add test mode for API trigger
This commit is contained in:
parent
f041e6030d
commit
4171ad7a54
13 changed files with 279 additions and 124 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -2110,30 +2110,6 @@ export type MpsCreditsResponse = {
|
|||
total_quota: number;
|
||||
};
|
||||
|
||||
/**
|
||||
* MigrationSpec
|
||||
*
|
||||
* Declared migration step (JSON-serializable view).
|
||||
*
|
||||
* The migrate callable is registered out-of-band via `register_migration()`
|
||||
* and never serialized — LLM and frontend consumers only see version
|
||||
* metadata and warn on mismatch.
|
||||
*/
|
||||
export type MigrationSpec = {
|
||||
/**
|
||||
* From Version
|
||||
*/
|
||||
from_version: string;
|
||||
/**
|
||||
* To Version
|
||||
*/
|
||||
to_version: string;
|
||||
/**
|
||||
* Description
|
||||
*/
|
||||
description: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* NodeCategory
|
||||
*
|
||||
|
|
@ -2206,10 +2182,6 @@ export type NodeSpec = {
|
|||
* Examples
|
||||
*/
|
||||
examples?: Array<NodeExample>;
|
||||
/**
|
||||
* Migrations
|
||||
*/
|
||||
migrations?: Array<MigrationSpec>;
|
||||
graph_constraints?: GraphConstraints | null;
|
||||
};
|
||||
|
||||
|
|
@ -8875,6 +8847,46 @@ export type InitiateCallApiV1PublicAgentUuidPostResponses = {
|
|||
|
||||
export type InitiateCallApiV1PublicAgentUuidPostResponse = InitiateCallApiV1PublicAgentUuidPostResponses[keyof InitiateCallApiV1PublicAgentUuidPostResponses];
|
||||
|
||||
export type InitiateCallTestApiV1PublicAgentTestUuidPostData = {
|
||||
body: TriggerCallRequest;
|
||||
headers: {
|
||||
/**
|
||||
* X-Api-Key
|
||||
*/
|
||||
'X-API-Key': string;
|
||||
};
|
||||
path: {
|
||||
/**
|
||||
* Uuid
|
||||
*/
|
||||
uuid: string;
|
||||
};
|
||||
query?: never;
|
||||
url: '/api/v1/public/agent/test/{uuid}';
|
||||
};
|
||||
|
||||
export type InitiateCallTestApiV1PublicAgentTestUuidPostErrors = {
|
||||
/**
|
||||
* Not found
|
||||
*/
|
||||
404: unknown;
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type InitiateCallTestApiV1PublicAgentTestUuidPostError = InitiateCallTestApiV1PublicAgentTestUuidPostErrors[keyof InitiateCallTestApiV1PublicAgentTestUuidPostErrors];
|
||||
|
||||
export type InitiateCallTestApiV1PublicAgentTestUuidPostResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
200: TriggerCallResponse;
|
||||
};
|
||||
|
||||
export type InitiateCallTestApiV1PublicAgentTestUuidPostResponse = InitiateCallTestApiV1PublicAgentTestUuidPostResponses[keyof InitiateCallTestApiV1PublicAgentTestUuidPostResponses];
|
||||
|
||||
export type DownloadWorkflowArtifactApiV1PublicDownloadWorkflowTokenArtifactTypeGetData = {
|
||||
body?: never;
|
||||
path: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue