@dataform/core 1.22.0 → 1.22.1

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.
Files changed (3) hide show
  1. package/bundle.d.ts +6 -0
  2. package/bundle.js +23 -1
  3. package/package.json +1 -1
package/bundle.d.ts CHANGED
@@ -15,6 +15,9 @@ namespace dataform {
15
15
  /** ProjectConfig defaultSchema */
16
16
  defaultSchema?: (string|null);
17
17
 
18
+ /** ProjectConfig defaultLocation */
19
+ defaultLocation?: (string|null);
20
+
18
21
  /** ProjectConfig assertionSchema */
19
22
  assertionSchema?: (string|null);
20
23
 
@@ -61,6 +64,9 @@ namespace dataform {
61
64
  /** ProjectConfig defaultSchema. */
62
65
  public defaultSchema: string;
63
66
 
67
+ /** ProjectConfig defaultLocation. */
68
+ public defaultLocation: string;
69
+
64
70
  /** ProjectConfig assertionSchema. */
65
71
  public assertionSchema: string;
66
72
 
package/bundle.js CHANGED
@@ -50,6 +50,7 @@ const dataform = $root.dataform = (() => {
50
50
  * @property {string|null} [warehouse] ProjectConfig warehouse
51
51
  * @property {string|null} [defaultDatabase] ProjectConfig defaultDatabase
52
52
  * @property {string|null} [defaultSchema] ProjectConfig defaultSchema
53
+ * @property {string|null} [defaultLocation] ProjectConfig defaultLocation
53
54
  * @property {string|null} [assertionSchema] ProjectConfig assertionSchema
54
55
  * @property {Object.<string,string>|null} [vars] ProjectConfig vars
55
56
  * @property {number|null} [concurrentQueryLimit] ProjectConfig concurrentQueryLimit
@@ -101,6 +102,14 @@ const dataform = $root.dataform = (() => {
101
102
  */
102
103
  ProjectConfig.prototype.defaultSchema = "";
103
104
 
105
+ /**
106
+ * ProjectConfig defaultLocation.
107
+ * @member {string} defaultLocation
108
+ * @memberof dataform.ProjectConfig
109
+ * @instance
110
+ */
111
+ ProjectConfig.prototype.defaultLocation = "";
112
+
104
113
  /**
105
114
  * ProjectConfig assertionSchema.
106
115
  * @member {string} assertionSchema
@@ -222,6 +231,8 @@ const dataform = $root.dataform = (() => {
222
231
  writer.uint32(/* id 14, wireType 2 =*/114).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.vars[keys[i]]).ldelim();
223
232
  if (message.databaseSuffix != null && message.hasOwnProperty("databaseSuffix"))
224
233
  writer.uint32(/* id 15, wireType 2 =*/122).string(message.databaseSuffix);
234
+ if (message.defaultLocation != null && message.hasOwnProperty("defaultLocation"))
235
+ writer.uint32(/* id 16, wireType 2 =*/130).string(message.defaultLocation);
225
236
  return writer;
226
237
  };
227
238
 
@@ -265,6 +276,9 @@ const dataform = $root.dataform = (() => {
265
276
  case 2:
266
277
  message.defaultSchema = reader.string();
267
278
  break;
279
+ case 16:
280
+ message.defaultLocation = reader.string();
281
+ break;
268
282
  case 5:
269
283
  message.assertionSchema = reader.string();
270
284
  break;
@@ -341,6 +355,9 @@ const dataform = $root.dataform = (() => {
341
355
  if (message.defaultSchema != null && message.hasOwnProperty("defaultSchema"))
342
356
  if (!$util.isString(message.defaultSchema))
343
357
  return "defaultSchema: string expected";
358
+ if (message.defaultLocation != null && message.hasOwnProperty("defaultLocation"))
359
+ if (!$util.isString(message.defaultLocation))
360
+ return "defaultLocation: string expected";
344
361
  if (message.assertionSchema != null && message.hasOwnProperty("assertionSchema"))
345
362
  if (!$util.isString(message.assertionSchema))
346
363
  return "assertionSchema: string expected";
@@ -394,6 +411,8 @@ const dataform = $root.dataform = (() => {
394
411
  message.defaultDatabase = String(object.defaultDatabase);
395
412
  if (object.defaultSchema != null)
396
413
  message.defaultSchema = String(object.defaultSchema);
414
+ if (object.defaultLocation != null)
415
+ message.defaultLocation = String(object.defaultLocation);
397
416
  if (object.assertionSchema != null)
398
417
  message.assertionSchema = String(object.assertionSchema);
399
418
  if (object.vars) {
@@ -447,6 +466,7 @@ const dataform = $root.dataform = (() => {
447
466
  object.tablePrefix = "";
448
467
  object.concurrentQueryLimit = 0;
449
468
  object.databaseSuffix = "";
469
+ object.defaultLocation = "";
450
470
  }
451
471
  if (message.warehouse != null && message.hasOwnProperty("warehouse"))
452
472
  object.warehouse = message.warehouse;
@@ -476,6 +496,8 @@ const dataform = $root.dataform = (() => {
476
496
  }
477
497
  if (message.databaseSuffix != null && message.hasOwnProperty("databaseSuffix"))
478
498
  object.databaseSuffix = message.databaseSuffix;
499
+ if (message.defaultLocation != null && message.hasOwnProperty("defaultLocation"))
500
+ object.defaultLocation = message.defaultLocation;
479
501
  return object;
480
502
  };
481
503
 
@@ -22377,7 +22399,7 @@ class RefReplacingContext {
22377
22399
  }
22378
22400
  }
22379
22401
 
22380
- const version = "1.22.0";
22402
+ const version = "1.22.1";
22381
22403
 
22382
22404
  const SQL_DATA_WAREHOUSE_DIST_HASH_REGEXP = new RegExp("HASH\\s*\\(\\s*\\w*\\s*\\)\\s*");
22383
22405
  const DEFAULT_CONFIG = {
package/package.json CHANGED
@@ -43,7 +43,7 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "version": "1.22.0",
46
+ "version": "1.22.1",
47
47
  "name": "@dataform/core",
48
48
  "description": "Dataform core API.",
49
49
  "main": "bundle.js",