@codecademy/tracking 1.3.0 → 1.4.0-alpha.334191b9b7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -181,6 +181,11 @@ export type UserClickData = UserSharedData & {
181
181
  assessment_id?: string;
182
182
  container_slugs?: string[];
183
183
  search_id?: string;
184
+ /** additional ai builder properties */
185
+ project_id?: string;
186
+ milestone_id?: string;
187
+ task_id?: string;
188
+ question_set_id?: string;
184
189
  business_user?: BaseEventAnyData;
185
190
  };
186
191
  /**
@@ -209,11 +214,18 @@ export type UserVisitData = UserSharedData & {
209
214
  story_slug?: string;
210
215
  unit?: string;
211
216
  lesson?: string;
217
+ /** additional ai builder properties */
218
+ project_id?: string;
212
219
  };
213
220
  export type UserImpressionData = Pick<UserSharedData, 'context' | 'source_codebase' | 'content_ids' | 'misc'> & {
214
221
  page_name: string;
215
222
  target: string;
216
223
  slug?: string;
224
+ /** additional ai builder properties */
225
+ project_id?: string;
226
+ milestone_id?: string;
227
+ task_id?: string;
228
+ question_set_id?: string;
217
229
  };
218
230
  export type EventAnswerData = BaseEventData & {
219
231
  question_index: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codecademy/tracking",
3
3
  "description": "Tracking library for Codecademy",
4
- "version": "1.3.0",
4
+ "version": "1.4.0-alpha.334191b9b7.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@qwik.dev/partytown": "0.11.0"