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
* Filter out any keys in `T` that are mapped to `never` recursively. Any nested objects that are empty after having never valued keys removed are also removed.
87
+
*
88
+
* ```typescript
89
+
* type Thing = DeepFilterNever<
90
+
* { a: { b: never }, c: string }
91
+
* >; // { c: string; }
92
+
* ```
93
+
*/
94
+
59
95
/**
60
96
* Get any keys of `Selection` that are not mapped to `never`
61
97
*/
@@ -66,21 +102,36 @@ export type NonNeverKeys<Selection> = {
66
102
/**
67
103
* Filter out any keys in `T` that are mapped to `never`.
68
104
*/
105
+
69
106
exporttypeFilterNever<TextendsRecord<string,unknown>>=NonNeverKeys<T>extendsnever ? never : {[KeyinNonNeverKeys<T>]: T[Key]};
* Filter out any keys in `T` that are mapped to `never` recursively. Any nested objects that are empty after having never valued keys removed are also removed.
@@ -757,6 +808,7 @@ export type PaginateOptions = {
* Represents the current strategy for authenticating with the Gadget platform.
14
+
* For individual users in web browsers, we authenticate using a session token stored client side, like a cookie, but with cross domain support.
15
+
* For server to server communication, or traceable access from the browser, we use pre shared secrets called API Keys
16
+
* And when within the Gadget platform itself, we use a private secret token called an Internal Auth Token. Internal Auth Tokens are managed by Gadget and should never be used by external developers.
0 commit comments