@velastack/patterns 0.0.51 → 0.0.53
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.d.ts +13 -0
- package/dist/index.js +1884 -1828
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1157,6 +1157,19 @@ declare interface Options {
|
|
|
1157
1157
|
env: "runtime" | "preview";
|
|
1158
1158
|
root: string;
|
|
1159
1159
|
features: Features;
|
|
1160
|
+
/**
|
|
1161
|
+
* Pattern-specific named inputs (separate from positional argv).
|
|
1162
|
+
*
|
|
1163
|
+
* Conventional keys consumed by built-in patterns:
|
|
1164
|
+
* - `route` (string): override the default SvelteKit route for generators that
|
|
1165
|
+
* produce pages. Format: `(group)/segment[/segment]*` (route group required;
|
|
1166
|
+
* if omitted, the auth-aware default group is prepended). Dynamic segments
|
|
1167
|
+
* like `[team_id]` are recognized and threaded into generated href/redirect
|
|
1168
|
+
* expressions and test placeholders.
|
|
1169
|
+
* - `destructive` (boolean): consent flag for destroy patterns to perform
|
|
1170
|
+
* filesystem and collection deletions.
|
|
1171
|
+
* - `variant` (string): selects an alternate template under `variants/`.
|
|
1172
|
+
*/
|
|
1160
1173
|
input: Record<string, any>;
|
|
1161
1174
|
logger?: Logger;
|
|
1162
1175
|
}
|