Skip to content

Commit e72e778

Browse files
Easy fixes
1 parent f6c582d commit e72e778

File tree

6 files changed

+2
-32
lines changed

6 files changed

+2
-32
lines changed

packages/firestore/rollup.config.exp.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ const nodePlugins = [
4848
{
4949
src: 'src/protos',
5050
dest: 'dist/exp/src'
51-
},
52-
{
53-
// Copy into generated source files to support API Extractor
54-
src: 'src/protos/firestore_proto_api.d.ts',
55-
dest: 'dist/exp/firestore/src/protos'
5651
}
5752
]
5853
}),

packages/firestore/rollup.config.lite.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ const nodePlugins = [
4949
{
5050
src: 'src/protos',
5151
dest: 'dist/lite/src'
52-
},
53-
{
54-
// Copy into generated source files to support API Extractor
55-
src: 'src/protos/firestore_proto_api.d.ts',
56-
dest: 'dist/lite/firestore/src/protos'
5752
}
5853
]
5954
}),

packages/firestore/scripts/build-bundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const argv = yargs.options({
2828
input: {
2929
type: 'string',
3030
demandOption: true,
31-
desc: 'The location of the index.ts file'
31+
desc: 'The location of the index.d.ts file'
3232
},
3333
output: {
3434
type: 'string',

packages/firestore/scripts/prune-dts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import * as fs from 'fs';
2626
* - Constructors are made private or protected if marked with
2727
* `@hideconstructor`/`@hideconstructor protected`.
2828
*
29-
* This function is meant to operate on DTS files generated by API explorer
29+
* This function is meant to operate on DTS files generated by API extractor
3030
* and extracts out the API that is relevant for third-party SDK consumers.
3131
*
3232
* @param inputLocation The file path to the .d.ts produced by API explorer.

packages/firestore/src/protos/firestore_proto_api.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

packages/firestore/src/protos/firestore_proto_api.d.ts renamed to packages/firestore/src/protos/firestore_proto_api.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,6 @@ export interface ProjectsDatabasesDocumentsWriteNamedParameters {
696696
$Xgafv?: ProjectsDatabasesDocumentsApiClient$Xgafv;
697697
}
698698
export abstract class ProjectsDatabasesDocumentsApiClient {
699-
private constructor();
700699
abstract batchGet(
701700
database: string,
702701
$requestBody: BatchGetDocumentsRequest,
@@ -1121,7 +1120,6 @@ export interface ProjectsDatabasesIndexesListNamedParameters {
11211120
pageToken?: string;
11221121
}
11231122
export abstract class ProjectsDatabasesIndexesApiClient {
1124-
private constructor();
11251123
abstract create(
11261124
parent: string,
11271125
$requestBody: Index,

0 commit comments

Comments
 (0)