@react-native-firebase/storage 24.1.1 → 25.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.
Files changed (95) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/{lib → dist/module}/StorageDownloadTask.js +4 -3
  3. package/dist/module/StorageDownloadTask.js.map +1 -0
  4. package/{lib → dist/module}/StorageListResult.js +13 -8
  5. package/dist/module/StorageListResult.js.map +1 -0
  6. package/dist/module/StorageReference.js +270 -0
  7. package/dist/module/StorageReference.js.map +1 -0
  8. package/{lib → dist/module}/StorageStatics.js +5 -16
  9. package/dist/module/StorageStatics.js.map +1 -0
  10. package/{lib → dist/module}/StorageTask.js +82 -71
  11. package/dist/module/StorageTask.js.map +1 -0
  12. package/{lib → dist/module}/StorageUploadTask.js +4 -3
  13. package/dist/module/StorageUploadTask.js.map +1 -0
  14. package/dist/module/index.js +29 -0
  15. package/dist/module/index.js.map +1 -0
  16. package/{lib/modular/index.js → dist/module/modular.js} +65 -79
  17. package/dist/module/modular.js.map +1 -0
  18. package/dist/module/namespaced.js +192 -0
  19. package/dist/module/namespaced.js.map +1 -0
  20. package/dist/module/package.json +1 -0
  21. package/dist/module/types/internal.js +4 -0
  22. package/dist/module/types/internal.js.map +1 -0
  23. package/dist/module/types/namespaced.js +64 -0
  24. package/dist/module/types/namespaced.js.map +1 -0
  25. package/dist/module/types/storage.js +139 -0
  26. package/dist/module/types/storage.js.map +1 -0
  27. package/dist/module/utils.js +105 -0
  28. package/dist/module/utils.js.map +1 -0
  29. package/dist/module/version.js +5 -0
  30. package/dist/module/version.js.map +1 -0
  31. package/dist/module/web/RNFBStorageModule.android.js +6 -0
  32. package/dist/module/web/RNFBStorageModule.android.js.map +1 -0
  33. package/dist/module/web/RNFBStorageModule.ios.js +6 -0
  34. package/dist/module/web/RNFBStorageModule.ios.js.map +1 -0
  35. package/{lib → dist/module}/web/RNFBStorageModule.js +115 -197
  36. package/dist/module/web/RNFBStorageModule.js.map +1 -0
  37. package/dist/typescript/lib/StorageDownloadTask.d.ts +6 -0
  38. package/dist/typescript/lib/StorageDownloadTask.d.ts.map +1 -0
  39. package/dist/typescript/lib/StorageListResult.d.ts +13 -0
  40. package/dist/typescript/lib/StorageListResult.d.ts.map +1 -0
  41. package/dist/typescript/lib/StorageReference.d.ts +87 -0
  42. package/dist/typescript/lib/StorageReference.d.ts.map +1 -0
  43. package/dist/typescript/lib/StorageStatics.d.ts +2 -0
  44. package/dist/typescript/lib/StorageStatics.d.ts.map +1 -0
  45. package/dist/typescript/lib/StorageTask.d.ts +43 -0
  46. package/dist/typescript/lib/StorageTask.d.ts.map +1 -0
  47. package/dist/typescript/lib/StorageUploadTask.d.ts +6 -0
  48. package/dist/typescript/lib/StorageUploadTask.d.ts.map +1 -0
  49. package/dist/typescript/lib/index.d.ts +6 -0
  50. package/dist/typescript/lib/index.d.ts.map +1 -0
  51. package/dist/typescript/lib/modular.d.ts +154 -0
  52. package/dist/typescript/lib/modular.d.ts.map +1 -0
  53. package/dist/typescript/lib/namespaced.d.ts +12 -0
  54. package/dist/typescript/lib/namespaced.d.ts.map +1 -0
  55. package/dist/typescript/lib/types/internal.d.ts +131 -0
  56. package/dist/typescript/lib/types/internal.d.ts.map +1 -0
  57. package/dist/typescript/lib/types/namespaced.d.ts +1122 -0
  58. package/dist/typescript/lib/types/namespaced.d.ts.map +1 -0
  59. package/dist/typescript/lib/types/storage.d.ts +338 -0
  60. package/dist/typescript/lib/types/storage.d.ts.map +1 -0
  61. package/dist/typescript/lib/utils.d.ts +20 -0
  62. package/dist/typescript/lib/utils.d.ts.map +1 -0
  63. package/dist/typescript/lib/version.d.ts +2 -0
  64. package/dist/typescript/lib/version.d.ts.map +1 -0
  65. package/dist/typescript/lib/web/RNFBStorageModule.android.d.ts +3 -0
  66. package/dist/typescript/lib/web/RNFBStorageModule.android.d.ts.map +1 -0
  67. package/dist/typescript/lib/web/RNFBStorageModule.d.ts +142 -0
  68. package/dist/typescript/lib/web/RNFBStorageModule.d.ts.map +1 -0
  69. package/dist/typescript/lib/web/RNFBStorageModule.ios.d.ts +3 -0
  70. package/dist/typescript/lib/web/RNFBStorageModule.ios.d.ts.map +1 -0
  71. package/dist/typescript/package.json +1 -0
  72. package/lib/StorageDownloadTask.ts +30 -0
  73. package/lib/StorageListResult.ts +61 -0
  74. package/lib/{StorageReference.js → StorageReference.ts} +103 -61
  75. package/lib/StorageStatics.ts +19 -0
  76. package/lib/StorageTask.ts +336 -0
  77. package/lib/StorageUploadTask.ts +30 -0
  78. package/lib/index.ts +27 -0
  79. package/lib/modular.ts +401 -0
  80. package/lib/{index.js → namespaced.ts} +70 -28
  81. package/lib/types/internal.ts +189 -0
  82. package/lib/{index.d.ts → types/namespaced.ts} +111 -49
  83. package/lib/types/storage.ts +417 -0
  84. package/lib/{utils.js → utils.ts} +62 -15
  85. package/lib/version.ts +2 -0
  86. package/lib/web/RNFBStorageModule.android.ts +3 -0
  87. package/lib/web/RNFBStorageModule.ios.ts +3 -0
  88. package/lib/web/RNFBStorageModule.ts +557 -0
  89. package/package.json +41 -7
  90. package/tsconfig.json +23 -0
  91. package/typedoc.json +1 -1
  92. package/lib/modular/index.d.ts +0 -276
  93. package/lib/version.js +0 -2
  94. package/lib/web/RNFBStorageModule.android.js +0 -2
  95. package/lib/web/RNFBStorageModule.ios.js +0 -2
