Skip to content

Commit

Permalink
Revert "added eslint config"
Browse files Browse the repository at this point in the history
This reverts commit cbef4dd.
  • Loading branch information
jenithainbaraj committed Jan 6, 2023
1 parent ab6b64a commit e9d91ac
Show file tree
Hide file tree
Showing 15 changed files with 685 additions and 1,077 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ reports/
#Local stuff
*.json
.env*
.rollup.cache
!.env.default
!package.json
!package-lock.json
Expand All @@ -52,6 +51,5 @@ reports/
!base.json
!library.json
!react-library.json
!tsconfig.eslint.json
!.yarn/plugins
node_modules/
Binary file modified .yarn/install-state.gz
Binary file not shown.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
},
"devDependencies": {
"@changesets/cli": "2.22.0",
"@microsoft/api-documenter": "^7.17.19",
"@microsoft/api-extractor": "^7.25.2",
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"eslint": "8.22.0",
"eslint-config-webex-int": "*",
"husky": "^8.0.1",
"identity-obj-proxy": "^3.0.0",
"plop": "^3.1.1",
Expand Down
68 changes: 0 additions & 68 deletions src/eslint-config-webex-int/index.js

This file was deleted.

25 changes: 0 additions & 25 deletions src/eslint-config-webex-int/package.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { ICallHistoryAdapter } from './ICallHistoryAdapter';
import { ISearchContactsAdapter } from './ISearchContactsAdapter';
export declare abstract class IAdapterAggregator {
callHistoryAdapter?: ICallHistoryAdapter;
speedDialsAdapter?: unknown;
searchContactsAdapter?: ISearchContactsAdapter;
}
//# sourceMappingURL=IAdapterAggregator.d.ts.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
import { Observable } from 'rxjs';
export declare enum DispositionTypes {
MISSED = "MISSED",
CANCELLED = "CANCELLED",
INITIATED = "INITIATED"
}
export declare enum DirectionTypes {
INCOMING = "INCOMING",
OUTGOING = "OUTGOING"
}
export declare type SessionTypes = 'SPARK' | 'BROADWORKS';
export interface ISDKCallHistoryRecord {
id: string;
url?: string;
sessionId?: string;
sessionType?: SessionTypes;
startTime?: string;
endTime?: string;
durationSecs?: number;
durationSeconds?: number;
joinedDurationSeconds?: number;
participantCount?: number;
direction: DirectionTypes;
disposition: DispositionTypes;
self?: {
id: string;
name: string;
phoneNumber?: string;
incomingCallProtocols?: unknown[];
};
other: {
id: string;
name: string;
phoneNumber?: string;
isPrivate?: boolean;
callbackAddress: string;
};
links: {
callbackAddress: string;
conversationUrl: string;
locusUrl?: string;
};
isSelected?: boolean;
isDeleted?: boolean;
isPMR?: boolean;
correlationIds?: unknown[];
}
export declare type ICallHistoryRecords = {
lastUpdated?: string;
items?: Record<string, ICallHistoryRecord>;
};
export interface ICallHistoryRecord {
id: string;
name: string;
direction?: DirectionTypes;
disposition?: DispositionTypes;
startTime?: string;
endTime?: string;
sessionType?: string;
phoneNumber?: string;
callbackAddress?: string;
isSelected?: boolean;
}
export interface ICallHistoryAdapter {
refresh(ID?: string): void;
getAll(ID?: string): Observable<ICallHistoryRecord[]>;
getOne?(ID?: string): Observable<ICallHistoryRecord>;
}
//# sourceMappingURL=ICallHistoryAdapter.d.ts.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export interface IMakeCallAdapter {
makeCall: (address: string, isVideo: boolean) => Promise<void>;
}
//# sourceMappingURL=IMakeCallAdapter.d.ts.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { IWebexIntContact } from './shared';
export interface ISearchContactsAdapterSearchInput {
searchText: string;
}
export interface ISearchContactsAdapterSearchResponse {
count: number;
items: {
[sourceName: string]: IWebexIntContact[];
};
}
export interface ISearchContactsAdapter {
search: (_: ISearchContactsAdapterSearchInput) => Promise<ISearchContactsAdapterSearchResponse>;
getSources: () => string[];
}
//# sourceMappingURL=ISearchContactsAdapter.d.ts.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import { Observable } from 'rxjs';
export interface ISpeedDialRecord {
/** The id for reference */
id: string;
/** The display name */
displayName: string;
/** The status to display Online/Offline */
status?: string;
/** The number to display */
number?: string;
/** The call type (audio/video) */
callType?: string;
/** The phone number to display */
phone?: string;
/** The phone number type (work,mobile,mail) */
phoneType?: string;
/** Callback address to pass to call action */
currentCallAddress?: string;
mail?: string;
mobilePhone?: string;
businessPhones?: string[];
surname?: string;
givenName?: string;
photo?: string;
}
export interface ISpeedDialsAdapter {
refresh?(ID?: string): void;
getAll(ID?: string): Observable<ISpeedDialRecord[]>;
getOne(ID?: string): Observable<ISpeedDialRecord>;
getContacts?(query?: string): Observable<ISpeedDialRecord[]>;
add?(speedDial: ISpeedDialRecord): void;
update?(speedDial: ISpeedDialRecord): void;
remove?(speedDial: ISpeedDialRecord): void;
}
//# sourceMappingURL=ISpeedDialsAdapter.d.ts.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { Observable } from 'rxjs';
export interface IWebexVoicemail {
id: string;
name: string;
address: string;
unread: boolean;
date: string;
audioSrc: string;
}
export interface IVoicemailAdapter {
refresh(): void;
getAll(): Observable<IWebexVoicemail[]>;
deleteVoicemail(ID: string): void;
markVoicemailRead(ID: string): void;
}
//# sourceMappingURL=IVoicemailAdapter.d.ts.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export * from './shared';
export * from './ICallHistoryAdapter';
export * from './ISearchContactsAdapter';
export * from './IAdapterAggregator';
export * from './IMakeCallAdapter';
export * from './ISpeedDialsAdapter';
export * from './IVoicemailAdapter';
//# sourceMappingURL=index.d.ts.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
export interface IWebexIntContact {
id: string;
name: string;
phoneNumbers: IWebexIntCallableEntity[];
emailAddresses: IWebexIntCallableEntity[];
fetchAvatarUrl?: () => Promise<string | undefined>;
}
export interface IWebexIntCallableEntity {
type: string;
address: string;
}
export interface IUserAvatar {
fetchAvatar: () => string;
}
//# sourceMappingURL=shared.d.ts.map
9 changes: 0 additions & 9 deletions tsconfig.eslint.json

This file was deleted.

Loading

0 comments on commit e9d91ac

Please sign in to comment.