import * as functions from "firebase-functions" ; export const helloWorld = functions . https . onRequest ( ( request , response ) => { response . send ( `Hello from Firebase!!! ${ request . query . text }` ) ; } ) ; export const helloWorldJson = functions . https . onRequest ( ( request , response ) => { response . json ( { "message" : "Hello from Firebase!" } ) ; } ) ; export const helloName = functions . https . onCall ( ( data , context ) => { return { message : `Hello: ${ data }` } ; } ) ;