Skip to content

Commit a57a65a

Browse files
committed
feat(api): 更新 API 合同,调整批量操作方法名称为驼峰式
1 parent e02b476 commit a57a65a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/spec/src/api/contract.zod.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,15 @@ export const ApiContracts = {
133133
input: QuerySchema,
134134
output: ListRecordResponseSchema
135135
},
136-
bulk_create: {
136+
bulkCreate: {
137137
input: BulkRequestSchema,
138138
output: BulkResponseSchema
139139
},
140-
bulk_update: {
140+
bulkUpdate: {
141141
input: BulkRequestSchema,
142142
output: BulkResponseSchema
143143
},
144-
bulk_delete: {
144+
bulkDelete: {
145145
input: z.object({ ids: z.array(z.string()) }),
146146
output: BulkResponseSchema
147147
}

0 commit comments

Comments
 (0)