@tanstack/db
Version:
A reactive client store for building super fast apps on sync
1 lines • 675 B
Source Map (JSON)
{"version":3,"file":"collection-options-brand.cjs","sources":["../../src/collection-options-brand.ts"],"sourcesContent":["export const collectionOptionsBrand: unique symbol = Symbol.for(\n `@tanstack/db.collectionOptions`,\n) as never\n\nexport function hasCollectionOptionsBrandValue(\n value: unknown,\n): value is { readonly [collectionOptionsBrand]: true } {\n return (\n typeof value === `object` &&\n value !== null &&\n (value as Record<PropertyKey, unknown>)[collectionOptionsBrand] === true\n )\n}\n"],"names":[],"mappings":";;AAAO,MAAM,yBAAwC,uBAAO;AAAA,EAC1D;AACF;AAEO,SAAS,+BACd,OACsD;AACtD,SACE,OAAO,UAAU,YACjB,UAAU,QACT,MAAuC,sBAAsB,MAAM;AAExE;;;"}