Application Load

IProfileSearchUpdateRequest

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

IProfileSearchUpdateRequest

The application adds the submitted phrases to the current user’s search history.

interfaces/orionplace/accounts/IProfileActions.ts
TypeScript
export interface IProfileSearchUpdateRequest {
  // Array of strings, at most 15 entries. The form requires a nonempty array,
  // and an entry that is not a string returns a validation error. Surrounding
  // spaces are removed; strings shorter than two characters are then skipped.
  ls_history: string[] | string;
}