buttonPredicate

buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<z.objectUtil.extendShape<{ type: z.ZodLiteral<ComponentType.Button>; disabled: z.ZodOptional<z.ZodBoolean>;}, { style: z.ZodLiteral<ButtonStyle.Link>; url: z.ZodEffects<z.ZodString, string, string>; emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; animated: z.ZodOptional<z.ZodBoolean>; }, "strict", z.ZodTypeAny, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>>; label: z.ZodString;}>, "strict", z.ZodTypeAny, { url: string; type: ComponentType.Button; style: ButtonStyle.Link; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}, { url: string; type: ComponentType.Button; style: ButtonStyle.Link; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ type: z.ZodLiteral<ComponentType.Button>; disabled: z.ZodOptional<z.ZodBoolean>;}, { custom_id: z.ZodString; emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; animated: z.ZodOptional<z.ZodBoolean>; }, "strict", z.ZodTypeAny, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>>; label: z.ZodString;}>, { style: z.ZodLiteral<ButtonStyle.Primary>;}>, "strict", z.ZodTypeAny, { type: ComponentType.Button; style: ButtonStyle.Primary; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}, { type: ComponentType.Button; style: ButtonStyle.Primary; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ type: z.ZodLiteral<ComponentType.Button>; disabled: z.ZodOptional<z.ZodBoolean>;}, { custom_id: z.ZodString; emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; animated: z.ZodOptional<z.ZodBoolean>; }, "strict", z.ZodTypeAny, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>>; label: z.ZodString;}>, { style: z.ZodLiteral<ButtonStyle.Secondary>;}>, "strict", z.ZodTypeAny, { type: ComponentType.Button; style: ButtonStyle.Secondary; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}, { type: ComponentType.Button; style: ButtonStyle.Secondary; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ type: z.ZodLiteral<ComponentType.Button>; disabled: z.ZodOptional<z.ZodBoolean>;}, { custom_id: z.ZodString; emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; animated: z.ZodOptional<z.ZodBoolean>; }, "strict", z.ZodTypeAny, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>>; label: z.ZodString;}>, { style: z.ZodLiteral<ButtonStyle.Success>;}>, "strict", z.ZodTypeAny, { type: ComponentType.Button; style: ButtonStyle.Success; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}, { type: ComponentType.Button; style: ButtonStyle.Success; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ type: z.ZodLiteral<ComponentType.Button>; disabled: z.ZodOptional<z.ZodBoolean>;}, { custom_id: z.ZodString; emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; animated: z.ZodOptional<z.ZodBoolean>; }, "strict", z.ZodTypeAny, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>>; label: z.ZodString;}>, { style: z.ZodLiteral<ButtonStyle.Danger>;}>, "strict", z.ZodTypeAny, { type: ComponentType.Button; style: ButtonStyle.Danger; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}, { type: ComponentType.Button; style: ButtonStyle.Danger; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}>, z.ZodObject<z.objectUtil.extendShape<{ type: z.ZodLiteral<ComponentType.Button>; disabled: z.ZodOptional<z.ZodBoolean>;}, { style: z.ZodLiteral<ButtonStyle.Premium>; sku_id: z.ZodString;}>, "strict", z.ZodTypeAny, { type: ComponentType.Button; style: ButtonStyle.Premium; sku_id: string; disabled?: boolean | undefined;}, { type: ComponentType.Button; style: ButtonStyle.Premium; sku_id: string; disabled?: boolean | undefined;}>]>
buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<z.objectUtil.extendShape<{ type: z.ZodLiteral<ComponentType.Button>; disabled: z.ZodOptional<z.ZodBoolean>;}, { style: z.ZodLiteral<ButtonStyle.Link>; url: z.ZodEffects<z.ZodString, string, string>; emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; animated: z.ZodOptional<z.ZodBoolean>; }, "strict", z.ZodTypeAny, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>>; label: z.ZodString;}>, "strict", z.ZodTypeAny, { url: string; type: ComponentType.Button; style: ButtonStyle.Link; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}, { url: string; type: ComponentType.Button; style: ButtonStyle.Link; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ type: z.ZodLiteral<ComponentType.Button>; disabled: z.ZodOptional<z.ZodBoolean>;}, { custom_id: z.ZodString; emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; animated: z.ZodOptional<z.ZodBoolean>; }, "strict", z.ZodTypeAny, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>>; label: z.ZodString;}>, { style: z.ZodLiteral<ButtonStyle.Primary>;}>, "strict", z.ZodTypeAny, { type: ComponentType.Button; style: ButtonStyle.Primary; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}, { type: ComponentType.Button; style: ButtonStyle.Primary; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ type: z.ZodLiteral<ComponentType.Button>; disabled: z.ZodOptional<z.ZodBoolean>;}, { custom_id: z.ZodString; emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; animated: z.ZodOptional<z.ZodBoolean>; }, "strict", z.ZodTypeAny, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>>; label: z.ZodString;}>, { style: z.ZodLiteral<ButtonStyle.Secondary>;}>, "strict", z.ZodTypeAny, { type: ComponentType.Button; style: ButtonStyle.Secondary; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}, { type: ComponentType.Button; style: ButtonStyle.Secondary; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ type: z.ZodLiteral<ComponentType.Button>; disabled: z.ZodOptional<z.ZodBoolean>;}, { custom_id: z.ZodString; emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; animated: z.ZodOptional<z.ZodBoolean>; }, "strict", z.ZodTypeAny, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>>; label: z.ZodString;}>, { style: z.ZodLiteral<ButtonStyle.Success>;}>, "strict", z.ZodTypeAny, { type: ComponentType.Button; style: ButtonStyle.Success; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}, { type: ComponentType.Button; style: ButtonStyle.Success; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{ type: z.ZodLiteral<ComponentType.Button>; disabled: z.ZodOptional<z.ZodBoolean>;}, { custom_id: z.ZodString; emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; animated: z.ZodOptional<z.ZodBoolean>; }, "strict", z.ZodTypeAny, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }, { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; }>>; label: z.ZodString;}>, { style: z.ZodLiteral<ButtonStyle.Danger>;}>, "strict", z.ZodTypeAny, { type: ComponentType.Button; style: ButtonStyle.Danger; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}, { type: ComponentType.Button; style: ButtonStyle.Danger; custom_id: string; label: string; emoji?: { name?: string | undefined; id?: string | undefined; animated?: boolean | undefined; } | undefined; disabled?: boolean | undefined;}>, z.ZodObject<z.objectUtil.extendShape<{ type: z.ZodLiteral<ComponentType.Button>; disabled: z.ZodOptional<z.ZodBoolean>;}, { style: z.ZodLiteral<ButtonStyle.Premium>; sku_id: z.ZodString;}>, "strict", z.ZodTypeAny, { type: ComponentType.Button; style: ButtonStyle.Premium; sku_id: string; disabled?: boolean | undefined;}, { type: ComponentType.Button; style: ButtonStyle.Premium; sku_id: string; disabled?: boolean | undefined;}>]>

No summary provided.