import type { ApiClient } from "@promobase/sdk-runtime"; import { Cursor } from "@promobase/sdk-runtime"; import { metaPagination } from "../../pagination.ts"; import type { CatalogGenericFeedsGetFields } from "./catalog-generic-feeds-get.ts"; export interface CatalogGenericFeedsFields { } export function catalogGenericFeedsNode(client: ApiClient, id: string) { return { __path: id, __brand: undefined as unknown as CatalogGenericFeedsFields, uploads: (opts: { fields: F; params?: Record }) => new Cursor>(client, `${id}/uploads`, opts as { fields: readonly string[]; params?: Record }, metaPagination()), }; }