@delali/narsil 0.4.0 → 0.4.1-next.212
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/browser/{chunk-NDYADQ4Y.mjs → chunk-GBJSEHVJ.mjs} +2 -2
- package/dist/browser/{optional-reads-XMVPG6HG.mjs → optional-reads-6LN3HMUH.mjs} +1 -1
- package/dist/browser/{store-leaf-3L33V35P.mjs → store-leaf-3YPLCQ7X.mjs} +5 -4
- package/dist/{capabilities-DMte5K9_.d.ts → capabilities-BOFFMx84.d.ts} +9 -6
- package/dist/{chunk-C74KPRR7.mjs → chunk-2K24MEYV.mjs} +2 -2
- package/dist/{chunk-4ZPVAHWF.mjs → chunk-357KIU5E.mjs} +4 -4
- package/dist/{chunk-AVBPB3MI.mjs → chunk-3IE3A74H.mjs} +2 -2
- package/dist/{chunk-ZPJFGGGI.mjs → chunk-6I6OO6B2.mjs} +2 -2
- package/dist/{chunk-6N6HHBCQ.mjs → chunk-755NM4PL.mjs} +9 -9
- package/dist/{chunk-MW3CJVGP.mjs → chunk-AXDB6KUQ.mjs} +1 -1
- package/dist/{chunk-C4ZMXXTL.mjs → chunk-B3MO37YF.mjs} +1 -1
- package/dist/{chunk-TKKXPKEO.mjs → chunk-CERPUGRK.mjs} +6 -5
- package/dist/{chunk-M3OW2XSP.mjs → chunk-DBC4EJWB.mjs} +1 -1
- package/dist/{chunk-SLAC5PAB.mjs → chunk-DDUXEJXW.mjs} +4 -4
- package/dist/{chunk-YTUZ4R22.mjs → chunk-DKIMHIBC.mjs} +2 -2
- package/dist/{react-native/chunks/chunk-UE4ANHSX.mjs → chunk-F26DOOUH.mjs} +1 -1
- package/dist/{chunk-LFXS6OF7.mjs → chunk-MI6UZGUR.mjs} +2 -2
- package/dist/{chunk-DXZ6JDWG.mjs → chunk-MSJD74GN.mjs} +2 -2
- package/dist/{chunk-NM7I3BM7.mjs → chunk-MYN4K5IS.mjs} +1 -1
- package/dist/{chunk-XQIAMDAG.mjs → chunk-NCIGNQJE.mjs} +3 -3
- package/dist/{chunk-5F5MXWS5.mjs → chunk-OGYSPNL2.mjs} +5 -5
- package/dist/{chunk-BY6NALRK.mjs → chunk-PP3W5PQQ.mjs} +9 -9
- package/dist/{chunk-6FOENO4E.mjs → chunk-SMQPZHPS.mjs} +1 -1
- package/dist/{chunk-FS3HPPSC.mjs → chunk-UHLFCGZ3.mjs} +1 -1
- package/dist/{chunk-FT4KLZXW.mjs → chunk-WC5KAWXQ.mjs} +3 -3
- package/dist/{chunk-XL56L4IR.mjs → chunk-WM5KJSQV.mjs} +1 -1
- package/dist/{chunk-MYM6CAVK.mjs → chunk-WTMCGZ74.mjs} +2 -2
- package/dist/{chunk-KYIRXTCA.mjs → chunk-X3EQCQLP.mjs} +2 -2
- package/dist/{chunk-MRCJBWJZ.mjs → chunk-Z7XSHKOF.mjs} +2 -2
- package/dist/{client-BKqtl0_V.d.ts → client-BhNxHtcZ.d.ts} +3 -3
- package/dist/client.d.ts +6 -6
- package/dist/{config-Bnl7L-0H.d.ts → config-BJSL7piq.d.ts} +1 -1
- package/dist/{config-CJ-jfI0a.d.ts → config-P9zW3Zz7.d.ts} +1 -1
- package/dist/{direct-executor-V3WOYU2Y.mjs → direct-executor-GWJXDFLD.mjs} +1 -1
- package/dist/distribution.d.ts +4 -4
- package/dist/distribution.mjs +49 -34
- package/dist/{engine-qjAxJSKk.d.ts → engine-DoFnkRoF.d.ts} +1 -1
- package/dist/index.browser.mjs +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +1 -1
- package/dist/index.react-native.mjs +1 -1
- package/dist/{long-query-thread-UCRK7MSI.mjs → long-query-thread-GNTDYDOZ.mjs} +10 -10
- package/dist/{optional-reads-5HFMF2QZ.mjs → optional-reads-UCS23AWP.mjs} +1 -1
- package/dist/{optional-writes-4UOQKETU.mjs → optional-writes-2AHJCGTY.mjs} +3 -3
- package/dist/{paged-partition-archive-BBRLZCIF.mjs → paged-partition-archive-GBAHDT55.mjs} +9 -9
- package/dist/partial-words.browser.mjs +1 -1
- package/dist/partial-words.mjs +1 -1
- package/dist/persistence/durability/checkpoint-worker.mjs +7 -7
- package/dist/{query-actions-HMJUVWGT.mjs → query-actions-IDCUA7UV.mjs} +1 -1
- package/dist/query-suggestions/merge-worker.mjs +4 -4
- package/dist/query-suggestions.browser.mjs +1 -1
- package/dist/query-suggestions.d.ts +1 -1
- package/dist/query-suggestions.mjs +2 -2
- package/dist/{chunk-MFPSQZ6P.mjs → react-native/chunks/chunk-4FUCRLSA.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-WVHF4ZAK.mjs → chunk-AJAH6X7W.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-G3WCDTOF.mjs → chunk-LPX26NNL.mjs} +9 -9
- package/dist/react-native/chunks/{chunk-GXXHHA2T.mjs → chunk-MMPBO4WR.mjs} +1 -1
- package/dist/react-native/chunks/{chunk-3OEFSHVV.mjs → chunk-SCGBU47K.mjs} +6 -5
- package/dist/react-native/chunks/{chunk-UNZPWLVL.mjs → chunk-TG56N5JC.mjs} +2 -2
- package/dist/react-native/chunks/{optional-reads-AFPO2FEB.mjs → optional-reads-4XCJ34QG.mjs} +1 -1
- package/dist/react-native/chunks/{optional-writes-XOH25XZI.mjs → optional-writes-XYZVTBFB.mjs} +2 -2
- package/dist/react-native/chunks/{restore-queue-LLNMYB4Z.mjs → restore-queue-NOKQZJ2Z.mjs} +4 -4
- package/dist/react-native/chunks/{segment-codec-leaf-VR6O5GLC.mjs → segment-codec-leaf-3ZXBJVKH.mjs} +2 -2
- package/dist/react-native/chunks/{segment-merge-leaf-LLMWU4EW.mjs → segment-merge-leaf-3Z7MMPWE.mjs} +3 -3
- package/dist/react-native/chunks/{storage-leaf-JD7PIDO4.mjs → storage-leaf-KJOX3MMW.mjs} +5 -5
- package/dist/react-native/chunks/{store-leaf-4UVCMYGN.mjs → store-leaf-QGLVSO5X.mjs} +3 -3
- package/dist/react-native/chunks/{suggestions-leaf-J5VT5RHY.mjs → suggestions-leaf-6GI5ZSW6.mjs} +3 -3
- package/dist/react-native/chunks/{worker-copies-ZYHY7FKJ.mjs → worker-copies-ALOD7TSP.mjs} +2 -2
- package/dist/react-native/partial-words.mjs +1 -1
- package/dist/react-native/query-suggestions.mjs +1 -1
- package/dist/react-native/sync.mjs +1 -1
- package/dist/react-native/synonyms.mjs +1 -1
- package/dist/react.d.ts +7 -7
- package/dist/{rerank-RI2PMNOD.mjs → rerank-HB6DU6GS.mjs} +1 -1
- package/dist/{restore-queue-PCKWDAKQ.mjs → restore-queue-VUQHGCXE.mjs} +4 -4
- package/dist/{segment-codec-leaf-QJM7I6QG.mjs → segment-codec-leaf-TW2FPAAT.mjs} +2 -2
- package/dist/{segment-merge-leaf-4BJGIJHY.mjs → segment-merge-leaf-BS3QV5PZ.mjs} +2 -2
- package/dist/server.d.ts +8 -8
- package/dist/server.mjs +26 -18
- package/dist/{storage-leaf-GRRRI7UV.mjs → storage-leaf-5IG2HPNY.mjs} +18 -18
- package/dist/{store-leaf-6VMMSVBE.mjs → store-leaf-ZWSOK2DV.mjs} +3 -3
- package/dist/{suggestions-leaf-4KPTMPTL.mjs → suggestions-leaf-MUZNKQVF.mjs} +5 -5
- package/dist/sync/filesystem.d.ts +2 -2
- package/dist/sync/filesystem.mjs +4 -4
- package/dist/sync/indexeddb.d.ts +2 -2
- package/dist/sync.browser.mjs +1 -1
- package/dist/sync.d.ts +3 -3
- package/dist/sync.mjs +1 -1
- package/dist/synonyms.browser.mjs +1 -1
- package/dist/synonyms.mjs +1 -1
- package/dist/{tasks-65b6t6lk.d.ts → tasks-DrLiolTG.d.ts} +3 -3
- package/dist/{thread-UJ3W5LVI.mjs → thread-6ZBCENAP.mjs} +9 -9
- package/dist/{types-CpCg-Gq-.d.ts → types-pS-mAJmX.d.ts} +1 -1
- package/dist/{worker-copies-YSXZXIGC.mjs → worker-copies-32HWFUH7.mjs} +4 -4
- package/dist/workers/entry.mjs +7 -7
- package/openapi.json +2 -2
- package/package.json +5 -7
package/dist/react-native/chunks/{optional-reads-AFPO2FEB.mjs → optional-reads-4XCJ34QG.mjs}
RENAMED
|
@@ -1752,7 +1752,7 @@ function applyGrouping(hits, group, documents) {
|
|
|
1752
1752
|
for (let at = 0; at < found; at++) {
|
|
1753
1753
|
const values = /* @__PURE__ */ Object.create(null);
|
|
1754
1754
|
const row = documents.fieldValues(hits[heads[at]].id, group.fields);
|
|
1755
|
-
for (let field = 0; field < group.fields.length; field++) values[group.fields[field]] = row?.[field];
|
|
1755
|
+
for (let field = 0; field < group.fields.length; field++) values[group.fields[field]] = row?.[field] ?? null;
|
|
1756
1756
|
const everyHit = [];
|
|
1757
1757
|
for (let member = offsets[at]; member < offsets[at + 1]; member++) everyHit.push(hits[positions[member]]);
|
|
1758
1758
|
const result = { values, hits: everyHit.slice(0, keptPerGroup) };
|
package/dist/react-native/chunks/{optional-writes-XOH25XZI.mjs → optional-writes-XYZVTBFB.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { readHeapStatistics, withOpenIndex, oneAtATime, validateBM25Params, storedBM25Params, loadSchemaCodeFor, loadStorageCode, lookupOfStoredSynonyms, reconstructSchemaFromMetadata, getLanguage, validatePatternValueLimit, requireSurfaceFormsForPartialFields, prepareStoredSynonyms, getVectorFieldPaths, arrayPositionsAreStale, validatePartitionConfig, emitSyncChange, validateEmbeddingConfig, isSyncEpoch, newSyncEpoch } from './chunk-
|
|
2
|
-
export { bindOptionalWritesHost, holdVectorsForRollback, insertDocument, insertDocumentBatch, prepareDocumentWrite, removeDocument, removeDocumentBatch, rollbackInsertedDocument, rollbackRemovedDocument, rollbackUpdatedDocument, updateDocument, updateDocumentBatch } from './chunk-
|
|
1
|
+
import { readHeapStatistics, withOpenIndex, oneAtATime, validateBM25Params, storedBM25Params, loadSchemaCodeFor, loadStorageCode, lookupOfStoredSynonyms, reconstructSchemaFromMetadata, getLanguage, validatePatternValueLimit, requireSurfaceFormsForPartialFields, prepareStoredSynonyms, getVectorFieldPaths, arrayPositionsAreStale, validatePartitionConfig, emitSyncChange, validateEmbeddingConfig, isSyncEpoch, newSyncEpoch } from './chunk-LPX26NNL.mjs';
|
|
2
|
+
export { bindOptionalWritesHost, holdVectorsForRollback, insertDocument, insertDocumentBatch, prepareDocumentWrite, removeDocument, removeDocumentBatch, rollbackInsertedDocument, rollbackRemovedDocument, rollbackUpdatedDocument, updateDocument, updateDocumentBatch } from './chunk-LPX26NNL.mjs';
|
|
3
3
|
import './chunk-HQEVQEDJ.mjs';
|
|
4
4
|
import './chunk-AKRYHAVG.mjs';
|
|
5
5
|
import './chunk-LX62Y4B5.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { installSuggestionHooks, RestoredHistory, clearLeftoversOfName } from './chunk-
|
|
2
|
-
export { startQuerySuggestions } from './chunk-
|
|
3
|
-
import { attachedRuntimeOf, withState, unionOfBans, BUILD_WRITE_BATCH } from './chunk-
|
|
4
|
-
import { loadStorageCode, loadOptionalWrites, emitEngineEvent, removeDocumentBatch2 } from './chunk-
|
|
1
|
+
import { installSuggestionHooks, RestoredHistory, clearLeftoversOfName } from './chunk-TG56N5JC.mjs';
|
|
2
|
+
export { startQuerySuggestions } from './chunk-TG56N5JC.mjs';
|
|
3
|
+
import { attachedRuntimeOf, withState, unionOfBans, BUILD_WRITE_BATCH } from './chunk-SCGBU47K.mjs';
|
|
4
|
+
import { loadStorageCode, loadOptionalWrites, emitEngineEvent, removeDocumentBatch2 } from './chunk-LPX26NNL.mjs';
|
|
5
5
|
import './chunk-HQEVQEDJ.mjs';
|
|
6
6
|
import './chunk-AKRYHAVG.mjs';
|
|
7
7
|
import './chunk-LX62Y4B5.mjs';
|
package/dist/react-native/chunks/{segment-codec-leaf-VR6O5GLC.mjs → segment-codec-leaf-3ZXBJVKH.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { DEFAULT_WRITE_AHEAD_QUEUE_MAX_SIZE, REBALANCE_CHUNK_SIZE, rebuildTextIndexes, rewriteSpillOf, textRebuildTargetOf } from './chunk-
|
|
2
|
-
export { bindSegmentCodecHost, createEncodedDocumentSource, createSharedFrozenSegment, decodeEveryStoredDocument, decodeMapWithoutFields, decodeStoredDocument, encodeDocumentTableData, endOfValue, reconstructSchemaFromMetadata, storedDocumentsOf, topLevelMapKeys } from './chunk-
|
|
1
|
+
export { DEFAULT_WRITE_AHEAD_QUEUE_MAX_SIZE, REBALANCE_CHUNK_SIZE, rebuildTextIndexes, rewriteSpillOf, textRebuildTargetOf } from './chunk-4FUCRLSA.mjs';
|
|
2
|
+
export { bindSegmentCodecHost, createEncodedDocumentSource, createSharedFrozenSegment, decodeEveryStoredDocument, decodeMapWithoutFields, decodeStoredDocument, encodeDocumentTableData, endOfValue, reconstructSchemaFromMetadata, storedDocumentsOf, topLevelMapKeys } from './chunk-LPX26NNL.mjs';
|
|
3
3
|
import './chunk-HQEVQEDJ.mjs';
|
|
4
4
|
import './chunk-AKRYHAVG.mjs';
|
|
5
5
|
import './chunk-LX62Y4B5.mjs';
|
package/dist/react-native/chunks/{segment-merge-leaf-LLMWU4EW.mjs → segment-merge-leaf-3Z7MMPWE.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { deserializePartition, serializePartition } from './chunk-
|
|
2
|
-
export { alreadyPresentOnWorker, buildSegmentPayloads, createRequestId, eligibleIndexNames, fieldIndexRemapOf, freezeEncodedSegmentShared, freezeSegmentShared, holdsADiscardedField, isDeterministicFailure, isValidWorkerResponse, mergeFieldIndexes, mergeSegmentContents, mergeSourceSpellings, mergeSourceSurfaces, mergedPartialSpellings, reportIneligible, segmentArraysOf, selectionKeeps, shareSegmentArrays, toError, workerIneligibility } from './chunk-
|
|
3
|
-
export { bindSegmentMergeHost, mergePostings } from './chunk-
|
|
1
|
+
export { deserializePartition, serializePartition } from './chunk-MMPBO4WR.mjs';
|
|
2
|
+
export { alreadyPresentOnWorker, buildSegmentPayloads, createRequestId, eligibleIndexNames, fieldIndexRemapOf, freezeEncodedSegmentShared, freezeSegmentShared, holdsADiscardedField, isDeterministicFailure, isValidWorkerResponse, mergeFieldIndexes, mergeSegmentContents, mergeSourceSpellings, mergeSourceSurfaces, mergedPartialSpellings, reportIneligible, segmentArraysOf, selectionKeeps, shareSegmentArrays, toError, workerIneligibility } from './chunk-AJAH6X7W.mjs';
|
|
3
|
+
export { bindSegmentMergeHost, mergePostings } from './chunk-LPX26NNL.mjs';
|
|
4
4
|
import './chunk-HQEVQEDJ.mjs';
|
|
5
5
|
import './chunk-AKRYHAVG.mjs';
|
|
6
6
|
import './chunk-LX62Y4B5.mjs';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { sha256 } from './chunk-H3MDVPBO.mjs';
|
|
2
2
|
import { oneSyncChangeAtATime } from './chunk-Q32DDFKX.mjs';
|
|
3
|
-
import { openChecksummedEnvelope, HEADER_SIZE, requireWithinFileLimit, crc32Init, crc32Update, crc32Final, engineVersionParts, writeHeader, crc32, QUERY_HISTORY_ARCHIVE_PREFIX, MAX_HISTORY_FILE_BYTES, packChecksummedEnvelope, hasNrslMagic, readHeader, storedStateOf, attachedRuntimeOf, historyFilesOf, listHistoryFolder, historyFileOf, packEnvelopeWithChecksum, checksumOfChunks, QUERY_HISTORY_FOLDER, storedStateToWire, storedStateFromWire } from './chunk-
|
|
4
|
-
import { DEFAULT_WRITE_AHEAD_QUEUE_MAX_SIZE, rewriteSpillOf, REBALANCE_CHUNK_SIZE, rebuildTextIndexes, textRebuildTargetOf } from './chunk-
|
|
5
|
-
import { deserializePartition } from './chunk-
|
|
6
|
-
import { mergeFieldIndexes, selectionKeeps, fieldIndexRemapOf, mergeSourceSpellings, mergeSourceSurfaces, mergedPartialSpellings, shareSegmentArrays, freezeSegmentShared, holdsADiscardedField, toError, segmentArraysOf, mergeSegmentContents, buildSegmentPayloads, createRequestId } from './chunk-
|
|
7
|
-
import { resolveIndexAnalysis, getLanguage, emitEngineEvent, reconstructSchemaFromMetadata, prepareStoredSynonyms, rulesOfStoredSynonyms, resolvePartialWordAnalysis, loadSchemaCodeFor, decodeStoredDocument, generateId, wrapFrozenTokenTable, createEncodedDocumentSource, assemblePagedFrozenSegment, yieldToEventLoop, buildPartialWordTableFrom, configurationPayloadOf, withOpenIndex, emitSyncChange, newSyncEpoch, isCompositePartition, mergePartitionStats, resolvePartitionInsertOptions, createPartitionIndex, createCompositePartition, isSyncEpoch, prepareDocumentVectors, removedSurfaceSpellings, prepareConfiguredSynonyms, decodeSurfaceTable, mergeDocFrequencies, TermLookup, createFrozenRemovals, mergeKeywordSources, createSharedFrozenSegment, ARRAY_POSITION_GAP, createFrozenSegment, createPublicationGate, prepareRemovalText, prepareDocumentText, writePartitionDocument, updateDocumentVectors, oversizedConfigurationPayloadOf, requireEncodedConfigurationWithinSizeLimit, readHeapStatistics, readProcessMemoryUse, holdSyncEpochChange, emptyPendingRegions, mergePostings2, scanPostingBlocks, SegmentRefusal, VERSION, DEFAULT_BM25_B, DEFAULT_BM25_K1, validatePatternValueLimit, requireSurfaceFormsForPartialFields, validateRequiredFieldsInSchema, validateEmbeddingConfig, storedArrayPositionGap, validQueryFilter, createPatternWorkMeter, compareScores, endOfValue, decodeEveryStoredDocument, createPartitionManager, createPartitionRouter, loadGzip, arrayPositionsAreStale, insertDocumentVectors, decodeMapWithoutFields, survivorDocumentsOf, partitionStateOf, noteDocumentChurn, removeDocumentVectors } from './chunk-
|
|
3
|
+
import { openChecksummedEnvelope, HEADER_SIZE, requireWithinFileLimit, crc32Init, crc32Update, crc32Final, engineVersionParts, writeHeader, crc32, QUERY_HISTORY_ARCHIVE_PREFIX, MAX_HISTORY_FILE_BYTES, packChecksummedEnvelope, hasNrslMagic, readHeader, storedStateOf, attachedRuntimeOf, historyFilesOf, listHistoryFolder, historyFileOf, packEnvelopeWithChecksum, checksumOfChunks, QUERY_HISTORY_FOLDER, storedStateToWire, storedStateFromWire } from './chunk-SCGBU47K.mjs';
|
|
4
|
+
import { DEFAULT_WRITE_AHEAD_QUEUE_MAX_SIZE, rewriteSpillOf, REBALANCE_CHUNK_SIZE, rebuildTextIndexes, textRebuildTargetOf } from './chunk-4FUCRLSA.mjs';
|
|
5
|
+
import { deserializePartition } from './chunk-MMPBO4WR.mjs';
|
|
6
|
+
import { mergeFieldIndexes, selectionKeeps, fieldIndexRemapOf, mergeSourceSpellings, mergeSourceSurfaces, mergedPartialSpellings, shareSegmentArrays, freezeSegmentShared, holdsADiscardedField, toError, segmentArraysOf, mergeSegmentContents, buildSegmentPayloads, createRequestId } from './chunk-AJAH6X7W.mjs';
|
|
7
|
+
import { resolveIndexAnalysis, getLanguage, emitEngineEvent, reconstructSchemaFromMetadata, prepareStoredSynonyms, rulesOfStoredSynonyms, resolvePartialWordAnalysis, loadSchemaCodeFor, decodeStoredDocument, generateId, wrapFrozenTokenTable, createEncodedDocumentSource, assemblePagedFrozenSegment, yieldToEventLoop, buildPartialWordTableFrom, configurationPayloadOf, withOpenIndex, emitSyncChange, newSyncEpoch, isCompositePartition, mergePartitionStats, resolvePartitionInsertOptions, createPartitionIndex, createCompositePartition, isSyncEpoch, prepareDocumentVectors, removedSurfaceSpellings, prepareConfiguredSynonyms, decodeSurfaceTable, mergeDocFrequencies, TermLookup, createFrozenRemovals, mergeKeywordSources, createSharedFrozenSegment, ARRAY_POSITION_GAP, createFrozenSegment, createPublicationGate, prepareRemovalText, prepareDocumentText, writePartitionDocument, updateDocumentVectors, oversizedConfigurationPayloadOf, requireEncodedConfigurationWithinSizeLimit, readHeapStatistics, readProcessMemoryUse, holdSyncEpochChange, emptyPendingRegions, mergePostings2, scanPostingBlocks, SegmentRefusal, VERSION, DEFAULT_BM25_B, DEFAULT_BM25_K1, validatePatternValueLimit, requireSurfaceFormsForPartialFields, validateRequiredFieldsInSchema, validateEmbeddingConfig, storedArrayPositionGap, validQueryFilter, createPatternWorkMeter, compareScores, endOfValue, decodeEveryStoredDocument, createPartitionManager, createPartitionRouter, loadGzip, arrayPositionsAreStale, insertDocumentVectors, decodeMapWithoutFields, survivorDocumentsOf, partitionStateOf, noteDocumentChurn, removeDocumentVectors } from './chunk-LPX26NNL.mjs';
|
|
8
8
|
import './chunk-HQEVQEDJ.mjs';
|
|
9
9
|
import { turnsAreBudgeted, turnIsSpent, yieldTurn, isDead, VECTOR_FILE_PAYLOAD_VERSION, bytesToVectors, countWrite, collectAndReturnPages, requireBoundedUpperLists, osqRecordBytes, createFixedBuffer, magnitude, rescoreDepth, defaultEfSearch, computeCodeBlockLayout, toScore, createVectorFileReader, decodeVectorIndexParts, signalOfSearch, requireSearchActive, osqQuantize, createOsqScratch, stageQueryLevels, scalarQueryProducts, readTrailer, osqEstimate, osqDistance, toDistance, decodeVectorFilePayload, DEFAULT_VECTOR_METRIC, defaultQuantizationFor, VECTOR_FILE_MAX_VECTORS, deadBytesFor, vectorsPerFile, vectorsToBytes, decodeVectorGraphPartPayload, assembleGraphParts, waitOutsideCountedWrite, fnv1a, osqBitsOf, countDead, nodeThreadId, detectRuntime, graphPartsOfEarlierPayload, decodeVectorGraphPayload } from './chunk-AKRYHAVG.mjs';
|
|
10
10
|
export { createHNSWIndex, osqBitsOf } from './chunk-AKRYHAVG.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { DayStore, RestoredHistory, clearLeftoversOfName, dayOf, installSuggestionHooks, openCountsFile, sameBytes, startQuerySuggestions } from './chunk-
|
|
1
|
+
export { DayStore, RestoredHistory, clearLeftoversOfName, dayOf, installSuggestionHooks, openCountsFile, sameBytes, startQuerySuggestions } from './chunk-TG56N5JC.mjs';
|
|
2
2
|
export { oneSyncChangeAtATime } from './chunk-Q32DDFKX.mjs';
|
|
3
|
-
export { BUILD_LIST_PAGE, BUILD_WRITE_BATCH, BYTES_PER_MIB, DAY_MS, DEFAULT_PREVIEW_LIMIT, HEADER_SIZE, HISTORY_SWEEP_INTERVAL_MS, KEY_FINGERPRINT_BYTES, KEY_FINGERPRINT_LABEL, MAX_HISTORY_FILE_BYTES, MAX_MANUAL_SUGGESTION_COUNT, MAX_PREVIEW_LIMIT, MAX_SOURCE_INDEX_NAME_LENGTH, MAX_TIMER_DELAY_MS, MIN_KEY_BYTES, MS_PER_SECOND, QUERY_HISTORY_ARCHIVE_PREFIX, QUERY_HISTORY_FOLDER, SCHEDULE_OFF, SCRAMBLED_ID_BYTES, acceptedPhrase, attachRuntime, attachedRuntimeOf, banListFromInput, bindSuggestionStoreHost, buildRecordKey, checksumOfChunks, crc32, crc32Final, crc32Init, crc32Update, engineVersionParts, hasNrslMagic, historyFileOf, historyFilesOf, invalidSetting, isGroup, isPerson, latestMatchAtOrBefore, listHistoryFolder, nextMatchAfter, normaliseBan, openChecksummedEnvelope, packChecksummedEnvelope, packEnvelopeWithChecksum, parseSchedule, readHeader, removeHistoryFolder, removeRestoreLeftovers, requireFieldsInSchema, requireWithinFileLimit, resolveSetting, storedStateFromWire, storedStateOf, storedStateToWire, unionOfBans, validateSetting, withState, writeHeader } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { BUILD_LIST_PAGE, BUILD_WRITE_BATCH, BYTES_PER_MIB, DAY_MS, DEFAULT_PREVIEW_LIMIT, HEADER_SIZE, HISTORY_SWEEP_INTERVAL_MS, KEY_FINGERPRINT_BYTES, KEY_FINGERPRINT_LABEL, MAX_HISTORY_FILE_BYTES, MAX_MANUAL_SUGGESTION_COUNT, MAX_PREVIEW_LIMIT, MAX_SOURCE_INDEX_NAME_LENGTH, MAX_TIMER_DELAY_MS, MIN_KEY_BYTES, MS_PER_SECOND, QUERY_HISTORY_ARCHIVE_PREFIX, QUERY_HISTORY_FOLDER, SCHEDULE_OFF, SCRAMBLED_ID_BYTES, acceptedPhrase, attachRuntime, attachedRuntimeOf, banListFromInput, bindSuggestionStoreHost, buildRecordKey, checksumOfChunks, crc32, crc32Final, crc32Init, crc32Update, engineVersionParts, hasNrslMagic, historyFileOf, historyFilesOf, invalidSetting, isGroup, isPerson, latestMatchAtOrBefore, listHistoryFolder, nextMatchAfter, normaliseBan, openChecksummedEnvelope, packChecksummedEnvelope, packEnvelopeWithChecksum, parseSchedule, readHeader, removeHistoryFolder, removeRestoreLeftovers, requireFieldsInSchema, requireWithinFileLimit, resolveSetting, storedStateFromWire, storedStateOf, storedStateToWire, unionOfBans, validateSetting, withState, writeHeader } from './chunk-SCGBU47K.mjs';
|
|
4
|
+
import './chunk-LPX26NNL.mjs';
|
|
5
5
|
import './chunk-HQEVQEDJ.mjs';
|
|
6
6
|
import './chunk-AKRYHAVG.mjs';
|
|
7
7
|
import './chunk-LX62Y4B5.mjs';
|
package/dist/react-native/chunks/{suggestions-leaf-J5VT5RHY.mjs → suggestions-leaf-6GI5ZSW6.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { installSuggestionHooks, DayStore, RestoredHistory, dayOf, sameBytes, openCountsFile } from './chunk-
|
|
1
|
+
import { installSuggestionHooks, DayStore, RestoredHistory, dayOf, sameBytes, openCountsFile } from './chunk-TG56N5JC.mjs';
|
|
2
2
|
import { oneSyncChangeAtATime } from './chunk-Q32DDFKX.mjs';
|
|
3
|
-
import { attachedRuntimeOf, attachRuntime, isGroup, invalidSetting, MIN_KEY_BYTES, historyFilesOf, buildRecordKey, resolveSetting, acceptedPhrase, normaliseBan, banListFromInput, validateSetting, withState, SCRAMBLED_ID_BYTES, KEY_FINGERPRINT_LABEL, KEY_FINGERPRINT_BYTES, isPerson, removeHistoryFolder, packEnvelopeWithChecksum, crc32, openChecksummedEnvelope, MAX_MANUAL_SUGGESTION_COUNT, MAX_SOURCE_INDEX_NAME_LENGTH, DEFAULT_PREVIEW_LIMIT, MAX_PREVIEW_LIMIT, requireFieldsInSchema, removeRestoreLeftovers, HISTORY_SWEEP_INTERVAL_MS, SCHEDULE_OFF, parseSchedule, nextMatchAfter, latestMatchAtOrBefore, DAY_MS, listHistoryFolder, historyFileOf, BUILD_WRITE_BATCH, MAX_TIMER_DELAY_MS, MS_PER_SECOND, BUILD_LIST_PAGE, unionOfBans } from './chunk-
|
|
4
|
-
import { GROUP_FORMAT, loadDigest, emitEngineEvent, emitWriteEventAfter, createEngineIndex, withOpenIndex, SUGGESTIONS_INDEX_INFIX } from './chunk-
|
|
3
|
+
import { attachedRuntimeOf, attachRuntime, isGroup, invalidSetting, MIN_KEY_BYTES, historyFilesOf, buildRecordKey, resolveSetting, acceptedPhrase, normaliseBan, banListFromInput, validateSetting, withState, SCRAMBLED_ID_BYTES, KEY_FINGERPRINT_LABEL, KEY_FINGERPRINT_BYTES, isPerson, removeHistoryFolder, packEnvelopeWithChecksum, crc32, openChecksummedEnvelope, MAX_MANUAL_SUGGESTION_COUNT, MAX_SOURCE_INDEX_NAME_LENGTH, DEFAULT_PREVIEW_LIMIT, MAX_PREVIEW_LIMIT, requireFieldsInSchema, removeRestoreLeftovers, HISTORY_SWEEP_INTERVAL_MS, SCHEDULE_OFF, parseSchedule, nextMatchAfter, latestMatchAtOrBefore, DAY_MS, listHistoryFolder, historyFileOf, BUILD_WRITE_BATCH, MAX_TIMER_DELAY_MS, MS_PER_SECOND, BUILD_LIST_PAGE, unionOfBans } from './chunk-SCGBU47K.mjs';
|
|
4
|
+
import { GROUP_FORMAT, loadDigest, emitEngineEvent, emitWriteEventAfter, createEngineIndex, withOpenIndex, SUGGESTIONS_INDEX_INFIX } from './chunk-LPX26NNL.mjs';
|
|
5
5
|
import './chunk-HQEVQEDJ.mjs';
|
|
6
6
|
import './chunk-AKRYHAVG.mjs';
|
|
7
7
|
import './chunk-LX62Y4B5.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buildSegmentPayloads, freezeSegmentShared, isValidWorkerResponse, createRequestId, mergeSegmentContents, freezeEncodedSegmentShared, toError, isDeterministicFailure, workerIneligibility, reportIneligible, selectionKeeps, alreadyPresentOnWorker, eligibleIndexNames } from './chunk-
|
|
2
|
-
import { growPartitionsTo, isCompositePartition, createSharedFrozenSegment, loadStorageCode, resolvePartitionInsertOptions, DEFAULT_COPY_THRESHOLD, workersEnabledByDefault, POOL_RESTART_DELAY_MS, SegmentRefusal, NO_REMOVED_SPELLINGS, DEFAULT_COPY_IDLE_TIMEOUT_MS, LONG_QUERY_THREADS, prepareDocumentVectors, MAX_PENDING_REPLICATION_DOCUMENTS, MAIN_COPY_LONE_QUERY_DOCUMENTS, returnsEveryMatch, oversampledFacetConfig, afterCurrentTurn, LOAD_BUFFER_YIELD_INTERVAL, yieldToEventLoop, IDLE_MERGE_DELAY_MS, REPLICATION_WINDOW, RETIRED_THREADS_EXIT_WAIT_MS, createWorkerFactory, availablePatternSearch, patternHost, kWayMerge, mergeFacets, generateId, encodeSegmentState, POOL_RESTART_DELAY_MAX_MS, COMPACTION_SEGMENT_TRIGGER, LIVE_TAIL_FREEZE_FLOOR, requireLoadedVectorCode, LIVE_TAIL_FLUSH_DOCUMENTS, SEGMENTS_PER_MERGE } from './chunk-
|
|
1
|
+
import { buildSegmentPayloads, freezeSegmentShared, isValidWorkerResponse, createRequestId, mergeSegmentContents, freezeEncodedSegmentShared, toError, isDeterministicFailure, workerIneligibility, reportIneligible, selectionKeeps, alreadyPresentOnWorker, eligibleIndexNames } from './chunk-AJAH6X7W.mjs';
|
|
2
|
+
import { growPartitionsTo, isCompositePartition, createSharedFrozenSegment, loadStorageCode, resolvePartitionInsertOptions, DEFAULT_COPY_THRESHOLD, workersEnabledByDefault, POOL_RESTART_DELAY_MS, SegmentRefusal, NO_REMOVED_SPELLINGS, DEFAULT_COPY_IDLE_TIMEOUT_MS, LONG_QUERY_THREADS, prepareDocumentVectors, MAX_PENDING_REPLICATION_DOCUMENTS, MAIN_COPY_LONE_QUERY_DOCUMENTS, returnsEveryMatch, oversampledFacetConfig, afterCurrentTurn, LOAD_BUFFER_YIELD_INTERVAL, yieldToEventLoop, IDLE_MERGE_DELAY_MS, REPLICATION_WINDOW, RETIRED_THREADS_EXIT_WAIT_MS, createWorkerFactory, availablePatternSearch, patternHost, kWayMerge, mergeFacets, generateId, encodeSegmentState, POOL_RESTART_DELAY_MAX_MS, COMPACTION_SEGMENT_TRIGGER, LIVE_TAIL_FREEZE_FLOOR, requireLoadedVectorCode, LIVE_TAIL_FLUSH_DOCUMENTS, SEGMENTS_PER_MERGE } from './chunk-LPX26NNL.mjs';
|
|
3
3
|
import './chunk-HQEVQEDJ.mjs';
|
|
4
4
|
import { resolveWorkerCount, DEFAULT_BACKPRESSURE_LIMIT, DEFAULT_REQUEST_TIMEOUT_MS, splitWorkerBudget, SHUTDOWN_TIMEOUT_MS, resolveRequestThreadCount, fnv1a, noteThreadSlotGone, threadSlotOfWorker } from './chunk-AKRYHAVG.mjs';
|
|
5
5
|
import { MAX_SWEEP_INTERVAL_MS, MIN_SWEEP_INTERVAL_MS } from './chunk-LX62Y4B5.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { spellingCountsOf, encodePartialSpellings, countSpelling, SurfaceTable, SURFACE_TABLE_START_CAPACITY, StringPlan, SegmentRefusal, reserveStrings, grownCapacity, PARTIAL_WORD_RUN_CODE_POINTS, encodeStringBlob, sameFields, countDocumentSpellings, tokenize, GROWING_PARTIAL_ENTRY_BYTES, GROWING_PARTIAL_RUN_BYTES, GROWING_PARTIAL_RUN_MEMBER_BYTES, GROWING_PARTIAL_PENDING_ENTRY_BYTES, RUN_TABLE_START_CAPACITY, TERM_REGION_GROWTH_FACTOR, RUN_MEMBER_START_CAPACITY, SLICE_CAPACITIES, TERM_SLOT_LOAD_DENOMINATOR, TERM_SLOT_LOAD_NUMERATOR, PoolPlan, requireRoom, releaseRange, requireSegment, termText, partitionDocumentFrequency, visitDocumentSpellings, visitDocumentSurfaceSpellings, resolveStopWords, transformToken, expansionSource, liveFrequency, codePointCountOf, GROWING_PARTIAL_PENDING_ENTRIES_PER_ENTRY, typedRegion, regionsOverlap, mergeText } from './chunks/chunk-
|
|
1
|
+
import { spellingCountsOf, encodePartialSpellings, countSpelling, SurfaceTable, SURFACE_TABLE_START_CAPACITY, StringPlan, SegmentRefusal, reserveStrings, grownCapacity, PARTIAL_WORD_RUN_CODE_POINTS, encodeStringBlob, sameFields, countDocumentSpellings, tokenize, GROWING_PARTIAL_ENTRY_BYTES, GROWING_PARTIAL_RUN_BYTES, GROWING_PARTIAL_RUN_MEMBER_BYTES, GROWING_PARTIAL_PENDING_ENTRY_BYTES, RUN_TABLE_START_CAPACITY, TERM_REGION_GROWTH_FACTOR, RUN_MEMBER_START_CAPACITY, SLICE_CAPACITIES, TERM_SLOT_LOAD_DENOMINATOR, TERM_SLOT_LOAD_NUMERATOR, PoolPlan, requireRoom, releaseRange, requireSegment, termText, partitionDocumentFrequency, visitDocumentSpellings, visitDocumentSurfaceSpellings, resolveStopWords, transformToken, expansionSource, liveFrequency, codePointCountOf, GROWING_PARTIAL_PENDING_ENTRIES_PER_ENTRY, typedRegion, regionsOverlap, mergeText } from './chunks/chunk-LPX26NNL.mjs';
|
|
2
2
|
import './chunks/chunk-HQEVQEDJ.mjs';
|
|
3
3
|
import { FNV_OFFSET_BASIS, FNV_PRIME } from './chunks/chunk-AKRYHAVG.mjs';
|
|
4
4
|
import { PARTIAL_WORD_MIN_CODE_POINTS, PARTIAL_WORDS_ADDED_PER_QUERY, DEFAULT_FUZZY_PREFIX_LENGTH } from './chunks/chunk-LX62Y4B5.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { engineCoreOf, loadSuggestionsCode, GROUP_PATTERN_SOURCE, GROUP_FORMAT, SUGGESTIONS_INDEX_INFIX } from './chunks/chunk-
|
|
1
|
+
import { engineCoreOf, loadSuggestionsCode, GROUP_PATTERN_SOURCE, GROUP_FORMAT, SUGGESTIONS_INDEX_INFIX } from './chunks/chunk-LPX26NNL.mjs';
|
|
2
2
|
import './chunks/chunk-HQEVQEDJ.mjs';
|
|
3
3
|
import './chunks/chunk-AKRYHAVG.mjs';
|
|
4
4
|
import './chunks/chunk-LX62Y4B5.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isSyncEpoch, hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './chunks/chunk-
|
|
1
|
+
import { isSyncEpoch, hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './chunks/chunk-LPX26NNL.mjs';
|
|
2
2
|
import './chunks/chunk-HQEVQEDJ.mjs';
|
|
3
3
|
import './chunks/chunk-AKRYHAVG.mjs';
|
|
4
4
|
import './chunks/chunk-LX62Y4B5.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { withOpenIndex, oneAtATime, resolveIndexAnalysis, loadStorageCode, emitSyncChange, encodeStringBlob, tokenize, typedRegion, regionsOverlap, encodeLookupKey } from './chunks/chunk-
|
|
1
|
+
import { withOpenIndex, oneAtATime, resolveIndexAnalysis, loadStorageCode, emitSyncChange, encodeStringBlob, tokenize, typedRegion, regionsOverlap, encodeLookupKey } from './chunks/chunk-LPX26NNL.mjs';
|
|
2
2
|
import './chunks/chunk-HQEVQEDJ.mjs';
|
|
3
3
|
import './chunks/chunk-AKRYHAVG.mjs';
|
|
4
4
|
import './chunks/chunk-LX62Y4B5.mjs';
|
package/dist/react.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { s as Narsil, N as NarsilError, L as ListParams, y as ListResult, I as IndexInfo, x as IndexStats, Q as QueryParams, z as PreflightResult, t as QueryResult, w as SuggestParams, A as SuggestResult } from './engine-
|
|
2
|
-
export { j as ClientErrorCode, k as ClientErrorCodes, E as ErrorCode, l as ErrorCodes, m as NarsilErrorCode, S as ServerErrorCode, n as ServerErrorCodes, r as isNarsilError } from './engine-
|
|
3
|
-
import { f as TaskRecord, e as TaskProgress, c as ImportResult, d as TaskListQuery, T as TaskListPage } from './tasks-
|
|
4
|
-
export { E as ErrorDetail, I as ImportError, g as TaskStatus, i as TaskType } from './tasks-
|
|
1
|
+
import { s as Narsil, N as NarsilError, L as ListParams, y as ListResult, I as IndexInfo, x as IndexStats, Q as QueryParams, z as PreflightResult, t as QueryResult, w as SuggestParams, A as SuggestResult } from './engine-DoFnkRoF.js';
|
|
2
|
+
export { j as ClientErrorCode, k as ClientErrorCodes, E as ErrorCode, l as ErrorCodes, m as NarsilErrorCode, S as ServerErrorCode, n as ServerErrorCodes, r as isNarsilError } from './engine-DoFnkRoF.js';
|
|
3
|
+
import { f as TaskRecord, e as TaskProgress, c as ImportResult, d as TaskListQuery, T as TaskListPage } from './tasks-DrLiolTG.js';
|
|
4
|
+
export { E as ErrorDetail, I as ImportError, g as TaskStatus, i as TaskType } from './tasks-DrLiolTG.js';
|
|
5
5
|
import { ReactNode, ReactElement } from 'react';
|
|
6
|
-
import { N as NarsilClient, I as ImportSource } from './client-
|
|
6
|
+
import { N as NarsilClient, I as ImportSource } from './client-BhNxHtcZ.js';
|
|
7
7
|
import { A as AnyDocument } from './schema-CzG9OUw5.js';
|
|
8
8
|
import './adapters-pljAqmrC.js';
|
|
9
9
|
import './query-suggestions-CBYkrQ5T.js';
|
|
10
10
|
import './synonyms-CpOAHPa-.js';
|
|
11
|
-
import './config-
|
|
12
|
-
import './config-
|
|
11
|
+
import './config-BJSL7piq.js';
|
|
12
|
+
import './config-P9zW3Zz7.js';
|
|
13
13
|
import './index-B_vmxpgW.js';
|
|
14
14
|
import './types-DvncmvuQ.js';
|
|
15
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { installSuggestionHooks, RestoredHistory, clearLeftoversOfName } from './chunk-
|
|
2
|
-
export { startQuerySuggestions } from './chunk-
|
|
3
|
-
import { attachedRuntimeOf, withState, unionOfBans, BUILD_WRITE_BATCH } from './chunk-
|
|
4
|
-
import { loadStorageCode, loadOptionalWrites, emitEngineEvent, removeDocumentBatch2 } from './chunk-
|
|
1
|
+
import { installSuggestionHooks, RestoredHistory, clearLeftoversOfName } from './chunk-DKIMHIBC.mjs';
|
|
2
|
+
export { startQuerySuggestions } from './chunk-DKIMHIBC.mjs';
|
|
3
|
+
import { attachedRuntimeOf, withState, unionOfBans, BUILD_WRITE_BATCH } from './chunk-CERPUGRK.mjs';
|
|
4
|
+
import { loadStorageCode, loadOptionalWrites, emitEngineEvent, removeDocumentBatch2 } from './chunk-PP3W5PQQ.mjs';
|
|
5
5
|
import './chunk-2CKDCC65.mjs';
|
|
6
6
|
import './chunk-2AFZE7Y3.mjs';
|
|
7
7
|
import './chunk-GXCDWLQI.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { DEFAULT_WRITE_AHEAD_QUEUE_MAX_SIZE, REBALANCE_CHUNK_SIZE, rebuildTextIndexes, rewriteSpillOf, textRebuildTargetOf } from './chunk-
|
|
2
|
-
export { bindSegmentCodecHost, createEncodedDocumentSource, createSharedFrozenSegment, decodeEveryStoredDocument, decodeMapWithoutFields, decodeStoredDocument, encodeDocumentTableData, endOfValue, reconstructSchemaFromMetadata, storedDocumentsOf, topLevelMapKeys } from './chunk-
|
|
1
|
+
export { DEFAULT_WRITE_AHEAD_QUEUE_MAX_SIZE, REBALANCE_CHUNK_SIZE, rebuildTextIndexes, rewriteSpillOf, textRebuildTargetOf } from './chunk-F26DOOUH.mjs';
|
|
2
|
+
export { bindSegmentCodecHost, createEncodedDocumentSource, createSharedFrozenSegment, decodeEveryStoredDocument, decodeMapWithoutFields, decodeStoredDocument, encodeDocumentTableData, endOfValue, reconstructSchemaFromMetadata, storedDocumentsOf, topLevelMapKeys } from './chunk-PP3W5PQQ.mjs';
|
|
3
3
|
import './chunk-2CKDCC65.mjs';
|
|
4
4
|
import './chunk-2AFZE7Y3.mjs';
|
|
5
5
|
import './chunk-GXCDWLQI.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { deserializePartition, serializePartition } from './chunk-
|
|
2
|
-
export { alreadyPresentOnWorker, bindSegmentMergeHost, buildSegmentPayloads, createRequestId, eligibleIndexNames, fieldIndexRemapOf, freezeEncodedSegmentShared, freezeSegmentShared, holdsADiscardedField, isDeterministicFailure, isValidWorkerResponse, mergeFieldIndexes, mergePostings, mergeSegmentContents, mergeSourceSpellings, mergeSourceSurfaces, mergedPartialSpellings, reportIneligible, segmentArraysOf, selectionKeeps, shareSegmentArrays, toError, workerIneligibility } from './chunk-
|
|
1
|
+
export { deserializePartition, serializePartition } from './chunk-UHLFCGZ3.mjs';
|
|
2
|
+
export { alreadyPresentOnWorker, bindSegmentMergeHost, buildSegmentPayloads, createRequestId, eligibleIndexNames, fieldIndexRemapOf, freezeEncodedSegmentShared, freezeSegmentShared, holdsADiscardedField, isDeterministicFailure, isValidWorkerResponse, mergeFieldIndexes, mergePostings, mergeSegmentContents, mergeSourceSpellings, mergeSourceSurfaces, mergedPartialSpellings, reportIneligible, segmentArraysOf, selectionKeeps, shareSegmentArrays, toError, workerIneligibility } from './chunk-PP3W5PQQ.mjs';
|
|
3
3
|
import './chunk-2CKDCC65.mjs';
|
|
4
4
|
import './chunk-2AFZE7Y3.mjs';
|
|
5
5
|
import './chunk-GXCDWLQI.mjs';
|
package/dist/server.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { G as GroupResult, H as Hit, Q as QueryParams, v as GroupConfig, t as QueryResult, p as SyncSetting, g as ChangesSetting, L as ListParams, w as SuggestParams, x as IndexStats, y as ListResult, z as PreflightResult, A as SuggestResult, q as SyncStatus, h as ChangesStatus, s as Narsil } from './engine-
|
|
2
|
-
export { j as ClientErrorCode, k as ClientErrorCodes, E as ErrorCode, l as ErrorCodes, N as NarsilError, m as NarsilErrorCode, S as ServerErrorCode, n as ServerErrorCodes, r as isNarsilError } from './engine-
|
|
3
|
-
import { E as ErrorEnvelope, c as ServerOptions, N as NarsilServer } from './capabilities-
|
|
4
|
-
export { A as ASYNC_IMPORT_CAPABILITY, B as BM25_TUNING_CAPABILITY, C as CHANGE_ANALYSIS_CAPABILITY, d as CorsOptions, D as DOCUMENT_EXPORT_CAPABILITY, I as INDEX_LIFECYCLE_CAPABILITY, O as OnRequestHook, Q as QueryIdentity, R as REBUILD_ANALYSIS_CAPABILITY, e as RequestContext, f as RequestDenial, g as RequestGrant, S as SERVER_CAPABILITIES, a as SYNONYMS_CAPABILITY, h as ServerChangesOptions, i as ServerLimits, j as ServerQuerySuggestionsOptions, k as ServerSyncOptions, T as TASK_CANCEL_CAPABILITY, b as TASK_FILTER_CAPABILITY } from './capabilities-
|
|
5
|
-
import { k as CreateIndexRequest, H as HttpIndexConfig, l as BatchBody, a as ChangeAnalysisBody, m as CreateBackupBody, D as DocumentBody, n as InsertBody, o as MultiGetBody, p as RebalanceBody, q as ReplicationFactorBody, R as RestoreBackupBody, d as TaskListQuery, V as VectorFieldBody, S as SynonymSetBody, B as BackupListResponse, r as BatchResponse, C as CapabilitiesResponse, s as ClusterAllocationResponse, t as ClusterTopologyResponse, u as DocumentCountResponse, v as DocumentExistsResponse, w as DocumentIdResponse, x as DocumentPutResponse, y as DocumentRemovedResponse, z as DocumentResponse, c as ImportResult, A as IndexClearedResponse, F as IndexCreatedResponse, G as IndexDroppedResponse, J as IndexListResponse, K as IndexPartitionsResponse, L as IndexStateResponse, N as LivenessResponse, M as MemoryStatsResponse, O as MultiGetResponse, P as OkResponse, Q as ReadinessResponse, U as ReplicationFactorResponse, T as TaskListPage, f as TaskRecord, W as VectorMaintenanceResponse, X as VersionResponse, e as TaskProgress, h as TaskStepProgress, j as TaskStore } from './tasks-
|
|
6
|
-
export { Y as BatchFailure, Z as ClusterMemberReport, _ as ClusterNodeReport, b as CreateIndexEmbedding, E as ErrorDetail, I as ImportError, $ as PartitionAllocationReport, g as TaskStatus, i as TaskType } from './tasks-
|
|
1
|
+
import { G as GroupResult, H as Hit, Q as QueryParams, v as GroupConfig, t as QueryResult, p as SyncSetting, g as ChangesSetting, L as ListParams, w as SuggestParams, x as IndexStats, y as ListResult, z as PreflightResult, A as SuggestResult, q as SyncStatus, h as ChangesStatus, s as Narsil } from './engine-DoFnkRoF.js';
|
|
2
|
+
export { j as ClientErrorCode, k as ClientErrorCodes, E as ErrorCode, l as ErrorCodes, N as NarsilError, m as NarsilErrorCode, S as ServerErrorCode, n as ServerErrorCodes, r as isNarsilError } from './engine-DoFnkRoF.js';
|
|
3
|
+
import { E as ErrorEnvelope, c as ServerOptions, N as NarsilServer } from './capabilities-BOFFMx84.js';
|
|
4
|
+
export { A as ASYNC_IMPORT_CAPABILITY, B as BM25_TUNING_CAPABILITY, C as CHANGE_ANALYSIS_CAPABILITY, d as CorsOptions, D as DOCUMENT_EXPORT_CAPABILITY, I as INDEX_LIFECYCLE_CAPABILITY, O as OnRequestHook, Q as QueryIdentity, R as REBUILD_ANALYSIS_CAPABILITY, e as RequestContext, f as RequestDenial, g as RequestGrant, S as SERVER_CAPABILITIES, a as SYNONYMS_CAPABILITY, h as ServerChangesOptions, i as ServerLimits, j as ServerQuerySuggestionsOptions, k as ServerSyncOptions, T as TASK_CANCEL_CAPABILITY, b as TASK_FILTER_CAPABILITY } from './capabilities-BOFFMx84.js';
|
|
5
|
+
import { k as CreateIndexRequest, H as HttpIndexConfig, l as BatchBody, a as ChangeAnalysisBody, m as CreateBackupBody, D as DocumentBody, n as InsertBody, o as MultiGetBody, p as RebalanceBody, q as ReplicationFactorBody, R as RestoreBackupBody, d as TaskListQuery, V as VectorFieldBody, S as SynonymSetBody, B as BackupListResponse, r as BatchResponse, C as CapabilitiesResponse, s as ClusterAllocationResponse, t as ClusterTopologyResponse, u as DocumentCountResponse, v as DocumentExistsResponse, w as DocumentIdResponse, x as DocumentPutResponse, y as DocumentRemovedResponse, z as DocumentResponse, c as ImportResult, A as IndexClearedResponse, F as IndexCreatedResponse, G as IndexDroppedResponse, J as IndexListResponse, K as IndexPartitionsResponse, L as IndexStateResponse, N as LivenessResponse, M as MemoryStatsResponse, O as MultiGetResponse, P as OkResponse, Q as ReadinessResponse, U as ReplicationFactorResponse, T as TaskListPage, f as TaskRecord, W as VectorMaintenanceResponse, X as VersionResponse, e as TaskProgress, h as TaskStepProgress, j as TaskStore } from './tasks-DrLiolTG.js';
|
|
6
|
+
export { Y as BatchFailure, Z as ClusterMemberReport, _ as ClusterNodeReport, b as CreateIndexEmbedding, E as ErrorDetail, I as ImportError, $ as PartitionAllocationReport, g as TaskStatus, i as TaskType } from './tasks-DrLiolTG.js';
|
|
7
7
|
import { d as QuerySuggestionsSetting, M as ManualQuerySuggestion, e as QuerySuggestionsStatus, f as RecordQueryResult, c as QuerySuggestionsPreview, a as QuerySuggestionsBuild } from './query-suggestions-CBYkrQ5T.js';
|
|
8
|
-
import { c as ClusterHealth } from './config-
|
|
8
|
+
import { c as ClusterHealth } from './config-BJSL7piq.js';
|
|
9
9
|
import { S as SchemaDefinition, P as PartitionConfig, V as VectorIndexConfig, B as BM25Params, F as FieldType } from './schema-CzG9OUw5.js';
|
|
10
10
|
import './adapters-pljAqmrC.js';
|
|
11
11
|
import './synonyms-CpOAHPa-.js';
|
|
12
12
|
import './index-B_vmxpgW.js';
|
|
13
|
-
import './config-
|
|
13
|
+
import './config-P9zW3Zz7.js';
|
|
14
14
|
import './types-DvncmvuQ.js';
|
|
15
15
|
|
|
16
16
|
/**
|
package/dist/server.mjs
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { answerRequest } from './chunk-
|
|
1
|
+
import { answerRequest } from './chunk-AXDB6KUQ.mjs';
|
|
2
2
|
import { resolveVectorText } from './chunk-NJJN4FMM.mjs';
|
|
3
|
-
import { DEFAULT_MAX_RETAINED_TASKS, loadUWebSockets, registerFeedRoute, SYNC_FEED_ROUTE, CHANGES_FEED_ROUTE, resolveCors, authorizerFor, createSharedGateBuffer, gateSlotOfWorker, createBodyBudgetBuffer, createRouteRunner, corsHeaderReader, createSharedBodyBudget, MAIN_THREAD_GATE_SLOT, createSharedRequestGate, registerServerRoutes, DEFAULT_MAX_CONCURRENT_TASKS, DEFAULT_MAX_TASK_PAGE_SIZE, DEFAULT_MAX_IMPORT_ERRORS, DEFAULT_MAX_FETCH_DOCUMENTS, DEFAULT_MAX_RESULT_WINDOW, DEFAULT_MAX_CONCURRENT_REQUESTS, DEFAULT_IMPORT_BATCH_SIZE, DEFAULT_MAX_LINE_BYTES, DEFAULT_MAX_RESTORE_BYTES, DEFAULT_MAX_IMPORT_BYTES, DEFAULT_MAX_BODY_BYTES, DEFAULT_MAX_RERANK_WINDOW, DEFAULT_MAX_BODY_BYTES_IN_FLIGHT_FRACTION, RUNNING_TASK_TTL_MS, DEFAULT_TASK_PAGE_SIZE, TERMINAL_TASK_TTL_MS, TASK_PROGRESS_WRITE_INTERVAL_MS, serializeNarsilError, createVersionHandler, createSyncSnapshotHandler, acceptorOf, MAX_BODY_BYTES_IN_FLIGHT_FRACTION, createDocumentReadHandlers, sendError, respondError, respondJson, sendText, PROMETHEUS_TEXT_CONTENT_TYPE, MAX_INDEX_TOUCH_INTERVAL_MS, INDEX_TOUCH_INTERVALS_PER_IDLE_TIMEOUT, closeEveryThreadAtExit, REQUEST_THREAD_CLOSE_AT_EXIT_MS, createCloseAtExitWords, createDepartureWord, departureConfirmed, refusedRegex, toHttpError, parseJson, validateCreateIndex, rejectInvalid, isRemoveOnlyBatch, validateBatch, serializeBatchResult, parseWriteJson, validateDocumentBody, validateSuggest, validateQuery, refuseRegex, requestSignal, withServerRerankWindow, respondAnswer, encodeQueryResult, parseTaskListQuery, parseJsonOptional, validateChangeAnalysis, validateRebalance, badRequest, sendStream, SNAPSHOT_ARCHIVE_CONTENT_TYPE, DOCUMENT_EXPORT_CONTENT_TYPE, respondPreparingError, parseRefusalOf, IMPORT_FLUSHES_IN_FLIGHT, isThreadFeedNote, clearGateSlot, clearBodyBudgetSlot, confirmDeparture, SERVER_CAPABILITIES, MIN_UNBOUNDED_SERVER_LIMIT, MIN_COUNTED_SERVER_LIMIT } from './chunk-
|
|
4
|
-
export { ASYNC_IMPORT_CAPABILITY, BM25_TUNING_CAPABILITY, CHANGE_ANALYSIS_CAPABILITY, DOCUMENT_EXPORT_CAPABILITY, INDEX_LIFECYCLE_CAPABILITY, REBUILD_ANALYSIS_CAPABILITY, SERVER_CAPABILITIES, SYNONYMS_CAPABILITY, TASK_CANCEL_CAPABILITY, TASK_FILTER_CAPABILITY, httpStatusForNarsilError } from './chunk-
|
|
5
|
-
import { startSyncRetentionSweep, publishedSyncSnapshot, publishedArchiveLayout } from './chunk-
|
|
3
|
+
import { DEFAULT_MAX_RETAINED_TASKS, loadUWebSockets, registerFeedRoute, SYNC_FEED_ROUTE, CHANGES_FEED_ROUTE, resolveCors, authorizerFor, createSharedGateBuffer, gateSlotOfWorker, createBodyBudgetBuffer, createRouteRunner, corsHeaderReader, createSharedBodyBudget, MAIN_THREAD_GATE_SLOT, createSharedRequestGate, registerServerRoutes, DEFAULT_MAX_CONCURRENT_TASKS, DEFAULT_MAX_TASK_PAGE_SIZE, DEFAULT_MAX_IMPORT_ERRORS, DEFAULT_MAX_FETCH_DOCUMENTS, DEFAULT_MAX_RESULT_WINDOW, DEFAULT_MAX_CONCURRENT_REQUESTS, DEFAULT_IMPORT_BATCH_SIZE, DEFAULT_MAX_LINE_BYTES, DEFAULT_MAX_RESTORE_BYTES, DEFAULT_MAX_IMPORT_BYTES, DEFAULT_MAX_BODY_BYTES, DEFAULT_MAX_RERANK_WINDOW, DEFAULT_MAX_BODY_BYTES_IN_FLIGHT_FRACTION, RUNNING_TASK_TTL_MS, DEFAULT_TASK_PAGE_SIZE, TERMINAL_TASK_TTL_MS, TASK_PROGRESS_WRITE_INTERVAL_MS, serializeNarsilError, createVersionHandler, createSyncSnapshotHandler, acceptorOf, MAX_BODY_BYTES_IN_FLIGHT_FRACTION, createDocumentReadHandlers, sendError, respondError, respondJson, sendText, PROMETHEUS_TEXT_CONTENT_TYPE, MAX_INDEX_TOUCH_INTERVAL_MS, INDEX_TOUCH_INTERVALS_PER_IDLE_TIMEOUT, closeEveryThreadAtExit, REQUEST_THREAD_CLOSE_AT_EXIT_MS, createCloseAtExitWords, createDepartureWord, departureConfirmed, refusedRegex, toHttpError, parseJson, validateCreateIndex, rejectInvalid, isRemoveOnlyBatch, validateBatch, serializeBatchResult, parseWriteJson, validateDocumentBody, validateSuggest, validateQuery, refuseRegex, requestSignal, withServerRerankWindow, respondAnswer, encodeQueryResult, parseTaskListQuery, parseJsonOptional, validateChangeAnalysis, validateRebalance, badRequest, sendStream, SNAPSHOT_ARCHIVE_CONTENT_TYPE, DOCUMENT_EXPORT_CONTENT_TYPE, respondPreparingError, parseRefusalOf, IMPORT_FLUSHES_IN_FLIGHT, isThreadFeedNote, clearGateSlot, clearBodyBudgetSlot, confirmDeparture, SERVER_CAPABILITIES, MIN_UNBOUNDED_SERVER_LIMIT, MIN_COUNTED_SERVER_LIMIT } from './chunk-NCIGNQJE.mjs';
|
|
4
|
+
export { ASYNC_IMPORT_CAPABILITY, BM25_TUNING_CAPABILITY, CHANGE_ANALYSIS_CAPABILITY, DOCUMENT_EXPORT_CAPABILITY, INDEX_LIFECYCLE_CAPABILITY, REBUILD_ANALYSIS_CAPABILITY, SERVER_CAPABILITIES, SYNONYMS_CAPABILITY, TASK_CANCEL_CAPABILITY, TASK_FILTER_CAPABILITY, httpStatusForNarsilError } from './chunk-NCIGNQJE.mjs';
|
|
5
|
+
import { startSyncRetentionSweep, publishedSyncSnapshot, publishedArchiveLayout } from './chunk-OGYSPNL2.mjs';
|
|
6
6
|
import { SYNC_CLOSE_RESYNC, SYNC_CLOSE_CREDENTIAL_EXPIRED, SYNC_CLOSE_POLICY, MAX_DEVICE_MESSAGE_BYTES, SYNC_CLOSE_TOO_LARGE, deviceMessageOf, SYNC_CLOSE_SERVER_ERROR, positionList, positionsByPartition, CHANGES_CLOSE_RESYNC, CHANGES_CLOSE_POLICY, MAX_SUBSCRIBER_MESSAGE_BYTES, CHANGES_CLOSE_TOO_LARGE, closeReasonOf, CHANGES_CLOSE_CREDENTIAL_EXPIRED, CHANGES_CLOSE_SETTING, CHANGES_CLOSE_SERVER_ERROR, CHANGES_CLOSE_GOING_AWAY, SYNC_CLOSE_GOING_AWAY } from './chunk-TACP6VK6.mjs';
|
|
7
|
-
import { syncServingSourceOf, changesServingSourceOf, writeBlockLookupOf, indexReadsOf, validateBackupName, readRestorePlacement } from './chunk-
|
|
8
|
-
import { isRecord, validateIndexName } from './chunk-
|
|
7
|
+
import { syncServingSourceOf, changesServingSourceOf, writeBlockLookupOf, indexReadsOf, validateBackupName, readRestorePlacement } from './chunk-MI6UZGUR.mjs';
|
|
8
|
+
import { isRecord, validateIndexName } from './chunk-2K24MEYV.mjs';
|
|
9
9
|
import { executeUntilAnswered } from './chunk-4H4RG2FR.mjs';
|
|
10
|
-
import './chunk-
|
|
11
|
-
import { engineChangeSource, createSemaphore, createByteBudget, changesNotEnabled, subscriberMessageOf, ChangeCursor, changePositionList, seqNosByPartition } from './chunk-
|
|
10
|
+
import './chunk-WM5KJSQV.mjs';
|
|
11
|
+
import { engineChangeSource, createSemaphore, createByteBudget, changesNotEnabled, subscriberMessageOf, ChangeCursor, changePositionList, seqNosByPartition } from './chunk-3IE3A74H.mjs';
|
|
12
12
|
import './chunk-M2Z5WVWW.mjs';
|
|
13
|
-
import { DEFAULT_MAX_FEED_BUFFERED_BYTES, DEFAULT_MAX_FEED_CATCH_UPS, DEFAULT_MAX_FEED_CONNECTIONS, DEFAULT_FEED_WINDOW_BYTES, estimatedArchiveBytes, TIMER_DELAY_LIMIT_MS, FEED_HEAD_RETRY_MS, ENTRIES_MESSAGE_LIMIT_BYTES } from './chunk-
|
|
13
|
+
import { DEFAULT_MAX_FEED_BUFFERED_BYTES, DEFAULT_MAX_FEED_CATCH_UPS, DEFAULT_MAX_FEED_CONNECTIONS, DEFAULT_FEED_WINDOW_BYTES, estimatedArchiveBytes, TIMER_DELAY_LIMIT_MS, FEED_HEAD_RETRY_MS, ENTRIES_MESSAGE_LIMIT_BYTES } from './chunk-6I6OO6B2.mjs';
|
|
14
14
|
import './chunk-JDDXV6UF.mjs';
|
|
15
|
-
import { manifestFileRefs } from './chunk-
|
|
15
|
+
import { manifestFileRefs } from './chunk-B3MO37YF.mjs';
|
|
16
16
|
import './chunk-MSIN4NM3.mjs';
|
|
17
17
|
import { encode as encode$1 } from './chunk-S5QMWECL.mjs';
|
|
18
18
|
import './chunk-LNGE7SLY.mjs';
|
|
19
19
|
import './chunk-R2PJKSNL.mjs';
|
|
20
|
-
import './chunk-
|
|
21
|
-
import './chunk-
|
|
20
|
+
import './chunk-F26DOOUH.mjs';
|
|
21
|
+
import './chunk-UHLFCGZ3.mjs';
|
|
22
22
|
import './chunk-R724DJSG.mjs';
|
|
23
23
|
import './chunk-V6EUBAIT.mjs';
|
|
24
|
-
import './chunk-
|
|
25
|
-
import { querySuggestions } from './chunk-
|
|
24
|
+
import './chunk-CERPUGRK.mjs';
|
|
25
|
+
import { querySuggestions } from './chunk-DBC4EJWB.mjs';
|
|
26
26
|
import './chunk-S2POFTLN.mjs';
|
|
27
|
-
import { rerankWindowCapOf, engineCoreOf, readMemoryFigures, listenForSyncChanges, MAX_RERANK_WINDOW, bindQuerySignal, clearQuerySignal, providedDocId, loadRerankRuntime, rulesOfStoredSynonyms } from './chunk-
|
|
27
|
+
import { rerankWindowCapOf, engineCoreOf, readMemoryFigures, listenForSyncChanges, MAX_RERANK_WINDOW, bindQuerySignal, clearQuerySignal, providedDocId, loadRerankRuntime, rulesOfStoredSynonyms } from './chunk-PP3W5PQQ.mjs';
|
|
28
28
|
import './chunk-2CKDCC65.mjs';
|
|
29
29
|
import './chunk-2AFZE7Y3.mjs';
|
|
30
30
|
import { decode } from './chunk-GXCDWLQI.mjs';
|
|
@@ -2698,6 +2698,14 @@ function assertAllowRegex(allowRegex) {
|
|
|
2698
2698
|
);
|
|
2699
2699
|
}
|
|
2700
2700
|
|
|
2701
|
+
// package.json
|
|
2702
|
+
var version = "0.4.1-next.212";
|
|
2703
|
+
|
|
2704
|
+
// src/server/package-version.ts
|
|
2705
|
+
function publishedPackageVersion() {
|
|
2706
|
+
return version;
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2701
2709
|
// src/server/request-threads/relay-answers.ts
|
|
2702
2710
|
async function answerAuthorize(authorize, request) {
|
|
2703
2711
|
if (authorize === void 0) {
|
|
@@ -3369,7 +3377,7 @@ function resolveLimits(limits, engineRerankWindow) {
|
|
|
3369
3377
|
}
|
|
3370
3378
|
function resolveBuild(build) {
|
|
3371
3379
|
return {
|
|
3372
|
-
version: build?.version ??
|
|
3380
|
+
version: build?.version ?? publishedPackageVersion(),
|
|
3373
3381
|
gitSha: build?.gitSha ?? null,
|
|
3374
3382
|
dirty: build?.dirty ?? false
|
|
3375
3383
|
};
|
|
@@ -3394,7 +3402,7 @@ function mainThreadHandlers(deps, syncServing) {
|
|
|
3394
3402
|
const health = createHealthHandlers(deps);
|
|
3395
3403
|
const cluster = createClusterHandlers(deps);
|
|
3396
3404
|
const backups = createBackupHandlers(deps);
|
|
3397
|
-
const
|
|
3405
|
+
const version2 = createVersionHandler(deps);
|
|
3398
3406
|
const capabilities = createCapabilitiesHandler();
|
|
3399
3407
|
const syncSetting = createSyncSettingHandlers(deps.engine);
|
|
3400
3408
|
const changesSetting = createChangesSettingHandlers(deps.engine);
|
|
@@ -3402,7 +3410,7 @@ function mainThreadHandlers(deps, syncServing) {
|
|
|
3402
3410
|
return {
|
|
3403
3411
|
livez: health.livez,
|
|
3404
3412
|
readyz: health.readyz,
|
|
3405
|
-
version:
|
|
3413
|
+
version: version2.report,
|
|
3406
3414
|
capabilities: capabilities.report,
|
|
3407
3415
|
clusterTopology: cluster.topology,
|
|
3408
3416
|
clusterAllocation: cluster.allocation,
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { scheduleSyncRetention, createDirectoryWatch, unrefInterval, LOG_READ_CHUNK_BYTES } from './chunk-
|
|
2
|
-
export { scheduleSyncRetention, startSyncRetentionSweep } from './chunk-
|
|
3
|
-
import { buildArchiveFromMemory, indexMetadataOf, archiveStream, createByteReader, documentExportStream, requireRestoreMemory, memoryCheckpointStore, admitDurableWrite, metadataConfigOf, durableMetadataConfigOf, unpackIndexSnapshotEnvelope, nestedSchemaOf, earlierSnapshotFootprint, writeArchiveFile, storedBytesOfSegments, archiveFootprint, loadSegmentedCheckpoint, createIndexLoads, closePartitionWriter, switchInTurn, writeMetadataEnvelope, listPersistedIndexes, removeLeftoverRewriteFiles, requireSavedPartitionCount, createDetachedIndex, requireCheckpointLayout, holdScheduledCheckpoint, checkpointInTurn, deserializePayloadV1, SINGLE_NODE_PRIMARY_TERM, readCurrentManifest, drainIndexStateForUnload, readSegmentManifest, readMetadataEnvelope, snapshotCheckpointFor, whileGraphsStayComplete, captureAppliedPrefix, createSeqOwner, loadMetadata, reclaimUnlistedKeys, writeLiveVectors, dropStoredVectorValues, requiresLayoutCheckpoint, transitionKey, readTransition, invalidTransition, unpackEnvelopeBytes, replayWal, sanitizeSurfaceForms, patternIndexesFromWire, replayWalUpTo, createRebalancer, highestPartitionIdOf, growPartitionsTo, createMarkerWriter, metadataFromConfig, metadataPartitionCount } from './chunk-
|
|
4
|
-
export { DOCUMENT_EXPORT_FORMAT, DOCUMENT_EXPORT_VERSION, abandonAnalysisChange, adoptSavedAnalysis, buildHeldAnalysisChange, changeIndexAnalysis, changesOf, createByteReader, documentExportStream, dropHeldAnalysisChange, executeRebalance, followIndexChanges, heldAnalysisIsBuilt, holdsNamedSettings, openFileVectorReads, pagedPartitionLines, readDocumentExport, releaseHeldAnalysisChange, requireSavedPartitionCount, resumeAnalysisChange, stampAnalysisGeneration, startReadingOpeningSectionsAhead, targetOfPending, transitionWalLayout, updateChangesOf } from './chunk-
|
|
5
|
-
import { readVectorFile, readGraphParts, VECTOR_FILE_ENVELOPE_VERSION } from './chunk-
|
|
6
|
-
export { loadFilesByParts, openColdVectorField, waitBeforeColdLoad } from './chunk-
|
|
7
|
-
import { MAX_SNAPSHOT_ANALYSIS_ATTEMPTS, encodeIndexConfiguration, indexConfigurationOf, updateIndexSync, decodeIndexConfiguration } from './chunk-
|
|
8
|
-
export { decodeIndexConfiguration, encodeIndexConfiguration, holdRenewedSyncEpoch, indexConfigurationOf, persistEpochStates, requireNoQuerySuggestions, requireSyncSetting, syncStorageOf, updateIndexSync } from './chunk-
|
|
1
|
+
import { scheduleSyncRetention, createDirectoryWatch, unrefInterval, LOG_READ_CHUNK_BYTES } from './chunk-OGYSPNL2.mjs';
|
|
2
|
+
export { scheduleSyncRetention, startSyncRetentionSweep } from './chunk-OGYSPNL2.mjs';
|
|
3
|
+
import { buildArchiveFromMemory, indexMetadataOf, archiveStream, createByteReader, documentExportStream, requireRestoreMemory, memoryCheckpointStore, admitDurableWrite, metadataConfigOf, durableMetadataConfigOf, unpackIndexSnapshotEnvelope, nestedSchemaOf, earlierSnapshotFootprint, writeArchiveFile, storedBytesOfSegments, archiveFootprint, loadSegmentedCheckpoint, createIndexLoads, closePartitionWriter, switchInTurn, writeMetadataEnvelope, listPersistedIndexes, removeLeftoverRewriteFiles, requireSavedPartitionCount, createDetachedIndex, requireCheckpointLayout, holdScheduledCheckpoint, checkpointInTurn, deserializePayloadV1, SINGLE_NODE_PRIMARY_TERM, readCurrentManifest, drainIndexStateForUnload, readSegmentManifest, readMetadataEnvelope, snapshotCheckpointFor, whileGraphsStayComplete, captureAppliedPrefix, createSeqOwner, loadMetadata, reclaimUnlistedKeys, writeLiveVectors, dropStoredVectorValues, requiresLayoutCheckpoint, transitionKey, readTransition, invalidTransition, unpackEnvelopeBytes, replayWal, sanitizeSurfaceForms, patternIndexesFromWire, replayWalUpTo, createRebalancer, highestPartitionIdOf, growPartitionsTo, createMarkerWriter, metadataFromConfig, metadataPartitionCount } from './chunk-755NM4PL.mjs';
|
|
4
|
+
export { DOCUMENT_EXPORT_FORMAT, DOCUMENT_EXPORT_VERSION, abandonAnalysisChange, adoptSavedAnalysis, buildHeldAnalysisChange, changeIndexAnalysis, changesOf, createByteReader, documentExportStream, dropHeldAnalysisChange, executeRebalance, followIndexChanges, heldAnalysisIsBuilt, holdsNamedSettings, openFileVectorReads, pagedPartitionLines, readDocumentExport, releaseHeldAnalysisChange, requireSavedPartitionCount, resumeAnalysisChange, stampAnalysisGeneration, startReadingOpeningSectionsAhead, targetOfPending, transitionWalLayout, updateChangesOf } from './chunk-755NM4PL.mjs';
|
|
5
|
+
import { readVectorFile, readGraphParts, VECTOR_FILE_ENVELOPE_VERSION } from './chunk-WC5KAWXQ.mjs';
|
|
6
|
+
export { loadFilesByParts, openColdVectorField, waitBeforeColdLoad } from './chunk-WC5KAWXQ.mjs';
|
|
7
|
+
import { MAX_SNAPSHOT_ANALYSIS_ATTEMPTS, encodeIndexConfiguration, indexConfigurationOf, updateIndexSync, decodeIndexConfiguration } from './chunk-3IE3A74H.mjs';
|
|
8
|
+
export { decodeIndexConfiguration, encodeIndexConfiguration, holdRenewedSyncEpoch, indexConfigurationOf, persistEpochStates, requireNoQuerySuggestions, requireSyncSetting, syncStorageOf, updateIndexSync } from './chunk-3IE3A74H.mjs';
|
|
9
9
|
import { restoredConfigFields, restoredEmbedding, rejectSnapshot } from './chunk-M2Z5WVWW.mjs';
|
|
10
|
-
import { readSnapshotArchive, decodeSegmentManifest, isRecord, invalidManifest, isId, isUint32, isSequenceNumber } from './chunk-
|
|
11
|
-
export { readSnapshotArchive } from './chunk-
|
|
10
|
+
import { readSnapshotArchive, decodeSegmentManifest, isRecord, invalidManifest, isId, isUint32, isSequenceNumber } from './chunk-6I6OO6B2.mjs';
|
|
11
|
+
export { readSnapshotArchive } from './chunk-6I6OO6B2.mjs';
|
|
12
12
|
import { createDurableDirectory } from './chunk-M3B7SGJB.mjs';
|
|
13
|
-
import { isPagedSegmentFile, openPagedSnapshot, pagedListingOf, createPagedFrozenSegment, writePagedSegment, bytesThatSegmentsHoldInMemory, savedBytesOfManifest, checkPagedSegmentFully, readSegmentFile, NOTHING_SAVED, SEGMENT_HEADER_SIZE, checkpointLastSeqNo, partitionContentsOf, writeCheckpointSegments, commitCheckpointManifest, checkpointGarbage, removeCheckpointGarbage, nextSegmentKey, rewrittenHeaderKey, checkSegmentHeader, RECORD_LENGTH_SIZE, MAX_WAL_RECORD_BYTES, FRAME_CRC_SIZE, decodeWalEntry, readCommitMarker, captureWholePartition, frameRecord, checkpointPrimaryTerm, openPagedSegmentScan, countsAsLatestHolder, segmentKey, WAL_FORMAT_VERSION_WITH_PREVIOUS_DOCUMENT, SEGMENT_TAIL_PATTERN, writeSegmentHeader, WAL_FORMAT_VERSION, parseSegmentStartSeqNo, readWalSegments, joinFrames, buildEntry } from './chunk-
|
|
14
|
-
export { bytesThatSegmentsHoldInMemory, checkPagedContents, checkPagedSegmentFully, checkPagedSelections, countsAsLatestHolder, createPagedFrozenSegment, isPagedSegmentFile, mergePagedWindow, openPagedSegmentScan, openPagedSnapshot, pagedListingOf, pagedTombstonesFor, writePagedSegment } from './chunk-
|
|
15
|
-
import { REWRITE_SPILL_BYTES, TOMBSTONES_BETWEEN_YIELDS, encodeSegmentManifest, adapterCheckpointStore, directoryCheckpointStore, readListedFile } from './chunk-
|
|
13
|
+
import { isPagedSegmentFile, openPagedSnapshot, pagedListingOf, createPagedFrozenSegment, writePagedSegment, bytesThatSegmentsHoldInMemory, savedBytesOfManifest, checkPagedSegmentFully, readSegmentFile, NOTHING_SAVED, SEGMENT_HEADER_SIZE, checkpointLastSeqNo, partitionContentsOf, writeCheckpointSegments, commitCheckpointManifest, checkpointGarbage, removeCheckpointGarbage, nextSegmentKey, rewrittenHeaderKey, checkSegmentHeader, RECORD_LENGTH_SIZE, MAX_WAL_RECORD_BYTES, FRAME_CRC_SIZE, decodeWalEntry, readCommitMarker, captureWholePartition, frameRecord, checkpointPrimaryTerm, openPagedSegmentScan, countsAsLatestHolder, segmentKey, WAL_FORMAT_VERSION_WITH_PREVIOUS_DOCUMENT, SEGMENT_TAIL_PATTERN, writeSegmentHeader, WAL_FORMAT_VERSION, parseSegmentStartSeqNo, readWalSegments, joinFrames, buildEntry } from './chunk-DDUXEJXW.mjs';
|
|
14
|
+
export { bytesThatSegmentsHoldInMemory, checkPagedContents, checkPagedSegmentFully, checkPagedSelections, countsAsLatestHolder, createPagedFrozenSegment, isPagedSegmentFile, mergePagedWindow, openPagedSegmentScan, openPagedSnapshot, pagedListingOf, pagedTombstonesFor, writePagedSegment } from './chunk-DDUXEJXW.mjs';
|
|
15
|
+
import { REWRITE_SPILL_BYTES, TOMBSTONES_BETWEEN_YIELDS, encodeSegmentManifest, adapterCheckpointStore, directoryCheckpointStore, readListedFile } from './chunk-MSJD74GN.mjs';
|
|
16
16
|
import './chunk-5FLRXF73.mjs';
|
|
17
17
|
import './chunk-JDDXV6UF.mjs';
|
|
18
|
-
import { manifestKey, manifestFileRefs, manifestReferencedKeys, manifestWithinPartitionCount, snapshotBundleKey, MAX_SEGMENTS_PER_PARTITION } from './chunk-
|
|
18
|
+
import { manifestKey, manifestFileRefs, manifestReferencedKeys, manifestWithinPartitionCount, snapshotBundleKey, MAX_SEGMENTS_PER_PARTITION } from './chunk-B3MO37YF.mjs';
|
|
19
19
|
import { getFs } from './chunk-HLPRHOSO.mjs';
|
|
20
20
|
import { DEFAULT_SEGMENT_MAX_BYTES, DEFAULT_CHECKPOINT_INTERVAL_MS, DEFAULT_CHECKPOINT_MUTATION_THRESHOLD, DEFAULT_COMPACTION_THRESHOLD, DEFAULT_REWRITE_BYTES_PER_CHECKPOINT, DEFAULT_ASYNC_FLUSH_INTERVAL_MS, WRITES_STALL_ABOVE_UNCHECKPOINTED_BYTES, WHOLE_PARTITION_LARGEST_DOCUMENT_COUNT, WHOLE_PARTITION_MIN_CHANGED_SHARE, CHECKPOINT_TIMEOUT_RECOVERY_BACKOFF_MS, CHECKPOINT_WORKER_TIMEOUT_MS, CHECKPOINT_WORKER_IDLE_MS, LOG_RECORDS_PER_CHECKPOINT } from './chunk-MSIN4NM3.mjs';
|
|
21
21
|
import { encode } from './chunk-S5QMWECL.mjs';
|
|
22
22
|
export { bindStorageHost } from './chunk-S5QMWECL.mjs';
|
|
23
23
|
import { sha256 } from './chunk-LNGE7SLY.mjs';
|
|
24
24
|
import { setNestedValue } from './chunk-R2PJKSNL.mjs';
|
|
25
|
-
import { rewriteSpillOf } from './chunk-
|
|
26
|
-
import { deserializePartition } from './chunk-
|
|
25
|
+
import { rewriteSpillOf } from './chunk-F26DOOUH.mjs';
|
|
26
|
+
import { deserializePartition } from './chunk-UHLFCGZ3.mjs';
|
|
27
27
|
import { decodeVectorIndexParts, bytesToVectors, VECTOR_FILE_MAX_VECTORS, deadBytesFor, countDead, decodeVectorFilePayload, graphPartsOfEarlierPayload, decodeVectorGraphPayload } from './chunk-R724DJSG.mjs';
|
|
28
28
|
export { createHNSWIndex, osqBitsOf } from './chunk-R724DJSG.mjs';
|
|
29
29
|
import { oneSyncChangeAtATime } from './chunk-V6EUBAIT.mjs';
|
|
30
|
-
import { hasNrslMagic, HEADER_SIZE, readHeader, storedStateOf, attachedRuntimeOf, historyFilesOf, listHistoryFolder, historyFileOf, QUERY_HISTORY_ARCHIVE_PREFIX, QUERY_HISTORY_FOLDER, openChecksummedEnvelope, crc32, packChecksummedEnvelope } from './chunk-
|
|
31
|
-
import { isCompositePartition, generateId, mergePartitionStats, resolvePartitionInsertOptions, createPartitionIndex, createCompositePartition, ARRAY_POSITION_GAP, fnv1a, freezeSegmentShared, createFrozenSegment, createSharedFrozenSegment, getLanguage, validatePatternValueLimit, requireSurfaceFormsForPartialFields, validateRequiredFieldsInSchema, resolveIndexAnalysis, validateEmbeddingConfig, storedArrayPositionGap, emitSyncChange, toError, prepareStoredSynonyms, loadSchemaCodeFor, decodeEveryStoredDocument, arrayPositionsAreStale, insertDocumentVectors, createPartitionRouter, buildSegmentPayloads, createRequestId } from './chunk-
|
|
30
|
+
import { hasNrslMagic, HEADER_SIZE, readHeader, storedStateOf, attachedRuntimeOf, historyFilesOf, listHistoryFolder, historyFileOf, QUERY_HISTORY_ARCHIVE_PREFIX, QUERY_HISTORY_FOLDER, openChecksummedEnvelope, crc32, packChecksummedEnvelope } from './chunk-CERPUGRK.mjs';
|
|
31
|
+
import { isCompositePartition, generateId, mergePartitionStats, resolvePartitionInsertOptions, createPartitionIndex, createCompositePartition, ARRAY_POSITION_GAP, fnv1a, freezeSegmentShared, createFrozenSegment, createSharedFrozenSegment, getLanguage, validatePatternValueLimit, requireSurfaceFormsForPartialFields, validateRequiredFieldsInSchema, resolveIndexAnalysis, validateEmbeddingConfig, storedArrayPositionGap, emitSyncChange, toError, prepareStoredSynonyms, loadSchemaCodeFor, decodeEveryStoredDocument, arrayPositionsAreStale, insertDocumentVectors, createPartitionRouter, buildSegmentPayloads, createRequestId } from './chunk-PP3W5PQQ.mjs';
|
|
32
32
|
import { encodeDocument } from './chunk-2CKDCC65.mjs';
|
|
33
33
|
import './chunk-2AFZE7Y3.mjs';
|
|
34
34
|
import { decode } from './chunk-GXCDWLQI.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { DayStore, RestoredHistory, clearLeftoversOfName, dayOf, installSuggestionHooks, openCountsFile, sameBytes, startQuerySuggestions } from './chunk-
|
|
1
|
+
export { DayStore, RestoredHistory, clearLeftoversOfName, dayOf, installSuggestionHooks, openCountsFile, sameBytes, startQuerySuggestions } from './chunk-DKIMHIBC.mjs';
|
|
2
2
|
export { oneSyncChangeAtATime } from './chunk-V6EUBAIT.mjs';
|
|
3
|
-
export { BUILD_LIST_PAGE, BUILD_WRITE_BATCH, BYTES_PER_MIB, DAY_MS, DEFAULT_PREVIEW_LIMIT, HEADER_SIZE, HISTORY_SWEEP_INTERVAL_MS, KEY_FINGERPRINT_BYTES, KEY_FINGERPRINT_LABEL, MAX_HISTORY_FILE_BYTES, MAX_MANUAL_SUGGESTION_COUNT, MAX_PREVIEW_LIMIT, MAX_SOURCE_INDEX_NAME_LENGTH, MAX_TIMER_DELAY_MS, MIN_KEY_BYTES, MS_PER_SECOND, QUERY_HISTORY_ARCHIVE_PREFIX, QUERY_HISTORY_FOLDER, SCHEDULE_OFF, SCRAMBLED_ID_BYTES, acceptedPhrase, attachRuntime, attachedRuntimeOf, banListFromInput, bindSuggestionStoreHost, buildRecordKey, checksumOfChunks, crc32, crc32Final, crc32Init, crc32Update, engineVersionParts, hasNrslMagic, historyFileOf, historyFilesOf, invalidSetting, isGroup, isPerson, latestMatchAtOrBefore, listHistoryFolder, nextMatchAfter, normaliseBan, openChecksummedEnvelope, packChecksummedEnvelope, packEnvelopeWithChecksum, parseSchedule, readHeader, removeHistoryFolder, removeRestoreLeftovers, requireFieldsInSchema, requireWithinFileLimit, resolveSetting, storedStateFromWire, storedStateOf, storedStateToWire, unionOfBans, validateSetting, withState, writeHeader } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { BUILD_LIST_PAGE, BUILD_WRITE_BATCH, BYTES_PER_MIB, DAY_MS, DEFAULT_PREVIEW_LIMIT, HEADER_SIZE, HISTORY_SWEEP_INTERVAL_MS, KEY_FINGERPRINT_BYTES, KEY_FINGERPRINT_LABEL, MAX_HISTORY_FILE_BYTES, MAX_MANUAL_SUGGESTION_COUNT, MAX_PREVIEW_LIMIT, MAX_SOURCE_INDEX_NAME_LENGTH, MAX_TIMER_DELAY_MS, MIN_KEY_BYTES, MS_PER_SECOND, QUERY_HISTORY_ARCHIVE_PREFIX, QUERY_HISTORY_FOLDER, SCHEDULE_OFF, SCRAMBLED_ID_BYTES, acceptedPhrase, attachRuntime, attachedRuntimeOf, banListFromInput, bindSuggestionStoreHost, buildRecordKey, checksumOfChunks, crc32, crc32Final, crc32Init, crc32Update, engineVersionParts, hasNrslMagic, historyFileOf, historyFilesOf, invalidSetting, isGroup, isPerson, latestMatchAtOrBefore, listHistoryFolder, nextMatchAfter, normaliseBan, openChecksummedEnvelope, packChecksummedEnvelope, packEnvelopeWithChecksum, parseSchedule, readHeader, removeHistoryFolder, removeRestoreLeftovers, requireFieldsInSchema, requireWithinFileLimit, resolveSetting, storedStateFromWire, storedStateOf, storedStateToWire, unionOfBans, validateSetting, withState, writeHeader } from './chunk-CERPUGRK.mjs';
|
|
4
|
+
import './chunk-PP3W5PQQ.mjs';
|
|
5
5
|
import './chunk-2CKDCC65.mjs';
|
|
6
6
|
import './chunk-2AFZE7Y3.mjs';
|
|
7
7
|
import './chunk-GXCDWLQI.mjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { querySuggestionsOf, keyBytesOf, createQuerySuggestionsRuntime, createLocalHost } from './chunk-
|
|
2
|
-
export { bindSuggestionsHost } from './chunk-
|
|
3
|
-
import { installSuggestionHooks } from './chunk-
|
|
1
|
+
import { querySuggestionsOf, keyBytesOf, createQuerySuggestionsRuntime, createLocalHost } from './chunk-357KIU5E.mjs';
|
|
2
|
+
export { bindSuggestionsHost } from './chunk-WTMCGZ74.mjs';
|
|
3
|
+
import { installSuggestionHooks } from './chunk-DKIMHIBC.mjs';
|
|
4
4
|
import './chunk-V6EUBAIT.mjs';
|
|
5
|
-
import { attachedRuntimeOf, attachRuntime } from './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import { attachedRuntimeOf, attachRuntime } from './chunk-CERPUGRK.mjs';
|
|
6
|
+
import './chunk-PP3W5PQQ.mjs';
|
|
7
7
|
import './chunk-2CKDCC65.mjs';
|
|
8
8
|
import './chunk-2AFZE7Y3.mjs';
|
|
9
9
|
import './chunk-GXCDWLQI.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as DeviceSyncStore } from '../types-
|
|
2
|
-
import '../engine-
|
|
1
|
+
import { d as DeviceSyncStore } from '../types-pS-mAJmX.js';
|
|
2
|
+
import '../engine-DoFnkRoF.js';
|
|
3
3
|
import '../adapters-pljAqmrC.js';
|
|
4
4
|
import '../schema-CzG9OUw5.js';
|
|
5
5
|
import '../synonyms-CpOAHPa-.js';
|
package/dist/sync/filesystem.mjs
CHANGED
|
@@ -6,12 +6,12 @@ import '../chunk-MSIN4NM3.mjs';
|
|
|
6
6
|
import '../chunk-S5QMWECL.mjs';
|
|
7
7
|
import '../chunk-LNGE7SLY.mjs';
|
|
8
8
|
import '../chunk-R2PJKSNL.mjs';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-F26DOOUH.mjs';
|
|
10
|
+
import '../chunk-UHLFCGZ3.mjs';
|
|
11
11
|
import '../chunk-R724DJSG.mjs';
|
|
12
12
|
import '../chunk-V6EUBAIT.mjs';
|
|
13
|
-
import { crc32 } from '../chunk-
|
|
14
|
-
import '../chunk-
|
|
13
|
+
import { crc32 } from '../chunk-CERPUGRK.mjs';
|
|
14
|
+
import '../chunk-PP3W5PQQ.mjs';
|
|
15
15
|
import '../chunk-2CKDCC65.mjs';
|
|
16
16
|
import '../chunk-2AFZE7Y3.mjs';
|
|
17
17
|
import '../chunk-GXCDWLQI.mjs';
|
package/dist/sync/indexeddb.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as DeviceSyncStore } from '../types-
|
|
2
|
-
import '../engine-
|
|
1
|
+
import { d as DeviceSyncStore } from '../types-pS-mAJmX.js';
|
|
2
|
+
import '../engine-DoFnkRoF.js';
|
|
3
3
|
import '../adapters-pljAqmrC.js';
|
|
4
4
|
import '../schema-CzG9OUw5.js';
|
|
5
5
|
import '../synonyms-CpOAHPa-.js';
|
package/dist/sync.browser.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createSerial, KEPT_ENTRY_FLUSH_IDLE_MS, KEPT_ENTRY_OVERHEAD_BYTES, DEFAULT_REPLAY_LIMIT_OF_SNAPSHOT, BACKOFF_DOUBLINGS_LIMIT, KEPT_ENTRY_FLUSH_BYTES, UPLOAD_BATCH_WRITES, RETRY_MAX_DELAY_MS, UPLOAD_RETRY_DELAY_MS, DOWNLOAD_SAVE_BYTES, SNAPSHOT_MEMORY_PER_ARCHIVE_BYTE, SNAPSHOT_RETRY_DELAY_MS, RECONNECT_MIN_DELAY_MS } from './browser/chunk-WC2DEXWU.mjs';
|
|
2
|
-
import { hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './browser/chunk-
|
|
2
|
+
import { hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './browser/chunk-GBJSEHVJ.mjs';
|
|
3
3
|
import './browser/chunk-QAOVAYAG.mjs';
|
|
4
4
|
import { isSyncEpoch } from './browser/chunk-YJHGOJAC.mjs';
|
|
5
5
|
import { createNarsilClient } from './browser/chunk-4E5APHTM.mjs';
|
package/dist/sync.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as DeviceSyncOptions, a as DeviceSync } from './types-
|
|
2
|
-
export { b as DevicePosition, c as DeviceSyncStatus, d as DeviceSyncStore, K as KeptEntry, Q as QueuedWrite, R as RefusedWrite, S as SavedDownload, e as SnapshotMemoryCheck, U as UploadOutcome } from './types-
|
|
3
|
-
import './engine-
|
|
1
|
+
import { D as DeviceSyncOptions, a as DeviceSync } from './types-pS-mAJmX.js';
|
|
2
|
+
export { b as DevicePosition, c as DeviceSyncStatus, d as DeviceSyncStore, K as KeptEntry, Q as QueuedWrite, R as RefusedWrite, S as SavedDownload, e as SnapshotMemoryCheck, U as UploadOutcome } from './types-pS-mAJmX.js';
|
|
3
|
+
import './engine-DoFnkRoF.js';
|
|
4
4
|
import './adapters-pljAqmrC.js';
|
|
5
5
|
import './schema-CzG9OUw5.js';
|
|
6
6
|
import './synonyms-CpOAHPa-.js';
|
package/dist/sync.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SYNC_CLOSE_RESYNC, SYNC_CLOSE_CREDENTIAL_EXPIRED, encodeJson, SYNC_SUBPROTOCOL, CHANGES_SUBPROTOCOL, decodeScore } from './chunk-TACP6VK6.mjs';
|
|
2
2
|
import { createSerial, KEPT_ENTRY_FLUSH_IDLE_MS, KEPT_ENTRY_OVERHEAD_BYTES, DEFAULT_REPLAY_LIMIT_OF_SNAPSHOT, BACKOFF_DOUBLINGS_LIMIT, KEPT_ENTRY_FLUSH_BYTES, UPLOAD_BATCH_WRITES, RETRY_MAX_DELAY_MS, UPLOAD_RETRY_DELAY_MS, DOWNLOAD_SAVE_BYTES, SNAPSHOT_MEMORY_PER_ARCHIVE_BYTE, SNAPSHOT_RETRY_DELAY_MS, RECONNECT_MIN_DELAY_MS } from './chunk-6MSZ543Y.mjs';
|
|
3
|
-
import { hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './chunk-
|
|
3
|
+
import { hasLanguage, hasTokenizer, hasStopWords, readHeapStatistics, loadStorageCode, getLanguage } from './chunk-PP3W5PQQ.mjs';
|
|
4
4
|
import './chunk-2CKDCC65.mjs';
|
|
5
5
|
import './chunk-2AFZE7Y3.mjs';
|
|
6
6
|
import './chunk-GXCDWLQI.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { withOpenIndex, oneAtATime, resolveIndexAnalysis, loadStorageCode, emitSyncChange, encodeStringBlob, tokenize, typedRegion, regionsOverlap, encodeLookupKey } from './browser/chunk-
|
|
1
|
+
import { withOpenIndex, oneAtATime, resolveIndexAnalysis, loadStorageCode, emitSyncChange, encodeStringBlob, tokenize, typedRegion, regionsOverlap, encodeLookupKey } from './browser/chunk-GBJSEHVJ.mjs';
|
|
2
2
|
import { storedText } from './browser/chunk-QAOVAYAG.mjs';
|
|
3
3
|
import './browser/chunk-YJHGOJAC.mjs';
|
|
4
4
|
import { NarsilError, ErrorCodes, requireLoadedMessagePack, compareCodePoints } from './browser/chunk-YINZFPLT.mjs';
|
package/dist/synonyms.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as BackupListing, b as ClusterNodeInfo, N as NodeReadiness } from './config-
|
|
1
|
+
import { B as BackupListing, b as ClusterNodeInfo, N as NodeReadiness } from './config-BJSL7piq.js';
|
|
2
2
|
import { A as AllocationConstraints, N as NodeRole, d as NodeMemoryReport } from './index-B_vmxpgW.js';
|
|
3
3
|
import { a as QuerySuggestionsBuild } from './query-suggestions-CBYkrQ5T.js';
|
|
4
|
-
import { I as IndexInfo, P as PartitionStatsResult, V as VectorMaintenanceResult, M as MemoryStats } from './engine-
|
|
4
|
+
import { I as IndexInfo, P as PartitionStatsResult, V as VectorMaintenanceResult, M as MemoryStats } from './engine-DoFnkRoF.js';
|
|
5
5
|
import { A as AnyDocument, a as InsertOptions, B as BM25Params, W as WriteOptions } from './schema-CzG9OUw5.js';
|
|
6
6
|
import { a as SynonymRule } from './synonyms-CpOAHPa-.js';
|
|
7
7
|
|
|
@@ -248,7 +248,7 @@ interface ReadinessResponse {
|
|
|
248
248
|
interface VersionResponse {
|
|
249
249
|
/** This is always `narsil`. */
|
|
250
250
|
name: 'narsil';
|
|
251
|
-
/**
|
|
251
|
+
/** This holds the `build.version` that the caller passed to `createServer`, or else the version of the installed `@delali/narsil` package, although a server from an older release can report null here. */
|
|
252
252
|
version: string | null;
|
|
253
253
|
/** The build came from this git commit, or this is null where the build stamped none. */
|
|
254
254
|
gitSha: string | null;
|