Comparing version 0.3.9 to 0.3.10
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>>; |
{ | ||
"name": "enonic-fp", | ||
"version": "0.3.9", | ||
"version": "0.3.10", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "description": "Functional programming helpers for Enonic XP", |
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
115923
2323