PlaygroundDocumentV1
export exported by @mwillbanks/tuil-ghostty-web.
export
Public export exported by @mwillbanks/tuil-ghostty-web.
export interface PlaygroundDocumentV1 {
readonly version: 1;
readonly root: PlaygroundNodeV1;
readonly terminal: {
readonly width: number;
readonly height: number;
readonly theme: string;
readonly colorDepth?: 1 | 4 | 8 | 24;
readonly unicode?: boolean;
readonly reducedMotion?: boolean;
};
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
version | 1 | Yes | The version member uses the 1 contract. | — |
root | PlaygroundNodeV1 | Yes | The root member uses the PlaygroundNodeV1 contract. | PlaygroundNodeV1 |
terminal | { readonly width: number; readonly height: number; readonly theme: string; readonly colorDepth?: 1 | 4 | 8 | 24; readonly unicode?: boolean; readonly reducedMotion?: boolean; } | Yes | The terminal member uses the { readonly width: number; readonly height: number; readonly theme: string; readonly colorDepth?: 1 | 4 | 8 | 24; readonly unicode?: boolean; readonly reducedMotion?: boolean; } contract. | — |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference