@mongodb-js/mongodb-constants
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -319,4 +319,4 @@ declare const STAGE_OPERATORS: readonly [{ | ||
readonly description: "Writes the result of a pipeline to an Atlas cluster or S3 bucket."; | ||
readonly comment: "/**\n * s3Url: A S3 URL to save the data.\n * atlas: Parameters to save to Atlas.\n */\n"; | ||
readonly snippet: "{\n s3: '${1:s3url}',\n atlas: {\n db: '${2:db}',\n coll: '${3:coll}',\n projectId: '${4:projectId}',\n clusterName: '${5:clusterName}'\n }\n}"; | ||
readonly comment: "/**\n * Use any one of the following:\n * s3: Parameters to save the data to S3.\n * atlas: Parameters to save the data to Atlas. Example:\n * {\n * atlas: {\n * db: 'string',\n * coll: 'string',\n * projectId: 'string',\n * clusterName: 'string'\n * }\n * }\n */\n"; | ||
readonly snippet: "{\n s3: {\n bucket: '${1:string}',\n region: '${2:string}',\n filename: '${3:string}',\n format: {\n name: '${4:string}',\n maxFileSize: '${5:bytes}',\n maxRowGroupSize: '${6:string}',\n columnCompression: '${7:string}'\n },\n errorMode: '${8:string}'\n }\n}"; | ||
}, { | ||
@@ -626,4 +626,4 @@ readonly name: "$project"; | ||
readonly description: "Writes the result of a pipeline to an Atlas cluster or S3 bucket."; | ||
readonly comment: "/**\n * s3Url: A S3 URL to save the data.\n * atlas: Parameters to save to Atlas.\n */\n"; | ||
readonly snippet: "{\n s3: '${1:s3url}',\n atlas: {\n db: '${2:db}',\n coll: '${3:coll}',\n projectId: '${4:projectId}',\n clusterName: '${5:clusterName}'\n }\n}"; | ||
readonly comment: "/**\n * Use any one of the following:\n * s3: Parameters to save the data to S3.\n * atlas: Parameters to save the data to Atlas. Example:\n * {\n * atlas: {\n * db: 'string',\n * coll: 'string',\n * projectId: 'string',\n * clusterName: 'string'\n * }\n * }\n */\n"; | ||
readonly snippet: "{\n s3: {\n bucket: '${1:string}',\n region: '${2:string}',\n filename: '${3:string}',\n format: {\n name: '${4:string}',\n maxFileSize: '${5:bytes}',\n maxRowGroupSize: '${6:string}',\n columnCompression: '${7:string}'\n },\n errorMode: '${8:string}'\n }\n}"; | ||
})[]; | ||
@@ -630,0 +630,0 @@ declare const FULL_SCAN_STAGES: ({ |
@@ -542,13 +542,27 @@ "use strict"; | ||
comment: `/** | ||
* s3Url: A S3 URL to save the data. | ||
* atlas: Parameters to save to Atlas. | ||
* Use any one of the following: | ||
* s3: Parameters to save the data to S3. | ||
* atlas: Parameters to save the data to Atlas. Example: | ||
* { | ||
* atlas: { | ||
* db: 'string', | ||
* coll: 'string', | ||
* projectId: 'string', | ||
* clusterName: 'string' | ||
* } | ||
* } | ||
*/ | ||
`, | ||
snippet: `{ | ||
s3: '\${1:s3url}', | ||
atlas: { | ||
db: '\${2:db}', | ||
coll: '\${3:coll}', | ||
projectId: '\${4:projectId}', | ||
clusterName: '\${5:clusterName}' | ||
s3: { | ||
bucket: '\${1:string}', | ||
region: '\${2:string}', | ||
filename: '\${3:string}', | ||
format: { | ||
name: '\${4:string}', | ||
maxFileSize: '\${5:bytes}', | ||
maxRowGroupSize: '\${6:string}', | ||
columnCompression: '\${7:string}' | ||
}, | ||
errorMode: '\${8:string}' | ||
} | ||
@@ -555,0 +569,0 @@ }`, |
@@ -16,3 +16,3 @@ { | ||
"homepage": "https://github.com/mongodb-js/devtools-shared", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"repository": { | ||
@@ -68,3 +68,3 @@ "type": "git", | ||
}, | ||
"gitHead": "3f3515ddadb8d181ec48639c28f3341b2f9b8a76" | ||
"gitHead": "9ca02cb413d697020b44053a8aacd062fcec65a1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
223288
5303