@xemahq/biome-host-api-client 0.3.4 → 0.3.7

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.
@@ -3,17 +3,17 @@
3
3
  * Biome Host API
4
4
  * OpenAPI spec version: 0.1.1
5
5
  */
6
- import type { BiomeInstallationDeleteResponseDtoDataEnvelope, BiomeInstallationResponseDtoDataArrayEnvelope, BiomeInstallationResponseDtoDataEnvelope, BiomeInstallationsControllerCreateChain201, BiomeLifecycleTransitionResponseDtoDataEnvelope, BiomeMcpToolsManifestResponseDtoDataEnvelope, ChainInstallBiomesDto, CreateBiomeInstallationDto, LifecycleTransitionAckDto, PromoteBiomeInstallationDto, UpdateBiomeInstallationResourcesDto } from '../../models';
6
+ import type { BiomeInstallationDeleteResponseDtoDataEnvelope, BiomeInstallationResponseDtoDataArrayEnvelope, BiomeInstallationResponseDtoDataEnvelope, BiomeInstallationsControllerCreateChain201, BiomeInstallationsControllerListParams, BiomeLifecycleTransitionResponseDtoDataEnvelope, BiomeMcpToolsManifestResponseDtoDataEnvelope, ChainInstallBiomesDto, CreateBiomeInstallationDto, LifecycleTransitionAckDto, PromoteBiomeInstallationDto, UpdateBiomeInstallationResourcesDto } from '../../models';
7
7
  export declare const getBiomeInstallationsControllerCreateUrl: (projectId: string) => string;
8
8
  /**
9
9
  * @summary Install a biome on this project with initial bindings + selectors
10
10
  */
11
11
  export declare const biomeInstallationsControllerCreate: (projectId: string, createBiomeInstallationDto: CreateBiomeInstallationDto, options?: RequestInit) => Promise<BiomeInstallationResponseDtoDataEnvelope>;
12
- export declare const getBiomeInstallationsControllerListUrl: (projectId: string) => string;
12
+ export declare const getBiomeInstallationsControllerListUrl: (projectId: string, params?: BiomeInstallationsControllerListParams) => string;
13
13
  /**
14
- * @summary List biome installations for this project
14
+ * @summary List biome installations for this project. Archived installations are excluded unless `includeArchived=true`.
15
15
  */
16
- export declare const biomeInstallationsControllerList: (projectId: string, options?: RequestInit) => Promise<BiomeInstallationResponseDtoDataArrayEnvelope>;
16
+ export declare const biomeInstallationsControllerList: (projectId: string, params?: BiomeInstallationsControllerListParams, options?: RequestInit) => Promise<BiomeInstallationResponseDtoDataArrayEnvelope>;
17
17
  export declare const getBiomeInstallationsControllerCreateChainUrl: (projectId: string) => string;
18
18
  /**
19
19
  * @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.
@@ -18,15 +18,34 @@ const biomeInstallationsControllerCreate = async (projectId, createBiomeInstalla
18
18
  });
19
19
  };
20
20
  exports.biomeInstallationsControllerCreate = biomeInstallationsControllerCreate;
21
- const getBiomeInstallationsControllerListUrl = (projectId) => {
22
- return `/projects/${projectId}/biome-installations`;
21
+ const getBiomeInstallationsControllerListUrl = (projectId, params) => {
22
+ const normalizedParams = new URLSearchParams();
23
+ Object.entries(params || {}).forEach(([key, value]) => {
24
+ if (value === undefined)
25
+ return;
26
+ if (value === null) {
27
+ normalizedParams.append(key, 'null');
28
+ return;
29
+ }
30
+ if (Array.isArray(value)) {
31
+ for (const item of value) {
32
+ if (item === undefined || item === null)
33
+ continue;
34
+ normalizedParams.append(key, item.toString());
35
+ }
36
+ return;
37
+ }
38
+ normalizedParams.append(key, value.toString());
39
+ });
40
+ const stringifiedParams = normalizedParams.toString();
41
+ return stringifiedParams.length > 0 ? `/projects/${projectId}/biome-installations?${stringifiedParams}` : `/projects/${projectId}/biome-installations`;
23
42
  };
24
43
  exports.getBiomeInstallationsControllerListUrl = getBiomeInstallationsControllerListUrl;
25
44
  /**
26
- * @summary List biome installations for this project
45
+ * @summary List biome installations for this project. Archived installations are excluded unless `includeArchived=true`.
27
46
  */
