@timardex/cluemart-shared 1.5.570 → 1.5.572

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/index.d.mts CHANGED
@@ -1295,6 +1295,8 @@ interface AppSettingsFormData {
1295
1295
  type CreateAppSettingsFormData = CreateFormData<AppSettingsFormData>;
1296
1296
  type AppSettingsType = AppSettingsFormData & {
1297
1297
  _id: string;
1298
+ activeSchoolsStudentCountTotal: number;
1299
+ activeSchoolsStudentCountUpdatedAt: Date;
1298
1300
  createdAt: Date;
1299
1301
  key: string;
1300
1302
  updatedAt: Date | null;
package/dist/index.d.ts CHANGED
@@ -1295,6 +1295,8 @@ interface AppSettingsFormData {
1295
1295
  type CreateAppSettingsFormData = CreateFormData<AppSettingsFormData>;
1296
1296
  type AppSettingsType = AppSettingsFormData & {
1297
1297
  _id: string;
1298
+ activeSchoolsStudentCountTotal: number;
1299
+ activeSchoolsStudentCountUpdatedAt: Date;
1298
1300
  createdAt: Date;
1299
1301
  key: string;
1300
1302
  updatedAt: Date | null;
package/dist/index.mjs CHANGED
@@ -6661,7 +6661,7 @@ var stallTypesSchema = yup.object({
6661
6661
  "",
6662
6662
  noLeadingZeros("Stall price", { allowDecimal: true })
6663
6663
  ),
6664
- stallCapacity: yup.number().label("Stall Capacity").typeError("Stall capacity must be a number").min(1, "Stall capacity must be at least 1").integer("Stall capacity must be a whole number").required("Stall capacity is required").test("no-leading-zeros", "", noLeadingZeros("Stall capacity"))
6664
+ stallCapacity: yup.number().label("Stall Capacity").typeError("Stall capacity must be a number").min(0, "Stall capacity cannot be negative").integer("Stall capacity must be a whole number").required("Stall capacity is required").test("no-leading-zeros", "", noLeadingZeros("Stall capacity"))
6665
6665
  });
6666
6666
  var dateTimeWithPriceSchema = dateTimeSchema.shape({
6667
6667
  stallTypes: yup.array().of(stallTypesSchema).min(1, "At least one stall type is required").required("Stall types are required")