mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-10-28 22:12:26 -05:00
fix linting errors
This commit is contained in:
parent
f6fd10e516
commit
8ba653d5eb
2 changed files with 7 additions and 7 deletions
|
|
@ -28,14 +28,14 @@ export class HttpBinApi implements ICredentialType {
|
||||||
// stating how this credential is injected as part of the request
|
// stating how this credential is injected as part of the request
|
||||||
// An example is the Http Request node that can make generic calls
|
// An example is the Http Request node that can make generic calls
|
||||||
// reusing this credential
|
// reusing this credential
|
||||||
authenticate = {
|
authenticate: IAuthenticateGeneric = {
|
||||||
type: 'generic',
|
type: 'generic',
|
||||||
properties: {
|
properties: {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: '={{"Bearer " + $credentials.token}}',
|
Authorization: '={{"Bearer " + $credentials.token}}',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
} as IAuthenticateGeneric;
|
};
|
||||||
|
|
||||||
// The block below tells how this credential can be tested
|
// The block below tells how this credential can be tested
|
||||||
test: ICredentialTestRequest = {
|
test: ICredentialTestRequest = {
|
||||||
|
|
|
||||||
|
|
@ -45,10 +45,10 @@ export const httpVerbOperations: INodeProperties[] = [
|
||||||
// We do that by adding `operation: ["get"]` to `displayOptions.show`
|
// We do that by adding `operation: ["get"]` to `displayOptions.show`
|
||||||
const getOperation: INodeProperties[] = [
|
const getOperation: INodeProperties[] = [
|
||||||
{
|
{
|
||||||
|
displayName: 'Type of Data',
|
||||||
name: 'typeofData',
|
name: 'typeofData',
|
||||||
default: 'queryParameter',
|
default: 'queryParameter',
|
||||||
description: 'Select type of data to send [Query Parameters]',
|
description: 'Select type of data to send [Query Parameters]',
|
||||||
displayName: 'Type of Data',
|
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: ['httpVerb'],
|
resource: ['httpVerb'],
|
||||||
|
|
@ -65,10 +65,10 @@ const getOperation: INodeProperties[] = [
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
displayName: 'Query Parameters',
|
||||||
name: 'arguments',
|
name: 'arguments',
|
||||||
default: {},
|
default: {},
|
||||||
description: "The request's query parameters",
|
description: "The request's query parameters",
|
||||||
displayName: 'Query Parameters',
|
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: ['httpVerb'],
|
resource: ['httpVerb'],
|
||||||
|
|
@ -116,10 +116,10 @@ const getOperation: INodeProperties[] = [
|
||||||
// We do that by adding `operation: ["delete"]` to `displayOptions.show`
|
// We do that by adding `operation: ["delete"]` to `displayOptions.show`
|
||||||
const deleteOperation: INodeProperties[] = [
|
const deleteOperation: INodeProperties[] = [
|
||||||
{
|
{
|
||||||
|
displayName: 'Type of Data',
|
||||||
name: 'typeofData',
|
name: 'typeofData',
|
||||||
default: 'queryParameter',
|
default: 'queryParameter',
|
||||||
description: 'Select type of data to send [Query Parameter Arguments, JSON-Body]',
|
description: 'Select type of data to send [Query Parameter Arguments, JSON-Body]',
|
||||||
displayName: 'Type of Data',
|
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: ['httpVerb'],
|
resource: ['httpVerb'],
|
||||||
|
|
@ -140,10 +140,10 @@ const deleteOperation: INodeProperties[] = [
|
||||||
type: 'options',
|
type: 'options',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
displayName: 'Query Parameters',
|
||||||
name: 'arguments',
|
name: 'arguments',
|
||||||
default: {},
|
default: {},
|
||||||
description: "The request's query parameters",
|
description: "The request's query parameters",
|
||||||
displayName: 'Query Parameters',
|
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: ['httpVerb'],
|
resource: ['httpVerb'],
|
||||||
|
|
@ -187,10 +187,10 @@ const deleteOperation: INodeProperties[] = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
displayName: 'JSON Object',
|
||||||
name: 'arguments',
|
name: 'arguments',
|
||||||
default: {},
|
default: {},
|
||||||
description: "The request's JSON properties",
|
description: "The request's JSON properties",
|
||||||
displayName: 'JSON Object',
|
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: ['httpVerb'],
|
resource: ['httpVerb'],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue