| @@ -2199,14 +2199,10 @@ components: | |||||
| format: iri-reference | format: iri-reference | ||||
| example: 'https://example.com/' | example: 'https://example.com/' | ||||
| startDate: | startDate: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| endDate: | endDate: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| createdAt: | createdAt: | ||||
| readOnly: true | readOnly: true | ||||
| @@ -2267,14 +2263,10 @@ components: | |||||
| readOnly: true | readOnly: true | ||||
| $ref: '#/components/schemas/Location.jsonld' | $ref: '#/components/schemas/Location.jsonld' | ||||
| startDate: | startDate: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| endDate: | endDate: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| createdAt: | createdAt: | ||||
| readOnly: true | readOnly: true | ||||
| @@ -2307,9 +2299,7 @@ components: | |||||
| format: iri-reference | format: iri-reference | ||||
| example: 'https://example.com/' | example: 'https://example.com/' | ||||
| date: | date: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| createdAt: | createdAt: | ||||
| readOnly: true | readOnly: true | ||||
| @@ -2359,9 +2349,7 @@ components: | |||||
| readOnly: true | readOnly: true | ||||
| $ref: '#/components/schemas/Location.jsonld' | $ref: '#/components/schemas/Location.jsonld' | ||||
| date: | date: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| createdAt: | createdAt: | ||||
| readOnly: true | readOnly: true | ||||
| @@ -2385,17 +2373,11 @@ components: | |||||
| format: email | format: email | ||||
| externalDocs: | externalDocs: | ||||
| url: 'https://schema.org/email' | url: 'https://schema.org/email' | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| firstName: | firstName: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| lastName: | lastName: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| image: | image: | ||||
| type: | type: | ||||
| - string | - string | ||||
| @@ -2415,9 +2397,7 @@ components: | |||||
| password: | password: | ||||
| writeOnly: true | writeOnly: true | ||||
| description: 'The plaintext password when being set or changed.' | description: 'The plaintext password when being set or changed.' | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| active: | active: | ||||
| type: boolean | type: boolean | ||||
| createdAt: | createdAt: | ||||
| @@ -2467,17 +2447,11 @@ components: | |||||
| format: email | format: email | ||||
| externalDocs: | externalDocs: | ||||
| url: 'https://schema.org/email' | url: 'https://schema.org/email' | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| firstName: | firstName: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| lastName: | lastName: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| image: | image: | ||||
| type: | type: | ||||
| - string | - string | ||||
| @@ -2497,9 +2471,7 @@ components: | |||||
| password: | password: | ||||
| writeOnly: true | writeOnly: true | ||||
| description: 'The plaintext password when being set or changed.' | description: 'The plaintext password when being set or changed.' | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| active: | active: | ||||
| type: boolean | type: boolean | ||||
| createdAt: | createdAt: | ||||
| @@ -2535,14 +2507,10 @@ components: | |||||
| captainName: | captainName: | ||||
| type: string | type: string | ||||
| startDate: | startDate: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| endDate: | endDate: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| createdAt: | createdAt: | ||||
| readOnly: true | readOnly: true | ||||
| @@ -2596,14 +2564,10 @@ components: | |||||
| captainName: | captainName: | ||||
| type: string | type: string | ||||
| startDate: | startDate: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| endDate: | endDate: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| createdAt: | createdAt: | ||||
| readOnly: true | readOnly: true | ||||
| @@ -2636,9 +2600,7 @@ components: | |||||
| format: iri-reference | format: iri-reference | ||||
| example: 'https://example.com/' | example: 'https://example.com/' | ||||
| plannedDate: | plannedDate: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| createdAt: | createdAt: | ||||
| readOnly: true | readOnly: true | ||||
| @@ -2688,9 +2650,7 @@ components: | |||||
| readOnly: true | readOnly: true | ||||
| $ref: '#/components/schemas/Location.jsonld' | $ref: '#/components/schemas/Location.jsonld' | ||||
| plannedDate: | plannedDate: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| createdAt: | createdAt: | ||||
| readOnly: true | readOnly: true | ||||
| @@ -2726,14 +2686,10 @@ components: | |||||
| format: iri-reference | format: iri-reference | ||||
| example: 'https://example.com/' | example: 'https://example.com/' | ||||
| startDate: | startDate: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| endDate: | endDate: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| createdAt: | createdAt: | ||||
| readOnly: true | readOnly: true | ||||
| @@ -2787,14 +2743,10 @@ components: | |||||
| readOnly: true | readOnly: true | ||||
| $ref: '#/components/schemas/Location.jsonld' | $ref: '#/components/schemas/Location.jsonld' | ||||
| startDate: | startDate: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| endDate: | endDate: | ||||
| type: | |||||
| - string | |||||
| - 'null' | |||||
| type: string | |||||
| format: date-time | format: date-time | ||||
| createdAt: | createdAt: | ||||
| readOnly: true | readOnly: true | ||||
| @@ -1,5 +1,4 @@ | |||||
| .gitignore | .gitignore | ||||
| .openapi-generator-ignore | |||||
| README.md | README.md | ||||
| api.module.ts | api.module.ts | ||||
| api/api.ts | api/api.ts | ||||
| @@ -21,8 +21,8 @@ export interface Trip { | |||||
| captainName?: string | null; | captainName?: string | null; | ||||
| readonly startLocation?: string; | readonly startLocation?: string; | ||||
| readonly endLocation?: string; | readonly endLocation?: string; | ||||
| startDate: string | null; | |||||
| endDate: string | null; | |||||
| startDate: string; | |||||
| endDate: string; | |||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||
| @@ -27,8 +27,8 @@ export interface TripJsonld { | |||||
| captainName?: string | null; | captainName?: string | null; | ||||
| readonly startLocation?: LocationJsonld; | readonly startLocation?: LocationJsonld; | ||||
| readonly endLocation?: LocationJsonld; | readonly endLocation?: LocationJsonld; | ||||
| startDate: string | null; | |||||
| endDate: string | null; | |||||
| startDate: string; | |||||
| endDate: string; | |||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||
| @@ -18,7 +18,7 @@ export interface TripLocation { | |||||
| readonly dbId?: number | null; | readonly dbId?: number | null; | ||||
| readonly trip?: string; | readonly trip?: string; | ||||
| readonly location?: string; | readonly location?: string; | ||||
| date: string | null; | |||||
| date: string; | |||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||
| @@ -24,7 +24,7 @@ export interface TripLocationJsonld { | |||||
| readonly dbId?: number | null; | readonly dbId?: number | null; | ||||
| readonly trip?: TripJsonld; | readonly trip?: TripJsonld; | ||||
| readonly location?: LocationJsonld; | readonly location?: LocationJsonld; | ||||
| date: string | null; | |||||
| date: string; | |||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||
| @@ -16,16 +16,16 @@ | |||||
| */ | */ | ||||
| export interface User { | export interface User { | ||||
| readonly dbId?: number | null; | readonly dbId?: number | null; | ||||
| email: string | null; | |||||
| firstName: string | null; | |||||
| lastName: string | null; | |||||
| email: string; | |||||
| firstName: string; | |||||
| lastName: string; | |||||
| image?: string | null; | image?: string | null; | ||||
| readonly imageUrl?: string | null; | readonly imageUrl?: string | null; | ||||
| readonly fullName?: string | null; | readonly fullName?: string | null; | ||||
| /** | /** | ||||
| * The plaintext password when being set or changed. | * The plaintext password when being set or changed. | ||||
| */ | */ | ||||
| password?: string | null; | |||||
| password?: string; | |||||
| active?: boolean; | active?: boolean; | ||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||
| @@ -20,16 +20,16 @@ export interface UserJsonld { | |||||
| readonly id?: string; | readonly id?: string; | ||||
| readonly type?: string; | readonly type?: string; | ||||
| readonly dbId?: number | null; | readonly dbId?: number | null; | ||||
| email: string | null; | |||||
| firstName: string | null; | |||||
| lastName: string | null; | |||||
| email: string; | |||||
| firstName: string; | |||||
| lastName: string; | |||||
| image?: string | null; | image?: string | null; | ||||
| readonly imageUrl?: string | null; | readonly imageUrl?: string | null; | ||||
| readonly fullName?: string | null; | readonly fullName?: string | null; | ||||
| /** | /** | ||||
| * The plaintext password when being set or changed. | * The plaintext password when being set or changed. | ||||
| */ | */ | ||||
| password?: string | null; | |||||
| password?: string; | |||||
| active?: boolean; | active?: boolean; | ||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||
| @@ -19,8 +19,8 @@ export interface UserTrip { | |||||
| readonly trip?: string; | readonly trip?: string; | ||||
| readonly user?: string; | readonly user?: string; | ||||
| captainName: string; | captainName: string; | ||||
| startDate: string | null; | |||||
| endDate: string | null; | |||||
| startDate: string; | |||||
| endDate: string; | |||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||
| @@ -25,8 +25,8 @@ export interface UserTripJsonld { | |||||
| readonly trip?: TripJsonld; | readonly trip?: TripJsonld; | ||||
| readonly user?: UserJsonld; | readonly user?: UserJsonld; | ||||
| captainName: string; | captainName: string; | ||||
| startDate: string | null; | |||||
| endDate: string | null; | |||||
| startDate: string; | |||||
| endDate: string; | |||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||
| @@ -18,7 +18,7 @@ export interface UserTripLocation { | |||||
| readonly dbId?: number | null; | readonly dbId?: number | null; | ||||
| readonly userTrip?: string; | readonly userTrip?: string; | ||||
| readonly location?: string; | readonly location?: string; | ||||
| plannedDate: string | null; | |||||
| plannedDate: string; | |||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||
| @@ -24,7 +24,7 @@ export interface UserTripLocationJsonld { | |||||
| readonly dbId?: number | null; | readonly dbId?: number | null; | ||||
| readonly userTrip?: UserTripJsonld; | readonly userTrip?: UserTripJsonld; | ||||
| readonly location?: LocationJsonld; | readonly location?: LocationJsonld; | ||||
| plannedDate: string | null; | |||||
| plannedDate: string; | |||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||
| @@ -19,8 +19,8 @@ export interface UserTripWorkLog { | |||||
| readonly userTrip?: string; | readonly userTrip?: string; | ||||
| readonly startLocation?: string; | readonly startLocation?: string; | ||||
| readonly endLocation?: string; | readonly endLocation?: string; | ||||
| startDate: string | null; | |||||
| endDate: string | null; | |||||
| startDate: string; | |||||
| endDate: string; | |||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||
| @@ -25,8 +25,8 @@ export interface UserTripWorkLogJsonld { | |||||
| readonly userTrip?: UserTripJsonld; | readonly userTrip?: UserTripJsonld; | ||||
| readonly startLocation?: LocationJsonld; | readonly startLocation?: LocationJsonld; | ||||
| readonly endLocation?: LocationJsonld; | readonly endLocation?: LocationJsonld; | ||||
| startDate: string | null; | |||||
| endDate: string | null; | |||||
| startDate: string; | |||||
| endDate: string; | |||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||
| @@ -98,10 +98,10 @@ class TripApi | |||||
| public ?LocationApi $endLocation = null; | public ?LocationApi $endLocation = null; | ||||
| #[Assert\NotBlank] | #[Assert\NotBlank] | ||||
| public ?\DateTimeImmutable $startDate = null; | |||||
| public \DateTimeImmutable $startDate; | |||||
| #[Assert\NotBlank] | #[Assert\NotBlank] | ||||
| public ?\DateTimeImmutable $endDate = null; | |||||
| public \DateTimeImmutable $endDate; | |||||
| #[ApiProperty(writable: false)] | #[ApiProperty(writable: false)] | ||||
| public ?\DateTimeImmutable $createdAt = null; | public ?\DateTimeImmutable $createdAt = null; | ||||
| @@ -77,7 +77,7 @@ class TripLocationApi | |||||
| public ?LocationApi $location = null; | public ?LocationApi $location = null; | ||||
| #[Assert\NotBlank] | #[Assert\NotBlank] | ||||
| public ?\DateTimeImmutable $date = null; | |||||
| public \DateTimeImmutable $date; | |||||
| #[ApiProperty(writable: false)] | #[ApiProperty(writable: false)] | ||||
| public ?\DateTimeImmutable $createdAt = null; | public ?\DateTimeImmutable $createdAt = null; | ||||
| @@ -64,13 +64,13 @@ class UserApi | |||||
| #[Assert\NotBlank] | #[Assert\NotBlank] | ||||
| #[Assert\Email] | #[Assert\Email] | ||||
| public ?string $email = null; | |||||
| public string $email; | |||||
| #[Assert\NotBlank] | #[Assert\NotBlank] | ||||
| public ?string $firstName = null; | |||||
| public string $firstName; | |||||
| #[Assert\NotBlank] | #[Assert\NotBlank] | ||||
| public ?string $lastName = null; | |||||
| public string $lastName; | |||||
| public ?MediaObject $image = null; | public ?MediaObject $image = null; | ||||
| @@ -85,7 +85,7 @@ class UserApi | |||||
| */ | */ | ||||
| #[ApiProperty(readable: false)] | #[ApiProperty(readable: false)] | ||||
| #[Assert\NotBlank(groups: ['postValidation'])] | #[Assert\NotBlank(groups: ['postValidation'])] | ||||
| public ?string $password = null; | |||||
| public string $password; | |||||
| // Object is null ONLY during deserialization: so this allows isPublished | // Object is null ONLY during deserialization: so this allows isPublished | ||||
| // to be writable in ALL cases (which is ok because the operations are secured). | // to be writable in ALL cases (which is ok because the operations are secured). | ||||
| @@ -80,10 +80,10 @@ class UserTripApi | |||||
| public string $captainName; | public string $captainName; | ||||
| #[Assert\NotBlank] | #[Assert\NotBlank] | ||||
| public ?\DateTimeImmutable $startDate = null; | |||||
| public \DateTimeImmutable $startDate; | |||||
| #[Assert\NotBlank] | #[Assert\NotBlank] | ||||
| public ?\DateTimeImmutable $endDate = null; | |||||
| public \DateTimeImmutable $endDate; | |||||
| #[ApiProperty(writable: false)] | #[ApiProperty(writable: false)] | ||||
| public ?\DateTimeImmutable $createdAt = null; | public ?\DateTimeImmutable $createdAt = null; | ||||
| @@ -77,7 +77,7 @@ class UserTripLocationApi | |||||
| public ?LocationApi $location = null; | public ?LocationApi $location = null; | ||||
| #[Assert\NotBlank] | #[Assert\NotBlank] | ||||
| public ?\DateTimeImmutable $plannedDate = null; | |||||
| public \DateTimeImmutable $plannedDate; | |||||
| #[ApiProperty(writable: false)] | #[ApiProperty(writable: false)] | ||||
| public ?\DateTimeImmutable $createdAt = null; | public ?\DateTimeImmutable $createdAt = null; | ||||
| @@ -93,10 +93,10 @@ class UserTripWorkLogApi | |||||
| public ?LocationApi $endLocation = null; | public ?LocationApi $endLocation = null; | ||||
| #[Assert\NotBlank] | #[Assert\NotBlank] | ||||
| public ?\DateTimeImmutable $startDate = null; | |||||
| public \DateTimeImmutable $startDate; | |||||
| #[Assert\NotBlank] | #[Assert\NotBlank] | ||||
| public ?\DateTimeImmutable $endDate = null; | |||||
| public \DateTimeImmutable $endDate; | |||||
| #[ApiProperty(writable: false)] | #[ApiProperty(writable: false)] | ||||
| public ?\DateTimeImmutable $createdAt = null; | public ?\DateTimeImmutable $createdAt = null; | ||||