@openfn/language-googlesheets 2.1.2 → 2.1.3
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 +1 -2
- package/package.json +1 -1
- package/types/Adaptor.d.ts +2 -39
package/ast.json
CHANGED
|
@@ -18,9 +18,8 @@
|
|
|
18
18
|
"description": "appendValues({\n spreadsheetId: '1O-a4_RgPF_p8W3I6b5M9wobA3-CBW8hLClZfUik5sos',\n range: 'Sheet1!A1:E1',\n values: [\n ['From expression', '$15', '2', '3/15/2016'],\n ['Really now!', '$100', '1', '3/20/2016'],\n ],\n})"
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
"title": "
|
|
21
|
+
"title": "function",
|
|
22
22
|
"description": null,
|
|
23
|
-
"type": null,
|
|
24
23
|
"name": null
|
|
25
24
|
},
|
|
26
25
|
{
|
package/package.json
CHANGED
package/types/Adaptor.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** @module Adaptor */
|
|
2
1
|
/**
|
|
3
2
|
* Execute a sequence of operations.
|
|
4
3
|
* Wraps `language-common/execute`, and prepends initial state for http.
|
|
@@ -7,27 +6,11 @@
|
|
|
7
6
|
* create('foo'),
|
|
8
7
|
* delete('bar')
|
|
9
8
|
* )(state)
|
|
10
|
-
* @
|
|
9
|
+
* @function
|
|
11
10
|
* @param {Operations} operations - Operations to be performed.
|
|
12
11
|
* @returns {Operation}
|
|
13
12
|
*/
|
|
14
13
|
export function execute(...operations: Operations): Operation;
|
|
15
|
-
export class execute {
|
|
16
|
-
/** @module Adaptor */
|
|
17
|
-
/**
|
|
18
|
-
* Execute a sequence of operations.
|
|
19
|
-
* Wraps `language-common/execute`, and prepends initial state for http.
|
|
20
|
-
* @example
|
|
21
|
-
* execute(
|
|
22
|
-
* create('foo'),
|
|
23
|
-
* delete('bar')
|
|
24
|
-
* )(state)
|
|
25
|
-
* @constructor
|
|
26
|
-
* @param {Operations} operations - Operations to be performed.
|
|
27
|
-
* @returns {Operation}
|
|
28
|
-
*/
|
|
29
|
-
constructor(...operations: Operations);
|
|
30
|
-
}
|
|
31
14
|
/**
|
|
32
15
|
* Add an array of rows to the spreadsheet.
|
|
33
16
|
* https://developers.google.com/sheets/api/samples/writing#append_values
|
|
@@ -41,29 +24,9 @@ export class execute {
|
|
|
41
24
|
* ['Really now!', '$100', '1', '3/20/2016'],
|
|
42
25
|
* ],
|
|
43
26
|
* })
|
|
44
|
-
* @
|
|
27
|
+
* @function
|
|
45
28
|
* @param {Object} params - Data object to add to the spreadsheet.
|
|
46
29
|
* @returns {Operation}
|
|
47
30
|
*/
|
|
48
31
|
export function appendValues(params: any): Operation;
|
|
49
|
-
export class appendValues {
|
|
50
|
-
/**
|
|
51
|
-
* Add an array of rows to the spreadsheet.
|
|
52
|
-
* https://developers.google.com/sheets/api/samples/writing#append_values
|
|
53
|
-
* @public
|
|
54
|
-
* @example
|
|
55
|
-
* appendValues({
|
|
56
|
-
* spreadsheetId: '1O-a4_RgPF_p8W3I6b5M9wobA3-CBW8hLClZfUik5sos',
|
|
57
|
-
* range: 'Sheet1!A1:E1',
|
|
58
|
-
* values: [
|
|
59
|
-
* ['From expression', '$15', '2', '3/15/2016'],
|
|
60
|
-
* ['Really now!', '$100', '1', '3/20/2016'],
|
|
61
|
-
* ],
|
|
62
|
-
* })
|
|
63
|
-
* @constructor
|
|
64
|
-
* @param {Object} params - Data object to add to the spreadsheet.
|
|
65
|
-
* @returns {Operation}
|
|
66
|
-
*/
|
|
67
|
-
constructor(params: any);
|
|
68
|
-
}
|
|
69
32
|
export { alterState, combine, dataPath, dataValue, each, field, fields, fn, http, lastReferenceValue, merge, sourceValue } from "@openfn/language-common";
|