/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ /** * The Studio's East, compiled for its renderers (#1000) — what the builder's * palette, canvas, inspector and publish preview, and the page library, show * and write is computed by the functions `@elaraai/e3-ui` declares, compiled * once, on first use; nothing here restates them. * * @packageDocumentation */ import { type TypeOf, type ValueTypeOf } from "@elaraai/east"; import { Studio, canvasTiles, inspectorSelection, libraryPages, libraryProjects, libraryTemplates, nameWriteRefusal, paletteCards, palettePages, publishRefusal, publishSummary, saveCells } from "@elaraai/e3-ui/internal"; /** The JavaScript function an East function compiles to. */ type Compiled = ValueTypeOf>; /** The Studio's compiled East — see the module docs. */ export interface StudioEast { /** Each listed component's palette card. */ paletteCards: Compiled; /** A project's pages, as the palette lists them. */ palettePages: Compiled; /** Each listed component's tile on the canvas. */ canvasTiles: Compiled; /** The selected placement, as the inspector shows it. */ inspectorSelection: Compiled; /** What the publish preview shows of the open entry. */ publishSummary: Compiled; /** What refused a publish. */ publishRefusal: Compiled; /** The projects the record holds. */ libraryProjects: Compiled; /** A project's pages, as the page library draws them. */ libraryPages: Compiled; /** A project's templates, as the page library draws them. */ libraryTemplates: Compiled; /** What refused a write under a new name. */ nameWriteRefusal: Compiled; /** The changes from one layout of a page to another. */ changes: Compiled; /** The patch that publishes a page. */ publish: Compiled; /** The patch that starts a page. */ newPage: Compiled; /** The patch that saves a page's draft as a template. */ saveTemplate: Compiled; /** The canvas's Apply: a batch of placements, one patch through the record's patch write. */ save: Compiled; } /** * The Studio's East, compiled on first use. * * @returns The compiled functions */ export declare function studioEast(): StudioEast; export {}; //# sourceMappingURL=studio-east.d.ts.map