Skip to content

Commit 691b85c

Browse files
committed
chore: format and ignore lint
1 parent 4ed143b commit 691b85c

File tree

2 files changed

+39
-38
lines changed

2 files changed

+39
-38
lines changed

infrastructure/w3id/src/logs/storage/storage-spec.ts

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,40 @@
55
*/
66

77
export declare class StorageSpec<T, K> {
8-
/**
9-
* Build a new storage driver
10-
*
11-
* @param {...any[]} props
12-
* @returns Promise<StorageSpec>
13-
*/
14-
15-
public static build<T, K>(...props: any[]): Promise<StorageSpec<T, K>>;
16-
17-
/**
18-
* Create a new entry in the storage
19-
*
20-
* @param body
21-
* @returns Promise<K>
22-
*/
23-
24-
public create(body: T): Promise<K>;
25-
26-
/**
27-
* Find one entry in the storage using partial of K
28-
*
29-
* @param {Partial<K>} options
30-
* @returns Promise<K>
31-
*/
32-
33-
public findOne(options: Partial<K>): Promise<K>;
34-
35-
/**
36-
* Find many entities in the storage using partial of K
37-
*
38-
* @param {Partial<K>} options
39-
* @returns Promise<K[]>
40-
*/
41-
42-
public findMany(options: Partial<K>): Promise<K[]>;
8+
/**
9+
* Build a new storage driver
10+
*
11+
* @param {...any[]} props
12+
* @returns Promise<StorageSpec>
13+
*/
14+
15+
// biome-ignore lint: lint/suspicious/noExplicitAny
16+
public static build<T, K>(...props: any[]): Promise<StorageSpec<T, K>>;
17+
18+
/**
19+
* Create a new entry in the storage
20+
*
21+
* @param body
22+
* @returns Promise<K>
23+
*/
24+
25+
public create(body: T): Promise<K>;
26+
27+
/**
28+
* Find one entry in the storage using partial of K
29+
*
30+
* @param {Partial<K>} options
31+
* @returns Promise<K>
32+
*/
33+
34+
public findOne(options: Partial<K>): Promise<K>;
35+
36+
/**
37+
* Find many entities in the storage using partial of K
38+
*
39+
* @param {Partial<K>} options
40+
* @returns Promise<K[]>
41+
*/
42+
43+
public findMany(options: Partial<K>): Promise<K[]>;
4344
}

infrastructure/w3id/src/utils/uuid.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import { v4 as uuidv4, v5 as uuidv5 } from "uuid";
1010
*/
1111

1212
export function generateUuid(
13-
entropy: string,
14-
namespace: string = uuidv4(),
13+
entropy: string,
14+
namespace: string = uuidv4(),
1515
): string {
16-
return uuidv5(entropy, namespace);
16+
return uuidv5(entropy, namespace);
1717
}

0 commit comments

Comments
 (0)