Deployed the page to Github Pages.
This commit is contained in:
parent
1d79754e93
commit
2c89899458
62797 changed files with 6551425 additions and 15279 deletions
17
node_modules/@firebase/storage/dist/node-esm/test/browser/blob.test.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/storage/dist/node-esm/test/browser/blob.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {};
|
17
node_modules/@firebase/storage/dist/node-esm/test/browser/connection.test.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/storage/dist/node-esm/test/browser/connection.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2021 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {};
|
17
node_modules/@firebase/storage/dist/node-esm/test/browser/string.browser.test.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/storage/dist/node-esm/test/browser/string.browser.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2022 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {};
|
24
node_modules/@firebase/storage/dist/node-esm/test/integration/integration.test.d.ts
generated
vendored
Normal file
24
node_modules/@firebase/storage/dist/node-esm/test/integration/integration.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2020 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { FirebaseApp } from '@firebase/app';
|
||||
import * as types from '../../src/public-types';
|
||||
export declare const PROJECT_ID: any;
|
||||
export declare const STORAGE_BUCKET: any;
|
||||
export declare const API_KEY: any;
|
||||
export declare const AUTH_DOMAIN: any;
|
||||
export declare function createApp(): Promise<FirebaseApp>;
|
||||
export declare function createStorage(app: FirebaseApp): types.FirebaseStorage;
|
17
node_modules/@firebase/storage/dist/node-esm/test/node/connection.test.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/storage/dist/node-esm/test/node/connection.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2021 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {};
|
17
node_modules/@firebase/storage/dist/node-esm/test/node/stream.test.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/storage/dist/node-esm/test/node/stream.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2021 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {};
|
47
node_modules/@firebase/storage/dist/node-esm/test/unit/connection.d.ts
generated
vendored
Normal file
47
node_modules/@firebase/storage/dist/node-esm/test/unit/connection.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,47 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2017 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { ErrorCode, Headers, Connection } from '../../src/implementation/connection';
|
||||
export declare type SendHook = (connection: TestingConnection, url: string, method: string, body?: ArrayBufferView | Blob | string | null, headers?: Headers) => void;
|
||||
export declare enum State {
|
||||
START = 0,
|
||||
SENT = 1,
|
||||
DONE = 2
|
||||
}
|
||||
export declare class TestingConnection implements Connection<string> {
|
||||
private state;
|
||||
private sendPromise;
|
||||
private resolve;
|
||||
private sendHook;
|
||||
private status;
|
||||
private responseText;
|
||||
private headers;
|
||||
private errorCode;
|
||||
constructor(sendHook: SendHook | null);
|
||||
send(url: string, method: string, body?: ArrayBufferView | Blob | string | null, headers?: Headers): Promise<void>;
|
||||
simulateResponse(status: number, body: string, headers: {
|
||||
[key: string]: string;
|
||||
}): void;
|
||||
getErrorCode(): ErrorCode;
|
||||
getStatus(): number;
|
||||
getResponse(): string;
|
||||
getErrorText(): string;
|
||||
abort(): void;
|
||||
getResponseHeader(header: string): string | null;
|
||||
addUploadProgressListener(): void;
|
||||
removeUploadProgressListener(): void;
|
||||
}
|
||||
export declare function newTestConnection(sendHook?: SendHook | null): Connection<string>;
|
4
node_modules/@firebase/storage/dist/node-esm/test/unit/index.test.d.ts
generated
vendored
Normal file
4
node_modules/@firebase/storage/dist/node-esm/test/unit/index.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
export declare const PROJECT_ID: any;
|
||||
export declare const STORAGE_BUCKET: any;
|
||||
export declare const API_KEY: any;
|
||||
export declare const AUTH_DOMAIN: any;
|
1
node_modules/@firebase/storage/dist/node-esm/test/unit/location.test.d.ts
generated
vendored
Normal file
1
node_modules/@firebase/storage/dist/node-esm/test/unit/location.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
1
node_modules/@firebase/storage/dist/node-esm/test/unit/reference.test.d.ts
generated
vendored
Normal file
1
node_modules/@firebase/storage/dist/node-esm/test/unit/reference.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
1
node_modules/@firebase/storage/dist/node-esm/test/unit/request.test.d.ts
generated
vendored
Normal file
1
node_modules/@firebase/storage/dist/node-esm/test/unit/request.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
1
node_modules/@firebase/storage/dist/node-esm/test/unit/requests.test.d.ts
generated
vendored
Normal file
1
node_modules/@firebase/storage/dist/node-esm/test/unit/requests.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
1
node_modules/@firebase/storage/dist/node-esm/test/unit/service.test.d.ts
generated
vendored
Normal file
1
node_modules/@firebase/storage/dist/node-esm/test/unit/service.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
1
node_modules/@firebase/storage/dist/node-esm/test/unit/string.test.d.ts
generated
vendored
Normal file
1
node_modules/@firebase/storage/dist/node-esm/test/unit/string.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
1
node_modules/@firebase/storage/dist/node-esm/test/unit/task.test.d.ts
generated
vendored
Normal file
1
node_modules/@firebase/storage/dist/node-esm/test/unit/task.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export {};
|
60
node_modules/@firebase/storage/dist/node-esm/test/unit/testshared.d.ts
generated
vendored
Normal file
60
node_modules/@firebase/storage/dist/node-esm/test/unit/testshared.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,60 @@
|
|||
import { FirebaseApp } from '@firebase/app-types';
|
||||
import { StorageError } from '../../src/implementation/error';
|
||||
import { Headers, Connection, ConnectionType } from '../../src/implementation/connection';
|
||||
import { FirebaseAuthInternalName } from '@firebase/auth-interop-types';
|
||||
import { Provider } from '@firebase/component';
|
||||
import { AppCheckInternalComponentName } from '@firebase/app-check-interop-types';
|
||||
import { FirebaseStorageImpl } from '../../src/service';
|
||||
import { Metadata } from '../../src/metadata';
|
||||
export declare const authToken = "totally-legit-auth-token";
|
||||
export declare const appCheckToken = "totally-shady-token";
|
||||
export declare const bucket = "mybucket";
|
||||
export declare const fakeApp: FirebaseApp;
|
||||
export declare const fakeAuthProvider: Provider<"auth-internal">;
|
||||
export declare const emptyAuthProvider: Provider<"auth-internal">;
|
||||
export declare const fakeAppCheckTokenProvider: Provider<"app-check-internal">;
|
||||
export declare function makeFakeApp(bucketArg?: string): FirebaseApp;
|
||||
export declare function makeFakeAuthProvider(token: {
|
||||
accessToken: string;
|
||||
}): Provider<FirebaseAuthInternalName>;
|
||||
export declare function makeFakeAppCheckProvider(tokenResult: {
|
||||
token: string;
|
||||
}): Provider<AppCheckInternalComponentName>;
|
||||
/**
|
||||
* Returns something that looks like an fbs.XhrIo with the given headers
|
||||
* and status.
|
||||
*/
|
||||
export declare function fakeXhrIo<I extends ConnectionType = string>(headers: Headers, status?: number): Connection<I>;
|
||||
/**
|
||||
* Binds ignoring types. Used to test calls involving improper arguments.
|
||||
*/
|
||||
export declare function bind(f: Function, ctx: any, ...args: any[]): () => void;
|
||||
export declare function assertThrows(f: () => void, code: string): StorageError;
|
||||
export declare function assertUint8ArrayEquals(arr1: Uint8Array, arr2: Uint8Array): void;
|
||||
export declare function assertObjectIncludes(included: {
|
||||
[name: string]: any;
|
||||
}, obj: {
|
||||
[name: string]: any;
|
||||
}): void;
|
||||
interface Response {
|
||||
status: number;
|
||||
body: string;
|
||||
headers: Headers;
|
||||
}
|
||||
export declare type RequestHandler = (url: string, method: string, body?: ArrayBufferView | Blob | string | null, headers?: Headers) => Response;
|
||||
export declare function storageServiceWithHandler(handler: RequestHandler, shouldResponseCb?: () => boolean): FirebaseStorageImpl;
|
||||
export declare function fakeServerHandler(fakeMetadata?: Partial<Metadata>): RequestHandler;
|
||||
/**
|
||||
* Responds with a 503 for finalize.
|
||||
* @param fakeMetadata metadata to respond with for finalize
|
||||
* @returns a handler for requests
|
||||
*/
|
||||
export declare function fake503ForFinalizeServerHandler(fakeMetadata?: Partial<Metadata>): RequestHandler;
|
||||
/**
|
||||
* Responds with a 503 for upload.
|
||||
* @param fakeMetadata metadata to respond with for query
|
||||
* @returns a handler for requests
|
||||
*/
|
||||
export declare function fake503ForUploadServerHandler(fakeMetadata?: Partial<Metadata>, cb?: () => void): RequestHandler;
|
||||
export declare function fakeOneShot503ServerHandler(fakeMetadata?: Partial<Metadata>): RequestHandler;
|
||||
export {};
|
17
node_modules/@firebase/storage/dist/node-esm/test/unit/utils.test.d.ts
generated
vendored
Normal file
17
node_modules/@firebase/storage/dist/node-esm/test/unit/utils.test.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright 2022 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {};
|
Loading…
Add table
Add a link
Reference in a new issue