strapi-plugin-email-designer-5
Version:
Strapi Email Designer (v5)
32 lines (31 loc) • 741 B
TypeScript
import type { Core } from "@strapi/strapi";
declare const service: ({ strapi }: {
strapi: Core.Strapi;
}) => {
/**
* Promise to fetch a template.
* @return {Promise}
*/
findOne(params: any): Promise<any>;
/**
* Promise to fetch all templates.
* @return {Promise}
*/
findMany(params: any): Promise<any[]>;
/**
* Promise to add a template.
* @return {Promise}
*/
create(values: any): Promise<any>;
/**
* Promise to edit a template.
* @return {Promise}
*/
update(params: any, values: any): Promise<any>;
/**
* Promise to remove a template.
* @return {Promise}
*/
delete(params: any): Promise<any>;
};
export default service;