Skip to content

Commit

Permalink
switch to typings
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandawg93 committed Jul 6, 2021
1 parent 418d8c2 commit 74c65ee
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/fordpass-connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Logging } from 'homebridge';
import querystring from 'querystring';
import { AxiosRequestConfig } from 'axios';
import axios from 'axios';
import { FordpassConfig } from './models/config';
import { FordpassConfig } from './types/config';

const authUrl = 'https://fcis.ice.ibmcloud.com/';

Expand Down
6 changes: 3 additions & 3 deletions src/fordpass.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import axios from 'axios';
import { AxiosRequestConfig, Method } from 'axios';
import { Logging } from 'homebridge';
import { VehicleInfo, Command } from './models/vehicle';
import { CommandStatus } from './models/command';
import { FordpassConfig } from './models/config';
import { VehicleInfo, Command } from './types/vehicle';
import { CommandStatus } from './types/command';
import { FordpassConfig } from './types/config';

const defaultHeaders = {
'Content-Type': 'application/json',
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import {
PlatformConfig,
} from 'homebridge';
import { Vehicle } from './fordpass';
import { Command } from './models/vehicle';
import { FordpassConfig, VehicleConfig } from './models/config';
import { Command } from './types/vehicle';
import { FordpassConfig, VehicleConfig } from './types/config';
import { Connection } from './fordpass-connection';
import { FordpassAccessory } from './accessory';

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 74c65ee

Please sign in to comment.