Skip to content

Commit ae0c3fb

Browse files
authored
Merge pull request #431 from piotrsapiejewskismartbear/master
SDCB-7650 update filters definition fix
2 parents fd354c9 + 8aca78c commit ae0c3fb

8 files changed

+11
-11
lines changed

dist/api/APIListDevices.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { DevicePicker } from './models/DeviceFilter';
77
import { CollectionQueryParams, NoQueryParams } from './models/HTTP';
88
export declare class APIListDevices extends APIList<Device, DevicesQueryParams> {
99
constructor(parent: API);
10-
filters(): APIResource<DevicePicker, CollectionQueryParams, void>;
10+
filters(): APIResource<DevicePicker, CollectionQueryParams, Pick<DevicePicker, "deviceFilterGroups">>;
1111
desktopBrowserCapabilities(): APIResource<DesktopBrowserCapabilities, NoQueryParams, void>;
1212
}
1313
export default APIListDevices;

dist/bitbar-cloud-api-client.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bitbar-cloud-api-client.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bitbar-cloud-api-client.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bitbar-cloud-api-client.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bitbar/cloud-api-client",
3-
"version": "1.0.17",
3+
"version": "1.0.18",
44
"description": "Bitbar Cloud API Client for JavaScript",
55
"main": "dist/bitbar-cloud-api-client.min.js",
66
"types": "dist/index.d.ts",

src/api/APIListDevices.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class APIListDevices extends APIList<Device, DevicesQueryParams> {
1919

2020
// /devices/filters
2121
filters() {
22-
return new APIResource<DevicePicker, CollectionQueryParams, NoData>(this).push('filters');
22+
return new APIResource<DevicePicker, CollectionQueryParams, Pick<DevicePicker, 'deviceFilterGroups'>>(this).push('filters');
2323
}
2424

2525
// /devices/desktop-browser-capabilities

0 commit comments

Comments
 (0)