Rocky_Mountain_Vending/.pnpm-store/v10/files/10/7ac28b4bbb9e21f705ea50872579ecda4288dd9b4308037ef5885e21e2500789cd53b84ffd9019db2058c92511aa13b5cac77ab6e46f4fd65820578ad6752a
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

33 lines
1.2 KiB
Text

import { Client } from "./client";
import { Command } from "./command";
/**
* @public
*
* Expected type definition of a paginator.
*/
export type Paginator<T> = AsyncGenerator<T, undefined, unknown>;
/**
* @public
*
* Expected paginator configuration passed to an operation. Services will extend
* this interface definition and may type client further.
*/
export interface PaginationConfiguration {
client: Client<any, any, any>;
pageSize?: number;
startingToken?: any;
/**
* For some APIs, such as CloudWatchLogs events, the next page token will always
* be present.
*
* When true, this config field will have the paginator stop when the token doesn't change
* instead of when it is not present.
*/
stopOnSameToken?: boolean;
/**
* @param command - reference to the instantiated command. This callback is executed
* prior to sending the command with the paginator's client.
* @returns the original command or a replacement, defaulting to the original command object.
*/
withCommand?: (command: Command<any, any, any, any, any>) => typeof command | undefined;
}