@baqhub/sdk
Version:
The official JavaScript SDK for the BAQ federated app platform.
10 lines (9 loc) • 453 B
TypeScript
import * as IO from "../../helpers/io.js";
import { RAnyRecord } from "../records/record.js";
export declare function recordsResponse<K extends RAnyRecord, T extends RAnyRecord>(knownRecord: K, recordType: T): IO.IntersectionC<[IO.Type<{
readonly pageSize: number;
readonly records: readonly IO.TypeOf<T>[];
readonly linkedRecords: readonly IO.TypeOf<K>[];
}, any, any>, IO.Type<{
readonly nextPage?: string | undefined;
}, any, any>]>;