powerlines 0.19.2 → 0.19.4

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.
Files changed (148) hide show
  1. package/dist/api.d.cts +2 -2
  2. package/dist/api.d.ts +2 -2
  3. package/dist/astro.d.cts +1 -1
  4. package/dist/astro.d.ts +1 -1
  5. package/dist/config.d.cts +2 -2
  6. package/dist/config.d.ts +2 -2
  7. package/dist/esbuild.d.cts +1 -1
  8. package/dist/esbuild.d.ts +1 -1
  9. package/dist/farm.d.cts +1 -1
  10. package/dist/farm.d.ts +1 -1
  11. package/dist/{hooks-TfrPeLzx.d.ts → hooks-Bq2jUAKs.d.ts} +1 -1
  12. package/dist/{hooks-B92zqYS9.d.cts → hooks-C6t50M6a.d.cts} +1 -1
  13. package/dist/index.cjs +251 -1
  14. package/dist/index.d.cts +145 -22
  15. package/dist/index.d.ts +145 -22
  16. package/dist/index.js +226 -2
  17. package/dist/lib/build/esbuild.d.cts +1 -1
  18. package/dist/lib/build/esbuild.d.ts +1 -1
  19. package/dist/lib/build/index.cjs +19 -19
  20. package/dist/lib/build/index.d.cts +2 -2
  21. package/dist/lib/build/index.d.ts +2 -2
  22. package/dist/lib/build/index.js +4 -4
  23. package/dist/lib/build/rolldown.d.cts +1 -1
  24. package/dist/lib/build/rolldown.d.ts +1 -1
  25. package/dist/lib/build/rollup.d.cts +1 -1
  26. package/dist/lib/build/rollup.d.ts +1 -1
  27. package/dist/lib/build/rspack.d.cts +1 -1
  28. package/dist/lib/build/rspack.d.ts +1 -1
  29. package/dist/lib/build/tsup.d.cts +1 -1
  30. package/dist/lib/build/tsup.d.ts +1 -1
  31. package/dist/lib/build/unbuild.cjs +5 -5
  32. package/dist/lib/build/unbuild.d.cts +2 -2
  33. package/dist/lib/build/unbuild.d.ts +2 -2
  34. package/dist/lib/build/unbuild.js +2 -2
  35. package/dist/lib/build/vite.d.cts +1 -1
  36. package/dist/lib/build/vite.d.ts +1 -1
  37. package/dist/lib/build/webpack.d.cts +1 -1
  38. package/dist/lib/build/webpack.d.ts +1 -1
  39. package/dist/lib/{config-LK_Wl1SU.d.cts → config-B8PZKdIr.d.cts} +1 -1
  40. package/dist/lib/config-file.d.cts +1 -1
  41. package/dist/lib/config-file.d.ts +1 -1
  42. package/dist/lib/{config-CnPcoKqT.d.ts → config-gWvjY0K0.d.ts} +1 -1
  43. package/dist/lib/create-program.d.cts +1 -1
  44. package/dist/lib/create-program.d.ts +1 -1
  45. package/dist/lib/entry.d.cts +1 -1
  46. package/dist/lib/entry.d.ts +1 -1
  47. package/dist/lib/{hooks-DX1o8l6J.d.ts → hooks-BL4stJLn.d.ts} +1 -1
  48. package/dist/lib/{hooks-BD2rDhpA.d.cts → hooks-DnWcaiLo.d.cts} +1 -1
  49. package/dist/lib/index.cjs +94 -94
  50. package/dist/lib/index.d.cts +2 -2
  51. package/dist/lib/index.d.ts +2 -2
  52. package/dist/lib/index.js +14 -14
  53. package/dist/lib/logger.d.cts +1 -1
  54. package/dist/lib/logger.d.ts +1 -1
  55. package/dist/lib/typescript/compiler-host.d.cts +1 -1
  56. package/dist/lib/typescript/compiler-host.d.ts +1 -1
  57. package/dist/lib/typescript/import-transformer.d.cts +1 -1
  58. package/dist/lib/typescript/import-transformer.d.ts +1 -1
  59. package/dist/lib/typescript/index.d.cts +1 -1
  60. package/dist/lib/typescript/index.d.ts +1 -1
  61. package/dist/lib/typescript/program.d.cts +1 -1
  62. package/dist/lib/typescript/program.d.ts +1 -1
  63. package/dist/lib/unplugin/factory.cjs +6 -6
  64. package/dist/lib/unplugin/factory.d.cts +2 -2
  65. package/dist/lib/unplugin/factory.d.ts +2 -2
  66. package/dist/lib/unplugin/factory.js +5 -5
  67. package/dist/lib/unplugin/index.cjs +10 -10
  68. package/dist/lib/unplugin/index.d.cts +2 -2
  69. package/dist/lib/unplugin/index.d.ts +2 -2
  70. package/dist/lib/unplugin/index.js +6 -6
  71. package/dist/lib/unplugin/plugin.cjs +3 -3
  72. package/dist/lib/unplugin/plugin.d.cts +1 -1
  73. package/dist/lib/unplugin/plugin.d.ts +1 -1
  74. package/dist/lib/unplugin/plugin.js +2 -2
  75. package/dist/lib/unplugin/resolve-id.d.cts +1 -1
  76. package/dist/lib/unplugin/resolve-id.d.ts +1 -1
  77. package/dist/lib/utilities/bundle.d.cts +1 -1
  78. package/dist/lib/utilities/bundle.d.ts +1 -1
  79. package/dist/lib/utilities/cache.d.cts +1 -1
  80. package/dist/lib/utilities/cache.d.ts +1 -1
  81. package/dist/lib/utilities/file-header.d.cts +1 -1
  82. package/dist/lib/utilities/file-header.d.ts +1 -1
  83. package/dist/lib/utilities/index.cjs +28 -28
  84. package/dist/lib/utilities/index.d.cts +1 -1
  85. package/dist/lib/utilities/index.d.ts +1 -1
  86. package/dist/lib/utilities/index.js +6 -6
  87. package/dist/lib/utilities/meta.d.cts +1 -1
  88. package/dist/lib/utilities/meta.d.ts +1 -1
  89. package/dist/lib/utilities/resolve-path.d.cts +1 -1
  90. package/dist/lib/utilities/resolve-path.d.ts +1 -1
  91. package/dist/lib/utilities/resolve.d.cts +1 -1
  92. package/dist/lib/utilities/resolve.d.ts +1 -1
  93. package/dist/lib/utilities/source-file.d.cts +1 -1
  94. package/dist/lib/utilities/source-file.d.ts +1 -1
  95. package/dist/lib/utilities/source-map.d.cts +1 -1
  96. package/dist/lib/utilities/source-map.d.ts +1 -1
  97. package/dist/lib/utilities/worker.d.cts +1 -1
  98. package/dist/lib/utilities/worker.d.ts +1 -1
  99. package/dist/lib/utilities/write-file.d.cts +1 -1
  100. package/dist/lib/utilities/write-file.d.ts +1 -1
  101. package/dist/{resolved-BE9Ccts2.d.cts → resolved-B41SbjnS.d.cts} +1 -1
  102. package/dist/{resolved-5m4sXYnz.d.ts → resolved-J7a2Aeuk.d.ts} +1 -1
  103. package/dist/rolldown.d.cts +2 -2
  104. package/dist/rolldown.d.ts +2 -2
  105. package/dist/rollup.d.cts +1 -1
  106. package/dist/rollup.d.ts +1 -1
  107. package/dist/rspack.d.cts +1 -1
  108. package/dist/rspack.d.ts +1 -1
  109. package/dist/tsup.d.cts +3 -3
  110. package/dist/tsup.d.ts +3 -3
  111. package/dist/types/babel.d.cts +1 -1
  112. package/dist/types/babel.d.ts +1 -1
  113. package/dist/types/build.d.cts +6 -6
  114. package/dist/types/build.d.ts +6 -6
  115. package/dist/types/commands.d.cts +1 -1
  116. package/dist/types/commands.d.ts +1 -1
  117. package/dist/types/config.d.cts +1 -1
  118. package/dist/types/config.d.ts +1 -1
  119. package/dist/types/context.d.cts +1 -1
  120. package/dist/types/context.d.ts +1 -1
  121. package/dist/types/hooks.d.cts +1 -1
  122. package/dist/types/hooks.d.ts +1 -1
  123. package/dist/types/index.d.cts +1 -1
  124. package/dist/types/index.d.ts +1 -1
  125. package/dist/types/internal.d.cts +2 -2
  126. package/dist/types/internal.d.ts +2 -2
  127. package/dist/types/plugin.d.cts +1 -1
  128. package/dist/types/plugin.d.ts +1 -1
  129. package/dist/types/resolved.d.cts +1 -1
  130. package/dist/types/resolved.d.ts +1 -1
  131. package/dist/types/unplugin.d.cts +1 -1
  132. package/dist/types/unplugin.d.ts +1 -1
  133. package/dist/unloader.d.cts +1 -1
  134. package/dist/unloader.d.ts +1 -1
  135. package/dist/unplugin.d.cts +2 -2
  136. package/dist/unplugin.d.ts +2 -2
  137. package/dist/vite.d.cts +2 -2
  138. package/dist/vite.d.ts +2 -2
  139. package/dist/webpack.d.cts +1 -1
  140. package/dist/webpack.d.ts +1 -1
  141. package/package.json +31 -28
  142. package/schemas/fs.capnp +42 -0
  143. package/dist/lib/{chunk-4AMFNBTX.cjs → chunk-GBICSIXP.cjs} +4 -4
  144. package/dist/lib/{chunk-67IBLMW6.cjs → chunk-LSZT4OD3.cjs} +1 -1
  145. package/dist/lib/{chunk-UDJ37BEE.cjs → chunk-MLILHOLG.cjs} +1 -1
  146. package/dist/lib/{chunk-DX4TFRS3.js → chunk-N66R6SPI.js} +4 -4
  147. package/dist/lib/{chunk-7Y5MJRWF.js → chunk-QJZZF22Y.js} +1 -1
  148. package/dist/lib/{chunk-Q3ERHHXJ.js → chunk-YKSKJTO3.js} +1 -1
