Skip to content
Source
Sign inSign up
Open History to see the last commit

WriteObjectHttp.ts

15 lines473 Bytes

1import * as Layer from "effect/Layer";
2import { storageHttpLayer } from "./StorageBinding.ts";
3import { makeWriteObjectHttp } from "./StorageObjectBinding.ts";
4import { WriteObject } from "./WriteObject.ts";
5​
6/**
7 * Typed object writes using injected or automatically scoped credentials.
8 *
9 * @layer
10 * @product Bucket
11 * @provides WriteObject
12 */
13export const WriteObjectHttp = Layer.effect(WriteObject, makeWriteObjectHttp()).pipe(
14 Layer.provide(storageHttpLayer),
15);