Comparing version 0.2.27 to 0.2.28
import { IOEither } from "fp-ts/lib/IOEither"; | ||
import { EnonicError } from "./errors"; | ||
import { ResourceKey, ThymeleafRenderOptions } from "enonic-types/lib/thymeleaf"; | ||
export declare function renderUnsafe<A>(view: ResourceKey, model?: A, options?: ThymeleafRenderOptions): string; | ||
export declare function render<A>(view: ResourceKey, model?: A, options?: ThymeleafRenderOptions): IOEither<EnonicError, string>; | ||
export declare function getUnsafeRenderer<A>(view: ResourceKey, options?: ThymeleafRenderOptions): (model: A) => string; | ||
export declare function getRenderer<A>(view: ResourceKey, options?: ThymeleafRenderOptions): (model: A) => IOEither<EnonicError, string>; | ||
export declare function renderUnsafe<A extends object>(view: ResourceKey, model?: A, options?: ThymeleafRenderOptions): string; | ||
export declare function render<A extends object>(view: ResourceKey, model?: A, options?: ThymeleafRenderOptions): IOEither<EnonicError, string>; | ||
export declare function getUnsafeRenderer<A extends object>(view: ResourceKey, options?: ThymeleafRenderOptions): (model: A) => string; | ||
export declare function getRenderer<A extends object>(view: ResourceKey, options?: ThymeleafRenderOptions): (model: A) => IOEither<EnonicError, string>; |
{ | ||
"name": "enonic-fp", | ||
"version": "0.2.27", | ||
"version": "0.2.28", | ||
"description": "Functional programming helpers for Enonic XP", | ||
@@ -28,3 +28,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"enonic-types": "^0.0.36", | ||
"enonic-types": "^0.0.37", | ||
"fp-ts": "^2.5.1" | ||
@@ -31,0 +31,0 @@ }, |
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
47249
+ Addedenonic-types@0.0.37(transitive)
- Removedenonic-types@0.0.36(transitive)
Updatedenonic-types@^0.0.37