Skip to content

Commit

Permalink
chore: update webda.module.json due to library update
Browse files Browse the repository at this point in the history
  • Loading branch information
loopingz committed Jul 8, 2023
1 parent ffd2b1d commit d6f48f5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
28 changes: 21 additions & 7 deletions packages/mongodb/webda.module.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,25 @@
"properties": {
"w": {
"$ref": "#/definitions/W",
"description": "request acknowledgment that the write operation has propagated to a specified number of mongod instances or to mongod instances with specified tags."
"description": "Request acknowledgment that the write operation has propagated to a specified number of mongod instances or to mongod instances with specified tags."
},
"journal": {
"type": "boolean",
"description": "Request acknowledgment that the write operation has been written to the on-disk journal"
},
"wtimeoutMS": {
"type": "number",
"description": "Specify a time limit to prevent write operations from blocking indefinitely"
},
"wtimeout": {
"type": "number",
"description": "specify a time limit to prevent write operations from blocking indefinitely"
"description": "Specify a time limit to prevent write operations from blocking indefinitely.",
"deprecated": "Will be removed in the next major version. Please use wtimeoutMS."
},
"j": {
"type": "boolean",
"description": "request acknowledgment that the write operation has been written to the on-disk journal"
"description": "Request acknowledgment that the write operation has been written to the on-disk journal.",
"deprecated": "Will be removed in the next major version. Please use journal."
},
"fsync": {
"anyOf": [
Expand All @@ -108,7 +118,8 @@
"const": 1
}
],
"description": "equivalent to the j option"
"description": "Equivalent to the j option.",
"deprecated": "Will be removed in the next major version. Please use journal."
}
},
"description": "A MongoDB WriteConcern, which describes the level of acknowledgement requested from MongoDB for write operations."
Expand All @@ -130,11 +141,13 @@
},
"j": {
"type": "boolean",
"description": "The journal write concern"
"description": "The journal write concern.",
"deprecated": "Will be removed in the next major version. Please use the journal option."
},
"wtimeout": {
"type": "number",
"description": "The write concern timeout"
"description": "The write concern timeout.",
"deprecated": "Will be removed in the next major version. Please use the wtimeoutMS option."
},
"fsync": {
"anyOf": [
Expand All @@ -146,7 +159,8 @@
"const": 1
}
],
"description": "The file sync write concern"
"description": "The file sync write concern.",
"deprecated": "Will be removed in the next major version. Please use the journal option."
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions sample-app/webda.module.json
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@
"description": "URL on which to serve the content"
},
"introspection": {
"$ref": "#/definitions/Partial%3Cclass-178760925-1801-2285-178760925-0-8095976353190%3E"
"$ref": "#/definitions/Partial%3Cclass-178760925-2914-3398-178760925-0-9208976353190%3E"
},
"openapi": {
"type": "object",
Expand All @@ -1087,7 +1087,7 @@
],
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Partial<class-178760925-1801-2285-178760925-0-8095976353190>": {
"Partial<class-178760925-2914-3398-178760925-0-9208976353190>": {
"type": "object",
"properties": {
"type": {
Expand Down

0 comments on commit d6f48f5

Please sign in to comment.