Variable: ExtensionWarningActionSchema
Makaio Framework / contracts/extension / ExtensionWarningActionSchema
Variable: ExtensionWarningActionSchema
Section titled “Variable: ExtensionWarningActionSchema”
constExtensionWarningActionSchema:ZodDiscriminatedUnion<[ZodObject<{bundle:ZodString;clientId:ZodString;kind:ZodLiteral<"configure-integration">; },$strip>,ZodObject<{extensionName:ZodString;kind:ZodLiteral<"install-extension">; },$strip>,ZodObject<{kind:ZodLiteral<"open-url">;url:ZodString; },$strip>,ZodObject<{command:ZodString;kind:ZodLiteral<"run-command">; },$strip>],"kind">
Defined in: ../../../packages/contracts/src/extension/extension-warning.ts:25
Discriminated union of actionable responses to an extension warning.
Each variant carries the data the host needs to execute the action without further round-trips to the extension.
configure-integration— open the integration settings for a client.install-extension— prompt the user to install another extension.open-url— navigate to an external or internal URL.run-command— invoke a registered bus command by name.