@carlonicora/nextjs-jsonapi 5.1.1 → 5.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/messages/en.json CHANGED
@@ -1545,9 +1545,9 @@
1545
1545
  },
1546
1546
  "deleted": "Deleted User",
1547
1547
  "errors": {
1548
- "deleted": "Deleted Employee",
1548
+ "deleted": "Deleted user",
1549
1549
  "email_exists": "Another user with this email already exists",
1550
- "inactive": "Inactive Employee"
1550
+ "inactive": "Inactive user"
1551
1551
  },
1552
1552
  "fields": {
1553
1553
  "bio": {
package/messages/it.json CHANGED
@@ -1545,9 +1545,9 @@
1545
1545
  },
1546
1546
  "deleted": "Utente eliminato",
1547
1547
  "errors": {
1548
- "deleted": "Dipendente eliminato",
1548
+ "deleted": "Utente eliminato",
1549
1549
  "email_exists": "Esiste già un altro utente con questa email",
1550
- "inactive": "Dipendente non attivo"
1550
+ "inactive": "Utente non attivo"
1551
1551
  },
1552
1552
  "fields": {
1553
1553
  "bio": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nextjs-jsonapi",
3
- "version": "5.1.1",
3
+ "version": "5.1.2",
4
4
  "description": "Next.js JSON:API client with server/client support and caching",
5
5
  "author": "Carlo Nicora",
6
6
  "license": "GPL-3.0-or-later",
@@ -73,6 +73,8 @@ const APP_WORDS = [
73
73
  /\bpratich?[ae]\b/i,
74
74
  /\bstorytellers?\b/i,
75
75
  /\bnarrator[ei]\b/i,
76
+ /\bemployees?\b/i,
77
+ /\bdipendent[ei]\b/i,
76
78
  ];
77
79
 
78
80
  const isAppProvided = (key) => APP_PROVIDED_KEYS.some((p) => p.test(key));