@nkzw/fate-indexeddb 1.11.1 → 1.12.1
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/README.md +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2133,11 +2133,11 @@ The plugin generates a typed `createFateClient` helper from your schema and Grap
|
|
|
2133
2133
|
|
|
2134
2134
|
### Generated Types
|
|
2135
2135
|
|
|
2136
|
-
With a schema configured,
|
|
2136
|
+
With a schema configured, `.fate/client.generated.ts` includes schema types. Use its `GraphQLEntities` types when defining client views:
|
|
2137
2137
|
|
|
2138
2138
|
```tsx
|
|
2139
2139
|
import { view } from 'react-fate';
|
|
2140
|
-
import type { GraphQLEntities } from '../../.fate/
|
|
2140
|
+
import type { GraphQLEntities } from '../../.fate/client.generated.ts';
|
|
2141
2141
|
|
|
2142
2142
|
type User = GraphQLEntities['User'];
|
|
2143
2143
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nkzw/fate-indexeddb",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.1",
|
|
4
4
|
"description": "Optional IndexedDB persistence adapter for fate.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"idb": "^8.0.4"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@nkzw/fate": "1.
|
|
22
|
+
"@nkzw/fate": "1.12.1",
|
|
23
23
|
"fake-indexeddb": "^6.2.6",
|
|
24
24
|
"vite": "npm:@voidzero-dev/vite-plus-core@1.3.0",
|
|
25
25
|
"vite-plus": "1.3.0"
|