Skip to content

Commit

Permalink
adding export things
Browse files Browse the repository at this point in the history
  • Loading branch information
colerogers committed Mar 13, 2023
1 parent 89bbe2a commit 7d7ff8e
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Expand Up @@ -60,7 +60,8 @@
"./v2/database": "./lib/v2/providers/database.js",
"./v2/scheduler": "./lib/v2/providers/scheduler.js",
"./v2/remoteConfig": "./lib/v2/providers/remoteConfig.js",
"./v2/testLab": "./lib/v2/providers/testLab.js"
"./v2/testLab": "./lib/v2/providers/testLab.js",
"./v2/firestore": "./lib/v2/providers/firestore.js"
},
"typesVersions": {
"*": {
Expand Down Expand Up @@ -159,6 +160,9 @@
],
"v2/testLab": [
"lib/v2/providers/testLab"
],
"v2/firestore": [
"lib/v2/providers/firestore"
]
}
},
Expand Down
2 changes: 2 additions & 0 deletions src/v2/index.ts
Expand Up @@ -40,6 +40,7 @@ import * as storage from "./providers/storage";
import * as tasks from "./providers/tasks";
import * as remoteConfig from "./providers/remoteConfig";
import * as testLab from "./providers/testLab";
import * as firestore from "./providers/firestore";

export {
alerts,
Expand All @@ -54,6 +55,7 @@ export {
scheduler,
remoteConfig,
testLab,
firestore,
};

export {
Expand Down
26 changes: 26 additions & 0 deletions v2/firestore.js
@@ -0,0 +1,26 @@
// The MIT License (MIT)
//
// Copyright (c) 2023 Firebase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

// This file is not part of the firebase-functions SDK. It is used to silence the
// imports eslint plugin until it can understand import paths defined by node
// package exports.
// For more information, see github.com/import-js/eslint-plugin-import/issues/1810

0 comments on commit 7d7ff8e

Please sign in to comment.