Skip to content

Commit db8c3c9

Browse files
rita-codesclaude
andauthored
[core-docs] Add x-scheduler to MuiProductId type (#48185)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a1f4baf commit db8c3c9

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

packages-internal/core-docs/src/getProductInfoFromUrl/getProductInfoFromUrl.test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ describe('getProductInfoFromUrl', () => {
5757
});
5858
});
5959

60+
it('should handle MUI X Scheduler', () => {
61+
expect(getProductInfoFromUrl('/x/react-scheduler/components')).to.deep.equal({
62+
productCategoryId: 'x',
63+
productId: 'x-scheduler',
64+
});
65+
});
66+
6067
it('should handle MUI X', () => {
6168
expect(getProductInfoFromUrl('/x/migration/migration-data-grid-v5/')).to.deep.equal({
6269
productCategoryId: 'x',

packages-internal/core-docs/src/getProductInfoFromUrl/getProductInfoFromUrl.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export type MuiProductId =
1111
| 'x-date-pickers'
1212
| 'x-charts'
1313
| 'x-tree-view'
14+
| 'x-scheduler'
1415
| 'toolpad-studio'
1516
| 'toolpad-core';
1617

0 commit comments

Comments
 (0)