Project

General

Profile

Actions

Back-Feature #332

closed

Перевод action на v1

Added by Александр Григорьев 9 days ago. Updated 3 days ago.

Status:
Closed
Priority:
Normal
Start date:
02/27/2026
Due date:
% Done:

0%

Estimated time:
20:00 h

Description

Необходимо перевести методы action на новую версию v1.

Новый формат IActionDB:
export interface IActionDBV1 {
actionId: ActionId
userId: UserId
pics: string[]
categories: ActionCategory[]
title: string
description: string
startDate: string
endDate: string
startTime: string
endTime: string
cost: number
currency: CurrencyCode
format: ActionType
location: string
startLongitude: string
startLatitude: string
endLongitude: string
endLatitude: string
contacts?: IContacts
maxCount: number
count: number
showCount: boolean
publicationDate: PublicationDate
status: ActionStatus
requiresTicket: boolean
paymentFormat: WayPay
recipientBank: BankName
ageLimit: AgeRating
}

Необходимо перевести методы:

  • createAction
  • updateAction
  • getAction
  • getAllActions
  • getActionsInterval
  • getActionPub
  • getActionsPub
  • getActionsPubByUser
  • getActionsByCategories
  • getRegisteredsByActionId
  • getAllRegistereds

Все новые сервисы должны иметь приписку v1

Actions

Also available in: Atom PDF