Socket
Socket
Sign inDemoInstall

@process-engine/logging_api_contracts

Package Overview
Dependencies
2
Maintainers
9
Versions
104
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 2.0.0-alpha.1

dist/amd/ilogging_repository_config.js

10

dist/ilogging_api.d.ts

@@ -52,2 +52,12 @@ import { IIdentity } from '@essential-projects/iam_contracts';

writeLogForFlowNode(correlationId: string, processModelId: string, processInstanceId: string, flowNodeInstanceId: string, flowNodeId: string, logLevel: LogLevel, message: string, timestamp?: Date): Promise<void>;
/**
* Places all logs for the given ProcessModel into the "archive" folder.
* Essentially, this is pretty much like "deleting" the logs, as they will no longer be available.
*
* However, since logs are somewhat sensitive, they will not be deleted, but archived.
*
* @param identity The identity of the requesting user.
* @param processModelId The ID of the ProcessModel whose logs are to be archived.
*/
archiveProcessModelLogs(identity: IIdentity, processModelId: string): Promise<void>;
}

@@ -50,2 +50,11 @@ import { LogEntry } from './log_entry';

writeLogForFlowNode(correlationId: string, processModelId: string, processInstanceId: string, flowNodeInstanceId: string, flowNodeId: string, logLevel: LogLevel, message: string, timestamp?: Date): Promise<void>;
/**
* Places all logs for the given ProcessModel into the "archive" folder.
* Essentially, this is pretty much like "deleting" the logs, as they will no longer be available.
*
* However, since logs are somewhat sensitive, they will not be deleted, but archived.
*
* @param processModelId
*/
archiveProcessModelLogs(processModelId: string): Promise<void>;
}

1

dist/index.d.ts
export * from './ilogging_api';
export * from './ilogging_repository_config';
export * from './ilogging_repository';

@@ -3,0 +4,0 @@ export * from './log_entry';

13

package.json
{
"name": "@process-engine/logging_api_contracts",
"version": "1.1.0",
"version": "2.0.0-alpha.1",
"description": "the api-package for process-engine logging",

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

"author": "5Minds IT-Solutions GmbH & Co. KG",
"contributors": [
"Sebastian Meier <sebastian.meier@5minds.de>",
"Christian Werner <christian.werner@5minds.de>"
"maintainers": [
"Alexander Kasten <alexander.kasten@5minds.de>",
"Christian Werner <christian.werner@5minds.de>",
"René Föhring <rene.foehring@5minds.de>",
"Steffen Knaup <steffen.knaup@5minds.de>"
],

@@ -24,3 +26,2 @@ "license": "MIT",

"@essential-projects/iam_contracts": "^3.4.0",
"@types/express": "^4.16.0",
"@types/node": "^10.12.2"

@@ -30,4 +31,4 @@ },

"@essential-projects/eslint-config": "^1.0.0",
"@process-engine/ci_tools": "^2.2.0",
"eslint": "^5.16.0",
"tsconfig": "^7.0.0",
"typescript": "^3.4.5"

@@ -34,0 +35,0 @@ },

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

*/
writeLogForProcessModel(correlationId: string,
writeLogForProcessModel(
correlationId: string,
processModelId: string,

@@ -42,3 +43,4 @@ processInstanceId: string,

message: string,
timestamp?: Date): Promise<void>;
timestamp?: Date,
): Promise<void>;

@@ -63,3 +65,4 @@ /**

*/
writeLogForFlowNode(correlationId: string,
writeLogForFlowNode(
correlationId: string,
processModelId: string,

@@ -71,3 +74,15 @@ processInstanceId: string,

message: string,
timestamp?: Date): Promise<void>;
timestamp?: Date,
): Promise<void>;
/**
* Places all logs for the given ProcessModel into the "archive" folder.
* Essentially, this is pretty much like "deleting" the logs, as they will no longer be available.
*
* However, since logs are somewhat sensitive, they will not be deleted, but archived.
*
* @param identity The identity of the requesting user.
* @param processModelId The ID of the ProcessModel whose logs are to be archived.
*/
archiveProcessModelLogs(identity: IIdentity, processModelId: string): Promise<void>;
}

@@ -33,3 +33,4 @@ import {LogEntry} from './log_entry';

*/
writeLogForProcessModel(correlationId: string,
writeLogForProcessModel(
correlationId: string,
processModelId: string,

@@ -39,3 +40,4 @@ processInstanceId: string,

message: string,
timestamp?: Date): Promise<void>;
timestamp?: Date,
): Promise<void>;

@@ -60,3 +62,4 @@ /**

*/
writeLogForFlowNode(correlationId: string,
writeLogForFlowNode(
correlationId: string,
processModelId: string,

@@ -68,3 +71,14 @@ processInstanceId: string,

message: string,
timestamp?: Date): Promise<void>;
timestamp?: Date,
): Promise<void>;
/**
* Places all logs for the given ProcessModel into the "archive" folder.
* Essentially, this is pretty much like "deleting" the logs, as they will no longer be available.
*
* However, since logs are somewhat sensitive, they will not be deleted, but archived.
*
* @param processModelId
*/
archiveProcessModelLogs(processModelId: string): Promise<void>;
}
export * from './ilogging_api';
export * from './ilogging_repository_config';
export * from './ilogging_repository';

@@ -3,0 +4,0 @@ export * from './log_entry';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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