@sqlanvil/cli 1.17.0 → 1.18.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.js +1551 -1384
- package/package.json +1 -1
- package/worker_bundle.js +46 -0
package/package.json
CHANGED
package/worker_bundle.js
CHANGED
|
@@ -26982,6 +26982,7 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
26982
26982
|
* @property {string|null} [billingProject] Extract billingProject
|
|
26983
26983
|
* @property {Object.<string,string>|null} [columnTypes] Extract columnTypes
|
|
26984
26984
|
* @property {string|null} [fileName] Extract fileName
|
|
26985
|
+
* @property {string|null} [database] Extract database
|
|
26985
26986
|
*/
|
|
26986
26987
|
|
|
26987
26988
|
/**
|
|
@@ -27122,6 +27123,14 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
27122
27123
|
*/
|
|
27123
27124
|
Extract.prototype.fileName = "";
|
|
27124
27125
|
|
|
27126
|
+
/**
|
|
27127
|
+
* Extract database.
|
|
27128
|
+
* @member {string} database
|
|
27129
|
+
* @memberof sqlanvil.Extract
|
|
27130
|
+
* @instance
|
|
27131
|
+
*/
|
|
27132
|
+
Extract.prototype.database = "";
|
|
27133
|
+
|
|
27125
27134
|
/**
|
|
27126
27135
|
* Creates a new Extract instance using the specified properties.
|
|
27127
27136
|
* @function create
|
|
@@ -27183,6 +27192,8 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
27183
27192
|
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.columnTypes[keys[i]]).ldelim();
|
|
27184
27193
|
if (message.fileName != null && Object.hasOwnProperty.call(message, "fileName"))
|
|
27185
27194
|
writer.uint32(/* id 15, wireType 2 =*/122).string(message.fileName);
|
|
27195
|
+
if (message.database != null && Object.hasOwnProperty.call(message, "database"))
|
|
27196
|
+
writer.uint32(/* id 16, wireType 2 =*/130).string(message.database);
|
|
27186
27197
|
return writer;
|
|
27187
27198
|
};
|
|
27188
27199
|
|
|
@@ -27308,6 +27319,10 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
27308
27319
|
message.fileName = reader.string();
|
|
27309
27320
|
break;
|
|
27310
27321
|
}
|
|
27322
|
+
case 16: {
|
|
27323
|
+
message.database = reader.string();
|
|
27324
|
+
break;
|
|
27325
|
+
}
|
|
27311
27326
|
default:
|
|
27312
27327
|
reader.skipType(tag & 7, long);
|
|
27313
27328
|
break;
|
|
@@ -27419,6 +27434,9 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
27419
27434
|
if (message.fileName != null && Object.hasOwnProperty.call(message, "fileName"))
|
|
27420
27435
|
if (!$util.isString(message.fileName))
|
|
27421
27436
|
return "fileName: string expected";
|
|
27437
|
+
if (message.database != null && Object.hasOwnProperty.call(message, "database"))
|
|
27438
|
+
if (!$util.isString(message.database))
|
|
27439
|
+
return "database: string expected";
|
|
27422
27440
|
return null;
|
|
27423
27441
|
};
|
|
27424
27442
|
|
|
@@ -27518,6 +27536,8 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
27518
27536
|
}
|
|
27519
27537
|
if (object.fileName != null)
|
|
27520
27538
|
message.fileName = String(object.fileName);
|
|
27539
|
+
if (object.database != null)
|
|
27540
|
+
message.database = String(object.database);
|
|
27521
27541
|
return message;
|
|
27522
27542
|
};
|
|
27523
27543
|
|
|
@@ -27557,6 +27577,7 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
27557
27577
|
object.sourceName = "";
|
|
27558
27578
|
object.billingProject = "";
|
|
27559
27579
|
object.fileName = "";
|
|
27580
|
+
object.database = "";
|
|
27560
27581
|
}
|
|
27561
27582
|
if (message.target != null && Object.hasOwnProperty.call(message, "target"))
|
|
27562
27583
|
object.target = $root.sqlanvil.Target.toObject(message.target, options, q + 1);
|
|
@@ -27601,6 +27622,8 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
27601
27622
|
}
|
|
27602
27623
|
if (message.fileName != null && Object.hasOwnProperty.call(message, "fileName"))
|
|
27603
27624
|
object.fileName = message.fileName;
|
|
27625
|
+
if (message.database != null && Object.hasOwnProperty.call(message, "database"))
|
|
27626
|
+
object.database = message.database;
|
|
27604
27627
|
return object;
|
|
27605
27628
|
};
|
|
27606
27629
|
|
|
@@ -37782,6 +37805,7 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
37782
37805
|
* @property {string|null} [sourceName] ExtractSpec sourceName
|
|
37783
37806
|
* @property {string|null} [billingProject] ExtractSpec billingProject
|
|
37784
37807
|
* @property {Object.<string,string>|null} [columnTypes] ExtractSpec columnTypes
|
|
37808
|
+
* @property {string|null} [database] ExtractSpec database
|
|
37785
37809
|
*/
|
|
37786
37810
|
|
|
37787
37811
|
/**
|
|
@@ -37856,6 +37880,14 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
37856
37880
|
*/
|
|
37857
37881
|
ExtractSpec.prototype.columnTypes = $util.emptyObject;
|
|
37858
37882
|
|
|
37883
|
+
/**
|
|
37884
|
+
* ExtractSpec database.
|
|
37885
|
+
* @member {string} database
|
|
37886
|
+
* @memberof sqlanvil.ExtractSpec
|
|
37887
|
+
* @instance
|
|
37888
|
+
*/
|
|
37889
|
+
ExtractSpec.prototype.database = "";
|
|
37890
|
+
|
|
37859
37891
|
/**
|
|
37860
37892
|
* Creates a new ExtractSpec instance using the specified properties.
|
|
37861
37893
|
* @function create
|
|
@@ -37899,6 +37931,8 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
37899
37931
|
if (message.columnTypes != null && Object.hasOwnProperty.call(message, "columnTypes"))
|
|
37900
37932
|
for (let keys = Object.keys(message.columnTypes), i = 0; i < keys.length; ++i)
|
|
37901
37933
|
writer.uint32(/* id 7, wireType 2 =*/58).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.columnTypes[keys[i]]).ldelim();
|
|
37934
|
+
if (message.database != null && Object.hasOwnProperty.call(message, "database"))
|
|
37935
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.database);
|
|
37902
37936
|
return writer;
|
|
37903
37937
|
};
|
|
37904
37938
|
|
|
@@ -37988,6 +38022,10 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
37988
38022
|
message.columnTypes[key] = value;
|
|
37989
38023
|
break;
|
|
37990
38024
|
}
|
|
38025
|
+
case 8: {
|
|
38026
|
+
message.database = reader.string();
|
|
38027
|
+
break;
|
|
38028
|
+
}
|
|
37991
38029
|
default:
|
|
37992
38030
|
reader.skipType(tag & 7, long);
|
|
37993
38031
|
break;
|
|
@@ -38053,6 +38091,9 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
38053
38091
|
if (!$util.isString(message.columnTypes[key[i]]))
|
|
38054
38092
|
return "columnTypes: string{k:string} expected";
|
|
38055
38093
|
}
|
|
38094
|
+
if (message.database != null && Object.hasOwnProperty.call(message, "database"))
|
|
38095
|
+
if (!$util.isString(message.database))
|
|
38096
|
+
return "database: string expected";
|
|
38056
38097
|
return null;
|
|
38057
38098
|
};
|
|
38058
38099
|
|
|
@@ -38096,6 +38137,8 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
38096
38137
|
message.columnTypes[keys[i]] = String(object.columnTypes[keys[i]]);
|
|
38097
38138
|
}
|
|
38098
38139
|
}
|
|
38140
|
+
if (object.database != null)
|
|
38141
|
+
message.database = String(object.database);
|
|
38099
38142
|
return message;
|
|
38100
38143
|
};
|
|
38101
38144
|
|
|
@@ -38125,6 +38168,7 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
38125
38168
|
object.dataset = "";
|
|
38126
38169
|
object.sourceName = "";
|
|
38127
38170
|
object.billingProject = "";
|
|
38171
|
+
object.database = "";
|
|
38128
38172
|
}
|
|
38129
38173
|
if (message.connectionName != null && Object.hasOwnProperty.call(message, "connectionName"))
|
|
38130
38174
|
object.connectionName = message.connectionName;
|
|
@@ -38147,6 +38191,8 @@ const sqlanvil = $root.sqlanvil = (() => {
|
|
|
38147
38191
|
object.columnTypes[keys2[j]] = message.columnTypes[keys2[j]];
|
|
38148
38192
|
}
|
|
38149
38193
|
}
|
|
38194
|
+
if (message.database != null && Object.hasOwnProperty.call(message, "database"))
|
|
38195
|
+
object.database = message.database;
|
|
38150
38196
|
return object;
|
|
38151
38197
|
};
|
|
38152
38198
|
|