1 | "use strict";
|
2 | var __importDefault = (this && this.__importDefault) || function (mod) {
|
3 | return (mod && mod.__esModule) ? mod : { "default": mod };
|
4 | };
|
5 | Object.defineProperty(exports, "__esModule", { value: true });
|
6 | exports.CppTxnExternalException = exports.CppTxnFailureType = exports.CppVectorQueryCombination = exports.CppReadPreference = exports.CppReplicateTo = exports.CppPersistTo = exports.CppStoreSemantics = exports.CppImplSubdocOpcode = exports.CppKeyValueStatusCode = exports.CppErrcNetwork = exports.CppErrcFieldLevelEncryption = exports.CppErrcManagement = exports.CppErrcView = exports.CppErrcSearch = exports.CppErrcAnalytics = exports.CppErrcQuery = exports.CppErrcKeyValue = exports.CppErrcCommon = exports.CppDurabilityLevel = exports.CppAnalyticsResponseAnalyticsStatus = exports.CppViewSortOrder = exports.CppViewScanConsistency = exports.CppViewOnError = exports.CppServiceType = exports.CppSearchScanConsistency = exports.CppSearchHighlightStyle = exports.CppQueryScanConsistency = exports.CppQueryProfile = exports.CppDiagPingState = exports.CppDiagEndpointState = exports.CppDiagClusterState = exports.CppDesignDocumentNamespace = exports.CppAnalyticsScanConsistency = exports.CppProtocolSubdocOpcode = exports.CppRetryReason = exports.CppManagementRbacAuthDomain = exports.CppManagementEventingFunctionProcessingStatus = exports.CppManagementEventingFunctionDeploymentStatus = exports.CppManagementEventingFunctionStatus = exports.CppManagementEventingFunctionBucketAccess = exports.CppManagementEventingFunctionLogLevel = exports.CppManagementEventingFunctionLanguageCompatibility = exports.CppManagementEventingFunctionDcpBoundary = exports.CppManagementClusterBucketStorageBackend = exports.CppManagementClusterBucketConflictResolution = exports.CppManagementClusterBucketEvictionPolicy = exports.CppManagementClusterBucketCompression = exports.CppManagementClusterBucketType = exports.CppManagementAnalyticsCouchbaseLinkEncryptionLevel = exports.zeroCas = void 0;
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | const path_1 = __importDefault(require("path"));
|
13 | exports.zeroCas = 0;
|
14 |
|
15 | var CppManagementAnalyticsCouchbaseLinkEncryptionLevel;
|
16 | (function (CppManagementAnalyticsCouchbaseLinkEncryptionLevel) {
|
17 | })(CppManagementAnalyticsCouchbaseLinkEncryptionLevel || (exports.CppManagementAnalyticsCouchbaseLinkEncryptionLevel = CppManagementAnalyticsCouchbaseLinkEncryptionLevel = {}));
|
18 | var CppManagementClusterBucketType;
|
19 | (function (CppManagementClusterBucketType) {
|
20 | })(CppManagementClusterBucketType || (exports.CppManagementClusterBucketType = CppManagementClusterBucketType = {}));
|
21 | var CppManagementClusterBucketCompression;
|
22 | (function (CppManagementClusterBucketCompression) {
|
23 | })(CppManagementClusterBucketCompression || (exports.CppManagementClusterBucketCompression = CppManagementClusterBucketCompression = {}));
|
24 | var CppManagementClusterBucketEvictionPolicy;
|
25 | (function (CppManagementClusterBucketEvictionPolicy) {
|
26 | })(CppManagementClusterBucketEvictionPolicy || (exports.CppManagementClusterBucketEvictionPolicy = CppManagementClusterBucketEvictionPolicy = {}));
|
27 | var CppManagementClusterBucketConflictResolution;
|
28 | (function (CppManagementClusterBucketConflictResolution) {
|
29 | })(CppManagementClusterBucketConflictResolution || (exports.CppManagementClusterBucketConflictResolution = CppManagementClusterBucketConflictResolution = {}));
|
30 | var CppManagementClusterBucketStorageBackend;
|
31 | (function (CppManagementClusterBucketStorageBackend) {
|
32 | })(CppManagementClusterBucketStorageBackend || (exports.CppManagementClusterBucketStorageBackend = CppManagementClusterBucketStorageBackend = {}));
|
33 | var CppManagementEventingFunctionDcpBoundary;
|
34 | (function (CppManagementEventingFunctionDcpBoundary) {
|
35 | })(CppManagementEventingFunctionDcpBoundary || (exports.CppManagementEventingFunctionDcpBoundary = CppManagementEventingFunctionDcpBoundary = {}));
|
36 | var CppManagementEventingFunctionLanguageCompatibility;
|
37 | (function (CppManagementEventingFunctionLanguageCompatibility) {
|
38 | })(CppManagementEventingFunctionLanguageCompatibility || (exports.CppManagementEventingFunctionLanguageCompatibility = CppManagementEventingFunctionLanguageCompatibility = {}));
|
39 | var CppManagementEventingFunctionLogLevel;
|
40 | (function (CppManagementEventingFunctionLogLevel) {
|
41 | })(CppManagementEventingFunctionLogLevel || (exports.CppManagementEventingFunctionLogLevel = CppManagementEventingFunctionLogLevel = {}));
|
42 | var CppManagementEventingFunctionBucketAccess;
|
43 | (function (CppManagementEventingFunctionBucketAccess) {
|
44 | })(CppManagementEventingFunctionBucketAccess || (exports.CppManagementEventingFunctionBucketAccess = CppManagementEventingFunctionBucketAccess = {}));
|
45 | var CppManagementEventingFunctionStatus;
|
46 | (function (CppManagementEventingFunctionStatus) {
|
47 | })(CppManagementEventingFunctionStatus || (exports.CppManagementEventingFunctionStatus = CppManagementEventingFunctionStatus = {}));
|
48 | var CppManagementEventingFunctionDeploymentStatus;
|
49 | (function (CppManagementEventingFunctionDeploymentStatus) {
|
50 | })(CppManagementEventingFunctionDeploymentStatus || (exports.CppManagementEventingFunctionDeploymentStatus = CppManagementEventingFunctionDeploymentStatus = {}));
|
51 | var CppManagementEventingFunctionProcessingStatus;
|
52 | (function (CppManagementEventingFunctionProcessingStatus) {
|
53 | })(CppManagementEventingFunctionProcessingStatus || (exports.CppManagementEventingFunctionProcessingStatus = CppManagementEventingFunctionProcessingStatus = {}));
|
54 | var CppManagementRbacAuthDomain;
|
55 | (function (CppManagementRbacAuthDomain) {
|
56 | })(CppManagementRbacAuthDomain || (exports.CppManagementRbacAuthDomain = CppManagementRbacAuthDomain = {}));
|
57 | var CppRetryReason;
|
58 | (function (CppRetryReason) {
|
59 | })(CppRetryReason || (exports.CppRetryReason = CppRetryReason = {}));
|
60 | var CppProtocolSubdocOpcode;
|
61 | (function (CppProtocolSubdocOpcode) {
|
62 | })(CppProtocolSubdocOpcode || (exports.CppProtocolSubdocOpcode = CppProtocolSubdocOpcode = {}));
|
63 | var CppAnalyticsScanConsistency;
|
64 | (function (CppAnalyticsScanConsistency) {
|
65 | })(CppAnalyticsScanConsistency || (exports.CppAnalyticsScanConsistency = CppAnalyticsScanConsistency = {}));
|
66 | var CppDesignDocumentNamespace;
|
67 | (function (CppDesignDocumentNamespace) {
|
68 | })(CppDesignDocumentNamespace || (exports.CppDesignDocumentNamespace = CppDesignDocumentNamespace = {}));
|
69 | var CppDiagClusterState;
|
70 | (function (CppDiagClusterState) {
|
71 | })(CppDiagClusterState || (exports.CppDiagClusterState = CppDiagClusterState = {}));
|
72 | var CppDiagEndpointState;
|
73 | (function (CppDiagEndpointState) {
|
74 | })(CppDiagEndpointState || (exports.CppDiagEndpointState = CppDiagEndpointState = {}));
|
75 | var CppDiagPingState;
|
76 | (function (CppDiagPingState) {
|
77 | })(CppDiagPingState || (exports.CppDiagPingState = CppDiagPingState = {}));
|
78 | var CppQueryProfile;
|
79 | (function (CppQueryProfile) {
|
80 | })(CppQueryProfile || (exports.CppQueryProfile = CppQueryProfile = {}));
|
81 | var CppQueryScanConsistency;
|
82 | (function (CppQueryScanConsistency) {
|
83 | })(CppQueryScanConsistency || (exports.CppQueryScanConsistency = CppQueryScanConsistency = {}));
|
84 | var CppSearchHighlightStyle;
|
85 | (function (CppSearchHighlightStyle) {
|
86 | })(CppSearchHighlightStyle || (exports.CppSearchHighlightStyle = CppSearchHighlightStyle = {}));
|
87 | var CppSearchScanConsistency;
|
88 | (function (CppSearchScanConsistency) {
|
89 | })(CppSearchScanConsistency || (exports.CppSearchScanConsistency = CppSearchScanConsistency = {}));
|
90 | var CppServiceType;
|
91 | (function (CppServiceType) {
|
92 | })(CppServiceType || (exports.CppServiceType = CppServiceType = {}));
|
93 | var CppViewOnError;
|
94 | (function (CppViewOnError) {
|
95 | })(CppViewOnError || (exports.CppViewOnError = CppViewOnError = {}));
|
96 | var CppViewScanConsistency;
|
97 | (function (CppViewScanConsistency) {
|
98 | })(CppViewScanConsistency || (exports.CppViewScanConsistency = CppViewScanConsistency = {}));
|
99 | var CppViewSortOrder;
|
100 | (function (CppViewSortOrder) {
|
101 | })(CppViewSortOrder || (exports.CppViewSortOrder = CppViewSortOrder = {}));
|
102 | var CppAnalyticsResponseAnalyticsStatus;
|
103 | (function (CppAnalyticsResponseAnalyticsStatus) {
|
104 | })(CppAnalyticsResponseAnalyticsStatus || (exports.CppAnalyticsResponseAnalyticsStatus = CppAnalyticsResponseAnalyticsStatus = {}));
|
105 | var CppDurabilityLevel;
|
106 | (function (CppDurabilityLevel) {
|
107 | })(CppDurabilityLevel || (exports.CppDurabilityLevel = CppDurabilityLevel = {}));
|
108 | var CppErrcCommon;
|
109 | (function (CppErrcCommon) {
|
110 | })(CppErrcCommon || (exports.CppErrcCommon = CppErrcCommon = {}));
|
111 | var CppErrcKeyValue;
|
112 | (function (CppErrcKeyValue) {
|
113 | })(CppErrcKeyValue || (exports.CppErrcKeyValue = CppErrcKeyValue = {}));
|
114 | var CppErrcQuery;
|
115 | (function (CppErrcQuery) {
|
116 | })(CppErrcQuery || (exports.CppErrcQuery = CppErrcQuery = {}));
|
117 | var CppErrcAnalytics;
|
118 | (function (CppErrcAnalytics) {
|
119 | })(CppErrcAnalytics || (exports.CppErrcAnalytics = CppErrcAnalytics = {}));
|
120 | var CppErrcSearch;
|
121 | (function (CppErrcSearch) {
|
122 | })(CppErrcSearch || (exports.CppErrcSearch = CppErrcSearch = {}));
|
123 | var CppErrcView;
|
124 | (function (CppErrcView) {
|
125 | })(CppErrcView || (exports.CppErrcView = CppErrcView = {}));
|
126 | var CppErrcManagement;
|
127 | (function (CppErrcManagement) {
|
128 | })(CppErrcManagement || (exports.CppErrcManagement = CppErrcManagement = {}));
|
129 | var CppErrcFieldLevelEncryption;
|
130 | (function (CppErrcFieldLevelEncryption) {
|
131 | })(CppErrcFieldLevelEncryption || (exports.CppErrcFieldLevelEncryption = CppErrcFieldLevelEncryption = {}));
|
132 | var CppErrcNetwork;
|
133 | (function (CppErrcNetwork) {
|
134 | })(CppErrcNetwork || (exports.CppErrcNetwork = CppErrcNetwork = {}));
|
135 | var CppKeyValueStatusCode;
|
136 | (function (CppKeyValueStatusCode) {
|
137 | })(CppKeyValueStatusCode || (exports.CppKeyValueStatusCode = CppKeyValueStatusCode = {}));
|
138 | var CppImplSubdocOpcode;
|
139 | (function (CppImplSubdocOpcode) {
|
140 | })(CppImplSubdocOpcode || (exports.CppImplSubdocOpcode = CppImplSubdocOpcode = {}));
|
141 | var CppStoreSemantics;
|
142 | (function (CppStoreSemantics) {
|
143 | })(CppStoreSemantics || (exports.CppStoreSemantics = CppStoreSemantics = {}));
|
144 | var CppPersistTo;
|
145 | (function (CppPersistTo) {
|
146 | })(CppPersistTo || (exports.CppPersistTo = CppPersistTo = {}));
|
147 | var CppReplicateTo;
|
148 | (function (CppReplicateTo) {
|
149 | })(CppReplicateTo || (exports.CppReplicateTo = CppReplicateTo = {}));
|
150 | var CppReadPreference;
|
151 | (function (CppReadPreference) {
|
152 | })(CppReadPreference || (exports.CppReadPreference = CppReadPreference = {}));
|
153 | var CppVectorQueryCombination;
|
154 | (function (CppVectorQueryCombination) {
|
155 | })(CppVectorQueryCombination || (exports.CppVectorQueryCombination = CppVectorQueryCombination = {}));
|
156 | var CppTxnFailureType;
|
157 | (function (CppTxnFailureType) {
|
158 | })(CppTxnFailureType || (exports.CppTxnFailureType = CppTxnFailureType = {}));
|
159 | var CppTxnExternalException;
|
160 | (function (CppTxnExternalException) {
|
161 | })(CppTxnExternalException || (exports.CppTxnExternalException = CppTxnExternalException = {}));
|
162 |
|
163 |
|
164 |
|
165 | const binding = process.env.CN_PREBUILD_PATH_OVERRIDE
|
166 | ?
|
167 | require(process.env.CN_PREBUILD_PATH_OVERRIDE)
|
168 | :
|
169 | require('../scripts/prebuilds').loadPrebuild(path_1.default.resolve(__dirname, '..'));
|
170 | exports.default = binding;
|