@xemahq/biome-host-api-client 0.1.4 → 0.1.6
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/dist/endpoints/authoring/authoring.d.ts +23 -0
- package/dist/endpoints/authoring/authoring.js +52 -0
- package/dist/endpoints/biome-installations/biome-installations.d.ts +2 -2
- package/dist/endpoints/platform-biomes-enablement/platform-biomes-enablement.d.ts +6 -1
- package/dist/endpoints/platform-biomes-enablement/platform-biomes-enablement.js +15 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/authorBiomeBundleDto.d.ts +27 -0
- package/dist/models/authorBiomeBundleResponseDto.d.ts +17 -0
- package/dist/models/{xemaSubjectRefDto.d.ts → authorBiomeBundleResponseDtoDataEnvelope.d.ts} +3 -3
- package/dist/models/authoredBiomeBundleDto.d.ts +19 -0
- package/dist/models/authoredFileDto.d.ts +13 -0
- package/dist/models/authoringIssueCode.d.ts +15 -0
- package/dist/models/authoringIssueCode.js +14 -0
- package/dist/models/authoringIssueDto.d.ts +16 -0
- package/dist/models/authoringIssueDto.js +2 -0
- package/dist/models/backfillEnablementResponseDto.d.ts +14 -0
- package/dist/models/backfillEnablementResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/backfillEnablementResponseDtoDataEnvelope.js +2 -0
- package/dist/models/{biomeIntegrationRequirementDto.d.ts → biomeConnectorRequirementDto.d.ts} +1 -1
- package/dist/models/biomeInstallationsControllerCreateChain201.d.ts +11 -0
- package/dist/models/biomeInstallationsControllerCreateChain201.js +2 -0
- package/dist/models/biomeKind.d.ts +17 -0
- package/dist/models/{objectLifecycle.js → biomeKind.js} +6 -5
- package/dist/models/biomeProvidesDto.d.ts +17 -0
- package/dist/models/biomeProvidesDto.js +2 -0
- package/dist/models/biomeProvidesDtoTarget.d.ts +12 -0
- package/dist/models/biomeProvidesDtoTarget.js +14 -0
- package/dist/models/biomeTarget.d.ts +15 -0
- package/dist/models/biomeTarget.js +14 -0
- package/dist/models/biomeTier.d.ts +17 -0
- package/dist/models/biomeTier.js +16 -0
- package/dist/models/capabilityDescriptorValidationDto.d.ts +23 -0
- package/dist/models/capabilityDescriptorValidationDto.js +2 -0
- package/dist/models/capabilityDescriptorValidationDtoDataEnvelope.d.ts +11 -0
- package/dist/models/capabilityDescriptorValidationDtoDataEnvelope.js +2 -0
- package/dist/models/capabilityDescriptorValidationDtoManifest.d.ts +13 -0
- package/dist/models/capabilityManifestSchemaKind.d.ts +15 -0
- package/dist/models/{spaceKind.js → capabilityManifestSchemaKind.js} +4 -9
- package/dist/models/contributionFileGuidanceDto.d.ts +20 -0
- package/dist/models/contributionFileGuidanceDto.js +2 -0
- package/dist/models/contributionKind.d.ts +42 -0
- package/dist/models/contributionKind.js +41 -0
- package/dist/models/index.d.ts +29 -10
- package/dist/models/index.js +29 -10
- package/dist/models/serverBiomeRegistrationResponseDto.d.ts +2 -2
- package/dist/models/surfaceKindValidationDto.d.ts +24 -0
- package/dist/models/surfaceKindValidationDto.js +2 -0
- package/dist/models/{biomeInstallationIntegrationResponseDto.d.ts → surfaceKindValidationDtoDataEnvelope.d.ts} +3 -4
- package/dist/models/surfaceKindValidationDtoDataEnvelope.js +2 -0
- package/dist/models/surfaceKindValidationDtoManifest.d.ts +13 -0
- package/dist/models/surfaceKindValidationDtoManifest.js +9 -0
- package/dist/models/validateCapabilityDescriptorDto.d.ts +12 -0
- package/dist/models/validateCapabilityDescriptorDto.js +2 -0
- package/dist/models/validateCapabilityDescriptorDtoManifest.d.ts +13 -0
- package/dist/models/validateCapabilityDescriptorDtoManifest.js +9 -0
- package/dist/models/validateSurfaceKindDto.d.ts +14 -0
- package/dist/models/validateSurfaceKindDto.js +2 -0
- package/dist/models/validateSurfaceKindDtoManifest.d.ts +13 -0
- package/dist/models/validateSurfaceKindDtoManifest.js +9 -0
- package/dist/models/webBiomeRegistrationResponseDto.d.ts +3 -0
- package/package.json +2 -2
- package/dist/endpoints/describe-objects/describe-objects.d.ts +0 -14
- package/dist/endpoints/describe-objects/describe-objects.js +0 -19
- package/dist/models/biomeInstallationIntegrationBindingInputDto.d.ts +0 -13
- package/dist/models/biomePayloadDto.d.ts +0 -19
- package/dist/models/biomeTrustTier.d.ts +0 -19
- package/dist/models/biomeTrustTier.js +0 -18
- package/dist/models/describeObjectsResponseDto.d.ts +0 -14
- package/dist/models/objectLifecycle.d.ts +0 -16
- package/dist/models/spaceKind.d.ts +0 -20
- package/dist/models/xemaObjectKind.d.ts +0 -50
- package/dist/models/xemaObjectKind.js +0 -49
- package/dist/models/xemaObjectResponseDto.d.ts +0 -25
- package/dist/models/xemaSpaceRefDto.d.ts +0 -16
- /package/dist/models/{biomePayloadDto.js → authorBiomeBundleDto.js} +0 -0
- /package/dist/models/{describeObjectsResponseDto.js → authorBiomeBundleResponseDto.js} +0 -0
- /package/dist/models/{xemaObjectResponseDto.js → authorBiomeBundleResponseDtoDataEnvelope.js} +0 -0
- /package/dist/models/{xemaSpaceRefDto.js → authoredBiomeBundleDto.js} +0 -0
- /package/dist/models/{biomeInstallationIntegrationBindingInputDto.js → authoredFileDto.js} +0 -0
- /package/dist/models/{biomeInstallationIntegrationResponseDto.js → backfillEnablementResponseDto.js} +0 -0
- /package/dist/models/{biomeIntegrationRequirementDto.js → biomeConnectorRequirementDto.js} +0 -0
- /package/dist/models/{xemaSubjectRefDto.js → capabilityDescriptorValidationDtoManifest.js} +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AuthorBiomeBundleDto, AuthorBiomeBundleResponseDtoDataEnvelope, CapabilityDescriptorValidationDtoDataEnvelope, SurfaceKindValidationDtoDataEnvelope, ValidateCapabilityDescriptorDto, ValidateSurfaceKindDto } from '../../models';
|
|
9
|
+
export declare const getBiomeBundleAuthoringControllerAuthorUrl: () => string;
|
|
10
|
+
/**
|
|
11
|
+
* @summary Generate a complete, schema-valid biome bundle (path → content) from a declaration. Writes nothing server-side.
|
|
12
|
+
*/
|
|
13
|
+
export declare const biomeBundleAuthoringControllerAuthor: (authorBiomeBundleDto: AuthorBiomeBundleDto, options?: RequestInit) => Promise<AuthorBiomeBundleResponseDtoDataEnvelope>;
|
|
14
|
+
export declare const getCapabilityDescriptorAuthoringControllerValidateUrl: () => string;
|
|
15
|
+
/**
|
|
16
|
+
* @summary Validate a candidate capability contribution manifest against the kernel schema and return the normalized manifest or field-path-level issues.
|
|
17
|
+
*/
|
|
18
|
+
export declare const capabilityDescriptorAuthoringControllerValidate: (validateCapabilityDescriptorDto: ValidateCapabilityDescriptorDto, options?: RequestInit) => Promise<CapabilityDescriptorValidationDtoDataEnvelope>;
|
|
19
|
+
export declare const getSurfaceKindAuthoringControllerValidateUrl: () => string;
|
|
20
|
+
/**
|
|
21
|
+
* @summary Validate a candidate surface-kind contribution manifest (enforcing the reserved first-party SurfaceKind set) and return the normalized manifest plus how a biome ships it.
|
|
22
|
+
*/
|
|
23
|
+
export declare const surfaceKindAuthoringControllerValidate: (validateSurfaceKindDto: ValidateSurfaceKindDto, options?: RequestInit) => Promise<SurfaceKindValidationDtoDataEnvelope>;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.surfaceKindAuthoringControllerValidate = exports.getSurfaceKindAuthoringControllerValidateUrl = exports.capabilityDescriptorAuthoringControllerValidate = exports.getCapabilityDescriptorAuthoringControllerValidateUrl = exports.biomeBundleAuthoringControllerAuthor = exports.getBiomeBundleAuthoringControllerAuthorUrl = void 0;
|
|
4
|
+
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
const getBiomeBundleAuthoringControllerAuthorUrl = () => {
|
|
6
|
+
return `/authoring/biome-bundle`;
|
|
7
|
+
};
|
|
8
|
+
exports.getBiomeBundleAuthoringControllerAuthorUrl = getBiomeBundleAuthoringControllerAuthorUrl;
|
|
9
|
+
/**
|
|
10
|
+
* @summary Generate a complete, schema-valid biome bundle (path → content) from a declaration. Writes nothing server-side.
|
|
11
|
+
*/
|
|
12
|
+
const biomeBundleAuthoringControllerAuthor = async (authorBiomeBundleDto, options) => {
|
|
13
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getBiomeBundleAuthoringControllerAuthorUrl)(), {
|
|
14
|
+
...options,
|
|
15
|
+
method: 'POST',
|
|
16
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
17
|
+
body: JSON.stringify(authorBiomeBundleDto)
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
exports.biomeBundleAuthoringControllerAuthor = biomeBundleAuthoringControllerAuthor;
|
|
21
|
+
const getCapabilityDescriptorAuthoringControllerValidateUrl = () => {
|
|
22
|
+
return `/authoring/capability-descriptor/validation`;
|
|
23
|
+
};
|
|
24
|
+
exports.getCapabilityDescriptorAuthoringControllerValidateUrl = getCapabilityDescriptorAuthoringControllerValidateUrl;
|
|
25
|
+
/**
|
|
26
|
+
* @summary Validate a candidate capability contribution manifest against the kernel schema and return the normalized manifest or field-path-level issues.
|
|
27
|
+
*/
|
|
28
|
+
const capabilityDescriptorAuthoringControllerValidate = async (validateCapabilityDescriptorDto, options) => {
|
|
29
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getCapabilityDescriptorAuthoringControllerValidateUrl)(), {
|
|
30
|
+
...options,
|
|
31
|
+
method: 'POST',
|
|
32
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
33
|
+
body: JSON.stringify(validateCapabilityDescriptorDto)
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
exports.capabilityDescriptorAuthoringControllerValidate = capabilityDescriptorAuthoringControllerValidate;
|
|
37
|
+
const getSurfaceKindAuthoringControllerValidateUrl = () => {
|
|
38
|
+
return `/authoring/surface-kind/validation`;
|
|
39
|
+
};
|
|
40
|
+
exports.getSurfaceKindAuthoringControllerValidateUrl = getSurfaceKindAuthoringControllerValidateUrl;
|
|
41
|
+
/**
|
|
42
|
+
* @summary Validate a candidate surface-kind contribution manifest (enforcing the reserved first-party SurfaceKind set) and return the normalized manifest plus how a biome ships it.
|
|
43
|
+
*/
|
|
44
|
+
const surfaceKindAuthoringControllerValidate = async (validateSurfaceKindDto, options) => {
|
|
45
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getSurfaceKindAuthoringControllerValidateUrl)(), {
|
|
46
|
+
...options,
|
|
47
|
+
method: 'POST',
|
|
48
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
49
|
+
body: JSON.stringify(validateSurfaceKindDto)
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
exports.surfaceKindAuthoringControllerValidate = surfaceKindAuthoringControllerValidate;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { BiomeInstallationDeleteResponseDtoDataEnvelope, BiomeInstallationResponseDtoDataArrayEnvelope, BiomeInstallationResponseDtoDataEnvelope, BiomeLifecycleTransitionResponseDtoDataEnvelope, BiomeMcpToolsManifestResponseDtoDataEnvelope, ChainInstallBiomesDto, CreateBiomeInstallationDto, LifecycleTransitionAckDto, PromoteBiomeInstallationDto, UpdateBiomeInstallationResourcesDto } from '../../models';
|
|
8
|
+
import type { BiomeInstallationDeleteResponseDtoDataEnvelope, BiomeInstallationResponseDtoDataArrayEnvelope, BiomeInstallationResponseDtoDataEnvelope, BiomeInstallationsControllerCreateChain201, BiomeLifecycleTransitionResponseDtoDataEnvelope, BiomeMcpToolsManifestResponseDtoDataEnvelope, ChainInstallBiomesDto, CreateBiomeInstallationDto, LifecycleTransitionAckDto, PromoteBiomeInstallationDto, UpdateBiomeInstallationResourcesDto } from '../../models';
|
|
9
9
|
export declare const getBiomeInstallationsControllerCreateUrl: (projectId: string) => string;
|
|
10
10
|
/**
|
|
11
11
|
* @summary Install a biome on this project with initial bindings + selectors
|
|
@@ -20,7 +20,7 @@ export declare const getBiomeInstallationsControllerCreateChainUrl: (projectId:
|
|
|
20
20
|
/**
|
|
21
21
|
* @summary Transactionally install a chain of biomes (target plus its dependency closure). The wizard uses this when the user-clicked biome has unresolved `xema.dependencies` — all entries install in a single Prisma transaction, or none do.
|
|
22
22
|
*/
|
|
23
|
-
export declare const biomeInstallationsControllerCreateChain: (projectId: string, chainInstallBiomesDto: ChainInstallBiomesDto, options?: RequestInit) => Promise<
|
|
23
|
+
export declare const biomeInstallationsControllerCreateChain: (projectId: string, chainInstallBiomesDto: ChainInstallBiomesDto, options?: RequestInit) => Promise<BiomeInstallationsControllerCreateChain201>;
|
|
24
24
|
export declare const getBiomeInstallationsControllerGetUrl: (projectId: string, id: string) => string;
|
|
25
25
|
/**
|
|
26
26
|
* @summary Get a single biome installation
|
|
@@ -5,12 +5,17 @@
|
|
|
5
5
|
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { OrgBiomeEffectiveEnablementDtoDataArrayEnvelope, OrgBiomeEffectiveEnablementDtoDataEnvelope, UpdateOrgBiomeEnablementDto } from '../../models';
|
|
8
|
+
import type { BackfillEnablementResponseDtoDataEnvelope, OrgBiomeEffectiveEnablementDtoDataArrayEnvelope, OrgBiomeEffectiveEnablementDtoDataEnvelope, UpdateOrgBiomeEnablementDto } from '../../models';
|
|
9
9
|
export declare const getEnablementControllerListUrl: () => string;
|
|
10
10
|
/**
|
|
11
11
|
* @summary Resolved per-org governance view for every registered biome. Folds in kernel/mandatory rules; consumers MUST treat this as the single source of truth.
|
|
12
12
|
*/
|
|
13
13
|
export declare const enablementControllerList: (options?: RequestInit) => Promise<OrgBiomeEffectiveEnablementDtoDataArrayEnvelope>;
|
|
14
|
+
export declare const getEnablementControllerBackfillUrl: () => string;
|
|
15
|
+
/**
|
|
16
|
+
* @summary Additively enable any newly default-selected (or required) biome the caller's org is missing. Idempotent, never disables/overwrites an existing admin decision, never enables optional biomes. Returns how many rows were added.
|
|
17
|
+
*/
|
|
18
|
+
export declare const enablementControllerBackfill: (options?: RequestInit) => Promise<BackfillEnablementResponseDtoDataEnvelope>;
|
|
14
19
|
export declare const getEnablementControllerPatchUrl: (biomeId: string) => string;
|
|
15
20
|
/**
|
|
16
21
|
* @summary Toggle a biome's state or surfaceMode for the caller's org. Refused (409) for kernel + mandatory biomes.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.enablementControllerPatch = exports.getEnablementControllerPatchUrl = exports.enablementControllerList = exports.getEnablementControllerListUrl = void 0;
|
|
3
|
+
exports.enablementControllerPatch = exports.getEnablementControllerPatchUrl = exports.enablementControllerBackfill = exports.getEnablementControllerBackfillUrl = exports.enablementControllerList = exports.getEnablementControllerListUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
5
|
const getEnablementControllerListUrl = () => {
|
|
6
6
|
return `/platform/biomes/enablement`;
|
|
@@ -16,6 +16,20 @@ const enablementControllerList = async (options) => {
|
|
|
16
16
|
});
|
|
17
17
|
};
|
|
18
18
|
exports.enablementControllerList = enablementControllerList;
|
|
19
|
+
const getEnablementControllerBackfillUrl = () => {
|
|
20
|
+
return `/platform/biomes/enablement/backfill`;
|
|
21
|
+
};
|
|
22
|
+
exports.getEnablementControllerBackfillUrl = getEnablementControllerBackfillUrl;
|
|
23
|
+
/**
|
|
24
|
+
* @summary Additively enable any newly default-selected (or required) biome the caller's org is missing. Idempotent, never disables/overwrites an existing admin decision, never enables optional biomes. Returns how many rows were added.
|
|
25
|
+
*/
|
|
26
|
+
const enablementControllerBackfill = async (options) => {
|
|
27
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getEnablementControllerBackfillUrl)(), {
|
|
28
|
+
...options,
|
|
29
|
+
method: 'POST'
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
exports.enablementControllerBackfill = enablementControllerBackfill;
|
|
19
33
|
const getEnablementControllerPatchUrl = (biomeId) => {
|
|
20
34
|
return `/platform/biomes/enablement/${biomeId}`;
|
|
21
35
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { configureClient, getClientConfig, ClientError, customFetch, type ClientConfig } from './custom-fetch';
|
|
2
2
|
export * from './models';
|
|
3
|
+
export * from './endpoints/authoring/authoring';
|
|
3
4
|
export * from './endpoints/biome-approvals/biome-approvals';
|
|
4
5
|
export * from './endpoints/biome-installations/biome-installations';
|
|
5
6
|
export * from './endpoints/biome-runtime-bindings/biome-runtime-bindings';
|
|
6
7
|
export * from './endpoints/biome-runtimes/biome-runtimes';
|
|
7
|
-
export * from './endpoints/describe-objects/describe-objects';
|
|
8
8
|
export * from './endpoints/org-biome-installations/org-biome-installations';
|
|
9
9
|
export * from './endpoints/platform-biomes-availability/platform-biomes-availability';
|
|
10
10
|
export * from './endpoints/platform-biomes-contribution-sync/platform-biomes-contribution-sync';
|
package/dist/index.js
CHANGED
|
@@ -22,11 +22,11 @@ Object.defineProperty(exports, "getClientConfig", { enumerable: true, get: funct
|
|
|
22
22
|
Object.defineProperty(exports, "ClientError", { enumerable: true, get: function () { return custom_fetch_1.ClientError; } });
|
|
23
23
|
Object.defineProperty(exports, "customFetch", { enumerable: true, get: function () { return custom_fetch_1.customFetch; } });
|
|
24
24
|
__exportStar(require("./models"), exports);
|
|
25
|
+
__exportStar(require("./endpoints/authoring/authoring"), exports);
|
|
25
26
|
__exportStar(require("./endpoints/biome-approvals/biome-approvals"), exports);
|
|
26
27
|
__exportStar(require("./endpoints/biome-installations/biome-installations"), exports);
|
|
27
28
|
__exportStar(require("./endpoints/biome-runtime-bindings/biome-runtime-bindings"), exports);
|
|
28
29
|
__exportStar(require("./endpoints/biome-runtimes/biome-runtimes"), exports);
|
|
29
|
-
__exportStar(require("./endpoints/describe-objects/describe-objects"), exports);
|
|
30
30
|
__exportStar(require("./endpoints/org-biome-installations/org-biome-installations"), exports);
|
|
31
31
|
__exportStar(require("./endpoints/platform-biomes-availability/platform-biomes-availability"), exports);
|
|
32
32
|
__exportStar(require("./endpoints/platform-biomes-contribution-sync/platform-biomes-contribution-sync"), exports);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { BiomeKind } from './biomeKind.js';
|
|
9
|
+
import type { BiomeTier } from './biomeTier.js';
|
|
10
|
+
export interface AuthorBiomeBundleDto {
|
|
11
|
+
/** Kebab-case biome id: 3–63 chars, lowercase letters/digits/dashes, starting with a letter. Becomes `xema.id`, the biome directory name, and the `@xemahq/biomes-<id>` package name. Rejected fail-fast if malformed. */
|
|
12
|
+
biomeId: string;
|
|
13
|
+
/**
|
|
14
|
+
* Human-readable biome name shown in the biome picker.
|
|
15
|
+
* @maxLength 200
|
|
16
|
+
*/
|
|
17
|
+
displayName: string;
|
|
18
|
+
/**
|
|
19
|
+
* One-paragraph description of what the biome does. Also becomes the default `xema.display.summary`.
|
|
20
|
+
* @maxLength 1000
|
|
21
|
+
*/
|
|
22
|
+
description: string;
|
|
23
|
+
/** On-disk SHAPE of the generated biome: `service` = one NestJS API; `web` = a frontend-only surface; `full` = both, wired together via requiresServerBiomes; `connector` = a server biome shipping one connector-adapter module and no API or web surface. */
|
|
24
|
+
kind: BiomeKind;
|
|
25
|
+
/** Dependency tier written to `xema.scope`. `platform` is where a new first-party domain biome belongs; the foundational tiers (`base`, `system`, `kernel`) are deliberate choices. */
|
|
26
|
+
scope: BiomeTier;
|
|
27
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AuthoredBiomeBundleDto } from './authoredBiomeBundleDto.js';
|
|
9
|
+
export interface AuthorBiomeBundleResponseDto {
|
|
10
|
+
/** One entry per generated biome: `service` → 1 server bundle, `web` → 1 web bundle, `full` → both. */
|
|
11
|
+
bundles: AuthoredBiomeBundleDto[];
|
|
12
|
+
/**
|
|
13
|
+
* Total number of files across every bundle.
|
|
14
|
+
* @minimum 1
|
|
15
|
+
*/
|
|
16
|
+
fileCount: number;
|
|
17
|
+
}
|
package/dist/models/{xemaSubjectRefDto.d.ts → authorBiomeBundleResponseDtoDataEnvelope.d.ts}
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
import type { AuthorBiomeBundleResponseDto } from './authorBiomeBundleResponseDto.js';
|
|
9
|
+
export interface AuthorBiomeBundleResponseDtoDataEnvelope {
|
|
10
|
+
data: AuthorBiomeBundleResponseDto;
|
|
11
11
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AuthoredFileDto } from './authoredFileDto.js';
|
|
9
|
+
import type { BiomeTarget } from './biomeTarget.js';
|
|
10
|
+
export interface AuthoredBiomeBundleDto {
|
|
11
|
+
/** Runtime surface this bundle ships for. `server` bundles go under the repo's server-biomes directory; `web` bundles under the host's web-biomes directory. */
|
|
12
|
+
target: BiomeTarget;
|
|
13
|
+
/** The `xema.id` of THIS bundle. A `full` declaration's web bundle carries the `-web` suffixed id, not the declared one. */
|
|
14
|
+
biomeId: string;
|
|
15
|
+
/** Directory to create, relative to the caller's biomes root for this target. Server bundles use `<id>`; web bundles are tiered as `<scope>/<id>-web`. */
|
|
16
|
+
relativeRoot: string;
|
|
17
|
+
/** Every file of the bundle, sorted by path. Includes the `xema-biome.json` manifest, which already satisfies the canonical BiomeManifestSchema. */
|
|
18
|
+
files: AuthoredFileDto[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface AuthoredFileDto {
|
|
9
|
+
/** Path relative to the bundle root (`relativeRoot`). Always POSIX-separated; parent directories are implied and must be created by the caller. */
|
|
10
|
+
path: string;
|
|
11
|
+
/** Complete UTF-8 file content. Written verbatim, never templated further. */
|
|
12
|
+
content: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Closed-set classification of the violation.
|
|
10
|
+
*/
|
|
11
|
+
export type AuthoringIssueCode = typeof AuthoringIssueCode[keyof typeof AuthoringIssueCode];
|
|
12
|
+
export declare const AuthoringIssueCode: {
|
|
13
|
+
readonly 'schema-violation': "schema-violation";
|
|
14
|
+
readonly 'reserved-first-party-kind': "reserved-first-party-kind";
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Biome Host API
|
|
6
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.AuthoringIssueCode = void 0;
|
|
11
|
+
exports.AuthoringIssueCode = {
|
|
12
|
+
'schema-violation': 'schema-violation',
|
|
13
|
+
'reserved-first-party-kind': 'reserved-first-party-kind',
|
|
14
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AuthoringIssueCode } from './authoringIssueCode.js';
|
|
9
|
+
export interface AuthoringIssueDto {
|
|
10
|
+
/** Dot-joined field path inside the candidate manifest (array indices appear as numeric segments). `(root)` means the issue applies to the manifest as a whole. */
|
|
11
|
+
path: string;
|
|
12
|
+
/** Human- and agent-readable description of the violation. */
|
|
13
|
+
message: string;
|
|
14
|
+
/** Closed-set classification of the violation. */
|
|
15
|
+
code: AuthoringIssueCode;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface BackfillEnablementResponseDto {
|
|
9
|
+
/**
|
|
10
|
+
* Number of default-selected biome enablement rows newly added for the org (0 = already up to date).
|
|
11
|
+
* @minimum 0
|
|
12
|
+
*/
|
|
13
|
+
added: number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { BackfillEnablementResponseDto } from './backfillEnablementResponseDto.js';
|
|
9
|
+
export interface BackfillEnablementResponseDtoDataEnvelope {
|
|
10
|
+
data: BackfillEnablementResponseDto;
|
|
11
|
+
}
|
package/dist/models/{biomeIntegrationRequirementDto.d.ts → biomeConnectorRequirementDto.d.ts}
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface BiomeConnectorRequirementDto {
|
|
9
9
|
adapterKind: string;
|
|
10
10
|
optional?: boolean;
|
|
11
11
|
purpose: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { BiomeInstallationResponseDto } from './biomeInstallationResponseDto.js';
|
|
9
|
+
export type BiomeInstallationsControllerCreateChain201 = {
|
|
10
|
+
data: BiomeInstallationResponseDto[];
|
|
11
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* On-disk SHAPE of the generated biome: `service` = one NestJS API; `web` = a frontend-only surface; `full` = both, wired together via requiresServerBiomes; `connector` = a server biome shipping one connector-adapter module and no API or web surface.
|
|
10
|
+
*/
|
|
11
|
+
export type BiomeKind = typeof BiomeKind[keyof typeof BiomeKind];
|
|
12
|
+
export declare const BiomeKind: {
|
|
13
|
+
readonly service: "service";
|
|
14
|
+
readonly web: "web";
|
|
15
|
+
readonly full: "full";
|
|
16
|
+
readonly connector: "connector";
|
|
17
|
+
};
|
|
@@ -7,9 +7,10 @@
|
|
|
7
7
|
* OpenAPI spec version: 0.1.0
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
exports.BiomeKind = void 0;
|
|
11
|
+
exports.BiomeKind = {
|
|
12
|
+
service: 'service',
|
|
13
|
+
web: 'web',
|
|
14
|
+
full: 'full',
|
|
15
|
+
connector: 'connector',
|
|
15
16
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { BiomeProvidesDtoTarget } from './biomeProvidesDtoTarget.js';
|
|
9
|
+
export interface BiomeProvidesDto {
|
|
10
|
+
/** Names of the API services this biome ships (empty for pure web biomes). */
|
|
11
|
+
services: string[];
|
|
12
|
+
/** Count of shipped API services. */
|
|
13
|
+
serviceCount: number;
|
|
14
|
+
/** Server biome ids this biome depends on. */
|
|
15
|
+
requiresBiomes: string[];
|
|
16
|
+
target: BiomeProvidesDtoTarget;
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type BiomeProvidesDtoTarget = typeof BiomeProvidesDtoTarget[keyof typeof BiomeProvidesDtoTarget];
|
|
9
|
+
export declare const BiomeProvidesDtoTarget: {
|
|
10
|
+
readonly server: "server";
|
|
11
|
+
readonly web: "web";
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Biome Host API
|
|
6
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.BiomeProvidesDtoTarget = void 0;
|
|
11
|
+
exports.BiomeProvidesDtoTarget = {
|
|
12
|
+
server: 'server',
|
|
13
|
+
web: 'web',
|
|
14
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Runtime surface this bundle ships for. `server` bundles go under the repo's server-biomes directory; `web` bundles under the host's web-biomes directory.
|
|
10
|
+
*/
|
|
11
|
+
export type BiomeTarget = typeof BiomeTarget[keyof typeof BiomeTarget];
|
|
12
|
+
export declare const BiomeTarget: {
|
|
13
|
+
readonly server: "server";
|
|
14
|
+
readonly web: "web";
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Biome Host API
|
|
6
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.BiomeTarget = void 0;
|
|
11
|
+
exports.BiomeTarget = {
|
|
12
|
+
server: 'server',
|
|
13
|
+
web: 'web',
|
|
14
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Dependency tier written to `xema.scope`. `platform` is where a new first-party domain biome belongs; the foundational tiers (`base`, `system`, `kernel`) are deliberate choices.
|
|
10
|
+
*/
|
|
11
|
+
export type BiomeTier = typeof BiomeTier[keyof typeof BiomeTier];
|
|
12
|
+
export declare const BiomeTier: {
|
|
13
|
+
readonly kernel: "kernel";
|
|
14
|
+
readonly system: "system";
|
|
15
|
+
readonly base: "base";
|
|
16
|
+
readonly platform: "platform";
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Biome Host API
|
|
6
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.BiomeTier = void 0;
|
|
11
|
+
exports.BiomeTier = {
|
|
12
|
+
kernel: 'kernel',
|
|
13
|
+
system: 'system',
|
|
14
|
+
base: 'base',
|
|
15
|
+
platform: 'platform',
|
|
16
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AuthoringIssueDto } from './authoringIssueDto.js';
|
|
9
|
+
import type { CapabilityDescriptorValidationDtoManifest } from './capabilityDescriptorValidationDtoManifest.js';
|
|
10
|
+
import type { CapabilityManifestSchemaKind } from './capabilityManifestSchemaKind.js';
|
|
11
|
+
import type { ContributionFileGuidanceDto } from './contributionFileGuidanceDto.js';
|
|
12
|
+
export interface CapabilityDescriptorValidationDto {
|
|
13
|
+
/** True only when the candidate satisfies the kernel schema with zero issues. */
|
|
14
|
+
valid: boolean;
|
|
15
|
+
/** Which kernel schema validated the candidate. Selected from the candidate itself: declaring an `invocation` selects the sync schema. */
|
|
16
|
+
schema: CapabilityManifestSchemaKind;
|
|
17
|
+
/** The NORMALIZED manifest — the candidate as the kernel schema parsed it, with unknown keys stripped. Present only when `valid` is true. Ship this verbatim as the envelope's `manifest`. */
|
|
18
|
+
manifest?: CapabilityDescriptorValidationDtoManifest;
|
|
19
|
+
/** Every violation, one row per offending field. Empty when `valid` is true. Never truncated. */
|
|
20
|
+
issues: AuthoringIssueDto[];
|
|
21
|
+
/** How to ship the validated manifest from a biome. Returned whether or not the candidate is valid, so a failing author can still see the destination. */
|
|
22
|
+
contributionFile: ContributionFileGuidanceDto;
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { CapabilityDescriptorValidationDto } from './capabilityDescriptorValidationDto.js';
|
|
9
|
+
export interface CapabilityDescriptorValidationDtoDataEnvelope {
|
|
10
|
+
data: CapabilityDescriptorValidationDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The NORMALIZED manifest — the candidate as the kernel schema parsed it, with unknown keys stripped. Present only when `valid` is true. Ship this verbatim as the envelope's `manifest`.
|
|
10
|
+
*/
|
|
11
|
+
export type CapabilityDescriptorValidationDtoManifest = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Which kernel schema validated the candidate. Selected from the candidate itself: declaring an `invocation` selects the sync schema.
|
|
10
|
+
*/
|
|
11
|
+
export type CapabilityManifestSchemaKind = typeof CapabilityManifestSchemaKind[keyof typeof CapabilityManifestSchemaKind];
|
|
12
|
+
export declare const CapabilityManifestSchemaKind: {
|
|
13
|
+
readonly 'capability-contribution': "capability-contribution";
|
|
14
|
+
readonly 'capability-sync': "capability-sync";
|
|
15
|
+
};
|
|
@@ -7,13 +7,8 @@
|
|
|
7
7
|
* OpenAPI spec version: 0.1.0
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
project: 'project',
|
|
15
|
-
app: 'app',
|
|
16
|
-
session: 'session',
|
|
17
|
-
biome: 'biome',
|
|
18
|
-
user: 'user',
|
|
10
|
+
exports.CapabilityManifestSchemaKind = void 0;
|
|
11
|
+
exports.CapabilityManifestSchemaKind = {
|
|
12
|
+
'capability-contribution': 'capability-contribution',
|
|
13
|
+
'capability-sync': 'capability-sync',
|
|
19
14
|
};
|