import type { INodeProperties } from 'n8n-workflow'; import { contentBookMetaV1Description } from './contentBooMetaV1'; const showOnlyForDistributions = { resource: ['distribution'], }; export const distributionDescription: INodeProperties[] = [ { displayName: '操作', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: showOnlyForDistributions, }, options: [ { name: '获取书籍信息', value: 'contentBookMetaV1', action: '获取书籍信息', description: '通过书籍 ID 获取书籍的元信息', }, ], default: 'contentBookMetaV1', }, ...contentBookMetaV1Description, ];