MCPcopy Create free account
hub / github.com/coder/coder / createTemplateVersion

Function createTemplateVersion

site/src/api/queries/templates.ts:159–169  ·  view source on GitHub ↗
(organizationId: string)

Source from the content-addressed store, hash-verified

157};
158
159export const createTemplateVersion = (organizationId: string) => {
160 return {
161 mutationFn: async (request: CreateTemplateVersionRequest) => {
162 const newVersion = await API.createTemplateVersion(
163 organizationId,
164 request,
165 );
166 return newVersion;
167 },
168 };
169};
170
171export const createAndBuildTemplateVersion = (organization: string) => {
172 return {

Callers 1

Calls 1

createTemplateVersionMethod · 0.45

Tested by

no test coverage detected