@timardex/cluemart-shared 1.2.65 → 1.2.68

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.
Files changed (43) hide show
  1. package/dist/ad--4RgHfBN.d.ts +83 -0
  2. package/dist/ad-ByXz9Km3.d.mts +83 -0
  3. package/dist/{auth-BwtjPUgO.d.ts → auth-ChIm_Rn9.d.ts} +1 -1
  4. package/dist/{auth-DaiySFU6.d.mts → auth-gyDaskvq.d.mts} +1 -1
  5. package/dist/{chunk-N625BZKR.mjs → chunk-ILRVLTWY.mjs} +1 -1
  6. package/dist/{chunk-N625BZKR.mjs.map → chunk-ILRVLTWY.mjs.map} +1 -1
  7. package/dist/formFields/index.cjs +2 -0
  8. package/dist/formFields/index.cjs.map +1 -1
  9. package/dist/formFields/index.d.mts +3 -2
  10. package/dist/formFields/index.d.ts +3 -2
  11. package/dist/formFields/index.mjs +1 -0
  12. package/dist/formFields/index.mjs.map +1 -1
  13. package/dist/{global-CKf55A-q.d.mts → global-Q8FB4ZfD.d.mts} +97 -7
  14. package/dist/{global-BY8seqWN.d.ts → global-X7Gs8dR2.d.ts} +97 -7
  15. package/dist/graphql/index.cjs +8 -7
  16. package/dist/graphql/index.cjs.map +1 -1
  17. package/dist/graphql/index.d.mts +3 -3
  18. package/dist/graphql/index.d.ts +3 -3
  19. package/dist/graphql/index.mjs +8 -7
  20. package/dist/graphql/index.mjs.map +1 -1
  21. package/dist/hooks/index.cjs +15 -10
  22. package/dist/hooks/index.cjs.map +1 -1
  23. package/dist/hooks/index.d.mts +5 -5
  24. package/dist/hooks/index.d.ts +5 -5
  25. package/dist/hooks/index.mjs +15 -10
  26. package/dist/hooks/index.mjs.map +1 -1
  27. package/dist/index.cjs +25 -17
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.mts +108 -100
  30. package/dist/index.d.ts +108 -100
  31. package/dist/index.mjs +23 -16
  32. package/dist/index.mjs.map +1 -1
  33. package/dist/{resourceActivities-DO97TmNs.d.mts → resourceActivities-DB-fx51l.d.mts} +3 -3
  34. package/dist/{resourceActivities-BkGGnxjl.d.ts → resourceActivities-Ezt7CDPH.d.ts} +3 -3
  35. package/dist/types/index.cjs.map +1 -1
  36. package/dist/types/index.d.mts +4 -4
  37. package/dist/types/index.d.ts +4 -4
  38. package/dist/types/index.mjs +1 -1
  39. package/dist/utils/index.d.mts +1 -1
  40. package/dist/utils/index.d.ts +1 -1
  41. package/package.json +1 -1
  42. package/dist/ad-CogBHjto.d.ts +0 -166
  43. package/dist/ad-VhDIYwfz.d.mts +0 -166
