Skip to content

Commit

Permalink
fix: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Jul 19, 2024
1 parent 1c8d00b commit 1354fc7
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 160 deletions.
2 changes: 1 addition & 1 deletion scripts/oom.script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { DBQuery } from '@naturalcycles/db-lib'
import {
_pipeline,
requireEnvKeys,
transformLogProgress,
runScript,
transformLogProgress,
} from '@naturalcycles/nodejs-lib'
import { DatastoreDB } from '../src'

Expand Down
2 changes: 1 addition & 1 deletion scripts/pipe.script.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Readable, Writable } from 'node:stream'
import { finished } from 'node:stream/promises'
import { pDelay } from '@naturalcycles/js-lib'
import { transformMapSimple, runScript } from '@naturalcycles/nodejs-lib'
import { runScript, transformMapSimple } from '@naturalcycles/nodejs-lib'

runScript(async () => {
const stream = Readable.from(gen())
Expand Down
26 changes: 13 additions & 13 deletions src/datastore.db.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PropertyFilter, Transaction } from '@google-cloud/datastore'
import type { Datastore, Key, Query } from '@google-cloud/datastore'
import { PropertyFilter, Transaction } from '@google-cloud/datastore'
import {
BaseCommonDB,
CommonDB,
Expand All @@ -8,34 +8,33 @@ import {
CommonDBSaveMethod,
CommonDBSaveOptions,
CommonDBSupport,
CommonDBTransactionOptions,
DBQuery,
DBTransaction,
DBTransactionFn,
RunQueryResult,
CommonDBTransactionOptions,
} from '@naturalcycles/db-lib'
import {
_assert,
_chunk,
_omit,
CommonLogger,
commonLoggerMinLevel,
JsonSchemaAny,
JsonSchemaBoolean,
JsonSchemaNull,
JsonSchemaNumber,
JsonSchemaObject,
JsonSchemaRootObject,
JsonSchemaString,
ObjectWithId,
pMap,
_assert,
_chunk,
_omit,
JsonSchemaRootObject,
CommonLogger,
commonLoggerMinLevel,
pTimeout,
pRetryFn,
pRetry,
pRetryFn,
PRetryOptions,
ObjectWithId,
pTimeout,
} from '@naturalcycles/js-lib'
import { ReadableTyped, boldWhite } from '@naturalcycles/nodejs-lib'
import { DatastoreStreamReadable } from './DatastoreStreamReadable'
import { boldWhite, ReadableTyped } from '@naturalcycles/nodejs-lib'
import {
DatastoreDBCfg,
DatastoreDBOptions,
Expand All @@ -46,6 +45,7 @@ import {
DatastoreStats,
DatastoreType,
} from './datastore.model'
import { DatastoreStreamReadable } from './DatastoreStreamReadable'
import { dbQueryToDatastoreQuery } from './query.util'

// Datastore (also Firestore and other Google APIs) supports max 500 of items when saving/deleting, etc.
Expand Down
Loading

0 comments on commit 1354fc7

Please sign in to comment.