Application Load

IProfileSearchUpdateResponse

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IProfileSearchUpdateResponse

page_data.added_updated counts processed phrases that were added or refreshed. It is not necessarily the number of distinct new records.

interfaces/orionplace/accounts/IProfileActions.ts
TypeScript
export interface IProfileSearchUpdateResponse {
  // Field or general errors; null on success.
  form_errors: Record<string, ApiFormError[]> | null;
  // Success message, or null.
  success_message: string | null;
  // `page_data.added_updated` counts processed phrases that were added or
  // refreshed. It is not necessarily the number of distinct new records.
  page_data: {
    // One increment per processed phrase of at least two characters, including
    // an existing phrase.
    added_updated: number;
  } | null;
}