tuil
ReferencePackages@mwillbanks/tuil-ghostty-webAPI

PlaygroundDocumentV1

export exported by @mwillbanks/tuil-ghostty-web.

View rawEdit

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

MemberTypeRequiredDescriptionRelated types
version1YesThe version member uses the 1 contract.
rootPlaygroundNodeV1YesThe 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; }YesThe 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.

Source

View the secondary source reference

Package

@mwillbanks/tuil-ghostty-web

On this page