Skip to content

Commit 72f6e91

Browse files
authored
1st gen imports and codebases (#1091)
1 parent 77166a3 commit 72f6e91

File tree

111 files changed

+753
-1341
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+753
-1341
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{}
1+
{
2+
"functions": {
3+
"codebase": "assistant-say-number"
4+
}
5+
}

Node-1st-gen/assistant-say-number/functions/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
'use strict';
1717

18-
const functions = require('firebase-functions');
18+
const functions = require('firebase-functions/v1');
1919
const { actionssdk } = require('actions-on-google');
2020

2121
const app = actionssdk();

Node-1st-gen/authenticated-json-api/firebase.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"functions": {
3+
"codebase": "authenticated-json-api"
4+
},
25
"hosting": {
36
"public": "public",
47
"rewrites": [

Node-1st-gen/authenticated-json-api/functions/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
'use strict';
1818

19-
const functions = require('firebase-functions');
19+
const functions = require('firebase-functions/v1');
2020
const admin = require('firebase-admin');
2121

2222
// Follow instructions to set up admin credentials:

Node-1st-gen/authorized-https-endpoint/firebase.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"functions": {
3+
"codebase": "authorized-https-endpoint"
4+
},
25
"hosting": {
36
"public": "public",
47
"rewrites": [

Node-1st-gen/authorized-https-endpoint/functions/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
'use strict';
1717

18-
const functions = require('firebase-functions');
18+
const functions = require('firebase-functions/v1');
1919
const admin = require('firebase-admin');
2020
admin.initializeApp();
2121
const express = require('express');
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"functions": {
3+
"codebase": "bigquery-import"
4+
}
5+
}

Node-1st-gen/bigquery-import/functions/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
'use strict';
1717

18-
const functions = require('firebase-functions');
18+
const functions = require('firebase-functions/v1');
1919
const { BigQuery } = require('@google-cloud/bigquery');
2020

2121
const bigquery = new BigQuery();
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"functions": {
3+
"codebase": "child-count"
4+
}
5+
}

Node-1st-gen/child-count/functions/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
'use strict';
1717

18-
const functions = require('firebase-functions');
18+
const functions = require('firebase-functions/v1');
1919
const admin = require('firebase-admin');
2020
admin.initializeApp();
2121

0 commit comments

Comments
 (0)