Skip to content

RestrictedTableEntry

github-actions[bot] edited this page Jan 12, 2025 · 4 revisions

@gavinhsmith/simpledb


@gavinhsmith/simpledb / lib/types / RestrictedTableEntry

Type Alias: RestrictedTableEntry<T, K>

RestrictedTableEntry<T, K>: { [Prop in keyof T as Prop extends K ? Prop : never]: ProcessedTableEntry<T>[Prop] }

Defined in: lib/types.ts:12

A table entry with content restricted by K. Allows all entries through if K is null. Should always be applied with a processed table entry.

Type Parameters

• T extends TableEntry

• K extends TableEntryKeys<T>

Clone this wiki locally