Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

enonic-fp

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enonic-fp - npm Package Compare versions

Comparing version 0.2.8 to 0.2.9

16

lib/thymeleaf.d.ts
import { IOEither } from "fp-ts/lib/IOEither";
import { EnonicError } from "./errors";
import { ThymeleafRenderOptions } from "enonic-types/lib/thymeleaf";
export declare function renderUnsafe<A>(view: any, model?: A, options?: ThymeleafRenderOptions): string;
export declare function render<A>(view: any, model?: A, options?: ThymeleafRenderOptions): IOEither<EnonicError, string>;
export declare function getUnsafeRenderer<A>(view: any, options?: ThymeleafRenderOptions): (model: A) => string;
export declare function getRenderer<A>(view: any, options?: ThymeleafRenderOptions): (model: A) => IOEither<EnonicError, string>;
export interface ResourceKey {
applicationKey: string;
path: string;
uri: string;
root: boolean;
name: string;
extension: string;
}
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>;
{
"name": "enonic-fp",
"version": "0.2.8",
"version": "0.2.9",
"description": "Functional programming helpers for Enonic XP",

@@ -10,3 +10,4 @@ "main": "lib/index.js",

"build": "npm run clean && tsc",
"lint": "eslint --fix 'src/**/*.ts'"
"lint": "eslint --fix 'src/**/*.ts'",
"prepublish": "npm run lint && npm run build"
},

@@ -13,0 +14,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc