@timardex/cluemart-shared 1.1.83 → 1.1.85
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/{ad-BzjjHQUN.d.mts → ad-Du5IS7QB.d.mts} +10 -1
- package/dist/{ad-CWNCM_p1.d.ts → ad-DyqiA76q.d.ts} +10 -1
- package/dist/{auth-CxQ0oavy.d.mts → auth-B7IU_5zn.d.mts} +1 -1
- package/dist/{auth-4m8SpJzV.d.ts → auth-BKlTZUUk.d.ts} +1 -1
- package/dist/formFields/index.cjs +43 -23
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +3 -2
- package/dist/formFields/index.d.ts +3 -2
- package/dist/formFields/index.mjs +42 -23
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/{global-CIXx7hJi.d.mts → global-BEAKFnpH.d.mts} +5 -1
- package/dist/{global-wvYjcFy5.d.ts → global-BNNn5c8L.d.ts} +5 -1
- package/dist/graphql/index.cjs +6 -2
- 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 +6 -2
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +26 -0
- 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 +26 -0
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +75 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +17 -3
- package/dist/index.d.ts +17 -3
- package/dist/index.mjs +74 -25
- package/dist/index.mjs.map +1 -1
- package/dist/{resourceViews-DgcX5Moj.d.ts → resourceViews-D8LIAWEV.d.ts} +2 -2
- package/dist/{resourceViews-BahGrfXt.d.mts → resourceViews-iM3QYTZo.d.mts} +2 -2
- package/dist/types/index.d.mts +4 -4
- package/dist/types/index.d.ts +4 -4
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole } from './enums/index.mjs';
|
|
2
|
-
import { C as Category, u as CreateFormData, n as ResourceImageType, o as SocialMediaType } from './global-
|
|
2
|
+
import { C as Category, u as CreateFormData, n as ResourceImageType, o as SocialMediaType } from './global-BEAKFnpH.mjs';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories: Category[] | null;
|
|
@@ -52,6 +52,15 @@ interface UserType {
|
|
|
52
52
|
password: string;
|
|
53
53
|
platform: EnumOSPlatform | null;
|
|
54
54
|
preferredRegion: string;
|
|
55
|
+
partners?: {
|
|
56
|
+
resourceId: string;
|
|
57
|
+
resourceType: EnumUserRole;
|
|
58
|
+
licence: EnumUserLicence;
|
|
59
|
+
}[] | null;
|
|
60
|
+
refreshTokenExpiry: {
|
|
61
|
+
token: string;
|
|
62
|
+
expiresAt: string;
|
|
63
|
+
};
|
|
55
64
|
refreshToken: string | null;
|
|
56
65
|
role: EnumUserRole;
|
|
57
66
|
vendor: string | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole } from './enums/index.js';
|
|
2
|
-
import { C as Category, u as CreateFormData, n as ResourceImageType, o as SocialMediaType } from './global-
|
|
2
|
+
import { C as Category, u as CreateFormData, n as ResourceImageType, o as SocialMediaType } from './global-BNNn5c8L.js';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories: Category[] | null;
|
|
@@ -52,6 +52,15 @@ interface UserType {
|
|
|
52
52
|
password: string;
|
|
53
53
|
platform: EnumOSPlatform | null;
|
|
54
54
|
preferredRegion: string;
|
|
55
|
+
partners?: {
|
|
56
|
+
resourceId: string;
|
|
57
|
+
resourceType: EnumUserRole;
|
|
58
|
+
licence: EnumUserLicence;
|
|
59
|
+
}[] | null;
|
|
60
|
+
refreshTokenExpiry: {
|
|
61
|
+
token: string;
|
|
62
|
+
expiresAt: string;
|
|
63
|
+
};
|
|
55
64
|
refreshToken: string | null;
|
|
56
65
|
role: EnumUserRole;
|
|
57
66
|
vendor: string | null;
|
|
@@ -43,6 +43,7 @@ __export(formFields_exports, {
|
|
|
43
43
|
eventStartDateFields: () => eventStartDateFields,
|
|
44
44
|
loginFields: () => loginFields,
|
|
45
45
|
packagingOptions: () => packagingOptions,
|
|
46
|
+
partnersFields: () => partnersFields,
|
|
46
47
|
producedIngOptions: () => producedIngOptions,
|
|
47
48
|
profileFields: () => profileFields,
|
|
48
49
|
registerFields: () => registerFields,
|
|
@@ -307,6 +308,11 @@ var eventBasicInfoFields = [
|
|
|
307
308
|
name: "name",
|
|
308
309
|
placeholder: "Name"
|
|
309
310
|
},
|
|
311
|
+
{
|
|
312
|
+
helperText: "NZBN number (required \u2013 ClueMart only accepts events with valid NZBN number) *",
|
|
313
|
+
name: "nzbn",
|
|
314
|
+
placeholder: "NZBN number"
|
|
315
|
+
},
|
|
310
316
|
{
|
|
311
317
|
helperText: "Name of the Provider (if applicable)",
|
|
312
318
|
name: "provider",
|
|
@@ -573,17 +579,22 @@ var requirementsOptions = [
|
|
|
573
579
|
}
|
|
574
580
|
];
|
|
575
581
|
var stallTypes = [
|
|
576
|
-
"3x3m tent site",
|
|
577
|
-
"2x2m mini stall",
|
|
578
582
|
"1.8m table only",
|
|
579
|
-
"
|
|
580
|
-
"
|
|
581
|
-
"Workshop/seating area",
|
|
582
|
-
"Shared table space",
|
|
583
|
+
"2x2m mini stall",
|
|
584
|
+
"3x3m tent site",
|
|
583
585
|
"Corner stall",
|
|
586
|
+
"Craft stall with power",
|
|
587
|
+
"Craft stall without power",
|
|
584
588
|
"Double stall (6x3m)",
|
|
589
|
+
"Food truck site",
|
|
590
|
+
"Food vendor with power",
|
|
591
|
+
"Food vendor without power",
|
|
585
592
|
"Inside hall stall",
|
|
586
|
-
"
|
|
593
|
+
"Non-profit/community stall",
|
|
594
|
+
"Outdoor open area",
|
|
595
|
+
"Shared table space",
|
|
596
|
+
"Wall-based vendor",
|
|
597
|
+
"Workshop/seating area"
|
|
587
598
|
];
|
|
588
599
|
var stallTypeOptions = stallTypes.map((type) => ({
|
|
589
600
|
electricity: {
|
|
@@ -598,13 +609,13 @@ var stallTypeOptions = stallTypes.map((type) => ({
|
|
|
598
609
|
// src/formFields/auth.ts
|
|
599
610
|
var loginFields = [
|
|
600
611
|
{
|
|
601
|
-
helperText: "Enter
|
|
612
|
+
helperText: "Enter email address *",
|
|
602
613
|
keyboardType: "email-address",
|
|
603
614
|
name: "email",
|
|
604
615
|
placeholder: "Email"
|
|
605
616
|
},
|
|
606
617
|
{
|
|
607
|
-
helperText: "Enter
|
|
618
|
+
helperText: "Enter password *",
|
|
608
619
|
keyboardType: "default",
|
|
609
620
|
name: "password",
|
|
610
621
|
placeholder: "Password",
|
|
@@ -613,25 +624,25 @@ var loginFields = [
|
|
|
613
624
|
];
|
|
614
625
|
var registerFields = [
|
|
615
626
|
{
|
|
616
|
-
helperText: "Enter
|
|
627
|
+
helperText: "Enter first name *",
|
|
617
628
|
keyboardType: "default",
|
|
618
629
|
name: "firstName",
|
|
619
630
|
placeholder: "First Name"
|
|
620
631
|
},
|
|
621
632
|
{
|
|
622
|
-
helperText: "Enter
|
|
633
|
+
helperText: "Enter last name *",
|
|
623
634
|
keyboardType: "default",
|
|
624
635
|
name: "lastName",
|
|
625
636
|
placeholder: "Last Name"
|
|
626
637
|
},
|
|
627
638
|
{
|
|
628
|
-
helperText: "Enter
|
|
639
|
+
helperText: "Enter email address *",
|
|
629
640
|
keyboardType: "email-address",
|
|
630
641
|
name: "email",
|
|
631
642
|
placeholder: "Email"
|
|
632
643
|
},
|
|
633
644
|
{
|
|
634
|
-
helperText: "Enter
|
|
645
|
+
helperText: "Enter password *",
|
|
635
646
|
keyboardType: "default",
|
|
636
647
|
name: "password",
|
|
637
648
|
placeholder: "Password",
|
|
@@ -640,7 +651,7 @@ var registerFields = [
|
|
|
640
651
|
];
|
|
641
652
|
var requestPasswordResetFields = [
|
|
642
653
|
{
|
|
643
|
-
helperText: "Enter
|
|
654
|
+
helperText: "Enter email address to reset your password *",
|
|
644
655
|
keyboardType: "email-address",
|
|
645
656
|
name: "email",
|
|
646
657
|
placeholder: "Email"
|
|
@@ -688,13 +699,13 @@ var profileFields = [
|
|
|
688
699
|
placeholder: "Email"
|
|
689
700
|
},
|
|
690
701
|
{
|
|
691
|
-
helperText: "Enter
|
|
702
|
+
helperText: "Enter first name",
|
|
692
703
|
keyboardType: "default",
|
|
693
704
|
name: "firstName",
|
|
694
705
|
placeholder: "First Name"
|
|
695
706
|
},
|
|
696
707
|
{
|
|
697
|
-
helperText: "Enter
|
|
708
|
+
helperText: "Enter last name",
|
|
698
709
|
keyboardType: "default",
|
|
699
710
|
name: "lastName",
|
|
700
711
|
placeholder: "Last Name"
|
|
@@ -1640,19 +1651,19 @@ var socialMediaFields = socialMedia.map((link) => ({
|
|
|
1640
1651
|
// src/formFields/testers.ts
|
|
1641
1652
|
var testersFields = [
|
|
1642
1653
|
{
|
|
1643
|
-
helperText: "Enter
|
|
1654
|
+
helperText: "Enter first name *",
|
|
1644
1655
|
keyboardType: "default",
|
|
1645
1656
|
name: "firstName",
|
|
1646
1657
|
placeholder: "First Name"
|
|
1647
1658
|
},
|
|
1648
1659
|
{
|
|
1649
|
-
helperText: "Enter
|
|
1660
|
+
helperText: "Enter last name *",
|
|
1650
1661
|
keyboardType: "default",
|
|
1651
1662
|
name: "lastName",
|
|
1652
1663
|
placeholder: "Last Name"
|
|
1653
1664
|
},
|
|
1654
1665
|
{
|
|
1655
|
-
helperText: "Enter
|
|
1666
|
+
helperText: "Enter email address *",
|
|
1656
1667
|
keyboardType: "email-address",
|
|
1657
1668
|
name: "email",
|
|
1658
1669
|
placeholder: "Email"
|
|
@@ -1668,19 +1679,19 @@ var testersFields = [
|
|
|
1668
1679
|
// src/formFields/contactUs.ts
|
|
1669
1680
|
var contactUsFields = [
|
|
1670
1681
|
{
|
|
1671
|
-
helperText: "Enter
|
|
1682
|
+
helperText: "Enter first name *",
|
|
1672
1683
|
keyboardType: "default",
|
|
1673
1684
|
name: "firstName",
|
|
1674
1685
|
placeholder: "First Name"
|
|
1675
1686
|
},
|
|
1676
1687
|
{
|
|
1677
|
-
helperText: "Enter
|
|
1688
|
+
helperText: "Enter last name *",
|
|
1678
1689
|
keyboardType: "default",
|
|
1679
1690
|
name: "lastName",
|
|
1680
1691
|
placeholder: "Last Name"
|
|
1681
1692
|
},
|
|
1682
1693
|
{
|
|
1683
|
-
helperText: "Enter
|
|
1694
|
+
helperText: "Enter email address *",
|
|
1684
1695
|
keyboardType: "email-address",
|
|
1685
1696
|
name: "email",
|
|
1686
1697
|
placeholder: "Email"
|
|
@@ -1697,7 +1708,7 @@ var contactUsFields = [
|
|
|
1697
1708
|
// src/formFields/global.ts
|
|
1698
1709
|
var companyContactFields = [
|
|
1699
1710
|
{
|
|
1700
|
-
helperText: "Enter
|
|
1711
|
+
helperText: "Enter email address",
|
|
1701
1712
|
keyboardType: "email-address",
|
|
1702
1713
|
name: "contactDetails.email",
|
|
1703
1714
|
placeholder: "Email"
|
|
@@ -1715,6 +1726,14 @@ var companyContactFields = [
|
|
|
1715
1726
|
placeholder: "Landline Phone Number"
|
|
1716
1727
|
}
|
|
1717
1728
|
];
|
|
1729
|
+
var partnersFields = [
|
|
1730
|
+
{
|
|
1731
|
+
helperText: "Enter email address",
|
|
1732
|
+
keyboardType: "email-address",
|
|
1733
|
+
name: "partners.email",
|
|
1734
|
+
placeholder: "Email"
|
|
1735
|
+
}
|
|
1736
|
+
];
|
|
1718
1737
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1719
1738
|
0 && (module.exports = {
|
|
1720
1739
|
availableCategories,
|
|
@@ -1730,6 +1749,7 @@ var companyContactFields = [
|
|
|
1730
1749
|
eventStartDateFields,
|
|
1731
1750
|
loginFields,
|
|
1732
1751
|
packagingOptions,
|
|
1752
|
+
partnersFields,
|
|
1733
1753
|
producedIngOptions,
|
|
1734
1754
|
profileFields,
|
|
1735
1755
|
registerFields,
|