Skip to content

Commit f0f9d8e

Browse files
committed
Adds description in attachments
1 parent 5b53a1b commit f0f9d8e

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

schema/braver-frontend.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,6 +1301,7 @@ components:
13011301
- nomFichier
13021302
- typeMime
13031303
- fichierPret
1304+
- description
13041305
properties:
13051306
id:
13061307
type: string
@@ -1318,6 +1319,8 @@ components:
13181319
type: string
13191320
fichierPret:
13201321
type: boolean
1322+
description:
1323+
type: string
13211324
creeAt:
13221325
format: date-time
13231326
type: string

src/types/frontend.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export const Attachment = Type.Object({
9898
),
9999
urlTelechargement: Type.Optional(Type.String({ format: 'uri' })),
100100
fichierPret: Type.Boolean(),
101+
description: Type.String(),
101102
});
102103
export type Attachment = Static<typeof Attachment>;
103104

0 commit comments

Comments
 (0)