@@ -0,0 +1,83 @@
1
+ import { EnumOSPlatform, EnumResourceType, EnumPartnerType } from './enums/index.js';
2
+ import { C as Category, H as CreateFormData, v as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, s as SocialMediaType } from './global-X7Gs8dR2.js';
3
+
4
+ interface TesterFormData {
5
+ approved: boolean;
6
+ categories?: Category[] | null;
7
+ companyName: string;
8
+ email: string;
9
+ firstName: string;
10
+ lastName: string;
11
+ osType: EnumOSPlatform;
12
+ region: string;
13
+ resourceType: EnumResourceType;
14
+ }
15
+ type CreateTesterFormData = CreateFormData<TesterFormData>;
16
+ interface TesterType extends TesterFormData {
17
+ _id: string;
18
+ active: boolean;
19
+ createdAt: Date;
20
+ updatedAt: Date | null;
21
+ }
22
+
23
+ interface PartnerFormData extends BaseResourceTypeFormData {
24
+ location: LocationType;
25
+ nzbn: string;
26
+ partnerType: EnumPartnerType;
27
+ }
28
+ type CreatePartnerFormData = CreateFormData<PartnerFormData>;
29
+ interface PartnerType extends BaseResourceType {
30
+ location: LocationType;
31
+ nzbn: string;
32
+ partnerType: EnumPartnerType;
33
+ }
34
+
35
+ declare enum EnumAdShowOn {
36
+ EVENTS_PAGE = "Events_page",
37
+ FRONT_PAGE = "Front_page",
38
+ PARTNERS_PAGE = "Partners_page",
39
+ VENDORS_PAGE = "Vendors_page"
40
+ }
41
+ declare enum EnumAdStatus {
42
+ ACTIVE = "Active",
43
+ PAUSED = "Paused",
44
+ EXPIRED = "Expired"
45
+ }
46
+ declare enum EnumAdType {
47
+ SPONSORED = "Sponsored",
48
+ FREE = "Free"
49
+ }
50
+ declare enum EnumAdStyle {
51
+ BLOOM = "Bloom",
52
+ RISE = "Rise"
53
+ }
54
+ interface AdFormData {
55
+ active: boolean;
56
+ adStyle: EnumAdStyle;
57
+ adType: EnumAdType;
58
+ clui?: string | null;
59
+ end: Date;
60
+ resourceCover: string;
61
+ resourceDescription: string;
62
+ resourceId: string;
63
+ resourceLogo?: string | null;
64
+ resourceName: string;
65
+ resourceRegion: string;
66
+ resourceType: EnumResourceType;
67
+ showOn: EnumAdShowOn;
68
+ socialMedia?: SocialMediaType[] | null;
69
+ start?: Date;
70
+ status: EnumAdStatus;
71
+ targetRegion?: string | null;
72
+ }
73
+ type CreateAdFormData = CreateFormData<AdFormData>;
74
+ interface AdType extends AdFormData {
75
+ _id: string;
76
+ clicks?: number;
77
+ createdAt: Date;
78
+ impressions?: number;
79
+ start: Date;
80
+ updatedAt: Date | null;
81
+ }
82
+
83
+ export { type AdType as A, type CreateTesterFormData as C, EnumAdStatus as E, type PartnerType as P, type TesterType as T, type PartnerFormData as a, type TesterFormData as b, type AdFormData as c, type CreateAdFormData as d, type CreatePartnerFormData as e, EnumAdShowOn as f, EnumAdType as g, EnumAdStyle as h };
@@ -0,0 +1,83 @@
1
+ import { EnumOSPlatform, EnumResourceType, EnumPartnerType } from './enums/index.mjs';
2
+ import { C as Category, H as CreateFormData, v as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, s as SocialMediaType } from './global-Q8FB4ZfD.mjs';
3
+
4
+ interface TesterFormData {
5
+ approved: boolean;
6
+ categories?: Category[] | null;
7
+ companyName: string;
8
+ email: string;
9
+ firstName: string;
10
+ lastName: string;
11
+ osType: EnumOSPlatform;
12
+ region: string;
13
+ resourceType: EnumResourceType;
14
+ }
15
+ type CreateTesterFormData = CreateFormData<TesterFormData>;
16
+ interface TesterType extends TesterFormData {
17
+ _id: string;
18
+ active: boolean;
19
+ createdAt: Date;
20
+ updatedAt: Date | null;
21
+ }
22
+
23
+ interface PartnerFormData extends BaseResourceTypeFormData {
24
+ location: LocationType;
25
+ nzbn: string;
26
+ partnerType: EnumPartnerType;
27
+ }
28
+ type CreatePartnerFormData = CreateFormData<PartnerFormData>;
29
+ interface PartnerType extends BaseResourceType {
30
+ location: LocationType;
31
+ nzbn: string;
32
+ partnerType: EnumPartnerType;
33
+ }
34
+
35
+ declare enum EnumAdShowOn {
36
+ EVENTS_PAGE = "Events_page",
37
+ FRONT_PAGE = "Front_page",
38
+ PARTNERS_PAGE = "Partners_page",
39
+ VENDORS_PAGE = "Vendors_page"
40
+ }
41
+ declare enum EnumAdStatus {
42
+ ACTIVE = "Active",
43
+ PAUSED = "Paused",
44
+ EXPIRED = "Expired"
45
+ }
46
+ declare enum EnumAdType {
47
+ SPONSORED = "Sponsored",
48
+ FREE = "Free"
49
+ }
50
+ declare enum EnumAdStyle {
51
+ BLOOM = "Bloom",
52
+ RISE = "Rise"
53
+ }
54
+ interface AdFormData {
55
+ active: boolean;
56
+ adStyle: EnumAdStyle;
57
+ adType: EnumAdType;
58
+ clui?: string | null;
59
+ end: Date;
60
+ resourceCover: string;
61
+ resourceDescription: string;
62
+ resourceId: string;
63
+ resourceLogo?: string | null;
64
+ resourceName: string;
65
+ resourceRegion: string;
66
+ resourceType: EnumResourceType;
67
+ showOn: EnumAdShowOn;
68
+ socialMedia?: SocialMediaType[] | null;
69
+ start?: Date;
70
+ status: EnumAdStatus;
71
+ targetRegion?: string | null;
72
+ }
73
+ type CreateAdFormData = CreateFormData<AdFormData>;
74
+ interface AdType extends AdFormData {
75
+ _id: string;
76
+ clicks?: number;
77
+ createdAt: Date;
78
+ impressions?: number;
79
+ start: Date;
80
+ updatedAt: Date | null;
81
+ }
82
+
83
+ export { type AdType as A, type CreateTesterFormData as C, EnumAdStatus as E, type PartnerType as P, type TesterType as T, type PartnerFormData as a, type TesterFormData as b, type AdFormData as c, type CreateAdFormData as d, type CreatePartnerFormData as e, EnumAdShowOn as f, EnumAdType as g, EnumAdStyle as h };
@@ -1,4 +1,4 @@
1
- import { w as CreateFormData, T as TermsAgreement } from './global-BY8seqWN.js';
1
+ import { H as CreateFormData, T as TermsAgreement } from './global-X7Gs8dR2.js';
2
2
  import { EnumOSPlatform } from './enums/index.js';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { w as CreateFormData, T as TermsAgreement } from './global-CKf55A-q.mjs';
