@@ -21,7 +21,10 @@ import { pooledMap } from "@std/async/pool";
21
21
import { range } from "@core/iterutil/range" ;
22
22
import { flatten } from "@core/iterutil/async/flatten" ;
23
23
24
- /** Options for {@linkcode get} */
24
+ /** Options for {@linkcode get}
25
+ *
26
+ * @experimental **UNSTABLE**: New API, yet to be vetted.
27
+ */
25
28
export interface ListPagesOption < R extends Response | undefined >
26
29
extends BaseOptions < R > {
27
30
/** the sort of page list to return
@@ -57,6 +60,8 @@ export interface ListPagesOption<R extends Response | undefined>
57
60
}
58
61
59
62
/** Constructs a request for the `/api/pages/:project` endpoint
63
+ *
64
+ * @experimental **UNSTABLE**: New API, yet to be vetted.
60
65
*
61
66
* @param project The project name to list pages from
62
67
* @param options - Additional configuration options (sorting, pagination, etc.)
@@ -85,6 +90,8 @@ export const makeGetRequest = <R extends Response | undefined>(
85
90
} ;
86
91
87
92
/** Lists pages from a specified project
93
+ *
94
+ * @experimental **UNSTABLE**: New API, yet to be vetted.
88
95
*
89
96
* @param project The project name to list pages from
90
97
* @param options Configuration options for pagination and sorting
@@ -117,7 +124,11 @@ export const get = <R extends Response | undefined = Response>(
117
124
} , R >
118
125
> ;
119
126
120
- /** Options for {@linkcode list} */
127
+ /**
128
+ * Options for {@linkcode list}
129
+ *
130
+ * @experimental **UNSTABLE**: New API, yet to be vetted.
131
+ */
121
132
export interface ListPagesStreamOption < R extends Response | undefined >
122
133
extends ListPagesOption < R > {
123
134
/** The number of requests to make concurrently
@@ -130,6 +141,8 @@ export interface ListPagesStreamOption<R extends Response | undefined>
130
141
/**
131
142
* Lists pages from a given `project` with pagination
132
143
*
144
+ * @experimental **UNSTABLE**: New API, yet to be vetted.
145
+ *
133
146
* @param project The project name to list pages from
134
147
* @param options Configuration options for pagination and sorting
135
148
* @throws {HTTPError | TypedError<"NotLoggedInError" | "NotMemberError" | "NotFoundError"> } If any requests in the pagination sequence fail
0 commit comments