mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-21 01:42:26 +00:00
Fix some formatting to make prettier+resin-lint happy
This commit is contained in:
parent
14a3f51b73
commit
1dadfdc699
12
typings/resin-sdk-preconfigured.d.ts
vendored
12
typings/resin-sdk-preconfigured.d.ts
vendored
@ -12,22 +12,14 @@ declare module 'resin-sdk-preconfigured' {
|
||||
type RawFilter =
|
||||
| string
|
||||
| Array<string | Filter<any>>
|
||||
| {
|
||||
$string: string;
|
||||
[index: string]: Filter<any> | string;
|
||||
};
|
||||
| { $string: string; [index: string]: Filter<any> | string };
|
||||
type Lambda<T> = {
|
||||
$alias: string;
|
||||
$expr: Filter<T>;
|
||||
};
|
||||
|
||||
type OrderByValues = 'asc' | 'desc';
|
||||
type OrderBy =
|
||||
| string
|
||||
| string[]
|
||||
| {
|
||||
[index: string]: OrderByValues;
|
||||
};
|
||||
type OrderBy = string | string[] | { [index: string]: OrderByValues };
|
||||
|
||||
type ResourceObjFilter<T> = { [k in keyof T]?: object | number | string };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user