@openfn/language-hive 0.3.0 → 0.3.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.
- package/ast.json +41 -36
- package/package.json +3 -3
package/ast.json
CHANGED
|
@@ -80,15 +80,15 @@
|
|
|
80
80
|
"description": null,
|
|
81
81
|
"type": null
|
|
82
82
|
},
|
|
83
|
-
{
|
|
84
|
-
"title": "example",
|
|
85
|
-
"description": "fn(state => {\n // do some things to state\n return state;\n});"
|
|
86
|
-
},
|
|
87
83
|
{
|
|
88
84
|
"title": "function",
|
|
89
85
|
"description": null,
|
|
90
86
|
"name": null
|
|
91
87
|
},
|
|
88
|
+
{
|
|
89
|
+
"title": "example",
|
|
90
|
+
"description": "fn(state => {\n // do some things to state\n return state;\n});"
|
|
91
|
+
},
|
|
92
92
|
{
|
|
93
93
|
"title": "param",
|
|
94
94
|
"description": "is the function",
|
|
@@ -124,15 +124,15 @@
|
|
|
124
124
|
"description": null,
|
|
125
125
|
"type": null
|
|
126
126
|
},
|
|
127
|
-
{
|
|
128
|
-
"title": "example",
|
|
129
|
-
"description": "fnIf((state) => state?.data?.name, get(\"https://example.com\"));"
|
|
130
|
-
},
|
|
131
127
|
{
|
|
132
128
|
"title": "function",
|
|
133
129
|
"description": null,
|
|
134
130
|
"name": null
|
|
135
131
|
},
|
|
132
|
+
{
|
|
133
|
+
"title": "example",
|
|
134
|
+
"description": "fnIf((state) => state?.data?.name, get(\"https://example.com\"));"
|
|
135
|
+
},
|
|
136
136
|
{
|
|
137
137
|
"title": "param",
|
|
138
138
|
"description": "The condition that returns true",
|
|
@@ -176,15 +176,15 @@
|
|
|
176
176
|
"description": null,
|
|
177
177
|
"type": null
|
|
178
178
|
},
|
|
179
|
-
{
|
|
180
|
-
"title": "example",
|
|
181
|
-
"description": "sourceValue('$.key')"
|
|
182
|
-
},
|
|
183
179
|
{
|
|
184
180
|
"title": "function",
|
|
185
181
|
"description": null,
|
|
186
182
|
"name": null
|
|
187
183
|
},
|
|
184
|
+
{
|
|
185
|
+
"title": "example",
|
|
186
|
+
"description": "sourceValue('$.key')"
|
|
187
|
+
},
|
|
188
188
|
{
|
|
189
189
|
"title": "param",
|
|
190
190
|
"description": "JSONPath referencing a point in `state`.",
|
|
@@ -219,15 +219,15 @@
|
|
|
219
219
|
"description": null,
|
|
220
220
|
"type": null
|
|
221
221
|
},
|
|
222
|
-
{
|
|
223
|
-
"title": "example",
|
|
224
|
-
"description": "dataPath('key')"
|
|
225
|
-
},
|
|
226
222
|
{
|
|
227
223
|
"title": "function",
|
|
228
224
|
"description": null,
|
|
229
225
|
"name": null
|
|
230
226
|
},
|
|
227
|
+
{
|
|
228
|
+
"title": "example",
|
|
229
|
+
"description": "dataPath('key')"
|
|
230
|
+
},
|
|
231
231
|
{
|
|
232
232
|
"title": "param",
|
|
233
233
|
"description": "JSONPath referencing a point in `data`.",
|
|
@@ -262,15 +262,15 @@
|
|
|
262
262
|
"description": null,
|
|
263
263
|
"type": null
|
|
264
264
|
},
|
|
265
|
-
{
|
|
266
|
-
"title": "example",
|
|
267
|
-
"description": "dataValue('key')"
|
|
268
|
-
},
|
|
269
265
|
{
|
|
270
266
|
"title": "function",
|
|
271
267
|
"description": null,
|
|
272
268
|
"name": null
|
|
273
269
|
},
|
|
270
|
+
{
|
|
271
|
+
"title": "example",
|
|
272
|
+
"description": "dataValue('key')"
|
|
273
|
+
},
|
|
274
274
|
{
|
|
275
275
|
"title": "param",
|
|
276
276
|
"description": "JSONPath referencing a point in `data`.",
|
|
@@ -305,15 +305,15 @@
|
|
|
305
305
|
"description": null,
|
|
306
306
|
"type": null
|
|
307
307
|
},
|
|
308
|
-
{
|
|
309
|
-
"title": "example",
|
|
310
|
-
"description": "lastReferenceValue('key')"
|
|
311
|
-
},
|
|
312
308
|
{
|
|
313
309
|
"title": "function",
|
|
314
310
|
"description": null,
|
|
315
311
|
"name": null
|
|
316
312
|
},
|
|
313
|
+
{
|
|
314
|
+
"title": "example",
|
|
315
|
+
"description": "lastReferenceValue('key')"
|
|
316
|
+
},
|
|
317
317
|
{
|
|
318
318
|
"title": "param",
|
|
319
319
|
"description": "JSONPath referencing a point in `references`.",
|
|
@@ -349,15 +349,15 @@
|
|
|
349
349
|
"description": null,
|
|
350
350
|
"type": null
|
|
351
351
|
},
|
|
352
|
-
{
|
|
353
|
-
"title": "example",
|
|
354
|
-
"description": "each(\"$.[*]\",\n create(\"SObject\",\n field(\"FirstName\", sourceValue(\"$.firstName\"))\n )\n)"
|
|
355
|
-
},
|
|
356
352
|
{
|
|
357
353
|
"title": "function",
|
|
358
354
|
"description": null,
|
|
359
355
|
"name": null
|
|
360
356
|
},
|
|
357
|
+
{
|
|
358
|
+
"title": "example",
|
|
359
|
+
"description": "each(\"$.[*]\",\n create(\"SObject\",\n field(\"FirstName\", sourceValue(\"$.firstName\"))\n )\n)"
|
|
360
|
+
},
|
|
361
361
|
{
|
|
362
362
|
"title": "param",
|
|
363
363
|
"description": "JSONPath referencing a point in `state`.",
|
|
@@ -402,15 +402,15 @@
|
|
|
402
402
|
"description": null,
|
|
403
403
|
"type": null
|
|
404
404
|
},
|
|
405
|
-
{
|
|
406
|
-
"title": "example",
|
|
407
|
-
"description": "field('destination_field_name__c', 'value')"
|
|
408
|
-
},
|
|
409
405
|
{
|
|
410
406
|
"title": "function",
|
|
411
407
|
"description": null,
|
|
412
408
|
"name": null
|
|
413
409
|
},
|
|
410
|
+
{
|
|
411
|
+
"title": "example",
|
|
412
|
+
"description": "field('destination_field_name__c', 'value')"
|
|
413
|
+
},
|
|
414
414
|
{
|
|
415
415
|
"title": "param",
|
|
416
416
|
"description": "Name of the field",
|
|
@@ -454,15 +454,15 @@
|
|
|
454
454
|
"description": null,
|
|
455
455
|
"type": null
|
|
456
456
|
},
|
|
457
|
-
{
|
|
458
|
-
"title": "example",
|
|
459
|
-
"description": "fields(list_of_fields)"
|
|
460
|
-
},
|
|
461
457
|
{
|
|
462
458
|
"title": "function",
|
|
463
459
|
"description": null,
|
|
464
460
|
"name": null
|
|
465
461
|
},
|
|
462
|
+
{
|
|
463
|
+
"title": "example",
|
|
464
|
+
"description": "fields(list_of_fields)"
|
|
465
|
+
},
|
|
466
466
|
{
|
|
467
467
|
"title": "param",
|
|
468
468
|
"description": "a list of fields",
|
|
@@ -507,6 +507,11 @@
|
|
|
507
507
|
"description": null,
|
|
508
508
|
"name": null
|
|
509
509
|
},
|
|
510
|
+
{
|
|
511
|
+
"title": "public",
|
|
512
|
+
"description": null,
|
|
513
|
+
"type": null
|
|
514
|
+
},
|
|
510
515
|
{
|
|
511
516
|
"title": "param",
|
|
512
517
|
"description": null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfn/language-hive",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "An Apache HIVE adaptor for OpenFn",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"configuration-schema.json"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
22
|
+
"hive-driver": "0.2.0",
|
|
23
|
+
"@openfn/language-common": "2.0.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@openfn/simple-ast": "0.4.1",
|