export * from './resource'; // https://www.raygesualdo.com/posts/flattening-object-keys-with-typescript-types/ export type FlattenObjectKeys, Key = keyof T> = Key extends string ? T[Key] extends Record ? `${Key}.${FlattenObjectKeys}` : `${Key}` : never;