@eonhive/prd-types
v0.1.1
Published
Shared TypeScript types for Portable Responsive Document (PRD) tooling.
Downloads
106
Readme
@eonhive/prd-types
Shared TypeScript types and interfaces for Portable Responsive Document (PRD) tooling.
Installation
npm install @eonhive/prd-types
# or
pnpm add @eonhive/prd-typesUsage
import {
PRDManifest,
PRDProfile,
PRDContent,
} from '@eonhive/prd-types';
const manifest: PRDManifest = {
prdVersion: '1.0',
manifestVersion: '1.0',
id: 'my-document',
profile: 'general-document',
title: 'My Document',
entry: 'content/root.json',
};Types
PRDManifest- Root manifest structurePRDProfile- Profile definitionsPRDContent- Content modelsPRDLocalization- Localization metadataPRDIdentity- Identity and reference data
Documentation
See PRD Documentation for format specifications and detailed type information.
License
MIT
