mmd-contracts
v0.2.0
Published
Shared metadata and API contracts for MMD applications.
Readme
mmd-contracts
MMD 的模型、字段、视图、操作和 API 协议定义,供前后端共享。
npm install mmd-contractsimport type { ModelDefinition } from "mmd-contracts";
const product: ModelDefinition = {
name: "Product",
primaryKey: "id",
fields: [{ name: "name", type: "text", label: "名称" }],
};Release guides
Changelog · Integration guide · Interactive demo · Example source
