-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
36 lines (29 loc) · 1.03 KB
/
index.ts
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
export * from "./component";
export * from "./tempseal-document";
export { default as ComponentMap } from "./component-map";
export { default as Context } from "./context";
export { default as IFragment } from "./fragment";
export * as Fragments from "./fragments";
export * as SideEffects from "./side-effect/side-effects";
export * from "./side-effect/css";
export * from "./side-effect/scss";
export * from "./side-effect/title";
export * from "./side-effect/html-chunk";
export * from "./side-effect/file";
export {
SideEffect,
MetaSideEffect,
LinkableSideEffect,
} from "./side-effect/side-effect";
export * as CompilePipeline from "./compile-pipeline";
export * as Config from "./config/config";
export * from "./embed-component";
export * from "./render-to-file";
export type THeaderLevel = 1 | 2 | 3 | 4 | 5 | 6;
import { IComponent } from "./component";
export function segment<ParamType>(
component: { default: IComponent<ParamType> },
props: ParamType
) {
return { component_name: component.default.identifier as string, props };
}