1
+ import { H as CreateFormData, T as TermsAgreement } from './global-Q8FB4ZfD.mjs';
2
2
  import { EnumOSPlatform } from './enums/index.mjs';
3
3
 
4
4
  type ContactUsFormData = {
@@ -29,4 +29,4 @@ export {
29
29
  EnumAdType,
30
30
  EnumAdStyle
31
31
  };
32
- //# sourceMappingURL=chunk-N625BZKR.mjs.map
32
+ //# sourceMappingURL=chunk-ILRVLTWY.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/types/ad.ts"],"sourcesContent":["import { EnumResourceType } from \"src/enums\";\n\nimport { CreateFormData, SocialMediaType } from \"./global\";\n\nexport enum EnumAdShowOn {\n EVENTS_PAGE = \"Events_page\",\n FRONT_PAGE = \"Front_page\",\n PARTNERS_PAGE = \"Partners_page\",\n VENDORS_PAGE = \"Vendors_page\",\n}\n\nexport enum EnumAdStatus {\n ACTIVE = \"Active\",\n PAUSED = \"Paused\",\n EXPIRED = \"Expired\",\n}\n\nexport enum EnumAdType {\n SPONSORED = \"Sponsored\",\n FREE = \"Free\",\n}\n\nexport enum EnumAdStyle {\n BLOOM = \"Bloom\",\n RISE = \"Rise\",\n}\n\nexport interface AdFormData {\n active: boolean;\n adStyle: EnumAdStyle;\n adType: EnumAdType;\n clui?: string | null;\n end: Date; // ISO date string\n resourceCover: string;\n resourceDescription: string;\n resourceId: string;\n resourceLogo?: string | null;\n resourceName: string;\n resourceRegion: string;\n resourceType: EnumResourceType;\n showOn: EnumAdShowOn;\n socialMedia?: SocialMediaType[] | null;\n start?: Date; // ISO date string\n status: EnumAdStatus;\n targetRegion?: string | null;\n}\n\nexport type CreateAdFormData = CreateFormData<AdFormData>;\n\nexport interface AdType extends AdFormData {\n _id: string;\n clicks?: number; // How many times the ad was clicked\n createdAt: Date;\n impressions?: number; // How often the ad was seen\n start: Date; // ISO date string\n updatedAt: Date;\n}\n"],"mappings":";AAIO,IAAK,eAAL,kBAAKA,kBAAL;AACL,EAAAA,cAAA,iBAAc;AACd,EAAAA,cAAA,gBAAa;AACb,EAAAA,cAAA,mBAAgB;AAChB,EAAAA,cAAA,kBAAe;AAJL,SAAAA;AAAA,GAAA;AAOL,IAAK,eAAL,kBAAKC,kBAAL;AACL,EAAAA,cAAA,YAAS;AACT,EAAAA,cAAA,YAAS;AACT,EAAAA,cAAA,aAAU;AAHA,SAAAA;AAAA,GAAA;AAML,IAAK,aAAL,kBAAKC,gBAAL;AACL,EAAAA,YAAA,eAAY;AACZ,EAAAA,YAAA,UAAO;AAFG,SAAAA;AAAA,GAAA;AAKL,IAAK,cAAL,kBAAKC,iBAAL;AACL,EAAAA,aAAA,WAAQ;AACR,EAAAA,aAAA,UAAO;AAFG,SAAAA;AAAA,GAAA;","names":["EnumAdShowOn","EnumAdStatus","EnumAdType","EnumAdStyle"]}
1
+ {"version":3,"sources":["../src/types/ad.ts"],"sourcesContent":["import { EnumResourceType } from \"src/enums\";\n\nimport { CreateFormData, SocialMediaType } from \"./global\";\n\nexport enum EnumAdShowOn {\n EVENTS_PAGE = \"Events_page\",\n FRONT_PAGE = \"Front_page\",\n PARTNERS_PAGE = \"Partners_page\",\n VENDORS_PAGE = \"Vendors_page\",\n}\n\nexport enum EnumAdStatus {\n ACTIVE = \"Active\",\n PAUSED = \"Paused\",\n EXPIRED = \"Expired\",\n}\n\nexport enum EnumAdType {\n SPONSORED = \"Sponsored\",\n FREE = \"Free\",\n}\n\nexport enum EnumAdStyle {\n BLOOM = \"Bloom\",\n RISE = \"Rise\",\n}\n\nexport interface AdFormData {\n active: boolean;\n adStyle: EnumAdStyle;\n adType: EnumAdType;\n clui?: string | null;\n end: Date; // ISO date string\n resourceCover: string;\n resourceDescription: string;\n resourceId: string;\n resourceLogo?: string | null;\n resourceName: string;\n resourceRegion: string;\n resourceType: EnumResourceType;\n showOn: EnumAdShowOn;\n socialMedia?: SocialMediaType[] | null;\n start?: Date; // ISO date string\n status: EnumAdStatus;\n targetRegion?: string | null;\n}\n\nexport type CreateAdFormData = CreateFormData<AdFormData>;\n\nexport interface AdType extends AdFormData {\n _id: string;\n clicks?: number; // How many times the ad was clicked\n createdAt: Date;\n impressions?: number; // How often the ad was seen\n start: Date; // ISO date string\n updatedAt: Date | null;\n}\n"],"mappings":";AAIO,IAAK,eAAL,kBAAKA,kBAAL;AACL,EAAAA,cAAA,iBAAc;AACd,EAAAA,cAAA,gBAAa;AACb,EAAAA,cAAA,mBAAgB;AAChB,EAAAA,cAAA,kBAAe;AAJL,SAAAA;AAAA,GAAA;AAOL,IAAK,eAAL,kBAAKC,kBAAL;AACL,EAAAA,cAAA,YAAS;AACT,EAAAA,cAAA,YAAS;AACT,EAAAA,cAAA,aAAU;AAHA,SAAAA;AAAA,GAAA;AAML,IAAK,aAAL,kBAAKC,gBAAL;AACL,EAAAA,YAAA,eAAY;AACZ,EAAAA,YAAA,UAAO;AAFG,SAAAA;AAAA,GAAA;AAKL,IAAK,cAAL,kBAAKC,iBAAL;AACL,EAAAA,aAAA,WAAQ;AACR,EAAAA,aAAA,UAAO;AAFG,SAAAA;AAAA,GAAA;","names":["EnumAdShowOn","EnumAdStatus","EnumAdType","EnumAdStyle"]}
@@ -32,6 +32,7 @@ var formFields_exports = {};
32
32
  __export(formFields_exports, {
33
33
  availableCategories: () => availableCategories,
34
34
  availableTagTypes: () => availableTagTypes,
35
+ categoryColors: () => categoryColors,
35
36
  companyContactFields: () => companyContactFields,
36
37
  contactUsFields: () => contactUsFields,
37
38
  emailField: () => emailField,
@@ -1874,6 +1875,7 @@ var partnerBasicInfoFields = [
1874
1875
  0 && (module.exports = {
1875
1876
  availableCategories,
1876
1877
  availableTagTypes,
1878
+ categoryColors,
1877
1879
  companyContactFields,
1878
1880
  contactUsFields,
1879
1881
  emailField,