Variable: VariantNamespace
Makaio Framework / contracts / VariantNamespace
Variable: VariantNamespace
Section titled “Variable: VariantNamespace”
constVariantNamespace:BusNamespace<"host:variant",SubjectRecordFromSchemaRecord<{getInfo: {request:ZodObject<{ },$strip>;response:ZodObject<{bundleCEF:ZodBoolean;defaultRenderer:ZodEnum<{cef:"cef";native:"native"; }>;variant:ZodEnum<{base:"base";cef:"cef"; }>; },$strip>; };requestUpgrade: {request:ZodObject<{targetVariant:ZodEnum<{base:"base";cef:"cef"; }>; },$strip>;response:ZodUnion<readonly [ZodObject<{accepted:ZodLiteral<true>;downloadSizeBytes:ZodOptional<ZodNumber>;message:ZodOptional<ZodString>; },$strip>,ZodObject<{accepted:ZodLiteral<false>;message:ZodString; },$strip>]>; };upgradeProgress:ZodObject<{message:ZodOptional<ZodString>;percent:ZodOptional<ZodNumber>;status:ZodEnum<{applying:"applying";complete:"complete";downloading:"downloading";error:"error";progress:"progress"; }>; },$strip>; }>, {[key:string]:string|number; }, {getInfo: {request:ZodObject<{ },$strip>;response:ZodObject<{bundleCEF:ZodBoolean;defaultRenderer:ZodEnum<{cef:"cef";native:"native"; }>;variant:ZodEnum<{base:"base";cef:"cef"; }>; },$strip>; };requestUpgrade: {request:ZodObject<{targetVariant:ZodEnum<{base:"base";cef:"cef"; }>; },$strip>;response:ZodUnion<readonly [ZodObject<{accepted:ZodLiteral<true>;downloadSizeBytes:ZodOptional<ZodNumber>;message:ZodOptional<ZodString>; },$strip>,ZodObject<{accepted:ZodLiteral<false>;message:ZodString; },$strip>]>; };upgradeProgress:ZodObject<{message:ZodOptional<ZodString>;percent:ZodOptional<ZodNumber>;status:ZodEnum<{applying:"applying";complete:"complete";downloading:"downloading";error:"error";progress:"progress"; }>; },$strip>; }>
Defined in: ../../../packages/contracts/src/variant/namespace.ts:30
Variant namespace registration. Provides typed subjects for variant detection and upgrade operations.