tpmkms_4wp 8.9.1 → 9.0.0-beta.0
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.
- package/common/animals.instance.json +6716 -775
- package/common/articles.js +22 -9
- package/common/articles.test.json +640 -2
- package/common/asking.js +3 -3
- package/common/asking.test.json +1599 -140
- package/common/avatar.js +9 -1
- package/common/avatar.test.json +6008 -2749
- package/common/characters.js +1 -1
- package/common/characters.test.json +1371 -95
- package/common/colors.instance.json +22813 -1432
- package/common/colors.test.json +704 -136
- package/common/comparable.instance.json +1337 -159
- package/common/comparable.js +13 -13
- package/common/comparable.test.json +3239 -558
- package/common/concept.js +11 -3
- package/common/concept.test.json +2853 -694
- package/common/conjunction.js +13 -1
- package/common/conjunction.test.json +229 -1
- package/common/countable.js +3 -9
- package/common/countable.test.json +1310 -638
- package/common/crew.instance.json +19500 -2069
- package/common/crew.js +19 -0
- package/common/crew.test.json +10218 -2145
- package/common/currency.js +2 -3
- package/common/currency.test.json +948 -64
- package/common/dialogues.js +111 -33
- package/common/dialogues.test.json +6611 -1905
- package/common/dimension.instance.json +760 -84
- package/common/dimension.js +18 -4
- package/common/dimension.test.json +23680 -11550
- package/common/edible.instance.json +21870 -2699
- package/common/edible.js +13 -0
- package/common/edible.test.json +1580 -304
- package/common/emotions.instance.json +2278 -247
- package/common/emotions.js +10 -2
- package/common/emotions.test.json +1134 -107
- package/common/errors.js +1 -1
- package/common/errors.test.json +88 -0
- package/common/evaluate.test.json +100 -1
- package/common/events.js +1 -1
- package/common/events.test.json +2197 -242
- package/common/fastfood.instance.json +82907 -10367
- package/common/fastfood.js +99 -12
- package/common/fastfood.test.json +65486 -21430
- package/common/formulas.instance.json +325 -58
- package/common/formulas.js +1 -1
- package/common/formulas.test.json +13202 -6757
- package/common/gdefaults.js +35 -17
- package/common/help.js +4 -4
- package/common/help.test.json +292 -4
- package/common/helpers/concept.js +6 -5
- package/common/helpers/conjunction.js +1 -1
- package/common/helpers/formulas.js +4 -4
- package/common/helpers/frankenhash.js +4 -4
- package/common/helpers/meta.js +4 -4
- package/common/helpers/ordering.js +2 -2
- package/common/helpers/properties.js +18 -48
- package/common/helpers.js +17 -1
- package/common/hierarchy.js +12 -3
- package/common/hierarchy.test.json +53813 -17340
- package/common/javascript.js +1 -1
- package/common/javascript.test.json +214 -11
- package/common/kirk.instance.json +322 -7
- package/common/kirk.test.json +1123 -254
- package/common/length.instance.json +9890 -797
- package/common/length.test.json +12055 -8184
- package/common/listener.test.json +39 -1
- package/common/math.instance.json +294 -57
- package/common/math.js +1 -1
- package/common/math.test.json +38557 -17754
- package/common/meta.instance.json +1 -0
- package/common/meta.js +13 -13
- package/common/meta.test.json +2770 -275
- package/common/nameable.js +1 -1
- package/common/nameable.test.json +5150 -1475
- package/common/negation.js +1 -1
- package/common/negation.test.json +146 -8
- package/common/numbers.js +1 -1
- package/common/numbers.test.json +234 -0
- package/common/ordering.instance.json +3861 -508
- package/common/ordering.test.json +2680 -1283
- package/common/ordinals.js +15 -3
- package/common/ordinals.test.json +627 -3
- package/common/people.instance.json +4041 -652
- package/common/people.js +1 -15
- package/common/people.test.json +27157 -13664
- package/common/percentages.js +1 -2
- package/common/percentages.test.json +313 -0
- package/common/pipboy.instance.json +13835 -1684
- package/common/pipboy.js +31 -49
- package/common/pipboy.test.json +19335 -6019
- package/common/pokemon.instance.json +6163 -690
- package/common/pokemon.test.json +1826 -389
- package/common/pos.js +27 -11
- package/common/pressure.instance.json +2635 -291
- package/common/pressure.test.json +2997 -1629
- package/common/properties.instance.json +907 -84
- package/common/properties.js +19 -28
- package/common/properties.test.json +46801 -14612
- package/common/punctuation.js +1 -1
- package/common/punctuation.test.json +327 -0
- package/common/reports.instance.json +997 -118
- package/common/reports.js +16 -9
- package/common/reports.test.json +16653 -2453
- package/common/scorekeeper.instance.json +1 -0
- package/common/scorekeeper.js +22 -12
- package/common/scorekeeper.test.json +42546 -15408
- package/common/sdefaults.js +2 -2
- package/common/sizeable.js +2 -2
- package/common/sizeable.test.json +1170 -215
- package/common/spock.instance.json +322 -7
- package/common/spock.test.json +1123 -254
- package/common/stgame.js +0 -1
- package/common/stgame.test.json +1371 -91
- package/common/stm.js +6 -6
- package/common/stm.test.json +842 -9
- package/common/tell.js +1 -1
- package/common/tell.test.json +224 -1
- package/common/temperature.instance.json +5980 -285
- package/common/temperature.test.json +2610 -1272
- package/common/tester.js +1 -1
- package/common/testing.test.json +84 -1
- package/common/time.test.json +5345 -272
- package/common/tokenize.js +3 -2
- package/common/tokenize.test.json +39 -0
- package/common/ui.instance.json +144 -26
- package/common/ui.js +0 -16
- package/common/ui.test.json +4620 -140
- package/common/weight.instance.json +10025 -771
- package/common/weight.js +10 -0
- package/common/weight.test.json +18658 -12176
- package/common/wp.instance.json +27555 -2630
- package/common/wp.js +240 -41
- package/common/wp.test.json +147553 -2727
- package/common/yesno.js +1 -1
- package/common/yesno.test.json +168 -4
- package/package.json +11 -6
package/common/reports.js
CHANGED
@@ -49,7 +49,7 @@ const newReport = ({km, objects}) => {
|
|
49
49
|
}
|
50
50
|
|
51
51
|
const compareObject = (ordering) => (v1, v2) => {
|
52
|
-
for (
|
52
|
+
for (const order of ordering) {
|
53
53
|
c = compareValue(order[0], v1, v2)
|
54
54
|
if (c == 0) {
|
55
55
|
continue
|
@@ -110,7 +110,7 @@ const apiTemplate = (marker, testData) => {
|
|
110
110
|
const api1 = apiTemplate('models', testData2)
|
111
111
|
const api2 = apiTemplate('clothes', testData)
|
112
112
|
|
113
|
-
|
113
|
+
const config = {
|
114
114
|
name: 'reports',
|
115
115
|
operators: [
|
116
116
|
//"(([type]) [([(<less> ([than]))] ([amount]))])",
|
@@ -301,9 +301,9 @@ let config = {
|
|
301
301
|
"generatorr": async ({gp, context, apis, objects, config}) => {
|
302
302
|
const reports = propertyToArray(context.report)
|
303
303
|
let response = ''
|
304
|
-
for (
|
304
|
+
for (const report of reports) {
|
305
305
|
if (report.number == 'many') {
|
306
|
-
for (
|
306
|
+
for (const reportId in objects.listings) {
|
307
307
|
if (reportId.startsWith('tempReport')) {
|
308
308
|
continue
|
309
309
|
}
|
@@ -326,7 +326,7 @@ let config = {
|
|
326
326
|
where: where(),
|
327
327
|
id: "call",
|
328
328
|
level: 0,
|
329
|
-
bridge: "{ ...next(operator), namee: after[0], name: after[1:] }",
|
329
|
+
bridge: "{ ...next(operator), namee: after[0], name: after[1:][0] }",
|
330
330
|
generatorp: async ({g, gs, context}) => `call ${await g(context.namee)} ${await gs(context.name)}`,
|
331
331
|
semantic: async ({context, objects, e, config, km}) => {
|
332
332
|
const namee = (await e(context.namee)).evalue
|
@@ -348,6 +348,13 @@ let config = {
|
|
348
348
|
}
|
349
349
|
},
|
350
350
|
],
|
351
|
+
associations: {
|
352
|
+
positive: [
|
353
|
+
{ context: [["show",0],["article",0],["property",0],["sort_ordering",0],["list",0],["article",0],["property",0],["sort_ordering",0]], choose: 0 },
|
354
|
+
{ context: [["show",0],["article",0],["property",1],["sort_ordering",0],["list",0],["article",0],["property",0],["sort_ordering",0]], choose: 0 },
|
355
|
+
{ context: [["show",0],["article",0],["property",1],["sort_ordering",1],["list",0],["article",0],["property",0],["sort_ordering",0]], choose: 0 },
|
356
|
+
]
|
357
|
+
},
|
351
358
|
hierarchy: [
|
352
359
|
['property', 'comparable'],
|
353
360
|
['ascending', 'ordering'],
|
@@ -383,7 +390,7 @@ let config = {
|
|
383
390
|
},
|
384
391
|
|
385
392
|
priorities: [
|
386
|
-
{ "context": [['ordering', 0], ['
|
393
|
+
{ "context": [['ordering', 0], ['article', 0], ], "choose": [0] },
|
387
394
|
],
|
388
395
|
generators: [
|
389
396
|
{
|
@@ -452,10 +459,10 @@ let config = {
|
|
452
459
|
const data = []
|
453
460
|
for (const product of products) {
|
454
461
|
const row = []
|
455
|
-
for (
|
462
|
+
for (const p of Object.keys(product)) {
|
456
463
|
kms.stm.api.setVariable(p, { marker: p, value: product[p] })
|
457
464
|
}
|
458
|
-
for (
|
465
|
+
for (const property of columns) {
|
459
466
|
const value = toEValue(await e({ marker: property, value: property }));
|
460
467
|
row.push(value)
|
461
468
|
}
|
@@ -515,7 +522,7 @@ let config = {
|
|
515
522
|
const id = report.value.value
|
516
523
|
const listing = objects.listings[id]
|
517
524
|
const values = propertyToArray(context.properties)
|
518
|
-
for (
|
525
|
+
for (const value of values) {
|
519
526
|
let column = value.marker
|
520
527
|
if (value.marker == 'unknown') {
|
521
528
|
column = value.value
|