@omnia/fx-models
Version:
Provide Omnia Fx Models Stuffs.
23 lines (22 loc) • 761 B
TypeScript
import { SourceRelatedOmniaRefinerProperty, SourceRelatedOmniaSearchProperty, SourceRelatedOmniaSortProperty } from "./OmniaUserSource";
export interface SearchUserQuery {
keywords: string;
hitsPerPage: number;
nextPage?: number;
sorts?: Array<SourceRelatedOmniaSortProperty>;
filters?: Array<Array<ConditionalSearchProperty>>;
refiners?: Array<SourceRelatedOmniaRefinerProperty>;
pickUsers?: Array<string>;
}
export interface ConditionalSearchProperty {
operator: ConditionalOperator;
sourceRelatedOmniaSearchProperty: SourceRelatedOmniaSearchProperty;
}
export declare enum ConditionalOperator {
Equals = 0,
GreaterThan = 1,
GreaterThanOrEqual = 2,
LessThan = 3,
LessThanOrEqual = 4,
Contains = 5
}