Files
2025-10-29 21:37:00 +08:00

29 lines
664 B
TypeScript

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,
];