(organizationId: string)
| 157 | }; |
| 158 | |
| 159 | export 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 | |
| 171 | export const createAndBuildTemplateVersion = (organization: string) => { |
| 172 | return { |
no test coverage detected