Home / Type/ PaginateOptions Type — astro Architecture

PaginateOptions Type — astro Architecture

Architecture documentation for the PaginateOptions type/interface in common.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  12fcf74c_e9bb_8a8d_125d_87c3fc46d055["PaginateOptions"]
  669e29cb_6284_b440_c979_7aeecf0609ce["common.ts"]
  12fcf74c_e9bb_8a8d_125d_87c3fc46d055 -->|defined in| 669e29cb_6284_b440_c979_7aeecf0609ce
  style 12fcf74c_e9bb_8a8d_125d_87c3fc46d055 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/types/public/common.ts lines 38–45

export interface PaginateOptions<PaginateProps extends Props, PaginateParams extends Params> {
	/** the number of items per-page (default: `10`) */
	pageSize?: number;
	/** key: value object of page params (ex: `{ tag: 'javascript' }`) */
	params?: PaginateParams;
	/** object of props to forward to `page` result */
	props?: PaginateProps;
}

Frequently Asked Questions

What is the PaginateOptions type?
PaginateOptions is a type/interface in the astro codebase, defined in packages/astro/src/types/public/common.ts.
Where is PaginateOptions defined?
PaginateOptions is defined in packages/astro/src/types/public/common.ts at line 38.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free