ekms 9.7.1-beta.18 → 9.7.1-beta.20

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.
Files changed (56) hide show
  1. package/common/angle.instance.json +24 -38
  2. package/common/animals.instance.json +44 -0
  3. package/common/articles.js +11 -2
  4. package/common/askfor.instance.json +2925 -0
  5. package/common/askfor.js +147 -0
  6. package/common/askfor.test.json +1 -0
  7. package/common/asking.js +11 -5
  8. package/common/colors.instance.json +99 -0
  9. package/common/comparable.instance.json +21 -1
  10. package/common/compass.instance.json +28 -0
  11. package/common/concept.instance.json +289 -3
  12. package/common/concept.js +2 -1
  13. package/common/conjunction.js +10 -7
  14. package/common/crew.instance.json +136 -712
  15. package/common/dates.instance.json +39 -0
  16. package/common/dialogues.js +43 -87
  17. package/common/dimension.instance.json +67 -12
  18. package/common/dimension.js +2 -1
  19. package/common/drone.instance.json +112 -38
  20. package/common/drone_v1.instance.json +33 -0
  21. package/common/edible.instance.json +103 -0
  22. package/common/emotions.instance.json +21 -87
  23. package/common/evaluate.js +3 -0
  24. package/common/fastfood.instance.json +335 -0
  25. package/common/formulas.instance.json +11 -7
  26. package/common/formulas.js +2 -1
  27. package/common/gdefaults.js +18 -1
  28. package/common/helpers/concept.js +10 -1
  29. package/common/helpers/conjunction.js +41 -28
  30. package/common/helpers/gdefaults.js +2 -1
  31. package/common/helpers/properties.js +1 -1
  32. package/common/helpers.js +7 -2
  33. package/common/hierarchy.js +12 -12
  34. package/common/length.instance.json +52 -38
  35. package/common/math.instance.json +2 -0
  36. package/common/math.js +1 -0
  37. package/common/menus.instance.json +14 -0
  38. package/common/ordering.instance.json +11 -1
  39. package/common/people.instance.json +2125 -851
  40. package/common/people.js +2 -0
  41. package/common/pipboy.instance.json +93 -1
  42. package/common/pokemon.instance.json +45 -1
  43. package/common/pressure.instance.json +24 -38
  44. package/common/properties.instance.json +149 -289
  45. package/common/properties.js +55 -44
  46. package/common/reminders.js +0 -1
  47. package/common/reports.instance.json +16 -3
  48. package/common/sdefaults.js +5 -6
  49. package/common/stm.js +13 -1
  50. package/common/temperature.instance.json +24 -38
  51. package/common/time.instance.json +24 -38
  52. package/common/weight.instance.json +33 -38
  53. package/common/words.js +3 -1
  54. package/common/wp.instance.json +55 -0
  55. package/main.js +2 -0
  56. package/package.json +6 -2
@@ -524,6 +524,17 @@
524
524
  "list",
525
525
  "unknown"
526
526
  ],
527
+ "flattenInPlaceRemove": [
528
+ "types",
529
+ "listable",
530
+ "isList",
531
+ "value"
532
+ ],
533
+ "flattenInPlace": [
534
+ [
535
+ "value"
536
+ ]
537
+ ],
527
538
  "listable": true,
528
539
  "isList": true,
