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

main
ts 19 lines 691 Bytes
Raw
1 import * as translate from "@distilled.cloud/gcp/translate_v3";
2 import * as Layer from "effect/Layer";
3 import { makeGlossaryEntryHttpBinding } from "./BindingHttp.ts";
4 import { GetGlossariesGlossaryEntry } from "./GetGlossariesGlossaryEntry.ts";
5
6 /**
7 * HTTP implementation of {@link GetGlossariesGlossaryEntry}.
8 *
9 * @layer
10 * @provides GCP.Translate.GetGlossariesGlossaryEntry
11 */
12 export const GetGlossariesGlossaryEntryHttp = Layer.effect(
13 GetGlossariesGlossaryEntry,
14 makeGlossaryEntryHttpBinding({
15 tag: "GCP.Translate.GetGlossariesGlossaryEntry",
16 operation: translate.getProjectsLocationsGlossariesGlossaryEntries,
17 iam: { role: "roles/cloudtranslate.viewer" },
18 }),
19 );