Загрузка приложения

IBlogCommentRemovalResponse

Физическое объявление TypeScript из стартового проекта Nuxt со связанными типами и комментариями к полям.

IBlogCommentRemovalResponse

Ответ возвращает только удалённый ID.

src/lib/interfaces/orionplace/blog/IBlogApi.ts
TypeScript
export interface IBlogCommentRemovalResponse {
  // Ошибки полей или общие ошибки.
  form_errors: Record<string, ApiFormError[]> | null;
  // Сообщение об успехе или null.
  success_message: string | null;
  // ID удалённого комментария.
  page_data: {
    // ID удалённого комментария.
    id: number;
  } | null;
}