@standardbeagle/edit-db 0.4.831 → 0.4.867
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/editor.d.ts +3 -3
- package/dist/editor.es.js +1480 -1462
- package/dist/editor.umd.cjs +17 -17
- package/package.json +38 -31
- package/LICENSE.txt +0 -21
package/dist/editor.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { TableAction } from './lib/table-action';
|
|
|
8
8
|
interface EditorProps {
|
|
9
9
|
/** GraphQL endpoint URL. Either uri or fetcher is required. */
|
|
10
10
|
uri?: string;
|
|
11
|
-
/**
|
|
11
|
+
/** Initial internal editor route, read once on mount ('/' or '/<table>'). Not the host's mount prefix. Defaults to '/' */
|
|
12
12
|
uiPath?: string;
|
|
13
13
|
/** Custom GraphQL fetcher implementation for advanced use cases */
|
|
14
14
|
fetcher?: GraphQLFetcher;
|
|
@@ -73,14 +73,14 @@ interface EditorProps {
|
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* ```tsx
|
|
76
|
-
* <Editor uri="/graphql" uiPath="/
|
|
76
|
+
* <Editor uri="/graphql" uiPath="/" />
|
|
77
77
|
* ```
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
80
|
* ```tsx
|
|
81
81
|
* <Editor
|
|
82
82
|
* fetcher={customFetcher}
|
|
83
|
-
* uiPath="/
|
|
83
|
+
* uiPath="/orders"
|
|
84
84
|
* onLocate={(path) => console.log('Navigated to:', path)}
|
|
85
85
|
* />
|
|
86
86
|
* ```
|