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

enonic-wizardry

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enonic-wizardry - npm Package Compare versions

Comparing version 0.2.17 to 0.2.18

12

lib/content.d.ts

@@ -25,9 +25,9 @@ import { EnonicError } from "enonic-fp/lib/errors";

}
export declare function publishFromDraftToMaster<A>(content: Content<A>): IOEither<EnonicError, Content<A>>;
export declare function publishFromDraftToMaster<A extends object>(content: Content<A>): IOEither<EnonicError, Content<A>>;
export declare function publishContentByKey<A>(key: string): (a: A) => IOEither<EnonicError, A>;
export declare function applyChangesToData<A>(key: string, changes: Partial<A>): ModifyContentParams<A>;
export declare function createAndPublish<A>(params: CreateContentParams<A>): IOEither<EnonicError, Content<A>>;
export declare function applyChangesToData<A extends object>(key: string, changes: Partial<A>): ModifyContentParams<A>;
export declare function createAndPublish<A extends object>(params: CreateContentParams<A>): IOEither<EnonicError, Content<A>>;
export declare function deleteAndPublish(params: DeleteContentParams): IOEither<EnonicError, void>;
export declare function modifyAndPublish<A>(key: string, changes: Partial<A>): IOEither<EnonicError, Content<A>>;
export declare function getContentDataWithId<A>(content: Content<A>): WithId<A>;
export declare function createMediaFromAttachment<A>(params: CreateMediaFromAttachmentParams): IOEither<EnonicError, Content<A>>;
export declare function modifyAndPublish<A extends object>(key: string, changes: Partial<A>): IOEither<EnonicError, Content<A>>;
export declare function getContentDataWithId<A extends object>(content: Content<A>): WithId<A>;
export declare function createMediaFromAttachment<A extends object>(params: CreateMediaFromAttachmentParams): IOEither<EnonicError, Content<A>>;
{
"name": "enonic-wizardry",
"version": "0.2.17",
"version": "0.2.18",
"description": "Functional utility library for Enonic XP",

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

"dependencies": {
"enonic-fp": "^0.2.17",
"enonic-types": "^0.0.21",
"enonic-fp": "^0.2.18",
"enonic-types": "^0.0.22",
"fp-ts": "^2.4.1",

@@ -32,0 +32,0 @@ "io-ts": "^2.0.5"

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