Skip to content

Commit 609b2b3

Browse files
Undo namespace changes
1 parent 6c129bf commit 609b2b3

23 files changed

+445
-477
lines changed

common/api-review/firestore-lite.api.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@
44
55
```ts
66

7-
import { DocumentData as DocumentData_2 } from '@firebase/firestore-types';
8-
import { FieldPath as FieldPath_4 } from '@firebase/firestore-types';
97
import { FirebaseApp } from '@firebase/app-types';
108
import { FirebaseAuthInternalName } from '@firebase/auth-interop-types';
119
import { _FirebaseService } from '@firebase/app-types';
10+
import * as firestore from '@firebase/firestore-types';
1211
import { LogLevel } from '@firebase/logger';
1312
import { LogLevelString } from '@firebase/logger';
1413
import { Provider } from '@firebase/component';
15-
import { SetOptions } from '@firebase/firestore-types';
1614

1715
// @public (undocumented)
1816
export function addDoc<T>(reference: CollectionReference<T>, data: T): Promise<DocumentReference<T>>;
@@ -330,7 +328,7 @@ export function setDoc<T>(reference: DocumentReference<T>, data: T): Promise<voi
330328
// Warning: (ae-forgotten-export) The symbol "SetOptions" needs to be exported by the entry point index.d.ts
331329
//
332330
// @public (undocumented)
333-
export function setDoc<T>(reference: DocumentReference<T>, data: Partial<T>, options: SetOptions_2): Promise<void>;
331+
export function setDoc<T>(reference: DocumentReference<T>, data: Partial<T>, options: SetOptions): Promise<void>;
334332

335333
// @public (undocumented)
336334
export function setLogLevel(newLevel: LogLevelString | LogLevel): void;
@@ -402,7 +400,7 @@ export class Transaction {
402400
// (undocumented)
403401
set<T>(documentRef: DocumentReference<T>, value: T): this;
404402
// (undocumented)
405-
set<T>(documentRef: DocumentReference<T>, value: Partial<T>, options: SetOptions_2): this;
403+
set<T>(documentRef: DocumentReference<T>, value: Partial<T>, options: SetOptions): this;
406404
// (undocumented)
407405
update(documentRef: DocumentReference<unknown>, value: UpdateData): this;
408406
// (undocumented)
@@ -438,7 +436,7 @@ export class WriteBatch implements WriteBatch {
438436
// (undocumented)
439437
set<T>(documentRef: DocumentReference<T>, value: T): WriteBatch;
440438
// (undocumented)
441-
set<T>(documentRef: DocumentReference<T>, value: Partial<T>, options: SetOptions_2): WriteBatch;
439+
set<T>(documentRef: DocumentReference<T>, value: Partial<T>, options: SetOptions): WriteBatch;
442440
// (undocumented)
443441
update(documentRef: DocumentReference<unknown>, value: UpdateData): WriteBatch;
444442
// (undocumented)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@changesets/changelog-github": "0.2.6",
6767
"@changesets/cli": "2.9.2",
6868
"@microsoft/api-documenter": "7.8.21",
69-
"@microsoft/api-extractor": "7.9.2",
69+
"@microsoft/api-extractor": "7.8.2-pr1796.0",
7070
"@types/chai": "4.2.12",
7171
"@types/chai-as-promised": "7.1.3",
7272
"@types/child-process-promise": "2.2.1",

packages/firestore/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"build:deps": "lerna run --scope @firebase/'{app,firestore}' --include-dependencies build",
1616
"build:console": "node tools/console.build.js",
1717
"build:exp": "rollup -c rollup.config.exp.js",
18-
"build:lite": "rollup -c rollup.config.lite.js && api-report:lite",
18+
"build:lite": "rollup -c rollup.config.lite.js && yarn api-report:lite",
1919
"build:exp:release": "yarn build:exp && yarn build:lite",
2020
"predev": "yarn prebuild",
2121
"dev": "rollup -c -w",

0 commit comments

Comments
 (0)