Skip to content

Commit 1c2dd83

Browse files
committed
docs: Fix webpack monaco chunk name
1 parent 77281c2 commit 1c2dd83

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

docs/rest/api/resource.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ controller.fetch(TodoResource.delete, { id: '5' });
7575

7676
### path
7777

78-
Passed to [RestEndpoint.path](./RestEndpoint.md#path) for single item [](#members).
78+
Passed to [RestEndpoint.path](./RestEndpoint.md#path) for single item [endpoints](#members).
7979

8080
Create ([getList.push](#push)/[getList.unshift](#unshift)) and [getList](#getlist) remove the last argument.
8181

@@ -87,6 +87,8 @@ const PostResource = resource({
8787

8888
// GET /react/posts/abc
8989
PostResource.get({ group: 'react', id: 'abc' });
90+
// PATCH /react/posts/abc
91+
PostResource.partialUpdate({ group: 'react', id: 'abc' }, { title: 'This new title' });
9092
// GET /react/posts
9193
PostResource.getList({ group: 'react' });
9294
```

docs/rest/guides/network-transform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ delay: 150,
7979
]}>
8080

8181
```tsx title="api/Price"
82-
import { BigNumber } from 'bignumber.js';
82+
import BigNumber from 'bignumber.js';
8383

8484
export class ExchangePrice extends Entity {
8585
exchangePair = '';

website/src/components/Playground/monaco-init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ if (
216216
/* webpackChunkName: 'bignumberDTS', webpackPreload: true */ '!!raw-loader?esModule=false!./editor-types/bignumber.d.ts'
217217
),
218218
import(
219-
/* webpackChunkName: 'bignumberDTS', webpackPreload: true */ '!!raw-loader?esModule=false!./editor-types/@number-flow/react.d.ts'
219+
/* webpackChunkName: 'numberflowDTS', webpackPreload: true */ '!!raw-loader?esModule=false!./editor-types/@number-flow/react.d.ts'
220220
),
221221
import(
222222
/* webpackChunkName: 'temporalDTS', webpackPreload: true */ '!!raw-loader?esModule=false!./editor-types/temporal.d.ts'

0 commit comments

Comments
 (0)