1.0.6 • Published 4 years ago

@iota/industry_4.0_language v1.0.6

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
4 years ago

Industry 4.0 Language Library

Usage

Add the package name to your package.json dependencies list

Import functions and call it within your application

import { operations, submodel } from 'SeMarket/industry_4.0_language';

const eClassOperations = operations();
const eClassSubmodel = submodel(eClassOperations[0].id);

API Description:

operations

  1. For CfP message type returns list of operations (plain text)

submodel

  1. Performs lookup in the eCl@ss catalog, retrieves submodel
  2. Returns submodel

evaluate

  1. Evaluates values
  2. Returns success or failure notification

generate

  1. Generates conversationId, messageId,
  2. Fills placeholder JSON for selected message type with provided values, appends submodel
  3. Returns generated message of the selected type (CfP, Proposal, etc.)
1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago