Skip to content

Commit

Permalink
feat: Remove library card
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Sep 12, 2024
1 parent 479ed73 commit fb63c09
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 44 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"@sentry/react": "7.119.0",
"classnames": "2.5.1",
"cozy-bar": "^14.0.0",
"cozy-client": "^48.20.0",
"cozy-client": "^48.21.0",
"cozy-device-helper": "^3.0.0",
"cozy-doctypes": "^1.90.0",
"cozy-flags": "^3.2.2",
Expand Down
3 changes: 1 addition & 2 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,5 @@ export const TWO_SIDED_FILE_QUALIFICATION_LABELS = [
'driver_license',
'residence_permit',
'transport_card',
'fidelity_card',
'library_card'
'fidelity_card'
]
37 changes: 0 additions & 37 deletions src/papersDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3243,43 +3243,6 @@
}
]
},
{
"label": "library_card",
"icon": "people",
"featureDate": "referencedDate",
"maxDisplay": 4,
"acquisitionSteps": [
{
"model": "scan",
"page": "front",
"illustration": "IlluGenericNewPage.svg",
"text": "PaperJSON.card.front.text"
},
{
"model": "scan",
"page": "back",
"illustration": "IlluGenericNewPage.svg",
"text": "PaperJSON.card.back.text"
},
{
"model": "information",
"illustration": "IlluGenericInputDate.svg",
"text": "PaperJSON.generic.referencedDate.text",
"attributes": [
{
"name": "referencedDate",
"type": "date",
"inputLabel": "PaperJSON.generic.referencedDate.inputLabel"
}
]
},
{
"illustration": "Account.svg",
"model": "contact",
"text": "PaperJSON.generic.owner.text"
}
]
},
{
"label": "real_estate_tax",
"icon": "bill",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5406,10 +5406,10 @@ [email protected]:
lodash "^4.17.20"
node-jose "^1.1.4"

cozy-client@^48.20.0:
version "48.20.0"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-48.20.0.tgz#7410530cd474a563de2b72f3a15b1d517606c5c8"
integrity sha512-ebYidK5tBdSYWzCAT+B1Y+MugWxVymIzj5mHM0G8RkAY0SYY051JrnXBecn74wQiaM2NeafAZTbOq2ORFmy/zQ==
cozy-client@^48.21.0:
version "48.21.0"
resolved "https://registry.yarnpkg.com/cozy-client/-/cozy-client-48.21.0.tgz#cb51d4765ad5cc42644bdc00afff8db300a9de31"
integrity sha512-kec/fcvZ8aOEa4jbbOpaDauOOHRFGw1PihowJTCcbm8P7gOVvKFoQEcLJi/QwchngWPgNt4vcPevmokhYvRCYQ==
dependencies:
"@cozy/minilog" "1.0.0"
"@types/jest" "^26.0.20"
Expand Down

0 comments on commit fb63c09

Please sign in to comment.