package/dist/api.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CallHookOptions } from './hooks-B92zqYS9.cjs';
2
- import { aQ as ResolvedConfig, ae as APIContext, z as InitialUserConfig, M as PrepareInlineConfig, J as NewInlineConfig, K as CleanInlineConfig, Q as BuildInlineConfig, X as LintInlineConfig, Y as DocsInlineConfig, Z as ReleaseInlineConfig, ap as HookKeys, ah as PluginContext, ag as EnvironmentContext, aw as InferHookParameters, av as InferHookReturnType } from './resolved-BE9Ccts2.cjs';
1
+ import { C as CallHookOptions } from './hooks-C6t50M6a.cjs';
2
+ import { aQ as ResolvedConfig, ae as APIContext, z as InitialUserConfig, M as PrepareInlineConfig, J as NewInlineConfig, K as CleanInlineConfig, Q as BuildInlineConfig, X as LintInlineConfig, Y as DocsInlineConfig, Z as ReleaseInlineConfig, ap as HookKeys, ah as PluginContext, ag as EnvironmentContext, aw as InferHookParameters, av as InferHookReturnType } from './resolved-B41SbjnS.cjs';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
package/dist/api.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CallHookOptions } from './hooks-TfrPeLzx.js';
2
- import { aQ as ResolvedConfig, ae as APIContext, z as InitialUserConfig, M as PrepareInlineConfig, J as NewInlineConfig, K as CleanInlineConfig, Q as BuildInlineConfig, X as LintInlineConfig, Y as DocsInlineConfig, Z as ReleaseInlineConfig, ap as HookKeys, ah as PluginContext, ag as EnvironmentContext, aw as InferHookParameters, av as InferHookReturnType } from './resolved-5m4sXYnz.js';
1
+ import { C as CallHookOptions } from './hooks-Bq2jUAKs.js';
2
+ import { aQ as ResolvedConfig, ae as APIContext, z as InitialUserConfig, M as PrepareInlineConfig, J as NewInlineConfig, K as CleanInlineConfig, Q as BuildInlineConfig, X as LintInlineConfig, Y as DocsInlineConfig, Z as ReleaseInlineConfig, ap as HookKeys, ah as PluginContext, ag as EnvironmentContext, aw as InferHookParameters, av as InferHookReturnType } from './resolved-J7a2Aeuk.js';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
package/dist/astro.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AstroUserConfig } from 'astro';
2
- import { aR as ViteResolvedConfig } from './resolved-BE9Ccts2.cjs';
2
+ import { aR as ViteResolvedConfig } from './resolved-B41SbjnS.cjs';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
package/dist/astro.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AstroUserConfig } from 'astro';
2
- import { aR as ViteResolvedConfig } from './resolved-5m4sXYnz.js';
2
+ import { aR as ViteResolvedConfig } from './resolved-J7a2Aeuk.js';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
package/dist/config.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { DeepPartial } from '@stryke/types/base';
2
- import { U as UserConfig } from './resolved-BE9Ccts2.cjs';
2
+ import { $ as AnyUserConfig, U as UserConfig } from './resolved-B41SbjnS.cjs';
3
3
  import '@stryke/types/configuration';
