interface IInput {
    filters?: {
        block_num?: null | number;
        code?: null | string;
        present?: null | boolean;
        primary_key?: null | string;
        scope?: null | string;
        table?: null | string;
    };
    pagination?: {
        limit: number;
        page: number;
        sortBy?: null | string;
        sortOrder: string;
    };
}

Properties

filters?: {
    block_num?: null | number;
    code?: null | string;
    present?: null | boolean;
    primary_key?: null | string;
    scope?: null | string;
    table?: null | string;
}

Type declaration

  • Optional block_num?: null | number

    Номер блока

  • Optional code?: null | string

    Код контракта

  • Optional present?: null | boolean

    Флаг присутствия записи

  • Optional primary_key?: null | string

    Первичный ключ

  • Optional scope?: null | string

    Область действия

  • Optional table?: null | string

    Имя таблицы

pagination?: {
    limit: number;
    page: number;
    sortBy?: null | string;
    sortOrder: string;
}

Type declaration

  • limit: number

    Количество элементов на странице

  • page: number

    Номер страницы

  • Optional sortBy?: null | string

    Ключ сортировки (например, "name")

  • sortOrder: string

    Направление сортировки ("ASC" или "DESC")