UNPKG

@goatlab/typesense

Version:

Modern TypeScript wrapper for Typesense search engine API

8 lines 361 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getCollectionStats = getCollectionStats; async function getCollectionStats(ctx, collectionName) { const collection = collectionName || ctx.fqcn(); return await ctx.httpClient.request(`/collections/${collection}/stats`); } //# sourceMappingURL=getCollectionStats.js.map