@dataform/core 3.0.0-beta.5 → 3.0.0
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/bundle.d.ts +7 -8
- package/bundle.js +2 -2
- package/configs.proto +4 -2
- package/package.json +1 -1
package/bundle.d.ts
CHANGED
|
@@ -7024,12 +7024,12 @@ declare abstract class ActionBuilder<T> {
|
|
|
7024
7024
|
session: Session;
|
|
7025
7025
|
includeAssertionsForDependency: Map<string, boolean>;
|
|
7026
7026
|
constructor(session?: Session);
|
|
7027
|
-
|
|
7028
|
-
applySessionToTarget(targetFromConfig: dataform.Target, fileName?: string): dataform.Target;
|
|
7027
|
+
applySessionToTarget(targetFromConfig: dataform.Target, projectConfig: dataform.ProjectConfig, fileName?: string, validateTarget?: boolean, useDefaultAssertionDataset?: boolean): dataform.Target;
|
|
7029
7028
|
abstract config(config: any): ActionBuilder<T>;
|
|
7030
7029
|
abstract getFileName(): string;
|
|
7031
7030
|
abstract getTarget(): dataform.Target;
|
|
7032
7031
|
abstract compile(): T;
|
|
7032
|
+
private validateTarget;
|
|
7033
7033
|
}
|
|
7034
7034
|
|
|
7035
7035
|
declare class CompilationSql {
|
|
@@ -7044,8 +7044,8 @@ declare class CompilationSql {
|
|
|
7044
7044
|
|
|
7045
7045
|
declare class Session {
|
|
7046
7046
|
rootDir: string;
|
|
7047
|
-
|
|
7048
|
-
|
|
7047
|
+
projectConfig: dataform.ProjectConfig;
|
|
7048
|
+
canonicalProjectConfig: dataform.ProjectConfig;
|
|
7049
7049
|
actions: Action[];
|
|
7050
7050
|
indexedActions: ActionMap;
|
|
7051
7051
|
tests: {
|
|
@@ -7053,9 +7053,8 @@ declare class Session {
|
|
|
7053
7053
|
};
|
|
7054
7054
|
actionAssertionMap: ActionMap;
|
|
7055
7055
|
graphErrors: dataform.IGraphErrors;
|
|
7056
|
-
constructor(rootDir?: string, projectConfig?: dataform.
|
|
7057
|
-
init(rootDir: string, projectConfig?: dataform.
|
|
7058
|
-
get projectConfig(): Pick<dataform.IProjectConfig, "warehouse" | "defaultDatabase" | "defaultSchema" | "defaultLocation" | "assertionSchema" | "databaseSuffix" | "schemaSuffix" | "tablePrefix" | "vars">;
|
|
7056
|
+
constructor(rootDir?: string, projectConfig?: dataform.ProjectConfig, originalProjectConfig?: dataform.ProjectConfig);
|
|
7057
|
+
init(rootDir: string, projectConfig?: dataform.ProjectConfig, originalProjectConfig?: dataform.ProjectConfig): void;
|
|
7059
7058
|
compilationSql(): CompilationSql;
|
|
7060
7059
|
sqlxAction(actionOptions: {
|
|
7061
7060
|
sqlxConfig: SqlxConfig;
|
|
@@ -7105,7 +7104,7 @@ declare class ActionMap {
|
|
|
7105
7104
|
private setBySchemaLevel;
|
|
7106
7105
|
}
|
|
7107
7106
|
|
|
7108
|
-
declare const version = "3.0.0
|
|
7107
|
+
declare const version = "3.0.0";
|
|
7109
7108
|
|
|
7110
7109
|
declare const session: Session;
|
|
7111
7110
|
declare const supportedFeatures: dataform.SupportedFeatures[];
|