alice-types
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "alice-types", | ||
"description": "Types for Yandex Alice", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"types": "src/index.d.ts", | ||
@@ -6,0 +6,0 @@ "files": [ |
export * from './request'; | ||
export * from './response'; | ||
export * from './nlu'; | ||
export * from './images'; |
// See: https://yandex.ru/dev/dialogs/alice/doc/protocol.html#request | ||
import { Nlu } from './nlu'; | ||
export * from './nlu'; | ||
@@ -50,5 +51,5 @@ export interface ReqBody { | ||
export interface State { | ||
session?: unknown; | ||
application?: unknown; | ||
user?: unknown; | ||
session?: Record<string, unknown>; | ||
application?: Record<string, unknown>; | ||
user?: Record<string, unknown>; | ||
} |
// See: https://yandex.ru/dev/dialogs/alice/doc/protocol.html#response | ||
import { Card } from './images'; | ||
export * from './images'; | ||
@@ -9,5 +10,5 @@ export interface ResBody { | ||
analytics?: Analytics; | ||
session_state?: unknown; | ||
application_state?: unknown; | ||
user_state_update?: unknown; | ||
session_state?: Record<string, unknown>; | ||
application_state?: Record<string, unknown>; | ||
user_state_update?: Record<string, unknown>; | ||
} | ||
@@ -14,0 +15,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5051
0