@powerlines/plugin-alloy 0.18.117 → 0.18.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/components/index.cjs +1 -1
- package/dist/core/components/index.mjs +1 -1
- package/dist/core/components/output.cjs +5 -16
- package/dist/core/components/output.d.cts +2 -2
- package/dist/core/components/output.d.mts +2 -2
- package/dist/core/components/output.mjs +5 -16
- package/dist/core/components/single-line-comment.d.cts +2 -2
- package/dist/core/components/single-line-comment.d.mts +2 -2
- package/dist/core/components/source-file.d.cts +2 -2
- package/dist/core/components/source-file.d.mts +2 -2
- package/dist/core/contexts/context.cjs +2 -10
- package/dist/core/contexts/context.d.cts +1 -4
- package/dist/core/contexts/context.d.mts +1 -4
- package/dist/core/contexts/context.mjs +3 -9
- package/dist/core/contexts/index.cjs +0 -1
- package/dist/core/contexts/index.d.cts +2 -2
- package/dist/core/contexts/index.d.mts +2 -2
- package/dist/core/contexts/index.mjs +2 -2
- package/dist/core/index.cjs +2 -3
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.mts +2 -2
- package/dist/core/index.mjs +3 -3
- package/dist/helpers/capnp.cjs +6 -6
- package/dist/helpers/capnp.mjs +6 -6
- package/dist/helpers/typescript.cjs +2 -2
- package/dist/helpers/typescript.mjs +2 -2
- package/dist/index.cjs +5 -5
- package/dist/index.mjs +5 -5
- package/dist/internal/unctx.cjs +12 -0
- package/dist/internal/unctx.mjs +11 -0
- package/dist/markdown/components/markdown-file.cjs +1 -1
- package/dist/markdown/components/markdown-file.d.cts +3 -3
- package/dist/markdown/components/markdown-file.d.mts +3 -3
- package/dist/markdown/components/markdown-file.mjs +1 -1
- package/dist/markdown/components/markdown-table.cjs +1 -1
- package/dist/markdown/components/markdown-table.d.cts +4 -4
- package/dist/markdown/components/markdown-table.d.mts +4 -4
- package/dist/markdown/components/markdown-table.mjs +1 -1
- package/dist/typescript/components/builtin-file.d.cts +2 -2
- package/dist/typescript/components/builtin-file.d.mts +2 -2
- package/dist/typescript/components/dynamic-import-statement.d.cts +2 -2
- package/dist/typescript/components/dynamic-import-statement.d.mts +2 -2
- package/dist/typescript/components/entry-file.cjs +1 -1
- package/dist/typescript/components/entry-file.d.cts +2 -2
- package/dist/typescript/components/entry-file.d.mts +2 -2
- package/dist/typescript/components/entry-file.mjs +1 -1
- package/dist/typescript/components/tsdoc-reflection.cjs +3 -3
- package/dist/typescript/components/tsdoc-reflection.d.cts +4 -4
- package/dist/typescript/components/tsdoc-reflection.d.mts +4 -4
- package/dist/typescript/components/tsdoc-reflection.mjs +3 -3
- package/dist/typescript/components/tsdoc.cjs +1 -1
- package/dist/typescript/components/tsdoc.d.mts +1 -1
- package/dist/typescript/components/tsdoc.mjs +1 -1
- package/dist/typescript/components/typescript-file.cjs +3 -3
- package/dist/typescript/components/typescript-file.mjs +3 -3
- package/dist/typescript/components/typescript-interface.cjs +2 -2
- package/dist/typescript/components/typescript-interface.d.mts +4 -4
- package/dist/typescript/components/typescript-interface.mjs +2 -2
- package/dist/typescript/components/typescript-object.cjs +3 -3
- package/dist/typescript/components/typescript-object.d.cts +3 -3
- package/dist/typescript/components/typescript-object.d.mts +4 -4
- package/dist/typescript/components/typescript-object.mjs +3 -3
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
const require_core_components_output = require('./output.cjs');
|
|
1
2
|
const require_core_components_single_line_comment = require('./single-line-comment.cjs');
|
|
2
3
|
const require_core_components_source_file = require('./source-file.cjs');
|
|
3
|
-
const require_core_components_output = require('./output.cjs');
|
|
4
4
|
|
|
5
5
|
exports.Output = require_core_components_output.Output;
|
|
6
6
|
exports.SingleLineComment = require_core_components_single_line_comment.SingleLineComment;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_core_contexts_context = require('../contexts/context.cjs');
|
|
3
2
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
4
3
|
let __alloy_js_core = require("@alloy-js/core");
|
|
5
4
|
let __stryke_path_replace = require("@stryke/path/replace");
|
|
@@ -9,32 +8,22 @@ let __stryke_path_replace = require("@stryke/path/replace");
|
|
|
9
8
|
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
10
9
|
*/
|
|
11
10
|
function Output(props) {
|
|
12
|
-
const [{ children, context,
|
|
11
|
+
const [{ children, context, basePath }, rest] = (0, __alloy_js_core.splitProps)(props, [
|
|
13
12
|
"children",
|
|
14
13
|
"context",
|
|
15
|
-
"meta",
|
|
16
14
|
"basePath"
|
|
17
15
|
]);
|
|
18
16
|
const basePathRef = (0, __alloy_js_core.computed)(() => basePath ? (0, __stryke_path_replace.replacePath)(basePath, context.workspaceConfig.workspaceRoot) : context.workspaceConfig.workspaceRoot);
|
|
19
|
-
const Provider = require_core_contexts_context.unctx.use().Provider;
|
|
20
17
|
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Output, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
|
|
21
18
|
get basePath() {
|
|
22
19
|
return basePathRef.value;
|
|
23
20
|
},
|
|
24
21
|
get children() {
|
|
25
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
meta: meta ?? {}
|
|
22
|
+
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
23
|
+
get when() {
|
|
24
|
+
return Boolean(context);
|
|
29
25
|
},
|
|
30
|
-
|
|
31
|
-
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
32
|
-
get when() {
|
|
33
|
-
return Boolean(context);
|
|
34
|
-
},
|
|
35
|
-
children
|
|
36
|
-
});
|
|
37
|
-
}
|
|
26
|
+
children
|
|
38
27
|
});
|
|
39
28
|
}
|
|
40
29
|
}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetaItem } from "../contexts/context.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core7 from "@alloy-js/core";
|
|
3
3
|
import { OutputProps as OutputProps$1 } from "@alloy-js/core";
|
|
4
4
|
import { PluginContext } from "powerlines/types/context";
|
|
5
5
|
|
|
@@ -17,7 +17,7 @@ interface OutputProps<TContext extends PluginContext = PluginContext, TMeta exte
|
|
|
17
17
|
/**
|
|
18
18
|
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
19
19
|
*/
|
|
20
|
-
declare function Output<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(props: OutputProps<TContext, TMeta>):
|
|
20
|
+
declare function Output<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(props: OutputProps<TContext, TMeta>): _alloy_js_core7.Children;
|
|
21
21
|
declare type __ΩOutputProps = any[];
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Output, OutputProps, __ΩOutputProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetaItem } from "../contexts/context.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core1 from "@alloy-js/core";
|
|
3
3
|
import { OutputProps as OutputProps$1 } from "@alloy-js/core";
|
|
4
4
|
import { PluginContext } from "powerlines/types/context";
|
|
5
5
|
|
|
@@ -17,7 +17,7 @@ interface OutputProps<TContext extends PluginContext = PluginContext, TMeta exte
|
|
|
17
17
|
/**
|
|
18
18
|
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
19
19
|
*/
|
|
20
|
-
declare function Output<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(props: OutputProps<TContext, TMeta>):
|
|
20
|
+
declare function Output<TContext extends PluginContext = PluginContext, TMeta extends Record<string, MetaItem> = Record<string, MetaItem>>(props: OutputProps<TContext, TMeta>): _alloy_js_core1.Children;
|
|
21
21
|
declare type __ΩOutputProps = any[];
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Output, OutputProps, __ΩOutputProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { unctx } from "../contexts/context.mjs";
|
|
2
1
|
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
3
2
|
import { Output as Output$1, Show, computed, splitProps } from "@alloy-js/core";
|
|
4
3
|
import { replacePath } from "@stryke/path/replace";
|
|
@@ -8,32 +7,22 @@ import { replacePath } from "@stryke/path/replace";
|
|
|
8
7
|
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
9
8
|
*/
|
|
10
9
|
function Output(props) {
|
|
11
|
-
const [{ children, context,
|
|
10
|
+
const [{ children, context, basePath }, rest] = splitProps(props, [
|
|
12
11
|
"children",
|
|
13
12
|
"context",
|
|
14
|
-
"meta",
|
|
15
13
|
"basePath"
|
|
16
14
|
]);
|
|
17
15
|
const basePathRef = computed(() => basePath ? replacePath(basePath, context.workspaceConfig.workspaceRoot) : context.workspaceConfig.workspaceRoot);
|
|
18
|
-
const Provider = unctx.use().Provider;
|
|
19
16
|
return createComponent(Output$1, mergeProps(rest, {
|
|
20
17
|
get basePath() {
|
|
21
18
|
return basePathRef.value;
|
|
22
19
|
},
|
|
23
20
|
get children() {
|
|
24
|
-
return createComponent(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
meta: meta ?? {}
|
|
21
|
+
return createComponent(Show, {
|
|
22
|
+
get when() {
|
|
23
|
+
return Boolean(context);
|
|
28
24
|
},
|
|
29
|
-
|
|
30
|
-
return createComponent(Show, {
|
|
31
|
-
get when() {
|
|
32
|
-
return Boolean(context);
|
|
33
|
-
},
|
|
34
|
-
children
|
|
35
|
-
});
|
|
36
|
-
}
|
|
25
|
+
children
|
|
37
26
|
});
|
|
38
27
|
}
|
|
39
28
|
}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core8 from "@alloy-js/core";
|
|
3
3
|
|
|
4
4
|
//#region src/core/components/single-line-comment.d.ts
|
|
5
5
|
type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
|
|
@@ -15,7 +15,7 @@ interface SingleLineCommentProps extends ComponentProps {
|
|
|
15
15
|
* A single line comment block. The children are rendered as a prose element, which means that they
|
|
16
16
|
* are broken into multiple lines
|
|
17
17
|
*/
|
|
18
|
-
declare function SingleLineComment(props: SingleLineCommentProps):
|
|
18
|
+
declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core8.Children;
|
|
19
19
|
declare type __ΩSingleLineCommentVariant = any[];
|
|
20
20
|
declare type __ΩSingleLineCommentProps = any[];
|
|
21
21
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
3
|
|
|
4
4
|
//#region src/core/components/single-line-comment.d.ts
|
|
5
5
|
type SingleLineCommentVariant = "double-slash" | "triple-slash" | "slash-star" | "slash-star-star" | "markdown";
|
|
@@ -15,7 +15,7 @@ interface SingleLineCommentProps extends ComponentProps {
|
|
|
15
15
|
* A single line comment block. The children are rendered as a prose element, which means that they
|
|
16
16
|
* are broken into multiple lines
|
|
17
17
|
*/
|
|
18
|
-
declare function SingleLineComment(props: SingleLineCommentProps):
|
|
18
|
+
declare function SingleLineComment(props: SingleLineCommentProps): _alloy_js_core0.Children;
|
|
19
19
|
declare type __ΩSingleLineCommentVariant = any[];
|
|
20
20
|
declare type __ΩSingleLineCommentProps = any[];
|
|
21
21
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core4 from "@alloy-js/core";
|
|
3
3
|
import { SourceFileProps as SourceFileProps$1 } from "@alloy-js/core";
|
|
4
4
|
import { StoragePreset } from "powerlines/types/fs";
|
|
5
5
|
|
|
@@ -26,7 +26,7 @@ type SourceFileProps = SourceFileProps$1 & ComponentProps & {
|
|
|
26
26
|
* @param props - The properties for the source file.
|
|
27
27
|
* @returns The rendered source file component.
|
|
28
28
|
*/
|
|
29
|
-
declare function SourceFile(props: SourceFileProps):
|
|
29
|
+
declare function SourceFile(props: SourceFileProps): _alloy_js_core4.Children;
|
|
30
30
|
declare type __ΩSourceFileProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { SourceFile, SourceFileProps, __ΩSourceFileProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
3
|
import { SourceFileProps as SourceFileProps$1 } from "@alloy-js/core";
|
|
4
4
|
import { StoragePreset } from "powerlines/types/fs";
|
|
5
5
|
|
|
@@ -26,7 +26,7 @@ type SourceFileProps = SourceFileProps$1 & ComponentProps & {
|
|
|
26
26
|
* @param props - The properties for the source file.
|
|
27
27
|
* @returns The rendered source file component.
|
|
28
28
|
*/
|
|
29
|
-
declare function SourceFile(props: SourceFileProps):
|
|
29
|
+
declare function SourceFile(props: SourceFileProps): _alloy_js_core0.Children;
|
|
30
30
|
declare type __ΩSourceFileProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { SourceFile, SourceFileProps, __ΩSourceFileProps };
|
|
@@ -1,20 +1,13 @@
|
|
|
1
|
-
const
|
|
2
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
3
|
-
let node_async_hooks = require("node:async_hooks");
|
|
4
|
-
let unctx = require("unctx");
|
|
1
|
+
const require_unctx = require('../../internal/unctx.cjs');
|
|
5
2
|
|
|
6
3
|
//#region src/core/contexts/context.ts
|
|
7
|
-
const unctx$1 = (0, unctx.createContext)({
|
|
8
|
-
asyncContext: true,
|
|
9
|
-
AsyncLocalStorage: node_async_hooks.AsyncLocalStorage
|
|
10
|
-
});
|
|
11
4
|
/**
|
|
12
5
|
* Hook to access the Powerlines Context.
|
|
13
6
|
*
|
|
14
7
|
* @returns The Context.
|
|
15
8
|
*/
|
|
16
9
|
function usePowerlinesContext() {
|
|
17
|
-
return
|
|
10
|
+
return require_unctx.unctx.use();
|
|
18
11
|
}
|
|
19
12
|
/**
|
|
20
13
|
* Hook to safely access the {@link PluginContext | Powerlines context}.
|
|
@@ -54,7 +47,6 @@ function useMeta() {
|
|
|
54
47
|
}
|
|
55
48
|
|
|
56
49
|
//#endregion
|
|
57
|
-
exports.unctx = unctx$1;
|
|
58
50
|
exports.useMeta = useMeta;
|
|
59
51
|
exports.useMetaSafe = useMetaSafe;
|
|
60
52
|
exports.usePowerlines = usePowerlines;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { ComponentContext } from "@alloy-js/core";
|
|
2
1
|
import { PluginContext } from "powerlines/types/context";
|
|
3
|
-
import * as unctx0 from "unctx";
|
|
4
2
|
import { StoragePreset } from "powerlines/types/fs";
|
|
5
3
|
|
|
6
4
|
//#region src/core/contexts/context.d.ts
|
|
@@ -32,7 +30,6 @@ interface PowerlinesContextInterface<TContext extends PluginContext = PluginCont
|
|
|
32
30
|
*/
|
|
33
31
|
meta: TMeta;
|
|
34
32
|
}
|
|
35
|
-
declare const unctx: unctx0.UseContext<ComponentContext<PowerlinesContextInterface<any, any>>>;
|
|
36
33
|
/**
|
|
37
34
|
* Hook to access the Powerlines Context.
|
|
38
35
|
*
|
|
@@ -66,4 +63,4 @@ declare function useMeta<TMeta extends Record<string, MetaItem> = Record<string,
|
|
|
66
63
|
declare type __ΩMetaItem = any[];
|
|
67
64
|
declare type __ΩPowerlinesContextInterface = any[];
|
|
68
65
|
//#endregion
|
|
69
|
-
export { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface,
|
|
66
|
+
export { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ComponentContext } from "@alloy-js/core";
|
|
2
|
-
import * as unctx0 from "unctx";
|
|
3
1
|
import { PluginContext } from "powerlines/types/context";
|
|
4
2
|
import { StoragePreset } from "powerlines/types/fs";
|
|
5
3
|
|
|
@@ -32,7 +30,6 @@ interface PowerlinesContextInterface<TContext extends PluginContext = PluginCont
|
|
|
32
30
|
*/
|
|
33
31
|
meta: TMeta;
|
|
34
32
|
}
|
|
35
|
-
declare const unctx: unctx0.UseContext<ComponentContext<PowerlinesContextInterface<any, any>>>;
|
|
36
33
|
/**
|
|
37
34
|
* Hook to access the Powerlines Context.
|
|
38
35
|
*
|
|
@@ -66,4 +63,4 @@ declare function useMeta<TMeta extends Record<string, MetaItem> = Record<string,
|
|
|
66
63
|
declare type __ΩMetaItem = any[];
|
|
67
64
|
declare type __ΩPowerlinesContextInterface = any[];
|
|
68
65
|
//#endregion
|
|
69
|
-
export { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface,
|
|
66
|
+
export { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3
|
-
import { createContext as createContext$1 } from "unctx";
|
|
1
|
+
import { unctx } from "../../internal/unctx.mjs";
|
|
4
2
|
|
|
5
3
|
//#region src/core/contexts/context.ts
|
|
6
|
-
const unctx = createContext$1({
|
|
7
|
-
asyncContext: true,
|
|
8
|
-
AsyncLocalStorage
|
|
9
|
-
});
|
|
10
4
|
/**
|
|
11
5
|
* Hook to access the Powerlines Context.
|
|
12
6
|
*
|
|
13
7
|
* @returns The Context.
|
|
14
8
|
*/
|
|
15
9
|
function usePowerlinesContext() {
|
|
16
|
-
return
|
|
10
|
+
return unctx.use();
|
|
17
11
|
}
|
|
18
12
|
/**
|
|
19
13
|
* Hook to safely access the {@link PluginContext | Powerlines context}.
|
|
@@ -53,4 +47,4 @@ function useMeta() {
|
|
|
53
47
|
}
|
|
54
48
|
|
|
55
49
|
//#endregion
|
|
56
|
-
export {
|
|
50
|
+
export { useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe };
|
|
@@ -5,7 +5,6 @@ exports.ReflectionClassContext = require_core_contexts_reflection.ReflectionClas
|
|
|
5
5
|
exports.ReflectionMethodContext = require_core_contexts_reflection.ReflectionMethodContext;
|
|
6
6
|
exports.ReflectionParameterContext = require_core_contexts_reflection.ReflectionParameterContext;
|
|
7
7
|
exports.ReflectionPropertyContext = require_core_contexts_reflection.ReflectionPropertyContext;
|
|
8
|
-
exports.unctx = require_core_contexts_context.unctx;
|
|
9
8
|
exports.useMeta = require_core_contexts_context.useMeta;
|
|
10
9
|
exports.useMetaSafe = require_core_contexts_context.useMetaSafe;
|
|
11
10
|
exports.usePowerlines = require_core_contexts_context.usePowerlines;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface,
|
|
1
|
+
import { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./context.cjs";
|
|
2
2
|
import { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./reflection.cjs";
|
|
3
|
-
export { MetaItem, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩMetaItem, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface,
|
|
3
|
+
export { MetaItem, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩMetaItem, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface,
|
|
1
|
+
import { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./context.mjs";
|
|
2
2
|
import { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./reflection.mjs";
|
|
3
|
-
export { MetaItem, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩMetaItem, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface,
|
|
3
|
+
export { MetaItem, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩMetaItem, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./context.mjs";
|
|
2
2
|
import { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./reflection.mjs";
|
|
3
3
|
|
|
4
|
-
export { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext,
|
|
4
|
+
export { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
package/dist/core/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_core_components_output = require('./components/output.cjs');
|
|
2
2
|
const require_core_components_single_line_comment = require('./components/single-line-comment.cjs');
|
|
3
|
+
const require_core_contexts_context = require('./contexts/context.cjs');
|
|
3
4
|
const require_core_contexts_reflection = require('./contexts/reflection.cjs');
|
|
4
5
|
require('./contexts/index.cjs');
|
|
5
6
|
const require_core_components_source_file = require('./components/source-file.cjs');
|
|
6
|
-
const require_core_components_output = require('./components/output.cjs');
|
|
7
7
|
require('./components/index.cjs');
|
|
8
8
|
|
|
9
9
|
exports.Output = require_core_components_output.Output;
|
|
@@ -13,7 +13,6 @@ exports.ReflectionParameterContext = require_core_contexts_reflection.Reflection
|
|
|
13
13
|
exports.ReflectionPropertyContext = require_core_contexts_reflection.ReflectionPropertyContext;
|
|
14
14
|
exports.SingleLineComment = require_core_components_single_line_comment.SingleLineComment;
|
|
15
15
|
exports.SourceFile = require_core_components_source_file.SourceFile;
|
|
16
|
-
exports.unctx = require_core_contexts_context.unctx;
|
|
17
16
|
exports.useMeta = require_core_contexts_context.useMeta;
|
|
18
17
|
exports.useMetaSafe = require_core_contexts_context.useMetaSafe;
|
|
19
18
|
exports.usePowerlines = require_core_contexts_context.usePowerlines;
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface,
|
|
1
|
+
import { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./contexts/context.cjs";
|
|
2
2
|
import { Output, OutputProps, __ΩOutputProps } from "./components/output.cjs";
|
|
3
3
|
import { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant } from "./components/single-line-comment.cjs";
|
|
4
4
|
import { SourceFile, SourceFileProps, __ΩSourceFileProps } from "./components/source-file.cjs";
|
|
5
5
|
import "./components/index.cjs";
|
|
6
6
|
import { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./contexts/reflection.cjs";
|
|
7
7
|
import "./contexts/index.cjs";
|
|
8
|
-
export { MetaItem, Output, OutputProps, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩMetaItem, __ΩOutputProps, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps,
|
|
8
|
+
export { MetaItem, Output, OutputProps, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩMetaItem, __ΩOutputProps, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
package/dist/core/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface,
|
|
1
|
+
import { MetaItem, PowerlinesContextInterface, __ΩMetaItem, __ΩPowerlinesContextInterface, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./contexts/context.mjs";
|
|
2
2
|
import { Output, OutputProps, __ΩOutputProps } from "./components/output.mjs";
|
|
3
3
|
import { SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant } from "./components/single-line-comment.mjs";
|
|
4
4
|
import { SourceFile, SourceFileProps, __ΩSourceFileProps } from "./components/source-file.mjs";
|
|
5
5
|
import "./components/index.mjs";
|
|
6
6
|
import { ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, __ΩReflectionClassContextInterface, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./contexts/reflection.mjs";
|
|
7
7
|
import "./contexts/index.mjs";
|
|
8
|
-
export { MetaItem, Output, OutputProps, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩMetaItem, __ΩOutputProps, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps,
|
|
8
|
+
export { MetaItem, Output, OutputProps, PowerlinesContextInterface, ReflectionClassContext, ReflectionClassContextInterface, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SingleLineCommentProps, SingleLineCommentVariant, SourceFile, SourceFileProps, __ΩMetaItem, __ΩOutputProps, __ΩPowerlinesContextInterface, __ΩReflectionClassContextInterface, __ΩSingleLineCommentProps, __ΩSingleLineCommentVariant, __ΩSourceFileProps, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
package/dist/core/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Output } from "./components/output.mjs";
|
|
2
2
|
import { SingleLineComment } from "./components/single-line-comment.mjs";
|
|
3
|
+
import { useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./contexts/context.mjs";
|
|
3
4
|
import { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./contexts/reflection.mjs";
|
|
4
5
|
import "./contexts/index.mjs";
|
|
5
6
|
import { SourceFile } from "./components/source-file.mjs";
|
|
6
|
-
import { Output } from "./components/output.mjs";
|
|
7
7
|
import "./components/index.mjs";
|
|
8
8
|
|
|
9
|
-
export { Output, ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SourceFile,
|
|
9
|
+
export { Output, ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SourceFile, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
package/dist/helpers/capnp.cjs
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
|
|
3
|
-
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
4
|
-
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
5
|
-
let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
6
2
|
let defu = require("defu");
|
|
7
3
|
defu = require_rolldown_runtime.__toESM(defu);
|
|
8
|
-
let
|
|
9
|
-
let __stryke_string_format_pascal_case = require("@stryke/string-format/pascal-case");
|
|
4
|
+
let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
|
|
10
5
|
let __stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
|
|
6
|
+
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
7
|
+
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
11
8
|
let __powerlines_deepkit_vendor_core = require("@powerlines/deepkit/vendor/core");
|
|
9
|
+
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
12
10
|
let __stryke_capnp_compile = require("@stryke/capnp/compile");
|
|
13
11
|
let __stryke_capnp_helpers = require("@stryke/capnp/helpers");
|
|
14
12
|
let __stryke_convert_to_array = require("@stryke/convert/to-array");
|
|
@@ -16,9 +14,11 @@ let __stryke_helpers_get_unique = require("@stryke/helpers/get-unique");
|
|
|
16
14
|
let __stryke_json = require("@stryke/json");
|
|
17
15
|
let __stryke_path_join = require("@stryke/path/join");
|
|
18
16
|
let __stryke_string_format_get_words = require("@stryke/string-format/get-words");
|
|
17
|
+
let __stryke_string_format_pascal_case = require("@stryke/string-format/pascal-case");
|
|
19
18
|
let __stryke_type_checks_is_bigint = require("@stryke/type-checks/is-bigint");
|
|
20
19
|
let __stryke_type_checks_is_null = require("@stryke/type-checks/is-null");
|
|
21
20
|
let __stryke_type_checks_is_number = require("@stryke/type-checks/is-number");
|
|
21
|
+
let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
22
22
|
let node_buffer = require("node:buffer");
|
|
23
23
|
let node_child_process = require("node:child_process");
|
|
24
24
|
let node_util = require("node:util");
|
package/dist/helpers/capnp.mjs
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { getUnionTypes, kindToName } from "@powerlines/deepkit/utilities";
|
|
2
|
-
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
3
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
4
|
-
import { isString } from "@stryke/type-checks/is-string";
|
|
5
1
|
import defu from "defu";
|
|
6
|
-
import {
|
|
7
|
-
import { pascalCase } from "@stryke/string-format/pascal-case";
|
|
2
|
+
import { getUnionTypes, kindToName } from "@powerlines/deepkit/utilities";
|
|
8
3
|
import { camelCase } from "@stryke/string-format/camel-case";
|
|
4
|
+
import { titleCase } from "@stryke/string-format/title-case";
|
|
5
|
+
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
9
6
|
import { getClassName } from "@powerlines/deepkit/vendor/core";
|
|
7
|
+
import { ReflectionKind, memberNameToString } from "@powerlines/deepkit/vendor/type";
|
|
10
8
|
import { capnpc } from "@stryke/capnp/compile";
|
|
11
9
|
import { resolveOptions } from "@stryke/capnp/helpers";
|
|
12
10
|
import { toArray } from "@stryke/convert/to-array";
|
|
@@ -14,9 +12,11 @@ import { getUniqueBy } from "@stryke/helpers/get-unique";
|
|
|
14
12
|
import { StormJSON } from "@stryke/json";
|
|
15
13
|
import { joinPaths } from "@stryke/path/join";
|
|
16
14
|
import { getWords } from "@stryke/string-format/get-words";
|
|
15
|
+
import { pascalCase } from "@stryke/string-format/pascal-case";
|
|
17
16
|
import { isBigInt } from "@stryke/type-checks/is-bigint";
|
|
18
17
|
import { isNull } from "@stryke/type-checks/is-null";
|
|
19
18
|
import { isNumber } from "@stryke/type-checks/is-number";
|
|
19
|
+
import { isString } from "@stryke/type-checks/is-string";
|
|
20
20
|
import { Buffer } from "node:buffer";
|
|
21
21
|
import { exec } from "node:child_process";
|
|
22
22
|
import { promisify } from "node:util";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
|
|
3
|
-
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
4
|
-
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
5
3
|
let __stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
|
|
4
|
+
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
5
|
+
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
6
6
|
|
|
7
7
|
//#region src/helpers/typescript.ts
|
|
8
8
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { stringifyValue } from "@powerlines/deepkit/utilities";
|
|
2
|
-
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
3
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
4
2
|
import { camelCase } from "@stryke/string-format/camel-case";
|
|
3
|
+
import { titleCase } from "@stryke/string-format/title-case";
|
|
4
|
+
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
5
5
|
|
|
6
6
|
//#region src/helpers/typescript.ts
|
|
7
7
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
3
|
-
const require_core_contexts_context = require('./core/contexts/context.cjs');
|
|
4
3
|
const require_core_components_output = require('./core/components/output.cjs');
|
|
4
|
+
const require_unctx = require('./internal/unctx.cjs');
|
|
5
5
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
6
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
7
|
-
let __stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
|
8
6
|
let __alloy_js_babel_preset = require("@alloy-js/babel-preset");
|
|
9
7
|
__alloy_js_babel_preset = require_rolldown_runtime.__toESM(__alloy_js_babel_preset);
|
|
8
|
+
let __alloy_js_core = require("@alloy-js/core");
|
|
10
9
|
let __powerlines_plugin_babel = require("@powerlines/plugin-babel");
|
|
11
10
|
__powerlines_plugin_babel = require_rolldown_runtime.__toESM(__powerlines_plugin_babel);
|
|
12
11
|
let __stryke_json_storm_json = require("@stryke/json/storm-json");
|
|
12
|
+
let __stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
|
13
13
|
|
|
14
14
|
//#region src/index.tsx
|
|
15
15
|
/**
|
|
@@ -59,10 +59,10 @@ const plugin = (options = {}) => {
|
|
|
59
59
|
this.debug("Attaching the `render` method to the context object.");
|
|
60
60
|
this.render = async (children) => {
|
|
61
61
|
const meta = {};
|
|
62
|
-
await
|
|
62
|
+
await require_unctx.unctx.callAsync({
|
|
63
63
|
value: this,
|
|
64
64
|
meta
|
|
65
|
-
}
|
|
65
|
+
}, async () => {
|
|
66
66
|
const _self$ = this;
|
|
67
67
|
await (0, __alloy_js_core.traverseOutput)(await (0, __alloy_js_core.renderAsync)((0, __alloy_js_core_jsx_runtime.createComponent)(require_core_components_output.Output, {
|
|
68
68
|
context: _self$,
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { unctx } from "./core/contexts/context.mjs";
|
|
2
1
|
import { Output as Output$1 } from "./core/components/output.mjs";
|
|
2
|
+
import { unctx } from "./internal/unctx.mjs";
|
|
3
3
|
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
4
|
-
import { createNamedContext, renderAsync, traverseOutput } from "@alloy-js/core";
|
|
5
|
-
import { findFileExtension, findFileExtensionSafe } from "@stryke/path/file-path-fns";
|
|
6
4
|
import alloyPreset from "@alloy-js/babel-preset";
|
|
5
|
+
import { renderAsync, traverseOutput } from "@alloy-js/core";
|
|
7
6
|
import babel from "@powerlines/plugin-babel";
|
|
8
7
|
import { StormJSON } from "@stryke/json/storm-json";
|
|
8
|
+
import { findFileExtension, findFileExtensionSafe } from "@stryke/path/file-path-fns";
|
|
9
9
|
|
|
10
10
|
//#region src/index.tsx
|
|
11
11
|
/**
|
|
@@ -55,10 +55,10 @@ const plugin = (options = {}) => {
|
|
|
55
55
|
this.debug("Attaching the `render` method to the context object.");
|
|
56
56
|
this.render = async (children) => {
|
|
57
57
|
const meta = {};
|
|
58
|
-
await unctx.callAsync(
|
|
58
|
+
await unctx.callAsync({
|
|
59
59
|
value: this,
|
|
60
60
|
meta
|
|
61
|
-
}
|
|
61
|
+
}, async () => {
|
|
62
62
|
const _self$ = this;
|
|
63
63
|
await traverseOutput(await renderAsync(createComponent(Output$1, {
|
|
64
64
|
context: _self$,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let node_async_hooks = require("node:async_hooks");
|
|
3
|
+
let unctx = require("unctx");
|
|
4
|
+
|
|
5
|
+
//#region src/internal/unctx.ts
|
|
6
|
+
const unctx$1 = (0, unctx.createContext)({
|
|
7
|
+
asyncContext: true,
|
|
8
|
+
AsyncLocalStorage: node_async_hooks.AsyncLocalStorage
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
exports.unctx = unctx$1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_core_contexts_context = require('../../core/contexts/context.cjs');
|
|
3
2
|
const require_core_components_single_line_comment = require('../../core/components/single-line-comment.cjs');
|
|
3
|
+
const require_core_contexts_context = require('../../core/contexts/context.cjs');
|
|
4
4
|
const require_core_components_source_file = require('../../core/components/source-file.cjs');
|
|
5
5
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
6
6
|
let __alloy_js_core = require("@alloy-js/core");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, SourceFileHeaderProps } from "../../types/components.cjs";
|
|
2
2
|
import { SourceFileProps as SourceFileProps$1 } from "../../core/components/source-file.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core5 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/components/markdown-file.d.ts
|
|
6
6
|
type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps;
|
|
@@ -10,14 +10,14 @@ type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps;
|
|
|
10
10
|
* @param props - The properties for the source file.
|
|
11
11
|
* @returns The rendered source file component.
|
|
12
12
|
*/
|
|
13
|
-
declare function MarkdownFile(props: MarkdownFileProps):
|
|
13
|
+
declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core5.Children;
|
|
14
14
|
/**
|
|
15
15
|
* Renders the header for a Powerlines Typescript source file.
|
|
16
16
|
*
|
|
17
17
|
* @param props - The properties for the source file header.
|
|
18
18
|
* @returns The rendered source file header.
|
|
19
19
|
*/
|
|
20
|
-
declare function MarkdownFileHeader(props: SourceFileHeaderProps):
|
|
20
|
+
declare function MarkdownFileHeader(props: SourceFileHeaderProps): _alloy_js_core5.Children;
|
|
21
21
|
declare type __ΩMarkdownFileProps = any[];
|
|
22
22
|
//#endregion
|
|
23
23
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, __ΩMarkdownFileProps };
|