Skip to content

Commit

Permalink
feat: automated TS Serving API update
Browse files Browse the repository at this point in the history
  • Loading branch information
clllaur authored and Convert Bot committed Apr 1, 2024
1 parent ca812b0 commit 5ae249e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/types/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export type { ClicksElementGoalSettings } from './models/ClicksElementGoalSettin
export { ClicksLinkGoal } from './models/ClicksLinkGoal';
export type { ClicksLinkGoalSettings } from './models/ClicksLinkGoalSettings';
export type { ConfigAudience } from './models/ConfigAudience';
export { ConfigAudienceTypes } from './models/ConfigAudienceTypes';
export type { ConfigExperience } from './models/ConfigExperience';
export type { ConfigFeature } from './models/ConfigFeature';
export type { ConfigGoal } from './models/ConfigGoal';
Expand Down
2 changes: 2 additions & 0 deletions packages/types/src/config/models/ConfigAudience.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ConfigAudienceTypes } from './ConfigAudienceTypes';
import type { RuleObject } from './RuleObject';
/**
* Base Audience object
Expand All @@ -19,6 +20,7 @@ export type ConfigAudience = {
* Audience Name
*/
name?: string;
type?: ConfigAudienceTypes;
rules?: RuleObject | null;
};

14 changes: 14 additions & 0 deletions packages/types/src/config/models/ConfigAudienceTypes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Type of the Audience. Can be one of the following: `permanent`, `transient`. For full-stack projects, `transient` is the only valid option, the rest will be ignored.
* * **permanent** - A permanent audience is one that is checked only at the time the user is being bucketed into the experience
* * **transient** - A transient audience is one that is checked every time the user is being bucketed into the experience
*
*/
export enum ConfigAudienceTypes {
PERMANENT = 'permanent',
TRANSIENT = 'transient',
}

0 comments on commit 5ae249e

Please sign in to comment.