import { CollectionOptions } from '@nocobase/database';
export default {
namespace: 'workflow.executionLogs',
duplicator: 'optional',
name: 'jobs',
fields: [
{
type: 'belongsTo',
name: 'execution',
},
name: 'node',
target: 'flow_nodes',
name: 'upstream',
target: 'jobs',
type: 'integer',
name: 'status',
type: 'json',
name: 'result',
],
} as CollectionOptions;