src/app/modules/core/interfaces/search.ts
Interface
channel |
channel: |
Type : string
|
page channel |
concept |
concept: |
Type : object[]
|
Content concept |
contentType |
contentType: |
Type : string[]
|
Content type - course,textbook,content |
createdBy |
createdBy: |
Type : string
|
createdBy id |
exists |
exists: |
Type : string[]
|
facets |
facets: |
Type : string[]
|
facet filters |
filters |
filters: |
Type : any
|
filters param |
limit |
limit: |
Type : number
|
page limit |
mimeType |
mimeType: |
Type : string[]
|
page mimeType |
mode |
mode: |
Type : string
|
mode : soft |
objectType |
objectType: |
Type : string[]
|
page objectType |
offset |
offset: |
Type : number
|
page offset |
orgid |
orgid: |
Type : string[]
|
Organization ids |
pageNumber |
pageNumber: |
Type : number
|
params |
params: |
Type : any
|
Additional params - userId, lastUpdatedOn, sort etc |
query |
query: |
Type : string
|
page query |
rootOrgId |
rootOrgId: |
Type : string[]
|
rootOrgId ids |
softConstraints |
softConstraints: |
Type : object
|
filters badgeAssertions |
sort_by |
sort_by: |
Type : { [key: string]: string; }
|
filters sort_by |
status |
status: |
Type : string[]
|
Content status |
export interface SearchParam {
/**
* Content status
*/
status?: string[];
/**
* Content type - course,textbook,content
*/
contentType?: string[];
/**
* Content concept
*/
concept?: Array<object>;
/**
* Additional params - userId, lastUpdatedOn, sort etc
*/
params?: any;
/**
* createdBy id
*/
createdBy?: string;
/**
* Organization ids
*/
orgid?: string[];
/**
* rootOrgId ids
*/
rootOrgId?: string[];
/**
* page limit
*/
limit?: number;
/**
* page offset
*/
offset?: number;
pageNumber?: number;
/**
* page mimeType
*/
mimeType?: Array<string>;
/**
* page query
*/
query?: string;
/**
* page channel
*/
channel?: string;
/**
* page objectType
*/
objectType?: string[];
/**
* filters param
*/
filters?: any;
/**
* filters sort_by
*/
sort_by?: { [key: string]: string };
/**
* filters badgeAssertions
*/
softConstraints?: object;
/**
* facet filters
*/
facets?: Array<string>;
exists?: Array<string>;
/**
* mode : soft
*/
mode?: string;
}