chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:34:48 +08:00
commit 77bb5bf71f
3762 changed files with 353249 additions and 0 deletions
@@ -0,0 +1,31 @@
import { z, InterfaceDefinition } from '@botpress/sdk'
const baseItem = z.object({ id: z.string().title('Item ID').describe('The unique identifier for the deletable item') })
export default new InterfaceDefinition({
name: 'deletable',
version: '0.0.3',
entities: {
item: {
schema: baseItem,
},
},
events: {
deleted: {
schema: () => baseItem,
},
},
actions: {
delete: {
input: {
schema: () => baseItem,
},
output: {
schema: () => z.object({}),
},
},
},
__advanced: {
useLegacyZuiTransformer: true,
},
})