pax-beehive/dsh-plugin-hub--packages-schemas0

@dsh-plugin-hub/schemas

便携式 DSH 插件包、配置文件和插件市场 API 的 Zod 模式及 TypeScript 类型定义。

AI 分析

提供 DSH 规范的 Zod 校验模式。适合开发 DSH 插件、第三方集成或需要对 DSH 配置文件进行本地合规性检查的开发者。

套件
@dsh-plugin-hub/schemas
版本
0.1.1
最近更新
2026年8月22日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Usage

import {
  dshPackageManifestSchema,
  dshProfileManifestSchema,
} from "@dsh-plugin-hub/schemas";

const plugin = dshPackageManifestSchema.parse(packageJson);
const profile = dshProfileManifestSchema.parse(profilePackageJson);

The package exports Zod schemas and inferred TypeScript types for portable DSH bundle manifests, Plugin Hub records, Profile drafts and immutable releases. Use it when building a DSH plugin, integration, validator, or custom Hub client.

This is an independent community project and is not affiliated with or endorsed by DeepSeek.