mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Phase out TSLint in nodes-base (no-changelog) (#4798)
* 🔥 Remove TSLint scripts * 🔥 Remove TSLint config * 🔥 Remove TSLint exceptions * 👕 Adjust lint config * ✏️ Add story numbers
This commit is contained in:
@@ -8,11 +8,10 @@ export async function posthogApiRequest(
|
||||
this: IExecuteFunctions | ILoadOptionsFunctions,
|
||||
method: string,
|
||||
path: string,
|
||||
// tslint:disable-next-line:no-any
|
||||
|
||||
body: any = {},
|
||||
qs: IDataObject = {},
|
||||
_option = {},
|
||||
// tslint:disable-next-line:no-any
|
||||
): Promise<any> {
|
||||
const credentials = await this.getCredentials('postHogApi');
|
||||
|
||||
@@ -43,14 +42,14 @@ export async function posthogApiRequest(
|
||||
|
||||
export interface IEvent {
|
||||
event: string;
|
||||
properties: { [key: string]: any }; // tslint:disable-line:no-any
|
||||
properties: { [key: string]: any };
|
||||
}
|
||||
|
||||
export interface IAlias {
|
||||
type: string;
|
||||
event: string;
|
||||
properties: { [key: string]: any }; // tslint:disable-line:no-any
|
||||
context: { [key: string]: any }; // tslint:disable-line:no-any
|
||||
properties: { [key: string]: any };
|
||||
context: { [key: string]: any };
|
||||
}
|
||||
|
||||
export interface ITrack {
|
||||
@@ -60,13 +59,13 @@ export interface ITrack {
|
||||
messageId?: string;
|
||||
distinct_id: string;
|
||||
category?: string;
|
||||
properties: { [key: string]: any }; // tslint:disable-line:no-any
|
||||
context: { [key: string]: any }; // tslint:disable-line:no-any
|
||||
properties: { [key: string]: any };
|
||||
context: { [key: string]: any };
|
||||
}
|
||||
|
||||
export interface IIdentity {
|
||||
event: string;
|
||||
messageId?: string;
|
||||
distinct_id: string;
|
||||
properties: { [key: string]: any }; // tslint:disable-line:no-any
|
||||
properties: { [key: string]: any };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user