@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, 06:00 UTC

main
ts 41 lines 1.27 KB
Raw
1 import * as omics from "@distilled.cloud/aws/omics";
2 import * as Binding from "alchemy/Binding";
3 import * as Effect from "effect/Effect";
4 import type { ReferenceStore } from "./ReferenceStore.ts";
5
6 export interface ListReferencesRequest extends Omit<
7 omics.ListReferencesRequest,
8 "referenceStoreId"
9 > {}
10
11 /**
12 * Runtime binding for `omics:ListReferences`.
13 *
14 * Bind this operation to a `ReferenceStore` to get a callable that lists the reference genomes in the store — the
15 * store/workflow id is injected automatically and the action is granted on the
16 * bound resource. Provide the implementation with
17 * `Effect.provide(AWS.Omics.ListReferencesHttp)`.
18 * ### References
19 * **Example:** Bind ListReferences to a ReferenceStore
20 * ```typescript
21 * // init
22 * const listReferences = yield* AWS.Omics.ListReferences(store);
23 * // runtime
24 * const result = yield* listReferences({});
25 * ```
26 *
27 * @binding
28 */
29 export interface ListReferences extends Binding.Service<
30 ListReferences,
31 "AWS.Omics.ListReferences",
32 (
33 store: ReferenceStore,
34 ) => Effect.Effect<
35 (
36 request?: ListReferencesRequest,
37 ) => Effect.Effect<omics.ListReferencesResponse, omics.ListReferencesError>
38 >
39 > {}
40
41 export const ListReferences = Binding.Service<ListReferences>("AWS.Omics.ListReferences");