Application Load

IAddressCitySuggestionResponse

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

IAddressCitySuggestionResponse

Suggestion response envelope with results or API errors.

interfaces/orionplace/address/IAddressCitySuggestion.ts
TypeScript
export interface IAddressCitySuggestionResponse {
  // 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: IAddressCitySuggestion[] | null;
  // Endpoint name, added when the backend begins processing the request.
  url_name?: 'address_hints_suggest_city';
}