mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
Contentful integration
This commit is contained in:
29
packages/nodes-base/nodes/Contentful/LocaleDescription.ts
Normal file
29
packages/nodes-base/nodes/Contentful/LocaleDescription.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
import { INodeProperties, INodePropertyOptions } from "n8n-workflow";
|
||||
|
||||
export const resource = {
|
||||
name: "Locale",
|
||||
value: "locale",
|
||||
} as INodePropertyOptions;
|
||||
|
||||
export const operations = [
|
||||
{
|
||||
displayName: "Operation",
|
||||
name: "operation",
|
||||
type: "options",
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [resource.value],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: "Get Locales",
|
||||
value: "get_locales",
|
||||
},
|
||||
],
|
||||
default: "get_locales",
|
||||
description: "The operation to perform.",
|
||||
},
|
||||
] as INodeProperties[];
|
||||
|
||||
export const fields = [] as INodeProperties[];
|
||||
Reference in New Issue
Block a user