api(schema): regenerate OpenAPI + schema.d.ts for deployment page

Picks up GET dirty-state, PUT config ?apply=staged|live, and
deployedConfigSnapshot on Deployment for the deployment config-diff UI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-22 22:42:10 +02:00
parent 97f25b4c7e
commit 0434299d53
2 changed files with 85 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -54,7 +54,7 @@ export interface paths {
get: operations["getConfig"]; get: operations["getConfig"];
/** /**
* Update application config for this environment * Update application config for this environment
* @description Saves config and pushes CONFIG_UPDATE to LIVE agents of this application in the given environment * @description Saves config. When apply=live (default), also pushes CONFIG_UPDATE to LIVE agents. When apply=staged, persists without a live push — the next successful deploy applies it.
*/ */
put: operations["updateConfig"]; put: operations["updateConfig"];
post?: never; post?: never;
@@ -1587,6 +1587,26 @@ export interface paths {
patch?: never; patch?: never;
trace?: never; trace?: never;
}; };
"/environments/{envSlug}/apps/{appSlug}/dirty-state": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Check whether the app's current config differs from the last successful deploy
* @description Returns dirty=true when the desired state (current JAR + agent config + container config) would produce a changed deployment. When no successful deploy exists yet, dirty=true.
*/
get: operations["getDirtyState"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/environments/{envSlug}/apps/{appSlug}/deployments/{deploymentId}": { "/environments/{envSlug}/apps/{appSlug}/deployments/{deploymentId}": {
parameters: { parameters: {
query?: never; query?: never;
@@ -2718,6 +2738,7 @@ export interface components {
resolvedConfig?: { resolvedConfig?: {
[key: string]: Record<string, never>; [key: string]: Record<string, never>;
}; };
deployedConfigSnapshot?: components["schemas"]["DeploymentConfigSnapshot"];
/** Format: date-time */ /** Format: date-time */
deployedAt?: string; deployedAt?: string;
/** Format: date-time */ /** Format: date-time */
@@ -2725,6 +2746,14 @@ export interface components {
/** Format: date-time */ /** Format: date-time */
createdAt?: string; createdAt?: string;
}; };
DeploymentConfigSnapshot: {
/** Format: uuid */
jarVersionId?: string;
agentConfig?: components["schemas"]["ApplicationConfig"];
containerConfig?: {
[key: string]: Record<string, never>;
};
};
PromoteRequest: { PromoteRequest: {
targetEnvironment?: string; targetEnvironment?: string;
}; };
@@ -3294,6 +3323,16 @@ export interface components {
height?: number; height?: number;
endpointUri?: string; endpointUri?: string;
}; };
Difference: {
field?: string;
staged?: string;
deployed?: string;
};
DirtyStateResponse: {
dirty?: boolean;
lastSuccessfulDeploymentId?: string;
differences?: components["schemas"]["Difference"][];
};
AppConfigResponse: { AppConfigResponse: {
config?: components["schemas"]["ApplicationConfig"]; config?: components["schemas"]["ApplicationConfig"];
globalSensitiveKeys?: string[]; globalSensitiveKeys?: string[];
@@ -3833,6 +3872,7 @@ export interface operations {
parameters: { parameters: {
query: { query: {
env: components["schemas"]["Environment"]; env: components["schemas"]["Environment"];
apply?: string;
}; };
header?: never; header?: never;
path: { path: {
@@ -3846,7 +3886,7 @@ export interface operations {
}; };
}; };
responses: { responses: {
/** @description Config saved and pushed */ /** @description Config saved (and pushed if apply=live) */
200: { 200: {
headers: { headers: {
[name: string]: unknown; [name: string]: unknown;
@@ -3855,6 +3895,15 @@ export interface operations {
"*/*": components["schemas"]["ConfigUpdateResponse"]; "*/*": components["schemas"]["ConfigUpdateResponse"];
}; };
}; };
/** @description Unknown apply value (must be 'staged' or 'live') */
400: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["ConfigUpdateResponse"];
};
};
}; };
}; };
update_1: { update_1: {
@@ -7224,6 +7273,39 @@ export interface operations {
}; };
}; };
}; };
getDirtyState: {
parameters: {
query: {
env: components["schemas"]["Environment"];
};
header?: never;
path: {
appSlug: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description Dirty-state computed */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["DirtyStateResponse"];
};
};
/** @description App not found in this environment */
404: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["DirtyStateResponse"];
};
};
};
};
getDeployment: { getDeployment: {
parameters: { parameters: {
query: { query: {