MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / get

Method get

integrations/replicate/src/collections.ts:11–23  ·  view source on GitHub ↗

Fetch a model collection.

(key: IntegrationTaskKey, params: { slug: string })

Source from the content-addressed store, hash-verified

9
10 /** Fetch a model collection. */
11 get(key: IntegrationTaskKey, params: { slug: string }): ReplicateReturnType<Collection> {
12 return this.runTask(
13 key,
14 (client) => {
15 return client.collections.get(params.slug);
16 },
17 {
18 name: "Get Collection",
19 params,
20 properties: [{ label: "Collection Slug", text: params.slug }],
21 }
22 );
23 }
24
25 /** Fetch a list of model collections. */
26 list(key: IntegrationTaskKey): ReplicateReturnType<Page<Collection>> {

Callers

nothing calls this directly

Calls 1

runTaskMethod · 0.45

Tested by

no test coverage detected