| 1 |
/** |
| 2 |
* Types for the AI Assistant feature. |
| 3 |
*/ |
| 4 |
import { UpgradeTypeProp } from './blocks/ai-assistant/hooks/use-ai-feature'; |
| 5 |
|
| 6 |
/* |
| 7 |
* `sites/$site/ai-assistant-feature` endpoint response body props |
| 8 |
*/ |
| 9 |
export type SiteAIAssistantFeatureEndpointResponseProps = { |
| 10 |
'has-feature': boolean; |
| 11 |
'is-over-limit': boolean; |
| 12 |
'requests-count': number; |
| 13 |
'requests-limit': number; |
| 14 |
'site-require-upgrade': boolean; |
| 15 |
'error-message': string; |
| 16 |
'error-code': string; |
| 17 |
'is-playground-visible': boolean; |
| 18 |
'upgrade-type': UpgradeTypeProp; |
| 19 |
}; |
| 20 |
|