quanstructor
Advanced tools
Comparing version 0.4.15 to 0.4.16
{ | ||
"name": "quanstructor", | ||
"version": "0.4.15", | ||
"version": "0.4.16", | ||
"description": "Exceptionally powerful object model builder for complex architectures", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -28,2 +28,4 @@ let { defined } = require('./lib/Statics') | ||
this._keepQType = false | ||
this.projections = { complete: [] } | ||
@@ -46,2 +48,6 @@ | ||
assign( quanstructor, { | ||
keepQType (keep = true) { | ||
this._keepQType = keep | ||
return this | ||
}, | ||
viewProxies ( view ) { | ||
@@ -242,2 +248,5 @@ this._viewProxy = !!view | ||
if ( this._keepQType ) | ||
final[ Q_TYPE_ATTR ] = this.name | ||
return final | ||
@@ -244,0 +253,0 @@ }, |
@@ -46,2 +46,3 @@ const Quastructor = require( '../Quanstructor' ) | ||
}, 'Entity', 'Referenced' ) | ||
Absoluter.keepQType( true ) | ||
@@ -58,3 +59,3 @@ console.log(':::', Absoluter) | ||
console.log( (await Absoluter.build( PERSON_PROTO_DB, 'database' )).phoneShort ) | ||
console.log('-----' ) | ||
console.log('****-----' ) | ||
console.log( await Absoluter.derive( PERSON_PROTO_DB, 'database', 'secret' ) ) | ||
@@ -61,0 +62,0 @@ } ) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
constructs |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22798
629
0