👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2020-10-22 15:46:03 +02:00
parent 5b7efd67ca
commit 40c2acd77b
491 changed files with 4045 additions and 3936 deletions

View File

@@ -52,7 +52,7 @@ export const fields = [
},
},
default: 'master',
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".'
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".',
},
{
displayName: 'Return All',
@@ -104,7 +104,7 @@ export const fields = [
displayOptions: {
show: {
resource: [
resource.value
resource.value,
],
operation: [
'get',

View File

@@ -47,7 +47,7 @@ export const fields = [
},
},
default: 'master',
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".'
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".',
},
{
displayName: 'Content Type ID',

View File

@@ -31,14 +31,14 @@ export class Contentful implements INodeType {
description: 'Consume Contenful API',
defaults: {
name: 'Contentful',
color: '#2E75D4'
color: '#2E75D4',
},
inputs: ['main'],
outputs: ['main'],
credentials: [
{
name: 'contentfulApi',
required: true
required: true,
},
],
properties: [
@@ -51,11 +51,11 @@ export class Contentful implements INodeType {
options: [
{
name: 'Delivery API',
value: 'deliveryApi'
value: 'deliveryApi',
},
{
name: 'Preview API',
value: 'previewApi'
value: 'previewApi',
},
],
},
@@ -72,7 +72,7 @@ export class Contentful implements INodeType {
SpaceDescription.resource,
],
default: 'entry',
description: 'The resource to operate on.'
description: 'The resource to operate on.',
},
// Operations:

View File

@@ -31,8 +31,8 @@ export const operations = [
},
],
default: 'get',
description: 'The operation to perform.'
}
description: 'The operation to perform.',
},
] as INodeProperties[];
export const fields = [

View File

@@ -27,7 +27,7 @@ export async function contentfulApiRequest(this: IExecuteFunctions | IExecuteSin
qs,
body,
uri: uri ||`https://${isPreview ? 'preview' : 'cdn'}.contentful.com${resource}`,
json: true
json: true,
};
if (isPreview) {

View File

@@ -48,7 +48,7 @@ export const fields = [
},
},
default: 'master',
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".'
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".',
},
{
displayName: 'Return All',

View File

@@ -21,17 +21,17 @@ export const fields = [
name: 'name',
type: 'string',
default: '',
description: 'Name of the search parameter to set.'
description: 'Name of the search parameter to set.',
},
{
displayName: 'Parameter Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the search parameter to set.'
description: 'Value of the search parameter to set.',
},
],
},
],
}
},
] as INodeProperties[];