mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
Handle preview api
This commit is contained in:
@@ -33,11 +33,28 @@ export class Contentful implements INodeType {
|
||||
],
|
||||
properties: [
|
||||
// Common fields:
|
||||
{
|
||||
displayName: 'Source',
|
||||
name: 'source',
|
||||
type: 'options' as NodePropertyTypes,
|
||||
default: 'Delivery API',
|
||||
description: 'Pick where your data comes from, delivery or preview API',
|
||||
options: [
|
||||
{
|
||||
name: 'Delivery API',
|
||||
value: 'delivery_api'
|
||||
},
|
||||
{
|
||||
name: 'Preview API',
|
||||
value: 'preview_api'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
displayName: 'Environment Id',
|
||||
name: 'environment_id',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: 'master',
|
||||
default: '',
|
||||
description:
|
||||
'The id for the Contentful environment (e.g. master, staging, etc.). Depending on your plan, you might not have environments. In that case use "master".'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user