@timardex/cluemart-shared 1.5.622 → 1.5.624

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.
Files changed (46) hide show
  1. package/dist/{chunk-3VUHAHP7.mjs → chunk-4XOVXJUN.mjs} +2 -2
  2. package/dist/{chunk-ZR4TGWTS.mjs → chunk-JMOGW4IX.mjs} +5 -1
  3. package/dist/chunk-JMOGW4IX.mjs.map +1 -0
  4. package/dist/{chunk-S2VBOUOO.mjs → chunk-N26FUCHY.mjs} +2 -7
  5. package/dist/chunk-N26FUCHY.mjs.map +1 -0
  6. package/dist/{chunk-ZDDWPO5Y.mjs → chunk-OSUWKCUI.mjs} +3 -3
  7. package/dist/enums/index.cjs +4 -0
  8. package/dist/enums/index.cjs.map +1 -1
  9. package/dist/enums/index.d.mts +5 -1
  10. package/dist/enums/index.d.ts +5 -1
  11. package/dist/enums/index.mjs +1 -1
  12. package/dist/formFields/index.cjs.map +1 -1
  13. package/dist/formFields/index.mjs +3 -3
  14. package/dist/graphql/index.mjs +1 -1
  15. package/dist/hooks/index.cjs +1 -6
  16. package/dist/hooks/index.cjs.map +1 -1
  17. package/dist/hooks/index.mjs +4 -4
  18. package/dist/images/index.cjs +1 -6
  19. package/dist/images/index.cjs.map +1 -1
  20. package/dist/images/index.d.mts +1 -1
  21. package/dist/images/index.d.ts +1 -1
  22. package/dist/images/index.mjs +1 -1
  23. package/dist/images/poster1.webp +0 -0
  24. package/dist/images/poster2.webp +0 -0
  25. package/dist/images/poster3.webp +0 -0
  26. package/dist/index.cjs +5 -6
  27. package/dist/index.cjs.map +1 -1
  28. package/dist/index.d.mts +6 -2
  29. package/dist/index.d.ts +6 -2
  30. package/dist/index.mjs +5 -6
  31. package/dist/index.mjs.map +1 -1
  32. package/dist/utils/index.cjs.map +1 -1
  33. package/dist/utils/index.mjs +2 -2
  34. package/package.json +1 -1
  35. package/dist/chunk-S2VBOUOO.mjs.map +0 -1
  36. package/dist/chunk-ZR4TGWTS.mjs.map +0 -1
  37. package/dist/images/poster4.webp +0 -0
  38. package/dist/images/poster4.webp.d.ts +0 -2
  39. package/dist/images/poster5.webp +0 -0
  40. package/dist/images/poster5.webp.d.ts +0 -2
  41. package/dist/images/poster6.webp +0 -0
  42. package/dist/images/poster6.webp.d.ts +0 -2
  43. package/dist/images/poster7.webp +0 -0
  44. package/dist/images/poster7.webp.d.ts +0 -2
  45. /package/dist/{chunk-3VUHAHP7.mjs.map → chunk-4XOVXJUN.mjs.map} +0 -0
  46. /package/dist/{chunk-ZDDWPO5Y.mjs.map → chunk-OSUWKCUI.mjs.map} +0 -0
@@ -6,11 +6,11 @@ import {
6
6
  EnumPostContentType,
7
7
  EnumPostType
8
8
  } from "../chunk-6KNGLDLL.mjs";
9
- import "../chunk-ZDDWPO5Y.mjs";
9
+ import "../chunk-OSUWKCUI.mjs";
10
10
  import {
11
11
  SCHOOL_MIN_STUDENT_COUNT,
12
12
  normalizeUrl
13
- } from "../chunk-3VUHAHP7.mjs";
13
+ } from "../chunk-4XOVXJUN.mjs";
14
14
  import "../chunk-SBY5HTAP.mjs";
15
15
  import "../chunk-Z6IM4DWX.mjs";
16
16
  import {
@@ -24,8 +24,8 @@ import {
24
24
  EnumUserLicence,
25
25
  EnumUserRole,
26
26
  EnumVendorType
27
- } from "../chunk-ZR4TGWTS.mjs";
28
- import "../chunk-S2VBOUOO.mjs";
27
+ } from "../chunk-JMOGW4IX.mjs";
28
+ import "../chunk-N26FUCHY.mjs";
29
29
  import "../chunk-3NBZGJZM.mjs";
