File

src/app/modules/core/interfaces/search.ts

Description

Interface

Properties

channel
channel: string
Type : string

page channel

concept
concept: object[]
Type : object[]

Content concept

contentType
contentType: string[]
Type : string[]

Content type - course,textbook,content

createdBy
createdBy: string
Type : string

createdBy id

exists
exists: string[]
Type : string[]
facets
facets: string[]
Type : string[]

facet filters

filters
filters: any
Type : any

filters param

limit
limit: number
Type : number

page limit

mimeType
mimeType: string[]
Type : string[]

page mimeType

mode
mode: string
Type : string

mode : soft

objectType
objectType: string[]
Type : string[]

page objectType

offset
offset: number
Type : number

page offset

orgid
orgid: string[]
Type : string[]

Organization ids

pageNumber
pageNumber: number
Type : number
params
params: any
Type : any

Additional params - userId, lastUpdatedOn, sort etc

query
query: string
Type : string

page query

rootOrgId
rootOrgId: string[]
Type : string[]

rootOrgId ids

softConstraints
softConstraints: object
Type : object

filters badgeAssertions

sort_by
sort_by: { [key: string]: string; }
Type : { [key: string]: string; }

filters sort_by

status
status: string[]
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;
}

results matching ""

    No results matching ""