sqlappletcreator

package
v0.0.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package sqlappletcreator is the standalone SQL-applet authoring window (ADR-0132 Update "O4" / ADR-0135 §SD7). It was the "Save applet" menu inlined in the SQL Playground's toolbar; factored into its own app, the playground opens it over `windowhost.open` with the current buffer, and it composes the ADR-0132 §SD1 document. Two outputs (O4 "A+B"): Save publishes it on `applet.store.save` — the store service (apps/sqlapplet) validates, persists, and mints a live manifest; Export writes it to a user-chosen file through the fs Powerbox save dialog (a durable, user-owned artifact). This app never imports the playground or the host, only the neutral contracts (appletcreatecfg, appletstore, fsbroker).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App is the authoring window. A fresh instance per Open (factory dispatch); the launch config seeds the SQL buffer and endpoint at Mount, the user fills slug/title/icon, and Save or Export emits. The draft fields are stable heap storage the TextEdit bindings write back across frames (the imzero2 stable-pointer rule).

func (*App) Frame

func (inst *App) Frame(ctx app.FrameContextI) (err error)

func (*App) Manifest

func (inst *App) Manifest() app.Manifest

func (*App) Mount

func (inst *App) Mount(ctx app.MountContextI) (err error)

func (*App) Unmount

func (inst *App) Unmount(ctx app.MountContextI) (err error)

Directories

Path Synopsis
Package appletcreatecfg is the launch contract of the SQL applet creator (ADR-0132 Update "O4" / ADR-0135 §SD7): the target app id, the config kind, and the typed arguments an app opens a creator window with over `windowhost.open`.
Package appletcreatecfg is the launch contract of the SQL applet creator (ADR-0132 Update "O4" / ADR-0135 §SD7): the target app id, the config kind, and the typed arguments an app opens a creator window with over `windowhost.open`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL