@dataform/core
Advanced tools
Comparing version 0.0.2-alpha.0 to 0.0.2-alpha.1
@@ -1,2 +0,2 @@ | ||
import * as protos from "../protos"; | ||
import * as protos from "@dataform/protos"; | ||
import { Adapter } from "./index"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import * as protos from "../protos"; | ||
import * as protos from "@dataform/protos"; | ||
import { BigQueryAdapter } from "./bigquery"; | ||
@@ -8,3 +8,3 @@ import { RedshiftAdapter } from "./redshift"; | ||
queryableName: (target: protos.ITarget) => string; | ||
build: (materialization: protos.Materialization, runConfig: protos.IRunConfig) => protos.IExecutionTask[]; | ||
build: (materialization: protos.IMaterialization, runConfig: protos.IRunConfig) => protos.IExecutionTask[]; | ||
} | ||
@@ -11,0 +11,0 @@ |
@@ -1,2 +0,2 @@ | ||
import * as protos from "../protos"; | ||
import * as protos from "@dataform/protos"; | ||
import { Adapter } from "./index"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import * as protos from "../protos"; | ||
import * as protos from "@dataform/protos"; | ||
import { Adapter } from "./index"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import * as protos from "./protos"; | ||
import * as protos from "@dataform/protos"; | ||
import { Dataform } from "./index"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
import * as protos from "../protos"; | ||
import * as protos from "@dataform/protos"; | ||
import { Adapter } from "./index"; | ||
@@ -3,0 +3,0 @@ export declare class BigQueryAdapter implements Adapter { |
@@ -1,5 +0,5 @@ | ||
import * as protos from "../protos"; | ||
import * as protos from "@dataform/protos"; | ||
export interface Adapter { | ||
queryableName: (target: protos.ITarget) => string; | ||
build: (materialization: protos.Materialization, runConfig: protos.IRunConfig) => protos.IExecutionTask[]; | ||
build: (materialization: protos.IMaterialization, runConfig: protos.IRunConfig) => protos.IExecutionTask[]; | ||
} | ||
@@ -6,0 +6,0 @@ export interface AdapterConstructor<T extends Adapter> { |
@@ -1,2 +0,2 @@ | ||
import * as protos from "../protos"; | ||
import * as protos from "@dataform/protos"; | ||
import { Adapter } from "./index"; | ||
@@ -3,0 +3,0 @@ export declare class RedshiftAdapter implements Adapter { |
@@ -1,2 +0,2 @@ | ||
import * as protos from "../protos"; | ||
import * as protos from "@dataform/protos"; | ||
import { Adapter } from "./index"; | ||
@@ -3,0 +3,0 @@ export declare class SnowflakeAdapter implements Adapter { |
@@ -1,2 +0,2 @@ | ||
import * as protos from "./protos"; | ||
import * as protos from "@dataform/protos"; | ||
import { Dataform } from "./index"; | ||
@@ -3,0 +3,0 @@ export declare type AContextable<T> = T | ((ctx: AssertionContext) => T); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const protos = require("./protos"); | ||
const protos = require("@dataform/protos"); | ||
class Assertion { | ||
@@ -5,0 +5,0 @@ constructor() { |
@@ -1,2 +0,2 @@ | ||
import * as protos from "./protos"; | ||
import * as protos from "@dataform/protos"; | ||
import * as adapters from "./adapters"; | ||
@@ -3,0 +3,0 @@ import { Materialization, MContextable } from "./materialization"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const protos = require("./protos"); | ||
const protos = require("@dataform/protos"); | ||
const adapters = require("./adapters"); | ||
@@ -5,0 +5,0 @@ const materialization_1 = require("./materialization"); |
@@ -1,2 +0,2 @@ | ||
import * as protos from "./protos"; | ||
import * as protos from "@dataform/protos"; | ||
import { Dataform } from "./dataform"; | ||
@@ -9,3 +9,3 @@ import { Materialization, MContextable } from "./materialization"; | ||
import * as parser from "./parser"; | ||
export { protos, adapters, utils, parser, Dataform, Materialization, Operation, Assertion }; | ||
export { adapters, utils, parser, Dataform, Materialization, Operation, Assertion }; | ||
export declare const materialize: (name: string, query?: MContextable<string>) => Materialization; | ||
@@ -12,0 +12,0 @@ export declare const operate: (name: string, statement?: OContextable<string | string[]>) => Operation; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const protos = require("./protos"); | ||
exports.protos = protos; | ||
const dataform_1 = require("./dataform"); | ||
@@ -6,0 +4,0 @@ exports.Dataform = dataform_1.Dataform; |
import { Dataform } from "./index"; | ||
import * as protos from "./protos"; | ||
import * as protos from "@dataform/protos"; | ||
export declare type MContextable<T> = T | ((ctx: MaterializationContext) => T); | ||
@@ -4,0 +4,0 @@ export declare type MaterializationType = "table" | "view" | "incremental"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const protos = require("./protos"); | ||
const protos = require("@dataform/protos"); | ||
const parser = require("./parser"); | ||
@@ -5,0 +5,0 @@ class Materialization { |
@@ -1,2 +0,2 @@ | ||
import * as protos from "./protos"; | ||
import * as protos from "@dataform/protos"; | ||
import { Dataform } from "./index"; | ||
@@ -3,0 +3,0 @@ export declare type OContextable<T> = T | ((ctx: OperationContext) => T); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const protos = require("./protos"); | ||
const protos = require("@dataform/protos"); | ||
class Operation { | ||
@@ -5,0 +5,0 @@ constructor() { |
@@ -1,2 +0,2 @@ | ||
import * as protos from "./protos"; | ||
import * as protos from "@dataform/protos"; | ||
import * as adapters from "./adapters"; | ||
@@ -3,0 +3,0 @@ import * as utils from "./utils"; |
@@ -1,2 +0,2 @@ | ||
import * as protos from "./protos"; | ||
import * as protos from "@dataform/protos"; | ||
import { Dataform } from "./dataform"; | ||
@@ -16,3 +16,2 @@ import { Materialization, MContextable } from "./materialization"; | ||
export { | ||
protos, | ||
adapters, | ||
@@ -19,0 +18,0 @@ utils, |
import { Dataform } from "./index"; | ||
import * as protos from "./protos"; | ||
import * as protos from "@dataform/protos"; | ||
import * as parser from "./parser"; | ||
@@ -4,0 +4,0 @@ |
@@ -1,2 +0,2 @@ | ||
import * as protos from "./protos"; | ||
import * as protos from "@dataform/protos"; | ||
import { Dataform } from "./index"; | ||
@@ -3,0 +3,0 @@ |
{ | ||
"name": "@dataform/core", | ||
"version": "0.0.2-alpha.0", | ||
"version": "0.0.2-alpha.1", | ||
"description": "Dataform core API.", | ||
@@ -8,2 +8,3 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@dataform/protos": "^0.0.2-alpha.1", | ||
"protobufjs": "^6.8.8" | ||
@@ -14,3 +15,3 @@ }, | ||
}, | ||
"gitHead": "13c6adf75ce67e2f21cc75a87c7e34c3acd2dbd8" | ||
"gitHead": "7c4e07abfe257254944cbd285daa65d78c7eb00b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
389270
2
46
7393
+ Added@dataform/protos@0.0.2-y.0(transitive)