Skip to content

Commit 98e517b

Browse files
fix: add fallbackVersion to ConsumeOptions type definition
- Add fallbackVersion field to include/exclude objects in ConsumeOptions type - Regenerate schema files after type update 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 763b9d2 commit 98e517b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/enhanced/src/declarations/plugins/sharing/ConsumeSharedModule.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ export type ConsumeOptions = {
6262
* Request pattern that must match for the shared module to be included
6363
*/
6464
request?: string | RegExp;
65+
/**
66+
* Fallback version to use when package.json cannot be read
67+
*/
68+
fallbackVersion?: string;
6569
};
6670
/**
6771
* Exclude filters for consuming shared modules
@@ -75,5 +79,9 @@ export type ConsumeOptions = {
7579
* Request pattern that if matched will exclude the shared module
7680
*/
7781
request?: string | RegExp;
82+
/**
83+
* Fallback version to use when package.json cannot be read
84+
*/
85+
fallbackVersion?: string;
7886
};
7987
};

0 commit comments

Comments
 (0)