4
4
  import '@stryke/types/file';
5
5
  import 'vite';
@@ -43,6 +43,6 @@ import 'unionfs';
43
43
  * @remarks
44
44
  * The function accepts a direct {@link UserConfig} object, or a function that returns it. The function receives a {@link ConfigEnv} object.
45
45
  */
46
- declare function defineConfig(config: Record<string, any> & DeepPartial<UserConfig>): UserConfig;
46
+ declare function defineConfig(config: DeepPartial<AnyUserConfig> & Record<string, any>): UserConfig;
47
47
 
48
48
  export { defineConfig };
package/dist/config.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { DeepPartial } from '@stryke/types/base';
2
- import { U as UserConfig } from './resolved-5m4sXYnz.js';
2
+ import { $ as AnyUserConfig, U as UserConfig } from './resolved-J7a2Aeuk.js';
3
3
  import '@stryke/types/configuration';
4
4
  import '@stryke/types/file';
5
5
  import 'vite';
@@ -43,6 +43,6 @@ import 'unionfs';
43
43
  * @remarks
44
44
  * The function accepts a direct {@link UserConfig} object, or a function that returns it. The function receives a {@link ConfigEnv} object.
45
45
  */
46
- declare function defineConfig(config: Record<string, any> & DeepPartial<UserConfig>): UserConfig;
46
+ declare function defineConfig(config: DeepPartial<AnyUserConfig> & Record<string, any>): UserConfig;
47
47
 
48
48
  export { defineConfig };
@@ -1,5 +1,5 @@
1
1
  import * as _esbuild from 'esbuild';
2
- import { w as ESBuildUserConfig } from './resolved-BE9Ccts2.cjs';
2
+ import { w as ESBuildUserConfig } from './resolved-B41SbjnS.cjs';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
package/dist/esbuild.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _esbuild from 'esbuild';
2
- import { w as ESBuildUserConfig } from './resolved-5m4sXYnz.js';
2
+ import { w as ESBuildUserConfig } from './resolved-J7a2Aeuk.js';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
package/dist/farm.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _farmfe_core from '@farmfe/core';
2
- import { F as FarmUserConfig } from './resolved-BE9Ccts2.cjs';
2
+ import { F as FarmUserConfig } from './resolved-B41SbjnS.cjs';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
package/dist/farm.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _farmfe_core from '@farmfe/core';
2
- import { F as FarmUserConfig } from './resolved-5m4sXYnz.js';
2
+ import { F as FarmUserConfig } from './resolved-J7a2Aeuk.js';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -1,4 +1,4 @@
1
- import { ab as SelectHooksOptions } from './resolved-5m4sXYnz.js';
1
+ import { ab as SelectHooksOptions } from './resolved-J7a2Aeuk.js';
2
2
 
