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.53 to 0.0.54

23

lib/auth.d.ts

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

/**
* Search for principals matching the specified criteria.
*/
findPrincipals(params: FindPrincipalsParams): FindPrincipalsResult;
/**
* Returns the list of principals which the specified principal is a member of.

@@ -89,3 +93,3 @@ */

*/
getProfile<A>(principalKey: string, scope?: string): A;
getProfile<A>(params: GetProfileParams): A;
/**

@@ -148,2 +152,15 @@ * This function retrieves the profile of a user and updates it.

}
export interface FindPrincipalsParams {
readonly type?: string;
readonly idProvider?: string;
readonly start?: string;
readonly count?: string;
readonly name?: string;
readonly searchText?: string;
}
export interface FindPrincipalsResult {
readonly total: number;
readonly count: number;
readonly hits: ReadonlyArray<Principal>;
}
export interface FindUsersParams {

@@ -165,2 +182,6 @@ readonly start?: number;

}
export interface GetProfileParams {
readonly principalKey: string;
readonly scope?: string;
}
export interface ModifyProfileParams<A> {

@@ -167,0 +188,0 @@ readonly key: string;

2

package.json
{
"name": "enonic-types",
"version": "0.0.53",
"version": "0.0.54",
"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