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:
File diff suppressed because one or more lines are too long
86
ui/src/api/schema.d.ts
vendored
86
ui/src/api/schema.d.ts
vendored
@@ -54,7 +54,7 @@ export interface paths {
|
||||
get: operations["getConfig"];
|
||||
/**
|
||||
* 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"];
|
||||
post?: never;
|
||||
@@ -1587,6 +1587,26 @@ export interface paths {
|
||||
patch?: 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}": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
@@ -2718,6 +2738,7 @@ export interface components {
|
||||
resolvedConfig?: {
|
||||
[key: string]: Record<string, never>;
|
||||
};
|
||||
deployedConfigSnapshot?: components["schemas"]["DeploymentConfigSnapshot"];
|
||||
/** Format: date-time */
|
||||
deployedAt?: string;
|
||||
/** Format: date-time */
|
||||
@@ -2725,6 +2746,14 @@ export interface components {
|
||||
/** Format: date-time */
|
||||
createdAt?: string;
|
||||
};
|
||||
DeploymentConfigSnapshot: {
|
||||
/** Format: uuid */
|
||||
jarVersionId?: string;
|
||||
agentConfig?: components["schemas"]["ApplicationConfig"];
|
||||
containerConfig?: {
|
||||
[key: string]: Record<string, never>;
|
||||
};
|
||||
};
|
||||
PromoteRequest: {
|
||||
targetEnvironment?: string;
|
||||
};
|
||||
@@ -3294,6 +3323,16 @@ export interface components {
|
||||
height?: number;
|
||||
endpointUri?: string;
|
||||
};
|
||||
Difference: {
|
||||
field?: string;
|
||||
staged?: string;
|
||||
deployed?: string;
|
||||
};
|
||||
DirtyStateResponse: {
|
||||
dirty?: boolean;
|
||||
lastSuccessfulDeploymentId?: string;
|
||||
differences?: components["schemas"]["Difference"][];
|
||||
};
|
||||
AppConfigResponse: {
|
||||
config?: components["schemas"]["ApplicationConfig"];
|
||||
globalSensitiveKeys?: string[];
|
||||
@@ -3833,6 +3872,7 @@ export interface operations {
|
||||
parameters: {
|
||||
query: {
|
||||
env: components["schemas"]["Environment"];
|
||||
apply?: string;
|
||||
};
|
||||
header?: never;
|
||||
path: {
|
||||
@@ -3846,7 +3886,7 @@ export interface operations {
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
/** @description Config saved and pushed */
|
||||
/** @description Config saved (and pushed if apply=live) */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
@@ -3855,6 +3895,15 @@ export interface operations {
|
||||
"*/*": components["schemas"]["ConfigUpdateResponse"];
|
||||
};
|
||||
};
|
||||
/** @description Unknown apply value (must be 'staged' or 'live') */
|
||||
400: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"*/*": components["schemas"]["ConfigUpdateResponse"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
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: {
|
||||
parameters: {
|
||||
query: {
|
||||
|
||||
Reference in New Issue
Block a user