30
30
  import {
31
31
  dateFormat,
@@ -51,12 +51,7 @@ var posterIds = [
51
51
  "mini-market5",
52
52
  "poster1",
53
53
  "poster2",
54
- "poster3",
55
- // New
56
- "poster4",
57
- "poster5",
58
- "poster6",
59
- "poster7"
54
+ "poster3"
60
55
  ];
61
56
  var posterFiles = Object.fromEntries(
62
57
  posterIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/images/index.ts"],"sourcesContent":["const PKG = \"@timardex/cluemart-shared\" as const;\nexport const IMAGE_EXTENSION = \".webp\" as const;\n\n/**\n * Basenames under the shared images directory — use with `getSharedImagePath` from `@timardex/cluemart-shared/images/node` (Express / Node).\n * This object is the single source of poster keys; `posters` is derived from it. Add an image with `IMAGE_EXTENSION` under `src/images/posters/` when adding an entry.\n * `images/node` reads this at runtime for `getSharedImagePath` allow-listing.\n */\nexport const posterIds = [\n \"mini-market1\",\n \"mini-market2\",\n \"mini-market3\",\n \"mini-market4\",\n \"mini-market5\",\n \"poster1\",\n \"poster2\",\n \"poster3\",\n // New\n \"poster4\",\n \"poster5\",\n \"poster6\",\n \"poster7\",\n] as const;\n\nexport const posterFiles = Object.fromEntries(\n posterIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`]),\n) as {\n readonly [K in (typeof posterIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`;\n};\n\n/**\n * Basenames for assets under `src/images/clui/` in source; they are copied flat into `dist/images/` (same as posters).\n * `images/node` reads this at runtime for `getSharedImagePath` allow-listing.\n */\nexport const cluiIds = [\n \"cluiTui\",\n \"sima\",\n \"tablas\",\n \"telefonos\",\n \"ugralos\",\n] as const;\n\nexport const cluiFiles = Object.fromEntries(\n cluiIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`]),\n) as {\n readonly [K in (typeof cluiIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`;\n};\n\nexport const iconIds = [\n \"apple-maps-icon\",\n \"facebook\",\n \"google-maps-icon\",\n \"instagram\",\n \"meet\",\n \"poll\",\n \"tiktok\",\n \"tip\",\n \"waze-maps-icon\",\n \"website\",\n \"youtube\",\n] as const;\n\nexport const iconFiles = Object.fromEntries(\n iconIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`]),\n) as {\n readonly [K in (typeof iconIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`;\n};\n\nexport const badgeIds = [\"corporate\", \"private\", \"school\"] as const;\n\nexport const badgeFiles = Object.fromEntries(\n badgeIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`]),\n) as {\n readonly [K in (typeof badgeIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`;\n};\n\nexport const logoIds = [\n \"googleMaps-logo-dark\",\n \"googleMaps-logo-light\",\n \"logo\",\n \"logo-atr\",\n] as const;\n\nexport const logoFiles = Object.fromEntries(\n logoIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`]),\n) as {\n readonly [K in (typeof logoIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`;\n};\n\nexport const otherImagesIds = [\n \"banner-horizontal\",\n \"banner-vertical\",\n \"qr-code\",\n \"store-android\",\n \"store-ios\",\n] as const;\n\nexport const otherImagesFiles = Object.fromEntries(\n otherImagesIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`]),\n) as {\n readonly [K in (typeof otherImagesIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`;\n};\n\n/**\n * Module specifiers for each poster (not resolved file URLs). Use a static import or require with these paths\n * so your bundler resolves the file, e.g.\n * `import poster1 from \"@timardex/cluemart-shared/images/poster1.webp\"`\n * or `require(\"@timardex/cluemart-shared/images/poster1.webp\")` (React Native / Metro).\n *\n * Derived from `posterFiles` so keys and filenames stay aligned.\n */\nexport const posters = Object.fromEntries(\n (\n Object.entries(posterFiles) as [\n keyof typeof posterFiles,\n (typeof posterFiles)[keyof typeof posterFiles],\n ][]\n ).map(([key, file]) => [key, `${PKG}/images/${file}`]),\n) as {\n readonly [K in keyof typeof posterFiles]: `${typeof PKG}/images/${(typeof posterFiles)[K]}`;\n};\n\n/**\n * Module specifiers for Clui assets (same flat `@…/images/<file>.webp` pattern as posters), e.g.\n * `import clui from \"@timardex/cluemart-shared/images/cluiTui.webp\"`.\n */\nexport const cluiImages = Object.fromEntries(\n (\n Object.entries(cluiFiles) as [\n keyof typeof cluiFiles,\n (typeof cluiFiles)[keyof typeof cluiFiles],\n ][]\n ).map(([key, file]) => [key, `${PKG}/images/${file}`]),\n) as {\n readonly [K in keyof typeof cluiFiles]: `${typeof PKG}/images/${(typeof cluiFiles)[K]}`;\n};\n\nexport const icons = Object.fromEntries(\n (\n Object.entries(iconFiles) as [\n keyof typeof iconFiles,\n (typeof iconFiles)[keyof typeof iconFiles],\n ][]\n ).map(([key, file]) => [key, `${PKG}/images/${file}`]),\n) as {\n readonly [K in keyof typeof iconFiles]: `${typeof PKG}/images/${(typeof iconFiles)[K]}`;\n};\n\nexport const badges = Object.fromEntries(\n (\n Object.entries(badgeFiles) as [\n keyof typeof badgeFiles,\n (typeof badgeFiles)[keyof typeof badgeFiles],\n ][]\n ).map(([key, file]) => [key, `${PKG}/images/${file}`]),\n) as {\n readonly [K in keyof typeof badgeFiles]: `${typeof PKG}/images/${(typeof badgeFiles)[K]}`;\n};\n\nexport const logos = Object.fromEntries(\n (\n Object.entries(logoFiles) as [\n keyof typeof logoFiles,\n (typeof logoFiles)[keyof typeof logoFiles],\n ][]\n ).map(([key, file]) => [key, `${PKG}/images/${file}`]),\n) as {\n readonly [K in keyof typeof logoFiles]: `${typeof PKG}/images/${(typeof logoFiles)[K]}`;\n};\n\nexport const otherImages = Object.fromEntries(\n (\n Object.entries(otherImagesFiles) as [\n keyof typeof otherImagesFiles,\n (typeof otherImagesFiles)[keyof typeof otherImagesFiles],\n ][]\n ).map(([key, file]) => [key, `${PKG}/images/${file}`]),\n) as {\n readonly [K in keyof typeof otherImagesFiles]: `${typeof PKG}/images/${(typeof otherImagesFiles)[K]}`;\n};\n\nexport type PosterAssetId = keyof typeof posters;\n\n/** A single filename under the shared images directory (values of `posterFiles`). */\nexport type PosterImageBasename = (typeof posterFiles)[PosterAssetId];\n\nexport type CluiImageId = keyof typeof cluiImages;\n\n/** Basename under the shared images directory (values of `cluiFiles`). */\nexport type CluiImageBasename = (typeof cluiFiles)[CluiImageId];\n\nexport type IconId = keyof typeof icons;\nexport type IconBasename = (typeof iconFiles)[IconId];\n\nexport type BadgeId = keyof typeof badges;\nexport type BadgeBasename = (typeof badgeFiles)[BadgeId];\n\nexport type LogoId = keyof typeof logos;\nexport type LogoBasename = (typeof logoFiles)[LogoId];\n\nexport type OtherImagesId = keyof typeof otherImages;\nexport type OtherImagesBasename = (typeof otherImagesFiles)[OtherImagesId];\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAM,MAAM;AACL,IAAM,kBAAkB;AAOxB,IAAM,YAAY;AAAA,EACvB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,IAAM,cAAc,OAAO;AAAA,EAChC,UAAU,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,EAAE,GAAG,eAAe,EAAE,CAAC;AACvD;AAQO,IAAM,UAAU;AAAA,EACrB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,IAAM,YAAY,OAAO;AAAA,EAC9B,QAAQ,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,EAAE,GAAG,eAAe,EAAE,CAAC;AACrD;AAIO,IAAM,UAAU;AAAA,EACrB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,IAAM,YAAY,OAAO;AAAA,EAC9B,QAAQ,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,EAAE,GAAG,eAAe,EAAE,CAAC;AACrD;AAIO,IAAM,WAAW,CAAC,aAAa,WAAW,QAAQ;AAElD,IAAM,aAAa,OAAO;AAAA,EAC/B,SAAS,IAAI,CAAC,OAAO,CAAC,IAAI,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,OAAO,QAAQ,gBAAgB,EAI/B,IAAI,CAAC,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK,GAAG,GAAG,WAAW,IAAI,EAAE,CAAC;AACvD;","names":[]}
1
+ {"version":3,"sources":["../../src/images/index.ts"],"sourcesContent":["const PKG = \"@timardex/cluemart-shared\" as const;\nexport const IMAGE_EXTENSION = \".webp\" as const;\n\n/**\n * Basenames under the shared images directory — use with `getSharedImagePath` from `@timardex/cluemart-shared/images/node` (Express / Node).\n * This object is the single source of poster keys; `posters` is derived from it. Add an image with `IMAGE_EXTENSION` under `src/images/posters/` when adding an entry.\n * `images/node` reads this at runtime for `getSharedImagePath` allow-listing.\n */\nexport const posterIds = [\n \"mini-market1\",\n \"mini-market2\",\n \"mini-market3\",\n \"mini-market4\",\n \"mini-market5\",\n \"poster1\",\n \"poster2\",\n \"poster3\",\n] as const;\n\nexport const posterFiles = Object.fromEntries(\n posterIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`]),\n) as {\n readonly [K in (typeof posterIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`;\n};\n\n/**\n * Basenames for assets under `src/images/clui/` in source; they are copied flat into `dist/images/` (same as posters).\n * `images/node` reads this at runtime for `getSharedImagePath` allow-listing.\n */\nexport const cluiIds = [\n \"cluiTui\",\n \"sima\",\n \"tablas\",\n \"telefonos\",\n \"ugralos\",\n] as const;\n\nexport const cluiFiles = Object.fromEntries(\n cluiIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`]),\n) as {\n readonly [K in (typeof cluiIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`;\n};\n\nexport const iconIds = [\n \"apple-maps-icon\",\n \"facebook\",\n \"google-maps-icon\",\n \"instagram\",\n \"meet\",\n \"poll\",\n \"tiktok\",\n \"tip\",\n \"waze-maps-icon\",\n \"website\",\n \"youtube\",\n] as const;\n\nexport const iconFiles = Object.fromEntries(\n iconIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`]),\n) as {\n readonly [K in (typeof iconIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`;\n};\n\nexport const badgeIds = [\"corporate\", \"private\", \"school\"] as const;\n\nexport const badgeFiles = Object.fromEntries(\n badgeIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`]),\n) as {\n readonly [K in (typeof badgeIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`;\n};\n\nexport const logoIds = [\n \"googleMaps-logo-dark\",\n \"googleMaps-logo-light\",\n \"logo\",\n \"logo-atr\",\n] as const;\n\nexport const logoFiles = Object.fromEntries(\n logoIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`]),\n) as {\n readonly [K in (typeof logoIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`;\n};\n\nexport const otherImagesIds = [\n \"banner-horizontal\",\n \"banner-vertical\",\n \"qr-code\",\n \"store-android\",\n \"store-ios\",\n] as const;\n\nexport const otherImagesFiles = Object.fromEntries(\n otherImagesIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`]),\n) as {\n readonly [K in (typeof otherImagesIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`;\n};\n\n/**\n * Module specifiers for each poster (not resolved file URLs). Use a static import or require with these paths\n * so your bundler resolves the file, e.g.\n * `import poster1 from \"@timardex/cluemart-shared/images/poster1.webp\"`\n * or `require(\"@timardex/cluemart-shared/images/poster1.webp\")` (React Native / Metro).\n *\n * Derived from `posterFiles` so keys and filenames stay aligned.\n */\nexport const posters = Object.fromEntries(\n (\n Object.entries(posterFiles) as [\n keyof typeof posterFiles,\n (typeof posterFiles)[keyof typeof posterFiles],\n ][]\n ).map(([key, file]) => [key, `${PKG}/images/${file}`]),\n) as {\n readonly [K in keyof typeof posterFiles]: `${typeof PKG}/images/${(typeof posterFiles)[K]}`;\n};\n\n/**\n * Module specifiers for Clui assets (same flat `@…/images/<file>.webp` pattern as posters), e.g.\n * `import clui from \"@timardex/cluemart-shared/images/cluiTui.webp\"`.\n */\nexport const cluiImages = Object.fromEntries(\n (\n Object.entries(cluiFiles) as [\n keyof typeof cluiFiles,\n (typeof cluiFiles)[keyof typeof cluiFiles],\n ][]\n ).map(([key, file]) => [key, `${PKG}/images/${file}`]),\n) as {\n readonly [K in keyof typeof cluiFiles]: `${typeof PKG}/images/${(typeof cluiFiles)[K]}`;\n};\n\nexport const icons = Object.fromEntries(\n (\n Object.entries(iconFiles) as [\n keyof typeof iconFiles,\n (typeof iconFiles)[keyof typeof iconFiles],\n ][]\n ).map(([key, file]) => [key, `${PKG}/images/${file}`]),\n) as {\n readonly [K in keyof typeof iconFiles]: `${typeof PKG}/images/${(typeof iconFiles)[K]}`;\n};\n\nexport const badges = Object.fromEntries(\n (\n Object.entries(badgeFiles) as [\n keyof typeof badgeFiles,\n (typeof badgeFiles)[keyof typeof badgeFiles],\n ][]\n ).map(([key, file]) => [key, `${PKG}/images/${file}`]),\n) as {\n readonly [K in keyof typeof badgeFiles]: `${typeof PKG}/images/${(typeof badgeFiles)[K]}`;\n};\n\nexport const logos = Object.fromEntries(\n (\n Object.entries(logoFiles) as [\n keyof typeof logoFiles,\n (typeof logoFiles)[keyof typeof logoFiles],\n ][]\n ).map(([key, file]) => [key, `${PKG}/images/${file}`]),\n) as {\n readonly [K in keyof typeof logoFiles]: `${typeof PKG}/images/${(typeof logoFiles)[K]}`;\n};\n\nexport const otherImages = Object.fromEntries(\n (\n Object.entries(otherImagesFiles) as [\n keyof typeof otherImagesFiles,\n (typeof otherImagesFiles)[keyof typeof otherImagesFiles],\n ][]\n ).map(([key, file]) => [key, `${PKG}/images/${file}`]),\n) as {\n readonly [K in keyof typeof otherImagesFiles]: `${typeof PKG}/images/${(typeof otherImagesFiles)[K]}`;\n};\n\nexport type PosterAssetId = keyof typeof posters;\n\n/** A single filename under the shared images directory (values of `posterFiles`). */\nexport type PosterImageBasename = (typeof posterFiles)[PosterAssetId];\n\nexport type CluiImageId = keyof typeof cluiImages;\n\n/** Basename under the shared images directory (values of `cluiFiles`). */\nexport type CluiImageBasename = (typeof cluiFiles)[CluiImageId];\n\nexport type IconId = keyof typeof icons;\nexport type IconBasename = (typeof iconFiles)[IconId];\n\nexport type BadgeId = keyof typeof badges;\nexport type BadgeBasename = (typeof badgeFiles)[BadgeId];\n\nexport type LogoId = keyof typeof logos;\nexport type LogoBasename = (typeof logoFiles)[LogoId];\n\nexport type OtherImagesId = keyof typeof otherImages;\nexport type OtherImagesBasename = (typeof otherImagesFiles)[OtherImagesId];\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAM,MAAM;AACL,IAAM,kBAAkB;AAOxB,IAAM,YAAY;AAAA,EACvB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,IAAM,cAAc,OAAO;AAAA,EAChC,UAAU,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,EAAE,GAAG,eAAe,EAAE,CAAC;AACvD;AAQO,IAAM,UAAU;AAAA,EACrB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,IAAM,YAAY,OAAO;AAAA,EAC9B,QAAQ,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,EAAE,GAAG,eAAe,EAAE,CAAC;AACrD;AAIO,IAAM,UAAU;AAAA,EACrB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,IAAM,YAAY,OAAO;AAAA,EAC9B,QAAQ,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,EAAE,GAAG,eAAe,EAAE,CAAC;AACrD;AAIO,IAAM,WAAW,CAAC,aAAa,WAAW,QAAQ;AAElD,IAAM,aAAa,OAAO;AAAA,EAC/B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;AAIO,IAAM,cAAc,OAAO;AAAA,EAE9B,OAAO,QAAQ,gBAAgB,EAI/B,IAAI,CAAC,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK,GAAG,GAAG,WAAW,IAAI,EAAE,CAAC;AACvD;","names":[]}
@@ -5,7 +5,7 @@ declare const IMAGE_EXTENSION: ".webp";
5
5
  * This object is the single source of poster keys; `posters` is derived from it. Add an image with `IMAGE_EXTENSION` under `src/images/posters/` when adding an entry.
6
6
  * `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
7
7
  */
8
- declare const posterIds: readonly ["mini-market1", "mini-market2", "mini-market3", "mini-market4", "mini-market5", "poster1", "poster2", "poster3", "poster4", "poster5", "poster6", "poster7"];
8
+ declare const posterIds: readonly ["mini-market1", "mini-market2", "mini-market3", "mini-market4", "mini-market5", "poster1", "poster2", "poster3"];
9
9
  declare const posterFiles: { readonly [K in (typeof posterIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
10
10
  /**
11
11
  * Basenames for assets under `src/images/clui/` in source; they are copied flat into `dist/images/` (same as posters).
@@ -5,7 +5,7 @@ declare const IMAGE_EXTENSION: ".webp";
5
5
  * This object is the single source of poster keys; `posters` is derived from it. Add an image with `IMAGE_EXTENSION` under `src/images/posters/` when adding an entry.
6
6
  * `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
7
7
  */
8
- declare const posterIds: readonly ["mini-market1", "mini-market2", "mini-market3", "mini-market4", "mini-market5", "poster1", "poster2", "poster3", "poster4", "poster5", "poster6", "poster7"];
8
+ declare const posterIds: readonly ["mini-market1", "mini-market2", "mini-market3", "mini-market4", "mini-market5", "poster1", "poster2", "poster3"];
9
9
  declare const posterFiles: { readonly [K in (typeof posterIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
10
10
  /**
11
11
  * Basenames for assets under `src/images/clui/` in source; they are copied flat into `dist/images/` (same as posters).
@@ -18,7 +18,7 @@ import {
18
18
  posterFiles,
19
19
  posterIds,
20
20
  posters
21
- } from "../chunk-S2VBOUOO.mjs";
21
+ } from "../chunk-N26FUCHY.mjs";
22
22
  export {
23
23
  IMAGE_EXTENSION,
24
24
  badgeFiles,
Binary file
Binary file
Binary file
package/dist/index.cjs CHANGED
@@ -505,6 +505,8 @@ var EnumOSPlatform = /* @__PURE__ */ ((EnumOSPlatform2) => {
505
505
  })(EnumOSPlatform || {});
506
506
  var EnumRelationResource = /* @__PURE__ */ ((EnumRelationResource2) => {
507
507
  EnumRelationResource2["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
508
+ EnumRelationResource2["EVENT_UPDATE_RELATION_TO_VENDOR"] = "event_update_relation_to_vendor";
509
+ EnumRelationResource2["VENDOR_UPDATE_RELATION_TO_EVENT"] = "vendor_update_relation_to_event";
508
510
  EnumRelationResource2["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event";
509
511
  return EnumRelationResource2;
510
512
  })(EnumRelationResource || {});
@@ -530,6 +532,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
530
532
  EnumNotificationResourceType2["DOWNGRADED_VENDOR"] = "downgraded_vendor";
531
533
  EnumNotificationResourceType2["EVENT_INVITE_VENDOR"] = "event_invite_vendor" /* EVENT_INVITE_VENDOR */;
532
534
  EnumNotificationResourceType2["EVENT_STARTING_SOON"] = "event_starting_soon";
535
+ EnumNotificationResourceType2["EVENT_UPDATE_RELATION_TO_VENDOR"] = "event_update_relation_to_vendor" /* EVENT_UPDATE_RELATION_TO_VENDOR */;
533
536
  EnumNotificationResourceType2["EXPIRATION_REMINDER_EVENT"] = "expiration_reminder_event";
534
537
  EnumNotificationResourceType2["EXPIRATION_REMINDER_PARTNER"] = "expiration_reminder_partner";
535
538
  EnumNotificationResourceType2["EXPIRATION_REMINDER_VENDOR"] = "expiration_reminder_vendor";
@@ -538,6 +541,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
538
541
  EnumNotificationResourceType2["REGISTERED_USER_BY_SCHOOL_CODE"] = "registered_user_by_school_code";
539
542
  EnumNotificationResourceType2["SYSTEM_ALERT"] = "system_alert";
540
543
  EnumNotificationResourceType2["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event" /* VENDOR_APPLICATION_TO_EVENT */;
544
+ EnumNotificationResourceType2["VENDOR_UPDATE_RELATION_TO_EVENT"] = "vendor_update_relation_to_event" /* VENDOR_UPDATE_RELATION_TO_EVENT */;
541
545
  return EnumNotificationResourceType2;
542
546
  })(EnumNotificationResourceType || {});
543
547
  var EnumNotificationType = /* @__PURE__ */ ((EnumNotificationType2) => {
@@ -8792,12 +8796,7 @@ var posterIds = [
8792
8796
  "mini-market5",
8793
8797
  "poster1",
8794
8798
  "poster2",
8795
- "poster3",
8796
- // New
8797
- "poster4",
8798
- "poster5",
8799
- "poster6",
8800
- "poster7"
8799
+ "poster3"
8801
8800
  ];
8802
8801
  var posterFiles = Object.fromEntries(
8803
8802
  posterIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])