mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
👕 Fix lint issue
This commit is contained in:
parent
4f75788818
commit
785b0e385e
|
@ -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;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import {
|
||||
INodeProperties,
|
||||
} from "n8n-workflow";
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
activeCampaignDefaultGetAllProperties,
|
||||
} from "./GenericFunctions";
|
||||
} from './GenericFunctions';
|
||||
|
||||
export const connectionOperations = [
|
||||
{
|
||||
|
|
|
@ -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 = [
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {
|
||||
INodeProperties,
|
||||
} from "n8n-workflow";
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
allCurrencies,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {
|
||||
INodeProperties,
|
||||
} from "n8n-workflow";
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
activeCampaignDefaultGetAllProperties,
|
||||
|
|
|
@ -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' },
|
||||
|
|
|
@ -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`;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { IHourlyRateDto, IMembershipDto } from './CommonDtos';
|
||||
|
||||
enum EstimateEnum {
|
||||
AUTO = "AUTO",
|
||||
MANUAL = "MANUAL",
|
||||
AUTO = 'AUTO',
|
||||
MANUAL = 'MANUAL',
|
||||
}
|
||||
|
||||
interface IEstimateDto {
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ import {
|
|||
parseQuery,
|
||||
parseScripts,
|
||||
parseSort,
|
||||
} from "./GenericFunctions";
|
||||
} from './GenericFunctions';
|
||||
|
||||
export class FileMaker implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { INodeProperties } from "n8n-workflow";
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const taskOpeations = [
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { INodeProperties } from "n8n-workflow";
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const companyOperations = [
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { IDataObject } from "n8n-workflow";
|
||||
import { IDataObject } from 'n8n-workflow';
|
||||
|
||||
export interface ICompany {
|
||||
remote_created_at?: string;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { INodeProperties } from "n8n-workflow";
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const leadOpeations = [
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { IDataObject } from "n8n-workflow";
|
||||
import { IDataObject } from 'n8n-workflow';
|
||||
|
||||
export interface ILeadCompany {
|
||||
company_id?: string;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { INodeProperties } from "n8n-workflow";
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const userOpeations = [
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { IDataObject } from "n8n-workflow";
|
||||
import { IDataObject } from 'n8n-workflow';
|
||||
|
||||
export interface IUserCompany {
|
||||
company_id?: string;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { INodeProperties } from "n8n-workflow";
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const clientOperations = [
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { IDataObject } from "n8n-workflow";
|
||||
import { IDataObject } from 'n8n-workflow';
|
||||
|
||||
export interface IContact {
|
||||
first_name?: string;
|
||||
|
|
|
@ -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
|
@ -1,4 +1,4 @@
|
|||
import { INodeProperties } from "n8n-workflow";
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const invoiceOperations = [
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { INodeProperties } from "n8n-workflow";
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const paymentOperations = [
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { INodeProperties } from "n8n-workflow";
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const quoteOperations = [
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { INodeProperties } from "n8n-workflow";
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const taskOperations = [
|
||||
{
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { INodeProperties } from "n8n-workflow";
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const postOperations = [
|
||||
{
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {
|
||||
IDataObject,
|
||||
} from "n8n-workflow";
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export interface IData {
|
||||
data: [
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { INodeProperties } from "n8n-workflow";
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const payoutOperations = [
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { IDataObject } from "n8n-workflow";
|
||||
import { IDataObject } from 'n8n-workflow';
|
||||
|
||||
export enum RecipientType {
|
||||
email = 'EMAIL',
|
||||
|
|
|
@ -59,7 +59,7 @@ export class RundeckApi {
|
|||
|
||||
if(args) {
|
||||
for(const arg of args) {
|
||||
params += "-" + arg.name + " " + arg.value + " ";
|
||||
params += '-' + arg.name + ' ' + arg.value + ' ';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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
|
@ -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
Loading…
Reference in a new issue