@openfn/language-googlehealthcare 1.1.0 → 1.1.2

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 (2) hide show
  1. package/ast.json +41 -36
  2. package/package.json +3 -2
package/ast.json CHANGED
@@ -119,15 +119,15 @@
119
119
  "description": null,
120
120
  "type": null
121
121
  },
122
- {
123
- "title": "example",
124
- "description": "fn(state => {\n // do some things to state\n return state;\n});"
125
- },
126
122
  {
127
123
  "title": "function",
128
124
  "description": null,
129
125
  "name": null
130
126
  },
127
+ {
128
+ "title": "example",
129
+ "description": "fn(state => {\n // do some things to state\n return state;\n});"
130
+ },
131
131
  {
132
132
  "title": "param",
133
133
  "description": "is the function",
@@ -163,15 +163,15 @@
163
163
  "description": null,
164
164
  "type": null
165
165
  },
166
- {
167
- "title": "example",
168
- "description": "fnIf((state) => state?.data?.name, get(\"https://example.com\"));"
169
- },
170
166
  {
171
167
  "title": "function",
172
168
  "description": null,
173
169
  "name": null
174
170
  },
171
+ {
172
+ "title": "example",
173
+ "description": "fnIf((state) => state?.data?.name, get(\"https://example.com\"));"
174
+ },
175
175
  {
176
176
  "title": "param",
177
177
  "description": "The condition that returns true",
@@ -215,15 +215,15 @@
215
215
  "description": null,
216
216
  "type": null
217
217
  },
218
- {
219
- "title": "example",
220
- "description": "sourceValue('$.key')"
221
- },
222
218
  {
223
219
  "title": "function",
224
220
  "description": null,
225
221
  "name": null
226
222
  },
223
+ {
224
+ "title": "example",
225
+ "description": "sourceValue('$.key')"
226
+ },
227
227
  {
228
228
  "title": "param",
229
229
  "description": "JSONPath referencing a point in `state`.",
@@ -258,15 +258,15 @@
258
258
  "description": null,
259
259
  "type": null
260
260
  },
261
- {
262
- "title": "example",
263
- "description": "dataPath('key')"
264
- },
265
261
  {
266
262
  "title": "function",
267
263
  "description": null,
268
264
  "name": null
269
265
  },
266
+ {
267
+ "title": "example",
268
+ "description": "dataPath('key')"
269
+ },
270
270
  {
271
271
  "title": "param",
272
272
  "description": "JSONPath referencing a point in `data`.",
@@ -301,15 +301,15 @@
301
301
  "description": null,
302
302
  "type": null
303
303
  },
304
- {
305
- "title": "example",
306
- "description": "dataValue('key')"
307
- },
308
304
  {
309
305
  "title": "function",
310
306
  "description": null,
311
307
  "name": null
312
308
  },
309
+ {
310
+ "title": "example",
311
+ "description": "dataValue('key')"
312
+ },
313
313
  {
314
314
  "title": "param",
315
315
  "description": "JSONPath referencing a point in `data`.",
@@ -344,15 +344,15 @@
344
344
  "description": null,
345
345
  "type": null
346
346
  },
347
- {
348
- "title": "example",
349
- "description": "lastReferenceValue('key')"
350
- },
351
347
  {
352
348
  "title": "function",
353
349
  "description": null,
354
350
  "name": null
355
351
  },
352
+ {
353
+ "title": "example",
354
+ "description": "lastReferenceValue('key')"
355
+ },
356
356
  {
357
357
  "title": "param",
358
358
  "description": "JSONPath referencing a point in `references`.",
@@ -388,15 +388,15 @@
388
388
  "description": null,
389
389
  "type": null
390
390
  },
391
- {
392
- "title": "example",
393
- "description": "each(\"$.[*]\",\n create(\"SObject\",\n field(\"FirstName\", sourceValue(\"$.firstName\"))\n )\n)"
394
- },
395
391
  {
396
392
  "title": "function",
397
393
  "description": null,
398
394
  "name": null
399
395
  },
396
+ {
397
+ "title": "example",
398
+ "description": "each(\"$.[*]\",\n create(\"SObject\",\n field(\"FirstName\", sourceValue(\"$.firstName\"))\n )\n)"
399
+ },
400
400
  {
401
401
  "title": "param",
402
402
  "description": "JSONPath referencing a point in `state`.",
@@ -441,15 +441,15 @@
441
441
  "description": null,
442
442
  "type": null
443
443
  },
444
- {
445
- "title": "example",
446
- "description": "field('destination_field_name__c', 'value')"
447
- },
448
444
  {
449
445
  "title": "function",
450
446
  "description": null,
451
447
  "name": null
452
448
  },
449
+ {
450
+ "title": "example",
451
+ "description": "field('destination_field_name__c', 'value')"
452
+ },
453
453
  {
454
454
  "title": "param",
455
455
  "description": "Name of the field",
@@ -493,15 +493,15 @@
493
493
  "description": null,
494
494
  "type": null
495
495
  },
496
- {
497
- "title": "example",
498
- "description": "fields(list_of_fields)"
499
- },
500
496
  {
501
497
  "title": "function",
502
498
  "description": null,
503
499
  "name": null
504
500
  },
501
+ {
502
+ "title": "example",
503
+ "description": "fields(list_of_fields)"
504
+ },
505
505
  {
506
506
  "title": "param",
507
507
  "description": "a list of fields",
@@ -546,6 +546,11 @@
546
546
  "description": null,
547
547
  "name": null
548
548
  },
549
+ {
550
+ "title": "public",
551
+ "description": null,
552
+ "type": null
553
+ },
549
554
  {
550
555
  "title": "param",
551
556
  "description": null,
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@openfn/language-googlehealthcare",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "A Google Health Care language package for use with Open Function",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
8
8
  "import": "./dist/index.js",
9
+ "types": "./types/index.d.ts",
9
10
  "require": "./dist/index.cjs"
10
11
  },
11
12
  "./package.json": "./package.json"
@@ -19,7 +20,7 @@
19
20
  "configuration-schema.json"
20
21
  ],
21
22
  "dependencies": {
22
- "@openfn/language-common": "^1.14.0"
23
+ "@openfn/language-common": "^2.0.1"
23
24
  },
24
25
  "devDependencies": {
25
26
  "@openfn/simple-ast": "0.4.1",