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.

31 lines (29 loc) • 956 B
import { z } from "zod"; //#region src/softr-config.schema.d.ts declare const LogoFile: z.ZodObject<{ onLight: z.ZodString; onDark: z.ZodOptional<z.ZodString>; }, z.core.$strip>; /** One logo image: the file for light backgrounds, and optionally one for dark backgrounds. */ type LogoFile = z.infer<typeof LogoFile>; declare const Logo: z.ZodObject<{ source: z.ZodCatch<z.ZodEnum<{ image: "image"; icon: "icon"; }>>; icon: z.ZodString; image: z.ZodObject<{ square: z.ZodOptional<z.ZodObject<{ onLight: z.ZodString; onDark: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; horizontal: z.ZodOptional<z.ZodObject<{ onLight: z.ZodString; onDark: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; /** The app's logo: `logo` in softr.json, with the default icon when the key is missing. */ type Logo = z.infer<typeof Logo>; //#endregion export { Logo, LogoFile };