@vue-email/compiler
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -8,3 +8,3 @@ import { I18n, VueEmailPluginOptions } from 'vue-email'; | ||
interface DefineConfigFunctions { | ||
render: (name: string, options?: RenderOptions) => Promise<string>; | ||
render: (name: string, options?: RenderOptions) => Promise<Result>; | ||
} | ||
@@ -39,7 +39,11 @@ type DefineConfig = (dir: string, config?: Options) => DefineConfigFunctions; | ||
} | ||
interface Result { | ||
html: string; | ||
text: string; | ||
} | ||
declare function templateRender(name: string, code: SourceOptions, options?: RenderOptions, config?: Options): Promise<string>; | ||
declare function templateRender(name: string, code: SourceOptions, options?: RenderOptions, config?: Options): Promise<Result>; | ||
declare const config: DefineConfig; | ||
export { type DefineConfig, type DefineConfigFunctions, type Options, type RenderOptions, type SourceOptions, config, templateRender }; | ||
export { type DefineConfig, type DefineConfigFunctions, type Options, type RenderOptions, type Result, type SourceOptions, config, templateRender }; |
{ | ||
"name": "@vue-email/compiler", | ||
"type": "module", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"packageManager": "pnpm@8.11.0", | ||
@@ -68,3 +68,3 @@ "description": "Compile vue-email templates", | ||
"scule": "^1.1.1", | ||
"vue-email": "0.8.1" | ||
"vue-email": "0.8.2" | ||
}, | ||
@@ -71,0 +71,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3615970
109330
+ Addedvue-email@0.8.2(transitive)
- Removedvue-email@0.8.1(transitive)
Updatedvue-email@0.8.2