fluxion-ts 0.2.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2516 -552
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +17 -8
- package/dist/index.mjs +2516 -552
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -171,18 +171,27 @@ interface FluxionOptions {
|
|
|
171
171
|
logger?: LoggerOption;
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
* Defaults to
|
|
174
|
+
* Glob patterns for files that should be registered.
|
|
175
|
+
* Only files matching these patterns will be registered (as API or static resource).
|
|
176
|
+
* Defaults to all files (via wildcard patterns).
|
|
177
|
+
* @example ['*.ts', '*.js'] - only register TypeScript and JavaScript files
|
|
177
178
|
*/
|
|
178
|
-
|
|
179
|
+
include?: string[];
|
|
179
180
|
|
|
180
181
|
/**
|
|
181
|
-
*
|
|
182
|
-
* Files
|
|
183
|
-
* Defaults to
|
|
182
|
+
* Glob patterns for files that should be registered as API handlers.
|
|
183
|
+
* Files matching these patterns will be loaded as handlers and registered as APIs.
|
|
184
|
+
* Defaults to TypeScript files (*.ts).
|
|
185
|
+
* @example ['*.api.ts', 'handlers/*.js'] - register specific patterns as APIs
|
|
184
186
|
*/
|
|
185
|
-
|
|
187
|
+
apiInclude?: string[];
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Glob patterns for files that should be excluded from registration.
|
|
191
|
+
* Files matching these patterns will not be registered (neither as API nor static resource).
|
|
192
|
+
* Defaults to common exclusions like node_modules, .git, dist, etc.
|
|
193
|
+
*/
|
|
194
|
+
exclude?: string[];
|
|
186
195
|
|
|
187
196
|
/**
|
|
188
197
|
* HTTPS server configuration. If provided, the server will use HTTPS instead of HTTP.
|