generated from PrivateAIM/typescript-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requeston holdNeeds to be revisitedNeeds to be revisited
Description
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
Labels
enhancementNew feature or requestNew feature or requeston holdNeeds to be revisitedNeeds to be revisited