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

@process-engine/logging_api_contracts

Package Overview
Dependencies
Maintainers
10
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@process-engine/logging_api_contracts - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5-04ceb650-b8

4

dist/commonjs/rest_settings.js

@@ -5,7 +5,5 @@ "use strict";

processModelId: ':process_model_id',
correlationId: ':correlation_id',
};
const paths = {
getLogForCorrelation: `/correlation/${params.correlationId}`,
getLogForProcessModel: `/correlation/${params.correlationId}/process_model/${params.processModelId}`,
getLogForProcessModel: `/process_model/${params.processModelId}`,
};

@@ -12,0 +10,0 @@ exports.restSettings = {

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

* @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 ProcessModel for which to retrieve

@@ -21,3 +19,3 @@ * the logs.

*/
readLogForProcessModel(identity: IIdentity, correlationId: string, processModelId: string): Promise<Array<LogEntry>>;
readLogForProcessModel(identity: IIdentity, processModelId: string): Promise<Array<LogEntry>>;
/**

@@ -24,0 +22,0 @@ * Writes a log entry for a specific ProcessModel of a Correlation.

@@ -9,6 +9,4 @@ import { LogEntry } from './log_entry';

/**
* Retrieves the logs for a specific ProcessModel of a given Correlation.
* Retrieves the logs for a specific ProcessModel.
* @async
* @param correlationId The ID of the Correlation for which to retrieve
* the logs.
* @param processModelId The ID of ProcessModel for which to retrieve

@@ -19,5 +17,5 @@ * the logs.

*/
readLogForProcessModel(correlationId: string, processModelId: string): Promise<Array<LogEntry>>;
readLogForProcessModel(processModelId: string): Promise<Array<LogEntry>>;
/**
* Writes a log entry for a specific ProcessModel of a Correlation.
* Writes a log entry for a specific ProcessModel.
* @async

@@ -24,0 +22,0 @@ * @param correlationId The ID of the Correlation to which the

@@ -7,8 +7,6 @@ /**

processModelId: string;
correlationId: string;
};
paths: {
getLogForCorrelation: string;
getLogForProcessModel: string;
};
};
{
"name": "@process-engine/logging_api_contracts",
"version": "0.1.4",
"version": "0.1.5-04ceb650-b8",
"description": "the api-package for process-engine logging",

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

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

* @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 ProcessModel for which to retrieve

@@ -24,3 +22,3 @@ * the logs.

*/
readLogForProcessModel(identity: IIdentity, correlationId: string, processModelId: string): Promise<Array<LogEntry>>;
readLogForProcessModel(identity: IIdentity, processModelId: string): Promise<Array<LogEntry>>;

@@ -27,0 +25,0 @@ /**

@@ -11,6 +11,4 @@ import {LogEntry} from './log_entry';

/**
* Retrieves the logs for a specific ProcessModel of a given Correlation.
* Retrieves the logs for a specific ProcessModel.
* @async
* @param correlationId The ID of the Correlation for which to retrieve
* the logs.
* @param processModelId The ID of ProcessModel for which to retrieve

@@ -21,6 +19,6 @@ * the logs.

*/
readLogForProcessModel(correlationId: string, processModelId: string): Promise<Array<LogEntry>>;
readLogForProcessModel(processModelId: string): Promise<Array<LogEntry>>;
/**
* Writes a log entry for a specific ProcessModel of a Correlation.
* Writes a log entry for a specific ProcessModel.
* @async

@@ -27,0 +25,0 @@ * @param correlationId The ID of the Correlation to which the

// tslint:disable:typedef
const params = {
processModelId: ':process_model_id',
correlationId: ':correlation_id',
};
const paths = {
getLogForCorrelation: `/correlation/${params.correlationId}`,
getLogForProcessModel: `/correlation/${params.correlationId}/process_model/${params.processModelId}`,
getLogForProcessModel: `/process_model/${params.processModelId}`,
};

@@ -11,0 +9,0 @@

Sorry, the diff of this file is not supported yet

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