mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: add GetCatalogOptions type
!BREAKING_CHANGE
This commit is contained in:
@@ -72,4 +72,13 @@ export type OrderDetails = {
|
||||
products: OrderProduct[]
|
||||
}
|
||||
|
||||
export type CatalogCursor = string
|
||||
export type CatalogCursor = string
|
||||
|
||||
export type GetCatalogOptions = {
|
||||
/** cursor to start from */
|
||||
cursor?: CatalogCursor
|
||||
/** number of products to fetch */
|
||||
limit?: number
|
||||
|
||||
jid?: string
|
||||
}
|
||||
Reference in New Issue
Block a user