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.1.5 to 0.1.6

admin.d.ts

13

auth.d.ts

@@ -125,2 +125,6 @@ /**

readonly sessionTimeout?: number;
/**
* Defines the scope of the login.
*/
readonly scope?: 'SESSION' | 'REQUEST';
}

@@ -189,4 +193,13 @@ export interface LoginResult {

export interface ModifyProfileParams<A> {
/**
* Principal key of the user.
*/
readonly key: string;
/**
* Scope of the data to retrieve and update.
*/
readonly scope?: string;
/**
* Profile editor function to apply.
*/
readonly editor: (c: A) => A;

@@ -193,0 +206,0 @@ }

3

index.d.ts
export interface EnonicLibraryMap {
"/lib/xp/admin": import("./admin").AdminLibrary;
"/lib/xp/auth": import("./auth").AuthLibrary;
"/lib/xp/cluster": import("./cluster").ClusterLibrary;
"/lib/xp/common": import("./common").CommonLibrary;

@@ -20,2 +22,3 @@ "/lib/xp/content": import("./content").ContentLibrary;

"/lib/session": import("./session").SessionLibrary;
"/lib/xp/task": import("./task").TaskLibrary;
"/lib/xp/testing": import("./testing").TestingLibrary;

@@ -22,0 +25,0 @@ "/lib/thymeleaf": import("./thymeleaf").ThymeleafLibrary;

4

node.d.ts

@@ -25,3 +25,3 @@ import { Aggregation, AggregationsResponse, ByteSource, Highlight, PermissionsParams } from "./content";

}
export interface NodeQueryResponse<B extends string> {
export interface NodeQueryResponse<B extends string = never> {
readonly total: number;

@@ -256,3 +256,3 @@ readonly count: number;

*/
query<B extends string>(params: NodeQueryParams<B>): NodeQueryResponse<B>;
query<B extends string = never>(params: NodeQueryParams<B>): NodeQueryResponse<B>;
/**

@@ -259,0 +259,0 @@ * Refresh the index for the current repoConnection

{
"name": "enonic-types",
"sideEffects": false,
"version": "0.1.5",
"version": "0.1.6",
"description": "TypeScript types for Enonic XP",

@@ -6,0 +6,0 @@ "typings": "index.d.ts",

@@ -58,3 +58,5 @@ # TypeScript types for Enonic XP

* [AdminLibrary](./src/admin.ts)
* [AuthLibrary](./src/auth.ts)
* [ClusterLibrary](./src/cluster.ts)
* [CommonLibrary](./src/common.ts)

@@ -78,2 +80,3 @@ * [ContentLibrary](./src/content.ts)

* [SessionLibrary](./src/session.ts)
* [TaskLibrary](./src/task.ts)
* [TestingLibrary](./src/testing.ts)

@@ -80,0 +83,0 @@ * [ThymeleafLibrary](./src/thymeleaf.ts)

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