summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@firebase/storage/dist/src/implementation
diff options
context:
space:
mode:
Diffstat (limited to 'frontend-old/node_modules/@firebase/storage/dist/src/implementation')
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/async.d.ts22
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/backoff.d.ts43
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/blob.d.ts34
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/connection.d.ts56
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/constants.d.ts48
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/error.d.ts126
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/failrequest.d.ts29
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/fs.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/json.d.ts7
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/list.d.ts19
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/location.d.ts32
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/metadata.d.ts40
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/observer.d.ts47
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/path.d.ts31
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/request.d.ts47
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/requestinfo.d.ts73
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/requests.d.ts84
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/string.d.ts73
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/taskenums.d.ts77
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/type.d.ts23
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/url.d.ts22
-rw-r--r--frontend-old/node_modules/@firebase/storage/dist/src/implementation/utils.d.ts23
22 files changed, 0 insertions, 973 deletions
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/async.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/async.d.ts
deleted file mode 100644
index 9d01868..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/async.d.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * @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.
- */
-/**
- * Returns a function that invokes f with its arguments asynchronously as a
- * microtask, i.e. as soon as possible after the current script returns back
- * into browser code.
- */
-export declare function async(f: Function): Function;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/backoff.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/backoff.d.ts
deleted file mode 100644
index 39ab9b7..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/backoff.d.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * @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.
- */
-/**
- * @fileoverview Provides a method for running a function with exponential
- * backoff.
- */
-type id = (p1: boolean) => void;
-export { id };
-/**
- * Accepts a callback for an action to perform (`doRequest`),
- * and then a callback for when the backoff has completed (`backoffCompleteCb`).
- * The callback sent to start requires an argument to call (`onRequestComplete`).
- * When `start` calls `doRequest`, it passes a callback for when the request has
- * completed, `onRequestComplete`. Based on this, the backoff continues, with
- * another call to `doRequest` and the above loop continues until the timeout
- * is hit, or a successful response occurs.
- * @description
- * @param doRequest Callback to perform request
- * @param backoffCompleteCb Callback to call when backoff has been completed
- */
-export declare function start(doRequest: (onRequestComplete: (success: boolean) => void, canceled: boolean) => void, backoffCompleteCb: (...args: any[]) => unknown, timeout: number): id;
-/**
- * Stops the retry loop from repeating.
- * If the function is currently "in between" retries, it is invoked immediately
- * with the second parameter as "true". Otherwise, it will be invoked once more
- * after the current invocation finishes iff the current invocation would have
- * triggered another retry.
- */
-export declare function stop(id: id): void;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/blob.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/blob.d.ts
deleted file mode 100644
index 419491b..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/blob.d.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * @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.
- */
-/**
- * @param opt_elideCopy - If true, doesn't copy mutable input data
- * (e.g. Uint8Arrays). Pass true only if you know the objects will not be
- * modified after this blob's construction.
- *
- * @internal
- */
-export declare class FbsBlob {
- private data_;
- private size_;
- private type_;
- constructor(data: Blob | Uint8Array | ArrayBuffer, elideCopy?: boolean);
- size(): number;
- type(): string;
- slice(startByte: number, endByte: number): FbsBlob | null;
- static getBlob(...args: Array<string | FbsBlob>): FbsBlob | null;
- uploadData(): Blob | Uint8Array;
-}
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/connection.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/connection.d.ts
deleted file mode 100644
index 269f2d9..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/connection.d.ts
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * @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.
- */
-/** Network headers */
-export type Headers = Record<string, string>;
-/** Response type exposed by the networking APIs. */
-export type ConnectionType = string | ArrayBuffer | Blob | ReadableStream<Uint8Array>;
-/**
- * A lightweight wrapper around XMLHttpRequest with a
- * goog.net.XhrIo-like interface.
- *
- * You can create a new connection by invoking `newTextConnection()`,
- * `newBytesConnection()` or `newStreamConnection()`.
- */
-export interface Connection<T extends ConnectionType> {
- /**
- * Sends a request to the provided URL.
- *
- * This method never rejects its promise. In case of encountering an error,
- * it sets an error code internally which can be accessed by calling
- * getErrorCode() by callers.
- */
- send(url: string, method: string, isUsingEmulator: boolean, body?: ArrayBufferView | Blob | string | null, headers?: Headers): Promise<void>;
- getErrorCode(): ErrorCode;
- getStatus(): number;
- getResponse(): T;
- getErrorText(): string;
- /**
- * Abort the request.
- */
- abort(): void;
- getResponseHeader(header: string): string | null;
- addUploadProgressListener(listener: (p1: ProgressEvent) => void): void;
- removeUploadProgressListener(listener: (p1: ProgressEvent) => void): void;
-}
-/**
- * Error codes for requests made by the XhrIo wrapper.
- */
-export declare enum ErrorCode {
- NO_ERROR = 0,
- NETWORK_ERROR = 1,
- ABORT = 2
-}
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/constants.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/constants.d.ts
deleted file mode 100644
index 957b4d6..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/constants.d.ts
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * @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.
- */
-/**
- * @fileoverview Constants used in the Firebase Storage library.
- */
-/**
- * Domain name for firebase storage.
- */
-export declare const DEFAULT_HOST = "firebasestorage.googleapis.com";
-/**
- * The key in Firebase config json for the storage bucket.
- */
-export declare const CONFIG_STORAGE_BUCKET_KEY = "storageBucket";
-/**
- * 2 minutes
- *
- * The timeout for all operations except upload.
- */
-export declare const DEFAULT_MAX_OPERATION_RETRY_TIME: number;
-/**
- * 10 minutes
- *
- * The timeout for upload.
- */
-export declare const DEFAULT_MAX_UPLOAD_RETRY_TIME: number;
-/**
- * 1 second
- */
-export declare const DEFAULT_MIN_SLEEP_TIME_MILLIS = 1000;
-/**
- * This is the value of Number.MIN_SAFE_INTEGER, which is not well supported
- * enough for us to use it directly.
- */
-export declare const MIN_SAFE_INTEGER = -9007199254740991;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/error.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/error.d.ts
deleted file mode 100644
index dfc0884..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/error.d.ts
+++ /dev/null
@@ -1,126 +0,0 @@
-/**
- * @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 { FirebaseError } from '@firebase/util';
-/**
- * An error returned by the Firebase Storage SDK.
- * @public
- */
-export declare class StorageError extends FirebaseError {
- private status_;
- private readonly _baseMessage;
- /**
- * Stores custom error data unique to the `StorageError`.
- */
- customData: {
- serverResponse: string | null;
- };
- /**
- * @param code - A `StorageErrorCode` string to be prefixed with 'storage/' and
- * added to the end of the message.
- * @param message - Error message.
- * @param status_ - Corresponding HTTP Status Code
- */
- constructor(code: StorageErrorCode, message: string, status_?: number);
- get status(): number;
- set status(status: number);
- /**
- * Compares a `StorageErrorCode` against this error's code, filtering out the prefix.
- */
- _codeEquals(code: StorageErrorCode): boolean;
- /**
- * Optional response message that was added by the server.
- */
- get serverResponse(): null | string;
- set serverResponse(serverResponse: string | null);
-}
-export declare const errors: {};
-/**
- * @public
- * Error codes that can be attached to `StorageError` objects.
- */
-export declare enum StorageErrorCode {
- UNKNOWN = "unknown",
- OBJECT_NOT_FOUND = "object-not-found",
- BUCKET_NOT_FOUND = "bucket-not-found",
- PROJECT_NOT_FOUND = "project-not-found",
- QUOTA_EXCEEDED = "quota-exceeded",
- UNAUTHENTICATED = "unauthenticated",
- UNAUTHORIZED = "unauthorized",
- UNAUTHORIZED_APP = "unauthorized-app",
- RETRY_LIMIT_EXCEEDED = "retry-limit-exceeded",
- INVALID_CHECKSUM = "invalid-checksum",
- CANCELED = "canceled",
- INVALID_EVENT_NAME = "invalid-event-name",
- INVALID_URL = "invalid-url",
- INVALID_DEFAULT_BUCKET = "invalid-default-bucket",
- NO_DEFAULT_BUCKET = "no-default-bucket",
- CANNOT_SLICE_BLOB = "cannot-slice-blob",
- SERVER_FILE_WRONG_SIZE = "server-file-wrong-size",
- NO_DOWNLOAD_URL = "no-download-url",
- INVALID_ARGUMENT = "invalid-argument",
- INVALID_ARGUMENT_COUNT = "invalid-argument-count",
- APP_DELETED = "app-deleted",
- INVALID_ROOT_OPERATION = "invalid-root-operation",
- INVALID_FORMAT = "invalid-format",
- INTERNAL_ERROR = "internal-error",
- UNSUPPORTED_ENVIRONMENT = "unsupported-environment"
-}
-export declare function prependCode(code: StorageErrorCode): string;
-export declare function unknown(): StorageError;
-export declare function objectNotFound(path: string): StorageError;
-export declare function bucketNotFound(bucket: string): StorageError;
-export declare function projectNotFound(project: string): StorageError;
-export declare function quotaExceeded(bucket: string): StorageError;
-export declare function unauthenticated(): StorageError;
-export declare function unauthorizedApp(): StorageError;
-export declare function unauthorized(path: string): StorageError;
-export declare function retryLimitExceeded(): StorageError;
-export declare function invalidChecksum(path: string, checksum: string, calculated: string): StorageError;
-export declare function canceled(): StorageError;
-export declare function invalidEventName(name: string): StorageError;
-export declare function invalidUrl(url: string): StorageError;
-export declare function invalidDefaultBucket(bucket: string): StorageError;
-export declare function noDefaultBucket(): StorageError;
-export declare function cannotSliceBlob(): StorageError;
-export declare function serverFileWrongSize(): StorageError;
-export declare function noDownloadURL(): StorageError;
-export declare function missingPolyFill(polyFill: string): StorageError;
-/**
- * @internal
- */
-export declare function invalidArgument(message: string): StorageError;
-export declare function invalidArgumentCount(argMin: number, argMax: number, fnName: string, real: number): StorageError;
-export declare function appDeleted(): StorageError;
-/**
- * @param name - The name of the operation that was invalid.
- *
- * @internal
- */
-export declare function invalidRootOperation(name: string): StorageError;
-/**
- * @param format - The format that was not valid.
- * @param message - A message describing the format violation.
- */
-export declare function invalidFormat(format: string, message: string): StorageError;
-/**
- * @param message - A message describing the internal error.
- */
-export declare function unsupportedEnvironment(message: string): StorageError;
-/**
- * @param message - A message describing the internal error.
- */
-export declare function internalError(message: string): StorageError;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/failrequest.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/failrequest.d.ts
deleted file mode 100644
index 89d079c..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/failrequest.d.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * @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 { StorageError } from './error';
-import { Request } from './request';
-/**
- * A request whose promise always fails.
- */
-export declare class FailRequest<T> implements Request<T> {
- promise_: Promise<T>;
- constructor(error: StorageError);
- /** @inheritDoc */
- getPromise(): Promise<T>;
- /** @inheritDoc */
- cancel(_appDelete?: boolean): void;
-}
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/fs.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/fs.d.ts
deleted file mode 100644
index 30cd68d..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/fs.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * Concatenates one or more values together and converts them to a Blob.
- *
- * @param args The values that will make up the resulting blob.
- * @return The blob.
- */
-export declare function getBlob(...args: Array<string | Blob | ArrayBuffer>): Blob;
-/**
- * Slices the blob. The returned blob contains data from the start byte
- * (inclusive) till the end byte (exclusive). Negative indices cannot be used.
- *
- * @param blob The blob to be sliced.
- * @param start Index of the starting byte.
- * @param end Index of the ending byte.
- * @return The blob slice or null if not supported.
- */
-export declare function sliceBlob(blob: Blob, start: number, end: number): Blob | null;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/json.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/json.d.ts
deleted file mode 100644
index 58151dc..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/json.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-/**
- * Returns the Object resulting from parsing the given JSON, or null if the
- * given string does not represent a JSON object.
- */
-export declare function jsonObjectOrNull(s: string): {
- [name: string]: unknown;
-} | null;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/list.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/list.d.ts
deleted file mode 100644
index 9107503..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/list.d.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * @license
- * Copyright 2019 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 { ListResult } from '../list';
-import { FirebaseStorageImpl } from '../service';
-export declare function fromResponseString(service: FirebaseStorageImpl, bucket: string, resourceString: string): ListResult | null;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/location.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/location.d.ts
deleted file mode 100644
index f6e1ab6..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/location.d.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * @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.
- */
-/**
- * Firebase Storage location data.
- *
- * @internal
- */
-export declare class Location {
- readonly bucket: string;
- private path_;
- constructor(bucket: string, path: string);
- get path(): string;
- get isRoot(): boolean;
- fullServerUrl(): string;
- bucketOnlyServerUrl(): string;
- static makeFromBucketSpec(bucketString: string, host: string): Location;
- static makeFromUrl(url: string, host: string): Location;
-}
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/metadata.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/metadata.d.ts
deleted file mode 100644
index fadfd35..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/metadata.d.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * @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.
- */
-/**
- * @fileoverview Documentation for the metadata format
- */
-import { Metadata } from '../metadata';
-import { FirebaseStorageImpl } from '../service';
-export declare function noXform_<T>(metadata: Metadata, value: T): T;
-declare class Mapping<T> {
- server: string;
- local: string;
- writable: boolean;
- xform: (p1: Metadata, p2?: T) => T | undefined;
- constructor(server: string, local?: string | null, writable?: boolean, xform?: ((p1: Metadata, p2?: T) => T | undefined) | null);
-}
-type Mappings = Array<Mapping<string> | Mapping<number>>;
-export { Mappings };
-export declare function xformPath(fullPath: string | undefined): string | undefined;
-export declare function getMappings(): Mappings;
-export declare function addRef(metadata: Metadata, service: FirebaseStorageImpl): void;
-export declare function fromResource(service: FirebaseStorageImpl, resource: {
- [name: string]: unknown;
-}, mappings: Mappings): Metadata;
-export declare function fromResourceString(service: FirebaseStorageImpl, resourceString: string, mappings: Mappings): Metadata | null;
-export declare function downloadUrlFromResourceString(metadata: Metadata, resourceString: string, host: string, protocol: string): string | null;
-export declare function toResourceString(metadata: Partial<Metadata>, mappings: Mappings): string;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/observer.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/observer.d.ts
deleted file mode 100644
index 0702651..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/observer.d.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-import { StorageError } from './error';
-/**
- * Function that is called once for each value in a stream of values.
- */
-export type NextFn<T> = (value: T) => void;
-/**
- * A function that is called with a `StorageError`
- * if the event stream ends due to an error.
- */
-export type ErrorFn = (error: StorageError) => void;
-/**
- * A function that is called if the event stream ends normally.
- */
-export type CompleteFn = () => void;
-/**
- * Unsubscribes from a stream.
- */
-export type Unsubscribe = () => void;
-/**
- * An observer identical to the `Observer` defined in packages/util except the
- * error passed into the ErrorFn is specifically a `StorageError`.
- */
-export interface StorageObserver<T> {
- /**
- * Function that is called once for each value in the event stream.
- */
- next?: NextFn<T>;
- /**
- * A function that is called with a `StorageError`
- * if the event stream ends due to an error.
- */
- error?: ErrorFn;
- /**
- * A function that is called if the event stream ends normally.
- */
- complete?: CompleteFn;
-}
-/**
- * Subscribes to an event stream.
- */
-export type Subscribe<T> = (next?: NextFn<T> | StorageObserver<T>, error?: ErrorFn, complete?: CompleteFn) => Unsubscribe;
-export declare class Observer<T> implements StorageObserver<T> {
- next?: NextFn<T>;
- error?: ErrorFn;
- complete?: CompleteFn;
- constructor(nextOrObserver?: NextFn<T> | StorageObserver<T>, error?: ErrorFn, complete?: CompleteFn);
-}
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/path.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/path.d.ts
deleted file mode 100644
index f566805..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/path.d.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * @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.
- */
-/**
- * @fileoverview Contains helper methods for manipulating paths.
- */
-/**
- * @return Null if the path is already at the root.
- */
-export declare function parent(path: string): string | null;
-export declare function child(path: string, childPath: string): string;
-/**
- * Returns the last component of a path.
- * '/foo/bar' -> 'bar'
- * '/foo/bar/baz/' -> 'baz/'
- * '/a' -> 'a'
- */
-export declare function lastComponent(path: string): string;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/request.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/request.d.ts
deleted file mode 100644
index 1b01a28..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/request.d.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * @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 { RequestInfo } from './requestinfo';
-import { Connection, Headers, ConnectionType } from './connection';
-export interface Request<T> {
- getPromise(): Promise<T>;
- /**
- * Cancels the request. IMPORTANT: the promise may still be resolved with an
- * appropriate value (if the request is finished before you call this method,
- * but the promise has not yet been resolved), so don't just assume it will be
- * rejected if you call this function.
- * @param appDelete - True if the cancelation came from the app being deleted.
- */
- cancel(appDelete?: boolean): void;
-}
-/**
- * A collection of information about the result of a network request.
- * @param opt_canceled - Defaults to false.
- */
-export declare class RequestEndStatus<I extends ConnectionType> {
- wasSuccessCode: boolean;
- connection: Connection<I> | null;
- /**
- * True if the request was canceled.
- */
- canceled: boolean;
- constructor(wasSuccessCode: boolean, connection: Connection<I> | null, canceled?: boolean);
-}
-export declare function addAuthHeader_(headers: Headers, authToken: string | null): void;
-export declare function addVersionHeader_(headers: Headers, firebaseVersion?: string): void;
-export declare function addGmpidHeader_(headers: Headers, appId: string | null): void;
-export declare function addAppCheckHeader_(headers: Headers, appCheckToken: string | null): void;
-export declare function makeRequest<I extends ConnectionType, O>(requestInfo: RequestInfo<I, O>, appId: string | null, authToken: string | null, appCheckToken: string | null, requestFactory: () => Connection<I>, firebaseVersion?: string, retry?: boolean, isUsingEmulator?: boolean): Request<O>;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/requestinfo.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/requestinfo.d.ts
deleted file mode 100644
index fec97c9..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/requestinfo.d.ts
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * @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 { StorageError } from './error';
-import { Headers, Connection, ConnectionType } from './connection';
-/**
- * Type for url params stored in RequestInfo.
- */
-export interface UrlParams {
- [name: string]: string | number;
-}
-/**
- * A function that converts a server response to the API type expected by the
- * SDK.
- *
- * @param I - the type of the backend's network response
- * @param O - the output response type used by the rest of the SDK.
- */
-export type RequestHandler<I extends ConnectionType, O> = (connection: Connection<I>, response: I) => O;
-/** A function to handle an error. */
-export type ErrorHandler = (connection: Connection<ConnectionType>, response: StorageError) => StorageError;
-/**
- * Contains a fully specified request.
- *
- * @param I - the type of the backend's network response.
- * @param O - the output response type used by the rest of the SDK.
- */
-export declare class RequestInfo<I extends ConnectionType, O> {
- url: string;
- method: string;
- /**
- * Returns the value with which to resolve the request's promise. Only called
- * if the request is successful. Throw from this function to reject the
- * returned Request's promise with the thrown error.
- * Note: The XhrIo passed to this function may be reused after this callback
- * returns. Do not keep a reference to it in any way.
- */
- handler: RequestHandler<I, O>;
- timeout: number;
- urlParams: UrlParams;
- headers: Headers;
- body: Blob | string | Uint8Array | null;
- errorHandler: ErrorHandler | null;
- /**
- * Called with the current number of bytes uploaded and total size (-1 if not
- * computable) of the request body (i.e. used to report upload progress).
- */
- progressCallback: ((p1: number, p2: number) => void) | null;
- successCodes: number[];
- additionalRetryCodes: number[];
- constructor(url: string, method: string,
- /**
- * Returns the value with which to resolve the request's promise. Only called
- * if the request is successful. Throw from this function to reject the
- * returned Request's promise with the thrown error.
- * Note: The XhrIo passed to this function may be reused after this callback
- * returns. Do not keep a reference to it in any way.
- */
- handler: RequestHandler<I, O>, timeout: number);
-}
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/requests.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/requests.d.ts
deleted file mode 100644
index a019496..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/requests.d.ts
+++ /dev/null
@@ -1,84 +0,0 @@
-/**
- * @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.
- */
-/**
- * @fileoverview Defines methods for interacting with the network.
- */
-import { Metadata } from '../metadata';
-import { ListResult } from '../list';
-import { FbsBlob } from './blob';
-import { StorageError } from './error';
-import { Location } from './location';
-import { Mappings } from './metadata';
-import { RequestInfo } from './requestinfo';
-import { Connection, ConnectionType } from './connection';
-import { FirebaseStorageImpl } from '../service';
-/**
- * Throws the UNKNOWN StorageError if cndn is false.
- */
-export declare function handlerCheck(cndn: boolean): void;
-export declare function metadataHandler(service: FirebaseStorageImpl, mappings: Mappings): (p1: Connection<string>, p2: string) => Metadata;
-export declare function listHandler(service: FirebaseStorageImpl, bucket: string): (p1: Connection<string>, p2: string) => ListResult;
-export declare function downloadUrlHandler(service: FirebaseStorageImpl, mappings: Mappings): (p1: Connection<string>, p2: string) => string | null;
-export declare function sharedErrorHandler(location: Location): (p1: Connection<ConnectionType>, p2: StorageError) => StorageError;
-export declare function objectErrorHandler(location: Location): (p1: Connection<ConnectionType>, p2: StorageError) => StorageError;
-export declare function getMetadata(service: FirebaseStorageImpl, location: Location, mappings: Mappings): RequestInfo<string, Metadata>;
-export declare function list(service: FirebaseStorageImpl, location: Location, delimiter?: string, pageToken?: string | null, maxResults?: number | null): RequestInfo<string, ListResult>;
-export declare function getBytes<I extends ConnectionType>(service: FirebaseStorageImpl, location: Location, maxDownloadSizeBytes?: number): RequestInfo<I, I>;
-export declare function getDownloadUrl(service: FirebaseStorageImpl, location: Location, mappings: Mappings): RequestInfo<string, string | null>;
-export declare function updateMetadata(service: FirebaseStorageImpl, location: Location, metadata: Partial<Metadata>, mappings: Mappings): RequestInfo<string, Metadata>;
-export declare function deleteObject(service: FirebaseStorageImpl, location: Location): RequestInfo<string, void>;
-export declare function determineContentType_(metadata: Metadata | null, blob: FbsBlob | null): string;
-export declare function metadataForUpload_(location: Location, blob: FbsBlob, metadata?: Metadata | null): Metadata;
-/**
- * Prepare RequestInfo for uploads as Content-Type: multipart.
- */
-export declare function multipartUpload(service: FirebaseStorageImpl, location: Location, mappings: Mappings, blob: FbsBlob, metadata?: Metadata | null): RequestInfo<string, Metadata>;
-/**
- * @param current The number of bytes that have been uploaded so far.
- * @param total The total number of bytes in the upload.
- * @param opt_finalized True if the server has finished the upload.
- * @param opt_metadata The upload metadata, should
- * only be passed if opt_finalized is true.
- */
-export declare class ResumableUploadStatus {
- current: number;
- total: number;
- finalized: boolean;
- metadata: Metadata | null;
- constructor(current: number, total: number, finalized?: boolean, metadata?: Metadata | null);
-}
-export declare function checkResumeHeader_(xhr: Connection<string>, allowed?: string[]): string;
-export declare function createResumableUpload(service: FirebaseStorageImpl, location: Location, mappings: Mappings, blob: FbsBlob, metadata?: Metadata | null): RequestInfo<string, string>;
-/**
- * @param url From a call to fbs.requests.createResumableUpload.
- */
-export declare function getResumableUploadStatus(service: FirebaseStorageImpl, location: Location, url: string, blob: FbsBlob): RequestInfo<string, ResumableUploadStatus>;
-/**
- * Any uploads via the resumable upload API must transfer a number of bytes
- * that is a multiple of this number.
- */
-export declare const RESUMABLE_UPLOAD_CHUNK_SIZE: number;
-/**
- * @param url From a call to fbs.requests.createResumableUpload.
- * @param chunkSize Number of bytes to upload.
- * @param status The previous status.
- * If not passed or null, we start from the beginning.
- * @throws fbs.Error If the upload is already complete, the passed in status
- * has a final size inconsistent with the blob, or the blob cannot be sliced
- * for upload.
- */
-export declare function continueResumableUpload(location: Location, service: FirebaseStorageImpl, url: string, blob: FbsBlob, chunkSize: number, mappings: Mappings, status?: ResumableUploadStatus | null, progressCallback?: ((p1: number, p2: number) => void) | null): RequestInfo<string, ResumableUploadStatus>;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/string.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/string.d.ts
deleted file mode 100644
index 0549cf9..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/string.d.ts
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * @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.
- */
-/**
- * An enumeration of the possible string formats for upload.
- * @public
- */
-export type StringFormat = (typeof StringFormat)[keyof typeof StringFormat];
-/**
- * An enumeration of the possible string formats for upload.
- * @public
- */
-export declare const StringFormat: {
- /**
- * Indicates the string should be interpreted "raw", that is, as normal text.
- * The string will be interpreted as UTF-16, then uploaded as a UTF-8 byte
- * sequence.
- * Example: The string 'Hello! \\ud83d\\ude0a' becomes the byte sequence
- * 48 65 6c 6c 6f 21 20 f0 9f 98 8a
- */
- readonly RAW: "raw";
- /**
- * Indicates the string should be interpreted as base64-encoded data.
- * Padding characters (trailing '='s) are optional.
- * Example: The string 'rWmO++E6t7/rlw==' becomes the byte sequence
- * ad 69 8e fb e1 3a b7 bf eb 97
- */
- readonly BASE64: "base64";
- /**
- * Indicates the string should be interpreted as base64url-encoded data.
- * Padding characters (trailing '='s) are optional.
- * Example: The string 'rWmO--E6t7_rlw==' becomes the byte sequence
- * ad 69 8e fb e1 3a b7 bf eb 97
- */
- readonly BASE64URL: "base64url";
- /**
- * Indicates the string is a data URL, such as one obtained from
- * canvas.toDataURL().
- * Example: the string 'data:application/octet-stream;base64,aaaa'
- * becomes the byte sequence
- * 69 a6 9a
- * (the content-type "application/octet-stream" is also applied, but can
- * be overridden in the metadata object).
- */
- readonly DATA_URL: "data_url";
-};
-export declare class StringData {
- data: Uint8Array;
- contentType: string | null;
- constructor(data: Uint8Array, contentType?: string | null);
-}
-/**
- * @internal
- */
-export declare function dataFromString(format: StringFormat, stringData: string): StringData;
-export declare function utf8Bytes_(value: string): Uint8Array;
-export declare function percentEncodedBytes_(value: string): Uint8Array;
-export declare function base64Bytes_(format: StringFormat, value: string): Uint8Array;
-export declare function dataURLBytes_(dataUrl: string): Uint8Array;
-export declare function dataURLContentType_(dataUrl: string): string | null;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/taskenums.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/taskenums.d.ts
deleted file mode 100644
index 6c6d880..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/taskenums.d.ts
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- * @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.
- */
-/**
- * @fileoverview Enumerations used for upload tasks.
- */
-/**
- * An event that is triggered on a task.
- * @internal
- */
-export type TaskEvent = string;
-/**
- * An event that is triggered on a task.
- * @internal
- */
-export declare const TaskEvent: {
- /**
- * For this event,
- * <ul>
- * <li>The `next` function is triggered on progress updates and when the
- * task is paused/resumed with an `UploadTaskSnapshot` as the first
- * argument.</li>
- * <li>The `error` function is triggered if the upload is canceled or fails
- * for another reason.</li>
- * <li>The `complete` function is triggered if the upload completes
- * successfully.</li>
- * </ul>
- */
- STATE_CHANGED: string;
-};
-/**
- * Internal enum for task state.
- */
-export declare const enum InternalTaskState {
- RUNNING = "running",
- PAUSING = "pausing",
- PAUSED = "paused",
- SUCCESS = "success",
- CANCELING = "canceling",
- CANCELED = "canceled",
- ERROR = "error"
-}
-/**
- * Represents the current state of a running upload.
- * @internal
- */
-export type TaskState = (typeof TaskState)[keyof typeof TaskState];
-/**
- * Represents the current state of a running upload.
- * @internal
- */
-export declare const TaskState: {
- /** The task is currently transferring data. */
- readonly RUNNING: "running";
- /** The task was paused by the user. */
- readonly PAUSED: "paused";
- /** The task completed successfully. */
- readonly SUCCESS: "success";
- /** The task was canceled. */
- readonly CANCELED: "canceled";
- /** The task failed with an error. */
- readonly ERROR: "error";
-};
-export declare function taskStateFromInternalTaskState(state: InternalTaskState): TaskState;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/type.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/type.d.ts
deleted file mode 100644
index ed70cc9..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/type.d.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * @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 declare function isJustDef<T>(p: T | null | undefined): p is T | null;
-export declare function isFunction(p: unknown): p is Function;
-export declare function isNonArrayObject(p: unknown): boolean;
-export declare function isString(p: unknown): p is string;
-export declare function isNativeBlob(p: unknown): p is Blob;
-export declare function isNativeBlobDefined(): boolean;
-export declare function validateNumber(argument: string, minValue: number, maxValue: number, value: number): void;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/url.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/url.d.ts
deleted file mode 100644
index caf7f3c..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/url.d.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * @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.
- */
-/**
- * @fileoverview Functions to create and manipulate URLs for the server API.
- */
-import { UrlParams } from './requestinfo';
-export declare function makeUrl(urlPart: string, host: string, protocol: string): string;
-export declare function makeQueryString(params: UrlParams): string;
diff --git a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/utils.d.ts b/frontend-old/node_modules/@firebase/storage/dist/src/implementation/utils.d.ts
deleted file mode 100644
index b91f9dc..0000000
--- a/frontend-old/node_modules/@firebase/storage/dist/src/implementation/utils.d.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * @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.
- */
-/**
- * Checks the status code to see if the action should be retried.
- *
- * @param status Current HTTP status code returned by server.
- * @param additionalRetryCodes additional retry codes to check against
- */
-export declare function isRetryStatusCode(status: number, additionalRetryCodes: number[]): boolean;