@tanstack/db
Version:
A reactive client store for building super fast apps on sync
20 lines (19 loc) • 822 B
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const collectionOptionsBrand = /* @__PURE__ */ Symbol.for(
`@tanstack/db.collectionOptions`
);
const collectionOptionsFactory = /* @__PURE__ */ Symbol.for(
`@tanstack/db.collectionOptions.factory`
);
const collectionOptionsClaim = /* @__PURE__ */ Symbol.for(
`@tanstack/db.collectionOptions.claim`
);
function hasCollectionOptionsBrand(value) {
return typeof value === `object` && value !== null && value[collectionOptionsBrand] === true;
}
exports.collectionOptionsBrand = collectionOptionsBrand;
exports.collectionOptionsClaim = collectionOptionsClaim;
exports.collectionOptionsFactory = collectionOptionsFactory;
exports.hasCollectionOptionsBrand = hasCollectionOptionsBrand;
//# sourceMappingURL=collection-options.cjs.map