Skip to content

Commit

Permalink
Generated from 0cef2eebc5238a96f84b4593376716d26cd26c0a (#792)
Browse files Browse the repository at this point in the history
typo: cognitiveservices/data-plane/Face

- persisited -> persisted
  • Loading branch information
AutorestCI authored Dec 8, 2018
1 parent dc5f60e commit 848d3fd
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 15 deletions.
8 changes: 4 additions & 4 deletions packages/@azure/cognitiveservices-face/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This package contains an isomorphic SDK for FaceClient.

### How to Install

```
```bash
npm install @azure/cognitiveservices-face
```

Expand All @@ -19,13 +19,13 @@ npm install @azure/cognitiveservices-face

##### Install @azure/ms-rest-nodeauth

```
```bash
npm install @azure/ms-rest-nodeauth
```

##### Sample code

```ts
```typescript
import * as msRest from "@azure/ms-rest-js";
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
import { FaceClient, FaceModels, FaceMappers } from "@azure/cognitiveservices-face";
Expand All @@ -49,7 +49,7 @@ msRestNodeAuth.interactiveLogin().then((creds) => {

##### Install @azure/ms-rest-browserauth

```
```bash
npm install @azure/ms-rest-browserauth
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export class FaceListOperations {
}

/**
* Delete an existing face from a face list (given by a persisitedFaceId and a faceListId).
* Delete an existing face from a face list (given by a persistedFaceId and a faceListId).
* Persisted image related to the face will also be deleted.
* @param faceListId Id referencing a particular face list.
* @param persistedFaceId Id referencing a particular persistedFaceId of an existing face.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export class LargeFaceListOperations {
}

/**
* Delete an existing face from a large face list (given by a persisitedFaceId and a
* Delete an existing face from a large face list (given by a persistedFaceId and a
* largeFaceListId). Persisted image related to the face will also be deleted.
* @param largeFaceListId Id referencing a particular large face list.
* @param persistedFaceId Id referencing a particular persistedFaceId of an existing face.
Expand Down
3 changes: 2 additions & 1 deletion packages/@azure/cognitiveservices-face/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "FaceClient Library with typescript type definitions for node.js and browser.",
"version": "0.1.0",
"dependencies": {
"@azure/ms-rest-js": "^1.1.0",
"@azure/ms-rest-js": "^1.2.0",
"tslib": "^1.9.3"
},
"keywords": [
Expand All @@ -22,6 +22,7 @@
"typescript": "^3.1.1",
"rollup": "^0.66.2",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.4.9"
},
"homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/packages/@azure/cognitiveservices-face",
Expand Down
22 changes: 14 additions & 8 deletions packages/@azure/cognitiveservices-face/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
import rollup from "rollup";
import nodeResolve from "rollup-plugin-node-resolve";
import sourcemaps from "rollup-plugin-sourcemaps";

/**
* @type {import('rollup').RollupFileOptions}
* @type {rollup.RollupFileOptions}
*/
const config = {
input: './esm/faceClient.js',
external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"],
input: "./esm/faceClient.js",
external: [
"@azure/ms-rest-js",
"@azure/ms-rest-azure-js"
],
output: {
file: "./dist/cognitiveservices-face.js",
format: "umd",
Expand All @@ -16,16 +22,16 @@ const config = {
},
banner: `/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/`
},
plugins: [
nodeResolve({ module: true })
nodeResolve({ module: true }),
sourcemaps()
]
};

export default config;

0 comments on commit 848d3fd

Please sign in to comment.