defaults.ts
This file
Path
packages/rules/src/defaults.ts
8 lines · 342 bytes · TypeScript
Last changed by
Merge build/comments-packages-rest into mainoscabrielbefore adoption38cd503
History of this fileTake it
123456789import { PolicyInput } from "@repo/protocol/domain/policy";import { defaults, toPolicyInput } from "@repo/sdk";import { Schema } from "effect";
/** It adds no weakening markers: the gate scans its own defaults plus a project's. */export const defaultPolicyInput: PolicyInput = Schema.decodeSync(PolicyInput)( toPolicyInput(defaults));