Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

Commit e599a07

Browse files
committed
style: fix eslint errors
1 parent 7afde0e commit e599a07

11 files changed

Lines changed: 19 additions & 17 deletions

File tree

agnss/getCache.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { DynamoDBClient, GetItemCommand } from '@aws-sdk/client-dynamodb'
1+
import type { DynamoDBClient } from '@aws-sdk/client-dynamodb'
2+
import { GetItemCommand } from '@aws-sdk/client-dynamodb'
23
import { unmarshall } from '@aws-sdk/util-dynamodb'
34
import type { Static } from '@sinclair/typebox'
45
import { ErrorType, type ErrorInfo } from '../api/ErrorInfo.js'

cdk/helper/getIotEndpoint.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { DescribeEndpointCommand, IoTClient } from '@aws-sdk/client-iot'
1+
import type { IoTClient } from '@aws-sdk/client-iot'
2+
import { DescribeEndpointCommand } from '@aws-sdk/client-iot'
23

34
export const getIotEndpoint = async (iot: IoTClient): Promise<string> =>
45
iot

cellGeolocation/geolocateFromCache.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { DynamoDBClient, GetItemCommand } from '@aws-sdk/client-dynamodb'
1+
import type { DynamoDBClient } from '@aws-sdk/client-dynamodb'
2+
import { GetItemCommand } from '@aws-sdk/client-dynamodb'
23
import { ErrorType, type ErrorInfo } from '../api/ErrorInfo.js'
34
import type { Cell } from '../geolocation/Cell.js'
45
import type { Location } from '../geolocation/Location.js'

cli/jitp/listRegisteredCAs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import type { IoTClient } from '@aws-sdk/client-iot'
12
import {
23
DescribeCACertificateCommand,
3-
IoTClient,
44
ListCACertificatesCommand,
55
} from '@aws-sdk/client-iot'
66
import { paginate } from '../../util/paginate.js'

cli/jitp/registerCA.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
import {
2-
CloudFormationClient,
3-
DescribeStacksCommand,
4-
} from '@aws-sdk/client-cloudformation'
1+
import type { CloudFormationClient } from '@aws-sdk/client-cloudformation'
2+
import { DescribeStacksCommand } from '@aws-sdk/client-cloudformation'
3+
import type { IoTClient, EventType } from '@aws-sdk/client-iot'
54
import {
65
GetRegistrationCodeCommand,
7-
IoTClient,
86
RegisterCACertificateCommand,
97
UpdateEventConfigurationsCommand,
108
type Tag,
11-
EventType,
129
type Configuration,
1310
} from '@aws-sdk/client-iot'
1411
import { toObject } from '@nordicsemiconductor/cloudformation-helpers'

feature-runner/steps/mockHTTPAPI.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ import {
66
import { Type } from '@sinclair/typebox'
77
import type { World } from '../run-features.js'
88
import { matchChoice, matchString } from './util.js'
9+
import type { AttributeValue, DynamoDBClient } from '@aws-sdk/client-dynamodb'
910
import {
10-
AttributeValue,
1111
DeleteItemCommand,
12-
DynamoDBClient,
1312
PutItemCommand,
1413
QueryCommand,
1514
} from '@aws-sdk/client-dynamodb'

geolocation/queueJob.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { SendMessageCommand, SQSClient } from '@aws-sdk/client-sqs'
1+
import type { SQSClient } from '@aws-sdk/client-sqs'
2+
import { SendMessageCommand } from '@aws-sdk/client-sqs'
23
import { ErrorType, type ErrorInfo } from '../api/ErrorInfo.js'
34

45
export const queueJob =

historicalData/storeRecordsInTimeseries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { TimestreamWriteClient } from '@aws-sdk/client-timestream-write'
12
import {
2-
TimestreamWriteClient,
33
WriteRecordsCommand,
44
type _Record,
55
} from '@aws-sdk/client-timestream-write'

networkSurveyGeolocation/geolocateSurvey.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { DynamoDBClient, GetItemCommand } from '@aws-sdk/client-dynamodb'
1+
import type { DynamoDBClient } from '@aws-sdk/client-dynamodb'
2+
import { GetItemCommand } from '@aws-sdk/client-dynamodb'
23
import { unmarshall } from '@aws-sdk/util-dynamodb'
34
import { ErrorType, type ErrorInfo } from '../api/ErrorInfo.js'
45
import type { Location } from '../geolocation/Location.js'

pgps/getCache.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { DynamoDBClient, GetItemCommand } from '@aws-sdk/client-dynamodb'
1+
import type { DynamoDBClient } from '@aws-sdk/client-dynamodb'
2+
import { GetItemCommand } from '@aws-sdk/client-dynamodb'
23
import { unmarshall } from '@aws-sdk/util-dynamodb'
34
import type { Static } from '@sinclair/typebox'
45
import { URL } from 'url'

0 commit comments

Comments
 (0)