PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 13.6
Jetpack – WP Security, Backup, Speed, & Growth v13.6
16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 All 501 releases
jetpack / extensions / types.ts

types.ts in Jetpack – WP Security, Backup, Speed, & Growth 13.6, at extensions/types.ts

33 lines 776 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Types for the AI Assistant feature.
3 */
4 import type { TierProp, UpgradeTypeProp } from './store/wordpress-com/types';
5
6 /*
7 * `sites/$site/ai-assistant-feature` endpoint response body props
8 */
9 export type SiteAIAssistantFeatureEndpointResponseProps = {
10 'is-enabled': boolean;
11 'has-feature': boolean;
12 'is-over-limit': boolean;
13 'requests-count': number;
14 'requests-limit': number;
15 'usage-period': {
16 'current-start': string;
17 'next-start': string;
18 'requests-count': number;
19 };
20 'site-require-upgrade': boolean;
21 'error-message'?: string;
22 'error-code'?: string;
23 'upgrade-type': UpgradeTypeProp;
24 'current-tier': TierProp;
25 'tier-plans': Array< TierProp >;
26 'next-tier'?: TierProp | null;
27 costs?: {
28 [ key: string ]: {
29 [ key: string ]: number;
30 };
31 };
32 };
33