@azure/search-documents
Version:
Azure client library to use AI Search for node.js and browser.
48 lines (47 loc) • 1.8 kB
JavaScript
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var api_exports = {};
__export(api_exports, {
autocompleteGet: () => import_operations.autocompleteGet,
autocompletePost: () => import_operations.autocompletePost,
createSearch: () => import_searchContext.createSearch,
getDocument: () => import_operations.getDocument,
getDocumentCount: () => import_operations.getDocumentCount,
index: () => import_operations.index,
searchGet: () => import_operations.searchGet,
searchPost: () => import_operations.searchPost,
suggestGet: () => import_operations.suggestGet,
suggestPost: () => import_operations.suggestPost
});
module.exports = __toCommonJS(api_exports);
var import_operations = require("./operations.js");
var import_searchContext = require("./searchContext.js");
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
autocompleteGet,
autocompletePost,
createSearch,
getDocument,
getDocumentCount,
index,
searchGet,
searchPost,
suggestGet,
suggestPost
});
//# sourceMappingURL=index.js.map