Skip to content

Missing export for functions and getFuncitons #1704

@gitdast

Description

@gitdast

[REQUIRED] Step 2: Describe your environment

Windows, Node.js
Firebase SDK version: latest firebase-admin = 10.2.0
Firebase Product: Cloud Functions (+ Auth, Firestore,...)
Node.js version: 16
NPM version: 8.1.0

[REQUIRED] Step 3: Describe the problem

I want to use TaskQueue with Cloud Functions as described here https://firebase.google.com/docs/functions/task-functions,
but neither firebase-functions SDK v3.21.1 nor firebase-admin SDK v10.2.0 has export for all described functions.
There is missing export for getFunctions in firebase-admin v10.2.0.
(Why is not TaskQueue related stuff present in firebase-functions SDK and we have to use two SDK in CF...that's another question.)

Steps to reproduce:

What happened? How can we make the problem occur?
This could be a description, log/console output, etc.

Relevant Code:

import {getFunctions} from 'firebase-admin' - this will never work

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions