View as Markdown

API reference: @salmonui/data/json

WirePagetype

import type { WirePage } from '@salmonui/data/json';

Also exported from @salmonui/data.

type WirePage = {
    readonly offset: number;
    readonly limit: number;
} | {
    readonly cursor: string | null;
    readonly limit: number;
};