@xemahq/webapp-studio-api-client 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +36 -1
- package/README.md +62 -0
- package/dist/endpoints/app-databases/app-databases.d.ts +11 -11
- package/dist/endpoints/app-databases/app-databases.js +12 -12
- package/dist/endpoints/studio/studio.d.ts +36 -21
- package/dist/endpoints/studio/studio.js +74 -28
- package/dist/index.d.ts +0 -2
- package/dist/index.js +1 -3
- package/dist/models/appDbResponseDto.d.ts +5 -5
- package/dist/models/appDbsResponseDto.d.ts +3 -3
- package/dist/models/appDbsResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/appTargetDto.d.ts +3 -3
- package/dist/models/biomeLifecycle.d.ts +20 -0
- package/dist/models/biomeLifecycle.js +19 -0
- package/dist/models/buildStatusResponseDto.d.ts +16 -0
- package/dist/models/buildStatusResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/buildStatusResponseDtoDataEnvelope.js +2 -0
- package/dist/models/createStudioDto.d.ts +5 -5
- package/dist/models/detectFrameworksDto.d.ts +2 -2
- package/dist/models/detectFrameworksDto.js +2 -2
- package/dist/models/detectFrameworksResponseDto.d.ts +5 -5
- package/dist/models/detectFrameworksResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/detectFrameworksResponseDtoDataEnvelope.js +2 -0
- package/dist/models/detectFrameworksResponseDtoInaccessibleReason.d.ts +2 -2
- package/dist/models/detectFrameworksResponseDtoInaccessibleReason.js +2 -2
- package/dist/models/index.d.ts +19 -6
- package/dist/models/index.js +19 -6
- package/dist/models/migrateAppDbDto.d.ts +2 -2
- package/dist/models/migrateAppDbDto.js +2 -2
- package/dist/models/migrateAppDbResponseDto.d.ts +3 -3
- package/dist/models/migrateAppDbResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/migrateAppDbResponseDtoDataEnvelope.js +2 -0
- package/dist/models/migrationRunnerKind.d.ts +2 -2
- package/dist/models/migrationRunnerKind.js +2 -2
- package/dist/models/openPrResponseDto.d.ts +2 -2
- package/dist/models/openPrResponseDto.js +2 -2
- package/dist/models/openPrResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/openPrResponseDtoDataEnvelope.js +2 -0
- package/dist/models/orgDatabasePurpose.d.ts +2 -2
- package/dist/models/orgDatabasePurpose.js +2 -2
- package/dist/models/orgDatabaseStatus.d.ts +2 -2
- package/dist/models/orgDatabaseStatus.js +2 -2
- package/dist/models/paginationMeta.d.ts +18 -0
- package/dist/models/{internalBiomeCleanupRequestDto.js → paginationMeta.js} +2 -2
- package/dist/models/patchStudioAppsDto.d.ts +3 -3
- package/dist/models/projectKitAuthInputDto.d.ts +2 -2
- package/dist/models/projectKitAuthInputDto.js +2 -2
- package/dist/models/projectKitBindingDto.d.ts +6 -6
- package/dist/models/projectKitBindingKind.d.ts +2 -2
- package/dist/models/projectKitBindingKind.js +2 -2
- package/dist/models/projectKitKind.d.ts +2 -2
- package/dist/models/projectKitKind.js +2 -2
- package/dist/models/projectKitPurpose.d.ts +2 -2
- package/dist/models/projectKitPurpose.js +2 -2
- package/dist/models/projectKitSourceInputDto.d.ts +4 -4
- package/dist/models/projectKitSourceKind.d.ts +2 -2
- package/dist/models/projectKitSourceKind.js +2 -2
- package/dist/models/promoteToProdDto.d.ts +2 -2
- package/dist/models/promoteToProdDto.js +2 -2
- package/dist/models/promoteToProdResponseDto.d.ts +7 -3
- package/dist/models/promoteToProdResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/promoteToProdResponseDtoDataEnvelope.js +2 -0
- package/dist/models/publishToXemaDto.d.ts +24 -0
- package/dist/models/publishToXemaDto.js +2 -0
- package/dist/models/publishToXemaDtoManifestSnapshot.d.ts +13 -0
- package/dist/models/{internalBiomeCleanupResponseDto.js → publishToXemaDtoManifestSnapshot.js} +2 -2
- package/dist/models/publishToXemaResponseDto.d.ts +22 -0
- package/dist/models/publishToXemaResponseDto.js +2 -0
- package/dist/models/publishToXemaResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/publishToXemaResponseDtoDataEnvelope.js +2 -0
- package/dist/models/startPublishResponseDto.d.ts +14 -0
- package/dist/models/startPublishResponseDto.js +2 -0
- package/dist/models/startPublishResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/startPublishResponseDtoDataEnvelope.js +2 -0
- package/dist/models/studioControllerListParams.d.ts +3 -3
- package/dist/models/studioResponseDto.d.ts +17 -11
- package/dist/models/studioResponseDtoAgentSlug.d.ts +3 -3
- package/dist/models/studioResponseDtoAgentSlug.js +2 -2
- package/dist/models/studioResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/studioResponseDtoDataEnvelope.js +2 -0
- package/dist/models/studioResponseDtoDescription.d.ts +2 -2
- package/dist/models/studioResponseDtoDescription.js +2 -2
- package/dist/models/studioResponseDtoFailureReason.d.ts +2 -2
- package/dist/models/studioResponseDtoFailureReason.js +2 -2
- package/dist/models/studioResponseDtoLatestPrUrl.d.ts +2 -2
- package/dist/models/studioResponseDtoLatestPrUrl.js +2 -2
- package/dist/models/studioResponseDtoPaginatedEnvelope.d.ts +13 -0
- package/dist/models/studioResponseDtoPaginatedEnvelope.js +2 -0
- package/dist/models/studioResponseDtoSessionId.d.ts +2 -2
- package/dist/models/studioResponseDtoSessionId.js +2 -2
- package/dist/models/studioResponseDtoSessionStatus.d.ts +14 -0
- package/dist/models/studioResponseDtoSessionStatus.js +9 -0
- package/dist/models/updateStudioDto.d.ts +2 -2
- package/dist/models/updateStudioDto.js +2 -2
- package/dist/models/webRemoteBuildStatus.d.ts +16 -0
- package/dist/models/webRemoteBuildStatus.js +15 -0
- package/dist/models/webappDetectState.d.ts +2 -2
- package/dist/models/webappDetectState.js +2 -2
- package/dist/models/webappKind.d.ts +2 -2
- package/dist/models/webappKind.js +2 -2
- package/dist/models/webappStudioStatus.d.ts +2 -2
- package/dist/models/webappStudioStatus.js +2 -2
- package/package.json +12 -2
- package/dist/endpoints/health/health.d.ts +0 -15
- package/dist/endpoints/health/health.js +0 -53
- package/dist/endpoints/internal/internal.d.ts +0 -30
- package/dist/endpoints/internal/internal.js +0 -68
- package/dist/models/internalBiomeCleanupRequestDto.d.ts +0 -25
- package/dist/models/internalBiomeCleanupResponseDto.d.ts +0 -11
- package/dist/models/studioProvisioningFailRequestDto.d.ts +0 -18
- package/dist/models/studioProvisioningFailRequestDtoActorType.d.ts +0 -16
- package/dist/models/studioProvisioningFailRequestDtoActorType.js +0 -15
- package/dist/models/studioProvisioningStepRequestDto.d.ts +0 -16
- package/dist/models/studioProvisioningStepRequestDtoActorType.d.ts +0 -16
- package/dist/models/studioProvisioningStepRequestDtoActorType.js +0 -15
- /package/dist/models/{studioProvisioningFailRequestDto.js → appDbsResponseDtoDataEnvelope.js} +0 -0
- /package/dist/models/{studioProvisioningStepRequestDto.js → buildStatusResponseDto.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Webapp Studio API
|
|
5
5
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
7
|
*/
|
|
8
|
-
import type { ProjectKitAuthInputDto } from './projectKitAuthInputDto';
|
|
9
|
-
import type { ProjectKitSourceKind } from './projectKitSourceKind';
|
|
8
|
+
import type { ProjectKitAuthInputDto } from './projectKitAuthInputDto.js';
|
|
9
|
+
import type { ProjectKitSourceKind } from './projectKitSourceKind.js';
|
|
10
10
|
export interface ProjectKitSourceInputDto {
|
|
11
11
|
/** Whether the package comes from an npm registry or a git repo. */
|
|
12
12
|
kind: ProjectKitSourceKind;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Webapp Studio API
|
|
5
5
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Whether the package comes from an npm registry or a git repo.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Webapp Studio API
|
|
6
6
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
7
|
-
* OpenAPI spec version: 0.1.
|
|
7
|
+
* OpenAPI spec version: 0.1.1
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.ProjectKitSourceKind = void 0;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Webapp Studio API
|
|
5
5
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
7
|
*/
|
|
8
8
|
export interface PromoteToProdDto {
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Webapp Studio API
|
|
6
6
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
7
|
-
* OpenAPI spec version: 0.1.
|
|
7
|
+
* OpenAPI spec version: 0.1.1
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Webapp Studio API
|
|
5
5
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
7
|
*/
|
|
8
|
-
import type { AppDbResponseDto } from './appDbResponseDto';
|
|
8
|
+
import type { AppDbResponseDto } from './appDbResponseDto.js';
|
|
9
9
|
export interface PromoteToProdResponseDto {
|
|
10
10
|
/** Dev DB projection at the moment of promotion. */
|
|
11
11
|
dev: AppDbResponseDto;
|
|
@@ -13,4 +13,8 @@ export interface PromoteToProdResponseDto {
|
|
|
13
13
|
prod: AppDbResponseDto;
|
|
14
14
|
/** org-database-pool-api migration-run id for the prod run. */
|
|
15
15
|
migrationRunId: string;
|
|
16
|
+
/** When `copyData` was requested: number of tables whose rows were copied dev → prod. Absent for schema-only promotions. */
|
|
17
|
+
tablesCopied?: number;
|
|
18
|
+
/** When `copyData` was requested: total rows copied dev → prod. Absent for schema-only promotions. */
|
|
19
|
+
rowsCopied?: number;
|
|
16
20
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webapp Studio API
|
|
5
|
+
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
|
+
*/
|
|
8
|
+
import type { PromoteToProdResponseDto } from './promoteToProdResponseDto.js';
|
|
9
|
+
export interface PromoteToProdResponseDtoDataEnvelope {
|
|
10
|
+
data: PromoteToProdResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webapp Studio API
|
|
5
|
+
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
|
+
*/
|
|
8
|
+
import type { PublishToXemaDtoManifestSnapshot } from './publishToXemaDtoManifestSnapshot.js';
|
|
9
|
+
export interface PublishToXemaDto {
|
|
10
|
+
/** Semver version for this store submission. Unique within the listing. */
|
|
11
|
+
version: string;
|
|
12
|
+
/** The full `xema-biome.json` manifest document to freeze into the store submission (`manifestSnapshot`). Its `id` field is the biome id the store listing is keyed on. */
|
|
13
|
+
manifestSnapshot: PublishToXemaDtoManifestSnapshot;
|
|
14
|
+
/**
|
|
15
|
+
* Existing store listing id to submit this version INTO. Omit to create-if-absent: the service resolves (or creates) the org-scoped listing for the manifest's biome id.
|
|
16
|
+
* @maxLength 128
|
|
17
|
+
*/
|
|
18
|
+
listingId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Free-text submission notes recorded on the store version row.
|
|
21
|
+
* @maxLength 2000
|
|
22
|
+
*/
|
|
23
|
+
notes?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webapp Studio API
|
|
5
|
+
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The full `xema-biome.json` manifest document to freeze into the store submission (`manifestSnapshot`). Its `id` field is the biome id the store listing is keyed on.
|
|
10
|
+
*/
|
|
11
|
+
export type PublishToXemaDtoManifestSnapshot = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|
package/dist/models/{internalBiomeCleanupResponseDto.js → publishToXemaDtoManifestSnapshot.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Webapp Studio API
|
|
6
6
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
7
|
-
* OpenAPI spec version: 0.1.
|
|
7
|
+
* OpenAPI spec version: 0.1.1
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webapp Studio API
|
|
5
|
+
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
|
+
*/
|
|
8
|
+
import type { BiomeLifecycle } from './biomeLifecycle.js';
|
|
9
|
+
export interface PublishToXemaResponseDto {
|
|
10
|
+
/** Store listing id the version was submitted into. */
|
|
11
|
+
listingId: string;
|
|
12
|
+
/** Store version-row id for this submission. */
|
|
13
|
+
versionId: string;
|
|
14
|
+
/** Semver version that was submitted. */
|
|
15
|
+
version: string;
|
|
16
|
+
/** Store-scoped lifecycle of the submitted version (typically `store-submitted` until a reviewer approves it). */
|
|
17
|
+
lifecycle: BiomeLifecycle;
|
|
18
|
+
/** Module-Federation remote-entry URL recorded on the submission — the address the host loads the REMOTE_FEDERATED biome from. */
|
|
19
|
+
remoteEntry: string;
|
|
20
|
+
/** True when this call minted a new store listing for the biome; false when it submitted into a pre-existing listing. */
|
|
21
|
+
listingCreated: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webapp Studio API
|
|
5
|
+
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
|
+
*/
|
|
8
|
+
import type { PublishToXemaResponseDto } from './publishToXemaResponseDto.js';
|
|
9
|
+
export interface PublishToXemaResponseDtoDataEnvelope {
|
|
10
|
+
data: PublishToXemaResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webapp Studio API
|
|
5
|
+
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
|
+
*/
|
|
8
|
+
import type { WebRemoteBuildStatus } from './webRemoteBuildStatus.js';
|
|
9
|
+
export interface StartPublishResponseDto {
|
|
10
|
+
/** Deterministic build-run id — the poll key for the build status and the finalize submit. Encodes `(orgId, biomeId, version, ref)`. */
|
|
11
|
+
buildRunId: string;
|
|
12
|
+
/** Build lifecycle at dispatch — always `building` for a fresh dispatch (or an idempotent re-dispatch of a still-running build). */
|
|
13
|
+
status: WebRemoteBuildStatus;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webapp Studio API
|
|
5
|
+
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
|
+
*/
|
|
8
|
+
import type { StartPublishResponseDto } from './startPublishResponseDto.js';
|
|
9
|
+
export interface StartPublishResponseDtoDataEnvelope {
|
|
10
|
+
data: StartPublishResponseDto;
|
|
11
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Webapp Studio API
|
|
5
5
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
7
|
*/
|
|
8
|
-
import type { WebappStudioStatus } from './webappStudioStatus';
|
|
8
|
+
import type { WebappStudioStatus } from './webappStudioStatus.js';
|
|
9
9
|
export type StudioControllerListParams = {
|
|
10
10
|
status?: WebappStudioStatus;
|
|
11
11
|
/**
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Webapp Studio API
|
|
5
5
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
7
|
*/
|
|
8
|
-
import type { AppTargetDto } from './appTargetDto';
|
|
9
|
-
import type { ProjectKitBindingDto } from './projectKitBindingDto';
|
|
10
|
-
import type { StudioResponseDtoAgentSlug } from './studioResponseDtoAgentSlug';
|
|
11
|
-
import type { StudioResponseDtoDescription } from './studioResponseDtoDescription';
|
|
12
|
-
import type { StudioResponseDtoFailureReason } from './studioResponseDtoFailureReason';
|
|
13
|
-
import type { StudioResponseDtoLatestPrUrl } from './studioResponseDtoLatestPrUrl';
|
|
14
|
-
import type { StudioResponseDtoSessionId } from './studioResponseDtoSessionId';
|
|
15
|
-
import type {
|
|
8
|
+
import type { AppTargetDto } from './appTargetDto.js';
|
|
9
|
+
import type { ProjectKitBindingDto } from './projectKitBindingDto.js';
|
|
10
|
+
import type { StudioResponseDtoAgentSlug } from './studioResponseDtoAgentSlug.js';
|
|
11
|
+
import type { StudioResponseDtoDescription } from './studioResponseDtoDescription.js';
|
|
12
|
+
import type { StudioResponseDtoFailureReason } from './studioResponseDtoFailureReason.js';
|
|
13
|
+
import type { StudioResponseDtoLatestPrUrl } from './studioResponseDtoLatestPrUrl.js';
|
|
14
|
+
import type { StudioResponseDtoSessionId } from './studioResponseDtoSessionId.js';
|
|
15
|
+
import type { StudioResponseDtoSessionStatus } from './studioResponseDtoSessionStatus.js';
|
|
16
|
+
import type { WebappStudioStatus } from './webappStudioStatus.js';
|
|
16
17
|
export interface StudioResponseDto {
|
|
17
18
|
id: string;
|
|
18
19
|
orgId: string;
|
|
@@ -21,6 +22,11 @@ export interface StudioResponseDto {
|
|
|
21
22
|
/** @nullable */
|
|
22
23
|
description?: StudioResponseDtoDescription;
|
|
23
24
|
status: WebappStudioStatus;
|
|
25
|
+
/**
|
|
26
|
+
* Cached live lifecycle status of the underlying agent-session (e.g. active, paused, recovering). Distinct from `status` (the project-lifecycle); reflects worker-liveness so the list stays honest while a session is paused. Null until the first session lifecycle event is observed.
|
|
27
|
+
* @nullable
|
|
28
|
+
*/
|
|
29
|
+
sessionStatus?: StudioResponseDtoSessionStatus;
|
|
24
30
|
/**
|
|
25
31
|
* Active agent-session id. Null during CREATING, or after a restart while the fresh session is provisioning.
|
|
26
32
|
* @nullable
|
|
@@ -47,7 +53,7 @@ export interface StudioResponseDto {
|
|
|
47
53
|
*/
|
|
48
54
|
failureReason?: StudioResponseDtoFailureReason;
|
|
49
55
|
/**
|
|
50
|
-
* Primary-agent slug currently bound to the underlying session. Null = follow the workspace manifest default (`webapp-
|
|
56
|
+
* Primary-agent (Agent composition) slug currently bound to the underlying session. Null = follow the workspace manifest composition default (`webapp-studio-default`).
|
|
51
57
|
* @nullable
|
|
52
58
|
*/
|
|
53
59
|
agentSlug?: StudioResponseDtoAgentSlug;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Webapp Studio API
|
|
5
5
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
|
-
* Primary-agent slug currently bound to the underlying session. Null = follow the workspace manifest default (`webapp-
|
|
9
|
+
* Primary-agent (Agent composition) slug currently bound to the underlying session. Null = follow the workspace manifest composition default (`webapp-studio-default`).
|
|
10
10
|
* @nullable
|
|
11
11
|
*/
|
|
12
12
|
export type StudioResponseDtoAgentSlug = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Webapp Studio API
|
|
6
6
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
7
|
-
* OpenAPI spec version: 0.1.
|
|
7
|
+
* OpenAPI spec version: 0.1.1
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webapp Studio API
|
|
5
|
+
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
|
+
*/
|
|
8
|
+
import type { StudioResponseDto } from './studioResponseDto.js';
|
|
9
|
+
export interface StudioResponseDtoDataEnvelope {
|
|
10
|
+
data: StudioResponseDto;
|
|
11
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Webapp Studio API
|
|
5
5
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* @nullable
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Webapp Studio API
|
|
6
6
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
7
|
-
* OpenAPI spec version: 0.1.
|
|
7
|
+
* OpenAPI spec version: 0.1.1
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Webapp Studio API
|
|
5
5
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Human-readable error when create or archive failed. Null on healthy rows.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Webapp Studio API
|
|
6
6
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
7
|
-
* OpenAPI spec version: 0.1.
|
|
7
|
+
* OpenAPI spec version: 0.1.1
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Webapp Studio API
|
|
5
5
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Most recent PR URL opened from `workingBranch`. Null until the first successful `/open-pr` call.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Webapp Studio API
|
|
6
6
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
7
|
-
* OpenAPI spec version: 0.1.
|
|
7
|
+
* OpenAPI spec version: 0.1.1
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webapp Studio API
|
|
5
|
+
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
|
+
*/
|
|
8
|
+
import type { PaginationMeta } from './paginationMeta.js';
|
|
9
|
+
import type { StudioResponseDto } from './studioResponseDto.js';
|
|
10
|
+
export interface StudioResponseDtoPaginatedEnvelope {
|
|
11
|
+
data: StudioResponseDto[];
|
|
12
|
+
pagination: PaginationMeta;
|
|
13
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Webapp Studio API
|
|
5
5
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Active agent-session id. Null during CREATING, or after a restart while the fresh session is provisioning.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Webapp Studio API
|
|
6
6
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
7
|
-
* OpenAPI spec version: 0.1.
|
|
7
|
+
* OpenAPI spec version: 0.1.1
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webapp Studio API
|
|
5
|
+
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Cached live lifecycle status of the underlying agent-session (e.g. active, paused, recovering). Distinct from `status` (the project-lifecycle); reflects worker-liveness so the list stays honest while a session is paused. Null until the first session lifecycle event is observed.
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type StudioResponseDtoSessionStatus = {
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
} | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Webapp Studio API
|
|
6
|
+
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
7
|
+
* OpenAPI spec version: 0.1.1
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Webapp Studio API
|
|
5
5
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
7
|
*/
|
|
8
8
|
export interface UpdateStudioDto {
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Webapp Studio API
|
|
6
6
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
7
|
-
* OpenAPI spec version: 0.1.
|
|
7
|
+
* OpenAPI spec version: 0.1.1
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Webapp Studio API
|
|
5
|
+
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Build lifecycle at dispatch — always `building` for a fresh dispatch (or an idempotent re-dispatch of a still-running build).
|
|
10
|
+
*/
|
|
11
|
+
export type WebRemoteBuildStatus = typeof WebRemoteBuildStatus[keyof typeof WebRemoteBuildStatus];
|
|
12
|
+
export declare const WebRemoteBuildStatus: {
|
|
13
|
+
readonly building: "building";
|
|
14
|
+
readonly built: "built";
|
|
15
|
+
readonly failed: "failed";
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Webapp Studio API
|
|
6
|
+
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
7
|
+
* OpenAPI spec version: 0.1.1
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.WebRemoteBuildStatus = void 0;
|
|
11
|
+
exports.WebRemoteBuildStatus = {
|
|
12
|
+
building: 'building',
|
|
13
|
+
built: 'built',
|
|
14
|
+
failed: 'failed',
|
|
15
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Webapp Studio API
|
|
5
5
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
7
|
*/
|
|
8
8
|
export type WebappDetectState = typeof WebappDetectState[keyof typeof WebappDetectState];
|
|
9
9
|
export declare const WebappDetectState: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Webapp Studio API
|
|
6
6
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
7
|
-
* OpenAPI spec version: 0.1.
|
|
7
|
+
* OpenAPI spec version: 0.1.1
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.WebappDetectState = void 0;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Webapp Studio API
|
|
5
5
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.1
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Inferred framework when `state==="ready"` and the package.json matches a known kind. Null when the directory has a package.json but no recognised framework (likely a backend or library).
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Webapp Studio API
|
|
6
6
|
* Studio session CRUD + lifecycle + PR-from-working-branch handoff
|
|
7
|
-
* OpenAPI spec version: 0.1.
|
|
7
|
+
* OpenAPI spec version: 0.1.1
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.WebappKind = void 0;
|