@powerlines/plugin-alloy 0.18.50 → 0.18.52
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 +7 -0
- package/dist/core/components/index.d.cts +4 -0
- package/dist/core/components/index.d.mts +4 -0
- package/dist/core/components/index.mjs +5 -0
- package/dist/core/components/output.cjs +2 -2
- package/dist/core/components/output.d.cts +23 -0
- package/dist/core/components/output.d.mts +23 -0
- package/dist/core/components/output.mjs +4 -4
- package/dist/core/components/single-line-comment.cjs +22 -0
- package/dist/core/components/single-line-comment.d.cts +22 -0
- package/dist/core/components/single-line-comment.d.mts +22 -0
- package/dist/core/components/single-line-comment.mjs +21 -0
- package/dist/core/components/source-file.cjs +64 -0
- package/dist/core/components/source-file.d.cts +32 -0
- package/dist/core/components/source-file.d.mts +32 -0
- package/dist/core/components/source-file.mjs +62 -0
- package/dist/core/contexts/context.cjs +50 -1
- package/dist/core/contexts/context.d.cts +71 -0
- package/dist/core/contexts/context.d.mts +71 -0
- package/dist/core/contexts/context.mjs +46 -2
- package/dist/core/contexts/index.cjs +17 -0
- package/dist/core/contexts/index.d.cts +3 -0
- package/dist/core/contexts/index.d.mts +3 -0
- package/dist/core/contexts/index.mjs +4 -0
- package/dist/core/contexts/reflection.cjs +68 -0
- package/dist/core/contexts/reflection.d.cts +52 -0
- package/dist/core/contexts/reflection.d.mts +52 -0
- package/dist/core/contexts/reflection.mjs +60 -0
- package/dist/core/index.cjs +25 -0
- package/dist/core/index.d.cts +7 -0
- package/dist/core/index.d.mts +8 -0
- package/dist/core/index.mjs +9 -0
- package/dist/helpers/capnp.cjs +276 -0
- package/dist/helpers/capnp.d.cts +87 -0
- package/dist/helpers/capnp.d.mts +87 -0
- package/dist/helpers/capnp.mjs +259 -0
- package/dist/helpers/create-builtin.cjs +19 -0
- package/dist/helpers/create-builtin.d.cts +15 -0
- package/dist/helpers/create-builtin.d.mts +15 -0
- package/dist/helpers/create-builtin.mjs +18 -0
- package/dist/helpers/index.cjs +24 -0
- package/dist/helpers/index.d.cts +5 -0
- package/dist/helpers/index.d.mts +5 -0
- package/dist/helpers/index.mjs +6 -0
- package/dist/helpers/refkey.cjs +16 -0
- package/dist/helpers/refkey.d.cts +13 -0
- package/dist/helpers/refkey.d.mts +13 -0
- package/dist/helpers/refkey.mjs +15 -0
- package/dist/helpers/typescript.cjs +46 -0
- package/dist/helpers/typescript.d.cts +25 -0
- package/dist/helpers/typescript.d.mts +25 -0
- package/dist/helpers/typescript.mjs +45 -0
- package/dist/index.cjs +2 -2
- package/dist/markdown/components/index.cjs +8 -0
- package/dist/markdown/components/index.d.cts +3 -0
- package/dist/markdown/components/index.d.mts +3 -0
- package/dist/markdown/components/index.mjs +4 -0
- package/dist/markdown/components/markdown-file.cjs +116 -0
- package/dist/markdown/components/markdown-file.d.cts +23 -0
- package/dist/markdown/components/markdown-file.d.mts +23 -0
- package/dist/markdown/components/markdown-file.mjs +114 -0
- package/dist/markdown/components/markdown-table.cjs +101 -0
- package/dist/markdown/components/markdown-table.d.cts +27 -0
- package/dist/markdown/components/markdown-table.d.mts +27 -0
- package/dist/markdown/components/markdown-table.mjs +98 -0
- package/dist/markdown/contexts/index.cjs +6 -0
- package/dist/markdown/contexts/index.d.cts +2 -0
- package/dist/markdown/contexts/index.d.mts +2 -0
- package/dist/markdown/contexts/index.mjs +3 -0
- package/dist/markdown/contexts/markdown-table.cjs +37 -0
- package/dist/markdown/contexts/markdown-table.d.cts +37 -0
- package/dist/markdown/contexts/markdown-table.d.mts +37 -0
- package/dist/markdown/contexts/markdown-table.mjs +33 -0
- package/dist/markdown/index.cjs +15 -0
- package/dist/markdown/index.d.cts +4 -0
- package/dist/markdown/index.d.mts +6 -0
- package/dist/markdown/index.mjs +7 -0
- package/dist/powerlines/src/types/api.d.cts +3 -3
- package/dist/powerlines/src/types/api.d.mts +3 -3
- package/dist/powerlines/src/types/build.d.cts +10 -10
- package/dist/powerlines/src/types/build.d.mts +10 -10
- package/dist/powerlines/src/types/commands.d.cts +1 -1
- package/dist/powerlines/src/types/commands.d.mts +1 -1
- package/dist/powerlines/src/types/config.d.cts +2 -2
- package/dist/powerlines/src/types/config.d.mts +2 -2
- package/dist/powerlines/src/types/context.d.cts +5 -5
- package/dist/powerlines/src/types/context.d.mts +5 -5
- package/dist/powerlines/src/types/hooks.d.cts +1 -1
- package/dist/powerlines/src/types/hooks.d.mts +1 -1
- package/dist/powerlines/src/types/plugin.d.cts +5 -5
- package/dist/powerlines/src/types/plugin.d.mts +5 -5
- package/dist/powerlines/src/types/resolved.d.cts +1 -1
- package/dist/powerlines/src/types/resolved.d.mts +1 -1
- package/dist/powerlines/src/types/unplugin.d.cts +1 -1
- package/dist/powerlines/src/types/unplugin.d.mts +1 -1
- package/dist/types/components.cjs +0 -0
- package/dist/types/components.d.cts +142 -0
- package/dist/types/components.d.mts +142 -0
- package/dist/types/components.mjs +1 -0
- package/dist/types/index.cjs +0 -0
- package/dist/types/index.d.cts +3 -0
- package/dist/types/index.d.mts +3 -0
- package/dist/types/index.mjs +1 -0
- package/dist/types/plugin.cjs +0 -0
- package/dist/types/plugin.d.cts +9 -1
- package/dist/types/plugin.d.mts +9 -1
- package/dist/types/plugin.mjs +1 -0
- package/dist/typescript/components/builtin-file.cjs +62 -0
- package/dist/typescript/components/builtin-file.d.cts +34 -0
- package/dist/typescript/components/builtin-file.d.mts +34 -0
- package/dist/typescript/components/builtin-file.mjs +61 -0
- package/dist/typescript/components/dynamic-import-statement.cjs +25 -0
- package/dist/typescript/components/dynamic-import-statement.d.cts +32 -0
- package/dist/typescript/components/dynamic-import-statement.d.mts +32 -0
- package/dist/typescript/components/dynamic-import-statement.mjs +24 -0
- package/dist/typescript/components/entry-file.cjs +41 -0
- package/dist/typescript/components/entry-file.d.cts +27 -0
- package/dist/typescript/components/entry-file.d.mts +27 -0
- package/dist/typescript/components/entry-file.mjs +39 -0
- package/dist/typescript/components/index.cjs +44 -0
- package/dist/typescript/components/index.d.cts +10 -0
- package/dist/typescript/components/index.d.mts +10 -0
- package/dist/typescript/components/index.mjs +11 -0
- package/dist/typescript/components/record-expression.cjs +12 -0
- package/dist/typescript/components/record-expression.d.cts +12 -0
- package/dist/typescript/components/record-expression.d.mts +12 -0
- package/dist/typescript/components/record-expression.mjs +11 -0
- package/dist/typescript/components/tsdoc-reflection.cjs +177 -0
- package/dist/typescript/components/tsdoc-reflection.d.cts +18 -0
- package/dist/typescript/components/tsdoc-reflection.d.mts +18 -0
- package/dist/typescript/components/tsdoc-reflection.mjs +174 -0
- package/dist/typescript/components/tsdoc.cjs +481 -0
- package/dist/typescript/components/tsdoc.d.cts +163 -0
- package/dist/typescript/components/tsdoc.d.mts +163 -0
- package/dist/typescript/components/tsdoc.mjs +461 -0
- package/dist/typescript/components/typescript-file.cjs +216 -0
- package/dist/typescript/components/typescript-file.d.cts +49 -0
- package/dist/typescript/components/typescript-file.d.mts +49 -0
- package/dist/typescript/components/typescript-file.mjs +213 -0
- package/dist/typescript/components/typescript-interface.cjs +69 -0
- package/dist/typescript/components/typescript-interface.d.cts +25 -0
- package/dist/typescript/components/typescript-interface.d.mts +25 -0
- package/dist/typescript/components/typescript-interface.mjs +67 -0
- package/dist/typescript/components/typescript-object.cjs +125 -0
- package/dist/typescript/components/typescript-object.d.cts +26 -0
- package/dist/typescript/components/typescript-object.d.mts +26 -0
- package/dist/typescript/components/typescript-object.mjs +123 -0
- package/dist/typescript/index.cjs +45 -0
- package/dist/typescript/index.d.cts +11 -0
- package/dist/typescript/index.d.mts +11 -0
- package/dist/typescript/index.mjs +12 -0
- package/package.json +5 -5
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ComponentProps } from "../../types/components.mjs";
|
|
2
|
+
import * as _alloy_js_core15 from "@alloy-js/core";
|
|
3
|
+
import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
4
|
+
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
5
|
+
import { ComputedRef } from "@vue/reactivity";
|
|
6
|
+
|
|
7
|
+
//#region src/typescript/components/typescript-object.d.ts
|
|
8
|
+
interface TypescriptObjectProps<T extends Record<string, any> = Record<string, any>> extends VarDeclarationProps {
|
|
9
|
+
reflection?: ComputedRef<ReflectionClass<T>>;
|
|
10
|
+
defaultValue?: ComputedRef<Partial<T> | undefined>;
|
|
11
|
+
}
|
|
12
|
+
interface TypescriptObjectPropertyProps extends ComponentProps {
|
|
13
|
+
property: ReflectionProperty;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Generates a TypeScript object for the given reflection class.
|
|
17
|
+
*/
|
|
18
|
+
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core15.Children;
|
|
19
|
+
/**
|
|
20
|
+
* Generates a TypeScript object property for the given reflection class.
|
|
21
|
+
*/
|
|
22
|
+
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core15.Children;
|
|
23
|
+
declare type __ΩTypescriptObjectProps = any[];
|
|
24
|
+
declare type __ΩTypescriptObjectPropertyProps = any[];
|
|
25
|
+
//#endregion
|
|
26
|
+
export { TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps };
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { ReflectionClassContext, ReflectionPropertyContext } from "../../core/contexts/reflection.mjs";
|
|
2
|
+
import { TSDocReflectionClass, TSDocReflectionProperty } from "./tsdoc-reflection.mjs";
|
|
3
|
+
import { createComponent, createIntrinsic, memo } from "@alloy-js/core/jsx-runtime";
|
|
4
|
+
import { Declaration, For, Name, Show, computed, createSymbolSlot, splitProps } from "@alloy-js/core";
|
|
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
|
+
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
10
|
+
import { ObjectExpression, ObjectProperty, TSSymbolFlags, TypeRefContext, createValueSymbol, useTSNamePolicy } from "@alloy-js/typescript";
|
|
11
|
+
|
|
12
|
+
//#region src/typescript/components/typescript-object.tsx
|
|
13
|
+
/**
|
|
14
|
+
* Generates a TypeScript object for the given reflection class.
|
|
15
|
+
*/
|
|
16
|
+
function TypescriptObject(props) {
|
|
17
|
+
if (!props.reflection?.value) return null;
|
|
18
|
+
const objectName = computed(() => camelCase((isString(props.name) ? props.name : props.name.toString()) || props.reflection.value.getName()));
|
|
19
|
+
const objectType = computed(() => props.type || pascalCase(props.reflection.value.getName()));
|
|
20
|
+
const properties = computed(() => props.reflection.value.getProperties().filter((item) => !item.isIgnored() && !isUndefined(props.defaultValue?.value?.[item.getNameAsString()] ?? item.getAlias().reduce((ret, alias) => {
|
|
21
|
+
if (isUndefined(ret) && !isUndefined(props.defaultValue?.value?.[alias])) return props.defaultValue?.value?.[alias];
|
|
22
|
+
return ret;
|
|
23
|
+
}, void 0) ?? item.getDefaultValue())).sort((a, b) => a.isReadonly() && b.isReadonly() || !a.isReadonly() && !b.isReadonly() ? a.getNameAsString().localeCompare(b.getNameAsString()) : a.isReadonly() ? 1 : -1));
|
|
24
|
+
const TypeSymbolSlot = createSymbolSlot();
|
|
25
|
+
const ValueTypeSymbolSlot = createSymbolSlot();
|
|
26
|
+
const sym = createValueSymbol(props.name, {
|
|
27
|
+
refkeys: props.refkey,
|
|
28
|
+
default: props.default,
|
|
29
|
+
export: props.export,
|
|
30
|
+
metadata: props.metadata,
|
|
31
|
+
tsFlags: props.nullish ? TSSymbolFlags.Nullish : TSSymbolFlags.None,
|
|
32
|
+
type: props.type ? TypeSymbolSlot.firstSymbol : void 0,
|
|
33
|
+
namePolicy: useTSNamePolicy().for("variable")
|
|
34
|
+
});
|
|
35
|
+
if (!props.type) ValueTypeSymbolSlot.moveMembersTo(sym);
|
|
36
|
+
const keyword = props.var ? "var" : props.let ? "let" : "const";
|
|
37
|
+
const type = props.type ? createComponent(TypeRefContext, { get children() {
|
|
38
|
+
return [": ", createComponent(TypeSymbolSlot, { get children() {
|
|
39
|
+
return props.type;
|
|
40
|
+
} })];
|
|
41
|
+
} }) : void 0;
|
|
42
|
+
return createComponent(Show, {
|
|
43
|
+
get when() {
|
|
44
|
+
return !!props.reflection.value;
|
|
45
|
+
},
|
|
46
|
+
get children() {
|
|
47
|
+
return createComponent(ReflectionClassContext.Provider, {
|
|
48
|
+
get value() {
|
|
49
|
+
return {
|
|
50
|
+
reflection: props.reflection.value,
|
|
51
|
+
override: {
|
|
52
|
+
name: objectName.value,
|
|
53
|
+
type: objectType.value,
|
|
54
|
+
defaultValue: props.defaultValue?.value
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
get children() {
|
|
59
|
+
return [createComponent(Show, {
|
|
60
|
+
get when() {
|
|
61
|
+
return !!objectName.value && !!objectType.value;
|
|
62
|
+
},
|
|
63
|
+
get children() {
|
|
64
|
+
return [createComponent(TSDocReflectionClass, {}), createComponent(Declaration, {
|
|
65
|
+
symbol: sym,
|
|
66
|
+
get children() {
|
|
67
|
+
return [
|
|
68
|
+
memo(() => props.export ? "export " : ""),
|
|
69
|
+
memo(() => props.default ? "default " : ""),
|
|
70
|
+
keyword,
|
|
71
|
+
" ",
|
|
72
|
+
createComponent(Name, {}),
|
|
73
|
+
type,
|
|
74
|
+
" =",
|
|
75
|
+
" ",
|
|
76
|
+
createComponent(ValueTypeSymbolSlot, { get children() {
|
|
77
|
+
return props.initializer ?? props.children ?? createComponent(ObjectExpression, { get children() {
|
|
78
|
+
return createComponent(For, {
|
|
79
|
+
get each() {
|
|
80
|
+
return properties.value ?? [];
|
|
81
|
+
},
|
|
82
|
+
comma: true,
|
|
83
|
+
doubleHardline: true,
|
|
84
|
+
children: (prop) => createComponent(TypescriptObjectProperty, { property: prop })
|
|
85
|
+
});
|
|
86
|
+
} });
|
|
87
|
+
} })
|
|
88
|
+
];
|
|
89
|
+
}
|
|
90
|
+
})];
|
|
91
|
+
}
|
|
92
|
+
}), createIntrinsic("hbr", {})];
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Generates a TypeScript object property for the given reflection class.
|
|
100
|
+
*/
|
|
101
|
+
function TypescriptObjectProperty(props) {
|
|
102
|
+
const [{ property }] = splitProps(props, ["property"]);
|
|
103
|
+
return createComponent(ReflectionPropertyContext.Provider, {
|
|
104
|
+
value: property,
|
|
105
|
+
get children() {
|
|
106
|
+
return [
|
|
107
|
+
createComponent(TSDocReflectionProperty, {}),
|
|
108
|
+
createComponent(ObjectProperty, {
|
|
109
|
+
get name() {
|
|
110
|
+
return property.getNameAsString();
|
|
111
|
+
},
|
|
112
|
+
get value() {
|
|
113
|
+
return stringifyDefaultValue(property);
|
|
114
|
+
}
|
|
115
|
+
}),
|
|
116
|
+
createIntrinsic("hbr", {})
|
|
117
|
+
];
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
//#endregion
|
|
123
|
+
export { TypescriptObject, TypescriptObjectProperty };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
const require_typescript_components_tsdoc = require('./components/tsdoc.cjs');
|
|
2
|
+
const require_typescript_components_typescript_file = require('./components/typescript-file.cjs');
|
|
3
|
+
const require_typescript_components_builtin_file = require('./components/builtin-file.cjs');
|
|
4
|
+
const require_typescript_components_dynamic_import_statement = require('./components/dynamic-import-statement.cjs');
|
|
5
|
+
const require_typescript_components_entry_file = require('./components/entry-file.cjs');
|
|
6
|
+
const require_typescript_components_record_expression = require('./components/record-expression.cjs');
|
|
7
|
+
const require_typescript_components_tsdoc_reflection = require('./components/tsdoc-reflection.cjs');
|
|
8
|
+
const require_typescript_components_typescript_interface = require('./components/typescript-interface.cjs');
|
|
9
|
+
const require_typescript_components_typescript_object = require('./components/typescript-object.cjs');
|
|
10
|
+
require('./components/index.cjs');
|
|
11
|
+
|
|
12
|
+
exports.BuiltinFile = require_typescript_components_builtin_file.BuiltinFile;
|
|
13
|
+
exports.DynamicImportStatement = require_typescript_components_dynamic_import_statement.DynamicImportStatement;
|
|
14
|
+
exports.EntryFile = require_typescript_components_entry_file.EntryFile;
|
|
15
|
+
exports.RecordExpression = require_typescript_components_record_expression.RecordExpression;
|
|
16
|
+
exports.TSDoc = require_typescript_components_tsdoc.TSDoc;
|
|
17
|
+
exports.TSDocAlias = require_typescript_components_tsdoc.TSDocAlias;
|
|
18
|
+
exports.TSDocAttributesTags = require_typescript_components_tsdoc.TSDocAttributesTags;
|
|
19
|
+
exports.TSDocDefaultValue = require_typescript_components_tsdoc.TSDocDefaultValue;
|
|
20
|
+
exports.TSDocDomain = require_typescript_components_tsdoc.TSDocDomain;
|
|
21
|
+
exports.TSDocExample = require_typescript_components_tsdoc.TSDocExample;
|
|
22
|
+
exports.TSDocHidden = require_typescript_components_tsdoc.TSDocHidden;
|
|
23
|
+
exports.TSDocIgnore = require_typescript_components_tsdoc.TSDocIgnore;
|
|
24
|
+
exports.TSDocInternal = require_typescript_components_tsdoc.TSDocInternal;
|
|
25
|
+
exports.TSDocLink = require_typescript_components_tsdoc.TSDocLink;
|
|
26
|
+
exports.TSDocModule = require_typescript_components_tsdoc.TSDocModule;
|
|
27
|
+
exports.TSDocParam = require_typescript_components_tsdoc.TSDocParam;
|
|
28
|
+
exports.TSDocParams = require_typescript_components_tsdoc.TSDocParams;
|
|
29
|
+
exports.TSDocPermission = require_typescript_components_tsdoc.TSDocPermission;
|
|
30
|
+
exports.TSDocReadonly = require_typescript_components_tsdoc.TSDocReadonly;
|
|
31
|
+
exports.TSDocReflectionClass = require_typescript_components_tsdoc_reflection.TSDocReflectionClass;
|
|
32
|
+
exports.TSDocReflectionMethod = require_typescript_components_tsdoc_reflection.TSDocReflectionMethod;
|
|
33
|
+
exports.TSDocReflectionProperty = require_typescript_components_tsdoc_reflection.TSDocReflectionProperty;
|
|
34
|
+
exports.TSDocRemarks = require_typescript_components_tsdoc.TSDocRemarks;
|
|
35
|
+
exports.TSDocReturns = require_typescript_components_tsdoc.TSDocReturns;
|
|
36
|
+
exports.TSDocTag = require_typescript_components_tsdoc.TSDocTag;
|
|
37
|
+
exports.TSDocThrows = require_typescript_components_tsdoc.TSDocThrows;
|
|
38
|
+
exports.TSDocTitle = require_typescript_components_tsdoc.TSDocTitle;
|
|
39
|
+
exports.TypeScriptInterface = require_typescript_components_typescript_interface.TypeScriptInterface;
|
|
40
|
+
exports.TypescriptFile = require_typescript_components_typescript_file.TypescriptFile;
|
|
41
|
+
exports.TypescriptFileHeader = require_typescript_components_typescript_file.TypescriptFileHeader;
|
|
42
|
+
exports.TypescriptFileHeaderImports = require_typescript_components_typescript_file.TypescriptFileHeaderImports;
|
|
43
|
+
exports.TypescriptInterfaceProperty = require_typescript_components_typescript_interface.TypescriptInterfaceProperty;
|
|
44
|
+
exports.TypescriptObject = require_typescript_components_typescript_object.TypescriptObject;
|
|
45
|
+
exports.TypescriptObjectProperty = require_typescript_components_typescript_object.TypescriptObjectProperty;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps } from "./components/tsdoc.cjs";
|
|
2
|
+
import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps } from "./components/typescript-file.cjs";
|
|
3
|
+
import { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps } from "./components/builtin-file.cjs";
|
|
4
|
+
import { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps } from "./components/dynamic-import-statement.cjs";
|
|
5
|
+
import { EntryFile, EntryFileProps, __ΩEntryFileProps } from "./components/entry-file.cjs";
|
|
6
|
+
import { RecordExpression, RecordExpressionProps, __ΩRecordExpressionProps } from "./components/record-expression.cjs";
|
|
7
|
+
import { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./components/tsdoc-reflection.cjs";
|
|
8
|
+
import { TypeScriptInterface, TypeScriptInterfaceProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptInterfacePropertyProps } from "./components/typescript-interface.cjs";
|
|
9
|
+
import { TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps } from "./components/typescript-object.cjs";
|
|
10
|
+
import "./components/index.cjs";
|
|
11
|
+
export { BuiltinFile, BuiltinFileProps, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, 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, TypeScriptInterface, TypeScriptInterfaceProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩBuiltinFileProps, __ΩDynamicImportStatementProps, __ΩEntryFileProps, __ΩRecordExpressionProps, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps, __ΩTypescriptInterfacePropertyProps, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocAttributesTagsProps, TSDocDefaultValue, TSDocDefaultValueProps, TSDocDomain, TSDocExample, TSDocExampleProps, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocModuleProps, TSDocParam, TSDocParamProps, TSDocParams, TSDocParamsProps, TSDocPermission, TSDocProps, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocTagProps, TSDocThrows, TSDocTitle, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps } from "./components/tsdoc.mjs";
|
|
2
|
+
import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps } from "./components/typescript-file.mjs";
|
|
3
|
+
import { BuiltinFile, BuiltinFileProps, __ΩBuiltinFileProps } from "./components/builtin-file.mjs";
|
|
4
|
+
import { DynamicImportStatement, DynamicImportStatementProps, __ΩDynamicImportStatementProps } from "./components/dynamic-import-statement.mjs";
|
|
5
|
+
import { EntryFile, EntryFileProps, __ΩEntryFileProps } from "./components/entry-file.mjs";
|
|
6
|
+
import { RecordExpression, RecordExpressionProps, __ΩRecordExpressionProps } from "./components/record-expression.mjs";
|
|
7
|
+
import { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./components/tsdoc-reflection.mjs";
|
|
8
|
+
import { TypeScriptInterface, TypeScriptInterfaceProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptInterfacePropertyProps } from "./components/typescript-interface.mjs";
|
|
9
|
+
import { TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps } from "./components/typescript-object.mjs";
|
|
10
|
+
import "./components/index.mjs";
|
|
11
|
+
export { BuiltinFile, BuiltinFileProps, DynamicImportStatement, DynamicImportStatementProps, EntryFile, EntryFileProps, 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, TypeScriptInterface, TypeScriptInterfaceProps, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptFileHeaderImportsProps, TypescriptFileHeaderProps, TypescriptFileProps, TypescriptInterfaceProperty, TypescriptInterfacePropertyProps, TypescriptObject, TypescriptObjectProperty, TypescriptObjectPropertyProps, TypescriptObjectProps, __ΩBuiltinFileProps, __ΩDynamicImportStatementProps, __ΩEntryFileProps, __ΩRecordExpressionProps, __ΩTSDocAttributesTagsProps, __ΩTSDocDefaultValueProps, __ΩTSDocExampleProps, __ΩTSDocModuleProps, __ΩTSDocParamProps, __ΩTSDocParamsProps, __ΩTSDocProps, __ΩTSDocTagProps, __ΩTypeScriptInterfaceProps, __ΩTypescriptFileHeaderImportsProps, __ΩTypescriptFileHeaderProps, __ΩTypescriptFileProps, __ΩTypescriptInterfacePropertyProps, __ΩTypescriptObjectPropertyProps, __ΩTypescriptObjectProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TSDoc, TSDocAlias, TSDocAttributesTags, TSDocDefaultValue, TSDocDomain, TSDocExample, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocParam, TSDocParams, TSDocPermission, TSDocReadonly, TSDocRemarks, TSDocReturns, TSDocTag, TSDocThrows, TSDocTitle } from "./components/tsdoc.mjs";
|
|
2
|
+
import { TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports } from "./components/typescript-file.mjs";
|
|
3
|
+
import { BuiltinFile } from "./components/builtin-file.mjs";
|
|
4
|
+
import { DynamicImportStatement } from "./components/dynamic-import-statement.mjs";
|
|
5
|
+
import { EntryFile } from "./components/entry-file.mjs";
|
|
6
|
+
import { RecordExpression } from "./components/record-expression.mjs";
|
|
7
|
+
import { TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty } from "./components/tsdoc-reflection.mjs";
|
|
8
|
+
import { TypeScriptInterface, TypescriptInterfaceProperty } from "./components/typescript-interface.mjs";
|
|
9
|
+
import { TypescriptObject, TypescriptObjectProperty } from "./components/typescript-object.mjs";
|
|
10
|
+
import "./components/index.mjs";
|
|
11
|
+
|
|
12
|
+
export { BuiltinFile, DynamicImportStatement, EntryFile, RecordExpression, TSDoc, TSDocAlias, TSDocAttributesTags, TSDocDefaultValue, TSDocDomain, TSDocExample, TSDocHidden, TSDocIgnore, TSDocInternal, TSDocLink, TSDocModule, TSDocParam, TSDocParams, TSDocPermission, TSDocReadonly, TSDocReflectionClass, TSDocReflectionMethod, TSDocReflectionProperty, TSDocRemarks, TSDocReturns, TSDocTag, TSDocThrows, TSDocTitle, TypeScriptInterface, TypescriptFile, TypescriptFileHeader, TypescriptFileHeaderImports, TypescriptInterfaceProperty, TypescriptObject, TypescriptObjectProperty };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-alloy",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.52",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing various Alloy framework components and helper utilities.",
|
|
6
6
|
"repository": {
|
|
@@ -360,7 +360,7 @@
|
|
|
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.83",
|
|
364
364
|
"@storm-software/config-tools": "^1.188.80",
|
|
365
365
|
"@stryke/capnp": "^0.12.55",
|
|
366
366
|
"@stryke/convert": "^0.6.32",
|
|
@@ -373,13 +373,13 @@
|
|
|
373
373
|
"@stryke/types": "^0.10.31",
|
|
374
374
|
"@stryke/unique-id": "^0.3.41",
|
|
375
375
|
"defu": "^6.1.4",
|
|
376
|
-
"powerlines": "^0.37.
|
|
376
|
+
"powerlines": "^0.37.40",
|
|
377
377
|
"prettier": "^3.8.0"
|
|
378
378
|
},
|
|
379
379
|
"devDependencies": {
|
|
380
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
380
|
+
"@powerlines/plugin-plugin": "^0.12.118",
|
|
381
381
|
"@types/node": "^24.10.8"
|
|
382
382
|
},
|
|
383
383
|
"publishConfig": { "access": "public" },
|
|
384
|
-
"gitHead": "
|
|
384
|
+
"gitHead": "2cc7657de159a159ea11483e3366da6978dd1d14"
|
|
385
385
|
}
|