@codecademy/tracking 1.3.0 → 1.4.0-alpha.3276d19d22.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.
- package/dist/events/types.d.ts +12 -0
- package/package.json +1 -1
package/dist/events/types.d.ts
CHANGED
|
@@ -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