1 | "use strict";
|
2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3 | if (k2 === undefined) k2 = k;
|
4 | var desc = Object.getOwnPropertyDescriptor(m, k);
|
5 | if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6 | desc = { enumerable: true, get: function() { return m[k]; } };
|
7 | }
|
8 | Object.defineProperty(o, k2, desc);
|
9 | }) : (function(o, m, k, k2) {
|
10 | if (k2 === undefined) k2 = k;
|
11 | o[k2] = m[k];
|
12 | }));
|
13 | var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14 | for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15 | };
|
16 | var __importDefault = (this && this.__importDefault) || function (mod) {
|
17 | return (mod && mod.__esModule) ? mod : { "default": mod };
|
18 | };
|
19 | Object.defineProperty(exports, "__esModule", { value: true });
|
20 | exports.shutdownLogger = exports.enableProtocolLoggerToSaveNetworkTrafficToFile = exports.cbppMetadata = exports.cbppVersion = exports.lcbVersion = exports.connect = void 0;
|
21 | const binding_1 = __importDefault(require("./binding"));
|
22 | const cluster_1 = require("./cluster");
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | async function connect(connStr, options, callback) {
|
33 | return cluster_1.Cluster.connect(connStr, options, callback);
|
34 | }
|
35 | exports.connect = connect;
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 | exports.lcbVersion = binding_1.default.cbppVersion;
|
43 |
|
44 |
|
45 |
|
46 |
|
47 | exports.cbppVersion = binding_1.default.cbppVersion;
|
48 | exports.cbppMetadata = binding_1.default.cbppMetadata;
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 | function enableProtocolLoggerToSaveNetworkTrafficToFile(filename) {
|
59 | binding_1.default.enableProtocolLogger(filename);
|
60 | }
|
61 | exports.enableProtocolLoggerToSaveNetworkTrafficToFile = enableProtocolLoggerToSaveNetworkTrafficToFile;
|
62 |
|
63 |
|
64 |
|
65 |
|
66 |
|
67 |
|
68 | function shutdownLogger() {
|
69 | binding_1.default.shutdownLogger();
|
70 | }
|
71 | exports.shutdownLogger = shutdownLogger;
|
72 | __exportStar(require("./analyticsindexmanager"), exports);
|
73 | __exportStar(require("./analyticstypes"), exports);
|
74 | __exportStar(require("./authenticators"), exports);
|
75 | __exportStar(require("./binarycollection"), exports);
|
76 | __exportStar(require("./bucket"), exports);
|
77 | __exportStar(require("./bucketmanager"), exports);
|
78 | __exportStar(require("./cluster"), exports);
|
79 | __exportStar(require("./collection"), exports);
|
80 | __exportStar(require("./collectionmanager"), exports);
|
81 | __exportStar(require("./crudoptypes"), exports);
|
82 | __exportStar(require("./datastructures"), exports);
|
83 | __exportStar(require("./diagnosticstypes"), exports);
|
84 | __exportStar(require("./errorcontexts"), exports);
|
85 | __exportStar(require("./errors"), exports);
|
86 | __exportStar(require("./eventingfunctionmanager"), exports);
|
87 | __exportStar(require("./generaltypes"), exports);
|
88 | __exportStar(require("./mutationstate"), exports);
|
89 | __exportStar(require("./queryindexmanager"), exports);
|
90 | __exportStar(require("./querytypes"), exports);
|
91 | __exportStar(require("./scope"), exports);
|
92 | __exportStar(require("./scopesearchindexmanager"), exports);
|
93 | __exportStar(require("./sdspecs"), exports);
|
94 | __exportStar(require("./searchfacet"), exports);
|
95 | __exportStar(require("./searchindexmanager"), exports);
|
96 | __exportStar(require("./searchquery"), exports);
|
97 | __exportStar(require("./searchsort"), exports);
|
98 | __exportStar(require("./searchtypes"), exports);
|
99 | __exportStar(require("./streamablepromises"), exports);
|
100 | __exportStar(require("./transactions"), exports);
|
101 | __exportStar(require("./transcoders"), exports);
|
102 | __exportStar(require("./usermanager"), exports);
|
103 | __exportStar(require("./vectorsearch"), exports);
|
104 | __exportStar(require("./viewexecutor"), exports);
|
105 | __exportStar(require("./viewindexmanager"), exports);
|
106 | __exportStar(require("./viewtypes"), exports);
|