Skip to content

Commit f243dcc

Browse files
author
FalkWolsky
committed
Update Firebase Query to accept paging parameter
1 parent b7277b0 commit f243dcc

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

server/node-service/src/plugins/firebase/dataSourceConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const dataSourceConfig = {
2525
label: "Private Key",
2626
type: "password",
2727
tooltip:
28-
"The [document](https://firebase.google.com/docs/admin/setup) on how to obtain the private key.",
28+
"The JSON [document](https://firebase.google.com/docs/admin/setup) on how to obtain the private key.",
2929
},
3030
{
3131
label: "Spec Version",

server/node-service/src/plugins/firebase/queryConfig.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,30 @@ const queryConfig = {
108108
type: "numberInput",
109109
defaultValue: 10,
110110
},
111+
{
112+
key: "startAt",
113+
label: "Start at",
114+
type: "textInput",
115+
tooltip: "Start the query at a specific document.",
116+
},
117+
{
118+
key: "endAt",
119+
label: "End at",
120+
type: "textInput",
121+
tooltip: "End the query at a specific document.",
122+
},
123+
{
124+
key: "startAfter",
125+
label: "Start after",
126+
type: "textInput",
127+
tooltip: "Start the query after a specific document.",
128+
},
129+
{
130+
key: "endBefore",
131+
label: "End before",
132+
type: "textInput",
133+
tooltip: "End the query before a specific document.",
134+
}
111135
],
112136
},
113137
{

0 commit comments

Comments
 (0)