Variable: VariantSubjects
Makaio Framework / contracts / VariantSubjects
Variable: VariantSubjects
Section titled “Variable: VariantSubjects”
constVariantSubjects:BusSubjects<FlatSubjectDefinitions<"host:variant", {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>; }>,"host:variant"> =VariantNamespace.subjects
Defined in: ../../../packages/contracts/src/variant/namespace.ts:36
Variant subjects for type-safe bus operations. Use these with MakaioBus.request(), MakaioBus.on(), etc.