Page MenuHomeSealhub

component.ts
No OneTemporary

component.ts

import { FlatTemplatable } from "tempstream";
import {
ComponentArgument,
ExtractStructuredComponentArgumentsValues,
} from "./component-arguments";
import { JDDContext } from ".";
export interface ComponentConstructor<
A extends Record<string, ComponentArgument<unknown>> = Record<
string,
ComponentArgument<unknown>
>
> {
new (): Component<A>;
}
export abstract class Component<
ArgumentsT extends Record<string, ComponentArgument<unknown>> = Record<
string,
ComponentArgument<unknown>
>
> {
abstract getArguments(): ArgumentsT;
abstract toHTML(
args: ExtractStructuredComponentArgumentsValues<ArgumentsT>,
context: JDDContext
): FlatTemplatable;
}

File Metadata

Mime Type
text/x-java
Expires
Sat, Nov 23, 01:46 (1 d, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
547778
Default Alt Text
component.ts (675 B)

Event Timeline