@reqord/shared

v0.3.0

Published

Zod schemas, types and utilities for Reqord

Readme

@reqord/shared

Shared Zod schemas, types, and utilities for Reqord.

npm License: AGPL-3.0

Install

npm install @reqord/shared

Usage

import {
  requirementSchema,
  specificationSchema,
  feedbackIndexSchema,
  type Requirement,
  type Specification,
} from "@reqord/shared";

Exports

| Module | Description | |--------|-------------| | schemas/ | Zod schemas for requirements, specifications, feedback, context | | constants/ | Shared constants (ID formats, status values) | | rules/ | Business rules and validation logic | | validation/ | SMART scoring, ambiguous phrase detection | | utils/ | Zod error formatting utilities |

License

AGPL-3.0