internal

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package internal is the shell's implementation: one chrome, one frame, the five pages written by hand, the catalog, and the screens ui/screens generates for every resource kit/rest registered before this module was composed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(api *httpx.API, s Shell)

Mount is the whole shell. Everything a page shares is built here, once, as a value — the sheet, the chrome, the navigation, the frame — and then the screens, the pages and the catalog are mounted against them. Nothing is filled in afterwards.

Types

type Shell

type Shell struct {
	Nav       []module.NavEntry
	Authorize httpx.Authorizer
	Tenants   tenantcontracts.Service
	Token     tenancy.SystemToken
	// Theme is the installation's two palettes: the one thing about the look of
	// this shell that belongs to whoever runs it. See design.Pair.
	Theme     design.Pair
	Storybook func(context.Context) (export.Storybook, error)
	Messages  page.Messages
	Locale    func(context.Context, page.Request) string
}

Shell is what the manifest hands the implementation.

Jump to

Keyboard shortcuts

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