@timardex/cluemart-shared 1.1.49 → 1.1.51
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-B38R7kN8.d.mts → ad-9DZpt-Cy.d.mts} +1 -1
- package/dist/{ad-BSJ5Rcy-.d.ts → ad-J-6X6zt8.d.ts} +1 -1
- package/dist/{auth-Bsj1_LlO.d.mts → auth-Bnd-zHOQ.d.mts} +1 -1
- package/dist/{auth-Dv401hlq.d.ts → auth-G5E78nQV.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-C54rKsX4.d.ts → global-BLaVmyzt.d.ts} +6 -1
- package/dist/{global-CCUhQFgH.d.mts → global-DAvD_9fr.d.mts} +6 -1
- package/dist/graphql/index.cjs +21 -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 +21 -0
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +1 -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 +1 -1
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +22 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.mjs +22 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{notification-B7Of1JBL.d.mts → notification-D9ohCA4M.d.mts} +1 -1
- package/dist/{notification-DjHxLq5N.d.ts → notification-HQr6uv8e.d.ts} +1 -1
- package/dist/types/index.d.mts +5 -4
- package/dist/types/index.d.ts +5 -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, w as CreateFormData, o as ResourceImageType, p as SocialMediaType } from './global-
|
|
2
|
+
import { C as Category, w as CreateFormData, o as ResourceImageType, p as SocialMediaType } from './global-DAvD_9fr.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, w as CreateFormData, o as ResourceImageType, p as SocialMediaType } from './global-
|
|
2
|
+
import { C as Category, w as CreateFormData, o as ResourceImageType, p as SocialMediaType } from './global-BLaVmyzt.js';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories: Category[] | null;
|
|
@@ -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-
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-DAvD_9fr.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-
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-BLaVmyzt.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -169,6 +169,10 @@ type OwnerType = {
|
|
|
169
169
|
licences: string[];
|
|
170
170
|
userId: string;
|
|
171
171
|
};
|
|
172
|
+
type PosterUsageType = {
|
|
173
|
+
month: string;
|
|
174
|
+
count: number;
|
|
175
|
+
};
|
|
172
176
|
type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload"> & {
|
|
173
177
|
_id: string;
|
|
174
178
|
adIds?: string[] | null;
|
|
@@ -176,6 +180,7 @@ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "
|
|
|
176
180
|
owner: OwnerType;
|
|
177
181
|
relationIds: string[] | null;
|
|
178
182
|
updatedAt: string;
|
|
183
|
+
posterUsage?: PosterUsageType[] | null;
|
|
179
184
|
};
|
|
180
185
|
type LocationType = {
|
|
181
186
|
city: string;
|
|
@@ -268,4 +273,4 @@ type PhoneNumberType = {
|
|
|
268
273
|
mobilePhone?: string | null;
|
|
269
274
|
};
|
|
270
275
|
|
|
271
|
-
export type {
|
|
276
|
+
export type { MarketWithConnectionDatesType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, RelationDate as E, FormField as F, GeocodeLocation as G, StallholderLocation as H, ImageObjectType as I, StallholderAttributes as J, SatllholderWithConnectionDatesType as K, LocationType as L, MarketType as M, Nullable as N, OptionItem as O, PosterUsageType as P, Requirement as R, StallType as S, FormDateField as a, MarketInfoType as b, RelationType as c, ResourceConnectionsType as d, StallholderType as e, StallholderInfoType as f, StallholderFormData as g, CreateStallholderFormData as h, StallholderInfoFormData as i, CreateStallholderInfoFormData as j, MarketFormData as k, CreateMarketFormData as l, MarketInfoFormData as m, CreateMarketInfoFormData as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, BaseResourceType as r, Region as s, MapMultiLocation as t, SubcategoryItems as u, Subcategory as v, CreateFormData as w, PhoneNumberType as x, DateTimeWithPriceType as y, PaymentInfoType as z };
|
|
@@ -169,6 +169,10 @@ type OwnerType = {
|
|
|
169
169
|
licences: string[];
|
|
170
170
|
userId: string;
|
|
171
171
|
};
|
|
172
|
+
type PosterUsageType = {
|
|
173
|
+
month: string;
|
|
174
|
+
count: number;
|
|
175
|
+
};
|
|
172
176
|
type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload"> & {
|
|
173
177
|
_id: string;
|
|
174
178
|
adIds?: string[] | null;
|
|
@@ -176,6 +180,7 @@ type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "
|
|
|
176
180
|
owner: OwnerType;
|
|
177
181
|
relationIds: string[] | null;
|
|
178
182
|
updatedAt: string;
|
|
183
|
+
posterUsage?: PosterUsageType[] | null;
|
|
179
184
|
};
|
|
180
185
|
type LocationType = {
|
|
181
186
|
city: string;
|
|
@@ -268,4 +273,4 @@ type PhoneNumberType = {
|
|
|
268
273
|
mobilePhone?: string | null;
|
|
269
274
|
};
|
|
270
275
|
|
|
271
|
-
export type {
|
|
276
|
+
export type { MarketWithConnectionDatesType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, RelationDate as E, FormField as F, GeocodeLocation as G, StallholderLocation as H, ImageObjectType as I, StallholderAttributes as J, SatllholderWithConnectionDatesType as K, LocationType as L, MarketType as M, Nullable as N, OptionItem as O, PosterUsageType as P, Requirement as R, StallType as S, FormDateField as a, MarketInfoType as b, RelationType as c, ResourceConnectionsType as d, StallholderType as e, StallholderInfoType as f, StallholderFormData as g, CreateStallholderFormData as h, StallholderInfoFormData as i, CreateStallholderInfoFormData as j, MarketFormData as k, CreateMarketFormData as l, MarketInfoFormData as m, CreateMarketInfoFormData as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, BaseResourceType as r, Region as s, MapMultiLocation as t, SubcategoryItems as u, Subcategory as v, CreateFormData as w, PhoneNumberType as x, DateTimeWithPriceType as y, PaymentInfoType as z };
|
package/dist/graphql/index.cjs
CHANGED
|
@@ -120,6 +120,12 @@ var import_client3 = require("@apollo/client");
|
|
|
120
120
|
|
|
121
121
|
// src/graphql/queries/global.ts
|
|
122
122
|
var import_client2 = require("@apollo/client");
|
|
123
|
+
var POSTER_USAGE_FIELDS_FRAGMENT = import_client2.gql`
|
|
124
|
+
fragment PosterUsageFields on PosterUsageType {
|
|
125
|
+
month
|
|
126
|
+
count
|
|
127
|
+
}
|
|
128
|
+
`;
|
|
123
129
|
var SOCIAL_MEDIA_FIELDS_FRAGMENT = import_client2.gql`
|
|
124
130
|
fragment SocialMediaFields on SocialMediaType {
|
|
125
131
|
name
|
|
@@ -275,6 +281,9 @@ var MARKET = import_client3.gql`
|
|
|
275
281
|
}
|
|
276
282
|
promoCode
|
|
277
283
|
provider
|
|
284
|
+
posterUsage {
|
|
285
|
+
...PosterUsageFields
|
|
286
|
+
}
|
|
278
287
|
region
|
|
279
288
|
relationIds
|
|
280
289
|
socialMedia {
|
|
@@ -289,6 +298,7 @@ var MARKET = import_client3.gql`
|
|
|
289
298
|
${OWNER_FIELDS_FRAGMENT}
|
|
290
299
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
291
300
|
${SOCIAL_MEDIA_FIELDS_FRAGMENT}
|
|
301
|
+
${POSTER_USAGE_FIELDS_FRAGMENT}
|
|
292
302
|
`;
|
|
293
303
|
var GET_MARKETS = import_client3.gql`
|
|
294
304
|
query getMarkets {
|
|
@@ -397,6 +407,9 @@ var STALLHOLDER = import_client4.gql`
|
|
|
397
407
|
}
|
|
398
408
|
products
|
|
399
409
|
promoCode
|
|
410
|
+
posterUsage {
|
|
411
|
+
...PosterUsageFields
|
|
412
|
+
}
|
|
400
413
|
region
|
|
401
414
|
relationIds
|
|
402
415
|
socialMedia {
|
|
@@ -411,6 +424,7 @@ var STALLHOLDER = import_client4.gql`
|
|
|
411
424
|
${OWNER_FIELDS_FRAGMENT}
|
|
412
425
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
413
426
|
${SOCIAL_MEDIA_FIELDS_FRAGMENT}
|
|
427
|
+
${POSTER_USAGE_FIELDS_FRAGMENT}
|
|
414
428
|
`;
|
|
415
429
|
var STALLHOLDER_INFO = import_client4.gql`
|
|
416
430
|
fragment StallholderInfoFields on StallholderInfoType {
|
|
@@ -1452,6 +1466,9 @@ var GET_RESOURCE_CONNECTIONS = import_client29.gql`
|
|
|
1452
1466
|
}
|
|
1453
1467
|
promoCode
|
|
1454
1468
|
provider
|
|
1469
|
+
posterUsage {
|
|
1470
|
+
...PosterUsageFields
|
|
1471
|
+
}
|
|
1455
1472
|
region
|
|
1456
1473
|
relationIds
|
|
1457
1474
|
socialMedia {
|
|
@@ -1499,6 +1516,9 @@ var GET_RESOURCE_CONNECTIONS = import_client29.gql`
|
|
|
1499
1516
|
}
|
|
1500
1517
|
products
|
|
1501
1518
|
promoCode
|
|
1519
|
+
posterUsage {
|
|
1520
|
+
...PosterUsageFields
|
|
1521
|
+
}
|
|
1502
1522
|
region
|
|
1503
1523
|
relationIds
|
|
1504
1524
|
specialities
|
|
@@ -1521,6 +1541,7 @@ var GET_RESOURCE_CONNECTIONS = import_client29.gql`
|
|
|
1521
1541
|
${STALLHOLDER_LOCATION_FIELDS_FRAGMENT}
|
|
1522
1542
|
${RELATION_DATES_FRAGMENT}
|
|
1523
1543
|
${SOCIAL_MEDIA_FIELDS_FRAGMENT}
|
|
1544
|
+
${POSTER_USAGE_FIELDS_FRAGMENT}
|
|
1524
1545
|
`;
|
|
1525
1546
|
|
|
1526
1547
|
// src/graphql/mutations/relation.ts
|