UNPKG

hikma-engine

Version:

Code Knowledge Graph Indexer - A sophisticated TypeScript-based indexer that transforms Git repositories into multi-dimensional knowledge stores for AI agents

36 lines (35 loc) 4.1 kB
"use strict"; /** * @file Utility exports for API server. * Centralizes all utility imports for easy integration. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.responseHeaders = exports.PerformanceMetrics = exports.withTiming = exports.metricsCollectionMiddleware = exports.performanceLoggingMiddleware = exports.initializeTimingMiddleware = exports.RequestTimingManager = exports.TimingUtil = exports.paginationUtils = exports.searchPagination = exports.pagination = exports.PaginationLinkGenerator = exports.SearchPagination = exports.CursorPagination = exports.PaginationUtil = exports.calculateResponseSize = exports.validateResponse = exports.compressResponse = exports.responseTimingMiddleware = exports.formatResponse = exports.responseFormatter = exports.ResponseFormatter = void 0; // Response formatting utilities var response_formatter_1 = require("./response-formatter"); Object.defineProperty(exports, "ResponseFormatter", { enumerable: true, get: function () { return response_formatter_1.ResponseFormatter; } }); Object.defineProperty(exports, "responseFormatter", { enumerable: true, get: function () { return response_formatter_1.responseFormatter; } }); Object.defineProperty(exports, "formatResponse", { enumerable: true, get: function () { return response_formatter_1.formatResponse; } }); Object.defineProperty(exports, "responseTimingMiddleware", { enumerable: true, get: function () { return response_formatter_1.timingMiddleware; } }); Object.defineProperty(exports, "compressResponse", { enumerable: true, get: function () { return response_formatter_1.compressResponse; } }); Object.defineProperty(exports, "validateResponse", { enumerable: true, get: function () { return response_formatter_1.validateResponse; } }); Object.defineProperty(exports, "calculateResponseSize", { enumerable: true, get: function () { return response_formatter_1.calculateResponseSize; } }); // Pagination utilities var pagination_1 = require("./pagination"); Object.defineProperty(exports, "PaginationUtil", { enumerable: true, get: function () { return pagination_1.PaginationUtil; } }); Object.defineProperty(exports, "CursorPagination", { enumerable: true, get: function () { return pagination_1.CursorPagination; } }); Object.defineProperty(exports, "SearchPagination", { enumerable: true, get: function () { return pagination_1.SearchPagination; } }); Object.defineProperty(exports, "PaginationLinkGenerator", { enumerable: true, get: function () { return pagination_1.PaginationLinkGenerator; } }); Object.defineProperty(exports, "pagination", { enumerable: true, get: function () { return pagination_1.pagination; } }); Object.defineProperty(exports, "searchPagination", { enumerable: true, get: function () { return pagination_1.searchPagination; } }); Object.defineProperty(exports, "paginationUtils", { enumerable: true, get: function () { return pagination_1.paginationUtils; } }); // Timing and performance utilities var timing_1 = require("./timing"); Object.defineProperty(exports, "TimingUtil", { enumerable: true, get: function () { return timing_1.TimingUtil; } }); Object.defineProperty(exports, "RequestTimingManager", { enumerable: true, get: function () { return timing_1.RequestTimingManager; } }); Object.defineProperty(exports, "initializeTimingMiddleware", { enumerable: true, get: function () { return timing_1.initializeTimingMiddleware; } }); Object.defineProperty(exports, "performanceLoggingMiddleware", { enumerable: true, get: function () { return timing_1.performanceLoggingMiddleware; } }); Object.defineProperty(exports, "metricsCollectionMiddleware", { enumerable: true, get: function () { return timing_1.metricsCollectionMiddleware; } }); Object.defineProperty(exports, "withTiming", { enumerable: true, get: function () { return timing_1.withTiming; } }); Object.defineProperty(exports, "PerformanceMetrics", { enumerable: true, get: function () { return timing_1.PerformanceMetrics; } }); Object.defineProperty(exports, "responseHeaders", { enumerable: true, get: function () { return timing_1.responseHeaders; } });