Update app and tooling

This commit is contained in:
Lawrence Chen 2026-01-29 17:36:26 -08:00
parent 3046531bdd
commit e620ec7349
4950 changed files with 2975120 additions and 10 deletions

23
node_modules/json-schema-to-ts/lib/utils/get.d.ts generated vendored Normal file
View file

@ -0,0 +1,23 @@
import { Head } from "./head";
import { Tail } from "./tail";
/**
* Returns the value at key `K` in object `O`, `F` if `K` misses from object
*
* @param O Object
* @param K Property key
* @param F _(optional:_ `never` _)_ Fallback type
* @return Type
*/
export declare type Get<O, K, F = never> = K extends keyof O ? O[K] : F;
/**
* Returns the value at path `P` in object `O`, `F` if `P` misses from object
*
* @param O Object
* @param P Path
* @param F _(optional:_ `never` _)_ Fallback type
* @return Type
*/
export declare type DeepGet<O, P, F = never> = {
continue: Head<P> extends keyof O ? DeepGet<O[Head<P>], Tail<P>, F> : F;
stop: O;
}[P extends [any, ...any[]] ? "continue" : "stop"];