@@ -21,7 +21,10 @@ import { pooledMap } from "@std/async/pool";
2121import { range } from "@core/iterutil/range" ;
2222import { flatten } from "@core/iterutil/async/flatten" ;
2323
24- /** Options for {@linkcode get} */
24+ /** Options for {@linkcode get}
25+ *
26+ * @experimental **UNSTABLE**: New API, yet to be vetted.
27+ */
2528export interface ListPagesOption < R extends Response | undefined >
2629 extends BaseOptions < R > {
2730 /** the sort of page list to return
@@ -57,6 +60,8 @@ export interface ListPagesOption<R extends Response | undefined>
5760}
5861
5962/** Constructs a request for the `/api/pages/:project` endpoint
63+ *
64+ * @experimental **UNSTABLE**: New API, yet to be vetted.
6065 *
6166 * @param project The project name to list pages from
6267 * @param options - Additional configuration options (sorting, pagination, etc.)
@@ -85,6 +90,8 @@ export const makeGetRequest = <R extends Response | undefined>(
8590} ;
8691
8792/** Lists pages from a specified project
93+ *
94+ * @experimental **UNSTABLE**: New API, yet to be vetted.
8895 *
8996 * @param project The project name to list pages from
9097 * @param options Configuration options for pagination and sorting
@@ -117,7 +124,11 @@ export const get = <R extends Response | undefined = Response>(
117124 } , R >
118125 > ;
119126
120- /** Options for {@linkcode list} */
127+ /**
128+ * Options for {@linkcode list}
129+ *
130+ * @experimental **UNSTABLE**: New API, yet to be vetted.
131+ */
121132export interface ListPagesStreamOption < R extends Response | undefined >
122133 extends ListPagesOption < R > {
123134 /** The number of requests to make concurrently
@@ -130,6 +141,8 @@ export interface ListPagesStreamOption<R extends Response | undefined>
130141/**
131142 * Lists pages from a given `project` with pagination
132143 *
144+ * @experimental **UNSTABLE**: New API, yet to be vetted.
145+ *
133146 * @param project The project name to list pages from
134147 * @param options Configuration options for pagination and sorting
135148 * @throws {HTTPError | TypedError<"NotLoggedInError" | "NotMemberError" | "NotFoundError"> } If any requests in the pagination sequence fail
0 commit comments