MCPcopy Create free account
hub / github.com/walinejs/waline / GetCommentCountOptions

Interface GetCommentCountOptions

packages/api/src/commentCount.ts:4–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { errorCheck, getFetchPrefix } from './utils.js';
3
4export interface GetCommentCountOptions extends BaseAPIOptions {
5 /**
6 * 待获取评论数的 path
7 *
8 * Path of pages to be fetched
9 */
10 paths: string[];
11
12 /**
13 * 取消请求的信号
14 *
15 * AbortSignal to cancel request
16 */
17 signal?: AbortSignal;
18}
19
20export const fetchCommentCount = ({
21 serverURL,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected