Skip to content

Commit

Permalink
feat: Add datetime type for files metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
paultranvan committed Feb 21, 2023
1 parent ed21422 commit 0a17373
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/cozy-client/src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ import { QueryDefinition } from './queries/dsl'
* @property {string} [expirationDate] - Expiration date of the paper
* @property {string} [referencedDate] - Reference date of the paper
* @property {string} [noticePeriod] - Notice period of the paper, in days
* @property {string} [datetime] - Image EXIF date, if relevant
*/

/**
Expand Down
4 changes: 4 additions & 0 deletions packages/cozy-client/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,10 @@ export type FileMetadata = {
* - Notice period of the paper, in days
*/
noticePeriod?: string;
/**
* - Image EXIF date, if relevant
*/
datetime?: string;
};
/**
* - An io.cozy.files document
Expand Down

0 comments on commit 0a17373

Please sign in to comment.