Skip to content

Commit

Permalink
fix: remove ReadStream since ReadableStream is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
evanshortiss committed Jun 13, 2019
1 parent 6dec631 commit b9f8c73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions visual-recognition/v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ class VisualRecognitionV3 extends BaseService {
*
* @param {Object} params - The parameters to send to the service.
* @param {string} params.classifier_id - The ID of the classifier.
* @param {Record<string, NodeJS.ReadableStream|NodeJS.ReadStream|FileObject|Buffer>} [params.positive_examples] - A dictionary that
* @param {Record<string, NodeJS.ReadableStream|FileObject|Buffer>} [params.positive_examples] - A dictionary that
* contains the value for each classname. The value is a .zip file of images that depict the visual subject of a class
* in the classifier. The positive examples create or update classes in the classifier. You can include more than one
* positive example file in a call.
Expand All @@ -494,7 +494,7 @@ class VisualRecognitionV3 extends BaseService {
* maximum number of images is 10,000 images or 100 MB per .zip file.
*
* Encode special characters in the file name in UTF-8.
* @param {NodeJS.ReadableStream|NodeJS.ReadStream|FileObject|Buffer} [params.negative_examples] - A .zip file of images that do not
* @param {NodeJS.ReadableStream|FileObject|Buffer} [params.negative_examples] - A .zip file of images that do not
* depict the visual subject of any of the classes of the new classifier. Must contain a minimum of 10 images.
*
* Encode special characters in the file name in UTF-8.
Expand Down Expand Up @@ -848,9 +848,9 @@ namespace VisualRecognitionV3 {
/** The ID of the classifier. */
classifier_id: string;
/** A dictionary that contains the value for each classname. The value is a .zip file of images that depict the visual subject of a class in the classifier. The positive examples create or update classes in the classifier. You can include more than one positive example file in a call. Specify the parameter name by appending `_positive_examples` to the class name. For example, `goldenretriever_positive_examples` creates the class `goldenretriever`. Include at least 10 images in .jpg or .png format. The minimum recommended image resolution is 32X32 pixels. The maximum number of images is 10,000 images or 100 MB per .zip file. Encode special characters in the file name in UTF-8. */
positive_examples?: Record<string, NodeJS.ReadableStream|NodeJS.ReadStream|FileObject|Buffer>;
positive_examples?: Record<string, NodeJS.ReadableStream|FileObject|Buffer>;
/** A .zip file of images that do not depict the visual subject of any of the classes of the new classifier. Must contain a minimum of 10 images. Encode special characters in the file name in UTF-8. */
negative_examples?: NodeJS.ReadableStream|NodeJS.ReadStream|FileObject|Buffer;
negative_examples?: NodeJS.ReadableStream|FileObject|Buffer;
/** The filename for negative_examples. */
negative_examples_filename?: string;
headers?: OutgoingHttpHeaders;
Expand Down

0 comments on commit b9f8c73

Please sign in to comment.