@xemahq/webapp-studio-api-client 0.1.1
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 +1 -0
- package/dist/custom-fetch.d.ts +49 -0
- package/dist/custom-fetch.js +147 -0
- package/dist/endpoints/app-databases/app-databases.d.ts +28 -0
- package/dist/endpoints/app-databases/app-databases.js +64 -0
- package/dist/endpoints/health/health.d.ts +15 -0
- package/dist/endpoints/health/health.js +53 -0
- package/dist/endpoints/internal/internal.d.ts +30 -0
- package/dist/endpoints/internal/internal.js +68 -0
- package/dist/endpoints/studio/studio.d.ts +53 -0
- package/dist/endpoints/studio/studio.js +157 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +28 -0
- package/dist/models/appDbResponseDto.d.ts +34 -0
- package/dist/models/appDbResponseDto.js +2 -0
- package/dist/models/appDbsResponseDto.d.ts +16 -0
- package/dist/models/appDbsResponseDto.js +2 -0
- package/dist/models/appTargetDto.d.ts +26 -0
- package/dist/models/appTargetDto.js +2 -0
- package/dist/models/createStudioDto.d.ts +36 -0
- package/dist/models/createStudioDto.js +2 -0
- package/dist/models/detectFrameworksDto.d.ts +13 -0
- package/dist/models/detectFrameworksDto.js +9 -0
- package/dist/models/detectFrameworksResponseDto.d.ts +22 -0
- package/dist/models/detectFrameworksResponseDto.js +2 -0
- package/dist/models/detectFrameworksResponseDtoInaccessibleReason.d.ts +14 -0
- package/dist/models/detectFrameworksResponseDtoInaccessibleReason.js +9 -0
- package/dist/models/index.d.ts +40 -0
- package/dist/models/index.js +57 -0
- package/dist/models/internalBiomeCleanupRequestDto.d.ts +25 -0
- package/dist/models/internalBiomeCleanupRequestDto.js +9 -0
- package/dist/models/internalBiomeCleanupResponseDto.d.ts +11 -0
- package/dist/models/internalBiomeCleanupResponseDto.js +9 -0
- package/dist/models/migrateAppDbDto.d.ts +15 -0
- package/dist/models/migrateAppDbDto.js +9 -0
- package/dist/models/migrateAppDbResponseDto.d.ts +14 -0
- package/dist/models/migrateAppDbResponseDto.js +2 -0
- package/dist/models/migrationRunnerKind.d.ts +17 -0
- package/dist/models/migrationRunnerKind.js +16 -0
- package/dist/models/openPrResponseDto.d.ts +15 -0
- package/dist/models/openPrResponseDto.js +9 -0
- package/dist/models/orgDatabasePurpose.d.ts +17 -0
- package/dist/models/orgDatabasePurpose.js +16 -0
- package/dist/models/orgDatabaseStatus.d.ts +18 -0
- package/dist/models/orgDatabaseStatus.js +17 -0
- package/dist/models/patchStudioAppsDto.d.ts +16 -0
- package/dist/models/patchStudioAppsDto.js +2 -0
- package/dist/models/projectKitAuthInputDto.d.ts +13 -0
- package/dist/models/projectKitAuthInputDto.js +9 -0
- package/dist/models/projectKitBindingDto.d.ts +23 -0
- package/dist/models/projectKitBindingDto.js +2 -0
- package/dist/models/projectKitBindingKind.d.ts +15 -0
- package/dist/models/projectKitBindingKind.js +14 -0
- package/dist/models/projectKitKind.d.ts +15 -0
- package/dist/models/projectKitKind.js +14 -0
- package/dist/models/projectKitPurpose.d.ts +15 -0
- package/dist/models/projectKitPurpose.js +14 -0
- package/dist/models/projectKitSourceInputDto.d.ts +27 -0
- package/dist/models/projectKitSourceInputDto.js +2 -0
- package/dist/models/projectKitSourceKind.d.ts +16 -0
- package/dist/models/projectKitSourceKind.js +15 -0
- package/dist/models/promoteToProdDto.d.ts +17 -0
- package/dist/models/promoteToProdDto.js +9 -0
- package/dist/models/promoteToProdResponseDto.d.ts +16 -0
- package/dist/models/promoteToProdResponseDto.js +2 -0
- package/dist/models/studioControllerListParams.d.ts +32 -0
- package/dist/models/studioControllerListParams.js +2 -0
- package/dist/models/studioProvisioningFailRequestDto.d.ts +18 -0
- package/dist/models/studioProvisioningFailRequestDto.js +2 -0
- package/dist/models/studioProvisioningFailRequestDtoActorType.d.ts +16 -0
- package/dist/models/studioProvisioningFailRequestDtoActorType.js +15 -0
- package/dist/models/studioProvisioningStepRequestDto.d.ts +16 -0
- package/dist/models/studioProvisioningStepRequestDto.js +2 -0
- package/dist/models/studioProvisioningStepRequestDtoActorType.d.ts +16 -0
- package/dist/models/studioProvisioningStepRequestDtoActorType.js +15 -0
- package/dist/models/studioResponseDto.d.ts +57 -0
- package/dist/models/studioResponseDto.js +2 -0
- package/dist/models/studioResponseDtoAgentSlug.d.ts +14 -0
- package/dist/models/studioResponseDtoAgentSlug.js +9 -0
- package/dist/models/studioResponseDtoDescription.d.ts +13 -0
- package/dist/models/studioResponseDtoDescription.js +9 -0
- package/dist/models/studioResponseDtoFailureReason.d.ts +14 -0
- package/dist/models/studioResponseDtoFailureReason.js +9 -0
- package/dist/models/studioResponseDtoLatestPrUrl.d.ts +14 -0
- package/dist/models/studioResponseDtoLatestPrUrl.js +9 -0
- package/dist/models/studioResponseDtoSessionId.d.ts +14 -0
- package/dist/models/studioResponseDtoSessionId.js +9 -0
- package/dist/models/updateStudioDto.d.ts +21 -0
- package/dist/models/updateStudioDto.js +9 -0
- package/dist/models/webappDetectState.d.ts +13 -0
- package/dist/models/webappDetectState.js +15 -0
- package/dist/models/webappKind.d.ts +15 -0
- package/dist/models/webappKind.js +14 -0
- package/dist/models/webappStudioStatus.d.ts +13 -0
- package/dist/models/webappStudioStatus.js +15 -0
- package/package.json +18 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
export interface OpenPrResponseDto {
|
|
9
|
+
/** URL of the PR opened (or refreshed) from the working branch. */
|
|
10
|
+
prUrl: string;
|
|
11
|
+
/** Branch the PR was opened from. */
|
|
12
|
+
branch: string;
|
|
13
|
+
/** True when this call CREATED a new PR; false when an existing PR was already open and we returned its URL idempotently. */
|
|
14
|
+
created?: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Purpose tag the pool stamped at provision time. `app_dev` for the studio dev DB, `app_prod` for the promoted prod DB.
|
|
10
|
+
*/
|
|
11
|
+
export type OrgDatabasePurpose = typeof OrgDatabasePurpose[keyof typeof OrgDatabasePurpose];
|
|
12
|
+
export declare const OrgDatabasePurpose: {
|
|
13
|
+
readonly biome: "biome";
|
|
14
|
+
readonly app_dev: "app_dev";
|
|
15
|
+
readonly app_prod: "app_prod";
|
|
16
|
+
readonly system: "system";
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.OrgDatabasePurpose = void 0;
|
|
11
|
+
exports.OrgDatabasePurpose = {
|
|
12
|
+
biome: 'biome',
|
|
13
|
+
app_dev: 'app_dev',
|
|
14
|
+
app_prod: 'app_prod',
|
|
15
|
+
system: 'system',
|
|
16
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Provisioning lifecycle state.
|
|
10
|
+
*/
|
|
11
|
+
export type OrgDatabaseStatus = typeof OrgDatabaseStatus[keyof typeof OrgDatabaseStatus];
|
|
12
|
+
export declare const OrgDatabaseStatus: {
|
|
13
|
+
readonly provisioning: "provisioning";
|
|
14
|
+
readonly active: "active";
|
|
15
|
+
readonly migrating: "migrating";
|
|
16
|
+
readonly failed: "failed";
|
|
17
|
+
readonly archived: "archived";
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.OrgDatabaseStatus = void 0;
|
|
11
|
+
exports.OrgDatabaseStatus = {
|
|
12
|
+
provisioning: 'provisioning',
|
|
13
|
+
active: 'active',
|
|
14
|
+
migrating: 'migrating',
|
|
15
|
+
failed: 'failed',
|
|
16
|
+
archived: 'archived',
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AppTargetDto } from './appTargetDto';
|
|
9
|
+
export interface PatchStudioAppsDto {
|
|
10
|
+
/**
|
|
11
|
+
* Full replacement list of app targets. Must contain at least one entry; each `slug` must be unique within the list.
|
|
12
|
+
* @minItems 1
|
|
13
|
+
* @maxItems 20
|
|
14
|
+
*/
|
|
15
|
+
appTargets: AppTargetDto[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
export interface ProjectKitAuthInputDto {
|
|
9
|
+
/** Wallet (project- or org-scoped) holding the auth token. */
|
|
10
|
+
walletName: string;
|
|
11
|
+
/** Env-var key, within the resolved wallet, holding the token. */
|
|
12
|
+
tokenEnvVar: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ProjectKitBindingKind } from './projectKitBindingKind';
|
|
9
|
+
import type { ProjectKitKind } from './projectKitKind';
|
|
10
|
+
import type { ProjectKitPurpose } from './projectKitPurpose';
|
|
11
|
+
import type { ProjectKitSourceInputDto } from './projectKitSourceInputDto';
|
|
12
|
+
export interface ProjectKitBindingDto {
|
|
13
|
+
/** Whether the kit is a catalog reference or a user-supplied custom one. */
|
|
14
|
+
binding: ProjectKitBindingKind;
|
|
15
|
+
/** catalog binding: kit slug from GET /project-kits. */
|
|
16
|
+
slug?: string;
|
|
17
|
+
/** custom binding: how the kit is installed. */
|
|
18
|
+
kitKind?: ProjectKitKind;
|
|
19
|
+
/** custom binding: optional purpose hint (defaults to generic-dependency). */
|
|
20
|
+
purpose?: ProjectKitPurpose;
|
|
21
|
+
/** custom binding: inline npm/git source. */
|
|
22
|
+
source?: ProjectKitSourceInputDto;
|
|
23
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Whether the kit is a catalog reference or a user-supplied custom one.
|
|
10
|
+
*/
|
|
11
|
+
export type ProjectKitBindingKind = typeof ProjectKitBindingKind[keyof typeof ProjectKitBindingKind];
|
|
12
|
+
export declare const ProjectKitBindingKind: {
|
|
13
|
+
readonly catalog: "catalog";
|
|
14
|
+
readonly custom: "custom";
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ProjectKitBindingKind = void 0;
|
|
11
|
+
exports.ProjectKitBindingKind = {
|
|
12
|
+
catalog: 'catalog',
|
|
13
|
+
custom: 'custom',
|
|
14
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* custom binding: how the kit is installed.
|
|
10
|
+
*/
|
|
11
|
+
export type ProjectKitKind = typeof ProjectKitKind[keyof typeof ProjectKitKind];
|
|
12
|
+
export declare const ProjectKitKind: {
|
|
13
|
+
readonly 'npm-dependency': "npm-dependency";
|
|
14
|
+
readonly 'shadcn-registry': "shadcn-registry";
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ProjectKitKind = void 0;
|
|
11
|
+
exports.ProjectKitKind = {
|
|
12
|
+
'npm-dependency': 'npm-dependency',
|
|
13
|
+
'shadcn-registry': 'shadcn-registry',
|
|
14
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* custom binding: optional purpose hint (defaults to generic-dependency).
|
|
10
|
+
*/
|
|
11
|
+
export type ProjectKitPurpose = typeof ProjectKitPurpose[keyof typeof ProjectKitPurpose];
|
|
12
|
+
export declare const ProjectKitPurpose: {
|
|
13
|
+
readonly 'component-library': "component-library";
|
|
14
|
+
readonly 'generic-dependency': "generic-dependency";
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ProjectKitPurpose = void 0;
|
|
11
|
+
exports.ProjectKitPurpose = {
|
|
12
|
+
'component-library': 'component-library',
|
|
13
|
+
'generic-dependency': 'generic-dependency',
|
|
14
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ProjectKitAuthInputDto } from './projectKitAuthInputDto';
|
|
9
|
+
import type { ProjectKitSourceKind } from './projectKitSourceKind';
|
|
10
|
+
export interface ProjectKitSourceInputDto {
|
|
11
|
+
/** Whether the package comes from an npm registry or a git repo. */
|
|
12
|
+
kind: ProjectKitSourceKind;
|
|
13
|
+
/** npm-registry: package name (e.g. @acme/widgets). */
|
|
14
|
+
package?: string;
|
|
15
|
+
/** npm-registry: semver range stored into package.json. */
|
|
16
|
+
versionRange?: string;
|
|
17
|
+
/** npm-registry: custom registry URL for a private/scoped package. */
|
|
18
|
+
registryUrl?: string;
|
|
19
|
+
/** npm-registry: npm scope the registry serves. Required when registryUrl is set. */
|
|
20
|
+
scope?: string;
|
|
21
|
+
/** git: HTTPS git URL. */
|
|
22
|
+
gitUrl?: string;
|
|
23
|
+
/** git: tag / branch / commit to pin. */
|
|
24
|
+
ref?: string;
|
|
25
|
+
/** Wallet-backed auth for a private registry/git source. */
|
|
26
|
+
auth?: ProjectKitAuthInputDto;
|
|
27
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Whether the package comes from an npm registry or a git repo.
|
|
10
|
+
*/
|
|
11
|
+
export type ProjectKitSourceKind = typeof ProjectKitSourceKind[keyof typeof ProjectKitSourceKind];
|
|
12
|
+
export declare const ProjectKitSourceKind: {
|
|
13
|
+
readonly 'npm-registry': "npm-registry";
|
|
14
|
+
readonly git: "git";
|
|
15
|
+
readonly 'shadcn-registry': "shadcn-registry";
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ProjectKitSourceKind = void 0;
|
|
11
|
+
exports.ProjectKitSourceKind = {
|
|
12
|
+
'npm-registry': 'npm-registry',
|
|
13
|
+
git: 'git',
|
|
14
|
+
'shadcn-registry': 'shadcn-registry',
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
export interface PromoteToProdDto {
|
|
9
|
+
/**
|
|
10
|
+
* Workspace directory on the worker filesystem that contains the app’s Prisma schema + migrations. Used to run the migration against the freshly-provisioned prod schema.
|
|
11
|
+
* @minLength 1
|
|
12
|
+
* @maxLength 1024
|
|
13
|
+
*/
|
|
14
|
+
workspaceDir: string;
|
|
15
|
+
/** When true, copy dev rows into the fresh prod schema after the migration completes. STUB in Phase D — the request fails fast with 501 NotImplemented if true. */
|
|
16
|
+
copyData: boolean;
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AppDbResponseDto } from './appDbResponseDto';
|
|
9
|
+
export interface PromoteToProdResponseDto {
|
|
10
|
+
/** Dev DB projection at the moment of promotion. */
|
|
11
|
+
dev: AppDbResponseDto;
|
|
12
|
+
/** Prod DB projection — freshly provisioned (or re-used) and migrated against the dev workspace’s migration package. */
|
|
13
|
+
prod: AppDbResponseDto;
|
|
14
|
+
/** org-database-pool-api migration-run id for the prod run. */
|
|
15
|
+
migrationRunId: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
import type { WebappStudioStatus } from './webappStudioStatus';
|
|
9
|
+
export type StudioControllerListParams = {
|
|
10
|
+
status?: WebappStudioStatus;
|
|
11
|
+
/**
|
|
12
|
+
* Include archived studios in results. Defaults to false so the main list endpoint hides terminated rows at the DB level. Ignored when `status` is provided explicitly — that filter wins.
|
|
13
|
+
*/
|
|
14
|
+
includeArchived?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Filter by creator user id.
|
|
17
|
+
*/
|
|
18
|
+
createdBy?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Filter by repoRef (`<owner>/<repo>`).
|
|
21
|
+
*/
|
|
22
|
+
repoRef?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @minimum 1
|
|
25
|
+
*/
|
|
26
|
+
page?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @minimum 1
|
|
29
|
+
* @maximum 100
|
|
30
|
+
*/
|
|
31
|
+
limit?: number;
|
|
32
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
import type { StudioProvisioningFailRequestDtoActorType } from './studioProvisioningFailRequestDtoActorType';
|
|
9
|
+
export interface StudioProvisioningFailRequestDto {
|
|
10
|
+
/** User the provisioning runs on behalf of. */
|
|
11
|
+
actorId: string;
|
|
12
|
+
/** Audit attribution forwarded to agent-session-api. */
|
|
13
|
+
actorType: StudioProvisioningFailRequestDtoActorType;
|
|
14
|
+
/** Correlation id for audit-log joining. */
|
|
15
|
+
correlationId: string;
|
|
16
|
+
/** Human-readable provisioning failure reason. */
|
|
17
|
+
reason: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Audit attribution forwarded to agent-session-api.
|
|
10
|
+
*/
|
|
11
|
+
export type StudioProvisioningFailRequestDtoActorType = typeof StudioProvisioningFailRequestDtoActorType[keyof typeof StudioProvisioningFailRequestDtoActorType];
|
|
12
|
+
export declare const StudioProvisioningFailRequestDtoActorType: {
|
|
13
|
+
readonly human: "human";
|
|
14
|
+
readonly agent: "agent";
|
|
15
|
+
readonly service: "service";
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.StudioProvisioningFailRequestDtoActorType = void 0;
|
|
11
|
+
exports.StudioProvisioningFailRequestDtoActorType = {
|
|
12
|
+
human: 'human',
|
|
13
|
+
agent: 'agent',
|
|
14
|
+
service: 'service',
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
import type { StudioProvisioningStepRequestDtoActorType } from './studioProvisioningStepRequestDtoActorType';
|
|
9
|
+
export interface StudioProvisioningStepRequestDto {
|
|
10
|
+
/** User the provisioning runs on behalf of. */
|
|
11
|
+
actorId: string;
|
|
12
|
+
/** Audit attribution forwarded to agent-session-api. */
|
|
13
|
+
actorType: StudioProvisioningStepRequestDtoActorType;
|
|
14
|
+
/** Correlation id for audit-log joining. */
|
|
15
|
+
correlationId: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Audit attribution forwarded to agent-session-api.
|
|
10
|
+
*/
|
|
11
|
+
export type StudioProvisioningStepRequestDtoActorType = typeof StudioProvisioningStepRequestDtoActorType[keyof typeof StudioProvisioningStepRequestDtoActorType];
|
|
12
|
+
export declare const StudioProvisioningStepRequestDtoActorType: {
|
|
13
|
+
readonly human: "human";
|
|
14
|
+
readonly agent: "agent";
|
|
15
|
+
readonly service: "service";
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.StudioProvisioningStepRequestDtoActorType = void 0;
|
|
11
|
+
exports.StudioProvisioningStepRequestDtoActorType = {
|
|
12
|
+
human: 'human',
|
|
13
|
+
agent: 'agent',
|
|
14
|
+
service: 'service',
|
|
15
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
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 { WebappStudioStatus } from './webappStudioStatus';
|
|
16
|
+
export interface StudioResponseDto {
|
|
17
|
+
id: string;
|
|
18
|
+
orgId: string;
|
|
19
|
+
projectId: string;
|
|
20
|
+
title: string;
|
|
21
|
+
/** @nullable */
|
|
22
|
+
description?: StudioResponseDtoDescription;
|
|
23
|
+
status: WebappStudioStatus;
|
|
24
|
+
/**
|
|
25
|
+
* Active agent-session id. Null during CREATING, or after a restart while the fresh session is provisioning.
|
|
26
|
+
* @nullable
|
|
27
|
+
*/
|
|
28
|
+
sessionId?: StudioResponseDtoSessionId;
|
|
29
|
+
/** Audit of sessions superseded by /restart. */
|
|
30
|
+
previousSessionIds: string[];
|
|
31
|
+
/** Repo identifier this studio mounts read-write. `<owner>/<repo>` shape — matches `repoFullName` on project-registry-api and `repoRef` on the AWP composer. */
|
|
32
|
+
repoRef: string;
|
|
33
|
+
/** Next.js app targets inside the repo. */
|
|
34
|
+
appTargets: AppTargetDto[];
|
|
35
|
+
/** Project Kits attached to this studio and installed into the repo at session start — catalog and/or user-supplied custom bindings. */
|
|
36
|
+
projectKits: ProjectKitBindingDto[];
|
|
37
|
+
/** Long-lived working branch the session pushes to. Typically `xema/webapp/<projectId>`. */
|
|
38
|
+
workingBranch: string;
|
|
39
|
+
/**
|
|
40
|
+
* Most recent PR URL opened from `workingBranch`. Null until the first successful `/open-pr` call.
|
|
41
|
+
* @nullable
|
|
42
|
+
*/
|
|
43
|
+
latestPrUrl?: StudioResponseDtoLatestPrUrl;
|
|
44
|
+
/**
|
|
45
|
+
* Human-readable error when create or archive failed. Null on healthy rows.
|
|
46
|
+
* @nullable
|
|
47
|
+
*/
|
|
48
|
+
failureReason?: StudioResponseDtoFailureReason;
|
|
49
|
+
/**
|
|
50
|
+
* Primary-agent slug currently bound to the underlying session. Null = follow the workspace manifest default (`webapp-coordinator`).
|
|
51
|
+
* @nullable
|
|
52
|
+
*/
|
|
53
|
+
agentSlug?: StudioResponseDtoAgentSlug;
|
|
54
|
+
createdBy: string;
|
|
55
|
+
createdAt: string;
|
|
56
|
+
updatedAt: string;
|
|
57
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Primary-agent slug currently bound to the underlying session. Null = follow the workspace manifest default (`webapp-coordinator`).
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type StudioResponseDtoAgentSlug = {
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
} | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type StudioResponseDtoDescription = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
} | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|