mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
feat(items): filter auto-complete results.
feat(contacts): filter auto-complete results.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
|
||||
// Contact Interfaces.
|
||||
|
||||
import { IDynamicListFilter } from "./DynamicFilter";
|
||||
import { IFilterRole } from "./DynamicFilter";
|
||||
|
||||
// ----------------------------------
|
||||
export interface IContactAddress {
|
||||
@@ -208,6 +206,9 @@ export interface ICustomersFilter extends IDynamicListFilter {
|
||||
export interface IContactsAutoCompleteFilter {
|
||||
limit: number,
|
||||
keyword: string,
|
||||
filterRoles?: IFilterRole[];
|
||||
columnSortBy: string;
|
||||
sortOrder: string;
|
||||
}
|
||||
|
||||
export interface IContactAutoCompleteItem {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { IDynamicListFilter } from 'interfaces/DynamicFilter';
|
||||
import { IFilterRole } from 'interfaces/DynamicFilter';
|
||||
|
||||
export interface IItem{
|
||||
id: number,
|
||||
@@ -72,7 +72,7 @@ export interface IItemsService {
|
||||
itemsList(tenantId: number, itemsFilter: IItemsFilter): Promise<{items: IItem[]}>;
|
||||
}
|
||||
|
||||
export interface IItemsFilter extends IDynamicListFilter {
|
||||
export interface IItemsFilter extends IDynamicListFilterDTO {
|
||||
stringifiedFilterRoles?: string,
|
||||
page: number,
|
||||
pageSize: number,
|
||||
@@ -81,5 +81,7 @@ export interface IItemsFilter extends IDynamicListFilter {
|
||||
export interface IItemsAutoCompleteFilter {
|
||||
limit: number,
|
||||
keyword: string,
|
||||
|
||||
filterRoles?: IFilterRole[];
|
||||
columnSortBy: string;
|
||||
sortOrder: string;
|
||||
}
|
||||
Reference in New Issue
Block a user