@timardex/cluemart-shared 1.1.89 → 1.1.91

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.
@@ -1,5 +1,5 @@
1
1
  import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole } from './enums/index.mjs';
2
- import { C as Category, v as CreateFormData, n as ResourceImageType, P as PartnerType, o as SocialMediaType } from './global-DM2y8vJE.mjs';
2
+ import { C as Category, v as CreateFormData, n as ResourceImageType, P as PartnerType, o as SocialMediaType } from './global-slnUPjNy.mjs';
3
3
 
4
4
  interface TestersFormData {
5
5
  categories: Category[] | null;
@@ -1,5 +1,5 @@
1
1
  import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole } from './enums/index.js';
2
- import { C as Category, v as CreateFormData, n as ResourceImageType, P as PartnerType, o as SocialMediaType } from './global-CpzUMd9V.js';
2
+ import { C as Category, v as CreateFormData, n as ResourceImageType, P as PartnerType, o as SocialMediaType } from './global-DD7JD8aS.js';
3
3
 
4
4
  interface TestersFormData {
5
5
  categories: Category[] | null;
@@ -1,4 +1,4 @@
1
- import { v as CreateFormData } from './global-CpzUMd9V.js';
1
+ import { v as CreateFormData } from './global-DD7JD8aS.js';
2
2
  import { EnumOSPlatform } from './enums/index.js';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { v as CreateFormData } from './global-DM2y8vJE.mjs';
1
+ import { v as CreateFormData } from './global-slnUPjNy.mjs';
2
2
  import { EnumOSPlatform } from './enums/index.mjs';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-DM2y8vJE.mjs';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-slnUPjNy.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-CpzUMd9V.js';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-DD7JD8aS.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -4,7 +4,7 @@ import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType
4
4
  type RelationDate = {
5
5
  lastUpdateBy: {
6
6
  resourceId: string;
7
- userId: string;
7
+ userEmail: string;
8
8
  };
9
9
  paymentReference?: string;
10
10
  stallType: StallType | null;
@@ -164,6 +164,10 @@ type PartnerType = {
164
164
  resourceType: EnumResourceType;
165
165
  licence: EnumUserLicence;
166
166
  };
167
+ type OwnerType = {
168
+ email: string;
169
+ userId: string;
170
+ };
167
171
  interface BaseResourceTypeFormData {
168
172
  _id?: string;
169
173
  active: boolean;
@@ -179,11 +183,8 @@ interface BaseResourceTypeFormData {
179
183
  region: string;
180
184
  socialMedia?: SocialMediaType[] | null;
181
185
  partners?: PartnerType[] | null;
186
+ owner?: OwnerType | null;
182
187
  }
183
- type OwnerType = {
184
- email: string;
185
- userId: string;
186
- };
187
188
  type PosterUsageType = {
188
189
  month: string;
189
190
  count: number;
@@ -4,7 +4,7 @@ import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType
4
4
  type RelationDate = {
5
5
  lastUpdateBy: {
6
6
  resourceId: string;
7
- userId: string;
7
+ userEmail: string;
8
8
  };
9
9
  paymentReference?: string;
10
10
  stallType: StallType | null;
@@ -164,6 +164,10 @@ type PartnerType = {
164
164
  resourceType: EnumResourceType;
165
165
  licence: EnumUserLicence;
166
166
  };
167
+ type OwnerType = {
168
+ email: string;
169
+ userId: string;
170
+ };
167
171
  interface BaseResourceTypeFormData {
168
172
  _id?: string;
169
173
  active: boolean;
@@ -179,11 +183,8 @@ interface BaseResourceTypeFormData {
179
183
  region: string;
180
184
  socialMedia?: SocialMediaType[] | null;
181
185
  partners?: PartnerType[] | null;
186
+ owner?: OwnerType | null;
182
187
  }
183
- type OwnerType = {
184
- email: string;
185
- userId: string;
186
- };
187
188
  type PosterUsageType = {
188
189
  month: string;
189
190
  count: number;
@@ -1403,7 +1403,7 @@ var RELATION_DATES_FRAGMENT = import_client29.gql`
1403
1403
  fragment RelationDates on RelationDateType {
1404
1404
  lastUpdateBy {
1405
1405
  resourceId
1406
- userId
1406
+ userEmail
1407
1407
  }
1408
1408
  paymentReference
1409
1409
  stallType {