You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--useDateType Use Date type instead of string for date types for models, this will not convert the data to a Date object
58
+
--debug Run in debug mode?
59
+
--noSchemas Disable generating JSON schemas
60
+
--schemaType <value> Type of JSON schema [Default: 'json'] (choices: "form", "json")
61
+
--pageParam <value> Name of the query parameter used for pagination (default: "page")
62
+
--nextPageParam <value> Name of the response parameter used for next page (default: "nextPage")
63
+
--initialPageParam <value> Initial value for the pagination parameter (default: "1")
63
64
-h, --help display help for command
64
65
```
65
66
@@ -241,6 +242,8 @@ export default App;
241
242
242
243
This feature will generate a function in infiniteQueries.ts when the name specified by the `pageParam` option exists in the query parameters and the name specified by the `nextPageParam` option exists in the response.
243
244
245
+
The `initialPageParam` option can be specified to set the intial page to load, defaults to 1. The `nextPageParam` supports dot notation for nested values (i.e. `meta.next`).
0 commit comments