feat: add CI deployment and live progress

This commit is contained in:
2026-09-05 12:09:16 +00:00 Unverified
parent 321f4e807a
commit aa02826dbb
27 changed files with 2711 additions and 180 deletions
+31
View File
@@ -202,6 +202,14 @@ export type OperationEvent = {
type: "status" | "progress" | "log" | "result" | "error";
data: JsonValue;
};
export type ListOperationEventsResponse = {
items: OperationEvent[];
nextCursor?: number;
/** The oldest event sequence still retained for this operation. */
retainedFirstSequence: number;
/** True when `after` predates the retained event history. */
cursorGap: boolean;
};
export type UserRole = "admin" | "operator" | "viewer" | (string & {});
export type User = {
@@ -223,6 +231,29 @@ export type UpdateUserRequest = {
};
export type UserResponse = User;
export type ListUsersResponse = Page<User>;
export type Capability =
| "kubernetes:read"
| "kubernetes:write"
| "kubernetes:exec"
| "users:read"
| "users:write"
| "sessions:revoke"
| "platform:adopt";
export type ApiKey = {
id: string;
username: string;
capabilities: Capability[];
workspace?: string;
expiresAt: string;
disabled: boolean;
};
export type CreateApiKeyRequest = {
capabilities: Capability[];
workspace?: string;
expiresAt?: string;
};
export type CreateApiKeyResponse = ApiKey & { token: string };
export type ListApiKeysResponse = Page<ApiKey>;
export type AuditEvent = {
id: string;