Skip to content

Commit 16942a4

Browse files
linting
1 parent 6a06d22 commit 16942a4

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

src/app/data-client.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ describe('DataClient tests', () => {
846846
return new GetLatestTabularDataResponse({
847847
timeCaptured: Timestamp.fromDate(timeCaptured),
848848
timeSynced: Timestamp.fromDate(timeSynced),
849-
payload: Struct.fromJson(payload)
849+
payload: Struct.fromJson(payload),
850850
});
851851
},
852852
});
@@ -860,7 +860,7 @@ describe('DataClient tests', () => {
860860
partId: 'testPartId',
861861
resourceName: 'testResource',
862862
resourceSubtype: 'testSubtype',
863-
methodName: 'testMethod'
863+
methodName: 'testMethod',
864864
});
865865

866866
const result = await subject().getLatestTabularData(

src/app/data-client.ts

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ export class DataClient {
8383
return resp.rawData.map((value) => BSON.deserialize(value));
8484
}
8585

86-
87-
88-
8986
/**
9087
* Filter and get a page of tabular data. The returned metadata might be empty
9188
* if the metadata index of the data is out of the bounds of the returned
@@ -691,16 +688,18 @@ export class DataClient {
691688
return filter;
692689
}
693690

694-
695-
696691
/**
697-
* Gets the most recent tabular data captured from the specified data source, as long as it was synced within the last year.
698-
*
692+
* Gets the most recent tabular data captured from the specified data source,
693+
* as long as it was synced within the last year.
694+
*
699695
* @param partId The ID of the part that owns the data
700-
* @param resourceName The name of the requested resource that captured the data
701-
* @param resourceSubtype The subtype of the requested resource that captured the data
696+
* @param resourceName The name of the requested resource that captured the
697+
* data
698+
* @param resourceSubtype The subtype of the requested resource that captured
699+
* the data
702700
* @param methodName The data capture method name
703-
* @returns A tuple containing [timeCaptured, timeSynced, payload] or null if no data has been synced
701+
* @returns A tuple containing [timeCaptured, timeSynced, payload] or null if
702+
* no data has been synced
704703
*/
705704
async getLatestTabularData(
706705
partId: string,
@@ -718,7 +717,6 @@ export class DataClient {
718717
if (!resp.payload) {
719718
return null;
720719
}
721-
722720

723721
return [
724722
resp.timeCaptured?.toDate(),

0 commit comments

Comments
 (0)