taon-type-sql 21.0.25 → 21.0.27
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/browser/README.md +24 -24
- package/browser/fesm2022/taon-type-sql-browser.mjs.map +1 -1
- package/browser/package.json +1 -1
- package/browser-prod/README.md +24 -24
- package/browser-prod/fesm2022/taon-type-sql-browser.mjs.map +1 -1
- package/browser-prod/package.json +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/builder/helpers/generics-helper.js.map +1 -1
- package/lib/builder/helpers/internal-types.js.map +1 -1
- package/lib/converter/param-converter.js.map +1 -1
- package/lib/converter/type-converter.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib-prod/package.json +1 -1
- package/package.json +1 -1
- package/websql/README.md +24 -24
- package/websql/fesm2022/taon-type-sql-websql.mjs.map +1 -1
- package/websql/package.json +1 -1
- package/websql-prod/README.md +24 -24
- package/websql-prod/fesm2022/taon-type-sql-websql.mjs.map +1 -1
- package/websql-prod/package.json +1 -1
- package/lib-prod/build-info._auto-generated_.js +0 -26
- package/lib-prod/builder/column/basic-column.js +0 -11
- package/lib-prod/builder/column/boolean-column.js +0 -11
- package/lib-prod/builder/column/comparable-column.js +0 -39
- package/lib-prod/builder/column/date-column.js +0 -11
- package/lib-prod/builder/column/number-column.js +0 -16
- package/lib-prod/builder/column/query-column.js +0 -18
- package/lib-prod/builder/column/string-column.js +0 -33
- package/lib-prod/builder/column/value-column.js +0 -27
- package/lib-prod/builder/condition/query-column-condition.js +0 -16
- package/lib-prod/builder/condition/query-condition-chain.js +0 -26
- package/lib-prod/builder/condition/query-condition.js +0 -4
- package/lib-prod/builder/condition/query-join-condition.js +0 -16
- package/lib-prod/builder/helpers/generics-helper.js +0 -3
- package/lib-prod/builder/helpers/internal-types.js +0 -1
- package/lib-prod/builder/join/joined-tables-chain.js +0 -11
- package/lib-prod/builder/join/joined-tables.js +0 -19
- package/lib-prod/builder/other/query-ordering.js +0 -14
- package/lib-prod/builder/query/select-query.js +0 -45
- package/lib-prod/builder/query/table-condition-query.js +0 -22
- package/lib-prod/builder/query/table-query.js +0 -52
- package/lib-prod/builder/query-source.js +0 -17
- package/lib-prod/builder/query-table.js +0 -22
- package/lib-prod/client/mysql.js +0 -7
- package/lib-prod/client/pg.js +0 -7
- package/lib-prod/client/query-processor.js +0 -69
- package/lib-prod/converter/param-converter.js +0 -26
- package/lib-prod/converter/parameterized-converter.js +0 -14
- package/lib-prod/converter/query-converter.js +0 -280
- package/lib-prod/converter/result-converter.js +0 -85
- package/lib-prod/converter/sql-converter.js +0 -5
- package/lib-prod/converter/type-converter.js +0 -36
- package/lib-prod/converter/types.js +0 -1
- package/lib-prod/env/env.angular-node-app.js +0 -66
- package/lib-prod/env/env.docs-webapp.js +0 -66
- package/lib-prod/env/env.electron-app.js +0 -66
- package/lib-prod/env/env.mobile-app.js +0 -66
- package/lib-prod/env/env.npm-lib-and-cli-tool.js +0 -66
- package/lib-prod/env/env.vscode-plugin.js +0 -66
- package/lib-prod/env/index.js +0 -6
- package/lib-prod/index._auto-generated_.js +0 -5
- package/lib-prod/index.js +0 -25
- package/lib-prod/migrations/index.js +0 -2
- package/lib-prod/migrations/migrations_index._auto-generated_.js +0 -3
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
import { string, number, date, boolean } from './type-converter';
|
|
2
|
-
export function createQueryConverter(paramConverter, options, engine) {
|
|
3
|
-
return convertQuery;
|
|
4
|
-
function convertQuery(query) {
|
|
5
|
-
if (query._action === 'select')
|
|
6
|
-
return convertSelectQuery(query);
|
|
7
|
-
if (query._action === 'delete')
|
|
8
|
-
return convertDeleteQuery(query);
|
|
9
|
-
if (query._action === 'update')
|
|
10
|
-
return convertUpdateQuery(query);
|
|
11
|
-
if (query._action === 'insert')
|
|
12
|
-
return convertInsertQuery(query);
|
|
13
|
-
throw new Error('Unknown query type:' + query._action);
|
|
14
|
-
}
|
|
15
|
-
function convertDeleteQuery(query) {
|
|
16
|
-
let s = 'DELETE FROM ' + convertTable(query._table);
|
|
17
|
-
s += convertConditions(query._conditions);
|
|
18
|
-
return s;
|
|
19
|
-
}
|
|
20
|
-
function convertUpdateQuery(query) {
|
|
21
|
-
let s = 'UPDATE ' + convertTable(query._table) + ' SET ';
|
|
22
|
-
s += convertUpdateSetters(query._table, query._entity);
|
|
23
|
-
s += convertConditions(query._conditions);
|
|
24
|
-
return s;
|
|
25
|
-
}
|
|
26
|
-
function convertUpdateSetters(table, entity) {
|
|
27
|
-
return Object.keys(entity).sort().map(key => {
|
|
28
|
-
let value = entity[key];
|
|
29
|
-
let column = table[key];
|
|
30
|
-
return convertColumnName(column) + ' = ' + convertParam(column, value);
|
|
31
|
-
}).join(', ');
|
|
32
|
-
}
|
|
33
|
-
function convertInsertQuery(query) {
|
|
34
|
-
let items = Array.isArray(query._entity) ? query._entity : [query._entity];
|
|
35
|
-
let keySet = items.reduce((set, item) => {
|
|
36
|
-
Object.keys(item).forEach(key => set.add(key));
|
|
37
|
-
return set;
|
|
38
|
-
}, new Set());
|
|
39
|
-
let keys = Array.from(keySet).sort();
|
|
40
|
-
let s = 'INSERT INTO ' + convertTable(query._table) + ' ';
|
|
41
|
-
s += '(' + keys.map(key => convertColumnName(query._table[key])).join(', ') + ')';
|
|
42
|
-
s += options.lineBreak + 'VALUES ';
|
|
43
|
-
s += items.map(item => convertInsertItem(query._table, item, keys))
|
|
44
|
-
.map((row) => '(' + row + ')').join(', ');
|
|
45
|
-
s += getPgInsertReturningIfNeeded(query);
|
|
46
|
-
return s;
|
|
47
|
-
}
|
|
48
|
-
function getPgInsertReturningIfNeeded(query) {
|
|
49
|
-
if (engine === 'pg' && query._action === 'insert' && !Array.isArray(query._entity) &&
|
|
50
|
-
query._table.$id && query._table.$id._table && query._table.$id._name) {
|
|
51
|
-
return ' RETURNING ' + convertColumnName(query._table.$id);
|
|
52
|
-
}
|
|
53
|
-
return '';
|
|
54
|
-
}
|
|
55
|
-
function convertInsertItem(table, entity, keys) {
|
|
56
|
-
return keys.map(key => {
|
|
57
|
-
let value = entity[key];
|
|
58
|
-
let column = table[key];
|
|
59
|
-
return convertParam(column, value);
|
|
60
|
-
}).join(', ');
|
|
61
|
-
}
|
|
62
|
-
function convertSelectQuery(query) {
|
|
63
|
-
let s = 'SELECT ';
|
|
64
|
-
if (query._distinct) {
|
|
65
|
-
s += 'DISTINCT ';
|
|
66
|
-
}
|
|
67
|
-
if (query._columns == null || query._columns.length === 0) {
|
|
68
|
-
s += '*';
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
s += query._columns.map((column) => convertColumn(column)).join(', ');
|
|
72
|
-
}
|
|
73
|
-
s += options.lineBreak + 'FROM ';
|
|
74
|
-
if (query._tables) {
|
|
75
|
-
s += query._tables.map((table) => table._parent ? convertJoin(table) : convertTable(table)).join(', ');
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
s += convertTable(query._table);
|
|
79
|
-
}
|
|
80
|
-
s += convertConditions(query._conditions);
|
|
81
|
-
if (query._groupBy && query._groupBy.length > 0) {
|
|
82
|
-
s += options.lineBreak + 'GROUP BY ';
|
|
83
|
-
s += query._groupBy.map((column) => convertColumn(column)).join(', ');
|
|
84
|
-
}
|
|
85
|
-
s += convertConditions(query._having, 'HAVING');
|
|
86
|
-
if (query._orderings && query._orderings.length > 0) {
|
|
87
|
-
s += options.lineBreak + 'ORDER BY ';
|
|
88
|
-
s += query._orderings.map((ordering) => convertOrdering(ordering)).join(', ');
|
|
89
|
-
}
|
|
90
|
-
if (query._limit != null) {
|
|
91
|
-
s += options.lineBreak + 'LIMIT ' + number(query._limit);
|
|
92
|
-
}
|
|
93
|
-
if (query._offset != null) {
|
|
94
|
-
s += options.lineBreak + 'OFFSET ' + number(query._offset);
|
|
95
|
-
}
|
|
96
|
-
return s;
|
|
97
|
-
}
|
|
98
|
-
function convertConditions(conditions, keyword = 'WHERE') {
|
|
99
|
-
let s = '';
|
|
100
|
-
if (conditions && conditions.length > 0) {
|
|
101
|
-
s += options.lineBreak + keyword + ' ';
|
|
102
|
-
preprocessConditions(conditions);
|
|
103
|
-
s += conditions.map(condition => convertCondition(condition, true)).join(' AND ');
|
|
104
|
-
}
|
|
105
|
-
return s;
|
|
106
|
-
}
|
|
107
|
-
function convertJoin(joinChain) {
|
|
108
|
-
let items = [];
|
|
109
|
-
while (joinChain) {
|
|
110
|
-
items.push(joinChain);
|
|
111
|
-
joinChain = joinChain._parent;
|
|
112
|
-
}
|
|
113
|
-
let root = items[items.length - 1];
|
|
114
|
-
let s = convertTable(root);
|
|
115
|
-
for (let i = items.length - 2; i >= 0; i -= 2) {
|
|
116
|
-
let table = items[i]._table;
|
|
117
|
-
let modifier = items[i]._modifier;
|
|
118
|
-
let condition = items[i - 1]._condition;
|
|
119
|
-
let param = convertColumn(condition._otherColumn);
|
|
120
|
-
s += ' ' + modifier.toUpperCase() + ' JOIN ' + convertTable(table) + ' ON ' +
|
|
121
|
-
convertColumnCondition(condition, param);
|
|
122
|
-
}
|
|
123
|
-
return s;
|
|
124
|
-
}
|
|
125
|
-
function convertOrdering(ordering) {
|
|
126
|
-
if (ordering._column) {
|
|
127
|
-
let s = convertColumn(ordering._column);
|
|
128
|
-
if (ordering._nullsPosition != null) { // "NULLS FIRST" only exists in PG, this is the general solution
|
|
129
|
-
s += ' IS NULL ' + (ordering._nullsPosition === 'FIRST' ? 'DESC' : 'ASC') + ', ' + s;
|
|
130
|
-
}
|
|
131
|
-
if (ordering._direction === 'ASC')
|
|
132
|
-
s += ' ASC';
|
|
133
|
-
if (ordering._direction === 'DESC')
|
|
134
|
-
s += ' DESC';
|
|
135
|
-
return s;
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
return convertColumn(ordering);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
function convertTable(table) {
|
|
142
|
-
return options.nameEscape + table._$name + options.nameEscape;
|
|
143
|
-
}
|
|
144
|
-
function convertColumn(column) {
|
|
145
|
-
let s = '';
|
|
146
|
-
if (!(column._name === '*' && column._modifiers.length > 0 && column._modifiers[0].name === 'count')) {
|
|
147
|
-
s += convertTable(column._table) + '.';
|
|
148
|
-
}
|
|
149
|
-
s += convertColumnName(column);
|
|
150
|
-
return convertColumnModifiers(s, column);
|
|
151
|
-
}
|
|
152
|
-
function convertColumnModifiers(s, column) {
|
|
153
|
-
if (column._modifiers) {
|
|
154
|
-
column._modifiers.forEach((modifier) => {
|
|
155
|
-
let name = modifier.name;
|
|
156
|
-
if (name === 'lower')
|
|
157
|
-
s = 'LOWER(' + s + ')';
|
|
158
|
-
else if (name === 'upper')
|
|
159
|
-
s = 'UPPER(' + s + ')';
|
|
160
|
-
else if (name === 'count')
|
|
161
|
-
s = 'COUNT(' + s + ')';
|
|
162
|
-
else if (name === 'sum')
|
|
163
|
-
s = 'SUM(' + s + ')';
|
|
164
|
-
else if (name === 'avg')
|
|
165
|
-
s = 'AVG(' + s + ')';
|
|
166
|
-
else if (name === 'min')
|
|
167
|
-
s = 'MIN(' + s + ')';
|
|
168
|
-
else if (name === 'max')
|
|
169
|
-
s = 'MAX(' + s + ')';
|
|
170
|
-
else if (name === 'as')
|
|
171
|
-
s = s + ' AS ' + options.nameEscape + modifier.params + options.nameEscape;
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
return s + '';
|
|
175
|
-
}
|
|
176
|
-
function convertColumnName(column) {
|
|
177
|
-
if (column._name === '*')
|
|
178
|
-
return column._name;
|
|
179
|
-
let name = typeof column._name === 'string' ? column._name : column._name.name;
|
|
180
|
-
return options.nameEscape + name + options.nameEscape;
|
|
181
|
-
}
|
|
182
|
-
function preprocessConditions(conditions) {
|
|
183
|
-
conditions.forEach(condition => {
|
|
184
|
-
if (conditions.length > 1 && condition._sibling) {
|
|
185
|
-
condition._parenthesis = true;
|
|
186
|
-
}
|
|
187
|
-
preprocessParams(condition);
|
|
188
|
-
});
|
|
189
|
-
}
|
|
190
|
-
// this is only needed, so that the $1, $2... numbering is not reversed
|
|
191
|
-
function preprocessParams(condition) {
|
|
192
|
-
if (condition._sibling) {
|
|
193
|
-
preprocessParams(condition._sibling);
|
|
194
|
-
}
|
|
195
|
-
if (!condition._sibling && !condition._child) {
|
|
196
|
-
condition.__param = getConditionParam(condition);
|
|
197
|
-
}
|
|
198
|
-
if (condition._child) {
|
|
199
|
-
preprocessParams(condition._child);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
function convertCondition(condition, root = false) {
|
|
203
|
-
if (!condition._sibling && !condition._child) {
|
|
204
|
-
return convertColumnCondition(condition, condition.__param);
|
|
205
|
-
}
|
|
206
|
-
let s = '';
|
|
207
|
-
if (condition._child) {
|
|
208
|
-
s += convertCondition(condition._child);
|
|
209
|
-
}
|
|
210
|
-
if (condition._sibling) {
|
|
211
|
-
s = convertCondition(condition._sibling, root) + ' ' + condition._chainType.toUpperCase() + ' ' + s;
|
|
212
|
-
}
|
|
213
|
-
if (condition._parenthesis || ((!root || condition._negation) && condition._child)) {
|
|
214
|
-
s = '( ' + s + ' )';
|
|
215
|
-
}
|
|
216
|
-
if (condition._negation) {
|
|
217
|
-
s = 'NOT ' + s;
|
|
218
|
-
}
|
|
219
|
-
return s;
|
|
220
|
-
}
|
|
221
|
-
function convertColumnCondition(condition, param) {
|
|
222
|
-
let s = convertColumn(condition._column);
|
|
223
|
-
s += getConditionString(condition, param);
|
|
224
|
-
return s;
|
|
225
|
-
}
|
|
226
|
-
function getConditionString(condition, param) {
|
|
227
|
-
switch (condition._type) {
|
|
228
|
-
case 'eq': return ' = ' + param;
|
|
229
|
-
case 'ne': return ' <> ' + param;
|
|
230
|
-
case 'lt': return ' < ' + param;
|
|
231
|
-
case 'gt': return ' > ' + param;
|
|
232
|
-
case 'lte': return ' <= ' + param;
|
|
233
|
-
case 'gte': return ' >= ' + param;
|
|
234
|
-
case 'is-null': return ' IS NULL';
|
|
235
|
-
case 'is-not-null': return ' IS NOT NULL';
|
|
236
|
-
case 'like': return ' LIKE ' + param;
|
|
237
|
-
case 'not-like': return ' NOT LIKE ' + param;
|
|
238
|
-
case 'in': return ' IN (' + param + ')';
|
|
239
|
-
case 'not-in': return ' NOT IN (' + param + ')';
|
|
240
|
-
case 'between': return ' BETWEEN ' + param;
|
|
241
|
-
case 'not-between': return ' NOT BETWEEN ' + param;
|
|
242
|
-
default: return '';
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
function getConditionParam(condition) {
|
|
246
|
-
let param = '';
|
|
247
|
-
if (condition._otherColumn) {
|
|
248
|
-
param = convertColumn(condition._otherColumn);
|
|
249
|
-
}
|
|
250
|
-
else {
|
|
251
|
-
let _convertParam = (param) => convertParam(condition._column, param);
|
|
252
|
-
if (condition._type === 'in' || condition._type === 'not-in') {
|
|
253
|
-
param = condition._values.map((value) => _convertParam(value)).join(', ');
|
|
254
|
-
}
|
|
255
|
-
else if (condition._type === 'between' || condition._type === 'not-between') {
|
|
256
|
-
param = _convertParam(condition._values[0]) + ' AND ' + _convertParam(condition._values[1]);
|
|
257
|
-
}
|
|
258
|
-
else if (condition._type !== 'is-null' && condition._type !== 'is-not-null') {
|
|
259
|
-
param = _convertParam(condition._values[0]);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
return param;
|
|
263
|
-
}
|
|
264
|
-
function convertParam(column, param) {
|
|
265
|
-
if (param == null)
|
|
266
|
-
return 'NULL';
|
|
267
|
-
return paramConverter(getTypedParam(column._type, param));
|
|
268
|
-
}
|
|
269
|
-
function getTypedParam(type, param) {
|
|
270
|
-
if (type === 'number')
|
|
271
|
-
return number(param);
|
|
272
|
-
else if (type === 'boolean')
|
|
273
|
-
return boolean(param);
|
|
274
|
-
else if (type === 'date')
|
|
275
|
-
return date(param);
|
|
276
|
-
else if (type === 'string')
|
|
277
|
-
return string(param);
|
|
278
|
-
return param;
|
|
279
|
-
}
|
|
280
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
export function convertResult(query, result, engine) {
|
|
2
|
-
let rows = engine === 'pg' ? result.rows : result;
|
|
3
|
-
let rowCount = engine === 'pg' ? result.rowCount : result.affectedRows || result.changedRows;
|
|
4
|
-
if (query._action === 'select')
|
|
5
|
-
return convertSelectResult(query, rows);
|
|
6
|
-
if (query._action === 'delete')
|
|
7
|
-
return rowCount;
|
|
8
|
-
if (query._action === 'update')
|
|
9
|
-
return rowCount;
|
|
10
|
-
if (query._action === 'insert')
|
|
11
|
-
return convertInsertResult(result, engine);
|
|
12
|
-
throw new Error('Unknown query type:' + query._action);
|
|
13
|
-
}
|
|
14
|
-
function convertInsertResult(result, engine) {
|
|
15
|
-
if (engine === 'mysql')
|
|
16
|
-
return result.insertId > 0 ? result.insertId : undefined; // mysql returns 0 for tables that have a non-autoincrement ID
|
|
17
|
-
if (engine === 'pg' && result.rows && result.rows.length === 1) {
|
|
18
|
-
let columnName = Object.keys(result.rows[0])[0];
|
|
19
|
-
return result.rows[0][columnName];
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
function convertSelectResult(query, rows) {
|
|
23
|
-
if (query._columns && query._columns.length === 1 &&
|
|
24
|
-
!(query._columns[0]._name === '*' && query._columns[0]._modifiers.length === 0)) {
|
|
25
|
-
if (rows.length == 0)
|
|
26
|
-
return [];
|
|
27
|
-
let columnName = Object.keys(rows[0])[0]; // easier than reverse engineering from the column modifiers
|
|
28
|
-
let values = rows.map((row) => row[columnName]);
|
|
29
|
-
if (query._columns[0]._name === '*' && query._columns[0]._modifiers.some((m) => m.name === 'count')) {
|
|
30
|
-
return values.map((value) => Number(value)); // string to number conversion for PG count values
|
|
31
|
-
}
|
|
32
|
-
return values;
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
convertAliasFields(query, rows);
|
|
36
|
-
return rows;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
function convertAliasFields(query, rows) {
|
|
40
|
-
let aliasByName = getColumnAliasesByName(query);
|
|
41
|
-
if (Object.keys(aliasByName).length === 0)
|
|
42
|
-
return;
|
|
43
|
-
rows.forEach((row) => {
|
|
44
|
-
Object.keys(row).forEach((name) => {
|
|
45
|
-
if (aliasByName[name]) {
|
|
46
|
-
row[aliasByName[name]] = row[name];
|
|
47
|
-
delete row[name];
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
function getColumnAliasesByName(query) {
|
|
53
|
-
let aliasByName = {};
|
|
54
|
-
if (query._columns && query._columns.length > 0) {
|
|
55
|
-
query._columns.forEach((column) => {
|
|
56
|
-
if (column._name && column._name.alias && column._modifiers.length === 0) {
|
|
57
|
-
aliasByName[column._name.name] = column._name.alias;
|
|
58
|
-
}
|
|
59
|
-
else if (column._name === '*' && column._modifiers.length === 0) {
|
|
60
|
-
getAliasColumnsOfTable(column._table).forEach((column) => {
|
|
61
|
-
aliasByName[column._name.name] = column._name.alias;
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
let tables = query._table ? [query._table] : query._tables;
|
|
68
|
-
tables.forEach((table) => {
|
|
69
|
-
getAliasColumnsOfTable(table).forEach((column) => {
|
|
70
|
-
aliasByName[column._name.name] = column._name.alias;
|
|
71
|
-
});
|
|
72
|
-
let joinTable = table._parent;
|
|
73
|
-
while (joinTable) {
|
|
74
|
-
getAliasColumnsOfTable(joinTable).forEach((column) => {
|
|
75
|
-
aliasByName[column._name.name] = column._name.alias;
|
|
76
|
-
});
|
|
77
|
-
joinTable = joinTable._parent;
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
return aliasByName;
|
|
82
|
-
}
|
|
83
|
-
function getAliasColumnsOfTable(table) {
|
|
84
|
-
return Object.keys(table).map(key => table[key]).filter((column) => column && column._name && column._name.alias);
|
|
85
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { createQueryConverter } from "./query-converter";
|
|
2
|
-
import { convertSubstitutionParam } from './param-converter';
|
|
3
|
-
export function convertQueryToSQL(query, options, engine) {
|
|
4
|
-
return createQueryConverter((param) => convertSubstitutionParam(param), options, engine)(query);
|
|
5
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export function number(param) {
|
|
2
|
-
let result = Number(param);
|
|
3
|
-
if (Number.isNaN(result))
|
|
4
|
-
throw new Error('Invalid number parameter in SQL query: ' + param);
|
|
5
|
-
return result;
|
|
6
|
-
}
|
|
7
|
-
export function boolean(param) {
|
|
8
|
-
if (typeof param === 'boolean')
|
|
9
|
-
return param;
|
|
10
|
-
if (param instanceof Boolean)
|
|
11
|
-
return param.valueOf();
|
|
12
|
-
if (param === 'true')
|
|
13
|
-
return true;
|
|
14
|
-
if (param === 'false')
|
|
15
|
-
return false;
|
|
16
|
-
throw new Error('Invalid boolean parameter in SQL query: ' + param);
|
|
17
|
-
}
|
|
18
|
-
export function date(param) {
|
|
19
|
-
if (param instanceof Date)
|
|
20
|
-
return param; // @ts-ignore
|
|
21
|
-
if (typeof param === 'number' || param instanceof Number)
|
|
22
|
-
return new Date(param);
|
|
23
|
-
if (typeof param === 'string' || param instanceof String) {
|
|
24
|
-
if (Number.isNaN(Date.parse(String(param))))
|
|
25
|
-
throw new Error('Invalid date parameter in SQL query: ' + param); // @ts-ignore
|
|
26
|
-
return new Date(param);
|
|
27
|
-
}
|
|
28
|
-
throw new Error('Invalid date parameter in SQL query: ' + param);
|
|
29
|
-
}
|
|
30
|
-
export function string(param) {
|
|
31
|
-
if (typeof param === 'string')
|
|
32
|
-
return param;
|
|
33
|
-
if (param instanceof String)
|
|
34
|
-
return param.valueOf();
|
|
35
|
-
throw new Error('Invalid string parameter in SQL query: ' + param);
|
|
36
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
2
|
-
export const ENV_ANGULAR_NODE_APP_WEBSITE_DOMAIN = 'taon-type-sql.example.domain.com';
|
|
3
|
-
export const ENV_ANGULAR_NODE_APP_WEBSITE_TITLE = 'Taon Type Sql';
|
|
4
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_TARGET_ARTIFACT = 'angular-node-app';
|
|
5
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_ENV_NAME = '__';
|
|
6
|
-
export const ENV_ANGULAR_NODE_APP_CONTAINER_ONLY = undefined;
|
|
7
|
-
export const ENV_ANGULAR_NODE_APP_CONTAINER_END = undefined;
|
|
8
|
-
export const ENV_ANGULAR_NODE_APP_CONTAINER_START = undefined;
|
|
9
|
-
export const ENV_ANGULAR_NODE_APP_CONTAINER_SKIP_RELEASED = undefined;
|
|
10
|
-
export const ENV_ANGULAR_NODE_APP_CONTAINER_SKIP = undefined;
|
|
11
|
-
export const ENV_ANGULAR_NODE_APP_INIT_BRANDING = undefined;
|
|
12
|
-
export const ENV_ANGULAR_NODE_APP_INIT_STRUCT = undefined;
|
|
13
|
-
export const ENV_ANGULAR_NODE_APP_BUILD_PWA_DISABLE_SERVICE_WORKER = undefined;
|
|
14
|
-
export const ENV_ANGULAR_NODE_APP_BUILD_PWA_NAME = undefined;
|
|
15
|
-
export const ENV_ANGULAR_NODE_APP_BUILD_PWA_SHORT_NAME = undefined;
|
|
16
|
-
export const ENV_ANGULAR_NODE_APP_BUILD_PWA_START_URL = undefined;
|
|
17
|
-
export const ENV_ANGULAR_NODE_APP_BUILD_ELECTRON_SHOW_DEV_TOOLS = undefined;
|
|
18
|
-
export const ENV_ANGULAR_NODE_APP_BUILD_SSR = undefined;
|
|
19
|
-
export const ENV_ANGULAR_NODE_APP_BUILD_WEBSQL = undefined;
|
|
20
|
-
export const ENV_ANGULAR_NODE_APP_BUILD_PROD = undefined;
|
|
21
|
-
export const ENV_ANGULAR_NODE_APP_BUILD_OVERRIDE_OUTPUT_PATH = undefined;
|
|
22
|
-
export const ENV_ANGULAR_NODE_APP_BUILD_BASE_HREF = undefined;
|
|
23
|
-
export const ENV_ANGULAR_NODE_APP_BUILD_WATCH = undefined;
|
|
24
|
-
export const ENV_ANGULAR_NODE_APP_BUILD_GEN_ONLY_CLIENT_CODE = undefined;
|
|
25
|
-
export const ENV_ANGULAR_NODE_APP_LOADING_PRE_ANGULAR_BOOTSTRAP_LOADER = undefined;
|
|
26
|
-
export const ENV_ANGULAR_NODE_APP_LOADING_PRE_ANGULAR_BOOTSTRAP_BACKGROUND = undefined;
|
|
27
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_CLI_MINIFY = undefined;
|
|
28
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_CLI_INCLUDE_NODE_MODULES = undefined;
|
|
29
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_CLI_UGLIFY = undefined;
|
|
30
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_CLI_OBSCURE = undefined;
|
|
31
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_CLI_COMPRESS = undefined;
|
|
32
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_NODE_BACKEND_APP_MINIFY = undefined;
|
|
33
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_LIB_REMOVE_DTS = undefined;
|
|
34
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_LIB_OBSCURE_FILE_BY_FILE = undefined;
|
|
35
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_LIB_UGLIFY_FILE_BY_FILE = undefined;
|
|
36
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_LIB_INCLUDE_SOURCE_MAPS = undefined;
|
|
37
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_LIB_COMPRESS = undefined;
|
|
38
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_LIB_DO_NOT_INCLUDE_LIB_FILES = undefined;
|
|
39
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_RESOLVED_NEW_VERSION = undefined;
|
|
40
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_RELEASE_VERSION_BUMP_TYPE = undefined;
|
|
41
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_ENV_NUMBER = undefined;
|
|
42
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_INSTALL_LOCALLY = undefined;
|
|
43
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_REMOVE_RELEASE_OUTPUT_AFTER_LOCAL_INSTALL = undefined;
|
|
44
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_RELEASE_TYPE = undefined;
|
|
45
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_AUTO_RELEASE_USING_CONFIG = undefined;
|
|
46
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_AUTO_RELEASE_TASK_NAME = undefined;
|
|
47
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_TAON_INSTANCE_IP = undefined;
|
|
48
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_SKIP_NPM_PUBLISH = undefined;
|
|
49
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_SKIP_DEPLOY = undefined;
|
|
50
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_SKIP_TAG_GIT_PUSH = undefined;
|
|
51
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_SKIP_RELEASE_QUESTION = undefined;
|
|
52
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_SKIP_RESOLVING_GIT_CHANGES = undefined;
|
|
53
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_SKIP_CODE_CUTTING = undefined;
|
|
54
|
-
export const ENV_ANGULAR_NODE_APP_RELEASE_SKIP_BUILDING_ARTIFACTS = undefined;
|
|
55
|
-
export const ENV_ANGULAR_NODE_APP_COPY_TO_MANAGER_BEFORE_COPY_HOOK = undefined;
|
|
56
|
-
export const ENV_ANGULAR_NODE_APP_COPY_TO_MANAGER_COPY_TO_LOCATIONS = undefined;
|
|
57
|
-
export const ENV_ANGULAR_NODE_APP_COPY_TO_MANAGER_COPY_TO_PROJECTS = undefined;
|
|
58
|
-
export const ENV_ANGULAR_NODE_APP_COPY_TO_MANAGER_SKIP = undefined;
|
|
59
|
-
export const ENV_ANGULAR_NODE_APP_WEBSITE_USE_DOMAIN = undefined;
|
|
60
|
-
export const ENV_ANGULAR_NODE_APP_PURPOSE = undefined;
|
|
61
|
-
export const ENV_ANGULAR_NODE_APP_RECURSIVE_ACTION = undefined;
|
|
62
|
-
export const ENV_ANGULAR_NODE_APP_IS_CI_PROCESS = undefined;
|
|
63
|
-
export const ENV_ANGULAR_NODE_APP_DOCKER_ADDITIONAL_CONTAINER = undefined;
|
|
64
|
-
export const ENV_ANGULAR_NODE_APP_DOCKER_SKIP_START_IN_ORDER = undefined;
|
|
65
|
-
export const ENV_ANGULAR_NODE_APP_DOCKER_SKIP_USING_MYSQL_DB = undefined;
|
|
66
|
-
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
2
|
-
export const ENV_DOCS_WEBAPP_WEBSITE_DOMAIN = 'taon-type-sql.example.domain.com';
|
|
3
|
-
export const ENV_DOCS_WEBAPP_WEBSITE_TITLE = 'Taon Type Sql';
|
|
4
|
-
export const ENV_DOCS_WEBAPP_RELEASE_TARGET_ARTIFACT = 'docs-webapp';
|
|
5
|
-
export const ENV_DOCS_WEBAPP_RELEASE_ENV_NAME = '__';
|
|
6
|
-
export const ENV_DOCS_WEBAPP_CONTAINER_ONLY = undefined;
|
|
7
|
-
export const ENV_DOCS_WEBAPP_CONTAINER_END = undefined;
|
|
8
|
-
export const ENV_DOCS_WEBAPP_CONTAINER_START = undefined;
|
|
9
|
-
export const ENV_DOCS_WEBAPP_CONTAINER_SKIP_RELEASED = undefined;
|
|
10
|
-
export const ENV_DOCS_WEBAPP_CONTAINER_SKIP = undefined;
|
|
11
|
-
export const ENV_DOCS_WEBAPP_INIT_BRANDING = undefined;
|
|
12
|
-
export const ENV_DOCS_WEBAPP_INIT_STRUCT = undefined;
|
|
13
|
-
export const ENV_DOCS_WEBAPP_BUILD_PWA_DISABLE_SERVICE_WORKER = undefined;
|
|
14
|
-
export const ENV_DOCS_WEBAPP_BUILD_PWA_NAME = undefined;
|
|
15
|
-
export const ENV_DOCS_WEBAPP_BUILD_PWA_SHORT_NAME = undefined;
|
|
16
|
-
export const ENV_DOCS_WEBAPP_BUILD_PWA_START_URL = undefined;
|
|
17
|
-
export const ENV_DOCS_WEBAPP_BUILD_ELECTRON_SHOW_DEV_TOOLS = undefined;
|
|
18
|
-
export const ENV_DOCS_WEBAPP_BUILD_SSR = undefined;
|
|
19
|
-
export const ENV_DOCS_WEBAPP_BUILD_WEBSQL = undefined;
|
|
20
|
-
export const ENV_DOCS_WEBAPP_BUILD_PROD = undefined;
|
|
21
|
-
export const ENV_DOCS_WEBAPP_BUILD_OVERRIDE_OUTPUT_PATH = undefined;
|
|
22
|
-
export const ENV_DOCS_WEBAPP_BUILD_BASE_HREF = undefined;
|
|
23
|
-
export const ENV_DOCS_WEBAPP_BUILD_WATCH = undefined;
|
|
24
|
-
export const ENV_DOCS_WEBAPP_BUILD_GEN_ONLY_CLIENT_CODE = undefined;
|
|
25
|
-
export const ENV_DOCS_WEBAPP_LOADING_PRE_ANGULAR_BOOTSTRAP_LOADER = undefined;
|
|
26
|
-
export const ENV_DOCS_WEBAPP_LOADING_PRE_ANGULAR_BOOTSTRAP_BACKGROUND = undefined;
|
|
27
|
-
export const ENV_DOCS_WEBAPP_RELEASE_CLI_MINIFY = undefined;
|
|
28
|
-
export const ENV_DOCS_WEBAPP_RELEASE_CLI_INCLUDE_NODE_MODULES = undefined;
|
|
29
|
-
export const ENV_DOCS_WEBAPP_RELEASE_CLI_UGLIFY = undefined;
|
|
30
|
-
export const ENV_DOCS_WEBAPP_RELEASE_CLI_OBSCURE = undefined;
|
|
31
|
-
export const ENV_DOCS_WEBAPP_RELEASE_CLI_COMPRESS = undefined;
|
|
32
|
-
export const ENV_DOCS_WEBAPP_RELEASE_NODE_BACKEND_APP_MINIFY = undefined;
|
|
33
|
-
export const ENV_DOCS_WEBAPP_RELEASE_LIB_REMOVE_DTS = undefined;
|
|
34
|
-
export const ENV_DOCS_WEBAPP_RELEASE_LIB_OBSCURE_FILE_BY_FILE = undefined;
|
|
35
|
-
export const ENV_DOCS_WEBAPP_RELEASE_LIB_UGLIFY_FILE_BY_FILE = undefined;
|
|
36
|
-
export const ENV_DOCS_WEBAPP_RELEASE_LIB_INCLUDE_SOURCE_MAPS = undefined;
|
|
37
|
-
export const ENV_DOCS_WEBAPP_RELEASE_LIB_COMPRESS = undefined;
|
|
38
|
-
export const ENV_DOCS_WEBAPP_RELEASE_LIB_DO_NOT_INCLUDE_LIB_FILES = undefined;
|
|
39
|
-
export const ENV_DOCS_WEBAPP_RELEASE_RESOLVED_NEW_VERSION = undefined;
|
|
40
|
-
export const ENV_DOCS_WEBAPP_RELEASE_RELEASE_VERSION_BUMP_TYPE = undefined;
|
|
41
|
-
export const ENV_DOCS_WEBAPP_RELEASE_ENV_NUMBER = undefined;
|
|
42
|
-
export const ENV_DOCS_WEBAPP_RELEASE_INSTALL_LOCALLY = undefined;
|
|
43
|
-
export const ENV_DOCS_WEBAPP_RELEASE_REMOVE_RELEASE_OUTPUT_AFTER_LOCAL_INSTALL = undefined;
|
|
44
|
-
export const ENV_DOCS_WEBAPP_RELEASE_RELEASE_TYPE = undefined;
|
|
45
|
-
export const ENV_DOCS_WEBAPP_RELEASE_AUTO_RELEASE_USING_CONFIG = undefined;
|
|
46
|
-
export const ENV_DOCS_WEBAPP_RELEASE_AUTO_RELEASE_TASK_NAME = undefined;
|
|
47
|
-
export const ENV_DOCS_WEBAPP_RELEASE_TAON_INSTANCE_IP = undefined;
|
|
48
|
-
export const ENV_DOCS_WEBAPP_RELEASE_SKIP_NPM_PUBLISH = undefined;
|
|
49
|
-
export const ENV_DOCS_WEBAPP_RELEASE_SKIP_DEPLOY = undefined;
|
|
50
|
-
export const ENV_DOCS_WEBAPP_RELEASE_SKIP_TAG_GIT_PUSH = undefined;
|
|
51
|
-
export const ENV_DOCS_WEBAPP_RELEASE_SKIP_RELEASE_QUESTION = undefined;
|
|
52
|
-
export const ENV_DOCS_WEBAPP_RELEASE_SKIP_RESOLVING_GIT_CHANGES = undefined;
|
|
53
|
-
export const ENV_DOCS_WEBAPP_RELEASE_SKIP_CODE_CUTTING = undefined;
|
|
54
|
-
export const ENV_DOCS_WEBAPP_RELEASE_SKIP_BUILDING_ARTIFACTS = undefined;
|
|
55
|
-
export const ENV_DOCS_WEBAPP_COPY_TO_MANAGER_BEFORE_COPY_HOOK = undefined;
|
|
56
|
-
export const ENV_DOCS_WEBAPP_COPY_TO_MANAGER_COPY_TO_LOCATIONS = undefined;
|
|
57
|
-
export const ENV_DOCS_WEBAPP_COPY_TO_MANAGER_COPY_TO_PROJECTS = undefined;
|
|
58
|
-
export const ENV_DOCS_WEBAPP_COPY_TO_MANAGER_SKIP = undefined;
|
|
59
|
-
export const ENV_DOCS_WEBAPP_WEBSITE_USE_DOMAIN = undefined;
|
|
60
|
-
export const ENV_DOCS_WEBAPP_PURPOSE = undefined;
|
|
61
|
-
export const ENV_DOCS_WEBAPP_RECURSIVE_ACTION = undefined;
|
|
62
|
-
export const ENV_DOCS_WEBAPP_IS_CI_PROCESS = undefined;
|
|
63
|
-
export const ENV_DOCS_WEBAPP_DOCKER_ADDITIONAL_CONTAINER = undefined;
|
|
64
|
-
export const ENV_DOCS_WEBAPP_DOCKER_SKIP_START_IN_ORDER = undefined;
|
|
65
|
-
export const ENV_DOCS_WEBAPP_DOCKER_SKIP_USING_MYSQL_DB = undefined;
|
|
66
|
-
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
// THIS FILE IS GENERATED - DO NOT MODIFY
|
|
2
|
-
export const ENV_ELECTRON_APP_WEBSITE_DOMAIN = 'taon-type-sql.example.domain.com';
|
|
3
|
-
export const ENV_ELECTRON_APP_WEBSITE_TITLE = 'Taon Type Sql';
|
|
4
|
-
export const ENV_ELECTRON_APP_RELEASE_TARGET_ARTIFACT = 'electron-app';
|
|
5
|
-
export const ENV_ELECTRON_APP_RELEASE_ENV_NAME = '__';
|
|
6
|
-
export const ENV_ELECTRON_APP_CONTAINER_ONLY = undefined;
|
|
7
|
-
export const ENV_ELECTRON_APP_CONTAINER_END = undefined;
|
|
8
|
-
export const ENV_ELECTRON_APP_CONTAINER_START = undefined;
|
|
9
|
-
export const ENV_ELECTRON_APP_CONTAINER_SKIP_RELEASED = undefined;
|
|
10
|
-
export const ENV_ELECTRON_APP_CONTAINER_SKIP = undefined;
|
|
11
|
-
export const ENV_ELECTRON_APP_INIT_BRANDING = undefined;
|
|
12
|
-
export const ENV_ELECTRON_APP_INIT_STRUCT = undefined;
|
|
13
|
-
export const ENV_ELECTRON_APP_BUILD_PWA_DISABLE_SERVICE_WORKER = undefined;
|
|
14
|
-
export const ENV_ELECTRON_APP_BUILD_PWA_NAME = undefined;
|
|
15
|
-
export const ENV_ELECTRON_APP_BUILD_PWA_SHORT_NAME = undefined;
|
|
16
|
-
export const ENV_ELECTRON_APP_BUILD_PWA_START_URL = undefined;
|
|
17
|
-
export const ENV_ELECTRON_APP_BUILD_ELECTRON_SHOW_DEV_TOOLS = undefined;
|
|
18
|
-
export const ENV_ELECTRON_APP_BUILD_SSR = undefined;
|
|
19
|
-
export const ENV_ELECTRON_APP_BUILD_WEBSQL = undefined;
|
|
20
|
-
export const ENV_ELECTRON_APP_BUILD_PROD = undefined;
|
|
21
|
-
export const ENV_ELECTRON_APP_BUILD_OVERRIDE_OUTPUT_PATH = undefined;
|
|
22
|
-
export const ENV_ELECTRON_APP_BUILD_BASE_HREF = undefined;
|
|
23
|
-
export const ENV_ELECTRON_APP_BUILD_WATCH = undefined;
|
|
24
|
-
export const ENV_ELECTRON_APP_BUILD_GEN_ONLY_CLIENT_CODE = undefined;
|
|
25
|
-
export const ENV_ELECTRON_APP_LOADING_PRE_ANGULAR_BOOTSTRAP_LOADER = undefined;
|
|
26
|
-
export const ENV_ELECTRON_APP_LOADING_PRE_ANGULAR_BOOTSTRAP_BACKGROUND = undefined;
|
|
27
|
-
export const ENV_ELECTRON_APP_RELEASE_CLI_MINIFY = undefined;
|
|
28
|
-
export const ENV_ELECTRON_APP_RELEASE_CLI_INCLUDE_NODE_MODULES = undefined;
|
|
29
|
-
export const ENV_ELECTRON_APP_RELEASE_CLI_UGLIFY = undefined;
|
|
30
|
-
export const ENV_ELECTRON_APP_RELEASE_CLI_OBSCURE = undefined;
|
|
31
|
-
export const ENV_ELECTRON_APP_RELEASE_CLI_COMPRESS = undefined;
|
|
32
|
-
export const ENV_ELECTRON_APP_RELEASE_NODE_BACKEND_APP_MINIFY = undefined;
|
|
33
|
-
export const ENV_ELECTRON_APP_RELEASE_LIB_REMOVE_DTS = undefined;
|
|
34
|
-
export const ENV_ELECTRON_APP_RELEASE_LIB_OBSCURE_FILE_BY_FILE = undefined;
|
|
35
|
-
export const ENV_ELECTRON_APP_RELEASE_LIB_UGLIFY_FILE_BY_FILE = undefined;
|
|
36
|
-
export const ENV_ELECTRON_APP_RELEASE_LIB_INCLUDE_SOURCE_MAPS = undefined;
|
|
37
|
-
export const ENV_ELECTRON_APP_RELEASE_LIB_COMPRESS = undefined;
|
|
38
|
-
export const ENV_ELECTRON_APP_RELEASE_LIB_DO_NOT_INCLUDE_LIB_FILES = undefined;
|
|
39
|
-
export const ENV_ELECTRON_APP_RELEASE_RESOLVED_NEW_VERSION = undefined;
|
|
40
|
-
export const ENV_ELECTRON_APP_RELEASE_RELEASE_VERSION_BUMP_TYPE = undefined;
|
|
41
|
-
export const ENV_ELECTRON_APP_RELEASE_ENV_NUMBER = undefined;
|
|
42
|
-
export const ENV_ELECTRON_APP_RELEASE_INSTALL_LOCALLY = undefined;
|
|
43
|
-
export const ENV_ELECTRON_APP_RELEASE_REMOVE_RELEASE_OUTPUT_AFTER_LOCAL_INSTALL = undefined;
|
|
44
|
-
export const ENV_ELECTRON_APP_RELEASE_RELEASE_TYPE = undefined;
|
|
45
|
-
export const ENV_ELECTRON_APP_RELEASE_AUTO_RELEASE_USING_CONFIG = undefined;
|
|
46
|
-
export const ENV_ELECTRON_APP_RELEASE_AUTO_RELEASE_TASK_NAME = undefined;
|
|
47
|
-
export const ENV_ELECTRON_APP_RELEASE_TAON_INSTANCE_IP = undefined;
|
|
48
|
-
export const ENV_ELECTRON_APP_RELEASE_SKIP_NPM_PUBLISH = undefined;
|
|
49
|
-
export const ENV_ELECTRON_APP_RELEASE_SKIP_DEPLOY = undefined;
|
|
50
|
-
export const ENV_ELECTRON_APP_RELEASE_SKIP_TAG_GIT_PUSH = undefined;
|
|
51
|
-
export const ENV_ELECTRON_APP_RELEASE_SKIP_RELEASE_QUESTION = undefined;
|
|
52
|
-
export const ENV_ELECTRON_APP_RELEASE_SKIP_RESOLVING_GIT_CHANGES = undefined;
|
|
53
|
-
export const ENV_ELECTRON_APP_RELEASE_SKIP_CODE_CUTTING = undefined;
|
|
54
|
-
export const ENV_ELECTRON_APP_RELEASE_SKIP_BUILDING_ARTIFACTS = undefined;
|
|
55
|
-
export const ENV_ELECTRON_APP_COPY_TO_MANAGER_BEFORE_COPY_HOOK = undefined;
|
|
56
|
-
export const ENV_ELECTRON_APP_COPY_TO_MANAGER_COPY_TO_LOCATIONS = undefined;
|
|
57
|
-
export const ENV_ELECTRON_APP_COPY_TO_MANAGER_COPY_TO_PROJECTS = undefined;
|
|
58
|
-
export const ENV_ELECTRON_APP_COPY_TO_MANAGER_SKIP = undefined;
|
|
59
|
-
export const ENV_ELECTRON_APP_WEBSITE_USE_DOMAIN = undefined;
|
|
60
|
-
export const ENV_ELECTRON_APP_PURPOSE = undefined;
|
|
61
|
-
export const ENV_ELECTRON_APP_RECURSIVE_ACTION = undefined;
|
|
62
|
-
export const ENV_ELECTRON_APP_IS_CI_PROCESS = undefined;
|
|
63
|
-
export const ENV_ELECTRON_APP_DOCKER_ADDITIONAL_CONTAINER = undefined;
|
|
64
|
-
export const ENV_ELECTRON_APP_DOCKER_SKIP_START_IN_ORDER = undefined;
|
|
65
|
-
export const ENV_ELECTRON_APP_DOCKER_SKIP_USING_MYSQL_DB = undefined;
|
|
66
|
-
// THIS FILE IS GENERATED - DO NOT MODIFY
|