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
Add more complete types for the InternalModelManager
The InternalModelManager is public API for Gadget developers, so it should be well documented and have nice types for use inside the editor. We had `any`s everywhere when we can instead have nice types! This adds those.
Copy file name to clipboardExpand all lines: packages/api-client-core/src/DataHydrator.ts
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ export const Hydrators = {
6
6
7
7
exporttypeHydration=keyoftypeofHydrators;
8
8
9
+
/** Instructions for a client to turn raw transport types (like strings) into useful client side types (like Dates). Unstable and not intended for developer use. */
* A list of fields to select from the internal API
56
-
* Matches the format of the Public API `select` option, but only allows going one level deep -- no relationships can be selected using the internal API.
57
-
*
58
-
* Supports passing a list of strings as a shorthand.
0 commit comments