UNPKG

@upstart.gg/sdk

Version:

You can test the CLI without recompiling by running:

101 lines (100 loc) • 6.54 kB
import { BrickCategory } from "../../brick-manifest.js"; import { BrickProps } from "../props/types.js"; import * as _sinclair_typebox5122 from "@sinclair/typebox"; import * as react_icons_lib12 from "react-icons/lib"; //#region src/shared/bricks/manifests/image.manifest.d.ts declare const manifest: { readonly icon: react_icons_lib12.IconType; readonly props: _sinclair_typebox5122.TObject<{ lastTouched: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TNumber>; hidden: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TObject<{ desktop: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TBoolean>; mobile: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TBoolean>; }>>; editable: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TBoolean>; width: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TString>; height: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TString>; grow: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TBoolean>; alignSelf: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TUnsafe<"self-auto" | "self-start" | "self-center" | "self-end" | "self-stretch">>; } & { image: _sinclair_typebox5122.TObject<{ src: _sinclair_typebox5122.TString; alt: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TString>; aspectRatio: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TUnsafe<"auto" | "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "2:3" | "3:2" | "5:4" | "4:5" | "21:9" | "9:21" | "original">>; fit: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TUnsafe<"object-none" | "object-contain" | "object-cover" | "object-fill" | "object-scale-down">>; position: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TUnsafe<"object-top" | "object-center" | "object-bottom" | "object-left" | "object-right" | "object-top-left" | "object-top-right" | "object-bottom-left" | "object-bottom-right">>; }>; colorPreset: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TObject<{ color: _sinclair_typebox5122.TUnsafe<"primary-50" | "primary-100" | "primary-200" | "primary-300" | "primary-400" | "primary-500" | "primary-600" | "primary-700" | "primary-800" | "primary-900" | "secondary-50" | "secondary-100" | "secondary-200" | "secondary-300" | "secondary-400" | "secondary-500" | "secondary-600" | "secondary-700" | "secondary-800" | "secondary-900" | "accent-50" | "accent-100" | "accent-200" | "accent-300" | "accent-400" | "accent-500" | "accent-600" | "accent-700" | "accent-800" | "accent-900" | "neutral-50" | "neutral-100" | "neutral-200" | "neutral-300" | "neutral-400" | "neutral-500" | "neutral-600" | "neutral-700" | "neutral-800" | "neutral-900" | "base-100" | "base-200" | "base-300" | "primary-gradient-100" | "primary-gradient-200" | "primary-gradient-300" | "primary-gradient-400" | "primary-gradient-500" | "primary-gradient-600" | "primary-gradient-700" | "primary-gradient-800" | "secondary-gradient-100" | "secondary-gradient-200" | "secondary-gradient-300" | "secondary-gradient-400" | "secondary-gradient-500" | "secondary-gradient-600" | "secondary-gradient-700" | "secondary-gradient-800" | "accent-gradient-100" | "accent-gradient-200" | "accent-gradient-300" | "accent-gradient-400" | "accent-gradient-500" | "accent-gradient-600" | "accent-gradient-700" | "accent-gradient-800" | "neutral-gradient-100" | "neutral-gradient-200" | "neutral-gradient-300" | "neutral-gradient-400" | "neutral-gradient-500" | "neutral-gradient-600" | "neutral-gradient-700" | "neutral-gradient-800" | "base-gradient-100" | "base-gradient-200" | "none">; gradientDirection: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">>; }>>; padding: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TString>; rounding: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TUnsafe<"rounded-md" | "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-full">>; border: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TObject<{ width: _sinclair_typebox5122.TUnsafe<"border" | "border-0" | "border-2" | "border-4" | "border-8">; color: _sinclair_typebox5122.TString; }>>; shadow: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TUnsafe<"shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl">>; blurHash: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TString>; author: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TObject<{ name: _sinclair_typebox5122.TString; url: _sinclair_typebox5122.TString; }>>; provider: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TString>; loop: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TObject<{ over: _sinclair_typebox5122.TString; overrideLimit: _sinclair_typebox5122.TOptional<_sinclair_typebox5122.TNumber>; }>>; }>; readonly category: BrickCategory; readonly defaultInspectorTab: "preset" | "style" | "content"; readonly hideInLibrary: boolean; readonly deletable: boolean; readonly movable: boolean; readonly resizable: boolean | "horizontal" | "vertical"; readonly duplicatable: boolean; readonly isContainer: boolean; readonly isGlobalBrick: boolean; readonly defaultWidth: { readonly mobile: string; readonly desktop: string; }; readonly defaultHeight: { readonly mobile: string; readonly desktop: string; }; readonly type: string; readonly name: string; readonly iconClassName?: string; readonly staticClasses?: string; readonly description?: string; readonly minWidth?: { mobile?: number; desktop?: number; }; readonly maxWidth?: { mobile?: number; desktop?: number; }; readonly minHeight?: { mobile?: number; desktop?: number; }; readonly maxHeight?: { mobile?: number; desktop?: number; }; readonly consumesMultipleQueryRows?: boolean; readonly inlineDragDisabled?: boolean; readonly aiInstructions?: string; }; type Manifest = typeof manifest; declare const examples: { description: string; type: string; props: BrickProps<Manifest>["brick"]["props"]; mobileProps?: BrickProps<Manifest>["brick"]["props"]; }[]; //#endregion export { Manifest, examples, manifest }; //# sourceMappingURL=image.manifest.d.ts.map