@naturalcycles/cloud-storage-lib 2.6.0 → 2.7.0
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/cloudStorage.d.ts +2 -1
- package/dist/inMemoryCommonStorage.d.ts +2 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +0 -2
- package/package.json +5 -4
- package/src/cloudStorage.ts +2 -1
- package/src/inMemoryCommonStorage.ts +2 -1
- package/src/index.ts +2 -2
package/dist/cloudStorage.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Storage, StorageOptions } from '@google-cloud/storage';
|
|
2
2
|
import type { LocalTimeInput } from '@naturalcycles/js-lib/datetime';
|
|
3
3
|
import type { CommonLogger } from '@naturalcycles/js-lib/log';
|
|
4
|
-
import { Pipeline
|
|
4
|
+
import { Pipeline } from '@naturalcycles/nodejs-lib/stream';
|
|
5
|
+
import type { WritableTyped } from '@naturalcycles/nodejs-lib/stream';
|
|
5
6
|
import type { CommonStorage, CommonStorageGetOptions, FileEntry } from './commonStorage.js';
|
|
6
7
|
import type { GCPServiceAccount } from './model.js';
|
|
7
8
|
export type { Storage, StorageOptions, };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { LocalTimeInput } from '@naturalcycles/js-lib/datetime';
|
|
2
2
|
import type { StringMap } from '@naturalcycles/js-lib/types';
|
|
3
|
-
import { Pipeline
|
|
3
|
+
import { Pipeline } from '@naturalcycles/nodejs-lib/stream';
|
|
4
|
+
import type { WritableTyped } from '@naturalcycles/nodejs-lib/stream';
|
|
4
5
|
import type { CommonStorage, CommonStorageGetOptions, FileEntry } from './commonStorage.js';
|
|
5
6
|
export declare class InMemoryCommonStorage implements CommonStorage {
|
|
6
7
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './cloudStorage.js';
|
|
2
|
-
export * from './commonStorage.js';
|
|
2
|
+
export type * from './commonStorage.js';
|
|
3
3
|
export * from './commonStorageBucket.js';
|
|
4
4
|
export * from './commonStorageKeyValueDB.js';
|
|
5
5
|
export * from './inMemoryCommonStorage.js';
|
|
6
|
-
export * from './model.js';
|
|
6
|
+
export type * from './model.js';
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -9,9 +9,10 @@
|
|
|
9
9
|
"tslib": "^2"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@types/node": "^
|
|
12
|
+
"@types/node": "^25",
|
|
13
|
+
"@typescript/native-preview": "7.0.0-dev.20260401.1",
|
|
13
14
|
"firebase-admin": "^13",
|
|
14
|
-
"@naturalcycles/dev-lib": "
|
|
15
|
+
"@naturalcycles/dev-lib": "20.42.0"
|
|
15
16
|
},
|
|
16
17
|
"exports": {
|
|
17
18
|
".": "./dist/index.js"
|
|
@@ -35,9 +36,9 @@
|
|
|
35
36
|
"directory": "packages/cloud-storage-lib"
|
|
36
37
|
},
|
|
37
38
|
"engines": {
|
|
38
|
-
"node": ">=
|
|
39
|
+
"node": ">=24.10.0"
|
|
39
40
|
},
|
|
40
|
-
"version": "2.
|
|
41
|
+
"version": "2.7.0",
|
|
41
42
|
"description": "CommonStorage implementation based on Google Cloud Storage",
|
|
42
43
|
"author": "Natural Cycles Team",
|
|
43
44
|
"license": "MIT",
|
package/src/cloudStorage.ts
CHANGED
|
@@ -8,7 +8,8 @@ import { pMap } from '@naturalcycles/js-lib/promise/pMap.js'
|
|
|
8
8
|
import { _substringAfterLast } from '@naturalcycles/js-lib/string'
|
|
9
9
|
import type { UnixTimestampMillis } from '@naturalcycles/js-lib/types'
|
|
10
10
|
import { SKIP } from '@naturalcycles/js-lib/types'
|
|
11
|
-
import { Pipeline
|
|
11
|
+
import { Pipeline } from '@naturalcycles/nodejs-lib/stream'
|
|
12
|
+
import type { WritableTyped } from '@naturalcycles/nodejs-lib/stream'
|
|
12
13
|
import type { CommonStorage, CommonStorageGetOptions, FileEntry } from './commonStorage.js'
|
|
13
14
|
import type { GCPServiceAccount } from './model.js'
|
|
14
15
|
|
|
@@ -8,7 +8,8 @@ import type { StringMap } from '@naturalcycles/js-lib/types'
|
|
|
8
8
|
import { _stringMapEntries } from '@naturalcycles/js-lib/types'
|
|
9
9
|
import { md5 } from '@naturalcycles/nodejs-lib'
|
|
10
10
|
import { fs2 } from '@naturalcycles/nodejs-lib/fs2'
|
|
11
|
-
import { Pipeline
|
|
11
|
+
import { Pipeline } from '@naturalcycles/nodejs-lib/stream'
|
|
12
|
+
import type { WritableTyped } from '@naturalcycles/nodejs-lib/stream'
|
|
12
13
|
import type { CommonStorage, CommonStorageGetOptions, FileEntry } from './commonStorage.js'
|
|
13
14
|
|
|
14
15
|
export class InMemoryCommonStorage implements CommonStorage {
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './cloudStorage.js'
|
|
2
|
-
export * from './commonStorage.js'
|
|
2
|
+
export type * from './commonStorage.js'
|
|
3
3
|
export * from './commonStorageBucket.js'
|
|
4
4
|
export * from './commonStorageKeyValueDB.js'
|
|
5
5
|
export * from './inMemoryCommonStorage.js'
|
|
6
|
-
export * from './model.js'
|
|
6
|
+
export type * from './model.js'
|