🚧 Resource descriptions
This commit is contained in:
31
packages/nodes-base/nodes/Paddle/ProductDescription.ts
Normal file
31
packages/nodes-base/nodes/Paddle/ProductDescription.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export const productOperations = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
type: 'options',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'product',
|
||||
],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all products.',
|
||||
}
|
||||
],
|
||||
default: 'getAll',
|
||||
description: 'The operation to perform.',
|
||||
},
|
||||
] as INodeProperties[];
|
||||
|
||||
export const productFields = [
|
||||
|
||||
] as INodeProperties[];
|
||||
Reference in New Issue
Block a user