@xemahq/biome-host-api-client 0.3.15 → 0.3.16

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.
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * Biome Host API
4
+ * OpenAPI spec version: 0.1.1
5
+ */
6
+ import type { SharedAdapterHostStatusDtoDataEnvelope } from '../../models';
7
+ export declare const getSharedAdapterHostStatusControllerGetUrl: () => string;
8
+ /**
9
+ * @summary Report whether the shared adapter host mounted every host module the active distribution selected, and list any module refused for want of verifiable provenance (each of which runs in a dedicated container).
10
+ */
11
+ export declare const sharedAdapterHostStatusControllerGet: (options?: RequestInit) => Promise<SharedAdapterHostStatusDtoDataEnvelope>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sharedAdapterHostStatusControllerGet = exports.getSharedAdapterHostStatusControllerGetUrl = void 0;
4
+ const custom_fetch_1 = require("../../custom-fetch");
5
+ const getSharedAdapterHostStatusControllerGetUrl = () => {
6
+ return `/platform/biomes/shared-adapter-host-status`;
7
+ };
8
+ exports.getSharedAdapterHostStatusControllerGetUrl = getSharedAdapterHostStatusControllerGetUrl;
9
+ /**
10
+ * @summary Report whether the shared adapter host mounted every host module the active distribution selected, and list any module refused for want of verifiable provenance (each of which runs in a dedicated container).
11
+ */
12
+ const sharedAdapterHostStatusControllerGet = async (options) => {
13
+ return (0, custom_fetch_1.customFetch)((0, exports.getSharedAdapterHostStatusControllerGetUrl)(), {
14
+ ...options,
15
+ method: 'GET'
16
+ });
17
+ };
18
+ exports.sharedAdapterHostStatusControllerGet = sharedAdapterHostStatusControllerGet;
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export * from './endpoints/platform-biomes-contribution-sync/platform-biomes-con
11
11
  export * from './endpoints/platform-biomes-enablement/platform-biomes-enablement';
12
12
  export * from './endpoints/platform-biomes-quarantine/platform-biomes-quarantine';
13
13
  export * from './endpoints/platform-biomes-server/platform-biomes-server';
14
+ export * from './endpoints/platform-biomes-shared-adapter-host/platform-biomes-shared-adapter-host';
14
15
  export * from './endpoints/platform-biomes-web/platform-biomes-web';
15
16
  export * from './endpoints/platform-runner-enrollments/platform-runner-enrollments';
16
17
  export * from './endpoints/platform-runtime-health/platform-runtime-health';
