@hotmeshio/hotmesh 0.1.13 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hotmeshio/hotmesh",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "Unbreakable Workflows",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -21,7 +21,7 @@
21
21
  * * Service Meshes
22
22
  * * Master Data Management systems
23
23
  */
24
- declare const APP_VERSION = "2";
24
+ declare const APP_VERSION = "3";
25
25
  declare const APP_ID = "durable";
26
26
  /**
27
27
  * returns a new durable workflow schema
@@ -24,7 +24,7 @@
24
24
  */
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.APP_ID = exports.APP_VERSION = exports.getWorkflowYAML = void 0;
27
- const APP_VERSION = '2';
27
+ const APP_VERSION = '3';
28
28
  exports.APP_VERSION = APP_VERSION;
29
29
  const APP_ID = 'durable';
30
30
  exports.APP_ID = APP_ID;
@@ -1827,6 +1827,8 @@ const getWorkflowYAML = (app, version) => {
1827
1827
  type: number
1828
1828
  expire:
1829
1829
  type: number
1830
+ signalIn:
1831
+ type: boolean
1830
1832
  parentWorkflowId:
1831
1833
  type: string
1832
1834
  description: used to forge the cleanup key
@@ -1861,6 +1863,16 @@ const getWorkflowYAML = (app, version) => {
1861
1863
  - ['{collator_trigger.output.data.items}', '{collator_cycle_hook.output.data.cur_index}']
1862
1864
  - ['{@array.get}', originJobId]
1863
1865
  - ['{@object.get}']
1866
+ expire:
1867
+ '@pipe':
1868
+ - ['{collator_trigger.output.data.items}', '{collator_cycle_hook.output.data.cur_index}']
1869
+ - ['{@array.get}', expire]
1870
+ - ['{@object.get}']
1871
+ signalIn:
1872
+ '@pipe':
1873
+ - ['{collator_trigger.output.data.items}', '{collator_cycle_hook.output.data.cur_index}']
1874
+ - ['{@array.get}', signalIn]
1875
+ - ['{@object.get}']
1864
1876
  parentWorkflowId:
1865
1877
  '@pipe':
1866
1878
  - ['{collator_trigger.output.data.items}', '{collator_cycle_hook.output.data.cur_index}']
@@ -2024,6 +2036,8 @@ const getWorkflowYAML = (app, version) => {
2024
2036
  description: the arguments to pass to the activity
2025
2037
  items:
2026
2038
  type: string
2039
+ expire:
2040
+ type: number
2027
2041
  backoffCoefficient:
2028
2042
  type: number
2029
2043
  maximumAttempts:
@@ -2071,9 +2085,26 @@ const getWorkflowYAML = (app, version) => {
2071
2085
  - ['{collator_trigger.output.data.items}', '{collator_cycle_hook.output.data.cur_index}']
2072
2086
  - ['{@array.get}', workflowTopic]
2073
2087
  - ['{@object.get}']
2074
- backoffCoefficient: '{collator_trigger.output.data.backoffCoefficient}'
2075
- maximumAttempts: '{collator_trigger.output.data.maximumAttempts}'
2076
- maximumInterval: '{collator_trigger.output.data.maximumInterval}'
2088
+ expire:
2089
+ '@pipe':
2090
+ - ['{collator_trigger.output.data.items}', '{collator_cycle_hook.output.data.cur_index}']
2091
+ - ['{@array.get}', expire]
2092
+ - ['{@object.get}']
2093
+ backoffCoefficient:
2094
+ '@pipe':
2095
+ - ['{collator_trigger.output.data.items}', '{collator_cycle_hook.output.data.cur_index}']
2096
+ - ['{@array.get}', backoffCoefficient]
2097
+ - ['{@object.get}']
2098
+ maximumAttempts:
2099
+ '@pipe':
2100
+ - ['{collator_trigger.output.data.items}', '{collator_cycle_hook.output.data.cur_index}']
2101
+ - ['{@array.get}', maximumAttempts]
2102
+ - ['{@object.get}']
2103
+ maximumInterval:
2104
+ '@pipe':
2105
+ - ['{collator_trigger.output.data.items}', '{collator_cycle_hook.output.data.cur_index}']
2106
+ - ['{@array.get}', maximumInterval]
2107
+ - ['{@object.get}']
2077
2108
  output:
2078
2109
  schema:
2079
2110
  type: object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hotmeshio/hotmesh",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "Unbreakable Workflows",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",