// @bun
var{defineProperty:o,getOwnPropertyNames:m,getOwnPropertyDescriptor:i}=Object,d=Object.prototype.hasOwnProperty;function y(e){return this[e]}var P=(e)=>{var t=(r??=new WeakMap).get(e),n;if(t)return t;if(t=o({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var c of m(e))if(!d.call(t,c))o(t,c,{get:y.bind(e,c),enumerable:!(n=i(e,c))||n.enumerable})}return r.set(e,t),t},r;var g=(e)=>e;function C(e,t){this[e]=g.bind(null,t)}var _=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0,configurable:!0,set:C.bind(t,n)})};var s=(e,t)=>()=>(e&&(t=e(e=0)),t);import{ZodSchemaType as h}from"@contractspec/lib.schema";import*as a from"zod";var f=a.enum(["add_field","remove_field","rename_field","add_event","update_event","add_operation","update_operation","update_form","update_policy","add_enum_value","remove_enum_value","other"]),p=a.object({type:f,target:a.string().min(1),detail:a.string().min(1)}),S=new h(p,{name:"PatchChange"}),z=a.object({featureKey:a.string().min(1),changes:a.array(p),acceptanceCriteria:a.array(a.string().min(1))}),v=new h(z,{name:"ContractPatchIntent"});export{S as PatchChangeModel,v as ContractPatchIntentModel};