package/dist/index.js CHANGED
@@ -33,6 +33,7 @@ __exportStar(require("./endpoints/platform-biomes-contribution-sync/platform-bio
33
33
  __exportStar(require("./endpoints/platform-biomes-enablement/platform-biomes-enablement"), exports);
34
34
  __exportStar(require("./endpoints/platform-biomes-quarantine/platform-biomes-quarantine"), exports);
35
35
  __exportStar(require("./endpoints/platform-biomes-server/platform-biomes-server"), exports);
36
+ __exportStar(require("./endpoints/platform-biomes-shared-adapter-host/platform-biomes-shared-adapter-host"), exports);
36
37
  __exportStar(require("./endpoints/platform-biomes-web/platform-biomes-web"), exports);
37
38
  __exportStar(require("./endpoints/platform-runner-enrollments/platform-runner-enrollments"), exports);
38
39
  __exportStar(require("./endpoints/platform-runtime-health/platform-runtime-health"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * Biome Host API
4
+ * OpenAPI spec version: 0.1.1
5
+ */
6
+ /**
7
+ * The fetcher's provenance verdict on the bundle. Only `first-party-runtime` — a bundle carrying a valid signature from a configured trust anchor — may share the shared adapter host process. A bundle that never claimed a signature is `third-party` and gets a container of its own instead.
8
+ */
9
+ export type BundleTrustTier = typeof BundleTrustTier[keyof typeof BundleTrustTier];
10
+ export declare const BundleTrustTier: {
11
+ readonly 'first-party-runtime': "first-party-runtime";
12
+ readonly 'third-party': "third-party";
13
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by @xemahq/api-client-generator — do not edit manually.
4
+ * Biome Host API
5
+ * OpenAPI spec version: 0.1.1
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.BundleTrustTier = void 0;
9
+ exports.BundleTrustTier = {
10
+ 'first-party-runtime': 'first-party-runtime',
11
+ 'third-party': 'third-party',
12
+ };
@@ -61,6 +61,7 @@ export * from './biomeScope';
61
61
  export * from './biomeTarget';
62
62
  export * from './biomeTier';
63
63
  export * from './breakGlassRevokeRunnerEnrollmentDto';
64
+ export * from './bundleTrustTier';
64
65
  export * from './capabilityDescriptorValidationDto';
65
66
  export * from './capabilityDescriptorValidationDtoDataEnvelope';
66
67
  export * from './capabilityDescriptorValidationDtoManifest';
@@ -109,6 +110,7 @@ export * from './platformSettingsControllerRemove200';
109
110
  export * from './platformSettingsControllerRemoveParams';
110
111
  export * from './promoteBiomeInstallationDto';
111
112
  export * from './quarantinedBiomeDto';
113
+ export * from './refusedHostModuleDto';
112
114
  export * from './requestApprovalDto';
113
115
  export * from './resourceManagedBy';
114
116
  export * from './rotateRunnerEnrollmentDto';
@@ -152,6 +154,10 @@ export * from './serviceMeshEntryDto';
152
154
  export * from './serviceMeshResponseDto';
153
155
  export * from './serviceMeshResponseDtoDataEnvelope';
154
156
  export * from './setBiomeAvailabilityDto';
157
+ export * from './sharedAdapterHostStatusDto';
158
+ export * from './sharedAdapterHostStatusDtoDataEnvelope';
159
+ export * from './sharedAdapterHostStatusDtoDistributionId';
160
+ export * from './sharedAdapterHostStatusDtoReconciledAt';
155
161
  export * from './spaceKind';
156
162
  export * from './subjectKind';
157
163
  export * from './surfaceKindValidationDto';
@@ -78,6 +78,7 @@ __exportStar(require("./biomeScope"), exports);
78
78
  __exportStar(require("./biomeTarget"), exports);
79
79
  __exportStar(require("./biomeTier"), exports);
80
80
  __exportStar(require("./breakGlassRevokeRunnerEnrollmentDto"), exports);
81
+ __exportStar(require("./bundleTrustTier"), exports);
81
82
  __exportStar(require("./capabilityDescriptorValidationDto"), exports);
82
83
  __exportStar(require("./capabilityDescriptorValidationDtoDataEnvelope"), exports);
83
84
  __exportStar(require("./capabilityDescriptorValidationDtoManifest"), exports);
@@ -126,6 +127,7 @@ __exportStar(require("./platformSettingsControllerRemove200"), exports);
126
127
  __exportStar(require("./platformSettingsControllerRemoveParams"), exports);
127
128
  __exportStar(require("./promoteBiomeInstallationDto"), exports);
128
129
  __exportStar(require("./quarantinedBiomeDto"), exports);
130
+ __exportStar(require("./refusedHostModuleDto"), exports);
129
131
  __exportStar(require("./requestApprovalDto"), exports);
130
132
  __exportStar(require("./resourceManagedBy"), exports);
131
133
  __exportStar(require("./rotateRunnerEnrollmentDto"), exports);
@@ -169,6 +171,10 @@ __exportStar(require("./serviceMeshEntryDto"), exports);
169
171
  __exportStar(require("./serviceMeshResponseDto"), exports);
170
172
  __exportStar(require("./serviceMeshResponseDtoDataEnvelope"), exports);
171
173
  __exportStar(require("./setBiomeAvailabilityDto"), exports);
174
+ __exportStar(require("./sharedAdapterHostStatusDto"), exports);
175
+ __exportStar(require("./sharedAdapterHostStatusDtoDataEnvelope"), exports);
176
+ __exportStar(require("./sharedAdapterHostStatusDtoDistributionId"), exports);
177
+ __exportStar(require("./sharedAdapterHostStatusDtoReconciledAt"), exports);
172
178
  __exportStar(require("./spaceKind"), exports);
173
179
  __exportStar(require("./subjectKind"), exports);
174
180
  __exportStar(require("./surfaceKindValidationDto"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * Biome Host API
4
+ * OpenAPI spec version: 0.1.1
5
+ */
6
+ import type { BundleTrustTier } from './bundleTrustTier.js';
7
+ export interface RefusedHostModuleDto {
8
+ biomeId: string;
9
+ version: string;
10
+ componentKey: string;
11
+ /** The fetcher's provenance verdict on the bundle. Only `first-party-runtime` — a bundle carrying a valid signature from a configured trust anchor — may share the shared adapter host process. A bundle that never claimed a signature is `third-party` and gets a container of its own instead. */
12
+ trustTier: BundleTrustTier;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * Biome Host API
4
+ * OpenAPI spec version: 0.1.1
5
+ */
6
+ import type { RefusedHostModuleDto } from './refusedHostModuleDto.js';
7
+ import type { SharedAdapterHostStatusDtoDistributionId } from './sharedAdapterHostStatusDtoDistributionId.js';
8
+ import type { SharedAdapterHostStatusDtoReconciledAt } from './sharedAdapterHostStatusDtoReconciledAt.js';
9
+ export interface SharedAdapterHostStatusDto {
10
+ /** False until this replica has run its bootstrap reconcile. A 200 with `reconciled: false` rather than a 404, because "nobody has reconciled yet" and "this endpoint does not exist" are different facts. */
11
+ reconciled: boolean;
12
+ /**
13
+ * Active distribution whose lock produced the roster, or null when this replica has not reconciled.
14
+ * @nullable
15
+ */
16
+ distributionId: SharedAdapterHostStatusDtoDistributionId;
17
+ /**
18
+ * ISO-8601 instant of the last reconcile on this replica.
19
+ * @nullable
20
+ */
21
+ reconciledAt: SharedAdapterHostStatusDtoReconciledAt;
22
+ /** Biomes whose host modules ARE mounted in the shared adapter host. */
23
+ admittedBiomeIds: string[];
24
+ /** Modules the distribution selected that were refused the shared host. Each runs in a dedicated container instead. */
25
+ refused: RefusedHostModuleDto[];
26
+ /** True iff the distribution selected at least one host module that could not be co-hosted, so the deployment is running more containers than its distribution describes. */
27
+ degraded: boolean;
28
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * Biome Host API
4
+ * OpenAPI spec version: 0.1.1
5
+ */
6
+ import type { SharedAdapterHostStatusDto } from './sharedAdapterHostStatusDto.js';
7
+ export interface SharedAdapterHostStatusDtoDataEnvelope {
8
+ data: SharedAdapterHostStatusDto;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * Biome Host API
4
+ * OpenAPI spec version: 0.1.1
5
+ */
6
+ /**
7
+ * Active distribution whose lock produced the roster, or null when this replica has not reconciled.
8
+ * @nullable
9
+ */
10
+ export type SharedAdapterHostStatusDtoDistributionId = {
11
+ [key: string]: unknown;
12
+ } | null;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by @xemahq/api-client-generator — do not edit manually.
4
+ * Biome Host API
5
+ * OpenAPI spec version: 0.1.1
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by @xemahq/api-client-generator — do not edit manually.
3
+ * Biome Host API
4
+ * OpenAPI spec version: 0.1.1
5
+ */
6
+ /**
7
+ * ISO-8601 instant of the last reconcile on this replica.
8
+ * @nullable
9
+ */
10
+ export type SharedAdapterHostStatusDtoReconciledAt = {
11
+ [key: string]: unknown;
12
+ } | null;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by @xemahq/api-client-generator — do not edit manually.
4
+ * Biome Host API
5
+ * OpenAPI spec version: 0.1.1
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/biome-host-api-client",
3
- "version": "0.3.15",
3
+ "version": "0.3.16",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -19,7 +19,7 @@
19
19
  "service": "biome-host-api",
20
20
  "biome": "biome-host",
21
21
  "target": "server",
22
- "generator": "@xemahq/api-client-generator@0.15.0",
22
+ "generator": "@xemahq/api-client-generator@0.15.2",
23
23
  "source": "openapi.public.json"
24
24
  },
25
25
  "license": "LicenseRef-Xema-BSL-1.1",