3
3
  type CallHookOptions = SelectHooksOptions & ({
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { ab as SelectHooksOptions } from './resolved-BE9Ccts2.cjs';
1
+ import { ab as SelectHooksOptions } from './resolved-B41SbjnS.cjs';
2
2
 
3
3
  type CallHookOptions = SelectHooksOptions & ({
4
4
  /**
package/dist/index.cjs CHANGED
@@ -31,7 +31,251 @@ var chunkKMELWYHW_cjs = require('./chunk-KMELWYHW.cjs');
31
31
  var chunkETKZMGLN_cjs = require('./chunk-ETKZMGLN.cjs');
32
32
  var chunkRF6RSWD4_cjs = require('./chunk-RF6RSWD4.cjs');
33
33
  var chunkFCTNMPJF_cjs = require('./chunk-FCTNMPJF.cjs');
34
- require('./chunk-USNT2KNT.cjs');
34
+ var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
35
+ var $ = require('@stryke/capnp');
36
+
37
+ function _interopNamespace(e) {
38
+ if (e && e.__esModule) return e;
39
+ var n = Object.create(null);
40
+ if (e) {
41
+ Object.keys(e).forEach(function (k) {
42
+ if (k !== 'default') {
43
+ var d = Object.getOwnPropertyDescriptor(e, k);
44
+ Object.defineProperty(n, k, d.get ? d : {
45
+ enumerable: true,
46
+ get: function () { return e[k]; }
47
+ });
48
+ }
49
+ });
50
+ }
51
+ n.default = e;
52
+ return Object.freeze(n);
53
+ }
54
+
55
+ var $__namespace = /*#__PURE__*/_interopNamespace($);
56
+
57
+ var _capnpFileId = BigInt("0xa56c61324b9d6e49");
58
+ var FileMetadata_KeyValuePair = class extends $__namespace.Struct {
59
+ static {
60
+ chunkUSNT2KNT_cjs.__name(this, "FileMetadata_KeyValuePair");
61
+ }
62
+ static _capnp = {
63
+ displayName: "KeyValuePair",
64
+ id: "eabb26cf58b2a14c",
65
+ size: new $__namespace.ObjectSize(0, 2)
66
+ };
67
+ get key() {
68
+ return $__namespace.utils.getText(0, this);
69
+ }
70
+ set key(value) {
71
+ $__namespace.utils.setText(0, value, this);
72
+ }
73
+ get value() {
74
+ return $__namespace.utils.getText(1, this);
75
+ }
76
+ set value(value) {
77
+ $__namespace.utils.setText(1, value, this);
78
+ }
79
+ toString() {
80
+ return "FileMetadata_KeyValuePair_" + super.toString();
81
+ }
82
+ };
83
+ var FileMetadata = class _FileMetadata extends $__namespace.Struct {
84
+ static {
85
+ chunkUSNT2KNT_cjs.__name(this, "FileMetadata");
86
+ }
87
+ static KeyValuePair = FileMetadata_KeyValuePair;
88
+ static _capnp = {
89
+ displayName: "FileMetadata",
90
+ id: "8e2cab5d7e28c7b3",
91
+ size: new $__namespace.ObjectSize(0, 4),
92
+ defaultVariant: "normal"
93
+ };
94
+ static _Properties;
95
+ /**
96
+ * The variant of the file.
97
+ *
98
+ */
99
+ get id() {
100
+ return $__namespace.utils.getText(0, this);
101
+ }
102
+ set id(value) {
103
+ $__namespace.utils.setText(0, value, this);
104
+ }
105
+ /**
106
+ * The output mode of the file.
107
+ *
108
+ */
109
+ get variant() {
110
+ return $__namespace.utils.getText(1, this, _FileMetadata._capnp.defaultVariant);
111
+ }
112
+ set variant(value) {
113
+ $__namespace.utils.setText(1, value, this);
114
+ }
115
+ /**
116
+ * Additional metadata associated with the file.
117
+ *
118
+ */
119
+ get mode() {
120
+ return $__namespace.utils.getText(2, this);
121
+ }
122
+ set mode(value) {
123
+ $__namespace.utils.setText(2, value, this);
124
+ }
125
+ _adoptProperties(value) {
126
+ $__namespace.utils.adopt(value, $__namespace.utils.getPointer(3, this));
127
+ }
128
+ _disownProperties() {
129
+ return $__namespace.utils.disown(this.properties);
130
+ }
131
+ get properties() {
132
+ return $__namespace.utils.getList(3, _FileMetadata._Properties, this);
133
+ }
134
+ _hasProperties() {
135
+ return !$__namespace.utils.isNull($__namespace.utils.getPointer(3, this));
136
+ }
137
+ _initProperties(length) {
138
+ return $__namespace.utils.initList(3, _FileMetadata._Properties, length, this);
139
+ }
140
+ set properties(value) {
141
+ $__namespace.utils.copyFrom(value, $__namespace.utils.getPointer(3, this));
142
+ }
143
+ toString() {
144
+ return "FileMetadata_" + super.toString();
145
+ }
146
+ };
147
+ var FileIdentifier = class extends $__namespace.Struct {
148
+ static {
149
+ chunkUSNT2KNT_cjs.__name(this, "FileIdentifier");
150
+ }
151
+ static _capnp = {
152
+ displayName: "FileIdentifier",
153
+ id: "e12b8732389d7406",
154
+ size: new $__namespace.ObjectSize(0, 2)
155
+ };
156
+ /**
157
+ * An additional identifier for the file.
158
+ *
159
+ */
160
+ get path() {
161
+ return $__namespace.utils.getText(0, this);
162
+ }
163
+ set path(value) {
164
+ $__namespace.utils.setText(0, value, this);
165
+ }
166
+ get id() {
167
+ return $__namespace.utils.getText(1, this);
168
+ }
169
+ set id(value) {
170
+ $__namespace.utils.setText(1, value, this);
171
+ }
172
+ toString() {
173
+ return "FileIdentifier_" + super.toString();
174
+ }
175
+ };
176
+ var FileData = class extends $__namespace.Struct {
177
+ static {
178
+ chunkUSNT2KNT_cjs.__name(this, "FileData");
179
+ }
180
+ static _capnp = {
181
+ displayName: "FileData",
182
+ id: "fa6725c8a360f9a2",
183
+ size: new $__namespace.ObjectSize(0, 2)
184
+ };
185
+ /**
186
+ * The contents of the file.
187
+ *
188
+ */
189
+ get path() {
190
+ return $__namespace.utils.getText(0, this);
191
+ }
192
+ set path(value) {
193
+ $__namespace.utils.setText(0, value, this);
194
+ }
195
+ get content() {
196
+ return $__namespace.utils.getText(1, this);
197
+ }
198
+ set content(value) {
199
+ $__namespace.utils.setText(1, value, this);
200
+ }
201
+ toString() {
202
+ return "FileData_" + super.toString();
203
+ }
204
+ };
205
+ var FileSystemData = class _FileSystemData extends $__namespace.Struct {
206
+ static {
207
+ chunkUSNT2KNT_cjs.__name(this, "FileSystemData");
208
+ }
209
+ static _capnp = {
210
+ displayName: "FileSystemData",
211
+ id: "aaa72a672ac0732f",
212
+ size: new $__namespace.ObjectSize(0, 3)
213
+ };
214
+ static _Ids;
215
+ static _Metadata;
216
+ static _Files;
217
+ _adoptIds(value) {
218
+ $__namespace.utils.adopt(value, $__namespace.utils.getPointer(0, this));
219
+ }
220
+ _disownIds() {
221
+ return $__namespace.utils.disown(this.ids);
222
+ }
223
+ get ids() {
224
+ return $__namespace.utils.getList(0, _FileSystemData._Ids, this);
225
+ }
226
+ _hasIds() {
227
+ return !$__namespace.utils.isNull($__namespace.utils.getPointer(0, this));
228
+ }
229
+ _initIds(length) {
230
+ return $__namespace.utils.initList(0, _FileSystemData._Ids, length, this);
231
+ }
232
+ set ids(value) {
233
+ $__namespace.utils.copyFrom(value, $__namespace.utils.getPointer(0, this));
234
+ }
235
+ _adoptMetadata(value) {
236
+ $__namespace.utils.adopt(value, $__namespace.utils.getPointer(1, this));
237
+ }
238
+ _disownMetadata() {
239
+ return $__namespace.utils.disown(this.metadata);
240
+ }
241
+ get metadata() {
242
+ return $__namespace.utils.getList(1, _FileSystemData._Metadata, this);
243
+ }
244
+ _hasMetadata() {
245
+ return !$__namespace.utils.isNull($__namespace.utils.getPointer(1, this));
246
+ }
247
+ _initMetadata(length) {
248
+ return $__namespace.utils.initList(1, _FileSystemData._Metadata, length, this);
249
+ }
250
+ set metadata(value) {
251
+ $__namespace.utils.copyFrom(value, $__namespace.utils.getPointer(1, this));
252
+ }
253
+ _adoptFiles(value) {
254
+ $__namespace.utils.adopt(value, $__namespace.utils.getPointer(2, this));
255
+ }
256
+ _disownFiles() {
257
+ return $__namespace.utils.disown(this.files);
258
+ }
259
+ get files() {
260
+ return $__namespace.utils.getList(2, _FileSystemData._Files, this);
261
+ }
262
+ _hasFiles() {
263
+ return !$__namespace.utils.isNull($__namespace.utils.getPointer(2, this));
264
+ }
265
+ _initFiles(length) {
266
+ return $__namespace.utils.initList(2, _FileSystemData._Files, length, this);
267
+ }
268
+ set files(value) {
269
+ $__namespace.utils.copyFrom(value, $__namespace.utils.getPointer(2, this));
270
+ }
271
+ toString() {
272
+ return "FileSystemData_" + super.toString();
273
+ }
274
+ };
275
+ FileMetadata._Properties = $__namespace.CompositeList(FileMetadata_KeyValuePair);
276
+ FileSystemData._Ids = $__namespace.CompositeList(FileIdentifier);
277
+ FileSystemData._Metadata = $__namespace.CompositeList(FileMetadata);
278
+ FileSystemData._Files = $__namespace.CompositeList(FileData);
35
279
 
36
280
  // src/index.ts
37
281
  var index_default = chunkKMELWYHW_cjs.PowerlinesAPI;
@@ -84,4 +328,10 @@ Object.defineProperty(exports, "SUPPORTED_COMMANDS", {
84
328
  enumerable: true,
85
329
  get: function () { return chunkFCTNMPJF_cjs.SUPPORTED_COMMANDS; }
86
330
  });
331
+ exports.FileData = FileData;
332
+ exports.FileIdentifier = FileIdentifier;
333
+ exports.FileMetadata = FileMetadata;
334
+ exports.FileMetadata_KeyValuePair = FileMetadata_KeyValuePair;
335
+ exports.FileSystemData = FileSystemData;
336
+ exports._capnpFileId = _capnpFileId;
87
337
  exports.default = index_default;
package/dist/index.d.cts CHANGED
@@ -1,29 +1,26 @@
1
1
  import { PowerlinesAPI } from './api.cjs';
2
2
  export { default as plugins } from './unplugin.cjs';
3
+ import * as $ from '@stryke/capnp';
3
4
  export { defineConfig } from './config.cjs';
4
- export { ae as APIContext, $ as AnyUserConfig, B as BabelPluginPass, aM as BabelResolvedConfig, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, p as BabelUserConfig, q as BaseConfig, al as BaseHookKeys, ak as BaseHooks, ar as BaseHooksList, aq as BaseHooksListItem, aB as BasePluginHookFunctions, Q as BuildInlineConfig, aC as BuildPlugin, ai as BuildPluginContext, K as CleanInlineConfig, C as CommandType, i as Commands, r as CommonUserConfig, _ as ConfigEnv, ad as Context, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, Y as DocsInlineConfig, aU as ESBuildResolvedConfig, w as ESBuildUserConfig, E as EnvironmentConfig, ag as EnvironmentContext, af as EnvironmentContextPlugin, aN as EnvironmentResolvedConfig, an as ExternalHookKeys, am as ExternalHooks, as as ExternalHooksListItem, aE as ExternalPluginHookFunctions, aD as ExternalPluginHookFunctionsVariant, aZ as FarmResolvedConfig, F as FarmUserConfig, aA as GenerateTypesResult, ap as HookKeys, ao as Hooks, at as HooksList, I as ImportDefinition, h as ImportSpecifier, au as InferHookHandler, aw as InferHookParameters, av as InferHookReturnType, ax as InferHookThisType, a_ as InferResolvedConfig, y as InferUserConfig, ac as InitContextOptions, z as InitialUserConfig, H as InlineConfig, X as LintInlineConfig, L as LogFn, a4 as LogLevel, a6 as MetaInfo, N as NamedImportDefinition, J as NewInlineConfig, O as OutputConfig, aP as OutputResolvedConfig, aJ as PLUGIN_NON_HOOK_FIELDS, A as ParsedUserConfig, m as PartialPlugin, n as PartialPluginFactory, aI as Plugin, aH as PluginBuildPlugins, l as PluginConfig, k as PluginConfigObject, j as PluginConfigTuple, ah as PluginContext, P as PluginFactory, az as PluginHook, aF as PluginHookFunctions, ay as PluginHookObject, aG as PluginHooks, aK as PluginNonHookFields, G as PowerlinesCommand, M as PrepareInlineConfig, o as ProjectType, Z as ReleaseInlineConfig, aO as ResolvedAssetGlob, R as ResolvedBabelTransformPluginOptions, aQ as ResolvedConfig, aL as ResolvedEntryTypeDefinition, a7 as Resolver, aW as RolldownResolvedConfig, v as RolldownUserConfig, aV as RollupResolvedConfig, u as RollupUserConfig, aT as RspackResolvedConfig, t as RspackUserConfig, S as SUPPORTED_COMMANDS, ab as SelectHooksOptions, aj as SerializedVirtualFileSystem, a9 as SourceFile, a8 as TransformResult, aX as TsupResolvedConfig, T as TsupUserConfig, aY as UnbuildResolvedConfig, x as UnbuildUserConfig, aa as UnimportContext, U as UserConfig, a3 as UserConfigExport, a2 as UserConfigFn, a0 as UserConfigFnObject, a1 as UserConfigFnPromise, aR as ViteResolvedConfig, V as ViteUserConfig, aS as WebpackResolvedConfig, s as WebpackUserConfig, a5 as WorkerProcess, W as WorkspaceConfig } from './resolved-BE9Ccts2.cjs';
5
+ export { ae as APIContext, $ as AnyUserConfig, B as BabelPluginPass, aM as BabelResolvedConfig, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, p as BabelUserConfig, q as BaseConfig, al as BaseHookKeys, ak as BaseHooks, ar as BaseHooksList, aq as BaseHooksListItem, aB as BasePluginHookFunctions, Q as BuildInlineConfig, aC as BuildPlugin, ai as BuildPluginContext, K as CleanInlineConfig, C as CommandType, i as Commands, r as CommonUserConfig, _ as ConfigEnv, ad as Context, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, Y as DocsInlineConfig, aU as ESBuildResolvedConfig, w as ESBuildUserConfig, E as EnvironmentConfig, ag as EnvironmentContext, af as EnvironmentContextPlugin, aN as EnvironmentResolvedConfig, an as ExternalHookKeys, am as ExternalHooks, as as ExternalHooksListItem, aE as ExternalPluginHookFunctions, aD as ExternalPluginHookFunctionsVariant, aZ as FarmResolvedConfig, F as FarmUserConfig, aA as GenerateTypesResult, ap as HookKeys, ao as Hooks, at as HooksList, I as ImportDefinition, h as ImportSpecifier, au as InferHookHandler, aw as InferHookParameters, av as InferHookReturnType, ax as InferHookThisType, a_ as InferResolvedConfig, y as InferUserConfig, ac as InitContextOptions, z as InitialUserConfig, H as InlineConfig, X as LintInlineConfig, L as LogFn, a4 as LogLevel, a6 as MetaInfo, N as NamedImportDefinition, J as NewInlineConfig, O as OutputConfig, aP as OutputResolvedConfig, aJ as PLUGIN_NON_HOOK_FIELDS, A as ParsedUserConfig, m as PartialPlugin, n as PartialPluginFactory, aI as Plugin, aH as PluginBuildPlugins, l as PluginConfig, k as PluginConfigObject, j as PluginConfigTuple, ah as PluginContext, P as PluginFactory, az as PluginHook, aF as PluginHookFunctions, ay as PluginHookObject, aG as PluginHooks, aK as PluginNonHookFields, G as PowerlinesCommand, M as PrepareInlineConfig, o as ProjectType, Z as ReleaseInlineConfig, aO as ResolvedAssetGlob, R as ResolvedBabelTransformPluginOptions, aQ as ResolvedConfig, aL as ResolvedEntryTypeDefinition, a7 as Resolver, aW as RolldownResolvedConfig, v as RolldownUserConfig, aV as RollupResolvedConfig, u as RollupUserConfig, aT as RspackResolvedConfig, t as RspackUserConfig, S as SUPPORTED_COMMANDS, ab as SelectHooksOptions, aj as SerializedVirtualFileSystem, a9 as SourceFile, a8 as TransformResult, aX as TsupResolvedConfig, T as TsupUserConfig, aY as UnbuildResolvedConfig, x as UnbuildUserConfig, aa as UnimportContext, U as UserConfig, a3 as UserConfigExport, a2 as UserConfigFn, a0 as UserConfigFnObject, a1 as UserConfigFnPromise, aR as ViteResolvedConfig, V as ViteUserConfig, aS as WebpackResolvedConfig, s as WebpackUserConfig, a5 as WorkerProcess, W as WorkspaceConfig } from './resolved-B41SbjnS.cjs';
5
6
  export { BuildConfig, BuildResolvedConfig, BuildVariant, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, InferUnpluginVariant, RolldownBuildConfig, RolldownBuildOutputConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupBuildOutputConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, UnpluginBuildVariant, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig } from './types/build.cjs';
6
7
  export { DeepkitOptions, ParsedTypeScriptConfig, RawReflectionMode, ReflectionLevel, ReflectionMode, TSCompilerOptions, TSConfig } from './types/tsconfig.cjs';
7
8
  export { MarkdownPageEvent, MarkdownRendererEvent } from './types/typedoc.cjs';
8
9
  export { InferUnpluginOptions, StormStackUnpluginFactory, UnpluginUserConfig } from './types/unplugin.cjs';
9
10
  export { MakeDirectoryOptions, NodeWriteFileOptions, OutputModeType, PowerLinesWriteFileData, PowerlinesWriteFileOptions, ResolveFSOptions, ResolvePathOptions, VirtualFile, VirtualFileExtension, VirtualFileSystemInterface, VirtualFileSystemMetadata, WriteFileData, WriteFileOptions, __VFS_CACHE__, __VFS_INIT__, __VFS_RESOLVER__, __VFS_REVERT__, __VFS_UNIFIED__, __VFS_VIRTUAL__ } from './types/vfs.cjs';
10
- import './hooks-B92zqYS9.cjs';
11
- import 'webpack';
12
- import 'vite';
13
- import 'unloader';
14
- import 'unplugin';
15
- import 'rollup';
16
- import 'rolldown';
17
- import '@nuxt/schema';
18
- import 'esbuild';
19
- import 'astro';
20
- import './next.cjs';
21
- import 'next';
22
- import './tsup.cjs';
23
- import 'tsup';
11
+ import './hooks-C6t50M6a.cjs';
24
12
  import '@stryke/types/base';
25
13
  import '@stryke/types/configuration';
26
14
  import '@stryke/types/file';
15
+ import 'vite';
16
+ import '@farmfe/core';
17
+ import '@rspack/core';
18
+ import '@storm-software/tsup/types';
19
+ import '@storm-software/unbuild/types';
20
+ import 'esbuild';
21
+ import 'rolldown';
22
+ import 'rollup';
23
+ import 'webpack';
27
24
  import '@babel/core';
28
25
  import '@storm-software/build-tools/types';
29
26
  import '@storm-software/config-tools/types';
@@ -39,18 +36,144 @@ import 'memfs';
39
36
  import 'oxc-parser';
40
37
  import 'semver';
41
38
  import 'unimport';
39
+ import 'unplugin';
42
40
  import '@stryke/types/array';
43
- import '@farmfe/core';
44
- import '@rspack/core';
45
- import '@storm-software/tsup/types';
46
- import '@storm-software/unbuild/types';
47
41
  import '@stryke/types/tsconfig';
48
42
  import 'typescript';
49
- import 'typedoc';
50
- import 'typedoc-plugin-markdown';
51
43
  import '@stryke/json/types';
52
44
  import 'node:fs';
53
45
  import 'unionfs';
46
+ import 'unloader';
47
+ import '@nuxt/schema';
48
+ import 'astro';
49
+ import './next.cjs';
50
+ import 'next';
51
+ import './tsup.cjs';
52
+ import 'tsup';
53
+ import 'typedoc';
54
+ import 'typedoc-plugin-markdown';
55
+
56
+ declare const _capnpFileId: bigint;
57
+ declare class FileMetadata_KeyValuePair extends $.Struct {
58
+ static readonly _capnp: {
59
+ displayName: string;
60
+ id: string;
61
+ size: $.ObjectSize;
62
+ };
63
+ get key(): string;
64
+ set key(value: string);
65
+ get value(): string;
66
+ set value(value: string);
67
+ toString(): string;
68
+ }
69
+ /**
70
+ * The identifier for the file data.
71
+ *
72
+ */
73
+ declare class FileMetadata extends $.Struct {
74
+ static readonly KeyValuePair: typeof FileMetadata_KeyValuePair;
75
+ static readonly _capnp: {
76
+ displayName: string;
77
+ id: string;
78
+ size: $.ObjectSize;
79
+ defaultVariant: string;
80
+ };
81
+ static _Properties: $.ListCtor<FileMetadata_KeyValuePair>;
82
+ /**
83
+ * The variant of the file.
84
+ *
85
+ */
86
+ get id(): string;
87
+ set id(value: string);
88
+ /**
89
+ * The output mode of the file.
90
+ *
91
+ */
92
+ get variant(): string;
93
+ set variant(value: string);
94
+ /**
95
+ * Additional metadata associated with the file.
96
+ *
97
+ */
98
+ get mode(): string;
99
+ set mode(value: string);
100
+ _adoptProperties(value: $.Orphan<$.List<FileMetadata_KeyValuePair>>): void;
101
+ _disownProperties(): $.Orphan<$.List<FileMetadata_KeyValuePair>>;
102
+ get properties(): $.List<FileMetadata_KeyValuePair>;
103
+ _hasProperties(): boolean;
104
+ _initProperties(length: number): $.List<FileMetadata_KeyValuePair>;
105
+ set properties(value: $.List<FileMetadata_KeyValuePair>);
106
+ toString(): string;
107
+ }
108
+ /**
109
+ * A virtual (or actual) path to the file in the file system.
110
+ *
111
+ */
112
+ declare class FileIdentifier extends $.Struct {
113
+ static readonly _capnp: {
114
+ displayName: string;
115
+ id: string;
116
+ size: $.ObjectSize;
117
+ };
118
+ /**
119
+ * An additional identifier for the file.
120
+ *
121
+ */
122
+ get path(): string;
123
+ set path(value: string);
124
+ get id(): string;
125
+ set id(value: string);
126
+ toString(): string;
127
+ }
128
+ /**
129
+ * A virtual (or actual) path to the file in the file system.
130
+ *
131
+ */
132
+ declare class FileData extends $.Struct {
133
+ static readonly _capnp: {
134
+ displayName: string;
135
+ id: string;
136
+ size: $.ObjectSize;
137
+ };
138
+ /**
139
+ * The contents of the file.
140
+ *
141
+ */
142
+ get path(): string;
143
+ set path(value: string);
144
+ get content(): string;
145
+ set content(value: string);
146
+ toString(): string;
147
+ }
148
+ declare class FileSystemData extends $.Struct {
149
+ static readonly _capnp: {
150
+ displayName: string;
151
+ id: string;
152
+ size: $.ObjectSize;
153
+ };
154
+ static _Ids: $.ListCtor<FileIdentifier>;
155
+ static _Metadata: $.ListCtor<FileMetadata>;
156
+ static _Files: $.ListCtor<FileData>;
157
+ _adoptIds(value: $.Orphan<$.List<FileIdentifier>>): void;
158
+ _disownIds(): $.Orphan<$.List<FileIdentifier>>;
159
+ get ids(): $.List<FileIdentifier>;
160
+ _hasIds(): boolean;
161
+ _initIds(length: number): $.List<FileIdentifier>;
162
+ set ids(value: $.List<FileIdentifier>);
163
+ _adoptMetadata(value: $.Orphan<$.List<FileMetadata>>): void;
164
+ _disownMetadata(): $.Orphan<$.List<FileMetadata>>;
165
+ get metadata(): $.List<FileMetadata>;
166
+ _hasMetadata(): boolean;
167
+ _initMetadata(length: number): $.List<FileMetadata>;
168
+ set metadata(value: $.List<FileMetadata>);
169
+ _adoptFiles(value: $.Orphan<$.List<FileData>>): void;
170
+ _disownFiles(): $.Orphan<$.List<FileData>>;
171
+ get files(): $.List<FileData>;
172
+ _hasFiles(): boolean;
173
+ _initFiles(length: number): $.List<FileData>;
174
+ set files(value: $.List<FileData>);
175
+ toString(): string;
176
+ }
54
177
 
55
178
  /**
56
179
  * The powerlines library used by Storm Software for building NodeJS applications.
@@ -61,4 +184,4 @@ import 'unionfs';
61
184
  * @packageDocumentation
62
185
  */
63
186
 
64
- export { PowerlinesAPI, PowerlinesAPI as default };
187
+ export { FileData, FileIdentifier, FileMetadata, FileMetadata_KeyValuePair, FileSystemData, PowerlinesAPI, _capnpFileId, PowerlinesAPI as default };