
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@ks-dbdev/template-field-plugin
Advanced tools
字段插件开发模板合集,包含多种字段插件类型的开发模板。
位于 templates/formula/,用于创建自定义公式字段。
特点:
示例:平均分计算、加权求和、条件计算等
位于 templates/api/,用于创建调用外部API的字段。
特点:
示例:HTTP测试、数据获取、第三方服务集成等
# 使用 dbdev CLI 工具
npx @ks-dbdev/cli create template
# 或全局安装后使用
npm install -g @ks-dbdev/cli
dbdev create template
选择 "字段插件" → 选择 "公式类" 或 "API类"
@ks-dbdev/template-field-plugin/
├── package.json
├── README.md
└── templates/
├── formula/ # 公式类模板
│ ├── src/
│ │ ├── assets/
│ │ │ └── icon.svg
│ │ └── meta.json # 配置文件
│ ├── scripts/
│ │ └── build.js # 打包脚本
│ ├── package.json
│ └── README.md
│
└── api/ # API类模板
├── src/
│ ├── assets/
│ │ └── icon_bda25b14.svg
│ ├── meta.json # 配置文件
│ └── main.py # Python入口
├── scripts/
│ └── build.js # 打包脚本
├── package.json
└── README.md
安装依赖
cd your-project
npm install
编辑配置
# 修改 src/meta.json
# - 设置字段名称、图标
# - 配置公式模板
# - 定义UI交互
打包发布
npm run build
# 生成 dist/plugin.zip
安装依赖
cd your-project
npm install
编辑配置和代码
# 修改 src/meta.json - 配置字段
# 修改 src/main.py - 实现API逻辑
打包发布
npm run build
# 生成 dist/plugin.zip
FAQs
字段插件开发模板合集 - 包含公式类和API类模板
We found that @ks-dbdev/template-field-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.