Socket
Socket
Sign inDemoInstall

@process-engine/logging_api_contracts

Package Overview
Dependencies
1
Maintainers
10
Versions
104
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1-9465bdbc-b6 to 0.0.1-a302ce22-b10

dist/commonjs/ilogging_repository.js

2

dist/commonjs/index.js

@@ -8,3 +8,5 @@ "use strict";

__export(require("./log_level"));
__export(require("./rest_settings"));
__export(require("./write_log_request_payload"));
//# sourceMappingURL=index.js.map

22

dist/ilogging_service.d.ts

@@ -11,3 +11,3 @@ import { IIdentity } from '@essential-projects/iam_contracts';

* Retrieves the logs for a specific correlation.
*
* @async
* @param identity The identity of the requesting user.

@@ -19,9 +19,9 @@ * @param correlationId The id of the correlation for which to retrieve the logs.

*/
getLogsForCorrelation(identity: IIdentity, correlationId: string, logLevel?: LogLevel): Array<LogEntry>;
getLogsForCorrelation(identity: IIdentity, correlationId: string, logLevel?: LogLevel): Promise<Array<LogEntry>>;
/**
* Retrieves the logs for a specific process model of a given correlation.
*
* @async
* @param identity The identity of the requesting user.
* @param correlationId The id of the correlation for which to retrieve the logs.
* @param processModelId The id of process model for which to retrieve the logs.
* @param correlationId The id of the correlation for which to retrieve the logs.
* @param logLevel Optional: If set, only logs with a matching log level are returned.

@@ -31,17 +31,17 @@ * If not set, all logs will be returned.

*/
getLogsForProcessInstance(identity: IIdentity, processModelId: string, correlationId: string, logLevel?: LogLevel): Array<LogEntry>;
getLogsForProcessInstance(identity: IIdentity, correlationId: string, processModelId: string, logLevel?: LogLevel): Promise<Array<LogEntry>>;
/**
* Writes a log entry for a specific process model of a correlation.
*
* @async
* @param correlationId The id of the correlation to which the process model belongs.
* @param processModelId The id of process model for which to create a log entry.
* @param correlationId The id of the correlation to which the process model belongs.
* @param logLevel The loglevel to use (debug, info, warning, error).
* @param message The message to write into the log entry.
*/
writeLogForProcessModel(processModelId: string, correlationId: string, logLevel: LogLevel, message: string): Promise<void>;
writeLogForProcessModel(correlationId: string, processModelId: string, logLevel: LogLevel, message: string): Promise<void>;
/**
* Writes a log entry for a specific flow node instance of a process model within a correlation.
*
* @async
* @param correlationId The id of the correlation to which the process model belongs.
* @param processModelId The id of process model to which the flow node instance belongs.
* @param correlationId The id of the correlation to which the process model belongs.
* @param flowNodeInstanceId The id of flow node instance for which to create a log entry.

@@ -51,3 +51,3 @@ * @param logLevel The loglevel to use (debug, info, warning, error).

*/
writeLogForFlowNodeInstance(processModelId: string, correlationId: string, flowNodeInstanceId: string, logLevel: LogLevel, message: string): Promise<void>;
writeLogForFlowNodeInstance(correlationId: string, processModelId: string, flowNodeInstanceId: string, logLevel: LogLevel, message: string): Promise<void>;
}

@@ -0,3 +1,6 @@

export * from './ilogging_repository';
export * from './ilogging_service';
export * from './log_entry';
export * from './log_level';
export * from './rest_settings';
export * from './write_log_request_payload';
{
"name": "@process-engine/logging_api_contracts",
"version": "0.0.1-9465bdbc-b6",
"version": "0.0.1-a302ce22-b10",
"description": "the api-package for process-engine logging",

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

@@ -14,3 +14,3 @@ import {IIdentity} from '@essential-projects/iam_contracts';

* Retrieves the logs for a specific correlation.
*
* @async
* @param identity The identity of the requesting user.

@@ -22,10 +22,10 @@ * @param correlationId The id of the correlation for which to retrieve the logs.

*/
getLogsForCorrelation(identity: IIdentity, correlationId: string, logLevel?: LogLevel): Array<LogEntry>;
getLogsForCorrelation(identity: IIdentity, correlationId: string, logLevel?: LogLevel): Promise<Array<LogEntry>>;
/**
* Retrieves the logs for a specific process model of a given correlation.
*
* @async
* @param identity The identity of the requesting user.
* @param correlationId The id of the correlation for which to retrieve the logs.
* @param processModelId The id of process model for which to retrieve the logs.
* @param correlationId The id of the correlation for which to retrieve the logs.
* @param logLevel Optional: If set, only logs with a matching log level are returned.

@@ -35,19 +35,19 @@ * If not set, all logs will be returned.

*/
getLogsForProcessInstance(identity: IIdentity, processModelId: string, correlationId: string, logLevel?: LogLevel): Array<LogEntry>;
getLogsForProcessInstance(identity: IIdentity, correlationId: string, processModelId: string, logLevel?: LogLevel): Promise<Array<LogEntry>>;
/**
* Writes a log entry for a specific process model of a correlation.
*
* @async
* @param correlationId The id of the correlation to which the process model belongs.
* @param processModelId The id of process model for which to create a log entry.
* @param correlationId The id of the correlation to which the process model belongs.
* @param logLevel The loglevel to use (debug, info, warning, error).
* @param message The message to write into the log entry.
*/
writeLogForProcessModel(processModelId: string, correlationId: string, logLevel: LogLevel, message: string): Promise<void>;
writeLogForProcessModel(correlationId: string, processModelId: string, logLevel: LogLevel, message: string): Promise<void>;
/**
* Writes a log entry for a specific flow node instance of a process model within a correlation.
*
* @async
* @param correlationId The id of the correlation to which the process model belongs.
* @param processModelId The id of process model to which the flow node instance belongs.
* @param correlationId The id of the correlation to which the process model belongs.
* @param flowNodeInstanceId The id of flow node instance for which to create a log entry.

@@ -57,4 +57,4 @@ * @param logLevel The loglevel to use (debug, info, warning, error).

*/
writeLogForFlowNodeInstance(processModelId: string,
correlationId: string,
writeLogForFlowNodeInstance(correlationId: string,
processModelId: string,
flowNodeInstanceId: string,

@@ -61,0 +61,0 @@ logLevel: LogLevel,

@@ -0,3 +1,6 @@

export * from './ilogging_repository';
export * from './ilogging_service';
export * from './log_entry';
export * from './log_level';
export * from './rest_settings';
export * from './write_log_request_payload';

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc