@edgedev/firebase 2.1.53 → 2.1.55
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/edgeFirebase.ts +4 -3
- package/package.json +1 -1
package/edgeFirebase.ts
CHANGED
|
@@ -2137,11 +2137,12 @@ export const EdgeFirebase = class {
|
|
|
2137
2137
|
fileSize: file.size,
|
|
2138
2138
|
directory: filePath,
|
|
2139
2139
|
filePath: '',
|
|
2140
|
-
|
|
2140
|
+
r2FilePath: '',
|
|
2141
2141
|
r2URL: '',
|
|
2142
2142
|
isPublic: isPublic,
|
|
2143
2143
|
toR2: toR2,
|
|
2144
2144
|
uploadCompleted: false,
|
|
2145
|
+
uploadTime: new Date().getTime(),
|
|
2145
2146
|
};
|
|
2146
2147
|
|
|
2147
2148
|
const result: any = await this.runFunction("edgeFirebase-addUpdateFileDoc", fileDoc);
|
|
@@ -2162,11 +2163,11 @@ export const EdgeFirebase = class {
|
|
|
2162
2163
|
contentType: file.type,
|
|
2163
2164
|
fileName: file.name,
|
|
2164
2165
|
name: file.name,
|
|
2165
|
-
fileSize: file.size,
|
|
2166
|
+
fileSize: file.size.toString(),
|
|
2166
2167
|
directory: filePath,
|
|
2167
2168
|
fileDocId: fileDocId,
|
|
2168
2169
|
filePath: tempFilePath,
|
|
2169
|
-
|
|
2170
|
+
r2FilePath: '',
|
|
2170
2171
|
r2URL: '',
|
|
2171
2172
|
isPublic: isPublic ? 'true' : '',
|
|
2172
2173
|
toR2: toR2 ? 'true' : '',
|