MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / variable

Function variable

packages/core/sdk/src/http-auth/authoring.ts:36–36  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

34/** Mark where a credential input renders inside a template value:
35 * `["Bearer ", variable("token")]`. */
36export const variable = (name: string): AuthTemplateVariable => ({ type: "variable", name });
37
38const VariablePart = Schema.Struct({
39 type: Schema.Literal("variable"),

Calls

no outgoing calls

Tested by

no test coverage detected