@dataform/core
Advanced tools
Comparing version 0.0.2-alpha.39 to 0.0.2-alpha.40
@@ -33,3 +33,3 @@ "use strict"; | ||
var { sql, js } = extractJsBlocks(code); | ||
var functionsBindings = getFunctionPropertyNames(operation_1.OperationContext.prototype).map(name => `const ${name} = ctx.${name}.bind(ctx);`); | ||
var functionsBindings = getFunctionPropertyNames(operation_1.OperationContext.prototype).map(name => `const ${name} = !!ctx.${name} ? ctx.${name}.bind(ctx) : () => "";`); | ||
return ` | ||
@@ -45,3 +45,3 @@ operate("${utils.baseFilename(path)}").queries(ctx => { | ||
var { sql, js } = extractJsBlocks(code); | ||
var functionsBindings = getFunctionPropertyNames(assertion_1.AssertionContext.prototype).map(name => `const ${name} = ctx.${name}.bind(ctx);`); | ||
var functionsBindings = getFunctionPropertyNames(assertion_1.AssertionContext.prototype).map(name => `const ${name} = !!ctx.${name} ? ctx.${name}.bind(ctx) : () => "";`); | ||
return ` | ||
@@ -81,2 +81,2 @@ assert("${utils.baseFilename(path)}").query(ctx => { | ||
exports.getFunctionPropertyNames = getFunctionPropertyNames; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGlsZXJzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vY29yZS9jb21waWxlcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxpQ0FBaUM7QUFDakMsdURBQTJEO0FBQzNELDJDQUErQztBQUMvQywyQ0FBK0M7QUFFL0MsU0FBZ0IsT0FBTyxDQUFDLElBQVksRUFBRSxJQUFZO0lBQ2hELElBQUksSUFBSSxDQUFDLFFBQVEsQ0FBQyxhQUFhLENBQUMsRUFBRTtRQUNoQyxPQUFPLG1CQUFtQixDQUFDLElBQUksRUFBRSxJQUFJLENBQUMsQ0FBQztLQUN4QztJQUNELElBQUksSUFBSSxDQUFDLFFBQVEsQ0FBQyxVQUFVLENBQUMsRUFBRTtRQUM3QixPQ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sQ0FBQyxDQUFDLElBQUksVUFBVTtZQUFFLE9BQU8sSUFBSSxDQUFDO0lBQ3hFLENBQUMsQ0FBQyxDQUFDO0FBQ0wsQ0FBQztBQUpELDREQUlDIn0= |
@@ -10,2 +10,3 @@ import * as protos from "@dataform/protos"; | ||
dependencies(value: string | string[]): this; | ||
hasOutput(hasOutput: boolean): this; | ||
compile(): protos.IOperation; | ||
@@ -16,5 +17,7 @@ } | ||
constructor(operation: Operation); | ||
self(): string; | ||
ref(name: string): string; | ||
dependencies(name: string | string[]): string; | ||
hasOutput(hasOutput: boolean): string; | ||
apply<T>(value: OContextable<T>): T; | ||
} |
@@ -6,3 +6,5 @@ "use strict"; | ||
constructor() { | ||
this.proto = protos.Operation.create(); | ||
this.proto = protos.Operation.create({ | ||
hasOutput: false | ||
}); | ||
} | ||
@@ -22,2 +24,6 @@ queries(queries) { | ||
} | ||
hasOutput(hasOutput) { | ||
this.proto.hasOutput = hasOutput; | ||
return this; | ||
} | ||
compile() { | ||
@@ -36,2 +42,5 @@ var context = new OperationContext(this); | ||
} | ||
self() { | ||
return this.operation.session.adapter().resolveTarget(this.operation.proto.target); | ||
} | ||
ref(name) { | ||
@@ -45,2 +54,6 @@ this.operation.dependencies(name); | ||
} | ||
hasOutput(hasOutput) { | ||
this.operation.hasOutput(hasOutput); | ||
return ""; | ||
} | ||
apply(value) { | ||
@@ -56,2 +69,2 @@ if (typeof value === "function") { | ||
exports.OperationContext = OperationContext; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3BlcmF0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vY29yZS9vcGVyYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwyQ0FBMkM7QUFNM0MsTUFBYSxTQUFTO0lBQXRCO1FBQ0UsVUFBSyxHQUFzQixNQUFNLENBQUMsU0FBUyxDQUFDLE1BQU0sRUFB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DtJQUNILENBQUM7Q0FDRjtBQWpDRCw0Q0FpQ0MifQ== |
{ | ||
"name": "@dataform/core", | ||
"version": "0.0.2-alpha.39", | ||
"version": "0.0.2-alpha.40", | ||
"description": "Dataform core API.", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@dataform/protos": "^0.0.2-alpha.39", | ||
"@dataform/protos": "^0.0.2-alpha.40", | ||
"protobufjs": "^6.8.8" | ||
@@ -15,3 +15,3 @@ }, | ||
}, | ||
"gitHead": "835d1800d16389de9711bddfcdf23fd758c346e4" | ||
"gitHead": "77517105ad15a651464785cc67a160b4ac6cc5a8" | ||
} |
@@ -39,6 +39,10 @@ "use strict"; | ||
ref(name) { | ||
var refNode = this.materializations[name]; | ||
if (refNode) { | ||
return this.adapter().resolveTarget(refNode.proto.target); | ||
const mNode = this.materializations[name]; | ||
const oNode = this.operations[name]; | ||
if (mNode) { | ||
return this.adapter().resolveTarget(mNode.proto.target); | ||
} | ||
else if (oNode && oNode.proto.hasOutput) { | ||
return this.adapter().resolveTarget(oNode.proto.target); | ||
} | ||
else { | ||
@@ -53,2 +57,3 @@ const message = `Could not find referenced node: ${name}`; | ||
operation.proto.name = name; | ||
operation.proto.target = this.target(name); | ||
if (queries) { | ||
@@ -170,2 +175,2 @@ operation.queries(queries); | ||
exports.Session = Session; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vzc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2NvcmUvc2Vzc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDJDQUEyQztBQUMzQyx1Q0FBdUM7QUFDdkMsaUNBQWlDO0FBQ2pDLHVEQUEyRTtBQUMzRSwyQ0FBc0Q7QUFDdEQsMkNBQXNEO0FBRXRELE1BQWEsT0FBTztJQVlsQixZQUFZLE9BQWUsRUFBRSxhQUFxQztRQUNoR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