@timardex/cluemart-shared 1.5.531 → 1.5.533
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/dist/{chunk-534WN2SR.mjs → chunk-73ULMQM6.mjs} +2 -2
- package/dist/chunk-73ULMQM6.mjs.map +1 -0
- package/dist/{chunk-XEIQR6NA.mjs → chunk-QZE7FORG.mjs} +3 -3
- package/dist/{chunk-LZ2KFVBV.mjs → chunk-RRNJ54MF.mjs} +2 -2
- package/dist/enums/index.cjs +1 -1
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +1 -1
- package/dist/enums/index.d.ts +1 -1
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/graphql/index.d.mts +2 -1
- package/dist/graphql/index.d.ts +2 -1
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +2 -1
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.mjs +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +59 -62
- package/dist/index.d.ts +59 -62
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{post-DZ_wwOQN.d.ts → post-CISTnZDs.d.ts} +10 -5
- package/dist/{post-BRychs8s.d.mts → post-Dpg2AwRf.d.mts} +10 -5
- package/dist/types/index.d.mts +3 -9
- package/dist/types/index.d.ts +3 -9
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-534WN2SR.mjs.map +0 -1
- /package/dist/{chunk-XEIQR6NA.mjs.map → chunk-QZE7FORG.mjs.map} +0 -0
- /package/dist/{chunk-LZ2KFVBV.mjs.map → chunk-RRNJ54MF.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -123,7 +123,7 @@ declare enum EnumNotificationResourceType {
|
|
|
123
123
|
DECLINED_EVENT = "declined_event",
|
|
124
124
|
DECLINED_PARTNER = "declined_partner",
|
|
125
125
|
DECLINED_VENDOR = "declined_vendor",
|
|
126
|
-
|
|
126
|
+
DAILY_CLUE_GAME = "daily_clue_game",
|
|
127
127
|
EVENT_INVITE_VENDOR = "event_invite_vendor",
|
|
128
128
|
EVENT_STARTING_SOON = "event_starting_soon",
|
|
129
129
|
EXPIRATION_REMINDER_EVENT = "expiration_reminder_event",
|
|
@@ -751,9 +751,65 @@ type CreateBulkNotificationInput = {
|
|
|
751
751
|
userIds: string[];
|
|
752
752
|
};
|
|
753
753
|
|
|
754
|
+
declare const PKG: "@timardex/cluemart-shared";
|
|
755
|
+
declare const IMAGE_EXTENSION: ".webp";
|
|
756
|
+
/**
|
|
757
|
+
* Basenames under the shared images directory — use with `getSharedImagePath` from `@timardex/cluemart-shared/images/node` (Express / Node).
|
|
758
|
+
* 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.
|
|
759
|
+
* `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
|
|
760
|
+
*/
|
|
761
|
+
declare const posterIds: readonly ["poster1", "poster2", "poster3"];
|
|
762
|
+
declare const posterFiles: { readonly [K in (typeof posterIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
763
|
+
/**
|
|
764
|
+
* Basenames for assets under `src/images/clui/` in source; they are copied flat into `dist/images/` (same as posters).
|
|
765
|
+
* `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
|
|
766
|
+
*/
|
|
767
|
+
declare const cluiIds: readonly ["cluiTui", "sima", "tablas", "telefonos", "ugralos"];
|
|
768
|
+
declare const cluiFiles: { readonly [K in (typeof cluiIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
769
|
+
declare const iconIds: readonly ["apple-maps-icon", "facebook", "google-maps-icon", "instagram", "meet", "poll", "tiktok", "tip", "waze-maps-icon", "website", "youtube"];
|
|
770
|
+
declare const iconFiles: { readonly [K in (typeof iconIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
771
|
+
declare const badgeIds: readonly ["corporate", "private", "school"];
|
|
772
|
+
declare const badgeFiles: { readonly [K in (typeof badgeIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
773
|
+
declare const logoIds: readonly ["googleMaps-logo-dark", "googleMaps-logo-light", "logo", "logo-atr"];
|
|
774
|
+
declare const logoFiles: { readonly [K in (typeof logoIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
775
|
+
declare const otherImagesIds: readonly ["banner-horizontal", "banner-vertical", "qr-code", "store-android", "store-ios"];
|
|
776
|
+
declare const otherImagesFiles: { readonly [K in (typeof otherImagesIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
777
|
+
/**
|
|
778
|
+
* Module specifiers for each poster (not resolved file URLs). Use a static import or require with these paths
|
|
779
|
+
* so your bundler resolves the file, e.g.
|
|
780
|
+
* `import poster1 from "@timardex/cluemart-shared/images/poster1.webp"`
|
|
781
|
+
* or `require("@timardex/cluemart-shared/images/poster1.webp")` (React Native / Metro).
|
|
782
|
+
*
|
|
783
|
+
* Derived from `posterFiles` so keys and filenames stay aligned.
|
|
784
|
+
*/
|
|
785
|
+
declare const posters: { readonly [K in keyof typeof posterFiles]: `${typeof PKG}/images/${(typeof posterFiles)[K]}`; };
|
|
786
|
+
/**
|
|
787
|
+
* Module specifiers for Clui assets (same flat `@…/images/<file>.webp` pattern as posters), e.g.
|
|
788
|
+
* `import clui from "@timardex/cluemart-shared/images/cluiTui.webp"`.
|
|
789
|
+
*/
|
|
790
|
+
declare const cluiImages: { readonly [K in keyof typeof cluiFiles]: `${typeof PKG}/images/${(typeof cluiFiles)[K]}`; };
|
|
791
|
+
declare const icons: { readonly [K in keyof typeof iconFiles]: `${typeof PKG}/images/${(typeof iconFiles)[K]}`; };
|
|
792
|
+
declare const badges: { readonly [K in keyof typeof badgeFiles]: `${typeof PKG}/images/${(typeof badgeFiles)[K]}`; };
|
|
793
|
+
declare const logos: { readonly [K in keyof typeof logoFiles]: `${typeof PKG}/images/${(typeof logoFiles)[K]}`; };
|
|
794
|
+
declare const otherImages: { readonly [K in keyof typeof otherImagesFiles]: `${typeof PKG}/images/${(typeof otherImagesFiles)[K]}`; };
|
|
795
|
+
type PosterAssetId = keyof typeof posters;
|
|
796
|
+
/** A single filename under the shared images directory (values of `posterFiles`). */
|
|
797
|
+
type PosterImageBasename = (typeof posterFiles)[PosterAssetId];
|
|
798
|
+
type CluiImageId = keyof typeof cluiImages;
|
|
799
|
+
/** Basename under the shared images directory (values of `cluiFiles`). */
|
|
800
|
+
type CluiImageBasename = (typeof cluiFiles)[CluiImageId];
|
|
801
|
+
type IconId = keyof typeof icons;
|
|
802
|
+
type IconBasename = (typeof iconFiles)[IconId];
|
|
803
|
+
type BadgeId = keyof typeof badges;
|
|
804
|
+
type BadgeBasename = (typeof badgeFiles)[BadgeId];
|
|
805
|
+
type LogoId = keyof typeof logos;
|
|
806
|
+
type LogoBasename = (typeof logoFiles)[LogoId];
|
|
807
|
+
type OtherImagesId = keyof typeof otherImages;
|
|
808
|
+
type OtherImagesBasename = (typeof otherImagesFiles)[OtherImagesId];
|
|
809
|
+
|
|
754
810
|
interface PosterInputType {
|
|
755
811
|
description: string;
|
|
756
|
-
posterName:
|
|
812
|
+
posterName: PosterAssetId;
|
|
757
813
|
resourceId: string;
|
|
758
814
|
resourceType: EnumResourceType;
|
|
759
815
|
}
|
|
@@ -1245,10 +1301,7 @@ type SchoolReturnType = {
|
|
|
1245
1301
|
school: SchoolType;
|
|
1246
1302
|
users: SchoolRegisteredUserType[];
|
|
1247
1303
|
};
|
|
1248
|
-
|
|
1249
|
-
posterName: string;
|
|
1250
|
-
resourceId: string;
|
|
1251
|
-
}
|
|
1304
|
+
type MarketingMaterialRequestInputType = Pick<PosterInputType, "resourceId" | "posterName">;
|
|
1252
1305
|
|
|
1253
1306
|
declare const vendorElectricity: {
|
|
1254
1307
|
details: FormField;
|
|
@@ -2477,62 +2530,6 @@ declare function useAppSettingsForm(data?: AppSettingsFormData): CreateAppSettin
|
|
|
2477
2530
|
|
|
2478
2531
|
declare function useSchoolForm(data?: SchoolFormData): CreateSchoolFormData;
|
|
2479
2532
|
|
|
2480
|
-
declare const PKG: "@timardex/cluemart-shared";
|
|
2481
|
-
declare const IMAGE_EXTENSION: ".webp";
|
|
2482
|
-
/**
|
|
2483
|
-
* Basenames under the shared images directory — use with `getSharedImagePath` from `@timardex/cluemart-shared/images/node` (Express / Node).
|
|
2484
|
-
* 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.
|
|
2485
|
-
* `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
|
|
2486
|
-
*/
|
|
2487
|
-
declare const posterIds: readonly ["poster1", "poster2", "poster3"];
|
|
2488
|
-
declare const posterFiles: { readonly [K in (typeof posterIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2489
|
-
/**
|
|
2490
|
-
* Basenames for assets under `src/images/clui/` in source; they are copied flat into `dist/images/` (same as posters).
|
|
2491
|
-
* `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
|
|
2492
|
-
*/
|
|
2493
|
-
declare const cluiIds: readonly ["cluiTui", "sima", "tablas", "telefonos", "ugralos"];
|
|
2494
|
-
declare const cluiFiles: { readonly [K in (typeof cluiIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2495
|
-
declare const iconIds: readonly ["apple-maps-icon", "facebook", "google-maps-icon", "instagram", "meet", "poll", "tiktok", "tip", "waze-maps-icon", "website", "youtube"];
|
|
2496
|
-
declare const iconFiles: { readonly [K in (typeof iconIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2497
|
-
declare const badgeIds: readonly ["corporate", "private", "school"];
|
|
2498
|
-
declare const badgeFiles: { readonly [K in (typeof badgeIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2499
|
-
declare const logoIds: readonly ["googleMaps-logo-dark", "googleMaps-logo-light", "logo", "logo-atr"];
|
|
2500
|
-
declare const logoFiles: { readonly [K in (typeof logoIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2501
|
-
declare const otherImagesIds: readonly ["banner-horizontal", "banner-vertical", "qr-code", "store-android", "store-ios"];
|
|
2502
|
-
declare const otherImagesFiles: { readonly [K in (typeof otherImagesIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2503
|
-
/**
|
|
2504
|
-
* Module specifiers for each poster (not resolved file URLs). Use a static import or require with these paths
|
|
2505
|
-
* so your bundler resolves the file, e.g.
|
|
2506
|
-
* `import poster1 from "@timardex/cluemart-shared/images/poster1.webp"`
|
|
2507
|
-
* or `require("@timardex/cluemart-shared/images/poster1.webp")` (React Native / Metro).
|
|
2508
|
-
*
|
|
2509
|
-
* Derived from `posterFiles` so keys and filenames stay aligned.
|
|
2510
|
-
*/
|
|
2511
|
-
declare const posters: { readonly [K in keyof typeof posterFiles]: `${typeof PKG}/images/${(typeof posterFiles)[K]}`; };
|
|
2512
|
-
/**
|
|
2513
|
-
* Module specifiers for Clui assets (same flat `@…/images/<file>.webp` pattern as posters), e.g.
|
|
2514
|
-
* `import clui from "@timardex/cluemart-shared/images/cluiTui.webp"`.
|
|
2515
|
-
*/
|
|
2516
|
-
declare const cluiImages: { readonly [K in keyof typeof cluiFiles]: `${typeof PKG}/images/${(typeof cluiFiles)[K]}`; };
|
|
2517
|
-
declare const icons: { readonly [K in keyof typeof iconFiles]: `${typeof PKG}/images/${(typeof iconFiles)[K]}`; };
|
|
2518
|
-
declare const badges: { readonly [K in keyof typeof badgeFiles]: `${typeof PKG}/images/${(typeof badgeFiles)[K]}`; };
|
|
2519
|
-
declare const logos: { readonly [K in keyof typeof logoFiles]: `${typeof PKG}/images/${(typeof logoFiles)[K]}`; };
|
|
2520
|
-
declare const otherImages: { readonly [K in keyof typeof otherImagesFiles]: `${typeof PKG}/images/${(typeof otherImagesFiles)[K]}`; };
|
|
2521
|
-
type PosterAssetId = keyof typeof posters;
|
|
2522
|
-
/** A single filename under the shared images directory (values of `posterFiles`). */
|
|
2523
|
-
type PosterImageBasename = (typeof posterFiles)[PosterAssetId];
|
|
2524
|
-
type CluiImageId = keyof typeof cluiImages;
|
|
2525
|
-
/** Basename under the shared images directory (values of `cluiFiles`). */
|
|
2526
|
-
type CluiImageBasename = (typeof cluiFiles)[CluiImageId];
|
|
2527
|
-
type IconId = keyof typeof icons;
|
|
2528
|
-
type IconBasename = (typeof iconFiles)[IconId];
|
|
2529
|
-
type BadgeId = keyof typeof badges;
|
|
2530
|
-
type BadgeBasename = (typeof badgeFiles)[BadgeId];
|
|
2531
|
-
type LogoId = keyof typeof logos;
|
|
2532
|
-
type LogoBasename = (typeof logoFiles)[LogoId];
|
|
2533
|
-
type OtherImagesId = keyof typeof otherImages;
|
|
2534
|
-
type OtherImagesBasename = (typeof otherImagesFiles)[OtherImagesId];
|
|
2535
|
-
|
|
2536
2533
|
declare const SAVED_PASSWORD_KEY = "savedPassword";
|
|
2537
2534
|
declare const SAVED_EMAIL_KEY = "savedEmail";
|
|
2538
2535
|
declare const SAVED_TOKEN_KEY = "savedToken";
|
package/dist/index.d.ts
CHANGED
|
@@ -123,7 +123,7 @@ declare enum EnumNotificationResourceType {
|
|
|
123
123
|
DECLINED_EVENT = "declined_event",
|
|
124
124
|
DECLINED_PARTNER = "declined_partner",
|
|
125
125
|
DECLINED_VENDOR = "declined_vendor",
|
|
126
|
-
|
|
126
|
+
DAILY_CLUE_GAME = "daily_clue_game",
|
|
127
127
|
EVENT_INVITE_VENDOR = "event_invite_vendor",
|
|
128
128
|
EVENT_STARTING_SOON = "event_starting_soon",
|
|
129
129
|
EXPIRATION_REMINDER_EVENT = "expiration_reminder_event",
|
|
@@ -751,9 +751,65 @@ type CreateBulkNotificationInput = {
|
|
|
751
751
|
userIds: string[];
|
|
752
752
|
};
|
|
753
753
|
|
|
754
|
+
declare const PKG: "@timardex/cluemart-shared";
|
|
755
|
+
declare const IMAGE_EXTENSION: ".webp";
|
|
756
|
+
/**
|
|
757
|
+
* Basenames under the shared images directory — use with `getSharedImagePath` from `@timardex/cluemart-shared/images/node` (Express / Node).
|
|
758
|
+
* 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.
|
|
759
|
+
* `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
|
|
760
|
+
*/
|
|
761
|
+
declare const posterIds: readonly ["poster1", "poster2", "poster3"];
|
|
762
|
+
declare const posterFiles: { readonly [K in (typeof posterIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
763
|
+
/**
|
|
764
|
+
* Basenames for assets under `src/images/clui/` in source; they are copied flat into `dist/images/` (same as posters).
|
|
765
|
+
* `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
|
|
766
|
+
*/
|
|
767
|
+
declare const cluiIds: readonly ["cluiTui", "sima", "tablas", "telefonos", "ugralos"];
|
|
768
|
+
declare const cluiFiles: { readonly [K in (typeof cluiIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
769
|
+
declare const iconIds: readonly ["apple-maps-icon", "facebook", "google-maps-icon", "instagram", "meet", "poll", "tiktok", "tip", "waze-maps-icon", "website", "youtube"];
|
|
770
|
+
declare const iconFiles: { readonly [K in (typeof iconIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
771
|
+
declare const badgeIds: readonly ["corporate", "private", "school"];
|
|
772
|
+
declare const badgeFiles: { readonly [K in (typeof badgeIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
773
|
+
declare const logoIds: readonly ["googleMaps-logo-dark", "googleMaps-logo-light", "logo", "logo-atr"];
|
|
774
|
+
declare const logoFiles: { readonly [K in (typeof logoIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
775
|
+
declare const otherImagesIds: readonly ["banner-horizontal", "banner-vertical", "qr-code", "store-android", "store-ios"];
|
|
776
|
+
declare const otherImagesFiles: { readonly [K in (typeof otherImagesIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
777
|
+
/**
|
|
778
|
+
* Module specifiers for each poster (not resolved file URLs). Use a static import or require with these paths
|
|
779
|
+
* so your bundler resolves the file, e.g.
|
|
780
|
+
* `import poster1 from "@timardex/cluemart-shared/images/poster1.webp"`
|
|
781
|
+
* or `require("@timardex/cluemart-shared/images/poster1.webp")` (React Native / Metro).
|
|
782
|
+
*
|
|
783
|
+
* Derived from `posterFiles` so keys and filenames stay aligned.
|
|
784
|
+
*/
|
|
785
|
+
declare const posters: { readonly [K in keyof typeof posterFiles]: `${typeof PKG}/images/${(typeof posterFiles)[K]}`; };
|
|
786
|
+
/**
|
|
787
|
+
* Module specifiers for Clui assets (same flat `@…/images/<file>.webp` pattern as posters), e.g.
|
|
788
|
+
* `import clui from "@timardex/cluemart-shared/images/cluiTui.webp"`.
|
|
789
|
+
*/
|
|
790
|
+
declare const cluiImages: { readonly [K in keyof typeof cluiFiles]: `${typeof PKG}/images/${(typeof cluiFiles)[K]}`; };
|
|
791
|
+
declare const icons: { readonly [K in keyof typeof iconFiles]: `${typeof PKG}/images/${(typeof iconFiles)[K]}`; };
|
|
792
|
+
declare const badges: { readonly [K in keyof typeof badgeFiles]: `${typeof PKG}/images/${(typeof badgeFiles)[K]}`; };
|
|
793
|
+
declare const logos: { readonly [K in keyof typeof logoFiles]: `${typeof PKG}/images/${(typeof logoFiles)[K]}`; };
|
|
794
|
+
declare const otherImages: { readonly [K in keyof typeof otherImagesFiles]: `${typeof PKG}/images/${(typeof otherImagesFiles)[K]}`; };
|
|
795
|
+
type PosterAssetId = keyof typeof posters;
|
|
796
|
+
/** A single filename under the shared images directory (values of `posterFiles`). */
|
|
797
|
+
type PosterImageBasename = (typeof posterFiles)[PosterAssetId];
|
|
798
|
+
type CluiImageId = keyof typeof cluiImages;
|
|
799
|
+
/** Basename under the shared images directory (values of `cluiFiles`). */
|
|
800
|
+
type CluiImageBasename = (typeof cluiFiles)[CluiImageId];
|
|
801
|
+
type IconId = keyof typeof icons;
|
|
802
|
+
type IconBasename = (typeof iconFiles)[IconId];
|
|
803
|
+
type BadgeId = keyof typeof badges;
|
|
804
|
+
type BadgeBasename = (typeof badgeFiles)[BadgeId];
|
|
805
|
+
type LogoId = keyof typeof logos;
|
|
806
|
+
type LogoBasename = (typeof logoFiles)[LogoId];
|
|
807
|
+
type OtherImagesId = keyof typeof otherImages;
|
|
808
|
+
type OtherImagesBasename = (typeof otherImagesFiles)[OtherImagesId];
|
|
809
|
+
|
|
754
810
|
interface PosterInputType {
|
|
755
811
|
description: string;
|
|
756
|
-
posterName:
|
|
812
|
+
posterName: PosterAssetId;
|
|
757
813
|
resourceId: string;
|
|
758
814
|
resourceType: EnumResourceType;
|
|
759
815
|
}
|
|
@@ -1245,10 +1301,7 @@ type SchoolReturnType = {
|
|
|
1245
1301
|
school: SchoolType;
|
|
1246
1302
|
users: SchoolRegisteredUserType[];
|
|
1247
1303
|
};
|
|
1248
|
-
|
|
1249
|
-
posterName: string;
|
|
1250
|
-
resourceId: string;
|
|
1251
|
-
}
|
|
1304
|
+
type MarketingMaterialRequestInputType = Pick<PosterInputType, "resourceId" | "posterName">;
|
|
1252
1305
|
|
|
1253
1306
|
declare const vendorElectricity: {
|
|
1254
1307
|
details: FormField;
|
|
@@ -2477,62 +2530,6 @@ declare function useAppSettingsForm(data?: AppSettingsFormData): CreateAppSettin
|
|
|
2477
2530
|
|
|
2478
2531
|
declare function useSchoolForm(data?: SchoolFormData): CreateSchoolFormData;
|
|
2479
2532
|
|
|
2480
|
-
declare const PKG: "@timardex/cluemart-shared";
|
|
2481
|
-
declare const IMAGE_EXTENSION: ".webp";
|
|
2482
|
-
/**
|
|
2483
|
-
* Basenames under the shared images directory — use with `getSharedImagePath` from `@timardex/cluemart-shared/images/node` (Express / Node).
|
|
2484
|
-
* 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.
|
|
2485
|
-
* `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
|
|
2486
|
-
*/
|
|
2487
|
-
declare const posterIds: readonly ["poster1", "poster2", "poster3"];
|
|
2488
|
-
declare const posterFiles: { readonly [K in (typeof posterIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2489
|
-
/**
|
|
2490
|
-
* Basenames for assets under `src/images/clui/` in source; they are copied flat into `dist/images/` (same as posters).
|
|
2491
|
-
* `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
|
|
2492
|
-
*/
|
|
2493
|
-
declare const cluiIds: readonly ["cluiTui", "sima", "tablas", "telefonos", "ugralos"];
|
|
2494
|
-
declare const cluiFiles: { readonly [K in (typeof cluiIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2495
|
-
declare const iconIds: readonly ["apple-maps-icon", "facebook", "google-maps-icon", "instagram", "meet", "poll", "tiktok", "tip", "waze-maps-icon", "website", "youtube"];
|
|
2496
|
-
declare const iconFiles: { readonly [K in (typeof iconIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2497
|
-
declare const badgeIds: readonly ["corporate", "private", "school"];
|
|
2498
|
-
declare const badgeFiles: { readonly [K in (typeof badgeIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2499
|
-
declare const logoIds: readonly ["googleMaps-logo-dark", "googleMaps-logo-light", "logo", "logo-atr"];
|
|
2500
|
-
declare const logoFiles: { readonly [K in (typeof logoIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2501
|
-
declare const otherImagesIds: readonly ["banner-horizontal", "banner-vertical", "qr-code", "store-android", "store-ios"];
|
|
2502
|
-
declare const otherImagesFiles: { readonly [K in (typeof otherImagesIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
2503
|
-
/**
|
|
2504
|
-
* Module specifiers for each poster (not resolved file URLs). Use a static import or require with these paths
|
|
2505
|
-
* so your bundler resolves the file, e.g.
|
|
2506
|
-
* `import poster1 from "@timardex/cluemart-shared/images/poster1.webp"`
|
|
2507
|
-
* or `require("@timardex/cluemart-shared/images/poster1.webp")` (React Native / Metro).
|
|
2508
|
-
*
|
|
2509
|
-
* Derived from `posterFiles` so keys and filenames stay aligned.
|
|
2510
|
-
*/
|
|
2511
|
-
declare const posters: { readonly [K in keyof typeof posterFiles]: `${typeof PKG}/images/${(typeof posterFiles)[K]}`; };
|
|
2512
|
-
/**
|
|
2513
|
-
* Module specifiers for Clui assets (same flat `@…/images/<file>.webp` pattern as posters), e.g.
|
|
2514
|
-
* `import clui from "@timardex/cluemart-shared/images/cluiTui.webp"`.
|
|
2515
|
-
*/
|
|
2516
|
-
declare const cluiImages: { readonly [K in keyof typeof cluiFiles]: `${typeof PKG}/images/${(typeof cluiFiles)[K]}`; };
|
|
2517
|
-
declare const icons: { readonly [K in keyof typeof iconFiles]: `${typeof PKG}/images/${(typeof iconFiles)[K]}`; };
|
|
2518
|
-
declare const badges: { readonly [K in keyof typeof badgeFiles]: `${typeof PKG}/images/${(typeof badgeFiles)[K]}`; };
|
|
2519
|
-
declare const logos: { readonly [K in keyof typeof logoFiles]: `${typeof PKG}/images/${(typeof logoFiles)[K]}`; };
|
|
2520
|
-
declare const otherImages: { readonly [K in keyof typeof otherImagesFiles]: `${typeof PKG}/images/${(typeof otherImagesFiles)[K]}`; };
|
|
2521
|
-
type PosterAssetId = keyof typeof posters;
|
|
2522
|
-
/** A single filename under the shared images directory (values of `posterFiles`). */
|
|
2523
|
-
type PosterImageBasename = (typeof posterFiles)[PosterAssetId];
|
|
2524
|
-
type CluiImageId = keyof typeof cluiImages;
|
|
2525
|
-
/** Basename under the shared images directory (values of `cluiFiles`). */
|
|
2526
|
-
type CluiImageBasename = (typeof cluiFiles)[CluiImageId];
|
|
2527
|
-
type IconId = keyof typeof icons;
|
|
2528
|
-
type IconBasename = (typeof iconFiles)[IconId];
|
|
2529
|
-
type BadgeId = keyof typeof badges;
|
|
2530
|
-
type BadgeBasename = (typeof badgeFiles)[BadgeId];
|
|
2531
|
-
type LogoId = keyof typeof logos;
|
|
2532
|
-
type LogoBasename = (typeof logoFiles)[LogoId];
|
|
2533
|
-
type OtherImagesId = keyof typeof otherImages;
|
|
2534
|
-
type OtherImagesBasename = (typeof otherImagesFiles)[OtherImagesId];
|
|
2535
|
-
|
|
2536
2533
|
declare const SAVED_PASSWORD_KEY = "savedPassword";
|
|
2537
2534
|
declare const SAVED_EMAIL_KEY = "savedEmail";
|
|
2538
2535
|
declare const SAVED_TOKEN_KEY = "savedToken";
|
package/dist/index.mjs
CHANGED
|
@@ -132,7 +132,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
132
132
|
EnumNotificationResourceType2["DECLINED_EVENT"] = "declined_event";
|
|
133
133
|
EnumNotificationResourceType2["DECLINED_PARTNER"] = "declined_partner";
|
|
134
134
|
EnumNotificationResourceType2["DECLINED_VENDOR"] = "declined_vendor";
|
|
135
|
-
EnumNotificationResourceType2["
|
|
135
|
+
EnumNotificationResourceType2["DAILY_CLUE_GAME"] = "daily_clue_game";
|
|
136
136
|
EnumNotificationResourceType2["EVENT_INVITE_VENDOR"] = "event_invite_vendor" /* EVENT_INVITE_VENDOR */;
|
|
137
137
|
EnumNotificationResourceType2["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
138
138
|
EnumNotificationResourceType2["EXPIRATION_REMINDER_EVENT"] = "expiration_reminder_event";
|