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

@enonic-types/lib-auditlog

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enonic-types/lib-auditlog - npm Package Compare versions

Comparing version 7.11.3 to 7.12.0-B1

12

auditlog.d.ts

@@ -16,3 +16,3 @@ /**

export type { UserKey } from '@enonic-types/core';
export interface AuditLogParams {
export interface AuditLogParams<Data extends Record<string, unknown>> {
type: string;

@@ -23,5 +23,5 @@ time?: string;

objects?: string[];
data?: Record<string, unknown>;
data?: Data;
}
export interface AuditLog {
export interface AuditLog<Data extends Record<string, unknown> = Record<string, unknown>> {
_id: string;

@@ -33,3 +33,3 @@ type: string;

objects: string[];
data: Record<string, unknown>;
data: Data;
}

@@ -49,7 +49,7 @@ /**

* @param {array} [params.objects] URIs to objects that relate to this log entry. Defaults to empty array.
* @param {object} [params.data] Custom extra data for the this log entry. Defaults to empty object.
* @param {object} [params.data] Custom extra data for this log entry. Defaults to empty object.
*
* @returns {object} Audit log created as JSON.
*/
export declare function log(params: AuditLogParams): AuditLog;
export declare function log<Data extends Record<string, unknown> = Record<string, unknown>>(params: AuditLogParams<Data>): AuditLog<Data>;
export interface GetAuditLogParams {

@@ -56,0 +56,0 @@ id: string;

{
"name": "@enonic-types/lib-auditlog",
"version": "7.11.3",
"version": "7.12.0-B1",
"description": "Type definitions for lib-auditlog.",

@@ -30,3 +30,3 @@ "types": "auditlog.d.ts",

"dependencies": {
"@enonic-types/core": "7.11.3"
"@enonic-types/core": "7.12.0-B1"
},

@@ -33,0 +33,0 @@ "publishConfig": {

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