Skip to content

Commit 3253ae7

Browse files
roiLeovikiival
andauthored
🔧 collectionByIdIn id type
Co-authored-by: Viki Val <[email protected]>
1 parent cadb7a9 commit 3253ae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/clients/abstractClient.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { BaseEvent, GraphLike, GraphQuery, ObjProp, QueryProps } from '../types'
22
// Collection, Token
33
interface AbstractClient<C, T, E = BaseEvent> {
44
collectionById(id: string, fields?: ObjProp<C>): GraphQuery
5-
collectionByIdIn(id: string, fields?: ObjProp<C>): GraphQuery
5+
collectionByIdIn(id: string | string[], fields?: ObjProp<C>): GraphQuery
66
// collectionListBy(id: string, field: KeyOf<C>, fields?: ObjProp<C>): GraphQuery
77
collectionCountByIssuer(issuer: string): GraphQuery
88
collectionCountByName(name: string): GraphQuery

0 commit comments

Comments
 (0)