import { defineToolcraft } from "../../schema/define-toolcraft"; export const runtimePublicApiSchema = defineToolcraft({ base: { canvas: { enabled: true }, identity: { id: "runtime-public-api", title: "Controls" }, panels: { controls: { sections: [ { id: "test-section-1", controls: { opacity: { applicability: { mode: "always" as const }, defaultValue: 75, target: "selectedLayer.opacity", type: "slider", }, }, }, ], title: "Controls", }, }, }, modules: [], });