@upstart.gg/sdk
Version:
You can test the CLI without recompiling by running:
78 lines (77 loc) • 3.36 kB
TypeScript
import { BrickCategory } from "../../brick-manifest.js";
import { BrickExample } from "./_types.js";
import * as _sinclair_typebox5457 from "@sinclair/typebox";
import * as react_icons_lib18 from "react-icons/lib";
//#region src/shared/bricks/manifests/text.manifest.d.ts
declare const manifest: {
readonly icon: react_icons_lib18.IconType;
readonly props: _sinclair_typebox5457.TObject<{
lastTouched: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TNumber>;
hidden: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TObject<{
desktop: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TBoolean>;
mobile: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TBoolean>;
}>>;
editable: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TBoolean>;
width: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TString>;
height: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TString>;
grow: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TBoolean>;
alignSelf: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TUnsafe<"self-auto" | "self-start" | "self-center" | "self-end" | "self-stretch">>;
} & {
backgroundColor: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TString>;
color: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TString>;
content: _sinclair_typebox5457.TString;
padding: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TString>;
rounding: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TUnsafe<"rounded-md" | "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-full">>;
border: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TObject<{
width: _sinclair_typebox5457.TUnsafe<"border" | "border-0" | "border-2" | "border-4" | "border-8">;
color: _sinclair_typebox5457.TString;
}>>;
shadow: _sinclair_typebox5457.TOptional<_sinclair_typebox5457.TUnsafe<"shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl">>;
}>;
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=text.manifest.d.ts.map