@dataform/core 3.0.10 → 3.0.12

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 CHANGED
@@ -1269,6 +1269,14 @@ namespace dataform {
1269
1269
  public static getTypeUrl(typeUrlPrefix?: string): string;
1270
1270
  }
1271
1271
 
1272
+ /** OnSchemaChange enum. */
1273
+ enum OnSchemaChange {
1274
+ IGNORE = 0,
1275
+ FAIL = 1,
1276
+ EXTEND = 2,
1277
+ SYNCHRONIZE = 3
1278
+ }
1279
+
1272
1280
  /** Properties of an IncrementalTableConfig. */
1273
1281
  interface IIncrementalTableConfig {
1274
1282
 
@@ -1340,6 +1348,9 @@ namespace dataform {
1340
1348
 
1341
1349
  /** IncrementalTableConfig hermetic */
1342
1350
  hermetic?: (boolean|null);
1351
+
1352
+ /** IncrementalTableConfig onSchemaChange */
1353
+ onSchemaChange?: (dataform.ActionConfig.OnSchemaChange|null);
1343
1354
  }
1344
1355
 
1345
1356
  /** Represents an IncrementalTableConfig. */
@@ -1420,6 +1431,9 @@ namespace dataform {
1420
1431
  /** IncrementalTableConfig hermetic. */
1421
1432
  public hermetic: boolean;
1422
1433
 
1434
+ /** IncrementalTableConfig onSchemaChange. */
1435
+ public onSchemaChange: dataform.ActionConfig.OnSchemaChange;
1436
+
1423
1437
  /**
1424
1438
  * Creates a new IncrementalTableConfig instance using the specified properties.
1425
1439
  * @param [properties] Properties to set
@@ -3282,6 +3296,14 @@ namespace dataform {
3282
3296
  VIEW = 3
3283
3297
  }
3284
3298
 
3299
+ /** OnSchemaChange enum. */
3300
+ enum OnSchemaChange {
3301
+ IGNORE = 0,
3302
+ FAIL = 1,
3303
+ EXTEND = 2,
3304
+ SYNCHRONIZE = 3
3305
+ }
3306
+
3285
3307
  /** Properties of a Table. */
3286
3308
  interface ITable {
3287
3309
 
@@ -3330,6 +3352,9 @@ namespace dataform {
3330
3352
  /** Table uniqueKey */
3331
3353
  uniqueKey?: (string[]|null);
3332
3354
 
3355
+ /** Table onSchemaChange */
3356
+ onSchemaChange?: (dataform.OnSchemaChange|null);
3357
+
3333
3358
  /** Table preOps */
3334
3359
  preOps?: (string[]|null);
3335
3360
 
@@ -3403,6 +3428,9 @@ namespace dataform {
3403
3428
  /** Table uniqueKey. */
3404
3429
  public uniqueKey: string[];
3405
3430
 
3431
+ /** Table onSchemaChange. */
3432
+ public onSchemaChange: dataform.OnSchemaChange;
3433
+
3406
3434
  /** Table preOps. */
3407
3435
  public preOps: string[];
3408
3436
 
@@ -7351,6 +7379,8 @@ declare class DataPreparation extends ActionBuilder<dataform.DataPreparation> {
7351
7379
  getFileName(): string;
7352
7380
  getTarget(): dataform.Target;
7353
7381
  compile(): dataform.DataPreparation;
7382
+ private resolveEmpty;
7383
+ private resolveTargets;
7354
7384
  private applySessionToDataPreparationContents;
7355
7385
  private applySessionToTableReference;
7356
7386
  private getTargets;
@@ -7410,6 +7440,7 @@ declare class IncrementalTable extends ActionBuilder<dataform.Table> {
7410
7440
  compile(): dataform.Table;
7411
7441
  private contextifyOps;
7412
7442
  private verifyConfig;
7443
+ private mapOnSchemaChange;
7413
7444
  }
7414
7445
 
7415
7446
  declare class Notebook extends ActionBuilder<dataform.Notebook> {
@@ -7724,7 +7755,7 @@ declare class ActionMap {
7724
7755
  private setBySchemaLevel;
7725
7756
  }
7726
7757
 
7727
- declare const version = "3.0.10";
7758
+ declare const version = "3.0.12";
7728
7759
 
7729
7760
  declare const session: Session;
7730
7761
  declare const supportedFeatures: dataform.SupportedFeatures[];