👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2021-01-13 20:20:30 +01:00
parent 4f75788818
commit 785b0e385e
38 changed files with 1595 additions and 1595 deletions

View File

@@ -50,32 +50,32 @@ import {
import { import {
accountFields, accountFields,
accountOperations accountOperations
} from "./AccountDescription"; } from './AccountDescription';
import { import {
tagFields, tagFields,
tagOperations tagOperations
} from "./TagDescription"; } from './TagDescription';
import { import {
accountContactFields, accountContactFields,
accountContactOperations accountContactOperations
} from "./AccountContactDescription"; } from './AccountContactDescription';
import { import {
contactListFields, contactListFields,
contactListOperations, contactListOperations,
} from "./ContactListDescription"; } from './ContactListDescription';
import { import {
contactTagFields, contactTagFields,
contactTagOperations, contactTagOperations,
} from "./ContactTagDescription"; } from './ContactTagDescription';
import { import {
listFields, listFields,
listOperations, listOperations,
} from "./ListDescription"; } from './ListDescription';
interface CustomProperty { interface CustomProperty {
name: string; name: string;

View File

@@ -1,10 +1,10 @@
import { import {
INodeProperties, INodeProperties,
} from "n8n-workflow"; } from 'n8n-workflow';
import { import {
activeCampaignDefaultGetAllProperties, activeCampaignDefaultGetAllProperties,
} from "./GenericFunctions"; } from './GenericFunctions';
export const connectionOperations = [ export const connectionOperations = [
{ {

View File

@@ -1,6 +1,6 @@
import { import {
INodeProperties, INodeProperties,
} from "n8n-workflow"; } from 'n8n-workflow';
import { import {
allCurrencies, allCurrencies,
@@ -8,7 +8,7 @@ import {
import { import {
activeCampaignDefaultGetAllProperties, activeCampaignDefaultGetAllProperties,
} from "./GenericFunctions"; } from './GenericFunctions';
export const dealOperations = [ export const dealOperations = [
{ {

View File

@@ -1,6 +1,6 @@
import { import {
INodeProperties, INodeProperties,
} from "n8n-workflow"; } from 'n8n-workflow';
import { import {
allCurrencies, allCurrencies,

View File

@@ -1,6 +1,6 @@
import { import {
INodeProperties, INodeProperties,
} from "n8n-workflow"; } from 'n8n-workflow';
import { import {
activeCampaignDefaultGetAllProperties, activeCampaignDefaultGetAllProperties,

View File

@@ -144,7 +144,7 @@ export const allCurrencies = [
{ name: 'Tajikistani Somoni', value: 'tjs' }, { name: 'Tajikistani Somoni', value: 'tjs' },
{ name: 'Turkmenistani Manat', value: 'tmt' }, { name: 'Turkmenistani Manat', value: 'tmt' },
{ name: 'Tunisian Dinar', value: 'tnd' }, { name: 'Tunisian Dinar', value: 'tnd' },
{ name: "Tongan Pa'anga", value: 'top' }, { name: 'Tongan Pa\'anga', value: 'top' },
{ name: 'Turkish Lira', value: 'try' }, { name: 'Turkish Lira', value: 'try' },
{ name: 'Trinidad and Tobago Dollar', value: 'ttd' }, { name: 'Trinidad and Tobago Dollar', value: 'ttd' },
{ name: 'New Taiwan Dollar', value: 'twd' }, { name: 'New Taiwan Dollar', value: 'twd' },

View File

@@ -16,9 +16,9 @@ import {
function getEndpointForService(service: string, credentials: ICredentialDataDecryptedObject): string { function getEndpointForService(service: string, credentials: ICredentialDataDecryptedObject): string {
let endpoint; let endpoint;
if (service === "lambda" && credentials.lambdaEndpoint) { if (service === 'lambda' && credentials.lambdaEndpoint) {
endpoint = credentials.lambdaEndpoint; endpoint = credentials.lambdaEndpoint;
} else if (service === "sns" && credentials.snsEndpoint) { } else if (service === 'sns' && credentials.snsEndpoint) {
endpoint = credentials.snsEndpoint; endpoint = credentials.snsEndpoint;
} else { } else {
endpoint = `https://${service}.${credentials.region}.amazonaws.com`; endpoint = `https://${service}.${credentials.region}.amazonaws.com`;

View File

@@ -1,8 +1,8 @@
import { IHourlyRateDto, IMembershipDto } from './CommonDtos'; import { IHourlyRateDto, IMembershipDto } from './CommonDtos';
enum EstimateEnum { enum EstimateEnum {
AUTO = "AUTO", AUTO = 'AUTO',
MANUAL = "MANUAL", MANUAL = 'MANUAL',
} }
interface IEstimateDto { interface IEstimateDto {

View File

@@ -59,5 +59,5 @@ export async function copperApiRequest(this: IHookFunctions | IExecuteFunctions
*/ */
export function getAutomaticSecret(credentials: ICredentialDataDecryptedObject) { export function getAutomaticSecret(credentials: ICredentialDataDecryptedObject) {
const data = `${credentials.email},${credentials.apiKey}`; const data = `${credentials.email},${credentials.apiKey}`;
return createHash('md5').update(data).digest("hex"); return createHash('md5').update(data).digest('hex');
} }

View File

@@ -20,7 +20,7 @@ import {
parseQuery, parseQuery,
parseScripts, parseScripts,
parseSort, parseSort,
} from "./GenericFunctions"; } from './GenericFunctions';
export class FileMaker implements INodeType { export class FileMaker implements INodeType {
description: INodeTypeDescription = { description: INodeTypeDescription = {

View File

@@ -212,11 +212,11 @@ export async function getToken(this: ILoadOptionsFunctions | IExecuteFunctions |
pass: password as string, pass: password as string,
}; };
requestOptions.body = { requestOptions.body = {
"fmDataSource": [ 'fmDataSource': [
{ {
"database": host, 'database': host,
"username": login as string, 'username': login as string,
"password": password as string, 'password': password as string,
}, },
], ],
}; };

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from "n8n-workflow"; import { INodeProperties } from 'n8n-workflow';
export const taskOpeations = [ export const taskOpeations = [
{ {

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from "n8n-workflow"; import { INodeProperties } from 'n8n-workflow';
export const companyOperations = [ export const companyOperations = [
{ {

View File

@@ -1,4 +1,4 @@
import { IDataObject } from "n8n-workflow"; import { IDataObject } from 'n8n-workflow';
export interface ICompany { export interface ICompany {
remote_created_at?: string; remote_created_at?: string;

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from "n8n-workflow"; import { INodeProperties } from 'n8n-workflow';
export const leadOpeations = [ export const leadOpeations = [
{ {

View File

@@ -1,4 +1,4 @@
import { IDataObject } from "n8n-workflow"; import { IDataObject } from 'n8n-workflow';
export interface ILeadCompany { export interface ILeadCompany {
company_id?: string; company_id?: string;

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from "n8n-workflow"; import { INodeProperties } from 'n8n-workflow';
export const userOpeations = [ export const userOpeations = [
{ {

View File

@@ -1,4 +1,4 @@
import { IDataObject } from "n8n-workflow"; import { IDataObject } from 'n8n-workflow';
export interface IUserCompany { export interface IUserCompany {
company_id?: string; company_id?: string;

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from "n8n-workflow"; import { INodeProperties } from 'n8n-workflow';
export const clientOperations = [ export const clientOperations = [
{ {

View File

@@ -1,4 +1,4 @@
import { IDataObject } from "n8n-workflow"; import { IDataObject } from 'n8n-workflow';
export interface IContact { export interface IContact {
first_name?: string; first_name?: string;

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from "n8n-workflow"; import { INodeProperties } from 'n8n-workflow';
export const expenseOperations = [ export const expenseOperations = [
{ {

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from "n8n-workflow"; import { INodeProperties } from 'n8n-workflow';
export const invoiceOperations = [ export const invoiceOperations = [
{ {

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from "n8n-workflow"; import { INodeProperties } from 'n8n-workflow';
export const paymentOperations = [ export const paymentOperations = [
{ {

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from "n8n-workflow"; import { INodeProperties } from 'n8n-workflow';
export const quoteOperations = [ export const quoteOperations = [
{ {

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from "n8n-workflow"; import { INodeProperties } from 'n8n-workflow';
export const taskOperations = [ export const taskOperations = [
{ {

View File

@@ -258,7 +258,7 @@ export class Jira implements INodeType {
// the interface call must bring username // the interface call must bring username
const users = await jiraSoftwareCloudApiRequest.call(this, '/api/2/user/search', 'GET', {}, const users = await jiraSoftwareCloudApiRequest.call(this, '/api/2/user/search', 'GET', {},
{ {
username: "'", username: '\'',
}, },
); );
for (const user of users) { for (const user of users) {
@@ -675,7 +675,7 @@ export class Jira implements INodeType {
version: 1, version: 1,
content: [ content: [
{ {
type: "paragraph", type: 'paragraph',
content: [ content: [
{ {
type: 'text', type: 'text',
@@ -750,7 +750,7 @@ export class Jira implements INodeType {
version: 1, version: 1,
content: [ content: [
{ {
type: "paragraph", type: 'paragraph',
content: [ content: [
{ {
type: 'text', type: 'text',

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from "n8n-workflow"; import { INodeProperties } from 'n8n-workflow';
export const postOperations = [ export const postOperations = [
{ {

View File

@@ -18,7 +18,7 @@ export const accountOperations = [
{ {
name: 'Me', name: 'Me',
value: 'me', value: 'me',
description: "Get current user's account information", description: 'Get current user\'s account information',
}, },
], ],
default: 'me', default: 'me',

View File

@@ -1,6 +1,6 @@
import { import {
IDataObject, IDataObject,
} from "n8n-workflow"; } from 'n8n-workflow';
export interface IData { export interface IData {
data: [ data: [

View File

@@ -1,4 +1,4 @@
import { INodeProperties } from "n8n-workflow"; import { INodeProperties } from 'n8n-workflow';
export const payoutOperations = [ export const payoutOperations = [
{ {

View File

@@ -1,4 +1,4 @@
import { IDataObject } from "n8n-workflow"; import { IDataObject } from 'n8n-workflow';
export enum RecipientType { export enum RecipientType {
email = 'EMAIL', email = 'EMAIL',

View File

@@ -59,7 +59,7 @@ export class RundeckApi {
if(args) { if(args) {
for(const arg of args) { for(const arg of args) {
params += "-" + arg.name + " " + arg.value + " "; params += '-' + arg.name + ' ' + arg.value + ' ';
} }
} }

View File

@@ -178,7 +178,7 @@ export function getQuery(options: IDataObject, sobject: string, returnAll: boole
return query; return query;
} }
export function getValue(value: any) { export function getValue(value: any) { // tslint:disable-line:no-any
if (typeof value === 'string') { if (typeof value === 'string') {
return `'${value}'`; return `'${value}'`;
} else { } else {

View File

@@ -1,4 +1,4 @@
import { IDataObject } from "n8n-workflow"; import { IDataObject } from 'n8n-workflow';
export interface IIdentify { export interface IIdentify {
userId?: string; userId?: string;

File diff suppressed because it is too large Load Diff

View File

@@ -1,36 +1,36 @@
export const groups = { export const groups = {
groups: [{ groups: [{
"translated": "Audio", 'translated': 'Audio',
"name": "audio", 'name': 'audio',
}, { }, {
"translated": "Communication", 'translated': 'Communication',
"name": "communication", 'name': 'communication',
}, { }, {
"translated": "Company", 'translated': 'Company',
"name": "company", 'name': 'company',
}, { }, {
"translated": "Finance", 'translated': 'Finance',
"name": "finance", 'name': 'finance',
}, { }, {
"translated": "Geographical", 'translated': 'Geographical',
"name": "geographic", 'name': 'geographic',
}, { }, {
"translated": "Image", 'translated': 'Image',
"name": "image", 'name': 'image',
}, { }, {
"translated": "Internet", 'translated': 'Internet',
"name": "internet", 'name': 'internet',
}, { }, {
"translated": "Personal", 'translated': 'Personal',
"name": "personal", 'name': 'personal',
}, { }, {
"translated": "Product", 'translated': 'Product',
"name": "product", 'name': 'product',
}, { }, {
"translated": "Security", 'translated': 'Security',
"name": "security", 'name': 'security',
}, { }, {
"translated": "Text", 'translated': 'Text',
"name": "text", 'name': 'text',
}], }],
}; };

File diff suppressed because one or more lines are too long