28
- const biomeInstallationsControllerList = async (projectId, options) => {
29
- return (0, custom_fetch_1.customFetch)((0, exports.getBiomeInstallationsControllerListUrl)(projectId), {
47
+ const biomeInstallationsControllerList = async (projectId, params, options) => {
48
+ return (0, custom_fetch_1.customFetch)((0, exports.getBiomeInstallationsControllerListUrl)(projectId, params), {
30
49
  ...options,
31
50
  method: 'GET'
32
51
  });
@@ -3,12 +3,12 @@
3
3
  * Biome Host API
4
4
  * OpenAPI spec version: 0.1.1
5
5
  */
6
- import type { BiomeInstallationResponseDtoDataArrayEnvelope, BiomeInstallationResponseDtoDataEnvelope, CreateBiomeInstallationDto, OrgBiomeInstallationDeleteResponseDtoDataEnvelope, UpdateOrgBiomeInstallationDto } from '../../models';
7
- export declare const getOrgBiomeInstallationsControllerListUrl: () => string;
6
+ import type { BiomeInstallationResponseDtoDataArrayEnvelope, BiomeInstallationResponseDtoDataEnvelope, CreateBiomeInstallationDto, OrgBiomeInstallationDeleteResponseDtoDataEnvelope, OrgBiomeInstallationsControllerListParams, UpdateOrgBiomeInstallationDto } from '../../models';
7
+ export declare const getOrgBiomeInstallationsControllerListUrl: (params?: OrgBiomeInstallationsControllerListParams) => string;
8
8
  /**
9
- * @summary List this org's ORG-SCOPED biome installations (projectId IS NULL).
9
+ * @summary List this org's ORG-SCOPED biome installations (projectId IS NULL). Archived installations are excluded unless `includeArchived=true`.
10
10
  */
11
- export declare const orgBiomeInstallationsControllerList: (options?: RequestInit) => Promise<BiomeInstallationResponseDtoDataArrayEnvelope>;
11
+ export declare const orgBiomeInstallationsControllerList: (params?: OrgBiomeInstallationsControllerListParams, options?: RequestInit) => Promise<BiomeInstallationResponseDtoDataArrayEnvelope>;
12
12
  export declare const getOrgBiomeInstallationsControllerCreateUrl: () => string;
13
13
  /**
14
14
  * @summary Install a biome at ORG scope (projectId IS NULL) with initial config + bindings + selectors. Idempotent on the org-scoped natural key — re-applying the same biome re-pins the spec in place. A remote-bundle biome is fetched + verified and dispatched as ONE org-scoped workload shared by all the org's projects.
@@ -2,15 +2,34 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.orgBiomeInstallationsControllerRemove = exports.getOrgBiomeInstallationsControllerRemoveUrl = exports.orgBiomeInstallationsControllerUpdate = exports.getOrgBiomeInstallationsControllerUpdateUrl = exports.orgBiomeInstallationsControllerGet = exports.getOrgBiomeInstallationsControllerGetUrl = exports.orgBiomeInstallationsControllerCreate = exports.getOrgBiomeInstallationsControllerCreateUrl = exports.orgBiomeInstallationsControllerList = exports.getOrgBiomeInstallationsControllerListUrl = void 0;
4
4
  const custom_fetch_1 = require("../../custom-fetch");
5
- const getOrgBiomeInstallationsControllerListUrl = () => {
6
- return `/org-biome-installations`;
5
+ const getOrgBiomeInstallationsControllerListUrl = (params) => {
6
+ const normalizedParams = new URLSearchParams();
7
+ Object.entries(params || {}).forEach(([key, value]) => {
8
+ if (value === undefined)
9
+ return;
10
+ if (value === null) {
11
+ normalizedParams.append(key, 'null');
12
+ return;
13
+ }
14
+ if (Array.isArray(value)) {
15
+ for (const item of value) {
16
+ if (item === undefined || item === null)
17
+ continue;
18
+ normalizedParams.append(key, item.toString());
19
+ }
20
+ return;
21
+ }
22
+ normalizedParams.append(key, value.toString());
23
+ });
24
+ const stringifiedParams = normalizedParams.toString();
25
+ return stringifiedParams.length > 0 ? `/org-biome-installations?${stringifiedParams}` : `/org-biome-installations`;
7
26
  };
8
27
  exports.getOrgBiomeInstallationsControllerListUrl = getOrgBiomeInstallationsControllerListUrl;
9
28
  /**
10
- * @summary List this org's ORG-SCOPED biome installations (projectId IS NULL).
29
+ * @summary List this org's ORG-SCOPED biome installations (projectId IS NULL). Archived installations are excluded unless `includeArchived=true`.
11
30
  */
12
- const orgBiomeInstallationsControllerList = async (options) => {
13
- return (0, custom_fetch_1.customFetch)((0, exports.getOrgBiomeInstallationsControllerListUrl)(), {
31
+ const orgBiomeInstallationsControllerList = async (params, options) => {
32
+ return (0, custom_fetch_1.customFetch)((0, exports.getOrgBiomeInstallationsControllerListUrl)(params), {
14
33
  ...options,
15
34
  method: 'GET'
16
35
  });
@@ -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 { BiomeQuarantineReportDtoDataEnvelope } from '../../models';
7
+ export declare const getBiomeQuarantineControllerReportUrl: () => string;
8
+ /**
9
+ * @summary Report every biome this replica dropped at scan time because its xema-biome.json could not be read, with the ingestion stage that failed and the parse error verbatim. An empty list means the catalog is whole; a non-empty one means this replica is serving every OTHER biome normally while the listed ones are dark. The replica stays ready either way — a biome that reached quarantine has been proven non-required, so this endpoint is how the gap is noticed.
10
+ */
11
+ export declare const biomeQuarantineControllerReport: (options?: RequestInit) => Promise<BiomeQuarantineReportDtoDataEnvelope>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.biomeQuarantineControllerReport = exports.getBiomeQuarantineControllerReportUrl = void 0;
4
+ const custom_fetch_1 = require("../../custom-fetch");
5
+ const getBiomeQuarantineControllerReportUrl = () => {
6
+ return `/platform/biomes/quarantine`;
7
+ };
8
+ exports.getBiomeQuarantineControllerReportUrl = getBiomeQuarantineControllerReportUrl;
9
+ /**
10
+ * @summary Report every biome this replica dropped at scan time because its xema-biome.json could not be read, with the ingestion stage that failed and the parse error verbatim. An empty list means the catalog is whole; a non-empty one means this replica is serving every OTHER biome normally while the listed ones are dark. The replica stays ready either way — a biome that reached quarantine has been proven non-required, so this endpoint is how the gap is noticed.
11
+ */
12
+ const biomeQuarantineControllerReport = async (options) => {
13
+ return (0, custom_fetch_1.customFetch)((0, exports.getBiomeQuarantineControllerReportUrl)(), {
14
+ ...options,
15
+ method: 'GET'
16
+ });
17
+ };
18
+ exports.biomeQuarantineControllerReport = biomeQuarantineControllerReport;
package/dist/index.d.ts CHANGED
@@ -9,6 +9,7 @@ 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';
11
11
  export * from './endpoints/platform-biomes-enablement/platform-biomes-enablement';
12
+ export * from './endpoints/platform-biomes-quarantine/platform-biomes-quarantine';
12
13
  export * from './endpoints/platform-biomes-server/platform-biomes-server';
13
14
  export * from './endpoints/platform-biomes-web/platform-biomes-web';
14
15
  export * from './endpoints/platform-runner-enrollments/platform-runner-enrollments';
package/dist/index.js CHANGED
@@ -31,6 +31,7 @@ __exportStar(require("./endpoints/org-biome-installations/org-biome-installation
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);
33
33
  __exportStar(require("./endpoints/platform-biomes-enablement/platform-biomes-enablement"), exports);
34
+ __exportStar(require("./endpoints/platform-biomes-quarantine/platform-biomes-quarantine"), exports);
34
35
  __exportStar(require("./endpoints/platform-biomes-server/platform-biomes-server"), exports);
35
36
  __exportStar(require("./endpoints/platform-biomes-web/platform-biomes-web"), exports);
36
37
  __exportStar(require("./endpoints/platform-runner-enrollments/platform-runner-enrollments"), exports);
@@ -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
+ export type BiomeInstallationsControllerListParams = {
7
+ /**
8
+ * Include installations whose lifecycle is `archived`. Default false — `archived` is terminal: archived rows are never resolved and are ineligible for runtime contribution, so listing one advertises an install nothing will route to.
9
+ */
10
+ includeArchived?: boolean;
11
+ };
@@ -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,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 { QuarantinedBiomeDto } from './quarantinedBiomeDto.js';
7
+ export interface BiomeQuarantineReportDto {
8
+ /** False when at least one biome was dropped at scan time. The replica stays READY and keeps serving every other biome — a biome that reached quarantine has been proven non-required — so this flag, not a failing probe, is what says the catalog is incomplete. */
9
+ catalogWhole: boolean;
10
+ quarantinedBiomes: QuarantinedBiomeDto[];
11
+ }
@@ -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 { BiomeQuarantineReportDto } from './biomeQuarantineReportDto.js';
7
+ export interface BiomeQuarantineReportDtoDataEnvelope {
8
+ data: BiomeQuarantineReportDto;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ * WHICH ingestion step failed. MANIFEST_JSON = the file is not valid JSON; MANIFEST_SCHEMA = it parsed but violates the manifest schema. The two have different causes and different fixes.
8
+ */
9
+ export type BiomeQuarantineStage = typeof BiomeQuarantineStage[keyof typeof BiomeQuarantineStage];
10
+ export declare const BiomeQuarantineStage: {
11
+ readonly MANIFEST_JSON: "MANIFEST_JSON";
12
+ readonly MANIFEST_SCHEMA: "MANIFEST_SCHEMA";
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.BiomeQuarantineStage = void 0;
9
+ exports.BiomeQuarantineStage = {
10
+ MANIFEST_JSON: 'MANIFEST_JSON',
11
+ MANIFEST_SCHEMA: 'MANIFEST_SCHEMA',
12
+ };
@@ -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
+ * Which catalog dropped it.
8
+ */
9
+ export type BiomeTarget = typeof BiomeTarget[keyof typeof BiomeTarget];
10
+ export declare const BiomeTarget: {
11
+ readonly SERVER: "SERVER";
12
+ readonly WEB: "WEB";
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.BiomeTarget = void 0;
9
+ exports.BiomeTarget = {
10
+ SERVER: 'SERVER',
11
+ WEB: 'WEB',
12
+ };
@@ -45,6 +45,7 @@ export * from './biomeInstallationResponseDtoDataEnvelope';
45
45
  export * from './biomeInstallationResponseDtoDisabledAt';
46
46
  export * from './biomeInstallationState';
47
47
  export * from './biomeInstallationsControllerCreateChain201';
48
+ export * from './biomeInstallationsControllerListParams';
48
49
  export * from './biomeLifecycle';
49
50
  export * from './biomeLifecycleTransitionResponseDto';
50
51
  export * from './biomeLifecycleTransitionResponseDtoDataEnvelope';
@@ -62,7 +63,11 @@ export * from './biomeProvisioningScaffoldDtoDeclaration';
62
63
  export * from './biomeProvisioningScaffoldDtoTemplates';
63
64
  export * from './biomeProvisioningScaffoldsResponseDto';
64
65
  export * from './biomeProvisioningScaffoldsResponseDtoDataEnvelope';
66
+ export * from './biomeQuarantineReportDto';
67
+ export * from './biomeQuarantineReportDtoDataEnvelope';
68
+ export * from './biomeQuarantineStage';
65
69
  export * from './biomeScope';
70
+ export * from './biomeTarget';
66
71
  export * from './biomeTier';
67
72
  export * from './breakGlassRevokeRunnerEnrollmentDto';
68
73
  export * from './capabilityDescriptorValidationDto';
@@ -96,6 +101,7 @@ export * from './orgBiomeEnablementReason';
96
101
  export * from './orgBiomeInstallationDeleteResponseDto';
97
102
  export * from './orgBiomeInstallationDeleteResponseDtoDataEnvelope';
98
103
  export * from './orgBiomeInstallationDeleteResponseDtoWorkflowId';
104
+ export * from './orgBiomeInstallationsControllerListParams';
99
105
  export * from './orgBiomeState';
100
106
  export * from './orgBiomeSurfaceMode';
101
107
  export * from './platformSettingsControllerAdd200';
@@ -103,6 +109,7 @@ export * from './platformSettingsControllerList200';
103
109
  export * from './platformSettingsControllerRemove200';
104
110
  export * from './platformSettingsControllerRemoveParams';
105
111
  export * from './promoteBiomeInstallationDto';
112
+ export * from './quarantinedBiomeDto';
106
113
  export * from './requestApprovalDto';
107
114
  export * from './resolveApprovalDto';
108
115
  export * from './resolveApprovalDtoStatus';
@@ -62,6 +62,7 @@ __exportStar(require("./biomeInstallationResponseDtoDataEnvelope"), exports);
62
62
  __exportStar(require("./biomeInstallationResponseDtoDisabledAt"), exports);
63
63
  __exportStar(require("./biomeInstallationState"), exports);
64
64
  __exportStar(require("./biomeInstallationsControllerCreateChain201"), exports);
65
+ __exportStar(require("./biomeInstallationsControllerListParams"), exports);
65
66
  __exportStar(require("./biomeLifecycle"), exports);
66
67
  __exportStar(require("./biomeLifecycleTransitionResponseDto"), exports);
67
68
  __exportStar(require("./biomeLifecycleTransitionResponseDtoDataEnvelope"), exports);
@@ -79,7 +80,11 @@ __exportStar(require("./biomeProvisioningScaffoldDtoDeclaration"), exports);
79
80
  __exportStar(require("./biomeProvisioningScaffoldDtoTemplates"), exports);
80
81
  __exportStar(require("./biomeProvisioningScaffoldsResponseDto"), exports);
81
82
  __exportStar(require("./biomeProvisioningScaffoldsResponseDtoDataEnvelope"), exports);
83
+ __exportStar(require("./biomeQuarantineReportDto"), exports);
84
+ __exportStar(require("./biomeQuarantineReportDtoDataEnvelope"), exports);
85
+ __exportStar(require("./biomeQuarantineStage"), exports);
82
86
  __exportStar(require("./biomeScope"), exports);
87
+ __exportStar(require("./biomeTarget"), exports);
83
88
  __exportStar(require("./biomeTier"), exports);
84
89
  __exportStar(require("./breakGlassRevokeRunnerEnrollmentDto"), exports);
85
90
  __exportStar(require("./capabilityDescriptorValidationDto"), exports);
@@ -113,6 +118,7 @@ __exportStar(require("./orgBiomeEnablementReason"), exports);
113
118
  __exportStar(require("./orgBiomeInstallationDeleteResponseDto"), exports);
114
119
  __exportStar(require("./orgBiomeInstallationDeleteResponseDtoDataEnvelope"), exports);
115
120
  __exportStar(require("./orgBiomeInstallationDeleteResponseDtoWorkflowId"), exports);
121
+ __exportStar(require("./orgBiomeInstallationsControllerListParams"), exports);
116
122
  __exportStar(require("./orgBiomeState"), exports);
117
123
  __exportStar(require("./orgBiomeSurfaceMode"), exports);
118
124
  __exportStar(require("./platformSettingsControllerAdd200"), exports);
@@ -120,6 +126,7 @@ __exportStar(require("./platformSettingsControllerList200"), exports);
120
126
  __exportStar(require("./platformSettingsControllerRemove200"), exports);
121
127
  __exportStar(require("./platformSettingsControllerRemoveParams"), exports);
122
128
  __exportStar(require("./promoteBiomeInstallationDto"), exports);
129
+ __exportStar(require("./quarantinedBiomeDto"), exports);
123
130
  __exportStar(require("./requestApprovalDto"), exports);
124
131
  __exportStar(require("./resolveApprovalDto"), exports);
125
132
  __exportStar(require("./resolveApprovalDtoStatus"), exports);
@@ -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
+ export type OrgBiomeInstallationsControllerListParams = {
7
+ /**
8
+ * Include installations whose lifecycle is `archived`. Default false — `archived` is terminal: archived rows are never resolved and are ineligible for runtime contribution, so listing one advertises an install nothing will route to.
9
+ */
10
+ includeArchived?: boolean;
11
+ };
@@ -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,23 @@
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 { BiomeQuarantineStage } from './biomeQuarantineStage.js';
7
+ import type { BiomeTarget } from './biomeTarget.js';
8
+ export interface QuarantinedBiomeDto {
9
+ /**
10
+ * The biome id the manifest declares. Null when the file did not parse as JSON at all — there is then no id to read. A biome in that state is never quarantined (boot refuses instead), so this is null only in a record produced for diagnostics.
11
+ * @nullable
12
+ */
13
+ biomeId: string | null;
14
+ /** On-disk directory name. Reported because it is always known — never used as the biome identity. */
15
+ directoryName: string;
16
+ manifestPath: string;
17
+ /** Which catalog dropped it. */
18
+ target: BiomeTarget;
19
+ /** WHICH ingestion step failed. MANIFEST_JSON = the file is not valid JSON; MANIFEST_SCHEMA = it parsed but violates the manifest schema. The two have different causes and different fixes. */
20
+ stage: BiomeQuarantineStage;
21
+ /** The underlying parse error, verbatim. */
22
+ reason: string;
23
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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.4",
3
+ "version": "0.3.7",
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.12.0",
22
+ "generator": "@xemahq/api-client-generator@0.12.1",
23
23
  "source": "openapi.public.json"
24
24
  },
25
25
  "license": "LicenseRef-Xema-BSL-1.1",