-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
28 lines (23 loc) · 890 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* @license
* Julian Cataldo
* SPDX-License-Identifier: ISC
*/
/** @typedef {import('./collect.js').Metadata} Metadata */
/** @typedef {import('./collect.js').PathsOptions} PathsOptions */
/** @typedef {import('./collect.js').Page} Page */
export { fetchFont, OG_SIZE, FONTS } from './render.js';
/** @typedef {import('./render.js').RenderOptions} RenderOptions */
export { styled } from './dummy-literals.js';
// NOTE: Just `export { html } from '@lit-labs/ssr';` will not show in TypeDoc.
// FIXME: Also, `html` produce a 404, see https://github.com/TypeStrong/typedoc/issues/2497
import { html as litHtml } from '@lit-labs/ssr';
export const html = litHtml;
/**
* @typedef {import('@lit-labs/ssr').ServerRenderedTemplate} LitServerTemplate
*
* @typedef TemplateOptions
* @property {Page} page
*
* @typedef {(options: TemplateOptions) => LitServerTemplate} Template
*/