@timardex/cluemart-shared 1.5.619 → 1.5.620
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-Bdlg8CzV.d.mts → auth-CJIbsVCg.d.mts} +1 -1
- package/dist/{auth-rRdVyjfK.d.ts → auth-CLKWWsIQ.d.ts} +1 -1
- package/dist/{chunk-P52HS2NB.mjs → chunk-A2ZE5RVV.mjs} +2 -1
- package/dist/chunk-A2ZE5RVV.mjs.map +1 -0
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-BWpDbvVZ.d.mts → global-J6EFP0wh.d.mts} +1 -0
- package/dist/{global-BRdgk2kj.d.ts → global-w94c0MGw.d.ts} +1 -0
- package/dist/graphql/index.cjs +1 -0
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +3 -3
- package/dist/graphql/index.d.ts +3 -3
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +6 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +6 -2
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{post-C1eNwXYI.d.mts → post-BkgyLFwF.d.mts} +1 -1
- package/dist/{post-CO3A1l3d.d.ts → post-BmQ3R3cA.d.ts} +1 -1
- package/dist/{resourceActivities-D5KjDO8i.d.ts → resourceActivities-Bnk-1tPS.d.ts} +1 -1
- package/dist/{resourceActivities-Ik5hB71G.d.mts → resourceActivities-I3eJPRqW.d.mts} +1 -1
- package/dist/sharing/index.d.mts +1 -1
- package/dist/sharing/index.d.ts +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-P52HS2NB.mjs.map +0 -1
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { EnumResourceType } from '../enums/index.mjs';
|
|
3
|
-
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-
|
|
5
|
-
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-
|
|
3
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-I3eJPRqW.mjs';
|
|
4
|
+
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-J6EFP0wh.mjs';
|
|
5
|
+
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-BkgyLFwF.mjs';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
import '../images/index.mjs';
|
|
8
8
|
import '../dailyClue-BnlktK68.mjs';
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
2
|
import { EnumResourceType } from '../enums/index.js';
|
|
3
|
-
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-
|
|
5
|
-
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-
|
|
3
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-Bnk-1tPS.js';
|
|
4
|
+
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-w94c0MGw.js';
|
|
5
|
+
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-BmQ3R3cA.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
import '../images/index.js';
|
|
8
8
|
import '../dailyClue-BnlktK68.js';
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -740,6 +740,7 @@ var vendorSchema = globalResourceSchema.shape({
|
|
|
740
740
|
var unregisteredVendorSchema = yup3.object().shape({
|
|
741
741
|
categoryIds: yup3.array().of(yup3.string().defined()).min(1, "Category list must contain at least one item").required("Categories are required"),
|
|
742
742
|
dateTime: yup3.array().of(dateTimeSchema).min(1, "DateTime list must contain at least one item").required("DateTime is required"),
|
|
743
|
+
email: emailOptionalSchema,
|
|
743
744
|
inviterId: yup3.string().required("Inviter ID is required"),
|
|
744
745
|
name: yup3.string().label("Stallholder Name").trim().min(3, "Name must be at least 3 characters").required("Name is required"),
|
|
745
746
|
region: yup3.string().label("Region").required("Region is required")
|
|
@@ -2875,6 +2876,7 @@ var UNREGISTERED_VENDOR = import_client4.gql`
|
|
|
2875
2876
|
claimed
|
|
2876
2877
|
createdAt
|
|
2877
2878
|
deletedAt
|
|
2879
|
+
email
|
|
2878
2880
|
invitations {
|
|
2879
2881
|
...UnregisteredVendorInvitationFields
|
|
2880
2882
|
}
|
|
@@ -4951,6 +4953,7 @@ var defaultVendorFormValues = {
|
|
|
4951
4953
|
var defaultUnregisteredVendorFormValues = {
|
|
4952
4954
|
categoryIds: [],
|
|
4953
4955
|
dateTime: [],
|
|
4956
|
+
email: null,
|
|
4954
4957
|
inviterId: "",
|
|
4955
4958
|
name: "",
|
|
4956
4959
|
region: ""
|
|
@@ -5179,6 +5182,7 @@ function useUnregisteredVendorForm(data) {
|
|
|
5179
5182
|
reset({
|
|
5180
5183
|
categoryIds: data.categoryIds,
|
|
5181
5184
|
dateTime: data.dateTime,
|
|
5185
|
+
email: data.email,
|
|
5182
5186
|
inviterId: data.inviterId,
|
|
5183
5187
|
name: data.name,
|
|
5184
5188
|
region: data.region
|
|
@@ -5187,12 +5191,13 @@ function useUnregisteredVendorForm(data) {
|
|
|
5187
5191
|
reset(defaultUnregisteredVendorFormValues);
|
|
5188
5192
|
}
|
|
5189
5193
|
}, [data]);
|
|
5190
|
-
const { categoryIds, dateTime, inviterId, name, region } = getValues();
|
|
5194
|
+
const { categoryIds, dateTime, email, inviterId, name, region } = getValues();
|
|
5191
5195
|
return {
|
|
5192
5196
|
control,
|
|
5193
5197
|
fields: {
|
|
5194
5198
|
categoryIds,
|
|
5195
5199
|
dateTime,
|
|
5200
|
+
email,
|
|
5196
5201
|
inviterId,
|
|
5197
5202
|
name,
|
|
5198
5203
|
region
|