feat(package/getNearbyVehicles): Implement getNearbyVehicles (#8)

This commit is contained in:
uShifty
2025-05-04 10:00:08 -06:00
committed by GitHub
parent f59beb2af6
commit 8039539158
3 changed files with 33 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
export * from './resource';
export const context: 'server' | 'client' = IsDuplicityVersion() ? 'server' : 'client';
// https://www.raygesualdo.com/posts/flattening-object-keys-with-typescript-types/
export type FlattenObjectKeys<T extends Record<string, any>, Key = keyof T> = Key extends string
? T[Key] extends Record<string, unknown>