mirror of
https://gitlab.com/mobicoop/v3/service/ad.git
synced 2026-01-29 17:40:46 +00:00
fixing docs
This commit is contained in:
@@ -169,10 +169,10 @@ The app exposes the following [gRPC](https://grpc.io/) services :
|
|||||||
- driver (boolean, optional): if the ad is a driver ad
|
- driver (boolean, optional): if the ad is a driver ad
|
||||||
- passenger (boolean, optional): if the ad is a passenger ad
|
- passenger (boolean, optional): if the ad is a passenger ad
|
||||||
- frequency: `PUNCTUAL` or `RECURRENT`
|
- frequency: `PUNCTUAL` or `RECURRENT`
|
||||||
- departureDateTime (required if punctual): departureDateTime date and hour/minute for a punctual ad
|
- departureDateTime (required if punctual): departure date and hour/minute for a punctual ad
|
||||||
- fromDate (required if recurrent): start date for recurrent ad
|
- fromDate (required if recurrent): start date for recurrent ad
|
||||||
- toDate (required if recurrent): end date for recurrent ad
|
- toDate (required if recurrent): end date for recurrent ad
|
||||||
- schedule (required if recurrent): an object with the departureDateTime time for each carpooled day in the week
|
- schedule (required if recurrent): an object with the departure time for each carpooled day in the week
|
||||||
- marginDurations (optional): an object with the margin duration (in seconds) for each carpooled day in the week, eg:
|
- marginDurations (optional): an object with the margin duration (in seconds) for each carpooled day in the week, eg:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ export const IsPunctualOrRecurrent = (
|
|||||||
isPunctualOrRecurrent(args),
|
isPunctualOrRecurrent(args),
|
||||||
defaultMessage: buildMessage(
|
defaultMessage: buildMessage(
|
||||||
() =>
|
() =>
|
||||||
`the departureDateTime, from date, to date and schedule must be properly set on recurrent or punctual ad`,
|
`the departure Date and time , from date, to date and schedule must be properly set on recurrent or punctual ad`,
|
||||||
validationOptions,
|
validationOptions,
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user