@xemahq/biome-host-api-client 0.3.25 → 0.3.26
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/models/bundleTrustTier.d.ts +1 -1
- package/dist/models/hostModuleRefusedAt.d.ts +13 -0
- package/dist/models/hostModuleRefusedAt.js +12 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/refusedHostModuleDto.d.ts +11 -2
- package/dist/models/refusedHostModuleDtoRefusalCode.d.ts +12 -0
- package/dist/models/refusedHostModuleDtoRefusalCode.js +7 -0
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
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.
|
|
7
|
+
* The fetcher's provenance verdict on the bundle, or null when the fetcher refused to serve it and never assigned one. 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
8
|
*/
|
|
9
9
|
export type BundleTrustTier = typeof BundleTrustTier[keyof typeof BundleTrustTier];
|
|
10
10
|
export declare const BundleTrustTier: {
|
|
@@ -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
|
+
* WHERE the module was refused, which decides which of the two fields below carries the reason. `admission` means the bundle WAS fetched and graded and the grade may not share the heap, so `trustTier` is set. `fetch` means biome-fetcher-api declined to vouch for the bytes at all, so nothing was graded and `refusalCode` carries its supply-chain verdict instead. They are different facts and neither field alone can express both.
|
|
8
|
+
*/
|
|
9
|
+
export type HostModuleRefusedAt = typeof HostModuleRefusedAt[keyof typeof HostModuleRefusedAt];
|
|
10
|
+
export declare const HostModuleRefusedAt: {
|
|
11
|
+
readonly admission: "admission";
|
|
12
|
+
readonly fetch: "fetch";
|
|
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.HostModuleRefusedAt = void 0;
|
|
9
|
+
exports.HostModuleRefusedAt = {
|
|
10
|
+
admission: 'admission',
|
|
11
|
+
fetch: 'fetch',
|
|
12
|
+
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -93,6 +93,7 @@ export * from './executionTargetResponseDtoDataArrayEnvelope';
|
|
|
93
93
|
export * from './executionTargetResponseDtoDataEnvelope';
|
|
94
94
|
export * from './executionTargetResponseDtoLabels';
|
|
95
95
|
export * from './executionTargetStatus';
|
|
96
|
+
export * from './hostModuleRefusedAt';
|
|
96
97
|
export * from './inFlightRevocationPolicy';
|
|
97
98
|
export * from './lifecycleTransitionAckDto';
|
|
98
99
|
export * from './orgBiomeEffectiveEnablementDto';
|
|
@@ -114,6 +115,7 @@ export * from './problemFieldIssueDto';
|
|
|
114
115
|
export * from './promoteBiomeInstallationDto';
|
|
115
116
|
export * from './quarantinedBiomeDto';
|
|
116
117
|
export * from './refusedHostModuleDto';
|
|
118
|
+
export * from './refusedHostModuleDtoRefusalCode';
|
|
117
119
|
export * from './requestApprovalDto';
|
|
118
120
|
export * from './rescopeBiomeInstallationDto';
|
|
119
121
|
export * from './rescopeTargetSpaceDto';
|
package/dist/models/index.js
CHANGED
|
@@ -110,6 +110,7 @@ __exportStar(require("./executionTargetResponseDtoDataArrayEnvelope"), exports);
|
|
|
110
110
|
__exportStar(require("./executionTargetResponseDtoDataEnvelope"), exports);
|
|
111
111
|
__exportStar(require("./executionTargetResponseDtoLabels"), exports);
|
|
112
112
|
__exportStar(require("./executionTargetStatus"), exports);
|
|
113
|
+
__exportStar(require("./hostModuleRefusedAt"), exports);
|
|
113
114
|
__exportStar(require("./inFlightRevocationPolicy"), exports);
|
|
114
115
|
__exportStar(require("./lifecycleTransitionAckDto"), exports);
|
|
115
116
|
__exportStar(require("./orgBiomeEffectiveEnablementDto"), exports);
|
|
@@ -131,6 +132,7 @@ __exportStar(require("./problemFieldIssueDto"), exports);
|
|
|
131
132
|
__exportStar(require("./promoteBiomeInstallationDto"), exports);
|
|
132
133
|
__exportStar(require("./quarantinedBiomeDto"), exports);
|
|
133
134
|
__exportStar(require("./refusedHostModuleDto"), exports);
|
|
135
|
+
__exportStar(require("./refusedHostModuleDtoRefusalCode"), exports);
|
|
134
136
|
__exportStar(require("./requestApprovalDto"), exports);
|
|
135
137
|
__exportStar(require("./rescopeBiomeInstallationDto"), exports);
|
|
136
138
|
__exportStar(require("./rescopeTargetSpaceDto"), exports);
|
|
@@ -4,10 +4,19 @@
|
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
6
|
import type { BundleTrustTier } from './bundleTrustTier.js';
|
|
7
|
+
import type { HostModuleRefusedAt } from './hostModuleRefusedAt.js';
|
|
8
|
+
import type { RefusedHostModuleDtoRefusalCode } from './refusedHostModuleDtoRefusalCode.js';
|
|
7
9
|
export interface RefusedHostModuleDto {
|
|
8
10
|
biomeId: string;
|
|
9
11
|
version: string;
|
|
10
12
|
componentKey: string;
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
+
/** WHERE the module was refused, which decides which of the two fields below carries the reason. `admission` means the bundle WAS fetched and graded and the grade may not share the heap, so `trustTier` is set. `fetch` means biome-fetcher-api declined to vouch for the bytes at all, so nothing was graded and `refusalCode` carries its supply-chain verdict instead. They are different facts and neither field alone can express both. */
|
|
14
|
+
refusedAt: HostModuleRefusedAt;
|
|
15
|
+
/** The fetcher's provenance verdict on the bundle, or null when the fetcher refused to serve it and never assigned one. 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. */
|
|
16
|
+
trustTier: BundleTrustTier | null;
|
|
17
|
+
/**
|
|
18
|
+
* biome-fetcher-api's supply-chain verdict code when it refused to serve the bundle (`CosignErrorCode`), or null when the bundle was served and refused on its trust tier instead. `BIOME_SIGNATURE_MISSING` is the ordinary case for an unsigned npm bundle in a deployment with trust anchors configured.
|
|
19
|
+
* @nullable
|
|
20
|
+
*/
|
|
21
|
+
refusalCode: RefusedHostModuleDtoRefusalCode;
|
|
13
22
|
}
|
|
@@ -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
|
+
* biome-fetcher-api's supply-chain verdict code when it refused to serve the bundle (`CosignErrorCode`), or null when the bundle was served and refused on its trust tier instead. `BIOME_SIGNATURE_MISSING` is the ordinary case for an unsigned npm bundle in a deployment with trust anchors configured.
|
|
8
|
+
* @nullable
|
|
9
|
+
*/
|
|
10
|
+
export type RefusedHostModuleDtoRefusalCode = {
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
} | null;
|