From 434aa8343fdcbb4d5002f934979913c099489bee Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 16 Nov 2025 19:08:29 +0800 Subject: sdk, del --- .../@firebase/storage-compat/dist/src/task.d.ts | 54 ---------------------- 1 file changed, 54 deletions(-) delete mode 100644 frontend-old/node_modules/@firebase/storage-compat/dist/src/task.d.ts (limited to 'frontend-old/node_modules/@firebase/storage-compat/dist/src/task.d.ts') diff --git a/frontend-old/node_modules/@firebase/storage-compat/dist/src/task.d.ts b/frontend-old/node_modules/@firebase/storage-compat/dist/src/task.d.ts deleted file mode 100644 index 97e2bd5..0000000 --- a/frontend-old/node_modules/@firebase/storage-compat/dist/src/task.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * @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 { UploadTask, StorageError, TaskEvent, StorageObserver } from '@firebase/storage'; -import { UploadTaskSnapshotCompat } from './tasksnapshot'; -import { ReferenceCompat } from './reference'; -import * as types from '@firebase/storage-types'; -import { Compat } from '@firebase/util'; -export declare class UploadTaskCompat implements types.UploadTask, Compat { - readonly _delegate: UploadTask; - private readonly _ref; - constructor(_delegate: UploadTask, _ref: ReferenceCompat); - get snapshot(): UploadTaskSnapshotCompat; - cancel: () => boolean; - catch: (onRejected: (error: StorageError) => unknown) => Promise; - pause: () => boolean; - resume: () => boolean; - then(onFulfilled?: ((a: UploadTaskSnapshotCompat) => unknown) | null, onRejected?: ((a: StorageError) => unknown) | null): Promise; - on(type: TaskEvent, nextOrObserver?: types.StorageObserver | null | ((a: UploadTaskSnapshotCompat) => unknown), error?: ((error: StorageError) => void) | null, completed?: () => void | null): Unsubscribe | Subscribe; -} -/** - * Subscribes to an event stream. - */ -export type Subscribe = (next?: NextFn | StorageObserver, error?: ErrorFn, complete?: CompleteFn) => Unsubscribe; -/** - * Unsubscribes from a stream. - */ -export type Unsubscribe = () => void; -/** - * Function that is called once for each value in a stream of values. - */ -export type NextFn = (value: T) => void; -/** - * A function that is called with a `FirebaseStorageError` - * 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; -- cgit v1.2.3