Skip to content

Commit 461077a

Browse files
committed
fix export config
1 parent 71fa9e7 commit 461077a

15 files changed

+45
-45
lines changed

definitions/output/reports/cwv_tech_adoption.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ GROUP BY
3535
JSON '''{
3636
"destination": "firestore",
3737
"config": {
38-
"databaseId": "tech-report-apis-${constants.environment}",
39-
"collectionName": "adoption",
40-
"collectionType": "report",
38+
"database": "tech-report-apis-${constants.environment}",
39+
"collection": "adoption",
40+
"type": "report",
4141
"date": "${pastMonth}"
4242
},
4343
"query": "SELECT STRING(date) AS date, * EXCEPT(date) FROM ${ctx.self()} WHERE date = '${pastMonth}'"

definitions/output/reports/cwv_tech_categories.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ FROM total_pages
9696
JSON '''{
9797
"destination": "firestore",
9898
"config": {
99-
"databaseId": "tech-report-apis-${constants.environment}",
100-
"collectionName": "categories",
101-
"collectionType": "dict"
99+
"database": "tech-report-apis-${constants.environment}",
100+
"collection": "categories",
101+
"type": "dict"
102102
},
103103
"query": "SELECT * FROM ${ctx.self()}"
104104
}'''

definitions/output/reports/cwv_tech_core_web_vitals.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ GROUP BY
103103
JSON '''{
104104
"destination": "firestore",
105105
"config": {
106-
"databaseId": "tech-report-apis-${constants.environment}",
107-
"collectionName": "core_web_vitals",
108-
"collectionType": "report",
106+
"database": "tech-report-apis-${constants.environment}",
107+
"collection": "core_web_vitals",
108+
"type": "report",
109109
"date": "${pastMonth}"
110110
},
111111
"query": "SELECT STRING(date) AS date, * EXCEPT(date) FROM ${ctx.self()} WHERE date = '${pastMonth}'"

definitions/output/reports/cwv_tech_lighthouse.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ GROUP BY
8080
JSON '''{
8181
"destination": "firestore",
8282
"config": {
83-
"databaseId": "tech-report-apis-${constants.environment}",
84-
"collectionName": "lighthouse",
85-
"collectionType": "report",
83+
"database": "tech-report-apis-${constants.environment}",
84+
"collection": "lighthouse",
85+
"type": "report",
8686
"date": "${pastMonth}"
8787
},
8888
"query": "SELECT STRING(date) AS date, * EXCEPT(date) FROM ${ctx.self()} WHERE date = '${pastMonth}'"

definitions/output/reports/cwv_tech_page_weight.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ GROUP BY
7070
JSON '''{
7171
"destination": "firestore",
7272
"config": {
73-
"databaseId": "tech-report-apis-${constants.environment}",
74-
"collectionName": "page_weight",
75-
"collectionType": "report",
73+
"database": "tech-report-apis-${constants.environment}",
74+
"collection": "page_weight",
75+
"type": "report",
7676
"date": "${pastMonth}"
7777
},
7878
"query": "SELECT STRING(date) AS date, * EXCEPT(date) FROM ${ctx.self()} WHERE date = '${pastMonth}'"

definitions/output/reports/cwv_tech_technologies.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ FROM total_pages
9191
JSON '''{
9292
"destination": "firestore",
9393
"config": {
94-
"databaseId": "tech-report-apis-${constants.environment}",
95-
"collectionName": "technologies",
96-
"collectionType": "dict"
94+
"database": "tech-report-apis-${constants.environment}",
95+
"collection": "technologies",
96+
"type": "dict"
9797
},
9898
"query": "SELECT * FROM ${ctx.self()}"
9999
}'''

definitions/output/reports/tech_report_adoption.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ SELECT
3737
JSON '''{
3838
"destination": "firestore",
3939
"config": {
40-
"databaseId": "tech-report-api-${constants.environment}",
41-
"collectionName": "adoption",
42-
"collectionType": "report",
40+
"database": "tech-report-api-${constants.environment}",
41+
"collection": "adoption",
42+
"type": "report",
4343
"date": "${pastMonth}"
4444
},
4545
"query": "SELECT STRING(date) AS date, * EXCEPT(date) FROM ${ctx.self()} WHERE date = '${pastMonth}'"

definitions/output/reports/tech_report_audits.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ GROUP BY
9191
JSON '''{
9292
"destination": "firestore",
9393
"config": {
94-
"databaseId": "tech-report-api-${constants.environment}",
95-
"collectionName": "audits",
96-
"collectionType": "report",
94+
"database": "tech-report-api-${constants.environment}",
95+
"collection": "audits",
96+
"type": "report",
9797
"date": "${pastMonth}"
9898
},
9999
"query": "SELECT STRING(date) AS date, * EXCEPT(date) FROM ${ctx.self()} WHERE date = '${pastMonth}'"

definitions/output/reports/tech_report_categories.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ FROM (
9696
JSON '''{
9797
"destination": "firestore",
9898
"config": {
99-
"databaseId": "tech-report-api-${constants.environment}",
100-
"collectionName": "categories",
101-
"collectionType": "dict"
99+
"database": "tech-report-api-${constants.environment}",
100+
"collection": "categories",
101+
"type": "dict"
102102
},
103103
"query": "SELECT * FROM ${ctx.self()}"
104104
}'''

definitions/output/reports/tech_report_core_web_vitals.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ GROUP BY
105105
JSON '''{
106106
"destination": "firestore",
107107
"config": {
108-
"databaseId": "tech-report-api-${constants.environment}",
109-
"collectionName": "core_web_vitals",
110-
"collectionType": "report",
108+
"database": "tech-report-api-${constants.environment}",
109+
"collection": "core_web_vitals",
110+
"type": "report",
111111
"date": "${pastMonth}"
112112
},
113113
"query": "SELECT STRING(date) AS date, * EXCEPT(date) FROM ${ctx.self()} WHERE date = '${pastMonth}'"

0 commit comments

Comments
 (0)