Skip to content

Variable: ManagedInstallDescriptorSchema

Makaio Framework


Makaio Framework / contracts / ManagedInstallDescriptorSchema

const ManagedInstallDescriptorSchema: ZodDiscriminatedUnion<[ZodObject<{ config: ZodObject<{ archiveFormat: ZodOptional<ZodEnum<{ raw: "raw"; tar.gz: "tar.gz"; zip: "zip"; }>>; baseUrl: ZodString; binaryPath: ZodString; manifestChecksumField: ZodString; manifestPath: ZodString; versionIndex: ZodObject<{ latest: ZodString; }, $strip>; }, $strip>; type: ZodLiteral<"manifest-bucket">; }, $strip>, ZodObject<{ package: ZodString; type: ZodLiteral<"npm">; }, $strip>, ZodObject<{ archiveFormat: ZodEnum<{ tar.gz: "tar.gz"; zip: "zip"; }>; assetPattern: ZodRecord<ZodString, ZodString>; repo: ZodString; type: ZodLiteral<"github-release">; }, $strip>], "type">

Defined in: ../../../packages/contracts/src/client/definition.ts:270

Discriminated union of all supported managed install descriptors.

Exactly three v1 strategies are supported:

  • manifest-bucket — static HTTP bucket with a version index and manifest.
  • npm — npm registry installation.
  • github-release — GitHub Releases asset download.

The descriptor is purely declarative; no runtime logic lives here.