@timardex/cluemart-shared 2.4.0 → 2.5.0
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/auth/index.mjs +1 -1
- package/dist/{chunk-J72IMZ6E.mjs → chunk-4CQLKIQ6.mjs} +1 -1
- package/dist/chunk-4CQLKIQ6.mjs.map +1 -0
- package/dist/{chunk-XGGFB7HY.mjs → chunk-A52C6JDT.mjs} +2 -2
- package/dist/chunk-A52C6JDT.mjs.map +1 -0
- package/dist/{chunk-LHKJJ7SO.mjs → chunk-CQ26N3W6.mjs} +2 -2
- package/dist/{chunk-ZECVZFK3.mjs → chunk-DEK7NF3O.mjs} +4 -3
- package/dist/{chunk-ZECVZFK3.mjs.map → chunk-DEK7NF3O.mjs.map} +1 -1
- package/dist/{chunk-LEAXY4DI.mjs → chunk-L4NHGGT7.mjs} +3 -3
- package/dist/enums/index.cjs +1 -1
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +2 -2
- package/dist/enums/index.d.ts +2 -2
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs +2 -1
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +4 -4
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +2 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +5 -5
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +8 -7
- package/dist/index.d.ts +8 -7
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/region/index.cjs.map +1 -1
- package/dist/region/index.mjs +1 -1
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.mjs +3 -3
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.cjs +2 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +6 -5
- package/dist/utils/index.d.ts +6 -5
- package/dist/utils/index.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunk-J72IMZ6E.mjs.map +0 -1
- package/dist/chunk-XGGFB7HY.mjs.map +0 -1
- /package/dist/{chunk-LHKJJ7SO.mjs.map → chunk-CQ26N3W6.mjs.map} +0 -0
- /package/dist/{chunk-LEAXY4DI.mjs.map → chunk-L4NHGGT7.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -6,12 +6,12 @@ import dayjs from 'dayjs';
|
|
|
6
6
|
|
|
7
7
|
declare enum EnumInviteStatus {
|
|
8
8
|
ACCEPTED = "Accepted",
|
|
9
|
+
CANCELED = "Canceled",
|
|
9
10
|
COMPLETED = "Completed",
|
|
10
11
|
EXPIRED = "Expired",
|
|
11
12
|
NO_STATUS = "No_Status",
|
|
12
13
|
PENDING = "Pending",
|
|
13
|
-
REJECTED = "Rejected"
|
|
14
|
-
UNAVAILABLE = "Unavailable"
|
|
14
|
+
REJECTED = "Rejected"
|
|
15
15
|
}
|
|
16
16
|
declare enum EnumChatReportReason {
|
|
17
17
|
INAPPROPRIATE_CONTENT = "Inappropriate_Content",
|
|
@@ -4159,10 +4159,10 @@ declare const MANUAL_DATE_STATUSES: ReadonlySet<EnumEventDateStatus>;
|
|
|
4159
4159
|
* the live `Event.dateTime` for visibility, but a relation date pointing at
|
|
4160
4160
|
* them is treated as removed. Archived (ended) slots are appended separately
|
|
4161
4161
|
* so relation dates for archived history still match instead of being wrongly
|
|
4162
|
-
* marked
|
|
4162
|
+
* marked canceled.
|
|
4163
4163
|
*
|
|
4164
|
-
* Shared by the
|
|
4165
|
-
*
|
|
4164
|
+
* Shared by the event-update relation sync and the cron orphan-date cleanup so
|
|
4165
|
+
* both use the same archive-aware schedule.
|
|
4166
4166
|
*/
|
|
4167
4167
|
declare function buildRelationEligibleEventSchedule<T extends {
|
|
4168
4168
|
dateStatus?: EnumEventDateStatus | null;
|
|
@@ -4390,8 +4390,9 @@ declare function getVendorEventsData({ events, selectedDate, }: GetVendorEventsD
|
|
|
4390
4390
|
/**
|
|
4391
4391
|
* Relation date statuses that must survive when their event slot is removed or
|
|
4392
4392
|
* a relation is overwritten. ACCEPTED/COMPLETED are historical or paid
|
|
4393
|
-
* bookings;
|
|
4394
|
-
*
|
|
4393
|
+
* bookings; CANCELED is kept so history can report dates the event canceled;
|
|
4394
|
+
* REJECTED is kept for the organizer's records. Dates with any other status
|
|
4395
|
+
* may be deleted once their slot disappears from the event schedule.
|
|
4395
4396
|
*/
|
|
4396
4397
|
declare const PRESERVED_RELATION_DATE_STATUSES: ReadonlySet<EnumInviteStatus>;
|
|
4397
4398
|
|
package/dist/index.d.ts
CHANGED
|
@@ -6,12 +6,12 @@ import dayjs from 'dayjs';
|
|
|
6
6
|
|
|
7
7
|
declare enum EnumInviteStatus {
|
|
8
8
|
ACCEPTED = "Accepted",
|
|
9
|
+
CANCELED = "Canceled",
|
|
9
10
|
COMPLETED = "Completed",
|
|
10
11
|
EXPIRED = "Expired",
|
|
11
12
|
NO_STATUS = "No_Status",
|
|
12
13
|
PENDING = "Pending",
|
|
13
|
-
REJECTED = "Rejected"
|
|
14
|
-
UNAVAILABLE = "Unavailable"
|
|
14
|
+
REJECTED = "Rejected"
|
|
15
15
|
}
|
|
16
16
|
declare enum EnumChatReportReason {
|
|
17
17
|
INAPPROPRIATE_CONTENT = "Inappropriate_Content",
|
|
@@ -4159,10 +4159,10 @@ declare const MANUAL_DATE_STATUSES: ReadonlySet<EnumEventDateStatus>;
|
|
|
4159
4159
|
* the live `Event.dateTime` for visibility, but a relation date pointing at
|
|
4160
4160
|
* them is treated as removed. Archived (ended) slots are appended separately
|
|
4161
4161
|
* so relation dates for archived history still match instead of being wrongly
|
|
4162
|
-
* marked
|
|
4162
|
+
* marked canceled.
|
|
4163
4163
|
*
|
|
4164
|
-
* Shared by the
|
|
4165
|
-
*
|
|
4164
|
+
* Shared by the event-update relation sync and the cron orphan-date cleanup so
|
|
4165
|
+
* both use the same archive-aware schedule.
|
|
4166
4166
|
*/
|
|
4167
4167
|
declare function buildRelationEligibleEventSchedule<T extends {
|
|
4168
4168
|
dateStatus?: EnumEventDateStatus | null;
|
|
@@ -4390,8 +4390,9 @@ declare function getVendorEventsData({ events, selectedDate, }: GetVendorEventsD
|
|
|
4390
4390
|
/**
|
|
4391
4391
|
* Relation date statuses that must survive when their event slot is removed or
|
|
4392
4392
|
* a relation is overwritten. ACCEPTED/COMPLETED are historical or paid
|
|
4393
|
-
* bookings;
|
|
4394
|
-
*
|
|
4393
|
+
* bookings; CANCELED is kept so history can report dates the event canceled;
|
|
4394
|
+
* REJECTED is kept for the organizer's records. Dates with any other status
|
|
4395
|
+
* may be deleted once their slot disappears from the event schedule.
|
|
4395
4396
|
*/
|
|
4396
4397
|
declare const PRESERVED_RELATION_DATE_STATUSES: ReadonlySet<EnumInviteStatus>;
|
|
4397
4398
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// src/enums/index.ts
|
|
2
2
|
var EnumInviteStatus = /* @__PURE__ */ ((EnumInviteStatus2) => {
|
|
3
3
|
EnumInviteStatus2["ACCEPTED"] = "Accepted";
|
|
4
|
+
EnumInviteStatus2["CANCELED"] = "Canceled";
|
|
4
5
|
EnumInviteStatus2["COMPLETED"] = "Completed";
|
|
5
6
|
EnumInviteStatus2["EXPIRED"] = "Expired";
|
|
6
7
|
EnumInviteStatus2["NO_STATUS"] = "No_Status";
|
|
7
8
|
EnumInviteStatus2["PENDING"] = "Pending";
|
|
8
9
|
EnumInviteStatus2["REJECTED"] = "Rejected";
|
|
9
|
-
EnumInviteStatus2["UNAVAILABLE"] = "Unavailable";
|
|
10
10
|
return EnumInviteStatus2;
|
|
11
11
|
})(EnumInviteStatus || {});
|
|
12
12
|
var EnumChatReportReason = /* @__PURE__ */ ((EnumChatReportReason2) => {
|
|
@@ -3043,6 +3043,7 @@ function getVendorEventsData({
|
|
|
3043
3043
|
// src/utils/relations/preservedRelationDateStatuses.ts
|
|
3044
3044
|
var PRESERVED_RELATION_DATE_STATUSES = /* @__PURE__ */ new Set([
|
|
3045
3045
|
"Accepted" /* ACCEPTED */,
|
|
3046
|
+
"Canceled" /* CANCELED */,
|
|
3046
3047
|
"Completed" /* COMPLETED */,
|
|
3047
3048
|
"Rejected" /* REJECTED */
|
|
3048
3049
|
]);
|