AppVersion

The `AppVersion` entity.

Definition

TypeScript
interface AppVersion {
  id: string;
  appId: string;
  name: string;
  parentId: string | null;
  status: "pending" | "failed" | "ready";
  error: string | null;
  createdBy: string | null;
  createdAt: string;
  updatedAt: string;
}

Fields

FieldTypeNotes
idstringreadonly required
appIdstringrequired — App this version belongs to.
namestringrequired — Version label (e.g. 'v1', 'release-candidate').
parentIdstring | nullrequired — Version this one was forked from; null for the initial version.
status"pending" | "failed" | "ready"required — Lifecycle state (draft, building, ready, failed, etc.).
errorstring | nullrequired — Error message when status is 'failed', otherwise null.
createdBystring | nullrequired — User who created the version; null for system-generated versions.
createdAtstringreadonly required — ISO-8601 timestamp of creation.
updatedAtstringreadonly required — ISO-8601 timestamp of the last update.