From 34bd4b15dfed0e9201b0d8fd766a27788b6d9cfd Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Wed, 12 Oct 2022 11:38:16 +0100 Subject: [PATCH] Improve documentation on quota.triggers[] --- packages/types/src/sdk/licensing/quota.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/types/src/sdk/licensing/quota.ts b/packages/types/src/sdk/licensing/quota.ts index 6e58734925..74777d4590 100644 --- a/packages/types/src/sdk/licensing/quota.ts +++ b/packages/types/src/sdk/licensing/quota.ts @@ -89,5 +89,12 @@ export type Quotas = { export interface Quota { name: string value: number + /** + * Array of whole numbers (1-100) that dictate the percentage that this quota should trigger + * at in relation to the corresponding usage inside budibase. + * + * Triggering results in a budibase installation sending a request to account-portal, + * which can have subsequent effects such as sending emails to users. + */ triggers: number[] }