@powerlines/plugin-alloy 0.18.57 → 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/README.md +304 -0
- 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.cts +2 -2
- package/dist/core/components/single-line-comment.d.mts +2 -2
- package/dist/core/components/source-file.d.cts +2 -2
- package/dist/core/components/source-file.d.mts +2 -2
- package/dist/core/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.d.mts +4 -4
- package/dist/markdown/components/markdown-table.mjs +1 -1
- package/dist/typescript/components/builtin-file.d.cts +2 -2
- package/dist/typescript/components/builtin-file.d.mts +2 -2
- package/dist/typescript/components/dynamic-import-statement.d.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
package/README.md
ADDED
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
<!-- START header -->
|
|
2
|
+
<!-- prettier-ignore-start -->
|
|
3
|
+
<!-- markdownlint-disable -->
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<div align="center">
|
|
7
|
+
<picture>
|
|
8
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/powerlines/banner-1280x640-dark.gif">
|
|
9
|
+
<source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/powerlines/banner-1280x640-light.gif">
|
|
10
|
+
<img src="https://public.storm-cdn.com/powerlines/banner-1280x640-dark.gif" width="100%" alt="Powerlines" />
|
|
11
|
+
</picture>
|
|
12
|
+
</div>
|
|
13
|
+
<br />
|
|
14
|
+
|
|
15
|
+
<div align="center">
|
|
16
|
+
<b>
|
|
17
|
+
<a href="https://stormsoftware.com" target="_blank">Website</a> •
|
|
18
|
+
<a href="https://github.com/storm-software/powerlines" target="_blank">GitHub</a> •
|
|
19
|
+
<a href="https://discord.gg/MQ6YVzakM5">Discord</a> • <a href="https://stormstack.github.io/stormstack/" target="_blank">Docs</a> • <a href="https://stormsoftware.com/contact" target="_blank">Contact</a> •
|
|
20
|
+
<a href="https://github.com/storm-software/powerlines/issues/new?assignees=&labels=bug&template=bug-report.yml&title=Bug Report%3A+">Report a Bug</a>
|
|
21
|
+
</b>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<br />
|
|
25
|
+
This package is part of the 🔌 <b>Powerlines</b> monorepo. Powerlines packages include CLI utility applications, tools, and various libraries used to create modern, scalable web applications.
|
|
26
|
+
<br />
|
|
27
|
+
|
|
28
|
+
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
|
+
|
|
30
|
+
[](https://prettier.io/) [](http://commitizen.github.io/cz-cli/)  
|
|
31
|
+
|
|
32
|
+
<!-- prettier-ignore-start -->
|
|
33
|
+
<!-- markdownlint-disable -->
|
|
34
|
+
|
|
35
|
+
> [!IMPORTANT]
|
|
36
|
+
> This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be available through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.
|
|
37
|
+
|
|
38
|
+
<!-- markdownlint-restore -->
|
|
39
|
+
<!-- prettier-ignore-end -->
|
|
40
|
+
|
|
41
|
+
<div align="center">
|
|
42
|
+
<a href="https://github.com/storm-software/powerlines" target="_blank"><b>Be sure to ⭐ this repository on GitHub so you can keep up to date with it's progress!</b></a>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<br />
|
|
46
|
+
|
|
47
|
+
<!-- markdownlint-restore -->
|
|
48
|
+
<!-- prettier-ignore-end -->
|
|
49
|
+
|
|
50
|
+
<!-- END header -->
|
|
51
|
+
|
|
52
|
+
# Powerlines - Alloy Framework Plugin
|
|
53
|
+
|
|
54
|
+
A package containing various Alloy framework components and helper utilities.
|
|
55
|
+
|
|
56
|
+
<!-- START doctoc -->
|
|
57
|
+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
58
|
+
## Table of Contents
|
|
59
|
+
|
|
60
|
+
- [Powerlines - Alloy Framework Plugin](#powerlines---alloy-framework-plugin)
|
|
61
|
+
- [Table of Contents](#table-of-contents)
|
|
62
|
+
- [Installing](#installing)
|
|
63
|
+
- [Reduced Package Size](#reduced-package-size)
|
|
64
|
+
- [Development](#development)
|
|
65
|
+
- [Building](#building)
|
|
66
|
+
- [Running unit tests](#running-unit-tests)
|
|
67
|
+
- [Linting](#linting)
|
|
68
|
+
- [Storm Workspaces](#storm-workspaces)
|
|
69
|
+
- [Roadmap](#roadmap)
|
|
70
|
+
- [Support](#support)
|
|
71
|
+
- [License](#license)
|
|
72
|
+
- [Changelog](#changelog)
|
|
73
|
+
- [Contributing](#contributing)
|
|
74
|
+
- [Contributors](#contributors)
|
|
75
|
+
|
|
76
|
+
<!-- END doctoc -->
|
|
77
|
+
|
|
78
|
+
## Installing
|
|
79
|
+
|
|
80
|
+
Using [pnpm](http://pnpm.io):
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
pnpm add @powerlines/plugin-alloy
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
<details>
|
|
87
|
+
<summary>Using npm</summary>
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
npm install @powerlines/plugin-alloy
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
</details>
|
|
94
|
+
|
|
95
|
+
<details>
|
|
96
|
+
<summary>Using yarn</summary>
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
yarn add @powerlines/plugin-alloy
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
</details>
|
|
103
|
+
|
|
104
|
+
## Reduced Package Size
|
|
105
|
+
|
|
106
|
+
This project uses [tsup](https://tsup.egoist.dev/) to package the source code
|
|
107
|
+
due to its ability to remove unused code and ship smaller javascript files
|
|
108
|
+
thanks to code splitting. This helps to greatly reduce the size of the package
|
|
109
|
+
and to make it easier to use in other projects.
|
|
110
|
+
|
|
111
|
+
## Development
|
|
112
|
+
|
|
113
|
+
This project is built using [Nx](https://nx.dev). As a result, many of the usual
|
|
114
|
+
commands are available to assist in development.
|
|
115
|
+
|
|
116
|
+
### Building
|
|
117
|
+
|
|
118
|
+
Run `nx build plugin-alloy` to build the library.
|
|
119
|
+
|
|
120
|
+
### Running unit tests
|
|
121
|
+
|
|
122
|
+
Run `nx test plugin-alloy` to execute the unit tests via
|
|
123
|
+
[Jest](https://jestjs.io).
|
|
124
|
+
|
|
125
|
+
### Linting
|
|
126
|
+
|
|
127
|
+
Run `nx lint plugin-alloy` to run
|
|
128
|
+
[ESLint](https://eslint.org/) on the package.
|
|
129
|
+
|
|
130
|
+
<!-- START footer -->
|
|
131
|
+
<!-- prettier-ignore-start -->
|
|
132
|
+
<!-- markdownlint-disable -->
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
## Storm Workspaces
|
|
136
|
+
|
|
137
|
+
Storm workspaces are built using
|
|
138
|
+
<a href="https://nx.dev/" target="_blank">Nx</a>, a set of extensible dev tools
|
|
139
|
+
for monorepos, which helps you develop like Google, Facebook, and Microsoft.
|
|
140
|
+
Building on top of Nx, the Open System provides a set of tools and patterns that
|
|
141
|
+
help you scale your monorepo to many teams while keeping the codebase
|
|
142
|
+
maintainable.
|
|
143
|
+
|
|
144
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
145
|
+
<br />
|
|
146
|
+
|
|
147
|
+
## Roadmap
|
|
148
|
+
|
|
149
|
+
See the [open issues](https://github.com/storm-software/powerlines/issues) for
|
|
150
|
+
a list of proposed features (and known issues).
|
|
151
|
+
|
|
152
|
+
- [Top Feature Requests](https://github.com/storm-software/powerlines/issues?q=label%3Aenhancement+is%3Aopen+sort%3Areactions-%2B1-desc)
|
|
153
|
+
(Add your votes using the 👍 reaction)
|
|
154
|
+
- [Top Bugs](https://github.com/storm-software/powerlines/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Areactions-%2B1-desc)
|
|
155
|
+
(Add your votes using the 👍 reaction)
|
|
156
|
+
- [Newest Bugs](https://github.com/storm-software/powerlines/issues?q=is%3Aopen+is%3Aissue+label%3Abug)
|
|
157
|
+
|
|
158
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
159
|
+
<br />
|
|
160
|
+
|
|
161
|
+
## Support
|
|
162
|
+
|
|
163
|
+
Reach out to the maintainer at one of the following places:
|
|
164
|
+
|
|
165
|
+
- [Contact](https://stormsoftware.com/contact)
|
|
166
|
+
- [GitHub discussions](https://github.com/storm-software/powerlines/discussions)
|
|
167
|
+
- <support@stormsoftware.com>
|
|
168
|
+
|
|
169
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
170
|
+
<br />
|
|
171
|
+
|
|
172
|
+
## License
|
|
173
|
+
|
|
174
|
+
This project is licensed under the **Apache License 2.0**. Feel free to edit and
|
|
175
|
+
distribute this template as you like.
|
|
176
|
+
|
|
177
|
+
See [LICENSE](LICENSE) for more information.
|
|
178
|
+
|
|
179
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
180
|
+
<br />
|
|
181
|
+
|
|
182
|
+
## Changelog
|
|
183
|
+
|
|
184
|
+
This project adheres to
|
|
185
|
+
[Semantic Versioning](https://semver.org/spec/v2.0.0.html). Every release, along
|
|
186
|
+
with the migration instructions, is documented in the [CHANGELOG](CHANGELOG.md)
|
|
187
|
+
file
|
|
188
|
+
|
|
189
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
190
|
+
<br />
|
|
191
|
+
|
|
192
|
+
## Contributing
|
|
193
|
+
|
|
194
|
+
First off, thanks for taking the time to contribute! Contributions are what
|
|
195
|
+
makes the open-source community such an amazing place to learn, inspire, and
|
|
196
|
+
create. Any contributions you make will benefit everybody else and are **greatly
|
|
197
|
+
appreciated**.
|
|
198
|
+
|
|
199
|
+
Please try to create bug reports that are:
|
|
200
|
+
|
|
201
|
+
- _Reproducible._ Include steps to reproduce the problem.
|
|
202
|
+
- _Specific._ Include as much detail as possible: which version, what
|
|
203
|
+
environment, etc.
|
|
204
|
+
- _Unique._ Do not duplicate existing opened issues.
|
|
205
|
+
- _Scoped to a Single Bug._ One bug per report.
|
|
206
|
+
|
|
207
|
+
Please adhere to this project's [code of conduct](.github/CODE_OF_CONDUCT.md).
|
|
208
|
+
|
|
209
|
+
You can use
|
|
210
|
+
[markdownlint-cli](https://github.com/storm-software/powerlines/markdownlint-cli)
|
|
211
|
+
to check for common markdown style inconsistency.
|
|
212
|
+
|
|
213
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
214
|
+
<br />
|
|
215
|
+
|
|
216
|
+
## Contributors
|
|
217
|
+
|
|
218
|
+
Thanks goes to these wonderful people
|
|
219
|
+
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
220
|
+
|
|
221
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
222
|
+
|
|
223
|
+
<table>
|
|
224
|
+
<tbody>
|
|
225
|
+
<tr>
|
|
226
|
+
<td align="center" valign="top" width="14.28%"><a href="http://www.sullypat.com/"><img src="https://avatars.githubusercontent.com/u/99053093?v=4?s=100" width="100px;" alt="Patrick Sullivan"/><br /><sub><b>Patrick Sullivan</b></sub></a><br /><a href="#design-sullivanpj" title="Design">🎨</a> <a href="https://github.com/storm-software/powerlines/commits?author=sullivanpj" title="Code">💻</a> <a href="#tool-sullivanpj" title="Tools">🔧</a> <a href="https://github.com/storm-software/powerlines/commits?author=sullivanpj" title="Documentation">📖</a> <a href="https://github.com/storm-software/powerlines/commits?author=sullivanpj" title="Tests">⚠️</a></td>
|
|
227
|
+
<td align="center" valign="top" width="14.28%"><a href="https://tylerbenning.com/"><img src="https://avatars.githubusercontent.com/u/7265547?v=4?s=100" width="100px;" alt="Tyler Benning"/><br /><sub><b>Tyler Benning</b></sub></a><br /><a href="#design-tbenning" title="Design">🎨</a></td>
|
|
228
|
+
<td align="center" valign="top" width="14.28%"><a href="http://stormsoftware.com"><img src="https://avatars.githubusercontent.com/u/149802440?v=4?s=100" width="100px;" alt="Stormie"/><br /><sub><b>Stormie</b></sub></a><br /><a href="#maintenance-stormie-bot" title="Maintenance">🚧</a></td>
|
|
229
|
+
</tr>
|
|
230
|
+
</tbody>
|
|
231
|
+
<tfoot>
|
|
232
|
+
<tr>
|
|
233
|
+
<td align="center" size="13px" colspan="7">
|
|
234
|
+
<img src="https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg" alt="All Contributors">
|
|
235
|
+
<a href="https://all-contributors.js.org/docs/en/bot/usage">Add your contributions</a>
|
|
236
|
+
</img>
|
|
237
|
+
</td>
|
|
238
|
+
</tr>
|
|
239
|
+
</tfoot>
|
|
240
|
+
</table>
|
|
241
|
+
|
|
242
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
243
|
+
|
|
244
|
+
This project follows the
|
|
245
|
+
[all-contributors](https://github.com/all-contributors/all-contributors)
|
|
246
|
+
specification. Contributions of any kind welcome!
|
|
247
|
+
|
|
248
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
249
|
+
<br />
|
|
250
|
+
|
|
251
|
+
<hr />
|
|
252
|
+
<br />
|
|
253
|
+
|
|
254
|
+
<div align="center">
|
|
255
|
+
<picture>
|
|
256
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x320-dark.webp">
|
|
257
|
+
<source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x320-light.webp">
|
|
258
|
+
<img src="https://public.storm-cdn.com/storm-software/banner-1280x320-dark.webp" width="100%" alt="Storm Software" />
|
|
259
|
+
</picture>
|
|
260
|
+
</div>
|
|
261
|
+
<br />
|
|
262
|
+
|
|
263
|
+
<div align="center">
|
|
264
|
+
<a href="https://stormsoftware.com" target="_blank">Website</a> • <a href="https://stormsoftware.com/contact" target="_blank">Contact</a> • <a href="https://linkedin.com/in/patrick-sullivan-865526b0" target="_blank">LinkedIn</a> • <a href="https://medium.com/@pat.joseph.sullivan" target="_blank">Medium</a> • <a href="https://github.com/storm-software" target="_blank">GitHub</a> • <a href="https://keybase.io/sullivanp" target="_blank">OpenPGP Key</a>
|
|
265
|
+
</div>
|
|
266
|
+
|
|
267
|
+
<div align="center">
|
|
268
|
+
<b>Fingerprint:</b> 1BD2 7192 7770 2549 F4C9 F238 E6AD C420 DA5C 4C2D
|
|
269
|
+
</div>
|
|
270
|
+
<br />
|
|
271
|
+
|
|
272
|
+
Storm Software is an open source software development organization and creator
|
|
273
|
+
of Acidic, StormStack and StormCloud.
|
|
274
|
+
|
|
275
|
+
Our mission is to make software development more accessible. Our ideal future is
|
|
276
|
+
one where anyone can create software without years of prior development
|
|
277
|
+
experience serving as a barrier to entry. We hope to achieve this via LLMs,
|
|
278
|
+
Generative AI, and intuitive, high-level data modeling/programming languages.
|
|
279
|
+
|
|
280
|
+
Join us on [Discord](https://discord.gg/MQ6YVzakM5) to chat with the team,
|
|
281
|
+
receive release notifications, ask questions, and get involved.
|
|
282
|
+
|
|
283
|
+
If this sounds interesting, and you would like to help us in creating the next
|
|
284
|
+
generation of development tools, please reach out on our
|
|
285
|
+
[website](https://stormsoftware.com/contact) or join our
|
|
286
|
+
[Slack channel](https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA)!
|
|
287
|
+
|
|
288
|
+
<br />
|
|
289
|
+
|
|
290
|
+
<div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://public.storm-cdn.com/icon-fill.png" alt="Storm Software" width="200px"/></a></div>
|
|
291
|
+
<br />
|
|
292
|
+
<div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://public.storm-cdn.com/visit-us-text.svg" alt="Visit us at stormsoftware.com" height="90px"/></a></div>
|
|
293
|
+
|
|
294
|
+
<br />
|
|
295
|
+
|
|
296
|
+
<div align="right">[ <a href="#table-of-contents">Back to top ▲</a> ]</div>
|
|
297
|
+
<br />
|
|
298
|
+
<br />
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
<!-- markdownlint-restore -->
|
|
302
|
+
<!-- prettier-ignore-end -->
|
|
303
|
+
|
|
304
|
+
<!-- END footer -->
|
|
@@ -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.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core11 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_core11.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_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,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from "../../types/components.mjs";
|
|
2
2
|
import { MarkdownTableColumnContextInterface } from "../contexts/markdown-table.mjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alloy_js_core4 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_core4.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_core4.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_core4.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,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_core7 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_core7.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_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
|
}
|