@utaba/deep-memory 0.11.0 → 0.12.1
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/dist/{StorageProvider-BuhXaqFP.d.ts → StorageProvider-B5U72e5S.d.ts} +1 -1
- package/dist/{StorageProvider-Cn2YxHc3.d.cts → StorageProvider-CrMaJuZ3.d.cts} +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/{portability-Ceb9P_VW.d.cts → portability-BrUmvSaH.d.cts} +39 -2
- package/dist/{portability-Ceb9P_VW.d.ts → portability-BrUmvSaH.d.ts} +39 -2
- package/dist/providers/index.d.cts +3 -3
- package/dist/providers/index.d.ts +3 -3
- package/dist/testing/conformance.d.cts +2 -2
- package/dist/testing/conformance.d.ts +2 -2
- package/dist/{traversal-lpUylwSS.d.ts → traversal-BmCyenfC.d.ts} +1 -1
- package/dist/{traversal-DAccezmK.d.cts → traversal-qKh6sE-g.d.cts} +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as StorageRepositoryConfig, c as StoredRepository, d as RepositoryFilter, e as PaginatedResult, f as StoredRepositorySummary, g as RepositoryUpdate, h as DeleteProgressCallback, i as RepositoryStats, M as MemoryVocabulary, j as PaginationOptions, V as VocabularyChangeRecord, k as StoredEntity, l as StoredEntityUpdate, m as StorageFindQuery, n as StoredRelationship, o as RelationshipQueryOptions, p as StorageExploreOptions, q as StorageNeighborhood, r as StoragePathOptions, s as StoragePathResult, t as StorageTimelineOptions, u as StorageTimelineResult, v as ExportChunk, I as ImportChunk, B as BulkImportOptions, w as BulkImportResult } from './portability-
|
|
1
|
+
import { S as StorageRepositoryConfig, c as StoredRepository, d as RepositoryFilter, e as PaginatedResult, f as StoredRepositorySummary, g as RepositoryUpdate, h as DeleteProgressCallback, i as RepositoryStats, M as MemoryVocabulary, j as PaginationOptions, V as VocabularyChangeRecord, k as StoredEntity, l as StoredEntityUpdate, m as StorageFindQuery, n as StoredRelationship, o as RelationshipQueryOptions, p as StorageExploreOptions, q as StorageNeighborhood, r as StoragePathOptions, s as StoragePathResult, t as StorageTimelineOptions, u as StorageTimelineResult, v as ExportChunk, I as ImportChunk, B as BulkImportOptions, w as BulkImportResult } from './portability-BrUmvSaH.js';
|
|
2
2
|
|
|
3
3
|
/** Result returned by ensureSchema describing what actions were taken. */
|
|
4
4
|
interface EnsureSchemaResult {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as StorageRepositoryConfig, c as StoredRepository, d as RepositoryFilter, e as PaginatedResult, f as StoredRepositorySummary, g as RepositoryUpdate, h as DeleteProgressCallback, i as RepositoryStats, M as MemoryVocabulary, j as PaginationOptions, V as VocabularyChangeRecord, k as StoredEntity, l as StoredEntityUpdate, m as StorageFindQuery, n as StoredRelationship, o as RelationshipQueryOptions, p as StorageExploreOptions, q as StorageNeighborhood, r as StoragePathOptions, s as StoragePathResult, t as StorageTimelineOptions, u as StorageTimelineResult, v as ExportChunk, I as ImportChunk, B as BulkImportOptions, w as BulkImportResult } from './portability-
|
|
1
|
+
import { S as StorageRepositoryConfig, c as StoredRepository, d as RepositoryFilter, e as PaginatedResult, f as StoredRepositorySummary, g as RepositoryUpdate, h as DeleteProgressCallback, i as RepositoryStats, M as MemoryVocabulary, j as PaginationOptions, V as VocabularyChangeRecord, k as StoredEntity, l as StoredEntityUpdate, m as StorageFindQuery, n as StoredRelationship, o as RelationshipQueryOptions, p as StorageExploreOptions, q as StorageNeighborhood, r as StoragePathOptions, s as StoragePathResult, t as StorageTimelineOptions, u as StorageTimelineResult, v as ExportChunk, I as ImportChunk, B as BulkImportOptions, w as BulkImportResult } from './portability-BrUmvSaH.cjs';
|
|
2
2
|
|
|
3
3
|
/** Result returned by ensureSchema describing what actions were taken. */
|
|
4
4
|
interface EnsureSchemaResult {
|
package/dist/index.cjs
CHANGED
|
@@ -3511,7 +3511,7 @@ var EventBus = class {
|
|
|
3511
3511
|
};
|
|
3512
3512
|
|
|
3513
3513
|
// src/portability/RepositoryExporter.ts
|
|
3514
|
-
var LIBRARY_VERSION = true ? "0.
|
|
3514
|
+
var LIBRARY_VERSION = true ? "0.12.1" : "0.1.0";
|
|
3515
3515
|
var RepositoryExporter = class {
|
|
3516
3516
|
storage;
|
|
3517
3517
|
provenance;
|
|
@@ -3943,10 +3943,12 @@ var RepositoryImporter = class {
|
|
|
3943
3943
|
let entitiesImported = 0;
|
|
3944
3944
|
let relationshipsImported = 0;
|
|
3945
3945
|
let chunksCompleted = 0;
|
|
3946
|
+
const adaptiveConcurrencyHandle = options.bulk?.adaptiveConcurrencyHandle ?? {};
|
|
3946
3947
|
for await (const chunk of chunks) {
|
|
3947
3948
|
const bulkResult = await this.storage.importBulk(target.repositoryId, [chunk], {
|
|
3948
3949
|
...options.bulk,
|
|
3949
|
-
skipExistenceCheck: true
|
|
3950
|
+
skipExistenceCheck: true,
|
|
3951
|
+
adaptiveConcurrencyHandle
|
|
3950
3952
|
});
|
|
3951
3953
|
entitiesImported += bulkResult.entitiesImported;
|
|
3952
3954
|
relationshipsImported += bulkResult.relationshipsImported;
|