MCPcopy Index your code
hub / github.com/coder/mux / richParam

Function richParam

src/node/services/coderService.test.ts:118–127  ·  view source on GitHub ↗
(name: string, overrides: Partial<RichParameter> = {})

Source from the content-addressed store, hash-verified

116}
117
118function richParam(name: string, overrides: Partial<RichParameter> = {}): RichParameter {
119 return {
120 name,
121 defaultValue: "val",
122 type: "string",
123 ephemeral: false,
124 required: false,
125 ...overrides,
126 };
127}
128
129function getServiceTestAccess(service: CoderService): CoderServiceTestAccess {
130 return service as unknown as CoderServiceTestAccess;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected