mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-09-24 16:59:10 +00:00
feat(ai): Deprecate Google Maps Grounding enableWidget (#10035)
### Discussion Marks the `enableWidget` field of the `GoogleMaps` interface as deprecated. ### Testing None. ### API Changes See `Discussion` above.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@firebase/ai': patch
|
||||
---
|
||||
|
||||
Deprecated `GoogleMaps.enableWidget`, following the announcement by the Grounding for Google Maps service.
|
||||
@@ -699,7 +699,7 @@ export interface GoogleAIGenerateContentResponse {
|
||||
|
||||
// @public
|
||||
export interface GoogleMaps {
|
||||
// (undocumented)
|
||||
// @deprecated (undocumented)
|
||||
enableWidget?: boolean;
|
||||
}
|
||||
|
||||
|
||||
@@ -26,6 +26,13 @@ export interface GoogleMaps
|
||||
|
||||
## GoogleMaps.enableWidget
|
||||
|
||||
> Warning: This API is now obsolete.
|
||||
>
|
||||
> The `enableWidget` feature has been deprecated by the Grounding for Google Maps service.
|
||||
>
|
||||
> If true, include the widget context token in the response.
|
||||
>
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
```typescript
|
||||
|
||||
@@ -556,8 +556,11 @@ export interface GoogleSearch {}
|
||||
* @public
|
||||
*/
|
||||
export interface GoogleMaps {
|
||||
/*
|
||||
* If true, include the widget context token in the response.
|
||||
/**
|
||||
* @deprecated The `enableWidget` feature has been deprecated by the Grounding for Google Maps
|
||||
* service.
|
||||
*
|
||||
* If true, include the widget context token in the response.
|
||||
*/
|
||||
enableWidget?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user