-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtypes.ts
More file actions
37 lines (35 loc) · 1.17 KB
/
Copy pathtypes.ts
File metadata and controls
37 lines (35 loc) · 1.17 KB
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
29
30
31
32
33
34
35
36
37
// Type-only public entry for `import type { ... } from '@domstack/static/types.js'`.
// There is intentionally no runtime `types.js` today; this source emits `types.d.ts`,
// and `types.js` is reserved for a future runtime/type companion entry if needed.
import type { Results } from './lib/builder.js'
export type { BuildOptions } from 'esbuild'
export type { DomStackOpts, Results, SiteData } from './lib/builder.js'
export type {
AsyncGlobalDataFunction,
GlobalDataFunction,
GlobalDataFunctionParams,
} from './lib/build-pages/index.js'
export type {
AsyncLayoutFunction,
LayoutFunction,
LayoutFunctionParams,
PageData,
} from './lib/build-pages/page-data.js'
export type {
AsyncPageFunction,
PageFunction,
PageFunctionParams,
} from './lib/build-pages/page-builders/page-writer.js'
export type {
TemplateAsyncIterator,
TemplateFunction,
TemplateFunctionParams,
TemplateOutputOverride,
} from './lib/build-pages/page-builders/template-builder.js'
export type { PageInfo, TemplateInfo } from './lib/identify-pages.js'
export type TestBuildResult = {
dest: string
results: Results
readOutput: (path: string) => Promise<string>
cleanup: () => Promise<void>
}