@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.
- package/dist/{chunk-3VUHAHP7.mjs → chunk-4XOVXJUN.mjs} +2 -2
- package/dist/{chunk-ZR4TGWTS.mjs → chunk-JMOGW4IX.mjs} +5 -1
- package/dist/chunk-JMOGW4IX.mjs.map +1 -0
- package/dist/{chunk-S2VBOUOO.mjs → chunk-N26FUCHY.mjs} +2 -7
- package/dist/chunk-N26FUCHY.mjs.map +1 -0
- package/dist/{chunk-ZDDWPO5Y.mjs → chunk-OSUWKCUI.mjs} +3 -3
- package/dist/enums/index.cjs +4 -0
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +5 -1
- package/dist/enums/index.d.ts +5 -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.mjs +1 -1
- package/dist/hooks/index.cjs +1 -6
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +4 -4
- package/dist/images/index.cjs +1 -6
- package/dist/images/index.cjs.map +1 -1
- package/dist/images/index.d.mts +1 -1
- package/dist/images/index.d.ts +1 -1
- package/dist/images/index.mjs +1 -1
- package/dist/images/poster1.webp +0 -0
- package/dist/images/poster2.webp +0 -0
- package/dist/images/poster3.webp +0 -0
- package/dist/index.cjs +5 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.mjs +5 -6
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-S2VBOUOO.mjs.map +0 -1
- package/dist/chunk-ZR4TGWTS.mjs.map +0 -1
- package/dist/images/poster4.webp +0 -0
- package/dist/images/poster4.webp.d.ts +0 -2
- package/dist/images/poster5.webp +0 -0
- package/dist/images/poster5.webp.d.ts +0 -2
- package/dist/images/poster6.webp +0 -0
- package/dist/images/poster6.webp.d.ts +0 -2
- package/dist/images/poster7.webp +0 -0
- package/dist/images/poster7.webp.d.ts +0 -2
- /package/dist/{chunk-3VUHAHP7.mjs.map → chunk-4XOVXJUN.mjs.map} +0 -0
- /package/dist/{chunk-ZDDWPO5Y.mjs.map → chunk-OSUWKCUI.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -102,6 +102,8 @@ declare enum EnumOSPlatform {
|
|
|
102
102
|
}
|
|
103
103
|
declare enum EnumRelationResource {
|
|
104
104
|
EVENT_INVITE_VENDOR = "event_invite_vendor",
|
|
105
|
+
EVENT_UPDATE_RELATION_TO_VENDOR = "event_update_relation_to_vendor",
|
|
106
|
+
VENDOR_UPDATE_RELATION_TO_EVENT = "vendor_update_relation_to_event",
|
|
105
107
|
VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event"
|
|
106
108
|
}
|
|
107
109
|
declare enum EnumNotificationResourceType {
|
|
@@ -126,6 +128,7 @@ declare enum EnumNotificationResourceType {
|
|
|
126
128
|
DOWNGRADED_VENDOR = "downgraded_vendor",
|
|
127
129
|
EVENT_INVITE_VENDOR = "event_invite_vendor",
|
|
128
130
|
EVENT_STARTING_SOON = "event_starting_soon",
|
|
131
|
+
EVENT_UPDATE_RELATION_TO_VENDOR = "event_update_relation_to_vendor",
|
|
129
132
|
EXPIRATION_REMINDER_EVENT = "expiration_reminder_event",
|
|
130
133
|
EXPIRATION_REMINDER_PARTNER = "expiration_reminder_partner",
|
|
131
134
|
EXPIRATION_REMINDER_VENDOR = "expiration_reminder_vendor",
|
|
@@ -133,7 +136,8 @@ declare enum EnumNotificationResourceType {
|
|
|
133
136
|
NEW_POST_CREATED = "new_post_created",
|
|
134
137
|
REGISTERED_USER_BY_SCHOOL_CODE = "registered_user_by_school_code",
|
|
135
138
|
SYSTEM_ALERT = "system_alert",
|
|
136
|
-
VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event"
|
|
139
|
+
VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event",
|
|
140
|
+
VENDOR_UPDATE_RELATION_TO_EVENT = "vendor_update_relation_to_event"
|
|
137
141
|
}
|
|
138
142
|
declare enum EnumNotificationType {
|
|
139
143
|
CHAT = "chat",
|
|
@@ -770,7 +774,7 @@ declare const IMAGE_EXTENSION: ".webp";
|
|
|
770
774
|
* 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.
|
|
771
775
|
* `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
|
|
772
776
|
*/
|
|
773
|
-
declare const posterIds: readonly ["mini-market1", "mini-market2", "mini-market3", "mini-market4", "mini-market5", "poster1", "poster2", "poster3"
|
|
777
|
+
declare const posterIds: readonly ["mini-market1", "mini-market2", "mini-market3", "mini-market4", "mini-market5", "poster1", "poster2", "poster3"];
|
|
774
778
|
declare const posterFiles: { readonly [K in (typeof posterIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
775
779
|
/**
|
|
776
780
|
* Basenames for assets under `src/images/clui/` in source; they are copied flat into `dist/images/` (same as posters).
|
package/dist/index.d.ts
CHANGED
|
@@ -102,6 +102,8 @@ declare enum EnumOSPlatform {
|
|
|
102
102
|
}
|
|
103
103
|
declare enum EnumRelationResource {
|
|
104
104
|
EVENT_INVITE_VENDOR = "event_invite_vendor",
|
|
105
|
+
EVENT_UPDATE_RELATION_TO_VENDOR = "event_update_relation_to_vendor",
|
|
106
|
+
VENDOR_UPDATE_RELATION_TO_EVENT = "vendor_update_relation_to_event",
|
|
105
107
|
VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event"
|
|
106
108
|
}
|
|
107
109
|
declare enum EnumNotificationResourceType {
|
|
@@ -126,6 +128,7 @@ declare enum EnumNotificationResourceType {
|
|
|
126
128
|
DOWNGRADED_VENDOR = "downgraded_vendor",
|
|
127
129
|
EVENT_INVITE_VENDOR = "event_invite_vendor",
|
|
128
130
|
EVENT_STARTING_SOON = "event_starting_soon",
|
|
131
|
+
EVENT_UPDATE_RELATION_TO_VENDOR = "event_update_relation_to_vendor",
|
|
129
132
|
EXPIRATION_REMINDER_EVENT = "expiration_reminder_event",
|
|
130
133
|
EXPIRATION_REMINDER_PARTNER = "expiration_reminder_partner",
|
|
131
134
|
EXPIRATION_REMINDER_VENDOR = "expiration_reminder_vendor",
|
|
@@ -133,7 +136,8 @@ declare enum EnumNotificationResourceType {
|
|
|
133
136
|
NEW_POST_CREATED = "new_post_created",
|
|
134
137
|
REGISTERED_USER_BY_SCHOOL_CODE = "registered_user_by_school_code",
|
|
135
138
|
SYSTEM_ALERT = "system_alert",
|
|
136
|
-
VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event"
|
|
139
|
+
VENDOR_APPLICATION_TO_EVENT = "vendor_application_to_event",
|
|
140
|
+
VENDOR_UPDATE_RELATION_TO_EVENT = "vendor_update_relation_to_event"
|
|
137
141
|
}
|
|
138
142
|
declare enum EnumNotificationType {
|
|
139
143
|
CHAT = "chat",
|
|
@@ -770,7 +774,7 @@ declare const IMAGE_EXTENSION: ".webp";
|
|
|
770
774
|
* 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.
|
|
771
775
|
* `images/node` reads this at runtime for `getSharedImagePath` allow-listing.
|
|
772
776
|
*/
|
|
773
|
-
declare const posterIds: readonly ["mini-market1", "mini-market2", "mini-market3", "mini-market4", "mini-market5", "poster1", "poster2", "poster3"
|
|
777
|
+
declare const posterIds: readonly ["mini-market1", "mini-market2", "mini-market3", "mini-market4", "mini-market5", "poster1", "poster2", "poster3"];
|
|
774
778
|
declare const posterFiles: { readonly [K in (typeof posterIds)[number]]: `${K}${typeof IMAGE_EXTENSION}`; };
|
|
775
779
|
/**
|
|
776
780
|
* Basenames for assets under `src/images/clui/` in source; they are copied flat into `dist/images/` (same as posters).
|
package/dist/index.mjs
CHANGED
|
@@ -110,6 +110,8 @@ var EnumOSPlatform = /* @__PURE__ */ ((EnumOSPlatform2) => {
|
|
|
110
110
|
})(EnumOSPlatform || {});
|
|
111
111
|
var EnumRelationResource = /* @__PURE__ */ ((EnumRelationResource2) => {
|
|
112
112
|
EnumRelationResource2["EVENT_INVITE_VENDOR"] = "event_invite_vendor";
|
|
113
|
+
EnumRelationResource2["EVENT_UPDATE_RELATION_TO_VENDOR"] = "event_update_relation_to_vendor";
|
|
114
|
+
EnumRelationResource2["VENDOR_UPDATE_RELATION_TO_EVENT"] = "vendor_update_relation_to_event";
|
|
113
115
|
EnumRelationResource2["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event";
|
|
114
116
|
return EnumRelationResource2;
|
|
115
117
|
})(EnumRelationResource || {});
|
|
@@ -135,6 +137,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
135
137
|
EnumNotificationResourceType2["DOWNGRADED_VENDOR"] = "downgraded_vendor";
|
|
136
138
|
EnumNotificationResourceType2["EVENT_INVITE_VENDOR"] = "event_invite_vendor" /* EVENT_INVITE_VENDOR */;
|
|
137
139
|
EnumNotificationResourceType2["EVENT_STARTING_SOON"] = "event_starting_soon";
|
|
140
|
+
EnumNotificationResourceType2["EVENT_UPDATE_RELATION_TO_VENDOR"] = "event_update_relation_to_vendor" /* EVENT_UPDATE_RELATION_TO_VENDOR */;
|
|
138
141
|
EnumNotificationResourceType2["EXPIRATION_REMINDER_EVENT"] = "expiration_reminder_event";
|
|
139
142
|
EnumNotificationResourceType2["EXPIRATION_REMINDER_PARTNER"] = "expiration_reminder_partner";
|
|
140
143
|
EnumNotificationResourceType2["EXPIRATION_REMINDER_VENDOR"] = "expiration_reminder_vendor";
|
|
@@ -143,6 +146,7 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
143
146
|
EnumNotificationResourceType2["REGISTERED_USER_BY_SCHOOL_CODE"] = "registered_user_by_school_code";
|
|
144
147
|
EnumNotificationResourceType2["SYSTEM_ALERT"] = "system_alert";
|
|
145
148
|
EnumNotificationResourceType2["VENDOR_APPLICATION_TO_EVENT"] = "vendor_application_to_event" /* VENDOR_APPLICATION_TO_EVENT */;
|
|
149
|
+
EnumNotificationResourceType2["VENDOR_UPDATE_RELATION_TO_EVENT"] = "vendor_update_relation_to_event" /* VENDOR_UPDATE_RELATION_TO_EVENT */;
|
|
146
150
|
return EnumNotificationResourceType2;
|
|
147
151
|
})(EnumNotificationResourceType || {});
|
|
148
152
|
var EnumNotificationType = /* @__PURE__ */ ((EnumNotificationType2) => {
|
|
@@ -8397,12 +8401,7 @@ var posterIds = [
|
|
|
8397
8401
|
"mini-market5",
|
|
8398
8402
|
"poster1",
|
|
8399
8403
|
"poster2",
|
|
8400
|
-
"poster3"
|
|
8401
|
-
// New
|
|
8402
|
-
"poster4",
|
|
8403
|
-
"poster5",
|
|
8404
|
-
"poster6",
|
|
8405
|
-
"poster7"
|
|
8404
|
+
"poster3"
|
|
8406
8405
|
];
|
|
8407
8406
|
var posterFiles = Object.fromEntries(
|
|
8408
8407
|
posterIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])
|