export const activeRecordWhere = {
  deletedAt: null,
};

export function withSoftDelete<T extends Record<string, unknown>>(data: T) {
  return {
    ...data,
    deletedAt: null,
  };
}
