Skip to content
Merged
Prev Previous commit
Next Next commit
removed the deprecated components
  • Loading branch information
4geru committed Nov 11, 2025
commit f10327ecb3b30386accc7e64de157fdf275cd5bd
8 changes: 0 additions & 8 deletions src/common/schema/flexMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,6 @@ const flexSpanSchema = z.object({

const flexComponentSchema: z.ZodType<any> = z.lazy(() =>
z.discriminatedUnion("type", [
z.object({
type: z.literal("filler"),
flex: flexWeightSchema.optional(),
}),
z.object({
type: z.literal("spacer"),
size: spacerSizeSchema.optional(),
}),
z.object({
type: z.literal("separator"),
margin: marginSchema.optional(),
Expand Down