// src/schemas/columnType/columnTypeBooleanSchema.ts
import { z as z3 } from "zod";

// src/schemas/columnType/columnTypeBaseSchema.ts
import { z as z2 } from "zod";

// src/schemas/columnType/columnTypeBaseAdminConfigSchema.ts
import { z } from "zod";
var FieldPlacements;
(function(FieldPlacements2) {
  FieldPlacements2["MAIN"] = "main";
  FieldPlacements2["ASIDE"] = "aside";
})(FieldPlacements || (FieldPlacements = {}));
var columnTypeBaseAdminConfigSchema = z.object({
  isHidden: z.boolean().default(false),
  editor: z.object({
    placement: z.nativeEnum(FieldPlacements).default(FieldPlacements.MAIN)
  }).default({})
});

// src/schemas/columnType/columnTypeBaseSchema.ts
var columnTypeBaseSchema = z2.object({
  title: z2.string(),
  hide: z2.boolean().default(false),
  required: z2.boolean().default(false),
  unique: z2.boolean().default(false),
  editable: z2.boolean().default(true),
  translations: z2.boolean().default(true),
  admin: columnTypeBaseAdminConfigSchema.default({})
});

// src/schemas/columnType/columnTypeBooleanSchema.ts
var columnTypeBooleanSchema = columnTypeBaseSchema.extend({
  type: z3.enum([
    "boolean"
  ]),
  default: z3.boolean().optional()
});
export {
  columnTypeBooleanSchema
};
//# sourceMappingURL=columnTypeBooleanSchema.js.map