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

enonic-types

Package Overview
Dependencies
Maintainers
1
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enonic-types - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

8

lib/content.d.ts
import { Component } from "./portal";
export interface ContentLibrary {
get<A>(params: GetContentParams): Content<A> | null;
get<A, PageConfig = any>(params: GetContentParams): Content<A, PageConfig> | null;
query<A>(params: QueryContentParams): QueryResponse<A>;

@@ -12,3 +12,3 @@ create<A>(params: CreateContentParams<A>): Content<A>;

move<A>(params: MoveParams): Content<A>;
getSite<A>(params: GetSiteParams): Site<A>;
getSite<A, PageConfig = any>(params: GetSiteParams): Site<A, PageConfig>;
getSiteConfig<A>(params: GetSiteConfigParams): A;

@@ -137,3 +137,3 @@ createMedia<A>(params: CreateMediaParams): Content<A>;

}
export interface Site<A> {
export interface Site<A, PageConfig = any> {
readonly _id: string;

@@ -151,3 +151,3 @@ readonly _name: string;

};
readonly page: any;
readonly page: Page<PageConfig>;
readonly attachments: object;

@@ -154,0 +154,0 @@ readonly publish: ScheduleParams;

{
"name": "enonic-types",
"version": "0.0.7",
"version": "0.0.8",
"description": "TypeScript types for Enonic XP",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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