👕 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 {
accountFields,
accountOperations
} from "./AccountDescription";
} from './AccountDescription';
import {
tagFields,
tagOperations
} from "./TagDescription";
} from './TagDescription';
import {
accountContactFields,
accountContactOperations
} from "./AccountContactDescription";
} from './AccountContactDescription';
import {
contactListFields,
contactListOperations,
} from "./ContactListDescription";
} from './ContactListDescription';
import {
contactTagFields,
contactTagOperations,
} from "./ContactTagDescription";
} from './ContactTagDescription';
import {
listFields,
listOperations,
} from "./ListDescription";
} from './ListDescription';
interface CustomProperty {
name: string;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -59,5 +59,5 @@ export async function copperApiRequest(this: IHookFunctions | IExecuteFunctions
*/
export function getAutomaticSecret(credentials: ICredentialDataDecryptedObject) {
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,
parseScripts,
parseSort,
} from "./GenericFunctions";
} from './GenericFunctions';
export class FileMaker implements INodeType {
description: INodeTypeDescription = {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
import { INodeProperties } from "n8n-workflow";
import { INodeProperties } from 'n8n-workflow';
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 = [
{

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -59,7 +59,7 @@ export class RundeckApi {
if(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;
}
export function getValue(value: any) {
export function getValue(value: any) { // tslint:disable-line:no-any
if (typeof value === 'string') {
return `'${value}'`;
} else {

View file

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

File diff suppressed because it is too large Load diff

View file

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

File diff suppressed because one or more lines are too long