New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.25 to 0.0.26

19

lib/content.d.ts

@@ -1,2 +0,2 @@

import { Component } from "./portal";
import { Region } from "./portal";
export interface ContentLibrary {

@@ -65,3 +65,3 @@ get<A extends object, PageConfig extends object = never>(params: GetContentParams): Content<A, PageConfig> | null;

readonly config: A;
readonly regions: Record<string, Array<Component<any>>>;
readonly regions: Record<string, Region>;
}

@@ -180,11 +180,12 @@ export interface Attachment {

readonly [name: string]: {
readonly buckets: Array<{
readonly docCount: number;
readonly key: string;
readonly from?: number | string;
readonly to?: number | string;
readonly [key2: string]: any;
}>;
readonly buckets: Array<AggregationsResponseBucket>;
};
}
export interface AggregationsResponseBucket {
readonly docCount: number;
readonly key: string;
readonly from?: number | string;
readonly to?: number | string;
readonly [key2: string]: any;
}
export interface Highlight {

@@ -191,0 +192,0 @@ encoder?: 'default' | 'html';

@@ -8,7 +8,8 @@ import { ByteSource, Content, Site } from "./content";

readonly config: A;
readonly regions: Record<string, {
components: Array<Component<any>>;
name: string;
}>;
readonly regions: Record<string, Region>;
}
export interface Region {
components: Array<Component<any>>;
name: string;
}
export interface PortalLibrary {

@@ -15,0 +16,0 @@ getComponent<A>(): Component<A> | null;

{
"name": "enonic-types",
"version": "0.0.25",
"version": "0.0.26",
"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