@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 19 lines 646 Bytes
Raw
1 import * as firebasedataconnect from "@distilled.cloud/gcp/firebasedataconnect_v1";
2 import * as Layer from "effect/Layer";
3 import { makeConnectorHttpBinding } from "./BindingHttp.ts";
4 import { ExecuteQuery } from "./ExecuteQuery.ts";
5
6 /**
7 * HTTP implementation of {@link ExecuteQuery}.
8 *
9 * @layer
10 * @provides GCP.FirebaseDataConnect.ExecuteQuery
11 */
12 export const ExecuteQueryHttp = Layer.effect(
13 ExecuteQuery,
14 makeConnectorHttpBinding({
15 tag: "GCP.FirebaseDataConnect.ExecuteQuery",
16 iam: { role: "roles/firebasedataconnect.dataViewer" },
17 operation: firebasedataconnect.executeQueryProjectsLocationsServicesConnectors,
18 }),
19 );