@powerlines/plugin-alloy 0.23.40 → 0.24.1
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/output.d.cts +2 -2
- 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/spacing.d.cts +2 -2
- package/dist/core/components/spacing.d.mts +2 -2
- package/dist/core/contexts/reflection.d.cts.map +1 -1
- package/dist/markdown/components/front-matter.d.cts +2 -2
- package/dist/markdown/components/front-matter.d.mts +2 -2
- package/dist/markdown/components/markdown-file.d.cts +3 -3
- package/dist/markdown/components/markdown-file.d.cts.map +1 -1
- package/dist/markdown/components/markdown-file.d.mts +3 -3
- package/dist/markdown/components/markdown-table.d.cts +4 -4
- 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.d.cts +2 -2
- package/dist/typescript/components/entry-file.d.mts +2 -2
- package/dist/typescript/components/index.cjs +3 -0
- package/dist/typescript/components/index.d.cts +2 -2
- package/dist/typescript/components/index.d.mts +2 -2
- package/dist/typescript/components/index.mjs +2 -2
- package/dist/typescript/components/interface-declaration.cjs +6 -3
- package/dist/typescript/components/interface-declaration.d.cts +6 -2
- package/dist/typescript/components/interface-declaration.d.cts.map +1 -1
- package/dist/typescript/components/interface-declaration.d.mts +6 -2
- package/dist/typescript/components/interface-declaration.d.mts.map +1 -1
- package/dist/typescript/components/interface-declaration.mjs +7 -4
- package/dist/typescript/components/interface-declaration.mjs.map +1 -1
- package/dist/typescript/components/object-declaration.cjs +4 -2
- package/dist/typescript/components/object-declaration.d.cts +3 -3
- package/dist/typescript/components/object-declaration.d.mts +3 -3
- package/dist/typescript/components/object-declaration.d.mts.map +1 -1
- package/dist/typescript/components/object-declaration.mjs +4 -2
- package/dist/typescript/components/object-declaration.mjs.map +1 -1
- package/dist/typescript/components/property-name.d.cts +2 -2
- package/dist/typescript/components/property-name.d.mts +2 -2
- package/dist/typescript/components/tsdoc-reflection.cjs +220 -89
- package/dist/typescript/components/tsdoc-reflection.d.cts +33 -8
- package/dist/typescript/components/tsdoc-reflection.d.cts.map +1 -1
- package/dist/typescript/components/tsdoc-reflection.d.mts +32 -7
- package/dist/typescript/components/tsdoc-reflection.d.mts.map +1 -1
- package/dist/typescript/components/tsdoc-reflection.mjs +221 -93
- package/dist/typescript/components/tsdoc-reflection.mjs.map +1 -1
- package/dist/typescript/components/tsdoc.cjs +11 -7
- package/dist/typescript/components/tsdoc.d.cts.map +1 -1
- package/dist/typescript/components/tsdoc.d.mts.map +1 -1
- package/dist/typescript/components/tsdoc.mjs +12 -8
- package/dist/typescript/components/tsdoc.mjs.map +1 -1
- package/dist/typescript/components/type-declaration.d.cts +2 -2
- package/dist/typescript/components/type-declaration.d.mts +2 -2
- package/dist/typescript/contexts/lexical-scope.d.cts +2 -2
- package/dist/typescript/contexts/lexical-scope.d.mts +2 -2
- package/dist/typescript/contexts/lexical-scope.d.mts.map +1 -1
- package/dist/typescript/index.cjs +3 -0
- package/dist/typescript/index.d.cts +2 -2
- package/dist/typescript/index.d.mts +2 -2
- package/dist/typescript/index.mjs +2 -2
- package/package.json +17 -17
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MetaItem } from "../contexts/meta.cjs";
|
|
2
2
|
import "../contexts/index.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core4 from "@alloy-js/core";
|
|
4
4
|
import { OutputProps as OutputProps$1 } from "@alloy-js/core";
|
|
5
5
|
import { PluginContext } from "@powerlines/core";
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@ interface OutputProps<TContext extends PluginContext = PluginContext> extends Om
|
|
|
18
18
|
/**
|
|
19
19
|
* Output component for rendering the Powerlines plugin's output files via templates.
|
|
20
20
|
*/
|
|
21
|
-
declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps<TContext>):
|
|
21
|
+
declare function Output<TContext extends PluginContext = PluginContext>(props: OutputProps<TContext>): _alloy_js_core4.Children;
|
|
22
22
|
declare type __ΩOutputProps = any[];
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Output, OutputProps, __ΩOutputProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.cjs";
|
|
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.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_core22 from "@alloy-js/core";
|
|
3
3
|
import { SourceFileProps as SourceFileProps$1 } from "@alloy-js/core";
|
|
4
4
|
import { StoragePreset } from "powerlines";
|
|
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_core22.Children;
|
|
30
30
|
declare type __ΩSourceFileProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { SourceFile, SourceFileProps, __ΩSourceFileProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core23 from "@alloy-js/core";
|
|
2
2
|
|
|
3
3
|
//#region src/core/components/spacing.d.ts
|
|
4
4
|
interface SpacingProps {
|
|
@@ -17,7 +17,7 @@ interface SpacingProps {
|
|
|
17
17
|
*/
|
|
18
18
|
declare function Spacing({
|
|
19
19
|
scale
|
|
20
|
-
}: SpacingProps):
|
|
20
|
+
}: SpacingProps): _alloy_js_core23.Children;
|
|
21
21
|
declare type __ΩSpacingProps = any[];
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Spacing, SpacingProps, __ΩSpacingProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core1 from "@alloy-js/core";
|
|
2
2
|
|
|
3
3
|
//#region src/core/components/spacing.d.ts
|
|
4
4
|
interface SpacingProps {
|
|
@@ -17,7 +17,7 @@ interface SpacingProps {
|
|
|
17
17
|
*/
|
|
18
18
|
declare function Spacing({
|
|
19
19
|
scale
|
|
20
|
-
}: SpacingProps):
|
|
20
|
+
}: SpacingProps): _alloy_js_core1.Children;
|
|
21
21
|
declare type __ΩSpacingProps = any[];
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Spacing, SpacingProps, __ΩSpacingProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reflection.d.cts","names":[],"sources":["../../../src/core/contexts/reflection.ts"],"sourcesContent":[],"mappings":";;;;;UA4BiB,0CACL,sBAAsB;cAEpB,gBAAgB;EAHb,QAAA,CAAA,EAIJ,2BAJmC,CAIP,CAJO,CAAA;;;;;AAIP,cAM5B,sBAN4B,EAMJ,gBANI,CAOvC,+BAPuC,CAAA,GAAA,CAAA,CAAA;;;AAMzC;AASA;;AACkC,iBADlB,kBACkB,CAAA,UAAtB,MAAsB,CAAA,MAAA,EAAA,GAAA,CAAA,GAAA,MAAA,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,CAAA,EAAmB,+BAAnB,CAAmB,CAAnB,CAAA;;;;AAkBrB,cAAA,yBAA4C,EAAjB,
|
|
1
|
+
{"version":3,"file":"reflection.d.cts","names":[],"sources":["../../../src/core/contexts/reflection.ts"],"sourcesContent":[],"mappings":";;;;;UA4BiB,0CACL,sBAAsB;cAEpB,gBAAgB;EAHb,QAAA,CAAA,EAIJ,2BAJmC,CAIP,CAJO,CAAA;;;;;AAIP,cAM5B,sBAN4B,EAMJ,gBANI,CAOvC,+BAPuC,CAAA,GAAA,CAAA,CAAA;;;AAMzC;AASA;;AACkC,iBADlB,kBACkB,CAAA,UAAtB,MAAsB,CAAA,MAAA,EAAA,GAAA,CAAA,GAAA,MAAA,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,CAAA,EAAmB,+BAAnB,CAAmB,CAAnB,CAAA;;;;AAkBrB,cAAA,yBAA4C,EAAjB,gBAAiB,CAAA,kBAAD,CAAA;AAQxD;AAeA;AAQA;AAeA;AAQA;iBA9CgB,qBAAA,CAAA,GAAqB;;;;cAexB,yBAAyB,iBAAiB;;;;;;iBAQvC,mBAAA,CAAA,GAAmB;;;;cAetB,4BAA4B,iBAAiB;;;;;;iBAQ1C,sBAAA,CAAA,GAAsB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core3 from "@alloy-js/core";
|
|
2
2
|
|
|
3
3
|
//#region src/markdown/components/front-matter.d.ts
|
|
4
4
|
interface FrontMatterProps {
|
|
@@ -9,7 +9,7 @@ interface FrontMatterProps {
|
|
|
9
9
|
*
|
|
10
10
|
* @see https://jekyllrb.com/docs/front-matter/
|
|
11
11
|
*/
|
|
12
|
-
declare function FrontMatter(props: FrontMatterProps):
|
|
12
|
+
declare function FrontMatter(props: FrontMatterProps): _alloy_js_core3.Children;
|
|
13
13
|
declare type __ΩFrontMatterProps = any[];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { FrontMatter, FrontMatterProps, __ΩFrontMatterProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core8 from "@alloy-js/core";
|
|
2
2
|
|
|
3
3
|
//#region src/markdown/components/front-matter.d.ts
|
|
4
4
|
interface FrontMatterProps {
|
|
@@ -9,7 +9,7 @@ interface FrontMatterProps {
|
|
|
9
9
|
*
|
|
10
10
|
* @see https://jekyllrb.com/docs/front-matter/
|
|
11
11
|
*/
|
|
12
|
-
declare function FrontMatter(props: FrontMatterProps):
|
|
12
|
+
declare function FrontMatter(props: FrontMatterProps): _alloy_js_core8.Children;
|
|
13
13
|
declare type __ΩFrontMatterProps = any[];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { FrontMatter, FrontMatterProps, __ΩFrontMatterProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, SourceFileHeaderProps } from "../../types/components.cjs";
|
|
2
2
|
import { SourceFileProps as SourceFileProps$1 } from "../../core/components/source-file.cjs";
|
|
3
3
|
import { FrontMatterProps } from "./front-matter.cjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _alloy_js_core5 from "@alloy-js/core";
|
|
5
5
|
|
|
6
6
|
//#region src/markdown/components/markdown-file.d.ts
|
|
7
7
|
type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
|
|
@@ -11,7 +11,7 @@ type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps &
|
|
|
11
11
|
* @param props - The properties for the source file.
|
|
12
12
|
* @returns The rendered source file component.
|
|
13
13
|
*/
|
|
14
|
-
declare function MarkdownFile(props: MarkdownFileProps):
|
|
14
|
+
declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core5.Children;
|
|
15
15
|
type MarkdownFileHeaderProps = SourceFileHeaderProps & {
|
|
16
16
|
frontMatter?: FrontMatterProps["data"];
|
|
17
17
|
};
|
|
@@ -21,7 +21,7 @@ type MarkdownFileHeaderProps = SourceFileHeaderProps & {
|
|
|
21
21
|
* @param props - The properties for the source file header.
|
|
22
22
|
* @returns The rendered source file header.
|
|
23
23
|
*/
|
|
24
|
-
declare function MarkdownFileHeader(props: MarkdownFileHeaderProps):
|
|
24
|
+
declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core5.Children;
|
|
25
25
|
declare type __ΩMarkdownFileProps = any[];
|
|
26
26
|
declare type __ΩMarkdownFileHeaderProps = any[];
|
|
27
27
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-file.d.cts","names":[],"sources":["../../../src/markdown/components/markdown-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KA4BY,iBAAA,GAAoB,KAAK,iCACnC,iBACA;;;AAFF;;;;AAEE,iBAQc,YAAA,CARd,KAAA,EAQkC,iBARlC,CAAA,EAQmD,
|
|
1
|
+
{"version":3,"file":"markdown-file.d.cts","names":[],"sources":["../../../src/markdown/components/markdown-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KA4BY,iBAAA,GAAoB,KAAK,iCACnC,iBACA;;;AAFF;;;;AAEE,iBAQc,YAAA,CARd,KAAA,EAQkC,iBARlC,CAAA,EAQmD,eAAA,CAAA,QARnD;AAAuB,KA2Bb,uBAAA,GAA0B,qBA3Bb,GAAA;EAQT,WAAA,CAAA,EAoBA,gBApBoB,CAAA,MAAA,CAAA;AAmBpC,CAAA;AAUA;;;;;;iBAAgB,kBAAA,QAA0B,0BAAuB,eAAA,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, SourceFileHeaderProps } from "../../types/components.mjs";
|
|
2
2
|
import { SourceFileProps as SourceFileProps$1 } from "../../core/components/source-file.mjs";
|
|
3
3
|
import { FrontMatterProps } from "./front-matter.mjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _alloy_js_core6 from "@alloy-js/core";
|
|
5
5
|
|
|
6
6
|
//#region src/markdown/components/markdown-file.d.ts
|
|
7
7
|
type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps & MarkdownFileHeaderProps;
|
|
@@ -11,7 +11,7 @@ type MarkdownFileProps = Omit<SourceFileProps$1, "filetype"> & ComponentProps &
|
|
|
11
11
|
* @param props - The properties for the source file.
|
|
12
12
|
* @returns The rendered source file component.
|
|
13
13
|
*/
|
|
14
|
-
declare function MarkdownFile(props: MarkdownFileProps):
|
|
14
|
+
declare function MarkdownFile(props: MarkdownFileProps): _alloy_js_core6.Children;
|
|
15
15
|
type MarkdownFileHeaderProps = SourceFileHeaderProps & {
|
|
16
16
|
frontMatter?: FrontMatterProps["data"];
|
|
17
17
|
};
|
|
@@ -21,7 +21,7 @@ type MarkdownFileHeaderProps = SourceFileHeaderProps & {
|
|
|
21
21
|
* @param props - The properties for the source file header.
|
|
22
22
|
* @returns The rendered source file header.
|
|
23
23
|
*/
|
|
24
|
-
declare function MarkdownFileHeader(props: MarkdownFileHeaderProps):
|
|
24
|
+
declare function MarkdownFileHeader(props: MarkdownFileHeaderProps): _alloy_js_core6.Children;
|
|
25
25
|
declare type __ΩMarkdownFileProps = any[];
|
|
26
26
|
declare type __ΩMarkdownFileHeaderProps = any[];
|
|
27
27
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.cjs";
|
|
2
2
|
import { MarkdownTableColumnContextInterface } from "../contexts/markdown-table.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/components/markdown-table.d.ts
|
|
6
6
|
interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>> extends ComponentProps {
|
|
@@ -9,18 +9,18 @@ interface MarkdownTableProps<T extends Record<string, any> = Record<string, any>
|
|
|
9
9
|
/**
|
|
10
10
|
* Component that provides a context for rendering markdown tables.
|
|
11
11
|
*/
|
|
12
|
-
declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>):
|
|
12
|
+
declare function MarkdownTable<T extends Record<string, any> = Record<string, any>>(props: MarkdownTableProps<T>): _alloy_js_core0.Children;
|
|
13
13
|
type MarkdownTableColumnProps = ComponentProps & Partial<Pick<MarkdownTableColumnContextInterface, "align">> & Required<Pick<MarkdownTableColumnContextInterface, "name">> & {
|
|
14
14
|
width?: number;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* Component that provides a context for rendering markdown tables.
|
|
18
18
|
*/
|
|
19
|
-
declare function MarkdownTableColumn(props: MarkdownTableColumnProps):
|
|
19
|
+
declare function MarkdownTableColumn(props: MarkdownTableColumnProps): _alloy_js_core0.Children;
|
|
20
20
|
/**
|
|
21
21
|
* Component that provides a context for rendering markdown tables.
|
|
22
22
|
*/
|
|
23
|
-
declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps):
|
|
23
|
+
declare function MarkdownTableColumnHeader(props: MarkdownTableColumnProps): _alloy_js_core0.Children;
|
|
24
24
|
declare type __ΩMarkdownTableProps = any[];
|
|
25
25
|
declare type __ΩMarkdownTableColumnProps = any[];
|
|
26
26
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TSDocModuleProps } from "./tsdoc.cjs";
|
|
2
2
|
import { TypescriptFileProps } from "./typescript-file.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core20 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/builtin-file.d.ts
|
|
6
6
|
type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
|
|
@@ -28,7 +28,7 @@ type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProp
|
|
|
28
28
|
* @param props - The properties for the source file.
|
|
29
29
|
* @returns The rendered source file component.
|
|
30
30
|
*/
|
|
31
|
-
declare function BuiltinFile(props: BuiltinFileProps):
|
|
31
|
+
declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core20.Children;
|
|
32
32
|
declare type __ΩBuiltinFileProps = any[];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TSDocModuleProps } from "./tsdoc.mjs";
|
|
2
2
|
import { TypescriptFileProps } from "./typescript-file.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core23 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/builtin-file.d.ts
|
|
6
6
|
type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProps, "name"> & {
|
|
@@ -28,7 +28,7 @@ type BuiltinFileProps = Omit<TypescriptFileProps, "path"> & Omit<TSDocModuleProp
|
|
|
28
28
|
* @param props - The properties for the source file.
|
|
29
29
|
* @returns The rendered source file component.
|
|
30
30
|
*/
|
|
31
|
-
declare function BuiltinFile(props: BuiltinFileProps):
|
|
31
|
+
declare function BuiltinFile(props: BuiltinFileProps): _alloy_js_core23.Children;
|
|
32
32
|
declare type __ΩBuiltinFileProps = any[];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core19 from "@alloy-js/core";
|
|
2
2
|
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
3
3
|
|
|
4
4
|
//#region src/typescript/components/dynamic-import-statement.d.ts
|
|
@@ -26,7 +26,7 @@ interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initial
|
|
|
26
26
|
* @param props - The properties for the dynamic import statement.
|
|
27
27
|
* @returns A `VarDeclaration` component representing the dynamic import statement.
|
|
28
28
|
*/
|
|
29
|
-
declare function DynamicImportStatement(props: DynamicImportStatementProps):
|
|
29
|
+
declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core19.Children;
|
|
30
30
|
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core21 from "@alloy-js/core";
|
|
2
2
|
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
3
3
|
|
|
4
4
|
//#region src/typescript/components/dynamic-import-statement.d.ts
|
|
@@ -26,7 +26,7 @@ interface DynamicImportStatementProps extends Omit<VarDeclarationProps, "initial
|
|
|
26
26
|
* @param props - The properties for the dynamic import statement.
|
|
27
27
|
* @returns A `VarDeclaration` component representing the dynamic import statement.
|
|
28
28
|
*/
|
|
29
|
-
declare function DynamicImportStatement(props: DynamicImportStatementProps):
|
|
29
|
+
declare function DynamicImportStatement(props: DynamicImportStatementProps): _alloy_js_core21.Children;
|
|
30
30
|
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypescriptFileProps } from "./typescript-file.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core18 from "@alloy-js/core";
|
|
3
3
|
import { ResolvedEntryTypeDefinition } from "powerlines";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/entry-file.d.ts
|
|
@@ -21,7 +21,7 @@ type EntryFileProps = TypescriptFileProps & {
|
|
|
21
21
|
* @param props - The properties for the source file.
|
|
22
22
|
* @returns The rendered source file component.
|
|
23
23
|
*/
|
|
24
|
-
declare function EntryFile(props: EntryFileProps):
|
|
24
|
+
declare function EntryFile(props: EntryFileProps): _alloy_js_core18.Children;
|
|
25
25
|
declare type __ΩEntryFileProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { EntryFile, EntryFileProps, __ΩEntryFileProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TypescriptFileProps } from "./typescript-file.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core22 from "@alloy-js/core";
|
|
3
3
|
import { ResolvedEntryTypeDefinition } from "powerlines";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/entry-file.d.ts
|
|
@@ -21,7 +21,7 @@ type EntryFileProps = TypescriptFileProps & {
|
|
|
21
21
|
* @param props - The properties for the source file.
|
|
22
22
|
* @returns The rendered source file component.
|
|
23
23
|
*/
|
|
24
|
-
declare function EntryFile(props: EntryFileProps):
|
|
24
|
+
declare function EntryFile(props: EntryFileProps): _alloy_js_core22.Children;
|
|
25
25
|
declare type __ΩEntryFileProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { EntryFile, EntryFileProps, __ΩEntryFileProps };
|
|
@@ -32,6 +32,9 @@ exports.RecordExpression = require_typescript_components_record_expression.Recor
|
|
|
32
32
|
exports.TSDoc = require_typescript_components_tsdoc.TSDoc;
|
|
33
33
|
exports.TSDocAlias = require_typescript_components_tsdoc.TSDocAlias;
|
|
34
34
|
exports.TSDocAttributesTags = require_typescript_components_tsdoc.TSDocAttributesTags;
|
|
35
|
+
exports.TSDocContextClass = require_typescript_components_tsdoc_reflection.TSDocContextClass;
|
|
36
|
+
exports.TSDocContextMethod = require_typescript_components_tsdoc_reflection.TSDocContextMethod;
|
|
37
|
+
exports.TSDocContextProperty = require_typescript_components_tsdoc_reflection.TSDocContextProperty;
|
|
35
38
|
exports.TSDocDefaultValue = require_typescript_components_tsdoc.TSDocDefaultValue;
|
|
36
39
|
exports.TSDocDomain = require_typescript_components_tsdoc.TSDocDomain;
|
|
37
40
|
exports.TSDocExample = require_typescript_components_tsdoc.TSDocExample;
|
|
@@ -9,6 +9,6 @@ import { InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclaratio
|
|
|
9
9
|
import { ComputedRef, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, __ΩComputedRef, __ΩObjectDeclarationPropertyProps, __ΩObjectDeclarationProps } from "./object-declaration.cjs";
|
|
10
10
|
import { PropertyName, PropertyNameProps, __ΩPropertyNameProps } from "./property-name.cjs";
|
|
11
11
|
import { RecordExpression, RecordExpressionProps, __ΩRecordExpressionProps } from "./record-expression.cjs";
|
|
12
|
-
import { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./tsdoc-reflection.cjs";
|
|
12
|
+
import { TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocReflectionClass, TSDocReflectionClassProps, TSDocReflectionMethod, TSDocReflectionMethodProps, TSDocReflectionProperty, TSDocReflectionPropertyProps, __ΩTSDocReflectionClassProps, __ΩTSDocReflectionMethodProps, __ΩTSDocReflectionPropertyProps } from "./tsdoc-reflection.cjs";
|
|
13
13
|
import { TypeDeclaration, TypeDeclarationProps, __ΩTypeDeclarationProps } from "./type-declaration.cjs";
|
|
14
|
-
export { BuiltinFile, BuiltinFileProps, ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, ComputedRef, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfacePropertyMemberProps, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, PropertyName, PropertyNameProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeDeclaration, TypeDeclarationProps, TypeParameters, TypeParametersProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩBuiltinFileProps, __ΩClassDeclarationProps, __ΩClassFieldProps, __ΩClassMemberProps, __ΩClassMethodProps, __ΩClassPropertyProps, __ΩComputedRef, __ΩDynamicImportStatementProps, __ΩEntryFileProps, __ΩInterfaceDeclarationPropertyProps, __ΩInterfaceDeclarationProps, __ΩInterfaceExpressionProps, __ΩInterfaceIndexerMemberProps, __ΩInterfaceMemberProps, __ΩInterfaceMemberPropsBase, __ΩInterfacePropertyMemberProps, __ΩObjectDeclarationPropertyProps, __ΩObjectDeclarationProps, __ΩPropertyNameProps, __ΩRecordExpressionProps, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps, __ΩTypeDeclarationProps, __ΩTypeParametersProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps };
|
|
14
|
+
export { BuiltinFile, BuiltinFileProps, ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, ComputedRef, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfacePropertyMemberProps, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, PropertyName, PropertyNameProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocReflectionClass, TSDocReflectionClassProps, TSDocReflectionMethod, TSDocReflectionMethodProps, TSDocReflectionProperty, TSDocReflectionPropertyProps, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeDeclaration, TypeDeclarationProps, TypeParameters, TypeParametersProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩBuiltinFileProps, __ΩClassDeclarationProps, __ΩClassFieldProps, __ΩClassMemberProps, __ΩClassMethodProps, __ΩClassPropertyProps, __ΩComputedRef, __ΩDynamicImportStatementProps, __ΩEntryFileProps, __ΩInterfaceDeclarationPropertyProps, __ΩInterfaceDeclarationProps, __ΩInterfaceExpressionProps, __ΩInterfaceIndexerMemberProps, __ΩInterfaceMemberProps, __ΩInterfaceMemberPropsBase, __ΩInterfacePropertyMemberProps, __ΩObjectDeclarationPropertyProps, __ΩObjectDeclarationProps, __ΩPropertyNameProps, __ΩRecordExpressionProps, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocReflectionClassProps, __ΩTSDocReflectionMethodProps, __ΩTSDocReflectionPropertyProps, __ΩTSDocTagProps, __ΩTypeDeclarationProps, __ΩTypeParametersProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps };
|
|
@@ -9,6 +9,6 @@ import { InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclaratio
|
|
|
9
9
|
import { ComputedRef, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, __ΩComputedRef, __ΩObjectDeclarationPropertyProps, __ΩObjectDeclarationProps } from "./object-declaration.mjs";
|
|
10
10
|
import { PropertyName, PropertyNameProps, __ΩPropertyNameProps } from "./property-name.mjs";
|
|
11
11
|
import { RecordExpression, RecordExpressionProps, __ΩRecordExpressionProps } from "./record-expression.mjs";
|
|
12
|
-
import { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./tsdoc-reflection.mjs";
|
|
12
|
+
import { TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocReflectionClass, TSDocReflectionClassProps, TSDocReflectionMethod, TSDocReflectionMethodProps, TSDocReflectionProperty, TSDocReflectionPropertyProps, __ΩTSDocReflectionClassProps, __ΩTSDocReflectionMethodProps, __ΩTSDocReflectionPropertyProps } from "./tsdoc-reflection.mjs";
|
|
13
13
|
import { TypeDeclaration, TypeDeclarationProps, __ΩTypeDeclarationProps } from "./type-declaration.mjs";
|
|
14
|
-
export { BuiltinFile, BuiltinFileProps, ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, ComputedRef, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfacePropertyMemberProps, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, PropertyName, PropertyNameProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeDeclaration, TypeDeclarationProps, TypeParameters, TypeParametersProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩBuiltinFileProps, __ΩClassDeclarationProps, __ΩClassFieldProps, __ΩClassMemberProps, __ΩClassMethodProps, __ΩClassPropertyProps, __ΩComputedRef, __ΩDynamicImportStatementProps, __ΩEntryFileProps, __ΩInterfaceDeclarationPropertyProps, __ΩInterfaceDeclarationProps, __ΩInterfaceExpressionProps, __ΩInterfaceIndexerMemberProps, __ΩInterfaceMemberProps, __ΩInterfaceMemberPropsBase, __ΩInterfacePropertyMemberProps, __ΩObjectDeclarationPropertyProps, __ΩObjectDeclarationProps, __ΩPropertyNameProps, __ΩRecordExpressionProps, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps, __ΩTypeDeclarationProps, __ΩTypeParametersProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps };
|
|
14
|
+
export { BuiltinFile, BuiltinFileProps, ClassDeclaration, ClassDeclarationProps, ClassField, ClassFieldProps, ClassMember, ClassMemberProps, ClassMethod, ClassMethodProps, ClassPropertyGet, ClassPropertyProps, ClassPropertySet, ComputedRef, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceDeclarationPropertyProps, InterfaceDeclarationProps, InterfaceExpression, InterfaceExpressionProps, InterfaceIndexerMemberProps, InterfaceMember, InterfaceMemberProps, InterfaceMemberPropsBase, InterfacePropertyMemberProps, ObjectDeclaration, ObjectDeclarationProperty, ObjectDeclarationPropertyProps, ObjectDeclarationProps, PropertyName, PropertyNameProps, RecordExpression, RecordExpressionProps, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocReflectionClass, TSDocReflectionClassProps, TSDocReflectionMethod, TSDocReflectionMethodProps, TSDocReflectionProperty, TSDocReflectionPropertyProps, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, TypeDeclaration, TypeDeclarationProps, TypeParameters, TypeParametersProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩBuiltinFileProps, __ΩClassDeclarationProps, __ΩClassFieldProps, __ΩClassMemberProps, __ΩClassMethodProps, __ΩClassPropertyProps, __ΩComputedRef, __ΩDynamicImportStatementProps, __ΩEntryFileProps, __ΩInterfaceDeclarationPropertyProps, __ΩInterfaceDeclarationProps, __ΩInterfaceExpressionProps, __ΩInterfaceIndexerMemberProps, __ΩInterfaceMemberProps, __ΩInterfaceMemberPropsBase, __ΩInterfacePropertyMemberProps, __ΩObjectDeclarationPropertyProps, __ΩObjectDeclarationProps, __ΩPropertyNameProps, __ΩRecordExpressionProps, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocReflectionClassProps, __ΩTSDocReflectionMethodProps, __ΩTSDocReflectionPropertyProps, __ΩTSDocTagProps, __ΩTypeDeclarationProps, __ΩTypeParametersProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps };
|
|
@@ -6,10 +6,10 @@ import { TypeParameters } from "./type-parameters.mjs";
|
|
|
6
6
|
import { ClassDeclaration, ClassField, ClassMember, ClassMethod, ClassPropertyGet, ClassPropertySet } from "./class-declaration.mjs";
|
|
7
7
|
import { DynamicImportStatement } from "./dynamic-import-statement.mjs";
|
|
8
8
|
import { EntryFile } from "./entry-file.mjs";
|
|
9
|
-
import { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./tsdoc-reflection.mjs";
|
|
9
|
+
import { TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./tsdoc-reflection.mjs";
|
|
10
10
|
import { InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceExpression, InterfaceMember } from "./interface-declaration.mjs";
|
|
11
11
|
import { ObjectDeclaration, ObjectDeclarationProperty } from "./object-declaration.mjs";
|
|
12
12
|
import { RecordExpression } from "./record-expression.mjs";
|
|
13
13
|
import { TypeDeclaration } from "./type-declaration.mjs";
|
|
14
14
|
|
|
15
|
-
export { BuiltinFile, ClassDeclaration, ClassField, ClassMember, ClassMethod, ClassPropertyGet, ClassPropertySet, DynamicImportStatement, EntryFile, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceExpression, InterfaceMember, ObjectDeclaration, ObjectDeclarationProperty, PropertyName, RecordExpression, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocDefaultValue, TSDocDomain, TSDocExample, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocParam, TSDocParams, TSDocPermission, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocTag, TSDocThrows, TSDocTitle, TypeDeclaration, TypeParameters, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports };
|
|
15
|
+
export { BuiltinFile, ClassDeclaration, ClassField, ClassMember, ClassMethod, ClassPropertyGet, ClassPropertySet, DynamicImportStatement, EntryFile, InterfaceDeclaration, InterfaceDeclarationProperty, InterfaceExpression, InterfaceMember, ObjectDeclaration, ObjectDeclarationProperty, PropertyName, RecordExpression, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocContextClass, TSDocContextMethod, TSDocContextProperty, TSDocDefaultValue, TSDocDomain, TSDocExample, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocParam, TSDocParams, TSDocPermission, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocTag, TSDocThrows, TSDocTitle, TypeDeclaration, TypeParameters, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports };
|
|
@@ -160,7 +160,7 @@ function InterfaceDeclaration(props) {
|
|
|
160
160
|
const properties = (0, __alloy_js_core.computed)(() => reflection ? reflection.getProperties().filter((item) => !item.isIgnored()).sort((a, b) => a.isReadonly() && b.isReadonly() || !a.isReadonly() && !b.isReadonly() ? a.getNameAsString().localeCompare(b.getNameAsString()) : a.isReadonly() ? 1 : -1) : []);
|
|
161
161
|
return (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_core.Show, {
|
|
162
162
|
get when() {
|
|
163
|
-
return properties.value.length > 0;
|
|
163
|
+
return reflection && properties.value.length > 0;
|
|
164
164
|
},
|
|
165
165
|
get fallback() {
|
|
166
166
|
return (0, __alloy_js_core_jsx_runtime.createComponent)(BaseInterfaceDeclaration, (0, __alloy_js_core_jsx_runtime.mergeProps)(props, { get name() {
|
|
@@ -171,7 +171,10 @@ function InterfaceDeclaration(props) {
|
|
|
171
171
|
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_core_contexts_reflection.ReflectionClassContext.Provider, {
|
|
172
172
|
value: { reflection },
|
|
173
173
|
get children() {
|
|
174
|
-
return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc_reflection.TSDocReflectionClass, {
|
|
174
|
+
return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc_reflection.TSDocReflectionClass, {
|
|
175
|
+
heading: doc,
|
|
176
|
+
reflection
|
|
177
|
+
}), (0, __alloy_js_core_jsx_runtime.createComponent)(BaseInterfaceDeclaration, (0, __alloy_js_core_jsx_runtime.mergeProps)({
|
|
175
178
|
"export": true,
|
|
176
179
|
get name() {
|
|
177
180
|
return interfaceName.value;
|
|
@@ -197,7 +200,7 @@ function InterfaceDeclarationProperty(props) {
|
|
|
197
200
|
return (0, __alloy_js_core_jsx_runtime.createComponent)(require_core_contexts_reflection.ReflectionPropertyContext.Provider, {
|
|
198
201
|
value: property,
|
|
199
202
|
get children() {
|
|
200
|
-
return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc_reflection.
|
|
203
|
+
return [(0, __alloy_js_core_jsx_runtime.createComponent)(require_typescript_components_tsdoc_reflection.TSDocContextProperty, {}), (0, __alloy_js_core_jsx_runtime.createComponent)(InterfaceMember, (0, __alloy_js_core_jsx_runtime.mergeProps)({
|
|
201
204
|
get name() {
|
|
202
205
|
return property.getNameAsString();
|
|
203
206
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core21 from "@alloy-js/core";
|
|
3
3
|
import { Children, Namekey, Refkey } from "@alloy-js/core";
|
|
4
4
|
import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
5
5
|
import { CommonDeclarationProps, TypeParameterDescriptor } from "@alloy-js/typescript";
|
|
@@ -28,6 +28,10 @@ interface InterfaceDeclarationProps<T extends Record<string, any> = Record<strin
|
|
|
28
28
|
* This is used when the interface is used as a type for a variable declaration, to provide an initial value for the variable.
|
|
29
29
|
*/
|
|
30
30
|
defaultValue?: Partial<T>;
|
|
31
|
+
/**
|
|
32
|
+
* Documentation for the interface. This can be a string or any Alloy component that renders documentation content (such as `TSDoc`).
|
|
33
|
+
*/
|
|
34
|
+
doc?: Children;
|
|
31
35
|
}
|
|
32
36
|
interface InterfaceDeclarationPropertyProps extends Omit<InterfaceMemberProps, "name">, ComponentProps {
|
|
33
37
|
property: ReflectionProperty;
|
|
@@ -35,7 +39,7 @@ interface InterfaceDeclarationPropertyProps extends Omit<InterfaceMemberProps, "
|
|
|
35
39
|
interface InterfaceExpressionProps {
|
|
36
40
|
children?: Children;
|
|
37
41
|
}
|
|
38
|
-
declare const InterfaceExpression:
|
|
42
|
+
declare const InterfaceExpression: _alloy_js_core21.Component<InterfaceExpressionProps>;
|
|
39
43
|
interface InterfaceMemberPropsBase {
|
|
40
44
|
type?: Children;
|
|
41
45
|
children?: Children;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interface-declaration.d.cts","names":[],"sources":["../../../src/typescript/components/interface-declaration.tsx"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"interface-declaration.d.cts","names":[],"sources":["../../../src/typescript/components/interface-declaration.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAkEiB,oCACL,sBAAsB,6BAExB,wBAAwB;;;AAHlC;EACY,OAAA,CAAA,EAMA,QANA;EAAsB;;;EAmBH,cAAA,CAAA,EARZ,uBAQY,EAAA,GAAA,MAAA,EAAA;EAAhB;;;;;;EAjBiC,UAAA,CAAA,EAiBjC,eAjBiC,CAiBjB,CAjBiB,CAAA;EAiC/B;;;;;;EAKA,YAAA,CAAA,EAbA,OAaA,CAbQ,CAaR,CAAA;EAIJ;AAoBb;;EAEa,GAAA,CAAA,EAlCL,QAkCK;;AAGF,UAlCM,iCAAA,SACP,IAiCC,CAjCI,oBAiCJ,EAAA,MAAA,CAAA,EAjCmC,cAiCnC,CAAA;EAAS,QAAA,EAhCR,kBAgCQ;;AAEH,UA/BA,wBAAA,CA+B6B;EAM7B,QAAA,CAAA,EApCJ,QAoCI;AAIjB;AAagB,cAlDH,mBAkD0B,EAlDP,gBAAA,CAAA,SAkD2B,CAlD3B,wBAkD2B,CAAA;AA+G3C,UA7IC,wBAAA,CA6ImB;EACxB,IAAA,CAAA,EA7IH,QA6IG;EAAsB,QAAA,CAAA,EA5IrB,QA4IqB;EACC,QAAA,CAAA,EAAA,OAAA;EAA1B,GAAA,CAAA,EA3ID,QA2IC;EAA4B,MAAA,CAAA,EA1I1B,MA0I0B,GA1IjB,MA0IiB,EAAA;;AAwDrB,UAhMC,4BAAA,SAAqC,wBAiM7C,CAAA;iBAhMQ;;;;UAKA,2BAAA,SAAoC;WAC1C;;KAGC,oBAAA,GACR,+BACA;;;;;;;;;;iBAWY,eAAA,QAAuB,uBAAoB;;;;iBA+G3C,+BACJ,sBAAsB,4BACzB,0BAA0B,KAAE;;;;iBAwDrB,4BAAA,QACP,oCAAiC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core18 from "@alloy-js/core";
|
|
3
3
|
import { Children, Namekey, Refkey } from "@alloy-js/core";
|
|
4
4
|
import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
5
5
|
import { CommonDeclarationProps, TypeParameterDescriptor } from "@alloy-js/typescript";
|
|
@@ -28,6 +28,10 @@ interface InterfaceDeclarationProps<T extends Record<string, any> = Record<strin
|
|
|
28
28
|
* This is used when the interface is used as a type for a variable declaration, to provide an initial value for the variable.
|
|
29
29
|
*/
|
|
30
30
|
defaultValue?: Partial<T>;
|
|
31
|
+
/**
|
|
32
|
+
* Documentation for the interface. This can be a string or any Alloy component that renders documentation content (such as `TSDoc`).
|
|
33
|
+
*/
|
|
34
|
+
doc?: Children;
|
|
31
35
|
}
|
|
32
36
|
interface InterfaceDeclarationPropertyProps extends Omit<InterfaceMemberProps, "name">, ComponentProps {
|
|
33
37
|
property: ReflectionProperty;
|
|
@@ -35,7 +39,7 @@ interface InterfaceDeclarationPropertyProps extends Omit<InterfaceMemberProps, "
|
|
|
35
39
|
interface InterfaceExpressionProps {
|
|
36
40
|
children?: Children;
|
|
37
41
|
}
|
|
38
|
-
declare const InterfaceExpression:
|
|
42
|
+
declare const InterfaceExpression: _alloy_js_core18.Component<InterfaceExpressionProps>;
|
|
39
43
|
interface InterfaceMemberPropsBase {
|
|
40
44
|
type?: Children;
|
|
41
45
|
children?: Children;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interface-declaration.d.mts","names":[],"sources":["../../../src/typescript/components/interface-declaration.tsx"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"interface-declaration.d.mts","names":[],"sources":["../../../src/typescript/components/interface-declaration.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAkEiB,oCACL,sBAAsB,6BAExB,wBAAwB;;;AAHlC;EACY,OAAA,CAAA,EAMA,QANA;EAAsB;;;EAmBH,cAAA,CAAA,EARZ,uBAQY,EAAA,GAAA,MAAA,EAAA;EAAhB;;;;;;EAjBiC,UAAA,CAAA,EAiBjC,eAjBiC,CAiBjB,CAjBiB,CAAA;EAiC/B;;;;;;EAKA,YAAA,CAAA,EAbA,OAaA,CAbQ,CAaR,CAAA;EAIJ;AAoBb;;EAEa,GAAA,CAAA,EAlCL,QAkCK;;AAGF,UAlCM,iCAAA,SACP,IAiCC,CAjCI,oBAiCJ,EAAA,MAAA,CAAA,EAjCmC,cAiCnC,CAAA;EAAS,QAAA,EAhCR,kBAgCQ;;AAEH,UA/BA,wBAAA,CA+B6B;EAM7B,QAAA,CAAA,EApCJ,QAoCI;AAIjB;AAagB,cAlDH,mBAkD0B,EAlDP,gBAAA,CAAA,SAkD2B,CAlD3B,wBAkD2B,CAAA;AA+G3C,UA7IC,wBAAA,CA6ImB;EACxB,IAAA,CAAA,EA7IH,QA6IG;EAAsB,QAAA,CAAA,EA5IrB,QA4IqB;EACC,QAAA,CAAA,EAAA,OAAA;EAA1B,GAAA,CAAA,EA3ID,QA2IC;EAA4B,MAAA,CAAA,EA1I1B,MA0I0B,GA1IjB,MA0IiB,EAAA;;AAwDrB,UAhMC,4BAAA,SAAqC,wBAiM7C,CAAA;iBAhMQ;;;;UAKA,2BAAA,SAAoC;WAC1C;;KAGC,oBAAA,GACR,+BACA;;;;;;;;;;iBAWY,eAAA,QAAuB,uBAAoB;;;;iBA+G3C,+BACJ,sBAAsB,4BACzB,0BAA0B,KAAE;;;;iBAwDrB,4BAAA,QACP,oCAAiC"}
|
|
@@ -3,7 +3,7 @@ import { TSDoc } from "./tsdoc.mjs";
|
|
|
3
3
|
import { MemberScope as MemberScope$1 } from "../contexts/member-scope.mjs";
|
|
4
4
|
import { PropertyName } from "./property-name.mjs";
|
|
5
5
|
import { TypeParameters } from "./type-parameters.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { TSDocContextProperty, TSDocReflectionClass } from "./tsdoc-reflection.mjs";
|
|
7
7
|
import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
8
8
|
import { Block, For, MemberDeclaration, Name, Show, childrenArray, computed, createSymbol, createSymbolSlot, effect, emitSymbol, findUnkeyedChildren, splitProps, takeSymbols } from "@alloy-js/core";
|
|
9
9
|
import { stringifyType } from "@powerlines/deepkit/vendor/type";
|
|
@@ -159,7 +159,7 @@ function InterfaceDeclaration(props) {
|
|
|
159
159
|
const properties = computed(() => reflection ? reflection.getProperties().filter((item) => !item.isIgnored()).sort((a, b) => a.isReadonly() && b.isReadonly() || !a.isReadonly() && !b.isReadonly() ? a.getNameAsString().localeCompare(b.getNameAsString()) : a.isReadonly() ? 1 : -1) : []);
|
|
160
160
|
return createComponent(Show, {
|
|
161
161
|
get when() {
|
|
162
|
-
return properties.value.length > 0;
|
|
162
|
+
return reflection && properties.value.length > 0;
|
|
163
163
|
},
|
|
164
164
|
get fallback() {
|
|
165
165
|
return createComponent(BaseInterfaceDeclaration, mergeProps(props, { get name() {
|
|
@@ -170,7 +170,10 @@ function InterfaceDeclaration(props) {
|
|
|
170
170
|
return createComponent(ReflectionClassContext.Provider, {
|
|
171
171
|
value: { reflection },
|
|
172
172
|
get children() {
|
|
173
|
-
return [createComponent(TSDocReflectionClass, {
|
|
173
|
+
return [createComponent(TSDocReflectionClass, {
|
|
174
|
+
heading: doc,
|
|
175
|
+
reflection
|
|
176
|
+
}), createComponent(BaseInterfaceDeclaration, mergeProps({
|
|
174
177
|
"export": true,
|
|
175
178
|
get name() {
|
|
176
179
|
return interfaceName.value;
|
|
@@ -196,7 +199,7 @@ function InterfaceDeclarationProperty(props) {
|
|
|
196
199
|
return createComponent(ReflectionPropertyContext.Provider, {
|
|
197
200
|
value: property,
|
|
198
201
|
get children() {
|
|
199
|
-
return [createComponent(
|
|
202
|
+
return [createComponent(TSDocContextProperty, {}), createComponent(InterfaceMember, mergeProps({
|
|
200
203
|
get name() {
|
|
201
204
|
return property.getNameAsString();
|
|
202
205
|
},
|