import { readonly, readonlyRecord } from "../../shared/src/valita.js";
import { tuple, string, array, union, number, boolean } from "@badrap/valita";
const primaryKeySchema = readonly(
  tuple([string()]).concat(array(string()))
);
const primaryKeyValueSchema = union(
  string(),
  number(),
  boolean()
);
const primaryKeyValueRecordSchema = readonlyRecord(
  primaryKeyValueSchema
);
export {
  primaryKeySchema,
  primaryKeyValueRecordSchema,
  primaryKeyValueSchema
};
//# sourceMappingURL=primary-key.js.map
