@industry-theme/file-city-panel 0.2.74 → 0.2.75

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.
@@ -53219,17 +53219,14 @@ function validateTour(tour) {
53219
53219
  stepIds.add(step.id);
53220
53220
  });
53221
53221
  }
53222
- if (tour.audience !== void 0) {
53223
- const validAudiences = ["beginner", "intermediate", "advanced"];
53224
- if (!validAudiences.includes(tour.audience)) {
53225
- errors.push(
53226
- new TourValidationError(
53227
- `Invalid 'audience' - must be one of: ${validAudiences.join(", ")}`,
53228
- "audience",
53229
- tour.audience
53230
- )
53231
- );
53232
- }
53222
+ if (tour.audience !== void 0 && typeof tour.audience !== "string") {
53223
+ errors.push(
53224
+ new TourValidationError(
53225
+ `Invalid 'audience' - must be a string`,
53226
+ "audience",
53227
+ tour.audience
53228
+ )
53229
+ );
53233
53230
  }
53234
53231
  return errors;
53235
53232
  }