@lowdefy/connection-mongodb 4.0.0-alpha.1 → 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/MongoDBCollection/MongoDBAggregation/MongoDBAggregation.js +8 -2
- package/dist/connections/MongoDBCollection/MongoDBAggregation/schema.js +42 -0
- package/dist/connections/MongoDBCollection/MongoDBCollection.js +2 -3
- package/dist/connections/MongoDBCollection/MongoDBDeleteMany/MongoDBDeleteMany.js +10 -3
- package/dist/connections/MongoDBCollection/MongoDBDeleteMany/schema.js +42 -0
- package/dist/connections/MongoDBCollection/MongoDBDeleteOne/MongoDBDeleteOne.js +10 -3
- package/dist/connections/MongoDBCollection/MongoDBDeleteOne/schema.js +42 -0
- package/dist/connections/MongoDBCollection/MongoDBFind/MongoDBFind.js +8 -2
- package/dist/connections/MongoDBCollection/MongoDBFind/schema.js +42 -0
- package/dist/connections/MongoDBCollection/MongoDBFindOne/MongoDBFindOne.js +8 -2
- package/dist/connections/MongoDBCollection/MongoDBFindOne/schema.js +42 -0
- package/dist/connections/MongoDBCollection/MongoDBInsertMany/MongoDBInsertMany.js +11 -5
- package/dist/connections/MongoDBCollection/MongoDBInsertMany/schema.js +48 -0
- package/dist/connections/MongoDBCollection/MongoDBInsertOne/MongoDBInsertOne.js +11 -6
- package/dist/connections/MongoDBCollection/MongoDBInsertOne/schema.js +42 -0
- package/dist/connections/MongoDBCollection/MongoDBUpdateMany/MongoDBUpdateMany.js +8 -2
- package/dist/connections/MongoDBCollection/MongoDBUpdateMany/schema.js +56 -0
- package/dist/connections/MongoDBCollection/MongoDBUpdateOne/MongoDBUpdateOne.js +8 -2
- package/dist/connections/MongoDBCollection/MongoDBUpdateOne/schema.js +56 -0
- package/dist/connections/MongoDBCollection/schema.js +69 -0
- package/dist/connections/MongoDBCollection/serialize.js +4 -4
- package/dist/{connections/MongoDBCollection/MongoDBFind/index.js → connections.js} +1 -10
- package/dist/{connections/MongoDBCollection/MongoDBFindOne/index.js → types.js} +6 -10
- package/package.json +14 -13
- package/dist/connections/MongoDBCollection/MongoDBAggregation/MongoDBAggregationSchema.json +0 -26
- package/dist/connections/MongoDBCollection/MongoDBAggregation/index.js +0 -24
- package/dist/connections/MongoDBCollection/MongoDBCollectionSchema.json +0 -52
- package/dist/connections/MongoDBCollection/MongoDBDeleteMany/MongoDBDeleteManySchema.json +0 -26
- package/dist/connections/MongoDBCollection/MongoDBDeleteMany/index.js +0 -24
- package/dist/connections/MongoDBCollection/MongoDBDeleteOne/MongoDBDeleteOneSchema.json +0 -26
- package/dist/connections/MongoDBCollection/MongoDBDeleteOne/index.js +0 -24
- package/dist/connections/MongoDBCollection/MongoDBFind/MongoDBFindSchema.json +0 -26
- package/dist/connections/MongoDBCollection/MongoDBFindOne/MongoDBFindOneSchema.json +0 -26
- package/dist/connections/MongoDBCollection/MongoDBInsertMany/MongoDBInsertManySchema.json +0 -32
- package/dist/connections/MongoDBCollection/MongoDBInsertMany/index.js +0 -24
- package/dist/connections/MongoDBCollection/MongoDBInsertOne/MongoDBInsertOneSchema.json +0 -26
- package/dist/connections/MongoDBCollection/MongoDBInsertOne/index.js +0 -24
- package/dist/connections/MongoDBCollection/MongoDBUpdateMany/MongoDBUpdateManySchema.json +0 -36
- package/dist/connections/MongoDBCollection/MongoDBUpdateMany/index.js +0 -24
- package/dist/connections/MongoDBCollection/MongoDBUpdateOne/MongoDBUpdateOneSchema.json +0 -36
- package/dist/connections/MongoDBCollection/MongoDBUpdateOne/index.js +0 -24
- package/dist/index.js +0 -7
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"title": "Lowdefy Request Schema - MongoDBUpdateOne",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"required": ["filter", "update"],
|
|
6
|
-
"properties": {
|
|
7
|
-
"filter": {
|
|
8
|
-
"type": "object",
|
|
9
|
-
"description": "The filter used to select the document to update.",
|
|
10
|
-
"errorMessage": {
|
|
11
|
-
"type": "MongoDBUpdateOne request property \"filter\" should be an object."
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"update": {
|
|
15
|
-
"type": ["object", "array"],
|
|
16
|
-
"description": "The update operations to be applied to the document.",
|
|
17
|
-
"errorMessage": {
|
|
18
|
-
"type": "MongoDBUpdateOne request property \"update\" should be an object."
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"options": {
|
|
22
|
-
"type": "object",
|
|
23
|
-
"description": "Optional settings.",
|
|
24
|
-
"errorMessage": {
|
|
25
|
-
"type": "MongoDBUpdateOne request property \"options\" should be an object."
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"errorMessage": {
|
|
30
|
-
"type": "MongoDBUpdateOne request properties should be an object.",
|
|
31
|
-
"required": {
|
|
32
|
-
"filter": "MongoDBUpdateOne request should have required property \"filter\".",
|
|
33
|
-
"update": "MongoDBUpdateOne request should have required property \"update\"."
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -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/MongoDBCollection/MongoDBUpdateOne/MongoDBUpdateOne.js',
|
|
18
|
-
schema: 'connections/MongoDBCollection/MongoDBUpdateOne/MongoDBUpdateOneSchema.json'
|
|
19
|
-
},
|
|
20
|
-
meta: {
|
|
21
|
-
checkRead: false,
|
|
22
|
-
checkWrite: true
|
|
23
|
-
}
|
|
24
|
-
};
|