@timardex/cluemart-shared 1.0.63 → 1.0.65
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/formFields/index.cjs +0 -6
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +0 -6
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/{global-CXYMFrpW.d.ts → global-CmHtFudt.d.ts} +1 -1
- package/dist/{global-CuCE2tTS.d.mts → global-DFWO619h.d.mts} +1 -1
- package/dist/graphql/index.cjs +1 -1
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/graphql/index.mjs +1 -1
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +0 -6
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +0 -6
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +1 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -13
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -199,6 +199,7 @@ type RelationDate = {
|
|
|
199
199
|
interface RelationType {
|
|
200
200
|
_id?: string;
|
|
201
201
|
apiMessage?: string;
|
|
202
|
+
chatId: string;
|
|
202
203
|
createdAt?: string;
|
|
203
204
|
lastUpdateBy: EnumResourceType;
|
|
204
205
|
marketId: string;
|
|
@@ -233,7 +234,6 @@ interface MarketInfoFormData {
|
|
|
233
234
|
dateTime: DateTimeWithPriceType[];
|
|
234
235
|
marketId: string;
|
|
235
236
|
packInTime: number;
|
|
236
|
-
packOutTime: number;
|
|
237
237
|
paymentDueHours: number;
|
|
238
238
|
paymentInfo: PaymentInfoType[];
|
|
239
239
|
requirements?: Requirement[];
|
package/dist/index.d.ts
CHANGED
|
@@ -199,6 +199,7 @@ type RelationDate = {
|
|
|
199
199
|
interface RelationType {
|
|
200
200
|
_id?: string;
|
|
201
201
|
apiMessage?: string;
|
|
202
|
+
chatId: string;
|
|
202
203
|
createdAt?: string;
|
|
203
204
|
lastUpdateBy: EnumResourceType;
|
|
204
205
|
marketId: string;
|
|
@@ -233,7 +234,6 @@ interface MarketInfoFormData {
|
|
|
233
234
|
dateTime: DateTimeWithPriceType[];
|
|
234
235
|
marketId: string;
|
|
235
236
|
packInTime: number;
|
|
236
|
-
packOutTime: number;
|
|
237
237
|
paymentDueHours: number;
|
|
238
238
|
paymentInfo: PaymentInfoType[];
|
|
239
239
|
requirements?: Requirement[];
|
package/dist/index.mjs
CHANGED
|
@@ -454,7 +454,6 @@ var marketInfoSchema = yup2.object().shape({
|
|
|
454
454
|
dateTime: yup2.array().of(dateTimeWithPriceSchema).required("DateTime is required"),
|
|
455
455
|
marketId: yup2.string().trim().required("Market ID is required"),
|
|
456
456
|
packInTime: yup2.number().typeError("Pack in time must be a number").min(1, "Pack in time must be at least 1").required("Pack in time is required").test("no-leading-zeros", "", noLeadingZeros("Pack in time")),
|
|
457
|
-
packOutTime: yup2.number().typeError("Pack out time must be a number").min(1, "Pack out time must be at least 1").required("Pack out time is required").test("no-leading-zeros", "", noLeadingZeros("Pack out time")),
|
|
458
457
|
paymentDueHours: yup2.number().typeError("Payment due hours must be a number").min(1, "Payment due hours must be at least 1").required("Payment due hours is required").test("no-leading-zeros", "", noLeadingZeros("Payment due hours")),
|
|
459
458
|
paymentInfo: yup2.array().of(paymentInfoSchema).min(1, "At least one payment info is required").required("Payment info is required")
|
|
460
459
|
});
|
|
@@ -647,8 +646,6 @@ var defaultMarketInfoFormValues = {
|
|
|
647
646
|
marketId: "",
|
|
648
647
|
packInTime: 2,
|
|
649
648
|
// e.g., 2 hours before market opens
|
|
650
|
-
packOutTime: 1,
|
|
651
|
-
// e.g., 1 hour after market closes
|
|
652
649
|
paymentDueHours: 24,
|
|
653
650
|
paymentInfo: [],
|
|
654
651
|
requirements: []
|
|
@@ -948,7 +945,6 @@ function useMarketInfoForm(data) {
|
|
|
948
945
|
dateTime: data.dateTime,
|
|
949
946
|
marketId: data.marketId,
|
|
950
947
|
packInTime: data.packInTime,
|
|
951
|
-
packOutTime: data.packOutTime,
|
|
952
948
|
paymentDueHours: data.paymentDueHours,
|
|
953
949
|
paymentInfo: data.paymentInfo,
|
|
954
950
|
requirements: data.requirements
|
|
@@ -963,7 +959,6 @@ function useMarketInfoForm(data) {
|
|
|
963
959
|
dateTime,
|
|
964
960
|
marketId,
|
|
965
961
|
packInTime,
|
|
966
|
-
packOutTime,
|
|
967
962
|
paymentDueHours,
|
|
968
963
|
paymentInfo,
|
|
969
964
|
requirements
|
|
@@ -976,7 +971,6 @@ function useMarketInfoForm(data) {
|
|
|
976
971
|
dateTime,
|
|
977
972
|
marketId,
|
|
978
973
|
packInTime,
|
|
979
|
-
packOutTime,
|
|
980
974
|
paymentDueHours,
|
|
981
975
|
paymentInfo,
|
|
982
976
|
requirements
|
|
@@ -1773,7 +1767,6 @@ var MARKET_INFO = gql5`
|
|
|
1773
1767
|
}
|
|
1774
1768
|
marketId
|
|
1775
1769
|
packInTime
|
|
1776
|
-
packOutTime
|
|
1777
1770
|
paymentDueHours
|
|
1778
1771
|
paymentInfo {
|
|
1779
1772
|
accountHolderName
|
|
@@ -2305,6 +2298,7 @@ var RELATION_FIELDS_FRAGMENT = gql10`
|
|
|
2305
2298
|
fragment RelationFields on RelationType {
|
|
2306
2299
|
_id
|
|
2307
2300
|
apiMessage
|
|
2301
|
+
chatId
|
|
2308
2302
|
createdAt
|
|
2309
2303
|
lastUpdateBy
|
|
2310
2304
|
marketId
|
|
@@ -3434,12 +3428,6 @@ var marketInfo = [
|
|
|
3434
3428
|
keyboardType: "number-pad",
|
|
3435
3429
|
name: "packInTime",
|
|
3436
3430
|
placeholder: "Pack In Time (in hours)"
|
|
3437
|
-
},
|
|
3438
|
-
{
|
|
3439
|
-
helperText: "Pack Out Time *",
|
|
3440
|
-
keyboardType: "number-pad",
|
|
3441
|
-
name: "packOutTime",
|
|
3442
|
-
placeholder: "Pack Out Time (in hours)"
|
|
3443
3431
|
}
|
|
3444
3432
|
];
|
|
3445
3433
|
var marketInfoPaymentInfo = [
|