mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-17 18:02:09 -05:00
fix(pagination): add missing next_page to response interfaces and operator comments (#3236)
This commit is contained in:
@@ -80,6 +80,7 @@ export const textSearchTool: ToolConfig<SupabaseTextSearchParams, SupabaseTextSe
|
||||
let url = `https://${params.projectId}.supabase.co/rest/v1/${params.table}?select=*`
|
||||
|
||||
// Map search types to PostgREST operators
|
||||
// plfts = plainto_tsquery (natural language), phfts = phraseto_tsquery, wfts = websearch_to_tsquery
|
||||
const operatorMap: Record<string, string> = {
|
||||
plain: 'plfts',
|
||||
phrase: 'phfts',
|
||||
|
||||
@@ -23,6 +23,7 @@ export interface ZendeskAutocompleteOrganizationsResponse {
|
||||
paging?: {
|
||||
after_cursor: string | null
|
||||
has_more: boolean
|
||||
next_page?: string | null
|
||||
}
|
||||
metadata: {
|
||||
total_returned: number
|
||||
|
||||
@@ -24,6 +24,7 @@ export interface ZendeskSearchUsersResponse {
|
||||
paging?: {
|
||||
after_cursor: string | null
|
||||
has_more: boolean
|
||||
next_page?: string | null
|
||||
}
|
||||
metadata: {
|
||||
total_returned: number
|
||||
|
||||
Reference in New Issue
Block a user