From 991fd2d20428000eeafdefb4ef5a3e1f8eb44284 Mon Sep 17 00:00:00 2001 From: Christopher Hawke <69921547+cdhawke@users.noreply.github.com> Date: Fri, 31 Mar 2023 08:45:55 -0400 Subject: [PATCH] feat: updat ab test typing --- .../client-analytics/src/types/GetABTestsOptions.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/client-analytics/src/types/GetABTestsOptions.ts b/packages/client-analytics/src/types/GetABTestsOptions.ts index 1b80b5b38..85a32f8ba 100644 --- a/packages/client-analytics/src/types/GetABTestsOptions.ts +++ b/packages/client-analytics/src/types/GetABTestsOptions.ts @@ -8,4 +8,16 @@ export type GetABTestsOptions = { * The limit of the number of ab tests returned. */ readonly limit?: number; + + /** + * Filters the returned ab tests by any indices starting with the + * provided prefix that are assigned to either variant of an ab test. + */ + readonly indexPrefix?: string; + + /** + * Filters the returned ab tests by any indices ending with the + * provided suffix that are assigned to either variant of an ab test. + */ + readonly indexSuffix?: string; };