This commit is contained in:
2025-10-29 15:01:32 +08:00
parent bf62770699
commit 98210ef15c
12 changed files with 71 additions and 240 deletions

View File

@@ -0,0 +1,33 @@
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: 'Get content book metadata',
routing: {
request: {
method: 'GET',
url: '/content/book_meta/v1/',
},
},
},
],
default: 'contentBookMetaV1',
},
...contentBookMetaV1Description,
];