shared-api-types

Community

Standardizes API contracts across services.

Authorallenlin90
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Establishes a single source of truth for API contracts by standardizing how frontend and backend share types and schemas across services.

Core Features & Use Cases

  • Defines and exports runtime schemas and TypeScript types from the shared package.
  • Enforces domain-scoped imports (e.g., @eridu/api-types/users, @eridu/api-types/task-management).
  • Provides guidance for transforming Prisma outputs to DTOs and for validating inputs.

Quick Start

Import shared schemas and types from the api-types package in both frontend and backend projects to start validating inputs and coordinating DTOs.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: shared-api-types
Download link: https://github.com/allenlin90/eridu-services/archive/main.zip#shared-api-types

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.