@lowdefy/connection-google-sheets 4.0.0-alpha.6 → 4.0.0-alpha.7
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/dist/connections/GoogleSheet/GoogleSheet.js +2 -3
- package/dist/connections/GoogleSheet/GoogleSheetAppendMany/GoogleSheetAppendMany.js +8 -2
- package/dist/connections/GoogleSheet/GoogleSheetAppendMany/schema.js +56 -0
- package/dist/connections/GoogleSheet/GoogleSheetAppendOne/GoogleSheetAppendOne.js +8 -2
- package/dist/connections/GoogleSheet/GoogleSheetAppendOne/schema.js +49 -0
- package/dist/connections/GoogleSheet/GoogleSheetDeleteOne/GoogleSheetDeleteOne.js +8 -2
- package/dist/connections/GoogleSheet/GoogleSheetDeleteOne/schema.js +56 -0
- package/dist/connections/GoogleSheet/GoogleSheetGetMany/GoogleSheetGetMany.js +8 -2
- package/dist/connections/GoogleSheet/GoogleSheetGetMany/schema.js +57 -0
- package/dist/connections/GoogleSheet/GoogleSheetGetOne/GoogleSheetGetOne.js +8 -2
- package/dist/connections/GoogleSheet/GoogleSheetGetOne/schema.js +50 -0
- package/dist/connections/GoogleSheet/GoogleSheetUpdateMany/GoogleSheetUpdateMany.js +8 -2
- package/dist/connections/GoogleSheet/GoogleSheetUpdateMany/schema.js +72 -0
- package/dist/connections/GoogleSheet/GoogleSheetUpdateOne/GoogleSheetUpdateOne.js +8 -2
- package/dist/connections/GoogleSheet/GoogleSheetUpdateOne/schema.js +79 -0
- package/dist/connections/GoogleSheet/mingoAggregation.js +17 -11
- package/dist/connections/GoogleSheet/mingoFilter.js +1 -1
- package/dist/connections/GoogleSheet/schema.js +110 -0
- package/dist/{connections/GoogleSheet/GoogleSheetGetOne/index.js → connections.js} +1 -10
- package/dist/{connections/GoogleSheet/GoogleSheetUpdateOne/index.js → types.js} +6 -10
- package/package.json +12 -11
- package/dist/connections/GoogleSheet/GoogleSheetAppendMany/GoogleSheetAppendManySchema.json +0 -40
- package/dist/connections/GoogleSheet/GoogleSheetAppendMany/index.js +0 -24
- package/dist/connections/GoogleSheet/GoogleSheetAppendOne/GoogleSheetAppendOneSchema.json +0 -33
- package/dist/connections/GoogleSheet/GoogleSheetAppendOne/index.js +0 -24
- package/dist/connections/GoogleSheet/GoogleSheetDeleteOne/GoogleSheetDeleteOneSchema.json +0 -40
- package/dist/connections/GoogleSheet/GoogleSheetDeleteOne/index.js +0 -24
- package/dist/connections/GoogleSheet/GoogleSheetGetMany/GoogleSheetGetManySchema.json +0 -43
- package/dist/connections/GoogleSheet/GoogleSheetGetMany/index.js +0 -24
- package/dist/connections/GoogleSheet/GoogleSheetGetOne/GoogleSheetGetOneSchema.json +0 -36
- package/dist/connections/GoogleSheet/GoogleSheetSchema.json +0 -88
- package/dist/connections/GoogleSheet/GoogleSheetUpdateMany/GoogleSheetUpdateManySchema.json +0 -55
- package/dist/connections/GoogleSheet/GoogleSheetUpdateMany/index.js +0 -24
- package/dist/connections/GoogleSheet/GoogleSheetUpdateOne/GoogleSheetUpdateOneSchema.json +0 -62
- package/dist/index.js +0 -7
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
path: 'connections/GoogleSheet/GoogleSheetUpdateMany/GoogleSheetUpdateMany.js',
|
|
18
|
-
schema: 'connections/GoogleSheet/GoogleSheetUpdateMany/GoogleSheetUpdateManySchema.json'
|
|
19
|
-
},
|
|
20
|
-
meta: {
|
|
21
|
-
checkRead: false,
|
|
22
|
-
checkWrite: true
|
|
23
|
-
}
|
|
24
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "Lowdefy Request Schema - GoogleSheetUpdateOne",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"required": ["update", "filter"],
|
|
6
|
-
"properties": {
|
|
7
|
-
"filter": {
|
|
8
|
-
"type": "object",
|
|
9
|
-
"description": "A MongoDB query expression to filter the data. The first row matched by the filter will be updated.",
|
|
10
|
-
"errorMessage": {
|
|
11
|
-
"type": "GoogleSheetUpdateOne request property \"filter\" should be an object."
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"update": {
|
|
15
|
-
"type": "object",
|
|
16
|
-
"description": "The update to apply to the row. An object where keys are the column names and values are the updated values.",
|
|
17
|
-
"errorMessage": {
|
|
18
|
-
"type": "GoogleSheetUpdateOne request property \"update\" should be an object."
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"options": {
|
|
22
|
-
"type": "object",
|
|
23
|
-
"properties": {
|
|
24
|
-
"limit": {
|
|
25
|
-
"type": "number",
|
|
26
|
-
"description": "The maximum number of rows to fetch.",
|
|
27
|
-
"errorMessage": {
|
|
28
|
-
"type": "GoogleSheetUpdateOne request property \"options.limit\" should be a number."
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"raw": {
|
|
32
|
-
"type": "boolean",
|
|
33
|
-
"description": "Store raw values instead of converting as if typed into the sheets UI.",
|
|
34
|
-
"errorMessage": {
|
|
35
|
-
"type": "GoogleSheetUpdateOne request property \"options.raw\" should be a boolean."
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"skip": {
|
|
39
|
-
"type": "number",
|
|
40
|
-
"description": "The number of rows to skip from the top of the sheet.",
|
|
41
|
-
"errorMessage": {
|
|
42
|
-
"type": "GoogleSheetUpdateOne request property \"options.skip\" should be a number."
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"upsert": {
|
|
46
|
-
"type": "boolean",
|
|
47
|
-
"description": "Insert the row if no rows are matched by the filter.",
|
|
48
|
-
"errorMessage": {
|
|
49
|
-
"type": "GoogleSheetUpdateOne request property \"options.upsert\" should be a boolean."
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"errorMessage": {
|
|
56
|
-
"type": "GoogleSheetUpdateOne request properties should be an object.",
|
|
57
|
-
"required": {
|
|
58
|
-
"filter": "GoogleSheetUpdateOne request should have required property \"filter\".",
|
|
59
|
-
"update": "GoogleSheetUpdateOne request should have required property \"update\"."
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|