@azure-rest/ai-content-safety 1.0.2-alpha.20250611.1 → 1.0.2-alpha.20250616.2
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/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@azure-rest/ai-content-safety",
|
|
3
3
|
"sdk-type": "client",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
|
-
"version": "1.0.2-alpha.
|
|
5
|
+
"version": "1.0.2-alpha.20250616.2",
|
|
6
6
|
"description": "ContentSafety Service",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"node",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"CHANGELOG.md"
|
|
29
29
|
],
|
|
30
30
|
"engines": {
|
|
31
|
-
"node": ">=
|
|
31
|
+
"node": ">=20.0.0"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
|
67
67
|
"@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
|
|
68
68
|
"@azure/identity": "^4.0.1",
|
|
69
|
-
"@types/node": "^
|
|
69
|
+
"@types/node": "^20.0.0",
|
|
70
70
|
"@vitest/browser": "^3.0.9",
|
|
71
71
|
"@vitest/coverage-istanbul": "^3.0.9",
|
|
72
72
|
"autorest": "latest",
|
|
@@ -97,7 +97,7 @@ export interface AnalyzeImageDefaultResponse extends HttpResponse {
|
|
|
97
97
|
// @public
|
|
98
98
|
export interface AnalyzeImageOptions {
|
|
99
99
|
categories?: ImageCategory[];
|
|
100
|
-
image:
|
|
100
|
+
image: ImageData;
|
|
101
101
|
outputType?: AnalyzeImageOutputType;
|
|
102
102
|
}
|
|
103
103
|
|
|
@@ -334,11 +334,10 @@ export type ImageCategory = string;
|
|
|
334
334
|
export type ImageCategoryOutput = string;
|
|
335
335
|
|
|
336
336
|
// @public
|
|
337
|
-
interface
|
|
337
|
+
export interface ImageData {
|
|
338
338
|
blobUrl?: string;
|
|
339
339
|
content?: string;
|
|
340
340
|
}
|
|
341
|
-
export { ImageData_2 as ImageData }
|
|
342
341
|
|
|
343
342
|
// @public (undocumented)
|
|
344
343
|
export function isUnexpected(response: AnalyzeImage200Response | AnalyzeImageDefaultResponse): response is AnalyzeImageDefaultResponse;
|