diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-11-16 19:08:29 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-11-16 19:08:29 +0800 |
| commit | 434aa8343fdcbb4d5002f934979913c099489bee (patch) | |
| tree | 55bab4ec5a6151be57797d34f61faf5ea744471b /frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes | |
| parent | 893c388d4e99442a36005e5971a87730623f946e (diff) | |
sdk, del
Diffstat (limited to 'frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes')
5 files changed, 0 insertions, 177 deletions
diff --git a/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/Index.d.ts b/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/Index.d.ts deleted file mode 100644 index 04c1fa9..0000000 --- a/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/Index.d.ts +++ /dev/null @@ -1,50 +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 { Comparator } from '../../util/SortedMap'; -import { Node, NamedNode } from '../Node'; -export declare abstract class Index { - abstract compare(a: NamedNode, b: NamedNode): number; - abstract isDefinedOn(node: Node): boolean; - /** - * @returns A standalone comparison function for - * this index - */ - getCompare(): Comparator<NamedNode>; - /** - * Given a before and after value for a node, determine if the indexed value has changed. Even if they are different, - * it's possible that the changes are isolated to parts of the snapshot that are not indexed. - * - * - * @returns True if the portion of the snapshot being indexed changed between oldNode and newNode - */ - indexedValueChanged(oldNode: Node, newNode: Node): boolean; - /** - * @returns a node wrapper that will sort equal to or less than - * any other node wrapper, using this index - */ - minPost(): NamedNode; - /** - * @returns a node wrapper that will sort greater than or equal to - * any other node wrapper, using this index - */ - abstract maxPost(): NamedNode; - abstract makePost(indexValue: unknown, name: string): NamedNode; - /** - * @returns String representation for inclusion in a query spec - */ - abstract toString(): string; -} diff --git a/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/KeyIndex.d.ts b/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/KeyIndex.d.ts deleted file mode 100644 index dc4c04f..0000000 --- a/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/KeyIndex.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. - */ -import { ChildrenNode } from '../ChildrenNode'; -import { Node, NamedNode } from '../Node'; -import { Index } from './Index'; -export declare class KeyIndex extends Index { - static get __EMPTY_NODE(): ChildrenNode; - static set __EMPTY_NODE(val: ChildrenNode); - compare(a: NamedNode, b: NamedNode): number; - isDefinedOn(node: Node): boolean; - indexedValueChanged(oldNode: Node, newNode: Node): boolean; - minPost(): any; - maxPost(): NamedNode; - makePost(indexValue: string, name: string): NamedNode; - /** - * @returns String representation for inclusion in a query spec - */ - toString(): string; -} -export declare const KEY_INDEX: KeyIndex; diff --git a/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/PathIndex.d.ts b/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/PathIndex.d.ts deleted file mode 100644 index 65af086..0000000 --- a/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/PathIndex.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 { Path } from '../../util/Path'; -import { NamedNode, Node } from '../Node'; -import { Index } from './Index'; -export declare class PathIndex extends Index { - private indexPath_; - constructor(indexPath_: Path); - protected extractChild(snap: Node): Node; - isDefinedOn(node: Node): boolean; - compare(a: NamedNode, b: NamedNode): number; - makePost(indexValue: object, name: string): NamedNode; - maxPost(): NamedNode; - toString(): string; -} diff --git a/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/PriorityIndex.d.ts b/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/PriorityIndex.d.ts deleted file mode 100644 index 910d780..0000000 --- a/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/PriorityIndex.d.ts +++ /dev/null @@ -1,33 +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 { NamedNode, Node } from '../Node'; -import { Index } from './Index'; -export declare function setNodeFromJSON(val: (a: unknown) => Node): void; -export declare function setMaxNode(val: Node): void; -export declare class PriorityIndex extends Index { - compare(a: NamedNode, b: NamedNode): number; - isDefinedOn(node: Node): boolean; - indexedValueChanged(oldNode: Node, newNode: Node): boolean; - minPost(): NamedNode; - maxPost(): NamedNode; - makePost(indexValue: unknown, name: string): NamedNode; - /** - * @returns String representation for inclusion in a query spec - */ - toString(): string; -} -export declare const PRIORITY_INDEX: PriorityIndex; diff --git a/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/ValueIndex.d.ts b/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/ValueIndex.d.ts deleted file mode 100644 index 6b801a9..0000000 --- a/frontend-old/node_modules/@firebase/database/dist/node-esm/src/core/snap/indexes/ValueIndex.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. - */ -import { NamedNode, Node } from '../Node'; -import { Index } from './Index'; -export declare class ValueIndex extends Index { - compare(a: NamedNode, b: NamedNode): number; - isDefinedOn(node: Node): boolean; - indexedValueChanged(oldNode: Node, newNode: Node): boolean; - minPost(): NamedNode; - maxPost(): NamedNode; - makePost(indexValue: object, name: string): NamedNode; - /** - * @returns String representation for inclusion in a query spec - */ - toString(): string; -} -export declare const VALUE_INDEX: ValueIndex; |