@@ -0,0 +1,87 @@
1
+ import { ReferenceBase } from '@react-native-firebase/app/dist/module/common';
2
+ import StorageListResult from './StorageListResult';
3
+ import { StringFormat } from './StorageStatics';
4
+ import type { StorageReference, SettableMetadata, UploadMetadata, ListOptions, FullMetadata, Task, FirebaseStorage } from './types/storage';
5
+ import type { StorageInternal } from './types/internal';
6
+ export default class Reference extends ReferenceBase implements StorageReference {
7
+ _storage: StorageInternal;
8
+ constructor(storage: StorageInternal, path: string);
9
+ /**
10
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#bucket
11
+ */
12
+ get bucket(): string;
13
+ /**
14
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#fullPath
15
+ */
16
+ get fullPath(): string;
17
+ /**
18
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#name
19
+ */
20
+ get name(): string;
21
+ /**
22
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#parent
23
+ */
24
+ get parent(): StorageReference | null;
25
+ /**
26
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#root
27
+ */
28
+ get root(): StorageReference;
29
+ /**
30
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#storage
31
+ */
32
+ get storage(): FirebaseStorage;
33
+ /**
34
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#child
35
+ */
36
+ child(path: string): StorageReference;
37
+ /**
38
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#delete
39
+ */
40
+ delete(): Promise<void>;
41
+ /**
42
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#getDownloadURL
43
+ */
44
+ getDownloadURL(): Promise<string>;
45
+ /**
46
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#getMetadata
47
+ */
48
+ getMetadata(): Promise<FullMetadata>;
49
+ /**
50
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#list
51
+ */
52
+ list(options?: ListOptions): Promise<StorageListResult>;
53
+ /**
54
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#listAll
55
+ */
56
+ listAll(): Promise<StorageListResult>;
57
+ /**
58
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#put
59
+ */
60
+ put(data: Blob | Uint8Array | ArrayBuffer, metadata?: UploadMetadata): Task;
61
+ /**
62
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#putString
63
+ */
64
+ putString(string: string, format?: (typeof StringFormat)[keyof typeof StringFormat], metadata?: UploadMetadata): Task;
65
+ /**
66
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#fullPath
67
+ */
68
+ toString(): string;
69
+ /**
70
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference#updateMetadata
71
+ */
72
+ updateMetadata(metadata: SettableMetadata): Promise<FullMetadata>;
73
+ /**
74
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference
75
+ */
76
+ writeToFile(filePath: string): Task;
77
+ /**
78
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.Reference
79
+ */
80
+ putFile(filePath: string, metadata?: UploadMetadata): Task;
81
+ _updateString(string: string, format: (typeof StringFormat)[keyof typeof StringFormat], metadata: UploadMetadata | undefined, update?: boolean): {
82
+ _string: string;
83
+ _format: string;
84
+ _metadata: UploadMetadata | undefined;
85
+ };
86
+ }
87
+ //# sourceMappingURL=StorageReference.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StorageReference.d.ts","sourceRoot":"","sources":["../../../lib/StorageReference.ts"],"names":[],"mappings":"AAiBA,OAAO,EAYL,aAAa,EAGd,MAAM,+CAA+C,CAAC;AAEvD,OAAO,iBAAmD,MAAM,qBAAqB,CAAC;AACtF,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGhD,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,eAAe,EAChB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAsB,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAE5E,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,aAAc,YAAW,gBAAgB;IAC9E,QAAQ,EAAE,eAAe,CAAC;gBAEd,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM;IAKlD;;OAEG;IACH,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED;;OAEG;IACH,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;OAEG;IACH,IAAI,MAAM,I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;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,cAAc,GAAG,SAAS,CAAA;KAAE;CA6C/E"}
@@ -0,0 +1,2 @@
1
+ export { StringFormat, TaskEvent, TaskState } from './types/storage';
2
+ //# sourceMappingURL=StorageStatics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StorageStatics.d.ts","sourceRoot":"","sources":["../../../lib/StorageStatics.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,43 @@
1
+ import { TaskEvent } from './StorageStatics';
2
+ import type { ReactNativeFirebase } from '@react-native-firebase/app';
3
+ import type { StorageObserver, StorageReference, Subscribe, TaskSnapshot, Unsubscribe } from './types/storage';
4
+ import type { StorageInternal } from './types/internal';
5
+ type TaskEventType = (typeof TaskEvent)[keyof typeof TaskEvent];
6
+ export default class StorageTask {
7
+ _type: string;
8
+ _id: number;
9
+ _promise: Promise<TaskSnapshot> | null;
10
+ _ref: StorageReference;
11
+ _beginTask: (task: StorageTask) => Promise<TaskSnapshot>;
12
+ _storage: StorageInternal;
13
+ _snapshot: TaskSnapshot;
14
+ constructor(type: string, storageRef: StorageReference, beginTaskFn: (task: StorageTask) => Promise<TaskSnapshot>);
15
+ /**
16
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.UploadTask#then
17
+ */
18
+ get then(): (onFulfilled?: ((snapshot: TaskSnapshot) => TaskSnapshot) | null, onRejected?: ((error: ReactNativeFirebase.NativeFirebaseError) => any) | null) => Promise<TaskSnapshot>;
19
+ /**
20
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.UploadTask#catch
21
+ */
22
+ get catch(): (onRejected: (error: ReactNativeFirebase.NativeFirebaseError) => any) => Promise<any>;
23
+ get snapshot(): TaskSnapshot;
24
+ /**
25
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.UploadTask#on
26
+ */
27
+ on(event: TaskEventType): Subscribe<TaskSnapshot>;
28
+ on(event: TaskEventType, nextOrObserver?: StorageObserver<TaskSnapshot> | null | ((snapshot: TaskSnapshot) => unknown), error?: ((error: ReactNativeFirebase.NativeFirebaseError) => unknown) | null, complete?: (() => unknown) | null): Unsubscribe;
29
+ /**
30
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.UploadTask#pause
31
+ */
32
+ pause(): Promise<boolean>;
33
+ /**
34
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.UploadTask#pause
35
+ */
36
+ resume(): Promise<boolean>;
37
+ /**
38
+ * @url https://firebase.google.com/docs/reference/js/firebase.storage.UploadTask#cancel
39
+ */
40
+ cancel(): Promise<boolean>;
41
+ }
42
+ export {};
43
+ //# sourceMappingURL=StorageTask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StorageTask.d.ts","sourceRoot":"","sources":["../../../lib/StorageTask.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,KAAK,EAEV,eAAe,EACf,gBAAgB,EAChB,SAAS,EAET,YAAY,EACZ,WAAW,EACZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAA4B,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAIlF,KAAK,aAAa,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAoJhE,MAAM,CAAC,OAAO,OAAO,WAAW;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;IACvC,IAAI,EAAE,gBAAgB,CAAC;IACvB,UAAU,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC,YAAY,CAA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 +1,6 @@
1
+ import StorageTask from './StorageTask';
2
+ import type { StorageReference, TaskSnapshot } from './types/storage';
3
+ export default class StorageUploadTask extends StorageTask {
4
+ constructor(storageRef: StorageReference, beginTaskFn: (task: StorageTask) => Promise<TaskSnapshot>);
5
+ }
6
+ //# sourceMappingURL=StorageUploadTask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StorageUploadTask.d.ts","sourceRoot":"","sources":["../../../lib/StorageUploadTask.ts"],"names":[],"mappings":"AAiBA,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAItE,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,WAAW;gBAEtD,UAAU,EAAE,gBAAgB,EAC5B,WAAW,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAO,CAAC,YAAY,CAAC;CAI5D"}
@@ -0,0 +1,6 @@
1
+ export type * from './types/storage';
2
+ export * from './modular';
3
+ export type { FirebaseStorageTypes } from './types/namespaced';
4
+ export * from './namespaced';
5
+ export { default } from './namespaced';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/index.ts"],"names":[],"mappings":"AAkBA,mBAAmB,iBAAiB,CAAC;AAGrC,cAAc,WAAW,CAAC;AAG1B,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,154 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modular.d.ts","sourceRoot":"","sources":["../../../lib/modular.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,WAAW,EACX,UAAU,EACV,IAAI,EACJ,gBAAgB,EAChB,cAAc,EACd,wBAAwB,EACzB,MAAM,iBAAiB,CAAC;AAezB;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,GAAG,CAAC,EAAE,WAAW,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,eAAe,CAcjF;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,eAAe,EACxB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,wBAAwB,GACjC,IAAI,CAMN;AAED;;;;;GAKG;AACH,wBAAgB,GAAG,CAAC,OAAO,EAAE,eAAe,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAC;AAC9E;;;;;GAKG;AACH,wBAAgB,GAA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,WAAW,EACtC,SAAS,CAAC,EAAE,cAAc,GACzB,OAAO,CAAC,UAAU,CAAC,CAErB;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,gBAAgB,EAC5B,IAAI,EAAE,IAAI,GAAG,UAAU,GAAG,WAAW,EACrC,QAAQ,CAAC,EAAE,cAAc,GACxB,IAAI,CAMN;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAC1B,UAAU,EAAE,gBAAgB,EAC5B,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,EACpD,QAAQ,CAAC,EAAE,cAAc,GACxB,IAAI,CAMN;AAID;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAM9F;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAM3F;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CACrB,UAAU,EAAE,gBAAgB,EAC5B,QAAQ,EAAE,MAAM,EAChB,QAAQ,CAAC,EAAE,cAAc,GACxB,IAAI,CAMN;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAMhF;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAM7F;AAED,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { ReactNativeFirebase } from '@react-native-firebase/app';
2
+ import type { FirebaseStorageTypes } from './types/namespaced';
3
+ export declare const SDK_VERSION = "25.0.0";
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,131 @@
1
+ import type { ModuleConfig } from '@react-native-firebase/app/dist/module/types/internal';
2
+ import type { FirebaseStorage, StorageReference, EmulatorMockTokenOptions, SettableMetadata, UploadMetadata, Task, TaskSnapshot, FullMetadata, ListResult, ListOptions } from './storage';
3
+ import type EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter';
4
+ /**
5
+ * Internal Storage type with access to private properties.
6
+ * Used internally by StorageReference and other internal classes.
7
+ */
8
+ export type StorageInternal = FirebaseStorage & {
9
+ native: RNFBStorageModule;
10
+ _customUrlOrRegion: string | null;
11
+ emitter: EventEmitter;
12
+ eventNameForApp: (...args: Array<string | number>) => string;
13
+ _config: ModuleConfig;
14
+ /**
15
+ * Returns a reference to the object at the specified path.
16
+ *
17
+ * @param path - An optional string pointing to a location on the storage bucket. If no path
18
+ * is provided, the returned reference will be the bucket root path.
19
+ */
20
+ ref(path?: string): StorageReference;
21
+ /**
22
+ * Returns a reference to the object at the specified URL.
23
+ *
24
+ * @param url - A storage bucket URL pointing to a single file or location. Must be either a `gs://` url or an `http` url.
25
+ */
26
+ refFromURL(url: string): StorageReference;
27
+ /**
28
+ * Sets the maximum time in milliseconds to retry operations if a failure occurs.
29
+ *
30
+ * @param time - The new maximum operation retry time in milliseconds.
31
+ */
32
+ setMaxOperationRetryTime(time: number): Promise<void>;
33
+ /**
34
+ * Sets the maximum time in milliseconds to retry an upload if a failure occurs.
35
+ *
36
+ * @param time - The new maximum upload retry time in milliseconds.
37
+ */
38
+ setMaxUploadRetryTime(time: number): Promise<void>;
39
+ /**
40
+ * Sets the maximum time in milliseconds to retry a download if a failure occurs.
41
+ *
42
+ * @param time - The new maximum download retry time in milliseconds.
43
+ */
44
+ setMaxDownloadRetryTime(time: number): Promise<void>;
45
+ /**
46
+ * Changes this instance to point to a Cloud Storage emulator running locally.
47
+ *
48
+ * @param host - The host of the emulator, e.g. "localhost" or "10.0.2.2" for Android.
49
+ * @param port - The port of the emulator, e.g. 9199.
50
+ * @param options - Optional settings for the emulator connection (web only).
51
+ * @returns {void} - Undocumented return, just used to unit test android host remapping.
52
+ */
53
+ useEmulator(host: string, port: number, options?: EmulatorMockTokenOptions): void;
54
+ };
55
+ /**
56
+ * Internal Reference type with access to private properties.
57
+ * Used internally by StorageTask and other internal classes.
58
+ */
59
+ export type StorageReferenceInternal = StorageReference & {
60
+ _storage: StorageInternal;
61
+ child(path: string): StorageReference;
62
+ delete(): Promise<void>;
63
+ getDownloadURL(): Promise<string>;
64
+ getMetadata(): Promise<FullMetadata>;
65
+ list(options?: ListOptions): Promise<ListResult>;
66
+ listAll(): Promise<ListResult>;
67
+ put(data: Blob | Uint8Array | ArrayBuffer, metadata?: UploadMetadata): Task;
68
+ putString(string: string, format?: 'raw' | 'base64' | 'base64url' | 'data_url', metadata?: UploadMetadata): Task;
69
+ updateMetadata(metadata: SettableMetadata): Promise<FullMetadata>;
70
+ writeToFile(filePath: string): Task;
71
+ putFile(filePath: string, metadata?: UploadMetadata): Task;
72
+ };
73
+ /**
74
+ * Internal ListResult type with access to private properties.
75
+ * Used internally by StorageListResult and other internal classes.
76
+ */
77
+ export type ListResultInternal = {
78
+ nextPageToken?: string | null;
79
+ items: string[];
80
+ prefixes: string[];
81
+ };
82
+ /**
83
+ * Wrapped native module interface for Storage.
84
+ *
85
+ * Note: React Native Firebase internally wraps native methods and auto-prepends the app name
86
+ * when `hasMultiAppSupport` is enabled. This interface represents the *wrapped* module shape
87
+ * that is exposed as `this.native` within FirebaseModule subclasses.
88
+ */
89
+ export interface RNFBStorageModule {
90
+ /**
91
+ * Native constants exposed on the module.
92
+ * These are read during module construction to seed the JS-side values.
93
+ */
94
+ maxUploadRetryTime?: number;
95
+ maxDownloadRetryTime?: number;
96
+ maxOperationRetryTime?: number;
97
+ setMaxOperationRetryTime(time: number): Promise<void>;
98
+ setMaxUploadRetryTime(time: number): Promise<void>;
99
+ setMaxDownloadRetryTime(time: number): Promise<void>;
100
+ delete(url: string): Promise<void>;
101
+ getDownloadURL(url: string): Promise<string>;
102
+ getMetadata(url: string): Promise<FullMetadata>;
103
+ updateMetadata(url: string, metadata: SettableMetadata): Promise<FullMetadata>;
104
+ list(url: string, options: {
105
+ maxResults: number;
106
+ pageToken?: string;
107
+ }): Promise<ListResultInternal>;
108
+ listAll(url: string): Promise<ListResultInternal>;
109
+ putString(url: string, data: string, format: string, metadata: UploadMetadata | undefined, taskId: number): Promise<TaskSnapshot>;
110
+ putFile(url: string, filePath: string, metadata: UploadMetadata | undefined, taskId: number): Promise<TaskSnapshot>;
111
+ writeToFile(url: string, filePath: string, taskId: number): Promise<TaskSnapshot>;
112
+ /**
113
+ * Set a running task status.
114
+ * - 0: pause
115
+ * - 1: resume
116
+ * - 2: cancel
117
+ */
118
+ setTaskStatus(taskId: number, status: number): Promise<boolean>;
119
+ /**
120
+ * Configure storage emulator.
121
+ *
122
+ * iOS does not persist emulator state between calls, so JS sends bucket/customUrlOrRegion through.
123
+ */
124
+ useEmulator(host: string, port: number, customUrlOrRegion?: string | null): void;
125
+ }
126
+ declare module '@react-native-firebase/app/dist/module/internal/NativeModules' {
127
+ interface ReactNativeFirebaseNativeModules {
128
+ RNFBStorageModule: RNFBStorageModule;
129
+ }
130
+ }
131
+ //# sourceMappingURL=internal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../../lib/types/internal.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uDAAuD,CAAC;AAC1F,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,wBAAwB,EACxB,gBAAgB,EAChB,cAAc,EACd,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,WAAW,EACZ,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,YAAY,MAAM,oDAAoD,CAAC;AAEnF;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,eAAe,GAAG;IAC9C,MAAM,EAAE,iBAAiB,CAAC;IAC1B,kBAAk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