@timardex/cluemart-shared 1.2.74 → 1.2.76
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-_p1gmLNT.d.mts → ad-gZ1qDsbZ.d.mts} +1 -1
- package/dist/{ad-DIpc7lyr.d.ts → ad-xdJwfxlP.d.ts} +1 -1
- package/dist/{auth-CcX2zTDU.d.mts → auth-3LaB7wSd.d.mts} +1 -1
- package/dist/{auth-Bjqk92cx.d.ts → auth-CUYS6mTa.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-BH6qrlBv.d.ts → global-C36I4j_Z.d.ts} +2 -2
- package/dist/{global-B0AzhgkH.d.mts → global-Cc11i_-I.d.mts} +2 -2
- package/dist/graphql/index.cjs +1 -1
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +11 -23
- package/dist/graphql/index.d.ts +11 -23
- package/dist/graphql/index.mjs +1 -1
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +10 -22
- package/dist/index.d.ts +10 -22
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -505,7 +505,7 @@ type PosterUsageType = {
|
|
|
505
505
|
type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner" | "associates"> & {
|
|
506
506
|
_id: string;
|
|
507
507
|
adIds?: string[] | null;
|
|
508
|
-
associates
|
|
508
|
+
associates: AssociateType[] | null;
|
|
509
509
|
chatIds?: string[] | null;
|
|
510
510
|
createdAt: Date;
|
|
511
511
|
deletedAt: Date | null;
|
|
@@ -1209,32 +1209,16 @@ declare const useUpdateRelation: () => {
|
|
|
1209
1209
|
error: _apollo_client.ApolloError | undefined;
|
|
1210
1210
|
loading: boolean;
|
|
1211
1211
|
updateRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1212
|
-
updateRelation:
|
|
1213
|
-
eventId: string;
|
|
1214
|
-
vendorId: string;
|
|
1215
|
-
lastUpdateBy: EnumResourceType;
|
|
1216
|
-
};
|
|
1212
|
+
updateRelation: RelationType;
|
|
1217
1213
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1218
|
-
updateRelation:
|
|
1219
|
-
eventId: string;
|
|
1220
|
-
vendorId: string;
|
|
1221
|
-
lastUpdateBy: EnumResourceType;
|
|
1222
|
-
};
|
|
1214
|
+
updateRelation: RelationType;
|
|
1223
1215
|
}>>;
|
|
1224
1216
|
};
|
|
1225
1217
|
declare const useDeleteRelation: () => {
|
|
1226
1218
|
deleteRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1227
|
-
deleteRelation:
|
|
1228
|
-
eventId: string;
|
|
1229
|
-
vendorId: string;
|
|
1230
|
-
lastUpdateBy: EnumResourceType;
|
|
1231
|
-
};
|
|
1219
|
+
deleteRelation: RelationType;
|
|
1232
1220
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1233
|
-
deleteRelation:
|
|
1234
|
-
eventId: string;
|
|
1235
|
-
vendorId: string;
|
|
1236
|
-
lastUpdateBy: EnumResourceType;
|
|
1237
|
-
};
|
|
1221
|
+
deleteRelation: RelationType;
|
|
1238
1222
|
}>>;
|
|
1239
1223
|
error: _apollo_client.ApolloError | undefined;
|
|
1240
1224
|
loading: boolean;
|
|
@@ -1278,7 +1262,7 @@ declare const useGetResourceConnections: (resourceId: string, resourceType: Enum
|
|
|
1278
1262
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1279
1263
|
resourceConnections: ResourceConnectionsType;
|
|
1280
1264
|
}>>;
|
|
1281
|
-
resourceConnections: ResourceConnectionsType |
|
|
1265
|
+
resourceConnections: ResourceConnectionsType | undefined;
|
|
1282
1266
|
};
|
|
1283
1267
|
|
|
1284
1268
|
declare const useCreateVendor: () => {
|
|
@@ -1438,10 +1422,14 @@ declare const useSelectPackage: () => {
|
|
|
1438
1422
|
selectPackage: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1439
1423
|
selectPackage: {
|
|
1440
1424
|
userId: string;
|
|
1425
|
+
message: string;
|
|
1426
|
+
licences: UserLicenceType[];
|
|
1441
1427
|
};
|
|
1442
1428
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1443
1429
|
selectPackage: {
|
|
1444
1430
|
userId: string;
|
|
1431
|
+
message: string;
|
|
1432
|
+
licences: UserLicenceType[];
|
|
1445
1433
|
};
|
|
1446
1434
|
}>>;
|
|
1447
1435
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -505,7 +505,7 @@ type PosterUsageType = {
|
|
|
505
505
|
type BaseResourceType = Omit<BaseResourceTypeFormData, "_id" | "coverUpload" | "imagesUpload" | "logoUpload" | "owner" | "associates"> & {
|
|
506
506
|
_id: string;
|
|
507
507
|
adIds?: string[] | null;
|
|
508
|
-
associates
|
|
508
|
+
associates: AssociateType[] | null;
|
|
509
509
|
chatIds?: string[] | null;
|
|
510
510
|
createdAt: Date;
|
|
511
511
|
deletedAt: Date | null;
|
|
@@ -1209,32 +1209,16 @@ declare const useUpdateRelation: () => {
|
|
|
1209
1209
|
error: _apollo_client.ApolloError | undefined;
|
|
1210
1210
|
loading: boolean;
|
|
1211
1211
|
updateRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1212
|
-
updateRelation:
|
|
1213
|
-
eventId: string;
|
|
1214
|
-
vendorId: string;
|
|
1215
|
-
lastUpdateBy: EnumResourceType;
|
|
1216
|
-
};
|
|
1212
|
+
updateRelation: RelationType;
|
|
1217
1213
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1218
|
-
updateRelation:
|
|
1219
|
-
eventId: string;
|
|
1220
|
-
vendorId: string;
|
|
1221
|
-
lastUpdateBy: EnumResourceType;
|
|
1222
|
-
};
|
|
1214
|
+
updateRelation: RelationType;
|
|
1223
1215
|
}>>;
|
|
1224
1216
|
};
|
|
1225
1217
|
declare const useDeleteRelation: () => {
|
|
1226
1218
|
deleteRelation: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1227
|
-
deleteRelation:
|
|
1228
|
-
eventId: string;
|
|
1229
|
-
vendorId: string;
|
|
1230
|
-
lastUpdateBy: EnumResourceType;
|
|
1231
|
-
};
|
|
1219
|
+
deleteRelation: RelationType;
|
|
1232
1220
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1233
|
-
deleteRelation:
|
|
1234
|
-
eventId: string;
|
|
1235
|
-
vendorId: string;
|
|
1236
|
-
lastUpdateBy: EnumResourceType;
|
|
1237
|
-
};
|
|
1221
|
+
deleteRelation: RelationType;
|
|
1238
1222
|
}>>;
|
|
1239
1223
|
error: _apollo_client.ApolloError | undefined;
|
|
1240
1224
|
loading: boolean;
|
|
@@ -1278,7 +1262,7 @@ declare const useGetResourceConnections: (resourceId: string, resourceType: Enum
|
|
|
1278
1262
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<{
|
|
1279
1263
|
resourceConnections: ResourceConnectionsType;
|
|
1280
1264
|
}>>;
|
|
1281
|
-
resourceConnections: ResourceConnectionsType |
|
|
1265
|
+
resourceConnections: ResourceConnectionsType | undefined;
|
|
1282
1266
|
};
|
|
1283
1267
|
|
|
1284
1268
|
declare const useCreateVendor: () => {
|
|
@@ -1438,10 +1422,14 @@ declare const useSelectPackage: () => {
|
|
|
1438
1422
|
selectPackage: (options?: _apollo_client.MutationFunctionOptions<{
|
|
1439
1423
|
selectPackage: {
|
|
1440
1424
|
userId: string;
|
|
1425
|
+
message: string;
|
|
1426
|
+
licences: UserLicenceType[];
|
|
1441
1427
|
};
|
|
1442
1428
|
}, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<{
|
|
1443
1429
|
selectPackage: {
|
|
1444
1430
|
userId: string;
|
|
1431
|
+
message: string;
|
|
1432
|
+
licences: UserLicenceType[];
|
|
1445
1433
|
};
|
|
1446
1434
|
}>>;
|
|
1447
1435
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -3928,7 +3928,7 @@ var useGetResourceConnections = (resourceId, resourceType) => {
|
|
|
3928
3928
|
fetchPolicy: "network-only",
|
|
3929
3929
|
variables: { resourceId, resourceType }
|
|
3930
3930
|
});
|
|
3931
|
-
const resourceConnections = data?.resourceConnections
|
|
3931
|
+
const resourceConnections = data?.resourceConnections;
|
|
3932
3932
|
return { error, loading, refetch, resourceConnections };
|
|
3933
3933
|
};
|
|
3934
3934
|
|