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.6 to 0.2.7

lib/errors.d.ts

2

lib/auth.d.ts
import { IOEither } from "fp-ts/lib/IOEither";
import { Option } from "fp-ts/lib/Option";
import { EnonicError } from "./common";
import { EnonicError } from "./errors";
import { CreateGroupParams, CreateRoleParams, CreateUserParams, FindUsersParams, Group, LoginParams, LoginResult, ModifyUserParams, Principal, Role, User, UserQueryResult } from "enonic-types/lib/auth";

@@ -5,0 +5,0 @@ export declare function login(params: LoginParams): IOEither<EnonicError, LoginResult>;

import { IOEither } from "fp-ts/lib/IOEither";
import { EnonicError } from "./common";
import { EnonicError } from "./errors";
import { Attachments, AttachmentStreamParams, ByteSource, Content, ContentType, CreateContentParams, CreateMediaParams, DeleteContentParams, GetChildrenParams, GetContentParams, GetPermissionsParams, GetPermissionsResult, GetSiteConfigParams, GetSiteParams, ModifyContentParams, MoveParams, PublishContentParams, PublishResponse, QueryContentParams, QueryResponse, RemoveAttachmentParams, SetPermissionsParams, Site, UnpublishContentParams } from "enonic-types/lib/content";

@@ -4,0 +4,0 @@ export declare function get<A>(params: GetContentParams): IOEither<EnonicError, Content<A>>;

import { IO } from "fp-ts/lib/IO";
import { IOEither } from "fp-ts/lib/IOEither";
import { EnonicError } from "./common";
import { EnonicError } from "./errors";
import { Context, RunContext } from "enonic-types/lib/context";

@@ -5,0 +5,0 @@ export declare function get(): IOEither<EnonicError, Context>;

import { IOEither } from "fp-ts/lib/IOEither";
import { EnonicError } from "./common";
import { EnonicError } from "./errors";
import { HttpRequestParams, HttpResponse } from "enonic-types/lib/http";

@@ -4,0 +4,0 @@ /**

import { IOEither } from "fp-ts/lib/IOEither";
import { EnonicError } from "./common";
import { EnonicError } from "./errors";
import { EmailParams } from "enonic-types/lib/mail";
export declare function send(params: EmailParams): IOEither<EnonicError, void>;
import { IOEither } from "fp-ts/lib/IOEither";
import { EnonicError } from "./common";
import { EnonicError } from "./errors";
import { NodeCreateParams, NodeQueryParams, NodeQueryResponse, RepoConnection, RepoNode, Source } from "enonic-types/lib/node";

@@ -4,0 +4,0 @@ /**

import { IOEither } from "fp-ts/lib/IOEither";
import { EnonicError } from "./common";
import { EnonicError } from "./errors";
import { ByteSource, Content, Site } from "enonic-types/lib/content";

@@ -4,0 +4,0 @@ import { AssetUrlParams, AttachmentUrlParams, Component, ComponentUrlParams, IdProviderUrlParams, ImagePlaceHolderParams, ImageUrlParams, LoginUrlParams, LogoutUrlParams, MultipartItem, PageUrlParams, ProcessHtmlParams, ServiceUrlParams, UrlParams } from "enonic-types/lib/portal";

import { IOEither } from "fp-ts/lib/IOEither";
import { EnonicError } from "./common";
import { EnonicError } from "./errors";
import { CreateBranchParams, CreateRepoParams, DeleteBranchParams, RefreshParams, RepositoryConfig } from "enonic-types/lib/repo";

@@ -4,0 +4,0 @@ export declare function create(params: CreateRepoParams): IOEither<EnonicError, RepositoryConfig>;

import { IOEither } from "fp-ts/lib/IOEither";
import { EnonicError } from "./common";
import { EnonicError } from "./errors";
import { ThymeleafRenderOptions } from "enonic-types/lib/thymeleaf";

@@ -4,0 +4,0 @@ export declare function renderUnsafe<A>(view: any, model?: A, options?: ThymeleafRenderOptions): string;

import { IOEither } from "fp-ts/lib/IOEither";
import { EnonicError, GeneralEnonicErrorKey } from "./common";
import { EnonicError, GeneralEnonicErrorKey } from "./errors";
import { Lazy } from "fp-ts/lib/function";

@@ -4,0 +4,0 @@ export interface Throwable {

{
"name": "enonic-fp",
"version": "0.2.6",
"version": "0.2.7",
"description": "Functional programming helpers for Enonic XP",

@@ -27,8 +27,8 @@ "main": "lib/index.js",

"dependencies": {
"enonic-types": "^0.0.11",
"enonic-types": "^0.0.12",
"fp-ts": "^2.1.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.6.0",
"@typescript-eslint/parser": "^2.6.0",
"@typescript-eslint/eslint-plugin": "^2.6.1",
"@typescript-eslint/parser": "^2.6.1",
"eslint": "^6.6.0",

@@ -35,0 +35,0 @@ "husky": "^3.0.9",

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