We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 503f81b commit faade42Copy full SHA for faade42
1 file changed
src/templates/domain/useCases/UpdateTemplateMetadata.ts
@@ -8,7 +8,13 @@ export class UpdateTemplateMetadata implements UseCase<void> {
8
constructor(templatesRepository: ITemplatesRepository) {
9
this.templatesRepository = templatesRepository
10
}
11
-
+ /**
12
+ * Updates the metadata for a template with the given identifier.
13
+ *
14
+ * @param {number} templateId - The unique identifier of the template to update.
15
+ * @param {UpdateTemplateMetadataDTO} payload - The metadata to apply to the template.
16
+ * @returns {Promise<void>} A promise that resolves when the metadata has been updated.
17
+ */
18
async execute(
19
templateId: number,
20
payload: UpdateTemplateMetadataDTO,
0 commit comments