ekms 9.6.0-beta.22 → 9.6.0-beta.23

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.
@@ -90,9 +90,8 @@
90
90
  "isA": [
91
91
  "noun"
92
92
  ],
93
- "bridge": "{ ...next(operator) }",
94
- "generatorp": "async ({context, g, gp, gr}) => `${await g(context.amount)} ${await gp(context.unit)}`",
95
- "generatorr": "async ({context, gp, gr}) => `${await gr(context.amount)} ${await gp(context.unit)}`"
93
+ "generatorp": "[object Object]",
94
+ "generatorr": "[object Object]"
96
95
  },
97
96
  {
98
97
  "id": "length",
@@ -108,7 +107,7 @@
108
107
  "bridge": "{ marker: next(operator('quantity')), dead: true, unit: after[0], amount: before[0] }"
109
108
  },
110
109
  {
111
- "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:240",
110
+ "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:246",
112
111
  "id": "convertToUnits",
113
112
  "bridge": "{ ...next(operator), from: before[0], to: after[0] }",
114
113
  "isA": [
@@ -24685,7 +24684,12 @@
24685
24684
  "isA": [
24686
24685
  "noun"
24687
24686
  ],
24688
- "bridge": "{ ...next(operator) }"
24687
+ "generatorp": {
24688
+ "level": 1
24689
+ },
24690
+ "generatorr": {
24691
+ "level": 1
24692
+ }
24689
24693
  },
24690
24694
  {
24691
24695
  "id": "length",
@@ -24701,7 +24705,7 @@
24701
24705
  "bridge": "{ marker: next(operator('quantity')), dead: true, unit: after[0], amount: before[0] }"
24702
24706
  },
24703
24707
  {
24704
- "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:240",
24708
+ "where": "/home/dev/code/theprogrammablemind/kms/common/dimension.js:246",
24705
24709
  "id": "convertToUnits",
24706
24710
  "bridge": "{ ...next(operator), from: before[0], to: after[0] }",
24707
24711
  "isA": [
@@ -219,10 +219,16 @@ const config = {
219
219
  {
220
220
  where: where(),
221
221
  id: "quantity",
222
- isA: ["noun"],
223
- bridge: "{ ...next(operator) }",
224
- generatorp: async ({context, g, gp, gr}) => `${await g(context.amount)} ${await gp(context.unit)}`,
225
- generatorr: async ({context, gp, gr}) => `${await gr(context.amount)} ${await gp(context.unit)}`,
222
+ isA: ['noun'],
223
+ // bridge: "{ ...next(operator) }",
224
+ generatorp: {
225
+ level: 1,
226
+ apply: async ({context, g, gp, gr}) => `${await g(context.amount)} ${await gp(context.unit)}`,
227
+ },
228
+ generatorr: {
229
+ level: 1,
230
+ apply: async ({context, gp, gr}) => `${await gr(context.amount)} ${await gp(context.unit)}`,
231
+ },
226
232
  },
227
233
  {
228
234
  id: "length",