/** * Types for the AI Assistant feature. */ import type { TierProp, UpgradeTypeProp } from './store/wordpress-com/types'; /* * `sites/$site/ai-assistant-feature` endpoint response body props */ export type SiteAIAssistantFeatureEndpointResponseProps = { 'is-enabled': boolean; 'has-feature': boolean; 'is-over-limit': boolean; 'requests-count': number; 'requests-limit': number; 'usage-period': { 'current-start': string; 'next-start': string; 'requests-count': number; }; 'site-require-upgrade': boolean; 'error-message'?: string; 'error-code'?: string; 'is-playground-visible'?: boolean; 'upgrade-type': UpgradeTypeProp; 'current-tier': TierProp; 'tier-plans': Array< TierProp >; 'next-tier'?: TierProp | null; };
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
blocks | Folder | 0755 |
|
|
extended-blocks | Folder | 0755 |
|
|
plugins | Folder | 0755 |
|
|
shared | Folder | 0755 |
|
|
store | Folder | 0755 |
|
|
global.d.ts | File | 1.94 KB | 0644 |
|
types.ts | File | 743 B | 0644 |
|