Interface QueryReturn<E, T>
interface QueryReturn<E, T> { count: number; items: E[]; pageKey?: E | Pick<E, keyof { [Property in string | number | symbol as [T[keyof Exactify<T>]] extends [never] ? [NonNullable<(E extends EntityMap ? FlattenEntityMap<(...
)> : E)[Property]>] extends [never] ? Property : never : [NonNullable<(E extends EntityMap ? FlattenEntityMap<(...
)> : E)[Property]>] extends [never] ? never : NonNullable<(E extends EntityMap ? FlattenEntityMap<(...
)> : E)[Property]> extends T[keyof Exactify<T>] ? Property : never]: never }>; } Properties
Optional
pageKey
pageKey?: E | Pick<E, keyof { [Property in string | number | symbol as [T[keyof Exactify<T>]] extends [never] ? [NonNullable<(E extends EntityMap ? FlattenEntityMap<(...
)> : E)[Property]>] extends [never] ? Property : never : [NonNullable<(E extends EntityMap ? FlattenEntityMap<(...
)> : E)[Property]>] extends [never] ? never : NonNullable<(E extends EntityMap ? FlattenEntityMap<(...
)> : E)[Property]> extends T[keyof Exactify<T>] ? Property : never]: never}>
Return type for
query
method.