theprogrammablemind 9.8.0-beta.11 → 9.8.0-beta.13

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/package.json CHANGED
@@ -73,6 +73,6 @@
73
73
  "scriptjs": "^2.5.9",
74
74
  "uuid": "^8.3.2"
75
75
  },
76
- "version": "9.8.0-beta.11",
76
+ "version": "9.8.0-beta.13",
77
77
  "license": "UNLICENSED"
78
78
  }
package/src/config.js CHANGED
@@ -1297,6 +1297,7 @@ class Config {
1297
1297
  }
1298
1298
  }
1299
1299
 
1300
+ /*
1300
1301
  fragmentMapper (args, values, fromModelQuery, toModelQuery) {
1301
1302
  const fromModelFragment = this.getFragment(fromModelQuery)
1302
1303
  console.dir(fromModelFragment)
@@ -1305,6 +1306,7 @@ class Config {
1305
1306
  const mapper = fragmentMapperInstantiator(values, fromModelFragment.contexts, toModelFragment.contexts)
1306
1307
  return mapper
1307
1308
  }
1309
+ */
1308
1310
 
1309
1311
  // { rebuild: false, isModule: false }
1310
1312
  needsRebuild (template, instance, options) {
@@ -1376,6 +1378,7 @@ class Config {
1376
1378
  bridge = { ...bridge },
1377
1379
  bridge.level = bridge.level || 0
1378
1380
  delete bridge.uuid
1381
+ delete bridge.where
1379
1382
  return bridge
1380
1383
  })
1381
1384
  if (options.isModule) {
@@ -233,9 +233,11 @@ const setupArgs = (args, config, logs, hierarchy, uuidForScoping) => {
233
233
  args.fragments = (query, mappings) => {
234
234
  return config.fragment(args, query, mappings)
235
235
  }
236
+ /*
236
237
  args.fragmentMapper = (values, fromModelQuery, toModelQuery) => {
237
238
  return config.fragmentMapper(args, values, fromModelQuery, toModelQuery)
238
239
  }
240
+ */
239
241
  args.breakOnSemantics = false
240
242
  args.theDebugger = {
241
243
  breakOnSemantics: (value) => args.breakOnSemantics = value
package/src/generators.js CHANGED
@@ -256,6 +256,9 @@ class Generators {
256
256
  lines.setElement(0, 2, generator.toLabel())
257
257
  }
258
258
  lines.newRow()
259
+ lines.setElement(0, 1, 'DEBUG')
260
+ lines.setElement(0, 2, `To debug this use debug.breakAt('${args.calls.current()}')`)
261
+ lines.newRow()
259
262
  lines.setElement(0, 1, 'APPLIED')
260
263
  lines.setElement(0, 2, generator.toLabel())
261
264
  lines.newRow()
@@ -267,9 +270,6 @@ class Generators {
267
270
  lines.newRow()
268
271
  lines.setElement(0, 2, generator.toString())
269
272
  lines.newRow()
270
- lines.setElement(0, 1, 'DEBUG')
271
- lines.setElement(0, 2, `To debug this use debug.breakAt('${args.calls.current()}')`)
272
- lines.newRow()
273
273
  lines.setElement(0, 1, 'TO')
274
274
  lines.setElement(0, 2, `context_id: ${context.context_id}`)
275
275
  lines.setElement(1, 2, JSON.stringify(helpers.sortJson(context, { depth: 25 }), null, 2))