@powerlines/plugin-alloy 0.18.56 → 0.18.58
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.d.cts +2 -2
- package/dist/core/components/output.d.mts +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/index.cjs +1 -1
- package/dist/core/index.mjs +1 -1
- package/dist/helpers/capnp.cjs +7 -7
- package/dist/helpers/capnp.mjs +7 -7
- package/dist/helpers/index.cjs +2 -2
- package/dist/helpers/index.mjs +2 -2
- package/dist/helpers/typescript.cjs +2 -2
- package/dist/helpers/typescript.mjs +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +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-table.cjs +1 -1
- package/dist/markdown/components/markdown-table.d.cts +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/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 +2 -2
- package/dist/typescript/components/typescript-file.mjs +2 -2
- package/dist/typescript/components/typescript-interface.cjs +2 -2
- package/dist/typescript/components/typescript-interface.d.cts +3 -3
- 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 +15 -15
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_core_components_output = require('./output.cjs');
|
|
2
1
|
const require_core_components_single_line_comment = require('./single-line-comment.cjs');
|
|
3
2
|
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,6 +1,6 @@
|
|
|
1
1
|
import { PluginContext } from "../../powerlines/src/types/context.cjs";
|
|
2
2
|
import { MetaItem } from "../contexts/context.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core16 from "@alloy-js/core";
|
|
4
4
|
import { OutputProps as OutputProps$1 } from "@alloy-js/core";
|
|
5
5
|
|
|
6
6
|
//#region src/core/components/output.d.ts
|
|
@@ -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_core16.Children;
|
|
21
21
|
declare type __ΩOutputProps = any[];
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Output, OutputProps, __ΩOutputProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PluginContext } from "../../powerlines/src/types/context.mjs";
|
|
2
2
|
import { MetaItem } from "../contexts/context.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core15 from "@alloy-js/core";
|
|
4
4
|
import { OutputProps as OutputProps$1 } from "@alloy-js/core";
|
|
5
5
|
|
|
6
6
|
//#region src/core/components/output.d.ts
|
|
@@ -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_core15.Children;
|
|
21
21
|
declare type __ΩOutputProps = any[];
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Output, OutputProps, __ΩOutputProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core14 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_core14.Children;
|
|
19
19
|
declare type __ΩSingleLineCommentVariant = any[];
|
|
20
20
|
declare type __ΩSingleLineCommentProps = any[];
|
|
21
21
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StoragePreset } from "../../powerlines/src/types/fs.cjs";
|
|
2
2
|
import { ComponentProps } from "../../types/components.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core4 from "@alloy-js/core";
|
|
4
4
|
import { SourceFileProps as SourceFileProps$1 } from "@alloy-js/core";
|
|
5
5
|
|
|
6
6
|
//#region src/core/components/source-file.d.ts
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
import { StoragePreset } from "../../powerlines/src/types/fs.mjs";
|
|
2
2
|
import { ComponentProps } from "../../types/components.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core13 from "@alloy-js/core";
|
|
4
4
|
import { SourceFileProps as SourceFileProps$1 } from "@alloy-js/core";
|
|
5
5
|
|
|
6
6
|
//#region src/core/components/source-file.d.ts
|
|
@@ -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_core13.Children;
|
|
30
30
|
declare type __ΩSourceFileProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { SourceFile, SourceFileProps, __ΩSourceFileProps };
|
package/dist/core/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_core_contexts_context = require('./contexts/context.cjs');
|
|
2
|
-
const require_core_components_output = require('./components/output.cjs');
|
|
3
2
|
const require_core_components_single_line_comment = require('./components/single-line-comment.cjs');
|
|
4
3
|
const require_core_contexts_reflection = require('./contexts/reflection.cjs');
|
|
5
4
|
require('./contexts/index.cjs');
|
|
6
5
|
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;
|
package/dist/core/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PowerlinesContext, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe } from "./contexts/context.mjs";
|
|
2
|
-
import { Output } from "./components/output.mjs";
|
|
3
2
|
import { SingleLineComment } from "./components/single-line-comment.mjs";
|
|
4
3
|
import { ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty } from "./contexts/reflection.mjs";
|
|
5
4
|
import "./contexts/index.mjs";
|
|
6
5
|
import { SourceFile } from "./components/source-file.mjs";
|
|
6
|
+
import { Output } from "./components/output.mjs";
|
|
7
7
|
import "./components/index.mjs";
|
|
8
8
|
|
|
9
9
|
export { Output, PowerlinesContext, ReflectionClassContext, ReflectionMethodContext, ReflectionParameterContext, ReflectionPropertyContext, SingleLineComment, SourceFile, useMeta, useMetaSafe, usePowerlines, usePowerlinesContext, usePowerlinesSafe, useReflectionClass, useReflectionMethod, useReflectionParameter, useReflectionProperty };
|
package/dist/helpers/capnp.cjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
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");
|
|
2
6
|
let defu = require("defu");
|
|
3
7
|
defu = require_rolldown_runtime.__toESM(defu);
|
|
4
|
-
let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
|
|
5
|
-
let __powerlines_deepkit_vendor_core = require("@powerlines/deepkit/vendor/core");
|
|
6
8
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
9
|
+
let __stryke_string_format_pascal_case = require("@stryke/string-format/pascal-case");
|
|
10
|
+
let __stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
|
|
11
|
+
let __powerlines_deepkit_vendor_core = require("@powerlines/deepkit/vendor/core");
|
|
7
12
|
let __stryke_capnp_compile = require("@stryke/capnp/compile");
|
|
8
13
|
let __stryke_capnp_helpers = require("@stryke/capnp/helpers");
|
|
9
14
|
let __stryke_convert_to_array = require("@stryke/convert/to-array");
|
|
10
15
|
let __stryke_helpers_get_unique = require("@stryke/helpers/get-unique");
|
|
11
16
|
let __stryke_json = require("@stryke/json");
|
|
12
17
|
let __stryke_path_join = require("@stryke/path/join");
|
|
13
|
-
let __stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
|
|
14
18
|
let __stryke_string_format_get_words = require("@stryke/string-format/get-words");
|
|
15
|
-
let __stryke_string_format_pascal_case = require("@stryke/string-format/pascal-case");
|
|
16
|
-
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
17
19
|
let __stryke_type_checks_is_bigint = require("@stryke/type-checks/is-bigint");
|
|
18
20
|
let __stryke_type_checks_is_null = require("@stryke/type-checks/is-null");
|
|
19
21
|
let __stryke_type_checks_is_number = require("@stryke/type-checks/is-number");
|
|
20
|
-
let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
21
|
-
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
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,22 +1,22 @@
|
|
|
1
|
-
import defu from "defu";
|
|
2
1
|
import { getUnionTypes, kindToName } from "@powerlines/deepkit/utilities";
|
|
3
|
-
import {
|
|
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
|
+
import defu from "defu";
|
|
4
6
|
import { ReflectionKind, memberNameToString } from "@powerlines/deepkit/vendor/type";
|
|
7
|
+
import { pascalCase } from "@stryke/string-format/pascal-case";
|
|
8
|
+
import { camelCase } from "@stryke/string-format/camel-case";
|
|
9
|
+
import { getClassName } from "@powerlines/deepkit/vendor/core";
|
|
5
10
|
import { capnpc } from "@stryke/capnp/compile";
|
|
6
11
|
import { resolveOptions } from "@stryke/capnp/helpers";
|
|
7
12
|
import { toArray } from "@stryke/convert/to-array";
|
|
8
13
|
import { getUniqueBy } from "@stryke/helpers/get-unique";
|
|
9
14
|
import { StormJSON } from "@stryke/json";
|
|
10
15
|
import { joinPaths } from "@stryke/path/join";
|
|
11
|
-
import { camelCase } from "@stryke/string-format/camel-case";
|
|
12
16
|
import { getWords } from "@stryke/string-format/get-words";
|
|
13
|
-
import { pascalCase } from "@stryke/string-format/pascal-case";
|
|
14
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
15
17
|
import { isBigInt } from "@stryke/type-checks/is-bigint";
|
|
16
18
|
import { isNull } from "@stryke/type-checks/is-null";
|
|
17
19
|
import { isNumber } from "@stryke/type-checks/is-number";
|
|
18
|
-
import { isString } from "@stryke/type-checks/is-string";
|
|
19
|
-
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
20
20
|
import { Buffer } from "node:buffer";
|
|
21
21
|
import { exec } from "node:child_process";
|
|
22
22
|
import { promisify } from "node:util";
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
const require_helpers_typescript = require('./typescript.cjs');
|
|
2
|
+
const require_helpers_refkey = require('./refkey.cjs');
|
|
1
3
|
const require_helpers_capnp = require('./capnp.cjs');
|
|
2
4
|
const require_helpers_create_builtin = require('./create-builtin.cjs');
|
|
3
|
-
const require_helpers_refkey = require('./refkey.cjs');
|
|
4
|
-
const require_helpers_typescript = require('./typescript.cjs');
|
|
5
5
|
|
|
6
6
|
exports.LARGE_BUFFER = require_helpers_capnp.LARGE_BUFFER;
|
|
7
7
|
exports.compile = require_helpers_capnp.compile;
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { generateTypeScriptObject } from "./typescript.mjs";
|
|
2
|
+
import { refkey } from "./refkey.mjs";
|
|
1
3
|
import { LARGE_BUFFER, compile, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, stringifyCapnpDefaultValue, stringifyCapnpValue } from "./capnp.mjs";
|
|
2
4
|
import { createBuiltin } from "./create-builtin.mjs";
|
|
3
|
-
import { refkey } from "./refkey.mjs";
|
|
4
|
-
import { generateTypeScriptObject } from "./typescript.mjs";
|
|
5
5
|
|
|
6
6
|
export { LARGE_BUFFER, compile, createBuiltin, generateCapnp, generateCapnpEnumSchema, generateCapnpId, generateCapnpInterface, generateCapnpMethodSchema, generateCapnpPrimitive, generateCapnpSchema, generateCapnpStruct, generateTypeScriptObject, getCapnpEnumTypes, getCapnpUnionTypes, isCapnpStringUnion, isVoidType, refkey, stringifyCapnpDefaultValue, stringifyCapnpValue };
|
|
@@ -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_string_format_camel_case = require("@stryke/string-format/camel-case");
|
|
4
|
-
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
5
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_string_format_camel_case = require("@stryke/string-format/camel-case");
|
|
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 { camelCase } from "@stryke/string-format/camel-case";
|
|
3
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
4
2
|
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
3
|
+
import { titleCase } from "@stryke/string-format/title-case";
|
|
4
|
+
import { camelCase } from "@stryke/string-format/camel-case";
|
|
5
5
|
|
|
6
6
|
//#region src/helpers/typescript.ts
|
|
7
7
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -3,10 +3,10 @@ const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
|
3
3
|
const require_core_components_output = require('./core/components/output.cjs');
|
|
4
4
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
5
|
let __alloy_js_core = require("@alloy-js/core");
|
|
6
|
+
let __stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
|
6
7
|
let __alloy_js_rollup_plugin = require("@alloy-js/rollup-plugin");
|
|
7
8
|
__alloy_js_rollup_plugin = require_rolldown_runtime.__toESM(__alloy_js_rollup_plugin);
|
|
8
9
|
let __stryke_json_storm_json = require("@stryke/json/storm-json");
|
|
9
|
-
let __stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
|
10
10
|
|
|
11
11
|
//#region src/index.tsx
|
|
12
12
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Output as Output$1 } from "./core/components/output.mjs";
|
|
2
2
|
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
3
3
|
import { renderAsync, traverseOutput } from "@alloy-js/core";
|
|
4
|
+
import { findFileExtension } from "@stryke/path/file-path-fns";
|
|
4
5
|
import alloy from "@alloy-js/rollup-plugin";
|
|
5
6
|
import { StormJSON } from "@stryke/json/storm-json";
|
|
6
|
-
import { findFileExtension } from "@stryke/path/file-path-fns";
|
|
7
7
|
|
|
8
8
|
//#region src/index.tsx
|
|
9
9
|
/**
|
|
@@ -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 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, SourceFileHeaderProps } from "../../types/components.mjs";
|
|
2
2
|
import { SourceFileProps as SourceFileProps$1 } from "../../core/components/source-file.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core11 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_core11.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_core11.Children;
|
|
21
21
|
declare type __ΩMarkdownFileProps = any[];
|
|
22
22
|
//#endregion
|
|
23
23
|
export { MarkdownFile, MarkdownFileHeader, MarkdownFileProps, __ΩMarkdownFileProps };
|
|
@@ -2,8 +2,8 @@ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
|
2
2
|
const require_markdown_contexts_markdown_table = require('../contexts/markdown-table.cjs');
|
|
3
3
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
4
4
|
let __alloy_js_core = require("@alloy-js/core");
|
|
5
|
-
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
6
5
|
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
6
|
+
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
7
7
|
|
|
8
8
|
//#region src/markdown/components/markdown-table.tsx
|
|
9
9
|
/**
|
|
@@ -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_core7 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_core7.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_core7.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_core7.Children;
|
|
24
24
|
declare type __ΩMarkdownTableProps = any[];
|
|
25
25
|
declare type __ΩMarkdownTableColumnProps = any[];
|
|
26
26
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MarkdownTableContext, useMarkdownTable } from "../contexts/markdown-table.mjs";
|
|
2
2
|
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
3
3
|
import { Prose, Show, code, computed, splitProps } from "@alloy-js/core";
|
|
4
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
5
4
|
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
5
|
+
import { titleCase } from "@stryke/string-format/title-case";
|
|
6
6
|
|
|
7
7
|
//#region src/markdown/components/markdown-table.tsx
|
|
8
8
|
/**
|
|
@@ -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_core10 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_core10.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_core0 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_core0.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_core16 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_core16.Children;
|
|
30
30
|
declare type __ΩDynamicImportStatementProps = any[];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps };
|
|
@@ -5,9 +5,9 @@ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
|
5
5
|
let __alloy_js_core = require("@alloy-js/core");
|
|
6
6
|
let __stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
|
|
7
7
|
let __stryke_path_replace = require("@stryke/path/replace");
|
|
8
|
+
let __stryke_type_checks_is_set = require("@stryke/type-checks/is-set");
|
|
8
9
|
let defu = require("defu");
|
|
9
10
|
defu = require_rolldown_runtime.__toESM(defu);
|
|
10
|
-
let __stryke_type_checks_is_set = require("@stryke/type-checks/is-set");
|
|
11
11
|
|
|
12
12
|
//#region src/typescript/components/entry-file.tsx
|
|
13
13
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ResolvedEntryTypeDefinition } from "../../powerlines/src/types/resolved.cjs";
|
|
2
2
|
import { TypescriptFileProps } from "./typescript-file.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core12 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/entry-file.d.ts
|
|
6
6
|
type EntryFileProps = TypescriptFileProps & {
|
|
@@ -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_core12.Children;
|
|
25
25
|
declare type __ΩEntryFileProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { EntryFile, EntryFileProps, __ΩEntryFileProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ResolvedEntryTypeDefinition } from "../../powerlines/src/types/resolved.mjs";
|
|
2
2
|
import { TypescriptFileProps } from "./typescript-file.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core3 from "@alloy-js/core";
|
|
4
4
|
|
|
5
5
|
//#region src/typescript/components/entry-file.d.ts
|
|
6
6
|
type EntryFileProps = TypescriptFileProps & {
|
|
@@ -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_core3.Children;
|
|
25
25
|
declare type __ΩEntryFileProps = any[];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { EntryFile, EntryFileProps, __ΩEntryFileProps };
|
|
@@ -4,8 +4,8 @@ import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
|
4
4
|
import { computed, splitProps } from "@alloy-js/core";
|
|
5
5
|
import { hasFileExtension } from "@stryke/path/file-path-fns";
|
|
6
6
|
import { replaceExtension, replacePath } from "@stryke/path/replace";
|
|
7
|
-
import defu from "defu";
|
|
8
7
|
import { isSet } from "@stryke/type-checks/is-set";
|
|
8
|
+
import defu from "defu";
|
|
9
9
|
|
|
10
10
|
//#region src/typescript/components/entry-file.tsx
|
|
11
11
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_core_contexts_reflection = require('../../core/contexts/reflection.cjs');
|
|
3
2
|
const require_typescript_components_tsdoc = require('./tsdoc.cjs');
|
|
3
|
+
const require_core_contexts_reflection = require('../../core/contexts/reflection.cjs');
|
|
4
4
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
5
|
let __alloy_js_core = require("@alloy-js/core");
|
|
6
|
+
let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
7
|
+
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
6
8
|
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
7
9
|
let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
8
|
-
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
9
|
-
let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
10
10
|
|
|
11
11
|
//#region src/typescript/components/tsdoc-reflection.tsx
|
|
12
12
|
/**
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { TSDocProps } from "./tsdoc.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core13 from "@alloy-js/core";
|
|
3
3
|
|
|
4
4
|
//#region src/typescript/components/tsdoc-reflection.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Generates a TypeScript interface property for the given reflection class.
|
|
7
7
|
*/
|
|
8
|
-
declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps):
|
|
8
|
+
declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core13.Children;
|
|
9
9
|
/**
|
|
10
10
|
* Generates a TypeScript interface property for the given reflection class.
|
|
11
11
|
*/
|
|
12
|
-
declare function TSDocReflectionProperty(props: TSDocProps):
|
|
12
|
+
declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core13.Children;
|
|
13
13
|
/**
|
|
14
14
|
* Generates a TypeScript interface property for the given reflection class.
|
|
15
15
|
*/
|
|
16
|
-
declare function TSDocReflectionMethod(props: TSDocProps):
|
|
16
|
+
declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core13.Children;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { TSDocProps } from "./tsdoc.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core8 from "@alloy-js/core";
|
|
3
3
|
|
|
4
4
|
//#region src/typescript/components/tsdoc-reflection.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Generates a TypeScript interface property for the given reflection class.
|
|
7
7
|
*/
|
|
8
|
-
declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps):
|
|
8
|
+
declare function TSDocReflectionClass<T extends Record<string, any> = Record<string, any>>(props: TSDocProps): _alloy_js_core8.Children;
|
|
9
9
|
/**
|
|
10
10
|
* Generates a TypeScript interface property for the given reflection class.
|
|
11
11
|
*/
|
|
12
|
-
declare function TSDocReflectionProperty(props: TSDocProps):
|
|
12
|
+
declare function TSDocReflectionProperty(props: TSDocProps): _alloy_js_core8.Children;
|
|
13
13
|
/**
|
|
14
14
|
* Generates a TypeScript interface property for the given reflection class.
|
|
15
15
|
*/
|
|
16
|
-
declare function TSDocReflectionMethod(props: TSDocProps):
|
|
16
|
+
declare function TSDocReflectionMethod(props: TSDocProps): _alloy_js_core8.Children;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { useReflectionClass, useReflectionMethod, useReflectionProperty } from "../../core/contexts/reflection.mjs";
|
|
2
1
|
import { TSDoc, TSDocAttributesTags } from "./tsdoc.mjs";
|
|
2
|
+
import { useReflectionClass, useReflectionMethod, useReflectionProperty } from "../../core/contexts/reflection.mjs";
|
|
3
3
|
import { createComponent, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
4
4
|
import { List, Show, childrenArray, code, computed, splitProps } from "@alloy-js/core";
|
|
5
|
+
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
6
|
+
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
5
7
|
import { titleCase } from "@stryke/string-format/title-case";
|
|
6
8
|
import { isString } from "@stryke/type-checks/is-string";
|
|
7
|
-
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
8
|
-
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
9
9
|
|
|
10
10
|
//#region src/typescript/components/tsdoc-reflection.tsx
|
|
11
11
|
/**
|
|
@@ -3,8 +3,8 @@ const require_core_contexts_context = require('../../core/contexts/context.cjs')
|
|
|
3
3
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
4
4
|
let __alloy_js_core = require("@alloy-js/core");
|
|
5
5
|
let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
|
|
6
|
-
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
7
6
|
let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
7
|
+
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
8
8
|
|
|
9
9
|
//#region src/typescript/components/tsdoc.tsx
|
|
10
10
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.mjs";
|
|
2
2
|
import { Children } from "@alloy-js/core";
|
|
3
|
-
import { ReflectionKind, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
4
3
|
import { JSDocExampleProps, ParameterDescriptor } from "@alloy-js/typescript";
|
|
4
|
+
import { ReflectionKind, ReflectionParameter, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
5
5
|
|
|
6
6
|
//#region src/typescript/components/tsdoc.d.ts
|
|
7
7
|
interface TSDocProps extends ComponentProps {
|
|
@@ -2,8 +2,8 @@ import { usePowerlinesSafe } from "../../core/contexts/context.mjs";
|
|
|
2
2
|
import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
3
3
|
import { For, List, Prose, Show, childrenArray, splitProps } from "@alloy-js/core";
|
|
4
4
|
import { stringifyDefaultValue } from "@powerlines/deepkit/utilities";
|
|
5
|
-
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
6
5
|
import { isSetString } from "@stryke/type-checks/is-set-string";
|
|
6
|
+
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
7
7
|
|
|
8
8
|
//#region src/typescript/components/tsdoc.tsx
|
|
9
9
|
/**
|
|
@@ -4,11 +4,11 @@ const require_core_components_single_line_comment = require('../../core/componen
|
|
|
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");
|
|
7
|
+
let __alloy_js_typescript = require("@alloy-js/typescript");
|
|
7
8
|
let __stryke_path_append = require("@stryke/path/append");
|
|
8
9
|
let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
|
|
9
|
-
let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
10
|
-
let __alloy_js_typescript = require("@alloy-js/typescript");
|
|
11
10
|
let __stryke_type_checks_is_boolean = require("@stryke/type-checks/is-boolean");
|
|
11
|
+
let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
12
12
|
|
|
13
13
|
//#region src/typescript/components/typescript-file.tsx
|
|
14
14
|
/**
|
|
@@ -3,11 +3,11 @@ import { SingleLineComment } from "../../core/components/single-line-comment.mjs
|
|
|
3
3
|
import { SourceFile } from "../../core/components/source-file.mjs";
|
|
4
4
|
import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
5
5
|
import { For, Scope, Show, SourceDirectoryContext, code, splitProps, useContext, useScope } from "@alloy-js/core";
|
|
6
|
+
import { ImportStatements, PackageContext, SourceFileContext as SourceFileContext$1, TSModuleScope, getSourceDirectoryData, useSourceFile } from "@alloy-js/typescript";
|
|
6
7
|
import { appendPath } from "@stryke/path/append";
|
|
7
8
|
import { titleCase } from "@stryke/string-format/title-case";
|
|
8
|
-
import { isString } from "@stryke/type-checks/is-string";
|
|
9
|
-
import { ImportStatements, PackageContext, SourceFileContext as SourceFileContext$1, TSModuleScope, getSourceDirectoryData, useSourceFile } from "@alloy-js/typescript";
|
|
10
9
|
import { isBoolean } from "@stryke/type-checks/is-boolean";
|
|
10
|
+
import { isString } from "@stryke/type-checks/is-string";
|
|
11
11
|
|
|
12
12
|
//#region src/typescript/components/typescript-file.tsx
|
|
13
13
|
/**
|
|
@@ -3,10 +3,10 @@ const require_core_contexts_reflection = require('../../core/contexts/reflection
|
|
|
3
3
|
const require_typescript_components_tsdoc_reflection = require('./tsdoc-reflection.cjs');
|
|
4
4
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
5
|
let __alloy_js_core = require("@alloy-js/core");
|
|
6
|
+
let __alloy_js_typescript = require("@alloy-js/typescript");
|
|
7
|
+
let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
6
8
|
let __powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
|
|
7
9
|
let __stryke_string_format_pascal_case = require("@stryke/string-format/pascal-case");
|
|
8
|
-
let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
9
|
-
let __alloy_js_typescript = require("@alloy-js/typescript");
|
|
10
10
|
|
|
11
11
|
//#region src/typescript/components/typescript-interface.tsx
|
|
12
12
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core2 from "@alloy-js/core";
|
|
3
3
|
import { InterfaceDeclarationProps, InterfaceMemberProps } from "@alloy-js/typescript";
|
|
4
4
|
import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
5
5
|
|
|
@@ -14,11 +14,11 @@ interface TypescriptInterfacePropertyProps extends Omit<InterfaceMemberProps, "n
|
|
|
14
14
|
/**
|
|
15
15
|
* Generates a TypeScript interface for the given reflection class.
|
|
16
16
|
*/
|
|
17
|
-
declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>):
|
|
17
|
+
declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>): _alloy_js_core2.Children;
|
|
18
18
|
/**
|
|
19
19
|
* Generates a TypeScript interface property for the given reflection class.
|
|
20
20
|
*/
|
|
21
|
-
declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps):
|
|
21
|
+
declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps): _alloy_js_core2.Children;
|
|
22
22
|
declare type __ΩTypeScriptInterfaceProps = any[];
|
|
23
23
|
declare type __ΩTypescriptInterfacePropertyProps = any[];
|
|
24
24
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
2
|
+
import * as _alloy_js_core1 from "@alloy-js/core";
|
|
4
3
|
import { InterfaceDeclarationProps, InterfaceMemberProps } from "@alloy-js/typescript";
|
|
4
|
+
import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
5
5
|
|
|
6
6
|
//#region src/typescript/components/typescript-interface.d.ts
|
|
7
7
|
interface TypeScriptInterfaceProps<T extends Record<string, any> = Record<string, any>> extends InterfaceDeclarationProps, ComponentProps {
|
|
@@ -14,11 +14,11 @@ interface TypescriptInterfacePropertyProps extends Omit<InterfaceMemberProps, "n
|
|
|
14
14
|
/**
|
|
15
15
|
* Generates a TypeScript interface for the given reflection class.
|
|
16
16
|
*/
|
|
17
|
-
declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>):
|
|
17
|
+
declare function TypeScriptInterface<T extends Record<string, any> = Record<string, any>>(props: TypeScriptInterfaceProps<T>): _alloy_js_core1.Children;
|
|
18
18
|
/**
|
|
19
19
|
* Generates a TypeScript interface property for the given reflection class.
|
|
20
20
|
*/
|
|
21
|
-
declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps):
|
|
21
|
+
declare function TypescriptInterfaceProperty(props: TypescriptInterfacePropertyProps): _alloy_js_core1.Children;
|
|
22
22
|
declare type __ΩTypeScriptInterfaceProps = any[];
|
|
23
23
|
declare type __ΩTypescriptInterfacePropertyProps = any[];
|
|
24
24
|
//#endregion
|
|
@@ -2,10 +2,10 @@ import { ReflectionClassContext, ReflectionPropertyContext } from "../../core/co
|
|
|
2
2
|
import { TSDocReflectionClass, TSDocReflectionProperty } from "./tsdoc-reflection.mjs";
|
|
3
3
|
import { createComponent, mergeProps } from "@alloy-js/core/jsx-runtime";
|
|
4
4
|
import { For, computed, splitProps } from "@alloy-js/core";
|
|
5
|
+
import { InterfaceDeclaration, InterfaceMember } from "@alloy-js/typescript";
|
|
6
|
+
import { isString } from "@stryke/type-checks/is-string";
|
|
5
7
|
import { stringifyType } from "@powerlines/deepkit/vendor/type";
|
|
6
8
|
import { pascalCase } from "@stryke/string-format/pascal-case";
|
|
7
|
-
import { isString } from "@stryke/type-checks/is-string";
|
|
8
|
-
import { InterfaceDeclaration, InterfaceMember } from "@alloy-js/typescript";
|
|
9
9
|
|
|
10
10
|
//#region src/typescript/components/typescript-interface.tsx
|
|
11
11
|
/**
|
|
@@ -4,11 +4,11 @@ const require_typescript_components_tsdoc_reflection = require('./tsdoc-reflecti
|
|
|
4
4
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
5
|
let __alloy_js_core = require("@alloy-js/core");
|
|
6
6
|
let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
|
|
7
|
-
let __stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
|
|
8
|
-
let __stryke_string_format_pascal_case = require("@stryke/string-format/pascal-case");
|
|
9
|
-
let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
10
7
|
let __stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
11
8
|
let __alloy_js_typescript = require("@alloy-js/typescript");
|
|
9
|
+
let __stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
10
|
+
let __stryke_string_format_pascal_case = require("@stryke/string-format/pascal-case");
|
|
11
|
+
let __stryke_string_format_camel_case = require("@stryke/string-format/camel-case");
|
|
12
12
|
|
|
13
13
|
//#region src/typescript/components/typescript-object.tsx
|
|
14
14
|
/**
|
|
@@ -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
|
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
4
4
|
import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
5
5
|
import { ComputedRef } from "@vue/reactivity";
|
|
@@ -15,11 +15,11 @@ interface TypescriptObjectPropertyProps extends ComponentProps {
|
|
|
15
15
|
/**
|
|
16
16
|
* Generates a TypeScript object for the given reflection class.
|
|
17
17
|
*/
|
|
18
|
-
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>):
|
|
18
|
+
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core0.Children;
|
|
19
19
|
/**
|
|
20
20
|
* Generates a TypeScript object property for the given reflection class.
|
|
21
21
|
*/
|
|
22
|
-
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps):
|
|
22
|
+
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core0.Children;
|
|
23
23
|
declare type __ΩTypescriptObjectProps = any[];
|
|
24
24
|
declare type __ΩTypescriptObjectPropertyProps = any[];
|
|
25
25
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.mjs";
|
|
2
|
-
import * as
|
|
3
|
-
import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
2
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
4
3
|
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
4
|
+
import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
5
5
|
import { ComputedRef } from "@vue/reactivity";
|
|
6
6
|
|
|
7
7
|
//#region src/typescript/components/typescript-object.d.ts
|
|
@@ -15,11 +15,11 @@ interface TypescriptObjectPropertyProps extends ComponentProps {
|
|
|
15
15
|
/**
|
|
16
16
|
* Generates a TypeScript object for the given reflection class.
|
|
17
17
|
*/
|
|
18
|
-
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>):
|
|
18
|
+
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core0.Children;
|
|
19
19
|
/**
|
|
20
20
|
* Generates a TypeScript object property for the given reflection class.
|
|
21
21
|
*/
|
|
22
|
-
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps):
|
|
22
|
+
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core0.Children;
|
|
23
23
|
declare type __ΩTypescriptObjectProps = any[];
|
|
24
24
|
declare type __ΩTypescriptObjectPropertyProps = any[];
|
|
25
25
|
//#endregion
|
|
@@ -3,11 +3,11 @@ import { TSDocReflectionClass, TSDocReflectionProperty } from "./tsdoc-reflectio
|
|
|
3
3
|
import { createComponent, createIntrinsic, memo } from "@alloy-js/core/jsx-runtime";
|
|
4
4
|
import { Declaration, For, Name, Show, computed, createSymbolSlot, splitProps } from "@alloy-js/core";
|
|
5
5
|
import { stringifyDefaultValue } from "@powerlines/deepkit/utilities";
|
|
6
|
-
import { camelCase } from "@stryke/string-format/camel-case";
|
|
7
|
-
import { pascalCase } from "@stryke/string-format/pascal-case";
|
|
8
|
-
import { isString } from "@stryke/type-checks/is-string";
|
|
9
6
|
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
10
7
|
import { ObjectExpression, ObjectProperty, TSSymbolFlags, TypeRefContext, createValueSymbol, useTSNamePolicy } from "@alloy-js/typescript";
|
|
8
|
+
import { isString } from "@stryke/type-checks/is-string";
|
|
9
|
+
import { pascalCase } from "@stryke/string-format/pascal-case";
|
|
10
|
+
import { camelCase } from "@stryke/string-format/camel-case";
|
|
11
11
|
|
|
12
12
|
//#region src/typescript/components/typescript-object.tsx
|
|
13
13
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-alloy",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.58",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing various Alloy framework components and helper utilities.",
|
|
6
6
|
"repository": {
|
|
@@ -360,26 +360,26 @@
|
|
|
360
360
|
"@alloy-js/markdown": "^0.22.0",
|
|
361
361
|
"@alloy-js/rollup-plugin": "^0.1.0",
|
|
362
362
|
"@alloy-js/typescript": "^0.22.0",
|
|
363
|
-
"@powerlines/deepkit": "^0.5.
|
|
363
|
+
"@powerlines/deepkit": "^0.5.89",
|
|
364
364
|
"@storm-software/config-tools": "^1.188.80",
|
|
365
|
-
"@stryke/capnp": "^0.12.
|
|
366
|
-
"@stryke/convert": "^0.6.
|
|
367
|
-
"@stryke/fs": "^0.33.
|
|
368
|
-
"@stryke/helpers": "^0.9.
|
|
369
|
-
"@stryke/json": "^0.9.
|
|
370
|
-
"@stryke/path": "^0.
|
|
371
|
-
"@stryke/string-format": "^0.13.
|
|
372
|
-
"@stryke/type-checks": "^0.5.
|
|
373
|
-
"@stryke/types": "^0.10.
|
|
374
|
-
"@stryke/unique-id": "^0.3.
|
|
365
|
+
"@stryke/capnp": "^0.12.60",
|
|
366
|
+
"@stryke/convert": "^0.6.34",
|
|
367
|
+
"@stryke/fs": "^0.33.35",
|
|
368
|
+
"@stryke/helpers": "^0.9.36",
|
|
369
|
+
"@stryke/json": "^0.9.37",
|
|
370
|
+
"@stryke/path": "^0.25.3",
|
|
371
|
+
"@stryke/string-format": "^0.13.3",
|
|
372
|
+
"@stryke/type-checks": "^0.5.19",
|
|
373
|
+
"@stryke/types": "^0.10.33",
|
|
374
|
+
"@stryke/unique-id": "^0.3.46",
|
|
375
375
|
"defu": "^6.1.4",
|
|
376
|
-
"powerlines": "^0.37.
|
|
376
|
+
"powerlines": "^0.37.46",
|
|
377
377
|
"prettier": "^3.8.0"
|
|
378
378
|
},
|
|
379
379
|
"devDependencies": {
|
|
380
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
380
|
+
"@powerlines/plugin-plugin": "^0.12.124",
|
|
381
381
|
"@types/node": "^24.10.9"
|
|
382
382
|
},
|
|
383
383
|
"publishConfig": { "access": "public" },
|
|
384
|
-
"gitHead": "
|
|
384
|
+
"gitHead": "032b11dbd79e039303ebe2942ed230ea8956ece1"
|
|
385
385
|
}
|