529
540
  "value": [
@@ -579,47 +590,22 @@
579
590
  "propertyOf": true,
580
591
  "interpolate": [
581
592
  {
582
- "property": "property"
583
- },
584
- {
585
- "word": "of"
586
- },
587
- {
588
- "property": "object"
593
+ "values": "objects",
594
+ "separator": "of",
595
+ "each": true
589
596
  }
590
597
  ],
591
- "property": {
592
- "value": "unit",
593
- "number": "many",
594
- "text": "units",
595
- "marker": "unit",
596
- "dead": true,
597
- "word": "units",
598
- "range": {
599
- "start": 24,
600
- "end": 28
601
- },
602
- "types": [
603
- "unit"
604
- ],
605
- "level": 0
606
- },
607
- "object": {
608
- "value": "angle",
609
- "number": "one",
610
- "text": "angle",
611
- "marker": "angle",
612
- "word": "angle",
613
- "range": {
614
- "start": 33,
615
- "end": 37
616
- },
617
- "dead": true,
618
- "types": [
619
- "angle"
598
+ "flattenInPlace": [
599
+ [
600
+ "object",
601
+ "objects[1]"
620
602
  ],
621
- "level": 0
622
- },
603
+ [
604
+ "value",
605
+ "theable",
606
+ "objects[0]"
607
+ ]
608
+ ],
623
609
  "objects": [
624
610
  {
625
611
  "value": "unit",
@@ -163,6 +163,17 @@
163
163
  "list",
164
164
  "unknown"
165
165
  ],
166
+ "flattenInPlaceRemove": [
167
+ "types",
168
+ "listable",
169
+ "isList",
170
+ "value"
171
+ ],
172
+ "flattenInPlace": [
173
+ [
174
+ "value"
175
+ ]
176
+ ],
166
177
  "listable": true,
167
178
  "isList": true,
168
179
  "value": [
@@ -2909,6 +2920,17 @@
2909
2920
  "list",
2910
2921
  "unknown"
2911
2922
  ],
2923
+ "flattenInPlaceRemove": [
2924
+ "types",
2925
+ "listable",
2926
+ "isList",
2927
+ "value"
2928
+ ],
2929
+ "flattenInPlace": [
2930
+ [
2931
+ "value"
2932
+ ]
2933
+ ],
2912
2934
  "listable": true,
2913
2935
  "isList": true,
2914
2936
  "value": [
@@ -3866,6 +3888,17 @@
3866
3888
  "list",
3867
3889
  "unknown"
3868
3890
  ],
3891
+ "flattenInPlaceRemove": [
3892
+ "types",
3893
+ "listable",
3894
+ "isList",
3895
+ "value"
3896
+ ],
3897
+ "flattenInPlace": [
3898
+ [
3899
+ "value"
3900
+ ]
3901
+ ],
3869
3902
  "listable": true,
3870
3903
  "isList": true,
3871
3904
  "value": [
@@ -4995,6 +5028,17 @@
4995
5028
  "list",
4996
5029
  "unknown"
4997
5030
  ],
5031
+ "flattenInPlaceRemove": [
5032
+ "types",
5033
+ "listable",
5034
+ "isList",
5035
+ "value"
5036
+ ],
5037
+ "flattenInPlace": [
5038
+ [
5039
+ "value"
5040
+ ]
5041
+ ],
4998
5042
  "listable": true,
4999
5043
  "isList": true,
5000
5044
  "value": [
@@ -80,6 +80,7 @@ const config = {
80
80
  checks: append(after[0].checks, ['determiner']),
81
81
  determiner: operator,
82
82
  theable: after[0],
83
+ flattenInPlace: [['value', 'theable']],
83
84
  flatten_ignore: ['theable'],
84
85
  interpolate: [{ property: 'determiner' }, { property: 'theable' }]
85
86
  }`
@@ -89,8 +90,16 @@ const config = {
89
90
  isA: ['article'],
90
91
  localHierarchy: [['unknown', 'theAble']],
91
92
  level: 0,
92
- // bridge: "{ ...after[0], pullFromContext: false, instance: false, concept: true, number: 'one', wantsValue: true, determiner: operator, modifiers: append(['determiner'], after[0].modifiers) }"
93
- bridge: "{ ...after[0], pullFromContext: false, concept: true, number: 'one', wantsValue: true, determiner: operator, modifiers: append(['determiner'], after[0].modifiers) }"
93
+ bridge: `{
94
+ ...after[0],
95
+ pullFromContext: false,
96
+ concept: true,
97
+ number: 'one',
98
+ wantsValue: true,
99
+ determiner: operator,
100
+ modifiers: append(['determiner'],
101
+ after[0].modifiers) }
102
+ `,
94
103
  },
95
104
  { id: "queryable" },
96
105
  {