-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtypes.ts
More file actions
63 lines (59 loc) · 1.92 KB
/
Copy pathtypes.ts
File metadata and controls
63 lines (59 loc) · 1.92 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/// <reference path="./types/thread-stream.d.ts" preserve="true" />
// 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 { DataDeps } from './lib/build-pages/data-deps.js'
export type { BuildOptions } from 'esbuild'
export type { DomStackOpts, Results, SiteData } from './lib/builder.js'
export type {
AsyncGlobalDataFunction,
GeneratedPageDefinition,
GlobalDataFunction,
GlobalDataFunctionParams,
PagesFunction,
PagesFunctionParams,
} from './lib/build-pages/index.js'
export type {
AsyncLayoutFunction,
AsyncLayoutVarsFunction,
LayoutFunction,
LayoutFunctionParams,
LayoutVars,
LayoutVarsFunction,
PageData,
} from './lib/build-pages/page-data.js'
export type {
AsyncPageFunction,
PageFunction,
PageFunctionParams,
} from './lib/build-pages/page-builders/page-writer.js'
export type {
AsyncTemplateFunction,
TemplateAsyncIterator,
TemplateFunction,
TemplateFunctionParams,
TemplateOutputOverride,
} from './lib/build-pages/page-builders/template-builder.js'
export type { PageInfo, PagesFileInfo, ServiceWorkerInfo, TemplateInfo } from './lib/identify-pages.js'
export type {
DomstackManifest,
DomstackManifestEntry,
DomstackManifestEntryPageMeta,
DomstackManifestBuiltHook,
DomstackManifestBuiltHookContext,
DomstackManifestHooks,
DomstackManifestKind,
DomstackManifestOptions,
DomstackManifestPolicyTransform,
DomstackManifestPolicyTransformContext,
DomstackManifestRecord,
DomstackManifestTransform,
DomstackManifestTransformContext,
} from './lib/domstack-manifest/index.js'
export type TestBuildResult = {
dest: string
results: Results
readOutput: (path: string) => Promise<string>
cleanup: () => Promise<void>
}