UNPKG

@softr/sdk

Version:

The SDK for building Softr apps on TanStack Start. It lets an app interact with Softr: auth, datasources, workflows and integrations.

15 lines (13 loc) • 360 B
import { z } from "zod"; //#region src/auth/user.ts const userSchema = z.object({ id: z.string(), email: z.string(), fullName: z.string(), userGroupIds: z.array(z.string()), avatarUrl: z.string().nullable().default(null), avatarEditable: z.boolean().default(false), properties: z.record(z.string(), z.unknown()) }); //#endregion export { userSchema };