@react-native-firebase/storage 25.0.1 → 26.0.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/CHANGELOG.md +25 -0
- package/RNFBStorage.podspec +17 -6
- package/android/build.gradle +23 -0
- package/android/src/main/java/io/invertase/firebase/storage/{ReactNativeFirebaseStorageModule.java → NativeRNFBTurboStorage.java} +72 -131
- package/android/src/main/java/io/invertase/firebase/storage/ReactNativeFirebaseStoragePackage.java +1 -1
- package/android/src/main/java/io/invertase/firebase/storage/generated/java/com/facebook/fbreact/specs/NativeRNFBTurboStorageSpec.java +125 -0
- package/android/src/main/java/io/invertase/firebase/storage/generated/jni/CMakeLists.txt +36 -0
- package/android/src/main/java/io/invertase/firebase/storage/generated/jni/RNFBStorageTurboModules-generated.cpp +116 -0
- package/android/src/main/java/io/invertase/firebase/storage/generated/jni/RNFBStorageTurboModules.h +31 -0
- package/android/src/main/java/io/invertase/firebase/storage/generated/jni/react/renderer/components/RNFBStorageTurboModules/RNFBStorageTurboModulesJSI-generated.cpp +153 -0
- package/android/src/main/java/io/invertase/firebase/storage/generated/jni/react/renderer/components/RNFBStorageTurboModules/RNFBStorageTurboModulesJSI.h +246 -0
- package/dist/module/StorageReference.js +4 -7
- package/dist/module/StorageReference.js.map +1 -1
- package/dist/module/StorageTask.js.map +1 -1
- package/dist/module/index.js +384 -6
- package/dist/module/index.js.map +1 -1
- package/dist/module/types/storage.js +6 -2
- package/dist/module/types/storage.js.map +1 -1
- package/dist/module/version.js +1 -1
- package/dist/module/web/RNFBStorageModule.js +9 -11
- package/dist/module/web/RNFBStorageModule.js.map +1 -1
- package/dist/typescript/lib/StorageReference.d.ts.map +1 -1
- package/dist/typescript/lib/StorageTask.d.ts +7 -8
- package/dist/typescript/lib/StorageTask.d.ts.map +1 -1
- package/dist/typescript/lib/index.d.ts +150 -4
- package/dist/typescript/lib/index.d.ts.map +1 -1
- package/dist/typescript/lib/types/internal.d.ts +5 -5
- package/dist/typescript/lib/types/internal.d.ts.map +1 -1
- package/dist/typescript/lib/types/storage.d.ts +15 -10
- package/dist/typescript/lib/types/storage.d.ts.map +1 -1
- package/dist/typescript/lib/version.d.ts +1 -1
- package/dist/typescript/lib/web/RNFBStorageModule.d.ts +3 -3
- package/dist/typescript/lib/web/RNFBStorageModule.d.ts.map +1 -1
- package/ios/RNFBStorage/RNFBStorageModule.h +2 -2
- package/ios/RNFBStorage/{RNFBStorageModule.m → RNFBStorageModule.mm} +193 -130
- package/ios/RNFBStorage.xcodeproj/project.pbxproj +8 -8
- package/ios/generated/RCTAppDependencyProvider.h +25 -0
- package/ios/generated/RCTAppDependencyProvider.mm +55 -0
- package/ios/generated/RCTModulesConformingToProtocolsProvider.h +18 -0
- package/ios/generated/RCTModulesConformingToProtocolsProvider.mm +33 -0
- package/ios/generated/RCTThirdPartyComponentsProvider.h +16 -0
- package/ios/generated/RCTThirdPartyComponentsProvider.mm +23 -0
- package/ios/generated/RNFBStorageTurboModules/RNFBStorageTurboModules-generated.mm +142 -0
- package/ios/generated/RNFBStorageTurboModules/RNFBStorageTurboModules.h +198 -0
- package/ios/generated/RNFBStorageTurboModulesJSI-generated.cpp +153 -0
- package/ios/generated/RNFBStorageTurboModulesJSI.h +246 -0
- package/ios/generated/ReactAppDependencyProvider.podspec +34 -0
- package/lib/StorageReference.ts +3 -8
- package/lib/StorageTask.ts +13 -15
- package/lib/index.ts +501 -7
- package/lib/types/internal.ts +5 -5
- package/lib/types/storage.ts +17 -10
- package/lib/version.ts +1 -1
- package/lib/web/RNFBStorageModule.ts +10 -12
- package/package.json +22 -4
- package/react-native.config.js +10 -0
- package/specs/NativeRNFBTurboStorage.ts +46 -0
- package/typedoc.json +2 -3
- package/dist/module/modular.js +0 -270
- package/dist/module/modular.js.map +0 -1
- package/dist/module/namespaced.js +0 -192
- package/dist/module/namespaced.js.map +0 -1
- package/dist/module/types/namespaced.js +0 -64
- package/dist/module/types/namespaced.js.map +0 -1
- package/dist/typescript/lib/modular.d.ts +0 -154
- package/dist/typescript/lib/modular.d.ts.map +0 -1
- package/dist/typescript/lib/namespaced.d.ts +0 -12
- package/dist/typescript/lib/namespaced.d.ts.map +0 -1
- package/dist/typescript/lib/types/namespaced.d.ts +0 -1122
- package/dist/typescript/lib/types/namespaced.d.ts.map +0 -1
- package/lib/modular.ts +0 -401
- package/lib/namespaced.ts +0 -264
- package/lib/types/namespaced.ts +0 -1248
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
* Copyright (c) 2016-present Invertase Limited & Contributors
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this library except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
/**
|
|
20
|
-
* Firebase Cloud Storage package for React Native.
|
|
21
|
-
*
|
|
22
|
-
* #### Example 1
|
|
23
|
-
*
|
|
24
|
-
* Access the firebase export from the `storage` package:
|
|
25
|
-
*
|
|
26
|
-
* ```js
|
|
27
|
-
* import { firebase } from '@react-native-firebase/storage';
|
|
28
|
-
*
|
|
29
|
-
* // firebase.storage().X
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* #### Example 2
|
|
33
|
-
*
|
|
34
|
-
* Using the default export from the `storage` package:
|
|
35
|
-
*
|
|
36
|
-
* ```js
|
|
37
|
-
* import storage from '@react-native-firebase/storage';
|
|
38
|
-
*
|
|
39
|
-
* // storage().X
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* #### Example 3
|
|
43
|
-
*
|
|
44
|
-
* Using the default export from the `app` package:
|
|
45
|
-
*
|
|
46
|
-
* ```js
|
|
47
|
-
* import firebase from '@react-native-firebase/app';
|
|
48
|
-
* import '@react-native-firebase/storage';
|
|
49
|
-
*
|
|
50
|
-
* // firebase.storage().X
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* @firebase storage
|
|
54
|
-
*/
|
|
55
|
-
/**
|
|
56
|
-
* @deprecated Use the exported types directly instead.
|
|
57
|
-
* FirebaseStorageTypes namespace is kept for backwards compatibility.
|
|
58
|
-
*/
|
|
59
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
60
|
-
export let FirebaseStorageTypes;
|
|
61
|
-
/**
|
|
62
|
-
* Attach namespace to `firebase.` and `FirebaseApp.`.
|
|
63
|
-
*/
|
|
64
|
-
//# sourceMappingURL=namespaced.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["FirebaseStorageTypes"],"sourceRoot":"../../../lib","sources":["types/namespaced.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA,WACiBA,oBAAoB;AAkpCrC;AACA;AACA","ignoreList":[]}
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import type { FirebaseApp } from '@react-native-firebase/app';
|
|
2
|
-
import type { FirebaseStorage, StorageReference, FullMetadata, ListResult, ListOptions, TaskResult, Task, SettableMetadata, UploadMetadata, EmulatorMockTokenOptions } from './types/storage';
|
|
3
|
-
/**
|
|
4
|
-
* Returns a Storage instance for the given app.
|
|
5
|
-
* @param app - FirebaseApp. Optional.
|
|
6
|
-
* @param bucketUrl - Storage bucket URL. Optional.
|
|
7
|
-
* @returns {Storage}
|
|
8
|
-
*/
|
|
9
|
-
export declare function getStorage(app?: FirebaseApp, bucketUrl?: string): FirebaseStorage;
|
|
10
|
-
/**
|
|
11
|
-
* Modify this Storage instance to communicate with the Firebase Storage emulator.
|
|
12
|
-
* @param storage - Storage instance.
|
|
13
|
-
* @param host - emulator host (e.g. - 'localhost')
|
|
14
|
-
* @param port - emulator port (e.g. - 9199)
|
|
15
|
-
* @param options - `EmulatorMockTokenOptions` instance. Optional. Web only.
|
|
16
|
-
* @returns {void}
|
|
17
|
-
*/
|
|
18
|
-
export declare function connectStorageEmulator(storage: FirebaseStorage, host: string, port: number, options?: EmulatorMockTokenOptions): void;
|
|
19
|
-
/**
|
|
20
|
-
* Returns a StorageReference for the given URL or path in the default bucket.
|
|
21
|
-
* @param storage - FirebaseStorage instance.
|
|
22
|
-
* @param url - Optional gs:// or https:// URL, or path. If empty, returns root reference.
|
|
23
|
-
* @returns {StorageReference}
|
|
24
|
-
*/
|
|
25
|
-
export declare function ref(storage: FirebaseStorage, url?: string): StorageReference;
|
|
26
|
-
/**
|
|
27
|
-
* Returns a StorageReference for the given path, or the same reference if path is omitted.
|
|
28
|
-
* @param storageRef - StorageReference instance.
|
|
29
|
-
* @param path - Optional child path. If omitted, returns the same reference.
|
|
30
|
-
* @returns {StorageReference}
|
|
31
|
-
*/
|
|
32
|
-
export declare function ref(storageRef: StorageReference, path?: string): StorageReference;
|
|
33
|
-
/**
|
|
34
|
-
* Deletes the object at this reference's location.
|
|
35
|
-
* @param storageRef - Storage `Reference` instance.
|
|
36
|
-
* @returns {Promise<void>}
|
|
37
|
-
*/
|
|
38
|
-
export declare function deleteObject(storageRef: StorageReference): Promise<void>;
|
|
39
|
-
/**
|
|
40
|
-
* Downloads the data at the object's location. Returns an error if the object is not found.
|
|
41
|
-
* @param _storageRef - Storage `Reference` instance.
|
|
42
|
-
* @param _maxDownloadSizeBytes - The maximum allowed size in bytes to retrieve. Web only.
|
|
43
|
-
* @returns {Promise<Blob>}
|
|
44
|
-
*/
|
|
45
|
-
export declare function getBlob(_storageRef: StorageReference, _maxDownloadSizeBytes?: number): Promise<Blob>;
|
|
46
|
-
/**
|
|
47
|
-
* Downloads the data at the object's location. Returns an error if the object is not found.
|
|
48
|
-
* @param _storageRef - Storage `Reference` instance.
|
|
49
|
-
* @param _maxDownloadSizeBytes - The maximum allowed size in bytes to retrieve. Web only.
|
|
50
|
-
* @returns {Promise<ArrayBuffer>}
|
|
51
|
-
*/
|
|
52
|
-
export declare function getBytes(_storageRef: StorageReference, _maxDownloadSizeBytes?: number): Promise<ArrayBuffer>;
|
|
53
|
-
/**
|
|
54
|
-
* Deletes the object at this reference's location.
|
|
55
|
-
* @param storageRef - Storage `Reference` instance.
|
|
56
|
-
* @returns {Promise<string>}
|
|
57
|
-
*/
|
|
58
|
-
export declare function getDownloadURL(storageRef: StorageReference): Promise<string>;
|
|
59
|
-
/**
|
|
60
|
-
* Fetches metadata for the object at this location, if one exists.
|
|
61
|
-
* @param storageRef - Storage `Reference` instance.
|
|
62
|
-
* @returns {Promise<FullMetadata>}
|
|
63
|
-
*/
|
|
64
|
-
export declare function getMetadata(storageRef: StorageReference): Promise<FullMetadata>;
|
|
65
|
-
/**
|
|
66
|
-
* Downloads the data at the object's location. This API is only available in Nodejs.
|
|
67
|
-
* @param _storageRef - Storage `Reference` instance.
|
|
68
|
-
* @param _maxDownloadSizeBytes - The maximum allowed size in bytes to retrieve. Web only.
|
|
69
|
-
* @returns {NodeJS.ReadableStream;}
|
|
70
|
-
*/
|
|
71
|
-
export declare function getStream(_storageRef: StorageReference, _maxDownloadSizeBytes?: number): NodeJS.ReadableStream;
|
|
72
|
-
/**
|
|
73
|
-
* List items (files) and prefixes (folders) under this storage reference
|
|
74
|
-
* @param storageRef - Storage `Reference` instance.
|
|
75
|
-
* @param options - Storage `ListOptions` instance. The options list() accepts.
|
|
76
|
-
* @returns {Promise<ListResult>}
|
|
77
|
-
*/
|
|
78
|
-
export declare function list(storageRef: StorageReference, options?: ListOptions): Promise<ListResult>;
|
|
79
|
-
/**
|
|
80
|
-
* List all items (files) and prefixes (folders) under this storage reference.
|
|
81
|
-
* @param storageRef - Storage `Reference` instance.
|
|
82
|
-
* @returns {Promise<ListResult>}
|
|
83
|
-
*/
|
|
84
|
-
export declare function listAll(storageRef: StorageReference): Promise<ListResult>;
|
|
85
|
-
/**
|
|
86
|
-
* Updates the metadata for this object.
|
|
87
|
-
* @param storageRef - Storage `Reference` instance.
|
|
88
|
-
* @param metadata - A Storage `SettableMetadata` instance to update.
|
|
89
|
-
* @returns {Promise<FullMetadata>}
|
|
90
|
-
*/
|
|
91
|
-
export declare function updateMetadata(storageRef: StorageReference, metadata: SettableMetadata): Promise<FullMetadata>;
|
|
92
|
-
/**
|
|
93
|
-
* Uploads data to this object's location. The upload is not resumable.
|
|
94
|
-
* @param _storageRef - Storage `Reference` instance.
|
|
95
|
-
* @param _data - The data (Blob | Uint8Array | ArrayBuffer) to upload to the storage bucket at the reference location.
|
|
96
|
-
* @param _metadata - A Storage `UploadMetadata` instance to update. Optional.
|
|
97
|
-
* @returns {Promise<TaskResult>}
|
|
98
|
-
*/
|
|
99
|
-
export declare function uploadBytes(_storageRef: StorageReference, _data: Blob | Uint8Array | ArrayBuffer, _metadata?: UploadMetadata): Promise<TaskResult>;
|
|
100
|
-
/**
|
|
101
|
-
* Uploads data to this object's location. The upload is not resumable.
|
|
102
|
-
* @param storageRef - Storage `Reference` instance.
|
|
103
|
-
* @param data - The data (Blob | Uint8Array | ArrayBuffer) to upload to the storage bucket at the reference location.
|
|
104
|
-
* @param metadata - A Storage `UploadMetadata` instance to update. Optional.
|
|
105
|
-
* @returns {Task}
|
|
106
|
-
*/
|
|
107
|
-
export declare function uploadBytesResumable(storageRef: StorageReference, data: Blob | Uint8Array | ArrayBuffer, metadata?: UploadMetadata): Task;
|
|
108
|
-
/**
|
|
109
|
-
* Uploads data to this object's location. The upload is not resumable.
|
|
110
|
-
* @param storageRef - Storage `Reference` instance.
|
|
111
|
-
* @param data - The string to upload.
|
|
112
|
-
* @param format - The format of the string to upload ('raw' | 'base64' | 'base64url' | 'data_url'). Optional.
|
|
113
|
-
* @param metadata - A Storage `UploadMetadata` instance to update. Optional.
|
|
114
|
-
* @returns {Task}
|
|
115
|
-
*/
|
|
116
|
-
export declare function uploadString(storageRef: StorageReference, data: string, format?: 'raw' | 'base64' | 'base64url' | 'data_url', metadata?: UploadMetadata): Task;
|
|
117
|
-
/**
|
|
118
|
-
* Sets the maximum time in milliseconds to retry a download if a failure occurs.. android & iOS only.
|
|
119
|
-
* @param storage - Storage instance.
|
|
120
|
-
* @param time - The new maximum operation retry time in milliseconds.
|
|
121
|
-
* @returns {Promise<void>}
|
|
122
|
-
*/
|
|
123
|
-
export declare function setMaxOperationRetryTime(storage: FirebaseStorage, time: number): Promise<void>;
|
|
124
|
-
/**
|
|
125
|
-
* Sets the maximum time in milliseconds to retry an upload if a failure occurs. android & iOS only.
|
|
126
|
-
* @param storage - Storage instance.
|
|
127
|
-
* @param time - The new maximum operation retry time in milliseconds.
|
|
128
|
-
* @returns {Promise<void>}
|
|
129
|
-
*/
|
|
130
|
-
export declare function setMaxUploadRetryTime(storage: FirebaseStorage, time: number): Promise<void>;
|
|
131
|
-
/**
|
|
132
|
-
* Puts a file from local disk onto the storage bucket.
|
|
133
|
-
* @param storageRef - Storage Reference instance.
|
|
134
|
-
* @param filePath The local file path to upload to the bucket at the reference location.
|
|
135
|
-
* @param metadata Any additional `UploadMetadata` for this task.
|
|
136
|
-
* @returns {Task}
|
|
137
|
-
*/
|
|
138
|
-
export declare function putFile(storageRef: StorageReference, filePath: string, metadata?: UploadMetadata): Task;
|
|
139
|
-
/**
|
|
140
|
-
* Downloads a file to the specified local file path on the device.
|
|
141
|
-
* @param storageRef - Storage Reference instance.
|
|
142
|
-
* @param filePath The local file path to upload to on the device.
|
|
143
|
-
* @returns {Task}
|
|
144
|
-
*/
|
|
145
|
-
export declare function writeToFile(storageRef: StorageReference, filePath: string): Task;
|
|
146
|
-
/**
|
|
147
|
-
* Sets the maximum time in milliseconds to retry a download if a failure occurs.
|
|
148
|
-
* @param storage - Storage instance.
|
|
149
|
-
* @param time - The new maximum download retry time in milliseconds.
|
|
150
|
-
* @returns {Promise<void>}
|
|
151
|
-
*/
|
|
152
|
-
export declare function setMaxDownloadRetryTime(storage: FirebaseStorage, time: number): Promise<void>;
|
|
153
|
-
export { StringFormat, TaskEvent, TaskState } from './StorageStatics';
|
|
154
|
-
//# sourceMappingURL=modular.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modular.d.ts","sourceRoot":"","sources":["../../../lib/modular.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ReactNativeFirebase } from '@react-native-firebase/app';
|
|
2
|
-
import type { FirebaseStorageTypes } from './types/namespaced';
|
|
3
|
-
export declare const SDK_VERSION = "25.0.1";
|
|
4
|
-
type StorageNamespace = ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<FirebaseStorageTypes.Module, FirebaseStorageTypes.Statics> & {
|
|
5
|
-
storage: ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<FirebaseStorageTypes.Module, FirebaseStorageTypes.Statics>;
|
|
6
|
-
firebase: ReactNativeFirebase.Module;
|
|
7
|
-
app(name?: string): ReactNativeFirebase.FirebaseApp;
|
|
8
|
-
};
|
|
9
|
-
declare const _default: StorageNamespace;
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const firebase: ReactNativeFirebase.FirebaseNamespacedExport<"storage", FirebaseStorageTypes.Module, FirebaseStorageTypes.Statics, true>;
|
|
12
|
-
//# sourceMappingURL=namespaced.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"namespaced.d.ts","sourceRoot":"","sources":["../../../lib/namespaced.ts"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAOtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAwL/D,eAAO,MAAM,WAAW,WAAU,CAAC;AAcnC,KAAK,gBAAgB,GAAG,mBAAmB,CAAC,+BAA+B,CACzE,oBAAoB,CAAC,MAAM,EAC3B,oBAAoB,CAAC,OAAO,CAC7B,GAAG;IACF,OAAO,EAAE,mBAAmB,CAAC,+BAA+B,CAC1D,oBAAoB,CAAC,MAAM,EAC3B,oBAAoB,CAAC,OAAO,CAC7B,CAAC;IACF,QAAQ,EAAE,mBAAmB,CAAC,MAAM,CAAC;IACrC,GAAG,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAC,WAAW,CAAC;CACrD,CAAC;wBAI4C,gBAAgB;AAA9D,wBAA+D;AAK/D,eAAO,MAAM,QAAQ,EACa,mBAAmB,CAAC,wBAAwB,CAC1E,SAAS,EACT,oBAAoB,CAAC,MAAM,EAC3B,oBAAoB,CAAC,OAAO,EAC5B,IAAI,CACL,CAAC"}
|