payload-reserve 3.0.0 → 3.0.1

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.
@@ -1,15 +1,39 @@
1
- import ar from './ar.json';
2
- import de from './de.json';
3
- import en from './en.json';
4
- import es from './es.json';
5
- import fa from './fa.json';
6
- import fr from './fr.json';
7
- import hi from './hi.json';
8
- import id from './id.json';
9
- import pl from './pl.json';
10
- import ru from './ru.json';
11
- import tr from './tr.json';
12
- import zh from './zh.json';
1
+ import ar from './ar.json' with {
2
+ type: 'json'
3
+ };
4
+ import de from './de.json' with {
5
+ type: 'json'
6
+ };
7
+ import en from './en.json' with {
8
+ type: 'json'
9
+ };
10
+ import es from './es.json' with {
11
+ type: 'json'
12
+ };
13
+ import fa from './fa.json' with {
14
+ type: 'json'
15
+ };
16
+ import fr from './fr.json' with {
17
+ type: 'json'
18
+ };
19
+ import hi from './hi.json' with {
20
+ type: 'json'
21
+ };
22
+ import id from './id.json' with {
23
+ type: 'json'
24
+ };
25
+ import pl from './pl.json' with {
26
+ type: 'json'
27
+ };
28
+ import ru from './ru.json' with {
29
+ type: 'json'
30
+ };
31
+ import tr from './tr.json' with {
32
+ type: 'json'
33
+ };
34
+ import zh from './zh.json' with {
35
+ type: 'json'
36
+ };
13
37
  export const translations = {
14
38
  id: {
15
39
  reservation: id
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/translations/index.ts"],"sourcesContent":["import ar from './ar.json' with { type: 'json' }\nimport de from './de.json' with { type: 'json' }\nimport en from './en.json' with { type: 'json' }\nimport es from './es.json' with { type: 'json' }\nimport fa from './fa.json' with { type: 'json' }\nimport fr from './fr.json' with { type: 'json' }\nimport hi from './hi.json' with { type: 'json' }\nimport id from './id.json' with { type: 'json' }\nimport pl from './pl.json' with { type: 'json' }\nimport ru from './ru.json' with { type: 'json' }\nimport tr from './tr.json' with { type: 'json' }\nimport zh from './zh.json' with { type: 'json' }\n\nexport const translations: Record<string, Record<string, unknown>> = {\n id: { reservation: id },\n ar: { reservation: ar },\n de: { reservation: de },\n en: { reservation: en },\n es: { reservation: es },\n fa: { reservation: fa },\n fr: { reservation: fr },\n hi: { reservation: hi },\n pl: { reservation: pl },\n ru: { reservation: ru },\n tr: { reservation: tr },\n zh: { reservation: zh },\n}\n\ntype EnKeys = keyof typeof en\n/** Union of all valid plugin translation keys, e.g. `\"reservation:fieldName\"` */\nexport type PluginTranslationKeys = `reservation:${EnKeys}`\n\n/** Helper type for plugin translation calls (bypasses DefaultTranslationKeys constraint) */\nexport type PluginT = (key: string, vars?: Record<string, unknown>) => string\n"],"names":["ar","de","en","es","fa","fr","hi","id","pl","ru","tr","zh","translations","reservation"],"mappings":"AAAA,OAAOA,QAAQ,YAAiC;AAChD,OAAOC,QAAQ,YAAiC;AAChD,OAAOC,QAAQ,YAAiC;AAChD,OAAOC,QAAQ,YAAiC;AAChD,OAAOC,QAAQ,YAAiC;AAChD,OAAOC,QAAQ,YAAiC;AAChD,OAAOC,QAAQ,YAAiC;AAChD,OAAOC,QAAQ,YAAiC;AAChD,OAAOC,QAAQ,YAAiC;AAChD,OAAOC,QAAQ,YAAiC;AAChD,OAAOC,QAAQ,YAAiC;AAChD,OAAOC,QAAQ,YAAiC;AAEhD,OAAO,MAAMC,eAAwD;IACnEL,IAAI;QAAEM,aAAaN;IAAG;IACtBP,IAAI;QAAEa,aAAab;IAAG;IACtBC,IAAI;QAAEY,aAAaZ;IAAG;IACtBC,IAAI;QAAEW,aAAaX;IAAG;IACtBC,IAAI;QAAEU,aAAaV;IAAG;IACtBC,IAAI;QAAES,aAAaT;IAAG;IACtBC,IAAI;QAAEQ,aAAaR;IAAG;IACtBC,IAAI;QAAEO,aAAaP;IAAG;IACtBE,IAAI;QAAEK,aAAaL;IAAG;IACtBC,IAAI;QAAEI,aAAaJ;IAAG;IACtBC,IAAI;QAAEG,aAAaH;IAAG;IACtBC,IAAI;QAAEE,aAAaF;IAAG;AACxB,EAAC"}
1
+ {"version":3,"sources":["../../src/translations/index.ts"],"sourcesContent":["import ar from './ar.json' with { type: 'json' }\nimport de from './de.json' with { type: 'json' }\nimport en from './en.json' with { type: 'json' }\nimport es from './es.json' with { type: 'json' }\nimport fa from './fa.json' with { type: 'json' }\nimport fr from './fr.json' with { type: 'json' }\nimport hi from './hi.json' with { type: 'json' }\nimport id from './id.json' with { type: 'json' }\nimport pl from './pl.json' with { type: 'json' }\nimport ru from './ru.json' with { type: 'json' }\nimport tr from './tr.json' with { type: 'json' }\nimport zh from './zh.json' with { type: 'json' }\n\nexport const translations: Record<string, Record<string, unknown>> = {\n id: { reservation: id },\n ar: { reservation: ar },\n de: { reservation: de },\n en: { reservation: en },\n es: { reservation: es },\n fa: { reservation: fa },\n fr: { reservation: fr },\n hi: { reservation: hi },\n pl: { reservation: pl },\n ru: { reservation: ru },\n tr: { reservation: tr },\n zh: { reservation: zh },\n}\n\ntype EnKeys = keyof typeof en\n/** Union of all valid plugin translation keys, e.g. `\"reservation:fieldName\"` */\nexport type PluginTranslationKeys = `reservation:${EnKeys}`\n\n/** Helper type for plugin translation calls (bypasses DefaultTranslationKeys constraint) */\nexport type PluginT = (key: string, vars?: Record<string, unknown>) => string\n"],"names":["ar","type","de","en","es","fa","fr","hi","id","pl","ru","tr","zh","translations","reservation"],"mappings":"AAAA,OAAOA,QAAQ,iBAAiB;IAAEC,MAAM;AAAO,EAAC;AAChD,OAAOC,QAAQ,iBAAiB;IAAED,MAAM;AAAO,EAAC;AAChD,OAAOE,QAAQ,iBAAiB;IAAEF,MAAM;AAAO,EAAC;AAChD,OAAOG,QAAQ,iBAAiB;IAAEH,MAAM;AAAO,EAAC;AAChD,OAAOI,QAAQ,iBAAiB;IAAEJ,MAAM;AAAO,EAAC;AAChD,OAAOK,QAAQ,iBAAiB;IAAEL,MAAM;AAAO,EAAC;AAChD,OAAOM,QAAQ,iBAAiB;IAAEN,MAAM;AAAO,EAAC;AAChD,OAAOO,QAAQ,iBAAiB;IAAEP,MAAM;AAAO,EAAC;AAChD,OAAOQ,QAAQ,iBAAiB;IAAER,MAAM;AAAO,EAAC;AAChD,OAAOS,QAAQ,iBAAiB;IAAET,MAAM;AAAO,EAAC;AAChD,OAAOU,QAAQ,iBAAiB;IAAEV,MAAM;AAAO,EAAC;AAChD,OAAOW,QAAQ,iBAAiB;IAAEX,MAAM;AAAO,EAAC;AAEhD,OAAO,MAAMY,eAAwD;IACnEL,IAAI;QAAEM,aAAaN;IAAG;IACtBR,IAAI;QAAEc,aAAad;IAAG;IACtBE,IAAI;QAAEY,aAAaZ;IAAG;IACtBC,IAAI;QAAEW,aAAaX;IAAG;IACtBC,IAAI;QAAEU,aAAaV;IAAG;IACtBC,IAAI;QAAES,aAAaT;IAAG;IACtBC,IAAI;QAAEQ,aAAaR;IAAG;IACtBC,IAAI;QAAEO,aAAaP;IAAG;IACtBE,IAAI;QAAEK,aAAaL;IAAG;IACtBC,IAAI;QAAEI,aAAaJ;IAAG;IACtBC,IAAI;QAAEG,aAAaH;IAAG;IACtBC,IAAI;QAAEE,aAAaF;IAAG;AACxB,EAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payload-reserve",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "A Payload CMS 3.x plugin for reservation and booking management with conflict detection, status workflows, and calendar UI",
5
5
  "keywords": [
6
6
  "payload",