@azure/cosmos
Version:
Microsoft Azure Cosmos DB Service Node.js SDK for NOSQL API
51 lines (50 loc) • 1.4 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 prefix_exports = {};
__export(prefix_exports, {
BytePrefix: () => BytePrefix
});
module.exports = __toCommonJS(prefix_exports);
const BytePrefix = {
Undefined: "00",
Null: "01",
False: "02",
True: "03",
MinNumber: "04",
Number: "05",
MaxNumber: "06",
MinString: "07",
String: "08",
MaxString: "09",
Int64: "0a",
Int32: "0b",
Int16: "0c",
Int8: "0d",
Uint64: "0e",
Uint32: "0f",
Uint16: "10",
Uint8: "11",
Binary: "12",
Guid: "13",
Float: "14",
Infinity: "FF"
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
BytePrefix
});