@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 15 lines 465 Bytes
Raw
1 import * as Layer from "effect/Layer";
2 import { ReadObject } from "./ReadObject.ts";
3 import { storageHttpLayer } from "./StorageBinding.ts";
4 import { makeReadObjectHttp } from "./StorageObjectBinding.ts";
5
6 /**
7 * Typed object reads using injected or automatically scoped credentials.
8 *
9 * @layer
10 * @product Bucket
11 * @provides ReadObject
12 */
13 export const ReadObjectHttp = Layer.effect(ReadObject, makeReadObjectHttp()).pipe(
14 Layer.provide(storageHttpLayer),
15 );