import { config } from '@my/ui' import { z } from 'zod' export interface CardProps { title: string edited_contents: Json | null topic: string id: string topic_id?: string | null showElaborateOption?: boolean hideActionButton?: boolean is_in_member_collection?: boolean } export const ProfilePropsSchema = z.object({ id: z.string().uuid(), // UUID callname: z.string().optional(), class: z.string().optional(), collection: CollectionPropsSchema.optional(), }) export const CollectionPropsSchema = z.object({ lists: z.array(z.string()).default([]), posts: z.array(z.string()).default([]), // Deprecate below inbox: z.array(z.string()).default([]), }) export type CollectionProps = z.infer export type ProfileProps = z.infer export type Conf = typeof config declare module '@my/ui' { interface TamaguiCustomConfig extends Conf {} }