@aws-amplify/data-schema
Advanced tools
Comparing version 0.0.0-ai-20240816172312 to 0.0.0-ai-20240819181254
@@ -1,4 +0,10 @@ | ||
import type { DocumentType } from '../../runtime/bridge-types'; | ||
import type { JSONSchema4 } from 'json-schema'; | ||
interface ObjectTypedJSONSchema4 extends JSONSchema4 { | ||
type: 'object'; | ||
} | ||
interface ToolJsonInputSchema { | ||
json: DocumentType; | ||
/** | ||
* The schema for the tool. The top level schema type must be object. | ||
*/ | ||
json: ObjectTypedJSONSchema4; | ||
} | ||
@@ -5,0 +11,0 @@ export interface Tool { |
{ | ||
"name": "@aws-amplify/data-schema", | ||
"version": "0.0.0-ai-20240816172312", | ||
"version": "0.0.0-ai-20240819181254", | ||
"license": "Apache-2.0", | ||
@@ -63,2 +63,3 @@ "repository": { | ||
"@types/jest": "29.5.4", | ||
"@types/json-schema": "^7.0.15", | ||
"jest": "^29.7.0", | ||
@@ -65,0 +66,0 @@ "jest-tsd": "^0.2.2", |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
import type { DocumentType } from '../../runtime/bridge-types'; | ||
import type { JSONSchema4 } from 'json-schema'; | ||
interface ObjectTypedJSONSchema4 extends JSONSchema4 { | ||
type: 'object'; | ||
} | ||
interface ToolJsonInputSchema { | ||
json: DocumentType; | ||
/** | ||
* The schema for the tool. The top level schema type must be object. | ||
*/ | ||
json: ObjectTypedJSONSchema4; | ||
} | ||
@@ -9,0 +16,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2034387
27872
12