@upstart.gg/sdk
Version:
You can test the CLI without recompiling by running:
81 lines (80 loc) • 3.28 kB
TypeScript
import { BrickCategory } from "../../brick-manifest.js";
import { BrickExample } from "./_types.js";
import * as _sinclair_typebox5493 from "@sinclair/typebox";
import * as react_icons_lib19 from "react-icons/lib";
//#region src/shared/bricks/manifests/map.manifest.d.ts
declare const DEFAULTS: {
lat: number;
lng: number;
zoom: number;
};
declare const manifest: {
readonly icon: react_icons_lib19.IconType;
readonly props: _sinclair_typebox5493.TObject<{
lastTouched: _sinclair_typebox5493.TOptional<_sinclair_typebox5493.TNumber>;
hidden: _sinclair_typebox5493.TOptional<_sinclair_typebox5493.TObject<{
desktop: _sinclair_typebox5493.TOptional<_sinclair_typebox5493.TBoolean>;
mobile: _sinclair_typebox5493.TOptional<_sinclair_typebox5493.TBoolean>;
}>>;
editable: _sinclair_typebox5493.TOptional<_sinclair_typebox5493.TBoolean>;
width: _sinclair_typebox5493.TOptional<_sinclair_typebox5493.TString>;
height: _sinclair_typebox5493.TOptional<_sinclair_typebox5493.TString>;
grow: _sinclair_typebox5493.TOptional<_sinclair_typebox5493.TBoolean>;
alignSelf: _sinclair_typebox5493.TOptional<_sinclair_typebox5493.TUnsafe<"self-auto" | "self-start" | "self-center" | "self-end" | "self-stretch">>;
} & {
lat: _sinclair_typebox5493.TString;
lng: _sinclair_typebox5493.TString;
address: _sinclair_typebox5493.TString;
tooltip: _sinclair_typebox5493.TOptional<_sinclair_typebox5493.TString>;
zoom: _sinclair_typebox5493.TOptional<_sinclair_typebox5493.TNumber>;
rounding: _sinclair_typebox5493.TOptional<_sinclair_typebox5493.TUnsafe<"rounded-md" | "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-full">>;
shadow: _sinclair_typebox5493.TOptional<_sinclair_typebox5493.TUnsafe<"shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl">>;
grow: _sinclair_typebox5493.TOptional<_sinclair_typebox5493.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 { DEFAULTS, Manifest, examples, manifest };
//# sourceMappingURL=map.manifest.d.ts.map