tachybase_todo/packages/plugins/workflow/src/client/nodes/destroy.tsx
Junyi 4a3cb6e65f
Refactor(plugin workflow): move client files into plugin (#556)
* refactor(plugin-workflow): move client files into plugin

* fix(client): fix package path block build

* test(plugin-workflow): trigger ci
2022-06-29 23:42:03 +08:00

32 lines
602 B
TypeScript

import { useCollectionDataSource } from '@nocobase/client';
import { VariableComponent } from '../calculators';
import { collection, filter } from '../schemas/collection';
export default {
title: '{{t("Delete record")}}',
type: 'destroy',
group: 'collection',
fieldset: {
'config.collection': collection,
'config.params': {
type: 'object',
name: 'config.params',
title: '',
'x-decorator': 'FormItem',
properties: {
filter
}
}
},
view: {
},
scope: {
useCollectionDataSource
},
components: {
VariableComponent
}
};