@upstart.gg/sdk
Version:
You can test the CLI without recompiling by running:
82 lines (81 loc) • 3.95 kB
TypeScript
import { BrickCategory } from "../../brick-manifest.js";
import { BrickExample } from "./_types.js";
import * as _sinclair_typebox4898 from "@sinclair/typebox";
import * as react_icons_lib6 from "react-icons/lib";
//#region src/shared/bricks/manifests/hero.manifest.d.ts
declare const manifest: {
readonly icon: react_icons_lib6.IconType;
readonly props: _sinclair_typebox4898.TObject<{
lastTouched: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TNumber>;
hidden: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TObject<{
desktop: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TBoolean>;
mobile: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TBoolean>;
}>>;
editable: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TBoolean>;
width: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TString>;
height: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TString>;
grow: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TBoolean>;
alignSelf: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TUnsafe<"self-auto" | "self-start" | "self-center" | "self-end" | "self-stretch">>;
} & {
content: _sinclair_typebox4898.TString;
tagline: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TString>;
backgroundColor: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TString>;
color: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TString>;
textShadow: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TUnsafe<"text-shadow-sm" | "text-shadow-none" | "text-shadow-md" | "text-shadow-lg" | "text-shadow-xl">>;
padding: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TString>;
rounding: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TUnsafe<"rounded-md" | "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-full">>;
border: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TObject<{
width: _sinclair_typebox4898.TUnsafe<"border" | "border-0" | "border-2" | "border-4" | "border-8">;
color: _sinclair_typebox4898.TString;
}>>;
shadow: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TUnsafe<"shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl">>;
justifyContent: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TUnsafe<"justify-center" | "justify-start" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly">>;
alignItems: _sinclair_typebox4898.TOptional<_sinclair_typebox4898.TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
}>;
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: BrickExample<Manifest>[];
//#endregion
export { Manifest, examples, manifest };
//# sourceMappingURL=hero.manifest.d.ts.map