Application Load

IBlogCommentRemovalResponse

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

IBlogCommentRemovalResponse

The response returns only the deleted ID.

src/lib/interfaces/orionplace/blog/IBlogApi.ts
TypeScript
export interface IBlogCommentRemovalResponse {
  // Field or general errors.
  form_errors: Record<string, ApiFormError[]> | null;
  // Success message, or null.
  success_message: string | null;
  // Deleted comment ID.
  page_data: {
    // Deleted comment ID.
    id: number;
  } | null;
}