Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support for io.cozy.bills in models/paper #1484

Merged
merged 1 commit into from
May 28, 2024
Merged

Conversation

JF-Cozy
Copy link
Contributor

@JF-Cozy JF-Cozy commented May 27, 2024

No description provided.

Copy link
Member

@Merkur39 Merkur39 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@@ -48,6 +48,7 @@ export const KNOWN_INFORMATION_METADATA_NAMES = [
'noticePeriod'
]
export const KNOWN_OTHER_METADATA_NAMES = ['contact', 'page', 'qualification']
export const KNOWN_BILLS_METADATA_NAMES = ['amount', 'subtype', 'employer']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if it would be better to call it KNOWN_BILLS_ATTRIBUTE_NAMES, rather than sounding like the other “KNOWN_...” names. 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oui très bonne remarque, je me suis dit la même chose Le mot "metadata" prête un peu à confusion, car finalement tout attribut d'un doc est une metadata 🤔 C'est peut-être plus sage de faire la distinction 👍

@JF-Cozy JF-Cozy merged commit fe7ac2d into master May 28, 2024
4 checks passed
@JF-Cozy JF-Cozy deleted the feat/VER-7 branch May 28, 2024 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants