@upstart.gg/sdk
Version:
You can test the CLI without recompiling by running:
96 lines (95 loc) • 4.6 kB
TypeScript
import { BrickCategory } from "../../brick-manifest.js";
import { BrickExample } from "./_types.js";
import * as _sinclair_typebox4940 from "@sinclair/typebox";
import * as react_icons_lib7 from "react-icons/lib";
//#region src/shared/bricks/manifests/sidebar.manifest.d.ts
declare const manifest: {
readonly icon: react_icons_lib7.IconType;
readonly props: _sinclair_typebox4940.TObject<{
lastTouched: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TNumber>;
hidden: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TObject<{
desktop: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TBoolean>;
mobile: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TBoolean>;
}>>;
editable: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TBoolean>;
width: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TString>;
height: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TString>;
grow: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TBoolean>;
alignSelf: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TUnsafe<"self-auto" | "self-start" | "self-center" | "self-end" | "self-stretch">>;
} & {
container: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TObject<{
backgroundColor: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TString>;
border: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TObject<{
width: _sinclair_typebox4940.TUnsafe<"border" | "border-0" | "border-2" | "border-4" | "border-8">;
color: _sinclair_typebox4940.TString;
}>>;
shadow: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TUnsafe<"shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl">>;
fixedPositioned: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TBoolean>;
}>> | _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TObject<{
shadow: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TUnsafe<"shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl">>;
border: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TObject<{
width: _sinclair_typebox4940.TUnsafe<"border" | "border-0" | "border-2" | "border-4" | "border-8">;
color: _sinclair_typebox4940.TString;
}>>;
backgroundColor: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TString>;
fixedPositioned: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TBoolean>;
}>>;
navigation: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TObject<{
navItems: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TArray<_sinclair_typebox4940.TObject<{
urlOrPageId: _sinclair_typebox4940.TUnion<[_sinclair_typebox4940.TString, _sinclair_typebox4940.TString]>;
label: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TString>;
}>>>;
}>> | _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TObject<{
navItems: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TArray<_sinclair_typebox4940.TObject<{
urlOrPageId: _sinclair_typebox4940.TUnion<[_sinclair_typebox4940.TString, _sinclair_typebox4940.TString]>;
label: _sinclair_typebox4940.TOptional<_sinclair_typebox4940.TString>;
}>>>;
}>>;
}>;
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=sidebar.manifest.d.ts.map