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

Method #withSession

integrations/shopify/src/rest.ts:74–81  ·  view source on GitHub ↗
(params: TParams)

Source from the content-addressed store, hash-verified

72 ) {}
73
74 #withSession<TParams extends HasOptionalSession>(params: TParams): WithRequiredSession<TParams> {
75 const { session, ...paramsWithoutSession } = params;
76
77 return {
78 session: session ?? this.session,
79 ...paramsWithoutSession,
80 } as WithRequiredSession<TParams>;
81 }
82
83 /**
84 * Fetch a single resource by its ID.

Callers 5

findMethod · 0.95
#allSinglePageMethod · 0.95
countMethod · 0.95
saveMethod · 0.95
deleteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected