@dataform/core
Advanced tools
Comparing version 1.3.3 to 1.3.4
{ | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"homepage": "https://github.com/dataform-co/dataform", | ||
@@ -24,3 +24,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@dataform/protos": "1.3.3", | ||
"@dataform/protos": "1.3.4", | ||
"moo": "^0.5.0", | ||
@@ -27,0 +27,0 @@ "protobufjs": "^6.8.8" |
@@ -52,2 +52,3 @@ /// <amd-module name="@dataform/core/table" /> | ||
disabled(): this; | ||
protected(): this; | ||
sqldatawarehouse(sqlDataWarehouse: dataform.ISQLDataWarehouseOptions): this; | ||
@@ -54,0 +55,0 @@ redshift(redshift: dataform.IRedshiftOptions): this; |
@@ -65,2 +65,5 @@ (function (factory) { | ||
} | ||
if (config.protected) { | ||
this.protected(); | ||
} | ||
if (config.redshift) { | ||
@@ -113,2 +116,6 @@ this.redshift(config.redshift); | ||
} | ||
protected() { | ||
this.proto.protected = true; | ||
return this; | ||
} | ||
sqldatawarehouse(sqlDataWarehouse) { | ||
@@ -268,2 +275,2 @@ this.proto.sqlDataWarehouse = protos_1.dataform.SQLDataWarehouseOptions.create(sqlDataWarehouse); | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9jb3JlL3RhYmxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0lBQUEsb0RBS2dDO0lBQ2hDLDhDQUE4QztJQUM5Qyw2Q0FBNEM7SUFFNUMsSUFBWSxVQUtYO0lBTEQsV0FBWSxVQUFVO1FBQ3BCLDZCQUFlLENBQUE7UUFDZiwyQkFBYSxDQUFBO1FBQ2IseUNBQTJCLENBQUE7UUFDM0IsK0JBQWlCLENBQUE7SUFDbkIsQ0FBQyxFQUxXLFVBQVUsR0FBVixrQkFBVSxLQUF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pIHtcbiAgICB0aGlzLnRhYmxlLmJpZ3F1ZXJ5KGJpZ3F1ZXJ5KTtcbiAgICByZXR1cm4gXCJcIjtcbiAgfVxuXG4gIHB1YmxpYyBkZXBlbmRlbmNpZXMocmVzOiBSZXNvbHZhYmxlKSB7XG4gICAgdGhpcy50YWJsZS5kZXBlbmRlbmNpZXMocmVzKTtcbiAgICByZXR1cm4gXCJcIjtcbiAgfVxuXG4gIHB1YmxpYyBhcHBseTxUPih2YWx1ZTogVENvbnRleHRhYmxlPFQ+KTogVCB7XG4gICAgaWYgKHR5cGVvZiB2YWx1ZSA9PT0gXCJmdW5jdGlvblwiKSB7XG4gICAgICByZXR1cm4gKHZhbHVlIGFzIGFueSkodGhpcyk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHJldHVybiB2YWx1ZTtcbiAgICB9XG4gIH1cbiAgcHVibGljIHRhZ3ModGFnczogc3RyaW5nW10pIHtcbiAgICB0aGlzLnRhYmxlLnRhZ3ModGFncyk7XG4gICAgcmV0dXJuIFwiXCI7XG4gIH1cbn1cbiJdfQ== |
341669
2785
+ Added@dataform/protos@1.3.4(transitive)
+ Added@types/node@22.10.10(transitive)
- Removed@dataform/protos@1.3.3(transitive)
- Removed@types/node@22.10.7(transitive)
Updated@dataform/protos@1.3.4