(organization: string)
| 169 | }; |
| 170 | |
| 171 | export const createAndBuildTemplateVersion = (organization: string) => { |
| 172 | return { |
| 173 | mutationFn: async (request: CreateTemplateVersionRequest) => { |
| 174 | const newVersion = await API.createTemplateVersion(organization, request); |
| 175 | await waitBuildToBeFinished(newVersion); |
| 176 | return newVersion; |
| 177 | }, |
| 178 | }; |
| 179 | }; |
| 180 | |
| 181 | export const updateActiveTemplateVersion = ( |
| 182 | template: Template, |
no test coverage detected