Skip to content

Create custom filter component #98

@brucetony

Description

@brucetony

Because not all of the results are returned for a particular table (pagination), filtering by certain criteria is only appliued to whatever subst is currently loaded. A new component needs to be developed that allows querying the hub for a set of results using the user's given filter criteria. Because there are a lot of filters, the core-http-kit can be used to programmatically build complex filter requests that can be passed to the hub-adapter.

import { Client } from '@privateaim/core-http-kit';
const client = new Client({ baseURL: "https://...." });
client .project.getMany({
    sort: {
        created_at: 'DESC',
        name: 'DESC',
    },
    filter: {
        name: 'foo~',
    },
    page: {
        limit: 50,
        offset: 0,
    },
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeston holdNeeds to be revisited

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions