@upstart.gg/sdk
Version:
You can test the CLI without recompiling by running:
70 lines (69 loc) • 2.6 kB
TypeScript
import { BrickCategory } from "../../brick-manifest.js";
import { BrickExample } from "./_types.js";
import * as _sinclair_typebox5003 from "@sinclair/typebox";
import * as react_icons_lib8 from "react-icons/lib";
//#region src/shared/bricks/manifests/html.manifest.d.ts
declare const manifest: {
readonly icon: react_icons_lib8.IconType;
readonly props: _sinclair_typebox5003.TObject<{
lastTouched: _sinclair_typebox5003.TOptional<_sinclair_typebox5003.TNumber>;
hidden: _sinclair_typebox5003.TOptional<_sinclair_typebox5003.TObject<{
desktop: _sinclair_typebox5003.TOptional<_sinclair_typebox5003.TBoolean>;
mobile: _sinclair_typebox5003.TOptional<_sinclair_typebox5003.TBoolean>;
}>>;
editable: _sinclair_typebox5003.TOptional<_sinclair_typebox5003.TBoolean>;
width: _sinclair_typebox5003.TOptional<_sinclair_typebox5003.TString>;
height: _sinclair_typebox5003.TOptional<_sinclair_typebox5003.TString>;
grow: _sinclair_typebox5003.TOptional<_sinclair_typebox5003.TBoolean>;
alignSelf: _sinclair_typebox5003.TOptional<_sinclair_typebox5003.TUnsafe<"self-auto" | "self-start" | "self-center" | "self-end" | "self-stretch">>;
} & {
html: _sinclair_typebox5003.TString;
grow: _sinclair_typebox5003.TOptional<_sinclair_typebox5003.TBoolean>;
}>;
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=html.manifest.d.ts.map