From 6efb35bc0d2b56837e74ab29b14c93ba6c10135e Mon Sep 17 00:00:00 2001 From: paed01 Date: Thu, 29 Dec 2022 08:19:19 +0100 Subject: [PATCH] document some and fix changelog --- API.md | 3 +-- CHANGELOG.md | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/API.md b/API.md index edf3077..c82888f 100644 --- a/API.md +++ b/API.md @@ -88,6 +88,7 @@ Arguments: - `script`: script object - `parent`: parent element as an object with `id` and `type` - `id`: optional id as string that makes it easy to distinguish + - `type`: element type that holds script, e.g. `bpmn:Script` - `scriptFormat`: script language - `body`: optional script body as string - `resource`: external resource if any @@ -220,5 +221,3 @@ const typeResolver = TypeResolver(types, (typeMapping) => { typeMapping['bpmn:EscalationEventDefinition'] = EscalationEventDefinition; }); ``` - - diff --git a/CHANGELOG.md b/CHANGELOG.md index c3a3d2d..4a6e6f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,6 @@ Changelog # 2.2.0 - Add property `script.type` to added scripts - -# 2.1.1 - - Stop building node 12 - Lint some