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.3.9 to 0.3.10

5

content.d.ts
import { IOEither } from "fp-ts/IOEither";
import { Semigroup } from "fp-ts/Semigroup";
import { AddAttachmentParams, Attachments, AttachmentStreamParams, ByteSource, Content, ContentLibrary, ContentType, CreateContentParams, CreateMediaParams, DeleteContentParams, ExistsParams, GetChildrenParams, GetContentParams, GetOutboundDependenciesParams, GetPermissionsParams, GetPermissionsResult, GetSiteConfigParams, GetSiteParams, ModifyContentParams, MoveParams, Page, PublishContentParams, PublishResponse, QueryContentParams, QueryResponse, RemoveAttachmentParams, SetPermissionsParams, Site, UnpublishContentParams } from "enonic-types/content";
import { AddAttachmentParams, Attachments, AttachmentStreamParams, ByteSource, Content, ContentLibrary, ContentType, CreateContentParams, CreateMediaParams, DeleteContentParams, ExistsParams, GetChildrenParams, GetContentParams, GetOutboundDependenciesParams, GetPermissionsParams, GetPermissionsResult, GetSiteConfigParams, GetSiteParams, ModifyContentParams, MoveParams, Page, PublishContentParams, PublishResponse, QueryContentParams, QueryContentParamsWithSort, QueryResponse, QueryResponseMetaDataScore, QueryResponseMetaDataSort, RemoveAttachmentParams, SetPermissionsParams, Site, UnpublishContentParams } from "enonic-types/content";
import { EnonicError } from "./errors";

@@ -12,3 +12,4 @@ /**

export declare function get<A extends object>(paramsOrKey: GetContentParams | string): IOEither<EnonicError, Content<A>>;
export declare function query<A extends object, B extends string = never>(params: QueryContentParams<B>): IOEither<EnonicError, QueryResponse<A, B>>;
export declare function query<Data extends object, AggregationKeys extends string = never>(params: QueryContentParams<AggregationKeys>): IOEither<EnonicError, QueryResponse<Data, AggregationKeys, QueryResponseMetaDataScore>>;
export declare function query<Data extends object, AggregationKeys extends string = never>(params: QueryContentParamsWithSort<AggregationKeys>): IOEither<EnonicError, QueryResponse<Data, AggregationKeys, QueryResponseMetaDataSort>>;
export declare function create<A extends object>(params: CreateContentParams<A>): IOEither<EnonicError, Content<A>>;

@@ -15,0 +16,0 @@ export declare function modify<A extends object, PageConfig extends object = object, XData extends object = object>(params: ModifyContentParams<A, PageConfig, XData>): IOEither<EnonicError, Content<A, PageConfig, XData>>;

2

package.json
{
"name": "enonic-fp",
"version": "0.3.9",
"version": "0.3.10",
"sideEffects": false,

@@ -5,0 +5,0 @@ "description": "Functional programming helpers for Enonic XP",

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