Application Load

IAddressSuggestionResponse

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

IAddressSuggestionResponse

Suggestion response envelope with results or API errors.

src/lib/interfaces/orionplace/address/IAddressSuggestion.ts
TypeScript
export interface IAddressSuggestionResponse {
  // Field error arrays, or null. General errors use the __all__ key.
  form_errors: Record<string, ApiFormError[]> | null;
  // Localized success message, or null on failure.
  success_message: string | null;
  // Suggestions on success, including an empty array; null on API error.
  page_data: IAddressSuggestion[] | null;
  // Endpoint name, added when the backend begins processing the request.
  url_name?: 'address_hints_suggest';
}