Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F10361117
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/index.ts b/src/index.ts
index 559a541..e450ac5 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,50 +1,52 @@
export * as Controls from "./forms/controls/controls.js";
export * from "./forms/fields/field.js";
export * as Fields from "./forms/fields/fields.js";
export * from "./page/mountable.js";
export * from "./page/page.js";
export * from "./page/stateful-page.js";
export * from "./forms/form-types.js";
export * from "./forms/form.js";
export * from "./page/props-parser.js";
export * from "./utils/utils.js";
export * from "./page/list.js";
export * from "./page/sealious-list.js";
export * from "./utils/translate.js";
export * as sanitize from "./sanitize.js";
export * from "./forms/multiform.js";
export * as Components from "./components/components.js";
export * from "./mount.js";
export * from "./page/default-list-filters.js";
import { Context } from "koa";
import { Readable } from "node:stream";
export interface HTMLOptions {
morphing?: boolean;
}
export interface HTMLHeadOptions {
ctx: Context;
title: string | Promise<string | Readable>;
htmlOptions: Partial<HTMLOptions>;
metaImage?: string;
canonicalPath?: string;
css_clumps: string[];
description: string;
}
export interface HTMLArgs {
ctx: Context;
title: string | Promise<string>;
body: string | Promise<string>;
htmlOptions?: Partial<HTMLOptions>;
makeHead?: (
args: HTMLHeadOptions
) => string | Promise<string> | Readable | Promise<Readable>;
metaImage?: string;
canonicalPath?: string;
css_clumps?: string[];
description: string;
hideNavigation?: boolean;
}
+
+export type HTMLFunc = (args: HTMLArgs) => Readable | Promise<Readable>;
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Nov 8, 11:16 (14 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1034512
Default Alt Text
(1 KB)
Attached To
Mode
rSGEN sealgen
Attached
Detach File
Event Timeline
Log In to Comment