-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into note-import-export
- Loading branch information
Showing
26 changed files
with
168 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
VITE_FIREBASE_API_KEY=doesnotexist | ||
VITE_FIREBASE_PROJECT_ID=demo-test | ||
VITE_FIREBASE_STORAGE_BUCKET=demo-test.appspot.com | ||
NODE_ENV=development |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import {signInWithEmailAndPassword} from 'firebase/auth'; | ||
import {auth} from '../firebase'; | ||
|
||
export default function DevSignIn() { | ||
return ( | ||
<div className="flex flex-col items-center"> | ||
<div className="text-red-600"> | ||
This button only exists on emulator mode builds. | ||
</div> | ||
<button | ||
type="button" | ||
className="btn" | ||
onClick={() => { | ||
void signInWithEmailAndPassword( | ||
auth, | ||
'test@doesnotexist.com', | ||
'123456', | ||
); | ||
}} | ||
> | ||
Sign In with Test Account | ||
</button> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"kind":"identitytoolkit#DownloadAccountResponse","users":[{"localId":"8xv74jU1Ac5srObCVP2QphcQ6emp","createdAt":"1689154854814","lastLoginAt":"1689160869623","displayName":"","photoUrl":"","passwordHash":"fakeHash:salt=fakeSaltQvugFwADIS9rqdVcbniJ:password=123456","salt":"fakeSaltQvugFwADIS9rqdVcbniJ","passwordUpdatedAt":1689160862685,"providerUserInfo":[{"providerId":"password","email":"test@doesnotexist.com","federatedId":"test@doesnotexist.com","rawId":"test@doesnotexist.com","displayName":"","photoUrl":""}],"validSince":"1689160862","email":"test@doesnotexist.com","emailVerified":false,"disabled":false,"lastRefreshAt":"2023-07-12T11:21:09.623Z"}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"signIn":{"allowDuplicateEmails":false}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"version": "12.4.3", | ||
"firestore": { | ||
"version": "1.18.1", | ||
"path": "firestore_export", | ||
"metadata_file": "firestore_export/firestore_export.overall_export_metadata" | ||
}, | ||
"auth": { | ||
"version": "12.4.3", | ||
"path": "auth_export" | ||
}, | ||
"storage": { | ||
"version": "12.4.3", | ||
"path": "storage_export" | ||
} | ||
} |
Binary file added
BIN
+52 Bytes
test-data/firestore_export/all_namespaces/all_kinds/all_namespaces_all_kinds.export_metadata
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"buckets": [ | ||
{ | ||
"id": "demo-test.appspot.com" | ||
} | ||
] | ||
} |
20 changes: 20 additions & 0 deletions
20
test-data/storage_export/metadata/1f9c89da-f5fe-4155-8850-ce0500b40c32.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "presentations/9jzgjgn3zXnbUY7eJj5h/002_2RqsUw7RZMRZMdFCw2BOi.webp", | ||
"bucket": "demo-test.appspot.com", | ||
"metageneration": 1, | ||
"generation": 1689160590613, | ||
"contentType": "image/webp", | ||
"storageClass": "STANDARD", | ||
"contentDisposition": "inline", | ||
"cacheControl": "public, max-age=604800, immutable", | ||
"downloadTokens": [ | ||
"72128112-dcb6-486c-9004-6c578129a247" | ||
], | ||
"etag": "Pcmbnb/ia7IVvKByJiFXteq7wNs", | ||
"customMetadata": {}, | ||
"timeCreated": "2023-07-12T11:16:30.613Z", | ||
"updated": "2023-07-12T11:16:30.613Z", | ||
"size": 7382, | ||
"md5Hash": "c74UGqmyp7MgaaRY4uVJuw==", | ||
"crc32c": "1162502542" | ||
} |
20 changes: 20 additions & 0 deletions
20
test-data/storage_export/metadata/6eb9c85e-f29c-4160-8191-751658920aee.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "presentations/9jzgjgn3zXnbUY7eJj5h/000_9TK4Ccd6MhAkvKuVI0rYa.webp", | ||
"bucket": "demo-test.appspot.com", | ||
"metageneration": 1, | ||
"generation": 1689160590397, | ||
"contentType": "image/webp", | ||
"storageClass": "STANDARD", | ||
"contentDisposition": "inline", | ||
"cacheControl": "public, max-age=604800, immutable", | ||
"downloadTokens": [ | ||
"0c423914-a73f-4c1a-bc96-59532b548d93" | ||
], | ||
"etag": "7J1xM1VzsueiIjJCdhD8kuV211Q", | ||
"customMetadata": {}, | ||
"timeCreated": "2023-07-12T11:16:30.397Z", | ||
"updated": "2023-07-12T11:16:30.397Z", | ||
"size": 12100, | ||
"md5Hash": "bxARG6lhZ5e6TLkbPUgsWg==", | ||
"crc32c": "1655021759" | ||
} |
20 changes: 20 additions & 0 deletions
20
test-data/storage_export/metadata/7175f126-9a39-454f-a81d-f930d6417ebb.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "presentations/9jzgjgn3zXnbUY7eJj5h/z_kSDVjTQXem8cwS88jlP.pdf", | ||
"bucket": "demo-test.appspot.com", | ||
"metageneration": 1, | ||
"generation": 1689160589927, | ||
"contentType": "application/pdf", | ||
"storageClass": "STANDARD", | ||
"contentDisposition": "inline", | ||
"cacheControl": "public;max-age=604800", | ||
"downloadTokens": [ | ||
"c3344610-9fa3-49d9-acd1-b3538d046234" | ||
], | ||
"etag": "kurT2U7ED0PLH2nk6CZ6X4MnlMA", | ||
"customMetadata": {}, | ||
"timeCreated": "2023-07-12T11:16:29.927Z", | ||
"updated": "2023-07-12T11:16:29.927Z", | ||
"size": 18597, | ||
"md5Hash": "aUyWgatDVA4L2ZuFlrvGKw==", | ||
"crc32c": "327831818" | ||
} |
20 changes: 20 additions & 0 deletions
20
test-data/storage_export/metadata/8b2b591a-bebe-42b3-b0a0-3e2752d39f62.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "presentations/9jzgjgn3zXnbUY7eJj5h/001_DKQpEpn99enBJ8cBYeCui.webp", | ||
"bucket": "demo-test.appspot.com", | ||
"metageneration": 1, | ||
"generation": 1689160590510, | ||
"contentType": "image/webp", | ||
"storageClass": "STANDARD", | ||
"contentDisposition": "inline", | ||
"cacheControl": "public, max-age=604800, immutable", | ||
"downloadTokens": [ | ||
"da5ca447-630b-4787-a98e-d2ab4e2ed207" | ||
], | ||
"etag": "fTVOvHzTrf0uMtUGw1e3TuXNOAY", | ||
"customMetadata": {}, | ||
"timeCreated": "2023-07-12T11:16:30.510Z", | ||
"updated": "2023-07-12T11:16:30.510Z", | ||
"size": 7248, | ||
"md5Hash": "LuDCdu7PnOLkBgWGEfHToQ==", | ||
"crc32c": "1166286266" | ||
} |