Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

云智能体已开始处理 修正 所有 hook,应该按规范写,类似...,并将随工作推进更新此拉取请求。

Original prompt

修正 所有 hook,应该按规范写,类似以下语法
import type { Hook, HookContext } from '@objectstack/spec/data';

const AccountHealthScoreTrigger: Hook = {
name: 'AccountHealthScoreTrigger',
object: 'Account',
events: ['beforeInsert', 'beforeUpdate'],
handler: async (ctx: HookContext) => {
try {

The user has attached the following file paths as relevant context:

  • .github/copilot-instructions.md

创建自 VS Code


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel
Copy link

vercel bot commented Feb 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hotcrm Error Error Feb 10, 2026 0:53am

Request Review

@hotlong
Copy link
Contributor

hotlong commented Feb 10, 2026

@copilot 继续

Copilot AI and others added 2 commits February 10, 2026 00:34
…case object names and remove db imports

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
…se and ctx.ql

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
@hotlong
Copy link
Contributor

hotlong commented Feb 10, 2026

@copilot 继续

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants