@timardex/cluemart-server-shared 1.0.92 → 1.0.93

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.
@@ -6805,7 +6805,6 @@ var EnumEventDateStatus = /* @__PURE__ */ ((EnumEventDateStatus22) => {
6805
6805
  EnumEventDateStatus22["STARTED"] = "Started";
6806
6806
  EnumEventDateStatus22["TODAY"] = "Today";
6807
6807
  EnumEventDateStatus22["TOMORROW"] = "Tomorrow";
6808
- EnumEventDateStatus22["THIS_WEEKEND"] = "This_Weekend";
6809
6808
  EnumEventDateStatus22["THIS_WEEK"] = "This_Week";
6810
6809
  EnumEventDateStatus22["NEXT_WEEK"] = "Next_Week";
6811
6810
  EnumEventDateStatus22["UPCOMING"] = "Upcoming";
@@ -8090,6 +8089,17 @@ var ADMIN_RESEND_USER_VERIFICATION_EMAIL_MUTATION = gql`
8090
8089
  adminResendUserVerificationEmail(userId: $userId)
8091
8090
  }
8092
8091
  `;
8092
+ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = gql`
8093
+ mutation adminPermanentlyDeleteResource(
8094
+ $resourceId: ID!
8095
+ $resourceType: ResourceTypeEnum!
8096
+ ) {
8097
+ adminPermanentlyDeleteResource(
8098
+ resourceId: $resourceId
8099
+ resourceType: $resourceType
8100
+ )
8101
+ }
8102
+ `;
8093
8103
  var POSTER_USAGE_FIELDS_FRAGMENT = gql`
8094
8104
  fragment PosterUsageFields on PosterUsageType {
8095
8105
  month
@@ -8546,6 +8556,18 @@ var VENDOR = gql`
8546
8556
  categories {
8547
8557
  ...CategoryFields
8548
8558
  }
8559
+ calendar {
8560
+ active
8561
+ calendarData {
8562
+ dateTime {
8563
+ ...VendorDateTimeFields
8564
+ }
8565
+ description
8566
+ location {
8567
+ ...LocationFields
8568
+ }
8569
+ }
8570
+ }
8549
8571
  contactDetails {
8550
8572
  ...ContactDetailsFields
8551
8573
  }
@@ -8559,19 +8581,9 @@ var VENDOR = gql`
8559
8581
  images {
8560
8582
  ...ResourceImageFields
8561
8583
  }
8562
- locations {
8563
- dateTime {
8564
- ...VendorDateTimeFields
8565
- }
8566
- description
8567
- location {
8568
- ...LocationFields
8569
- }
8570
- }
8571
8584
  logo {
8572
8585
  ...ResourceImageFields
8573
8586
  }
8574
- multiLocation
8575
8587
  name
8576
8588
  owner {
8577
8589
  ...OwnerFields
@@ -9876,6 +9888,13 @@ var CRAWL_GOOGLE_MARKETS_MUTATION = gql`
9876
9888
  }
9877
9889
  }
9878
9890
  `;
9891
+ var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = gql`
9892
+ mutation updateGoogleImportedMarkets {
9893
+ updateGoogleImportedMarkets {
9894
+ message
9895
+ }
9896
+ }
9897
+ `;
9879
9898
  var APP_SETTINGS_FIELDS_FRAGMENT = gql`
9880
9899
  fragment AppSettingsFields on AppSettingsType {
9881
9900
  _id
@@ -10204,7 +10223,6 @@ var vendroMenuSchema = create$3().shape({
10204
10223
  var vendorSchema = globalResourceSchema.shape({
10205
10224
  categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),
10206
10225
  foodTruck: create$7().label("Food Truck").required("Please specify if the vendor is a food truck"),
10207
- multiLocation: create$7().required("Multi location is required"),
10208
10226
  products: create$2().of(vendroMenuSchema).nullable().optional(),
10209
10227
  vendorType: create$8().oneOf(Object.values(EnumVendorType)).required("Please select a Vendor type")
10210
10228
  });
@@ -10524,8 +10542,6 @@ var defaultVendorFormValues = {
10524
10542
  },
10525
10543
  categories: [],
10526
10544
  foodTruck: false,
10527
- locations: null,
10528
- multiLocation: false,
10529
10545
  products: null,
10530
10546
  vendorType: "Stallholder"
10531
10547
  /* STALLHOLDER */
@@ -11254,7 +11270,7 @@ schema4.index({ isRead: 1, userId: 1 });
11254
11270
  schema4.index({ createdAt: -1, userId: 1 });
11255
11271
  var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
11256
11272
 
11257
- // node_modules/@timardex/cluemart-shared/dist/chunk-Z6FJKHRH.mjs
11273
+ // node_modules/@timardex/cluemart-shared/dist/chunk-LDO4DRWY.mjs
11258
11274
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
11259
11275
  EnumOSPlatform22["ANDROID"] = "android";
11260
11276
  EnumOSPlatform22["IOS"] = "ios";
@@ -11507,7 +11523,7 @@ var MenuTypeSchema = new MongooseSchema13(
11507
11523
  { _id: false }
11508
11524
  // Prevents Mongoose from creating an additional _id field for subdocuments
11509
11525
  );
11510
- var LocationsSchema = new MongooseSchema13(
11526
+ var calendarSchema = new MongooseSchema13(
11511
11527
  {
11512
11528
  dateTime: {
11513
11529
  dateStatus: {
@@ -11529,6 +11545,13 @@ var LocationsSchema = new MongooseSchema13(
11529
11545
  { _id: false }
11530
11546
  // Prevents Mongoose from creating an additional _id field for subdocuments
11531
11547
  );
11548
+ var calendarWrapperSchema = new MongooseSchema13(
11549
+ {
11550
+ active: { default: false, type: Boolean },
11551
+ calendarData: { required: false, type: [calendarSchema] }
11552
+ },
11553
+ { _id: false }
11554
+ );
11532
11555
  var schema9 = new MongooseSchema13(
11533
11556
  {
11534
11557
  ...baseResourceFields,
@@ -11538,10 +11561,12 @@ var schema9 = new MongooseSchema13(
11538
11561
  private: { default: false, required: false, type: Boolean },
11539
11562
  school: { default: false, required: false, type: Boolean }
11540
11563
  },
11564
+ calendar: {
11565
+ required: false,
11566
+ type: calendarWrapperSchema
11567
+ },
11541
11568
  categories: [CategorySchema],
11542
11569
  foodTruck: { required: true, type: Boolean },
11543
- locations: [LocationsSchema],
11544
- multiLocation: { required: true, type: Boolean },
11545
11570
  products: [MenuTypeSchema],
11546
11571
  relations: {
11547
11572
  default: [],
@@ -11830,4 +11855,4 @@ react/cjs/react.development.js:
11830
11855
  * LICENSE file in the root directory of this source tree.
11831
11856
  *)
11832
11857
  */
11833
- //# sourceMappingURL=chunk-S5SB52ZU.mjs.map
11858
+ //# sourceMappingURL=chunk-DNMGFM32.mjs.map