@astrale-os/sdk 0.6.0-beta.23 → 0.6.0-beta.25
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/README.md +32 -38
- package/dist/application/action/context.d.ts +29 -25
- package/dist/application/action/index.d.ts +1 -1
- package/dist/application/define.d.ts +3 -1
- package/dist/application/define.js +16 -2
- package/dist/application/dependency/invoker.d.ts +5 -5
- package/dist/application/domain.d.ts +3 -1
- package/dist/application/index.d.ts +1 -1
- package/dist/application/integration/operation.d.ts +2 -2
- package/dist/application/mutation/index.d.ts +1 -1
- package/dist/application/query/composite/plan.d.ts +0 -4
- package/dist/application/query/composite/plan.js +0 -2
- package/dist/application/runtime/workflows.d.ts +1 -1
- package/dist/application/runtime/workflows.js +1 -4
- package/dist/application/view/define.js +4 -6
- package/dist/application/view/frontend.d.ts +2 -2
- package/dist/application/view/index.d.ts +1 -1
- package/dist/application/view/route.d.ts +0 -14
- package/dist/application/view/route.js +1 -64
- package/dist/application/workflow/context.d.ts +1 -1
- package/dist/application/workflow/define.d.ts +1 -1
- package/dist/application/workflow/define.js +1 -1
- package/dist/application/workflow/workflow.d.ts +1 -3
- package/dist/deployment/adapter/adapter.d.ts +3 -20
- package/dist/deployment/adapter/bundle/file.d.ts +1 -1
- package/dist/deployment/adapter/define.d.ts +4 -25
- package/dist/deployment/adapter/define.js +12 -44
- package/dist/deployment/adapter/index.d.ts +0 -2
- package/dist/deployment/adapter/release/list.d.ts +1 -2
- package/dist/deployment/address/summary.d.ts +3 -7
- package/dist/deployment/authoring.d.ts +0 -2
- package/dist/deployment/authoring.js +0 -1
- package/dist/deployment/build/build.d.ts +6 -0
- package/dist/deployment/build/compile.js +2 -0
- package/dist/deployment/build/frontend/compilation.d.ts +2 -4
- package/dist/deployment/build/frontend/compilation.js +0 -5
- package/dist/deployment/build/frontend/digest.js +1 -5
- package/dist/deployment/build/material.d.ts +2 -2
- package/dist/deployment/build/material.js +28 -13
- package/dist/deployment/deployment.d.ts +4 -8
- package/dist/deployment/index.d.ts +3 -5
- package/dist/deployment/index.js +1 -2
- package/dist/deployment/release/addressing.d.ts +2 -9
- package/dist/deployment/release/addressing.js +2 -3
- package/dist/deployment/release/index.d.ts +0 -2
- package/dist/deployment/release/index.js +0 -2
- package/dist/deployment/release/release.d.ts +1 -1
- package/dist/deployment/release/runtime.d.ts +0 -2
- package/dist/deployment/release/runtime.js +0 -2
- package/dist/deployment/release/served/index.d.ts +1 -2
- package/dist/deployment/release/served/index.js +7 -3
- package/dist/deployment/release/served/views.js +0 -1
- package/dist/deployment/verify/index.d.ts +2 -4
- package/dist/deployment/verify/index.js +1 -3
- package/dist/deployment/verify/preflight/index.d.ts +0 -12
- package/dist/deployment/verify/preflight/index.js +0 -12
- package/dist/deployment/verify/readiness/index.d.ts +2 -6
- package/dist/deployment/verify/readiness/index.js +3 -12
- package/dist/deployment/worker/response.d.ts +1 -4
- package/dist/deployment/worker/response.js +2 -8
- package/dist/execution/identity/authentication.d.ts +10 -1
- package/dist/execution/identity/authentication.js +21 -0
- package/dist/execution/identity/delivery.d.ts +2 -7
- package/dist/execution/identity/delivery.js +1 -23
- package/dist/execution/identity/identity.d.ts +2 -3
- package/dist/execution/identity/identity.js +5 -1
- package/dist/execution/index.d.ts +1 -3
- package/dist/execution/index.js +1 -2
- package/dist/execution/invocation/admission/authentication.d.ts +8 -5
- package/dist/execution/invocation/admission/authentication.js +39 -21
- package/dist/execution/invocation/admission/authority.d.ts +21 -6
- package/dist/execution/invocation/admission/authority.js +6 -4
- package/dist/execution/invocation/admission/index.d.ts +2 -2
- package/dist/execution/invocation/admission/index.js +1 -1
- package/dist/execution/invocation/dependency/bind.d.ts +2 -0
- package/dist/execution/invocation/dependency/bind.js +1 -2
- package/dist/execution/invocation/dispatch/context.d.ts +5 -5
- package/dist/execution/invocation/dispatch/context.js +16 -30
- package/dist/execution/invocation/dispatch/workflow.js +0 -4
- package/dist/execution/invocation/index.d.ts +2 -2
- package/dist/execution/invocation/index.js +1 -1
- package/dist/execution/invocation/integration/call.d.ts +2 -1
- package/dist/execution/invocation/integration/call.js +1 -1
- package/dist/execution/invocation/integration/clients.d.ts +1 -1
- package/dist/execution/invocation/invocation.js +3 -12
- package/dist/execution/invocation/result/errors.d.ts +0 -10
- package/dist/execution/invocation/result/errors.js +0 -17
- package/dist/execution/invocation/result/index.d.ts +2 -2
- package/dist/execution/invocation/result/index.js +1 -1
- package/dist/execution/runtime/release.d.ts +6 -11
- package/dist/execution/runtime/release.js +2 -9
- package/dist/execution/service/create.js +3 -1
- package/dist/execution/service/service.d.ts +2 -3
- package/dist/execution/service/serving/delivery.d.ts +1 -2
- package/dist/execution/service/serving/delivery.js +1 -2
- package/dist/execution/service/serving/source.d.ts +3 -10
- package/dist/execution/service/serving/source.js +1 -5
- package/dist/execution/workflows/index.d.ts +1 -1
- package/dist/execution/workflows/index.js +1 -1
- package/dist/execution/workflows/options.d.ts +0 -6
- package/dist/execution/workflows/options.js +0 -18
- package/dist/execution/workflows/receiver.d.ts +1 -2
- package/dist/execution/workflows/receiver.js +13 -20
- package/dist/execution/workflows/route.d.ts +1 -3
- package/dist/execution/workflows/route.js +4 -9
- package/dist/execution/workflows/run.d.ts +1 -1
- package/dist/execution/workflows/run.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/platform/graph/alias.d.ts +1 -5
- package/dist/platform/graph/alias.js +1 -5
- package/dist/platform/graph/document/index.d.ts +1 -1
- package/dist/platform/graph/document/index.js +1 -1
- package/dist/platform/graph/index.d.ts +1 -1
- package/dist/platform/graph/index.js +1 -1
- package/dist/platform/release/index.d.ts +1 -26
- package/dist/platform/release/index.js +1 -26
- package/dist/platform/schema/class-icon-svg.d.ts +9 -0
- package/dist/platform/schema/class-icon-svg.js +29 -0
- package/dist/platform/schema/class-icon.d.ts +3 -8
- package/dist/platform/schema/class-icon.js +2 -29
- package/dist/platform/schema/index.d.ts +1 -1
- package/dist/platform/schema/schema-authoring.d.ts +14 -7
- package/dist/platform/schema/schema-authoring.js +5 -1
- package/dist/project/admit.js +0 -4
- package/dist/project/install-command.d.ts +0 -4
- package/dist/project/install-command.js +1 -5
- package/dist/tooling/cli/deploy-mode.d.ts +3 -59
- package/dist/tooling/cli/deploy-mode.js +46 -122
- package/dist/tooling/cli/deploy-result.d.ts +10 -15
- package/dist/tooling/cli/help.js +9 -16
- package/dist/tooling/cli/immutable-deployment.d.ts +3 -3
- package/dist/tooling/cli/index.d.ts +1 -1
- package/dist/tooling/cli/list.d.ts +5 -7
- package/dist/tooling/cli/list.js +9 -61
- package/dist/tooling/cli/orchestrate.js +6 -16
- package/dist/tooling/cli/publish/index.d.ts +2 -2
- package/dist/tooling/cli/registry/client.js +1 -1
- package/dist/tooling/cli/secrets.d.ts +2 -2
- package/dist/tooling/linter/implementations/source/global.js +0 -1
- package/dist/tooling/linter/implementations/source/verifiers.js +0 -2
- package/dist/tooling/linter/policy/generated.js +2 -51
- package/dist/tooling/linter/requirements/registry.js +0 -6
- package/package.json +9 -8
- package/dist/application/query/execution/projection.d.ts +0 -3
- package/dist/application/query/execution/projection.js +0 -3
- package/dist/deployment/adapter/legacy/adapter.d.ts +0 -40
- package/dist/deployment/adapter/legacy/adapter.js +0 -1
- package/dist/deployment/adapter/legacy/deploy/context.d.ts +0 -19
- package/dist/deployment/adapter/legacy/deploy/context.js +0 -1
- package/dist/deployment/adapter/legacy/deploy/index.d.ts +0 -2
- package/dist/deployment/adapter/legacy/deploy/index.js +0 -1
- package/dist/deployment/adapter/legacy/deploy/result.d.ts +0 -89
- package/dist/deployment/adapter/legacy/deploy/result.js +0 -1
- package/dist/deployment/adapter/legacy/index.d.ts +0 -24
- package/dist/deployment/adapter/legacy/index.js +0 -1
- package/dist/deployment/adapter/legacy/prepare/artifact.d.ts +0 -43
- package/dist/deployment/adapter/legacy/prepare/artifact.js +0 -1
- package/dist/deployment/adapter/legacy/prepare/context.d.ts +0 -33
- package/dist/deployment/adapter/legacy/prepare/context.js +0 -1
- package/dist/deployment/adapter/legacy/prepare/index.d.ts +0 -2
- package/dist/deployment/adapter/legacy/prepare/index.js +0 -1
- package/dist/deployment/deploy.d.ts +0 -20
- package/dist/deployment/deploy.js +0 -31
- package/dist/deployment/release/legacy/admission.d.ts +0 -3
- package/dist/deployment/release/legacy/admission.js +0 -8
- package/dist/deployment/release/legacy/assemble.d.ts +0 -5
- package/dist/deployment/release/legacy/assemble.js +0 -20
- package/dist/deployment/release/legacy/index.d.ts +0 -35
- package/dist/deployment/release/legacy/index.js +0 -34
- package/dist/deployment/release/legacy/release.d.ts +0 -12
- package/dist/deployment/release/legacy/release.js +0 -1
- package/dist/deployment/release/legacy/seal.d.ts +0 -10
- package/dist/deployment/release/legacy/seal.js +0 -17
- package/dist/deployment/verify/preflight/artifact.d.ts +0 -6
- package/dist/deployment/verify/preflight/artifact.js +0 -122
- package/dist/deployment/verify/preflight/publication.d.ts +0 -4
- package/dist/deployment/verify/preflight/publication.js +0 -15
- package/dist/deployment/verify/readiness/deployment.d.ts +0 -3
- package/dist/deployment/verify/readiness/deployment.js +0 -143
- package/dist/deployment/verify/readiness/legacy/index.d.ts +0 -2
- package/dist/deployment/verify/readiness/legacy/index.js +0 -2
- package/dist/deployment/verify/readiness/legacy/publication.d.ts +0 -12
- package/dist/deployment/verify/readiness/legacy/publication.js +0 -23
- package/dist/execution/service/errors.d.ts +0 -3
- package/dist/execution/service/errors.js +0 -3
- package/dist/execution/service/serving/legacy/index.d.ts +0 -15
- package/dist/execution/service/serving/legacy/index.js +0 -19
- package/dist/tooling/cli/deprecations.d.ts +0 -9
- package/dist/tooling/cli/deprecations.js +0 -15
- package/dist/tooling/cli/legacy/deploy-result.d.ts +0 -28
- package/dist/tooling/cli/legacy/deploy-result.js +0 -37
- package/dist/tooling/cli/legacy/stable-target-adapter.d.ts +0 -21
- package/dist/tooling/cli/legacy/stable-target-adapter.js +0 -14
- package/dist/tooling/cli/legacy/stable-target-deploy.d.ts +0 -40
- package/dist/tooling/cli/legacy/stable-target-deploy.js +0 -102
- package/dist/tooling/cli/legacy/uploaded-build.d.ts +0 -11
- package/dist/tooling/cli/legacy/uploaded-build.js +0 -22
- package/dist/tooling/linter/implementations/source/migrations.d.ts +0 -2
- package/dist/tooling/linter/implementations/source/migrations.js +0 -113
- package/dist/tooling/linter/qualification/index.d.ts +0 -10
- package/dist/tooling/linter/qualification/index.js +0 -2
- package/dist/tooling/linter/qualification/query-fixtures.d.ts +0 -2
- package/dist/tooling/linter/qualification/query-fixtures.js +0 -68
- package/dist/tooling/linter/qualification/runner.d.ts +0 -3
- package/dist/tooling/linter/qualification/runner.js +0 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-os/sdk",
|
|
3
|
-
"version": "0.6.0-beta.
|
|
3
|
+
"version": "0.6.0-beta.25",
|
|
4
4
|
"description": "Schema-first SDK for defining, composing, and deploying Astrale domains",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astrale",
|
|
@@ -257,11 +257,11 @@
|
|
|
257
257
|
"registry": "https://registry.npmjs.org/"
|
|
258
258
|
},
|
|
259
259
|
"dependencies": {
|
|
260
|
-
"@astrale-os/kernel-client": "0.6.0-beta.
|
|
261
|
-
"@astrale-os/kernel-core": "0.9.0-beta.
|
|
262
|
-
"@astrale-os/kernel-dsl": "0.2.0-beta.
|
|
263
|
-
"@astrale-os/kernel-protocol": "0.5.0-beta.
|
|
264
|
-
"@astrale-os/kernel-server": "0.5.0-beta.
|
|
260
|
+
"@astrale-os/kernel-client": "0.6.0-beta.88",
|
|
261
|
+
"@astrale-os/kernel-core": "0.9.0-beta.67",
|
|
262
|
+
"@astrale-os/kernel-dsl": "0.2.0-beta.49",
|
|
263
|
+
"@astrale-os/kernel-protocol": "0.5.0-beta.73",
|
|
264
|
+
"@astrale-os/kernel-server": "0.5.0-beta.75",
|
|
265
265
|
"@lucide/icons": "1.34.0",
|
|
266
266
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
267
267
|
"cross-spawn": "7.0.6",
|
|
@@ -287,6 +287,7 @@
|
|
|
287
287
|
"husky": "~9.1.7",
|
|
288
288
|
"lint-staged": "~17.3.0",
|
|
289
289
|
"mermaid": "^11.16.1",
|
|
290
|
+
"miniflare": "5.20260811.1-alpha",
|
|
290
291
|
"oxfmt": "0.63.0",
|
|
291
292
|
"oxlint": "1.78.0",
|
|
292
293
|
"preact": "^10.29.8",
|
|
@@ -316,10 +317,10 @@
|
|
|
316
317
|
"lint-staged": {
|
|
317
318
|
"*.{js,cjs,mjs,ts,tsx}": [
|
|
318
319
|
"oxlint --disable-nested-config --fix",
|
|
319
|
-
"oxfmt --write"
|
|
320
|
+
"oxfmt --no-error-on-unmatched-pattern --write"
|
|
320
321
|
],
|
|
321
322
|
"*.{json,yml,yaml}": [
|
|
322
|
-
"oxfmt --write"
|
|
323
|
+
"oxfmt --no-error-on-unmatched-pattern --write"
|
|
323
324
|
]
|
|
324
325
|
},
|
|
325
326
|
"devEngines": {
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { QueryAST, QueryResultFor } from '@astrale-os/kernel-core/graph/query';
|
|
2
|
-
import type { ProjectedQuery, QueryProjectionContext } from '../single/index.js';
|
|
3
|
-
export declare function projectQuery<Input, Output, Ast extends QueryAST>(definition: ProjectedQuery<Input, Output, Ast>, result: QueryResultFor<Ast>, input: Input, context: QueryProjectionContext<Ast>): Output;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { AdapterEnvironmentContext } from '../adapter.js';
|
|
2
|
-
import type { Bundler } from '../bundle/index.js';
|
|
3
|
-
import type { DeployContext, DeployResult } from './deploy/index.js';
|
|
4
|
-
import type { ArtifactSource, PrepareContext } from './prepare/index.js';
|
|
5
|
-
/**
|
|
6
|
-
* A provider adapter on the contract before adapter interface v2: `prepare` places a build at one
|
|
7
|
-
* stable target per Environment and `deploy` replaces that target's code in place. It declares no
|
|
8
|
-
* `deployRelease`, so every Environment it deploys is on the legacy direct-mode path (CT33). Like
|
|
9
|
-
* every adapter, it declares its `bundler`: `astrale-domain deploy` bundles first and `prepare`
|
|
10
|
-
* only places that Bundle.
|
|
11
|
-
*
|
|
12
|
-
* @deprecated Replacement: `Adapter` (adapter interface v2), whose `deployRelease` deploys one
|
|
13
|
-
* sealed release as one immutable deployment. See `./index.ts` for its consumers and removal.
|
|
14
|
-
*/
|
|
15
|
-
export interface LegacyAdapter<Parameters extends object = object> {
|
|
16
|
-
readonly kind: 'adapter';
|
|
17
|
-
readonly name: string;
|
|
18
|
-
readonly version: string;
|
|
19
|
-
/** Environment-free bytes `astrale-domain build` identifies by their build digest. */
|
|
20
|
-
readonly bundler: Bundler;
|
|
21
|
-
admit?(parameters: Parameters, context: AdapterEnvironmentContext): void;
|
|
22
|
-
prepare(parameters: Parameters, context: PrepareContext): Promise<ArtifactSource>;
|
|
23
|
-
deploy(parameters: Parameters, context: DeployContext): Promise<DeployResult>;
|
|
24
|
-
readonly secretsFile?: (parameters: Parameters) => string | undefined;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* What `defineAdapter` admits for a `LegacyAdapter`.
|
|
28
|
-
*
|
|
29
|
-
* @deprecated Replacement: `AdapterInput` (adapter interface v2). See `./index.ts`.
|
|
30
|
-
*/
|
|
31
|
-
export interface LegacyAdapterInput<Parameters extends object> {
|
|
32
|
-
readonly name: string;
|
|
33
|
-
readonly version: string;
|
|
34
|
-
/** Environment-free bytes `astrale-domain build` identifies by their build digest. */
|
|
35
|
-
readonly bundler: Bundler;
|
|
36
|
-
admit?(parameters: Parameters, context: AdapterEnvironmentContext): void;
|
|
37
|
-
prepare(parameters: Parameters, context: PrepareContext): Promise<ArtifactSource>;
|
|
38
|
-
deploy(parameters: Parameters, context: DeployContext): Promise<DeployResult>;
|
|
39
|
-
readonly secretsFile?: (parameters: Parameters) => string | undefined;
|
|
40
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { PreparedArtifact } from '../prepare/index.js';
|
|
2
|
-
/**
|
|
3
|
-
* What a legacy `deploy` receives to replace one Environment's stable target in place.
|
|
4
|
-
*
|
|
5
|
-
* @deprecated Legacy `prepare`/`deploy` contract (see `../index.ts`). Replacement:
|
|
6
|
-
* `ReleaseDeployContext`, which `deployRelease` receives.
|
|
7
|
-
*/
|
|
8
|
-
export interface DeployContext {
|
|
9
|
-
readonly projectDir: string;
|
|
10
|
-
readonly environment: string;
|
|
11
|
-
/** Optional command-scoped identity override (`--as`). */
|
|
12
|
-
readonly identity?: string;
|
|
13
|
-
/** Optional command-scoped credential; trusted adapters must neither retain nor disclose it. */
|
|
14
|
-
readonly credential?: string;
|
|
15
|
-
readonly secrets: Readonly<Record<string, string>>;
|
|
16
|
-
readonly artifact: PreparedArtifact;
|
|
17
|
-
/** Parent-owned lifecycle cancellation shared by every provider process/effect. */
|
|
18
|
-
readonly signal: AbortSignal;
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import type { Digest } from '@astrale-os/kernel-protocol/artifact';
|
|
2
|
-
import type { BuildDigest } from '../../../build/index.js';
|
|
3
|
-
import type { Addressing } from '../../../release/index.js';
|
|
4
|
-
import type { Release } from '../../../release/legacy/index.js';
|
|
5
|
-
import type { MutationKnowledge } from '../../release/index.js';
|
|
6
|
-
/**
|
|
7
|
-
* Where a legacy `deploy` stopped.
|
|
8
|
-
*
|
|
9
|
-
* @deprecated Legacy `prepare`/`deploy` contract (see `../index.ts`). Replacement:
|
|
10
|
-
* `ReleaseDeploymentPhase`; an immutable deployment is neither addressed nor installed by its deploy.
|
|
11
|
-
*/
|
|
12
|
-
export type DeploymentPhase = 'prerequisite' | 'provider' | 'addressing' | 'release' | 'configuration' | 'readiness';
|
|
13
|
-
/**
|
|
14
|
-
* What a provider reports for the stable target it replaced.
|
|
15
|
-
*
|
|
16
|
-
* @deprecated Legacy `prepare`/`deploy` contract (see `../index.ts`). Replacement: the
|
|
17
|
-
* `DeploymentRecordV1` of `ReadyReleaseDeployResult`; a provider deployment or version id never
|
|
18
|
-
* identifies an immutable deployment.
|
|
19
|
-
*/
|
|
20
|
-
export interface ProviderDeploymentEvidence {
|
|
21
|
-
readonly provider: string;
|
|
22
|
-
readonly deployment: string;
|
|
23
|
-
readonly artifact: Digest;
|
|
24
|
-
/**
|
|
25
|
-
* Build digest of the portable upload (modules and assets) this deployment was made from, which
|
|
26
|
-
* `astrale-domain deploy` compares with the Bundle it passed as `PrepareContext.bundle`. Present
|
|
27
|
-
* only when preparation placed that Bundle. A provider that bundles the upload again (Wrangler in
|
|
28
|
-
* direct mode) runs other bytes than these. Legacy prepare/deploy surface: deleted with it.
|
|
29
|
-
*/
|
|
30
|
-
readonly build?: BuildDigest;
|
|
31
|
-
readonly issuer?: Addressing['issuer'];
|
|
32
|
-
/** Optional provider-side check before promotion; distinct from public readiness. */
|
|
33
|
-
readonly preflight?: 'passed' | 'unavailable';
|
|
34
|
-
}
|
|
35
|
-
/** @deprecated Legacy `prepare`/`deploy` contract (see `../index.ts`). */
|
|
36
|
-
export type AppliedProviderDeployment = {
|
|
37
|
-
readonly kind: 'applied';
|
|
38
|
-
readonly evidence: ProviderDeploymentEvidence & {
|
|
39
|
-
readonly issuer: Addressing['issuer'];
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* What a legacy `deploy` changed, effect by effect.
|
|
44
|
-
*
|
|
45
|
-
* @deprecated Legacy `prepare`/`deploy` contract (see `../index.ts`). Replacement:
|
|
46
|
-
* `FailedReleaseDeployResult.provider`.
|
|
47
|
-
*/
|
|
48
|
-
export interface DeploymentProgress {
|
|
49
|
-
readonly prerequisite: MutationKnowledge;
|
|
50
|
-
readonly provider: MutationKnowledge<ProviderDeploymentEvidence>;
|
|
51
|
-
readonly configuration: MutationKnowledge;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* A stable target replaced in place and ready.
|
|
55
|
-
*
|
|
56
|
-
* @deprecated Legacy `prepare`/`deploy` contract (see `../index.ts`). Replacement:
|
|
57
|
-
* `ReadyReleaseDeployResult`, the immutable deployment `deployRelease` created or reused.
|
|
58
|
-
*/
|
|
59
|
-
export interface ReadyDeployResult {
|
|
60
|
-
readonly status: 'ready';
|
|
61
|
-
readonly phase: 'complete';
|
|
62
|
-
readonly progress: DeploymentProgress & {
|
|
63
|
-
readonly provider: AppliedProviderDeployment;
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* The stable-target Release (v3 Publication) of the legacy `deploy` operation. A canonical deploy
|
|
67
|
-
* reaches its adapter through `deployRelease` with the v4 Release (CT23); D10 deletes `deploy`
|
|
68
|
-
* and this result with the direct-mode path.
|
|
69
|
-
*/
|
|
70
|
-
readonly release: Release;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* A legacy `deploy` that did not reach a ready stable target.
|
|
74
|
-
*
|
|
75
|
-
* @deprecated Legacy `prepare`/`deploy` contract (see `../index.ts`). Replacement:
|
|
76
|
-
* `FailedReleaseDeployResult`.
|
|
77
|
-
*/
|
|
78
|
-
export interface FailedDeployResult {
|
|
79
|
-
readonly status: 'failed';
|
|
80
|
-
readonly phase: DeploymentPhase;
|
|
81
|
-
readonly progress: DeploymentProgress;
|
|
82
|
-
readonly error: Error;
|
|
83
|
-
readonly release?: Release;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* @deprecated Legacy `prepare`/`deploy` contract (see `../index.ts`). Replacement:
|
|
87
|
-
* `ReleaseDeployResult`.
|
|
88
|
-
*/
|
|
89
|
-
export type DeployResult = ReadyDeployResult | FailedDeployResult;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The adapter contract before adapter interface v2: `prepare` places a build at one stable target
|
|
3
|
-
* per Environment, `deploy` replaces that target's code in place, and the stable target serves a
|
|
4
|
-
* v3 Publication under an issuer bound to it for life. Neither installs anything.
|
|
5
|
-
*
|
|
6
|
-
* @deprecated Replacement: `Adapter` (adapter interface v2): beside the same `bundler`, `configure`,
|
|
7
|
-
* `placement` and `deployRelease`, which deploys one sealed release as one immutable deployment,
|
|
8
|
-
* created or reused, and installs nothing.
|
|
9
|
-
*
|
|
10
|
-
* Short-term consumers: the legacy direct-mode path (CT33), which `astrale-domain deploy`
|
|
11
|
-
* runs through these operations: adapter-cloudflare direct mode (`route`,
|
|
12
|
-
* `workerName`, `identityIssuer`, `addressing`, `signingIdentity`, or no `namespace`), which serves
|
|
13
|
-
* the configurations of domains ai-gateway, closing, grc, integrations and issues (until SV15),
|
|
14
|
-
* domains organization (until it leaves direct mode, AM-147), the Services `beta` and `prod` (until
|
|
15
|
-
* SV12), `development` (until SV9) and frozen `admin-beta` (until D19) environments, shell (until
|
|
16
|
-
* SH2) and its frozen `legacy-v3` (until D22), and ui:domain (until UI1).
|
|
17
|
-
*
|
|
18
|
-
* Removal: D10, once no configuration on any repository's main selects the direct-mode path
|
|
19
|
-
* (CT33, AM-147); it deletes these types with `prepare`/`deploy`, `src/deployment/release/legacy`
|
|
20
|
-
* and the stable-target CLI path.
|
|
21
|
-
*/
|
|
22
|
-
export type { LegacyAdapter, LegacyAdapterInput } from './adapter.js';
|
|
23
|
-
export type * from './prepare/index.js';
|
|
24
|
-
export type * from './deploy/index.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { Digest } from '@astrale-os/kernel-protocol/artifact';
|
|
2
|
-
import type { Build } from '../../../build/index.js';
|
|
3
|
-
import type { Addressing } from '../../../release/index.js';
|
|
4
|
-
import type { ArtifactFile, PreparedArtifactFile } from '../../bundle/index.js';
|
|
5
|
-
/**
|
|
6
|
-
* Where the stable target of one Environment answers: configured by the author or assigned by the
|
|
7
|
-
* provider.
|
|
8
|
-
*
|
|
9
|
-
* @deprecated Legacy `prepare`/`deploy` contract (see `../index.ts`). Replacement: `Placement`,
|
|
10
|
-
* from which `deploymentUrl(label, placement.routingDomain)` derives an immutable deployment's URL.
|
|
11
|
-
*/
|
|
12
|
-
export type AddressingPlan = {
|
|
13
|
-
readonly kind: 'configured';
|
|
14
|
-
readonly addressing: Addressing;
|
|
15
|
-
} | {
|
|
16
|
-
readonly kind: 'provider-assigned';
|
|
17
|
-
readonly claim: string;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Untrusted provider-specific preparation output admitted by verify/preflight.
|
|
21
|
-
*
|
|
22
|
-
* @deprecated Legacy `prepare`/`deploy` contract (see `../index.ts`). Replacement: the `Bundle`
|
|
23
|
-
* the adapter's `bundler` produces, which `deployRelease` receives.
|
|
24
|
-
*/
|
|
25
|
-
export interface ArtifactSource {
|
|
26
|
-
readonly entrypoint: string;
|
|
27
|
-
readonly files: readonly ArtifactFile[];
|
|
28
|
-
readonly addressing: AddressingPlan;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Exact detached input supplied to every provider deployment effect.
|
|
32
|
-
*
|
|
33
|
-
* @deprecated Legacy `prepare`/`deploy` contract (see `../index.ts`). Replacement: the `Bundle`
|
|
34
|
-
* and `FrozenConfigurationV1` that `deployRelease` receives.
|
|
35
|
-
*/
|
|
36
|
-
export interface PreparedArtifact<BuildValue extends Build = Build> {
|
|
37
|
-
readonly kind: 'prepared-artifact';
|
|
38
|
-
readonly build: BuildValue;
|
|
39
|
-
readonly digest: Digest;
|
|
40
|
-
readonly entrypoint: string;
|
|
41
|
-
readonly files: readonly PreparedArtifactFile[];
|
|
42
|
-
readonly addressing: AddressingPlan;
|
|
43
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { Build } from '../../../build/index.js';
|
|
2
|
-
import type { ResolvedRuntimeReference } from '../../../runtime/index.js';
|
|
3
|
-
import type { Bundle } from '../../bundle/index.js';
|
|
4
|
-
/**
|
|
5
|
-
* What `prepare` receives to produce the artifact of one Environment's stable target.
|
|
6
|
-
*
|
|
7
|
-
* @deprecated Legacy `prepare`/`deploy` contract (see `../index.ts`). Replacement: `configure`,
|
|
8
|
-
* `placement` and the Bundle of the adapter's `bundler`, which `deployRelease` receives.
|
|
9
|
-
*/
|
|
10
|
-
export interface PrepareContext<BuildValue extends Build = Build> {
|
|
11
|
-
readonly projectDir: string;
|
|
12
|
-
readonly environment: string;
|
|
13
|
-
/**
|
|
14
|
-
* Preparation purpose. One-shot deployment prepares complete release artifacts. Omitted by
|
|
15
|
-
* older custom callers means release for compatibility during the beta migration.
|
|
16
|
-
*/
|
|
17
|
-
readonly mode?: 'release';
|
|
18
|
-
/**
|
|
19
|
-
* Optional preparation-input observer used by tooling that must rebuild when
|
|
20
|
-
* an adapter reads authored paths outside the Domain/Runtime module graph.
|
|
21
|
-
*/
|
|
22
|
-
readonly recordSource?: (path: string) => void;
|
|
23
|
-
/** Parent-owned lifecycle cancellation shared by every preparation process/effect. */
|
|
24
|
-
readonly signal: AbortSignal;
|
|
25
|
-
readonly build: BuildValue;
|
|
26
|
-
readonly runtime: ResolvedRuntimeReference;
|
|
27
|
-
/**
|
|
28
|
-
* The environment-free Bundle of the adapter's own `bundler`, which `astrale-domain deploy`
|
|
29
|
-
* always produces first so that preparation only places it. Absent for a custom caller, the
|
|
30
|
-
* adapter bundles by itself. Legacy prepare/deploy surface: deleted with it.
|
|
31
|
-
*/
|
|
32
|
-
readonly bundle?: Bundle<BuildValue>;
|
|
33
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { DomainDefinitionIdentity } from '../application/index.js';
|
|
2
|
-
import type { Adapter, LegacyAdapter } from './adapter/index.js';
|
|
3
|
-
import type { RuntimeReference } from './runtime/index.js';
|
|
4
|
-
type CanonicalAdapter<Value> = Value extends Adapter<infer _Parameters> ? Value : Value extends LegacyAdapter<infer _Parameters> ? Value : never;
|
|
5
|
-
/** @deprecated Declare the Domain and Environments directly in defineProject(). */
|
|
6
|
-
export interface DeploymentInput<DomainDefinitionValue extends DomainDefinitionIdentity, AdapterValue extends object> {
|
|
7
|
-
readonly application: DomainDefinitionValue;
|
|
8
|
-
readonly entrypoint: RuntimeReference;
|
|
9
|
-
readonly adapter: CanonicalAdapter<AdapterValue>;
|
|
10
|
-
}
|
|
11
|
-
/** @deprecated Legacy aggregate retained only so tooling can issue an exact migration diagnostic. */
|
|
12
|
-
export interface LegacyDeployment<DomainDefinitionValue extends DomainDefinitionIdentity = DomainDefinitionIdentity, AdapterValue extends object = object> {
|
|
13
|
-
readonly application: DomainDefinitionValue;
|
|
14
|
-
readonly entrypoint: RuntimeReference;
|
|
15
|
-
readonly adapter: AdapterValue;
|
|
16
|
-
}
|
|
17
|
-
/** @deprecated Declare the Domain and Environments directly in defineProject(). */
|
|
18
|
-
export declare function deploy<const DomainDefinitionValue extends DomainDefinitionIdentity, const AdapterValue extends object>(input: DeploymentInput<DomainDefinitionValue, AdapterValue>): LegacyDeployment<DomainDefinitionValue, AdapterValue>;
|
|
19
|
-
export declare function isLegacyDeployment(input: unknown): input is LegacyDeployment;
|
|
20
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { isDomainDefinition } from '../application/index.js';
|
|
2
|
-
import { isAdapter } from './adapter/index.js';
|
|
3
|
-
import { isRuntimeReference } from './runtime/index.js';
|
|
4
|
-
const legacyDeployments = new WeakSet();
|
|
5
|
-
/** @deprecated Declare the Domain and Environments directly in defineProject(). */
|
|
6
|
-
export function deploy(input) {
|
|
7
|
-
if (input === null || typeof input !== 'object' || Array.isArray(input))
|
|
8
|
-
invalid();
|
|
9
|
-
const keys = Reflect.ownKeys(input);
|
|
10
|
-
if (keys.length !== 3 ||
|
|
11
|
-
keys.some((key) => key !== 'application' && key !== 'entrypoint' && key !== 'adapter')) {
|
|
12
|
-
invalid();
|
|
13
|
-
}
|
|
14
|
-
if (!isDomainDefinition(input.application)) {
|
|
15
|
-
throw new TypeError('Deployment Application is not admitted.');
|
|
16
|
-
}
|
|
17
|
-
if (!isRuntimeReference(input.entrypoint)) {
|
|
18
|
-
throw new TypeError('Deployment entrypoint must be created by runtime(path).');
|
|
19
|
-
}
|
|
20
|
-
if (!isAdapter(input.adapter))
|
|
21
|
-
throw new TypeError('Deployment Adapter is not admitted.');
|
|
22
|
-
const deployment = Object.freeze({ ...input });
|
|
23
|
-
legacyDeployments.add(deployment);
|
|
24
|
-
return deployment;
|
|
25
|
-
}
|
|
26
|
-
export function isLegacyDeployment(input) {
|
|
27
|
-
return input !== null && typeof input === 'object' && legacyDeployments.has(input);
|
|
28
|
-
}
|
|
29
|
-
function invalid() {
|
|
30
|
-
throw new TypeError('Deployment must contain exactly application, entrypoint, and adapter.');
|
|
31
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { Build } from '../../build/build.js';
|
|
2
|
-
import type { Addressing } from '../addressing.js';
|
|
3
|
-
import type { Release } from './release.js';
|
|
4
|
-
/** Purely assemble what a stable target serves at its Addressing, without a provider effect. */
|
|
5
|
-
export declare function assemble<const BuildValue extends Build>(build: BuildValue, addressing: Addressing): Release<BuildValue>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { isBuild } from '../../build/admission.js';
|
|
2
|
-
import { isAddressing } from '../addressing.js';
|
|
3
|
-
import { capture } from './admission.js';
|
|
4
|
-
import { seal } from './seal.js';
|
|
5
|
-
/** Purely assemble what a stable target serves at its Addressing, without a provider effect. */
|
|
6
|
-
export function assemble(build, addressing) {
|
|
7
|
-
if (!isBuild(build))
|
|
8
|
-
throw new TypeError('Release assembly requires an admitted Build.');
|
|
9
|
-
if (!isAddressing(addressing)) {
|
|
10
|
-
throw new TypeError('Release assembly requires admitted Addressing.');
|
|
11
|
-
}
|
|
12
|
-
const sealed = seal(build, addressing);
|
|
13
|
-
return capture(Object.freeze({
|
|
14
|
-
kind: 'publication',
|
|
15
|
-
build,
|
|
16
|
-
addressing,
|
|
17
|
-
publication: sealed.publication,
|
|
18
|
-
routes: sealed.routes,
|
|
19
|
-
}));
|
|
20
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* What a stable target serves: the v3 Publication sealed from a Build and its Addressing, which
|
|
3
|
-
* carries no build digest, and the Route Table bound to that Publication. A stable target keeps one
|
|
4
|
-
* URL across deploys, so it never serves `release.json` and every Kernel pins it as a legacy
|
|
5
|
-
* document.
|
|
6
|
-
*
|
|
7
|
-
* @deprecated Replacement: `assemble` and `Release` of `@astrale-os/sdk/deployment/release`, which
|
|
8
|
-
* seal the `DomainRelease` v4 of an immutable deployment from its build digest and URL.
|
|
9
|
-
*
|
|
10
|
-
* Short-term consumers:
|
|
11
|
-
* - the direct-mode deploy path (`prepare`/`deploy` of adapter-cloudflare, whose
|
|
12
|
-
* `DeployResult.release` is this Release) and the stable Worker that assembles its Release
|
|
13
|
-
* at runtime, which serve the direct-mode configurations of domains ai-gateway, closing, grc,
|
|
14
|
-
* integrations and issues (until SV15), domains organization (until it leaves direct mode,
|
|
15
|
-
* AM-147), the Services `beta` and `prod` (until SV12), `development` (until SV9) and frozen
|
|
16
|
-
* `admin-beta` (until D19) environments, shell (until SH2) and its frozen `legacy-v3` (until
|
|
17
|
-
* D22), and ui:domain (until UI1);
|
|
18
|
-
* - the stable-target branch of the SDK's serving surface, which serves this Release beside the v4
|
|
19
|
-
* one (`execution/runtime/release.ts` `ServedRelease`): its Kernel Server source
|
|
20
|
-
* (`execution/service/serving/legacy/`), the Delivery v1-only answer of a Publication
|
|
21
|
-
* (`execution/identity/delivery.ts`), its pinned-snapshot check
|
|
22
|
-
* (`execution/invocation/invocation.ts`), its readiness at `domain.json`
|
|
23
|
-
* (`deployment/verify/readiness/legacy/`) and the preflight of the direct-mode prepare path
|
|
24
|
-
* (`deployment/verify/preflight/publication.ts`);
|
|
25
|
-
* - the split-issuer option of `addressing` (`publicUrl` distinct from the issuer), used only by
|
|
26
|
-
* adapter-cloudflare direct mode (`identityIssuer`).
|
|
27
|
-
*
|
|
28
|
-
* Removal: D10, once no configuration on any repository's main selects the direct-mode path
|
|
29
|
-
* (CT33, AM-147); the serving surface already serves the v4 Release (S4b), canonical deploys reach
|
|
30
|
-
* adapters through `deployRelease` (S7a, CT23), and D10 deletes `prepare`/`deploy` and their
|
|
31
|
-
* `DeployResult` with every branch listed above.
|
|
32
|
-
*/
|
|
33
|
-
export { assemble } from './assemble.js';
|
|
34
|
-
export { isRelease } from './admission.js';
|
|
35
|
-
export type { Release } from './release.js';
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* What a stable target serves: the v3 Publication sealed from a Build and its Addressing, which
|
|
3
|
-
* carries no build digest, and the Route Table bound to that Publication. A stable target keeps one
|
|
4
|
-
* URL across deploys, so it never serves `release.json` and every Kernel pins it as a legacy
|
|
5
|
-
* document.
|
|
6
|
-
*
|
|
7
|
-
* @deprecated Replacement: `assemble` and `Release` of `@astrale-os/sdk/deployment/release`, which
|
|
8
|
-
* seal the `DomainRelease` v4 of an immutable deployment from its build digest and URL.
|
|
9
|
-
*
|
|
10
|
-
* Short-term consumers:
|
|
11
|
-
* - the direct-mode deploy path (`prepare`/`deploy` of adapter-cloudflare, whose
|
|
12
|
-
* `DeployResult.release` is this Release) and the stable Worker that assembles its Release
|
|
13
|
-
* at runtime, which serve the direct-mode configurations of domains ai-gateway, closing, grc,
|
|
14
|
-
* integrations and issues (until SV15), domains organization (until it leaves direct mode,
|
|
15
|
-
* AM-147), the Services `beta` and `prod` (until SV12), `development` (until SV9) and frozen
|
|
16
|
-
* `admin-beta` (until D19) environments, shell (until SH2) and its frozen `legacy-v3` (until
|
|
17
|
-
* D22), and ui:domain (until UI1);
|
|
18
|
-
* - the stable-target branch of the SDK's serving surface, which serves this Release beside the v4
|
|
19
|
-
* one (`execution/runtime/release.ts` `ServedRelease`): its Kernel Server source
|
|
20
|
-
* (`execution/service/serving/legacy/`), the Delivery v1-only answer of a Publication
|
|
21
|
-
* (`execution/identity/delivery.ts`), its pinned-snapshot check
|
|
22
|
-
* (`execution/invocation/invocation.ts`), its readiness at `domain.json`
|
|
23
|
-
* (`deployment/verify/readiness/legacy/`) and the preflight of the direct-mode prepare path
|
|
24
|
-
* (`deployment/verify/preflight/publication.ts`);
|
|
25
|
-
* - the split-issuer option of `addressing` (`publicUrl` distinct from the issuer), used only by
|
|
26
|
-
* adapter-cloudflare direct mode (`identityIssuer`).
|
|
27
|
-
*
|
|
28
|
-
* Removal: D10, once no configuration on any repository's main selects the direct-mode path
|
|
29
|
-
* (CT33, AM-147); the serving surface already serves the v4 Release (S4b), canonical deploys reach
|
|
30
|
-
* adapters through `deployRelease` (S7a, CT23), and D10 deletes `prepare`/`deploy` and their
|
|
31
|
-
* `DeployResult` with every branch listed above.
|
|
32
|
-
*/
|
|
33
|
-
export { assemble } from './assemble.js';
|
|
34
|
-
export { isRelease } from './admission.js';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type * as publication from '@astrale-os/kernel-protocol/release/legacy';
|
|
2
|
-
import type * as routes from '@astrale-os/kernel-protocol/routes';
|
|
3
|
-
import type { Build } from '../../build/index.js';
|
|
4
|
-
import type { Addressing } from '../addressing.js';
|
|
5
|
-
/** What a stable target serves: the v3 Publication of its Build and the Route Table bound to it. */
|
|
6
|
-
export interface Release<BuildValue extends Build = Build> {
|
|
7
|
-
readonly kind: 'publication';
|
|
8
|
-
readonly build: BuildValue;
|
|
9
|
-
readonly addressing: Addressing;
|
|
10
|
-
readonly publication: publication.Publication;
|
|
11
|
-
readonly routes: routes.legacy.Table;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as publication from '@astrale-os/kernel-protocol/release/legacy';
|
|
2
|
-
import * as protocolRoutes from '@astrale-os/kernel-protocol/routes';
|
|
3
|
-
import type { Build } from '../../build/index.js';
|
|
4
|
-
import type { Addressing } from '../addressing.js';
|
|
5
|
-
export interface SealedPublication {
|
|
6
|
-
readonly publication: publication.Publication;
|
|
7
|
-
readonly routes: protocolRoutes.legacy.Table;
|
|
8
|
-
}
|
|
9
|
-
/** Seal the v3 Publication a stable target serves: the served content of the Build, without code. */
|
|
10
|
-
export declare function seal(build: Build, addressing: Addressing): SealedPublication;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as publication from '@astrale-os/kernel-protocol/release/legacy';
|
|
2
|
-
import * as protocolRoutes from '@astrale-os/kernel-protocol/routes';
|
|
3
|
-
import { evidenceOf } from '../../build/admission.js';
|
|
4
|
-
import { served } from '../served/index.js';
|
|
5
|
-
/** Seal the v3 Publication a stable target serves: the served content of the Build, without code. */
|
|
6
|
-
export function seal(build, addressing) {
|
|
7
|
-
const sealed = publication.seal({
|
|
8
|
-
format: 'astrale.domain.publication',
|
|
9
|
-
version: 3,
|
|
10
|
-
...served(build, addressing),
|
|
11
|
-
});
|
|
12
|
-
const { domain } = evidenceOf(build);
|
|
13
|
-
return Object.freeze({
|
|
14
|
-
publication: sealed,
|
|
15
|
-
routes: protocolRoutes.legacy.bind(build.routes, sealed, domain, addressing.publicUrl),
|
|
16
|
-
});
|
|
17
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ArtifactSource, PreparedArtifact } from '../../adapter/legacy/index.js';
|
|
2
|
-
import type { Build } from '../../build/index.js';
|
|
3
|
-
import type { ResolvedRuntimeReference } from '../../runtime/index.js';
|
|
4
|
-
/** Detach preparation output and bind it to the exact Build and resolved Runtime identity. */
|
|
5
|
-
export declare function artifact<const BuildValue extends Build>(build: BuildValue, runtime: ResolvedRuntimeReference, source: ArtifactSource): PreparedArtifact<BuildValue>;
|
|
6
|
-
export declare function isPreparedArtifact(input: unknown): input is PreparedArtifact;
|