@builder.io/ai-utils 0.24.0 → 0.25.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/package.json +1 -1
- package/src/events.d.ts +15 -6
- package/src/events.js +4 -0
package/package.json
CHANGED
package/src/events.d.ts
CHANGED
|
@@ -424,12 +424,13 @@ export interface BaseFusionEvent<ExtraData extends Record<string, unknown> = {},
|
|
|
424
424
|
data: {
|
|
425
425
|
eventId: string;
|
|
426
426
|
ownerId: string;
|
|
427
|
-
userId: string | undefined;
|
|
428
|
-
source: string;
|
|
429
|
-
tags: string[];
|
|
430
|
-
audience: string;
|
|
431
|
-
private: boolean;
|
|
432
427
|
timestamp: number;
|
|
428
|
+
correlationId?: string;
|
|
429
|
+
userId?: string;
|
|
430
|
+
source?: string;
|
|
431
|
+
tags?: string[];
|
|
432
|
+
audience?: string;
|
|
433
|
+
private?: boolean;
|
|
433
434
|
} & ExtraData;
|
|
434
435
|
attributes: {
|
|
435
436
|
eventName: string;
|
|
@@ -473,5 +474,13 @@ export declare const GitPrCreatedEvent: {
|
|
|
473
474
|
eventName: "git.pr.created";
|
|
474
475
|
version: "1";
|
|
475
476
|
};
|
|
476
|
-
export type
|
|
477
|
+
export type ClientDevtoolsSessionStartedEvent = FusionEventVariant<"client.devtools.session.started", {
|
|
478
|
+
sessionType?: string;
|
|
479
|
+
platform?: string;
|
|
480
|
+
}, {}, 1>;
|
|
481
|
+
export declare const ClientDevtoolsSessionStartedEvent: {
|
|
482
|
+
eventName: "client.devtools.session.started";
|
|
483
|
+
version: "1";
|
|
484
|
+
};
|
|
485
|
+
export type FusionEvent = AiTaskCompletedEvent | AiTaskFailedEvent | GitPrCreatedEvent | ClientDevtoolsSessionStartedEvent;
|
|
477
486
|
export {};
|