@lensmcp/protocol-types 1.22.4 → 1.22.5
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/lib/attributes.d.ts +2 -2
- package/lib/context.d.ts +8 -0
- package/lib/context.js +1 -1
- package/lib/event.d.ts +5 -0
- package/lib/node.d.ts +5 -0
- package/package.json +1 -1
package/lib/attributes.d.ts
CHANGED
|
@@ -186,8 +186,8 @@ export declare const RectSchema: z.ZodObject<{
|
|
|
186
186
|
export type Rect = z.infer<typeof RectSchema>;
|
|
187
187
|
export declare const VisualFrameCauseSchema: z.ZodEnum<{
|
|
188
188
|
"hmr-update": "hmr-update";
|
|
189
|
-
"state-update": "state-update";
|
|
190
189
|
"page-load": "page-load";
|
|
190
|
+
"state-update": "state-update";
|
|
191
191
|
"route-change": "route-change";
|
|
192
192
|
"user-action": "user-action";
|
|
193
193
|
"react-commit": "react-commit";
|
|
@@ -204,8 +204,8 @@ export type VisualChangeKind = z.infer<typeof VisualChangeKindSchema>;
|
|
|
204
204
|
export declare const VisualFrameAttrsSchema: z.ZodObject<{
|
|
205
205
|
causedBy: z.ZodEnum<{
|
|
206
206
|
"hmr-update": "hmr-update";
|
|
207
|
-
"state-update": "state-update";
|
|
208
207
|
"page-load": "page-load";
|
|
208
|
+
"state-update": "state-update";
|
|
209
209
|
"route-change": "route-change";
|
|
210
210
|
"user-action": "user-action";
|
|
211
211
|
"react-commit": "react-commit";
|
package/lib/context.d.ts
CHANGED
|
@@ -22,6 +22,9 @@ export declare const FlowOriginTypeSchema: z.ZodEnum<{
|
|
|
22
22
|
"backend-response": "backend-response";
|
|
23
23
|
"hmr-update": "hmr-update";
|
|
24
24
|
"ai-turn": "ai-turn";
|
|
25
|
+
"page-load": "page-load";
|
|
26
|
+
"form-submit": "form-submit";
|
|
27
|
+
"input-change": "input-change";
|
|
25
28
|
}>;
|
|
26
29
|
export type FlowOriginType = z.infer<typeof FlowOriginTypeSchema>;
|
|
27
30
|
export declare const TraceContextSchema: z.ZodObject<{
|
|
@@ -55,11 +58,16 @@ export declare const TraceContextSchema: z.ZodObject<{
|
|
|
55
58
|
"backend-response": "backend-response";
|
|
56
59
|
"hmr-update": "hmr-update";
|
|
57
60
|
"ai-turn": "ai-turn";
|
|
61
|
+
"page-load": "page-load";
|
|
62
|
+
"form-submit": "form-submit";
|
|
63
|
+
"input-change": "input-change";
|
|
58
64
|
}>>;
|
|
59
65
|
originNodeId: z.ZodOptional<z.ZodString>;
|
|
60
66
|
causedByNodeId: z.ZodOptional<z.ZodString>;
|
|
61
67
|
requestId: z.ZodOptional<z.ZodString>;
|
|
68
|
+
parentRequestId: z.ZodOptional<z.ZodString>;
|
|
62
69
|
traceparent: z.ZodOptional<z.ZodString>;
|
|
70
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
63
71
|
userActionId: z.ZodOptional<z.ZodString>;
|
|
64
72
|
userIdHash: z.ZodOptional<z.ZodString>;
|
|
65
73
|
tenantIdHash: z.ZodOptional<z.ZodString>;
|
package/lib/context.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{z as e}from"zod";export const FlowOriginTypeSchema=e.enum(["user-click","user-input","keyboard","route-load","effect","memo-recompute","timer","raf","idle-callback","websocket-message","broadcast-channel","post-message","storage-event","service-worker-message","media-query-change","visibility-change","resize","intersection-observer","mutation-observer","backend-response","hmr-update","ai-turn"]),TraceContextSchema=e.object({sessionId:e.string(),browserContextId:e.string().optional(),tabId:e.string().optional(),frameId:e.string().optional(),route:e.string().optional(),url:e.string().optional(),flowId:e.string().optional(),originType:FlowOriginTypeSchema.optional(),originNodeId:e.string().optional(),causedByNodeId:e.string().optional(),requestId:e.string().optional(),traceparent:e.string().optional(),userActionId:e.string().optional(),userIdHash:e.string().optional(),tenantIdHash:e.string().optional()});
|
|
1
|
+
"use strict";import{z as e}from"zod";export const FlowOriginTypeSchema=e.enum(["user-click","user-input","keyboard","route-load","effect","memo-recompute","timer","raf","idle-callback","websocket-message","broadcast-channel","post-message","storage-event","service-worker-message","media-query-change","visibility-change","resize","intersection-observer","mutation-observer","backend-response","hmr-update","ai-turn","page-load","form-submit","input-change"]),TraceContextSchema=e.object({sessionId:e.string(),browserContextId:e.string().optional(),tabId:e.string().optional(),frameId:e.string().optional(),route:e.string().optional(),url:e.string().optional(),flowId:e.string().optional(),originType:FlowOriginTypeSchema.optional(),originNodeId:e.string().optional(),causedByNodeId:e.string().optional(),requestId:e.string().optional(),parentRequestId:e.string().optional(),traceparent:e.string().optional(),projectName:e.string().optional(),userActionId:e.string().optional(),userIdHash:e.string().optional(),tenantIdHash:e.string().optional()});
|
package/lib/event.d.ts
CHANGED
|
@@ -137,11 +137,16 @@ export declare const BaseEventSchema: z.ZodObject<{
|
|
|
137
137
|
"backend-response": "backend-response";
|
|
138
138
|
"hmr-update": "hmr-update";
|
|
139
139
|
"ai-turn": "ai-turn";
|
|
140
|
+
"page-load": "page-load";
|
|
141
|
+
"form-submit": "form-submit";
|
|
142
|
+
"input-change": "input-change";
|
|
140
143
|
}>>;
|
|
141
144
|
originNodeId: z.ZodOptional<z.ZodString>;
|
|
142
145
|
causedByNodeId: z.ZodOptional<z.ZodString>;
|
|
143
146
|
requestId: z.ZodOptional<z.ZodString>;
|
|
147
|
+
parentRequestId: z.ZodOptional<z.ZodString>;
|
|
144
148
|
traceparent: z.ZodOptional<z.ZodString>;
|
|
149
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
145
150
|
userActionId: z.ZodOptional<z.ZodString>;
|
|
146
151
|
userIdHash: z.ZodOptional<z.ZodString>;
|
|
147
152
|
tenantIdHash: z.ZodOptional<z.ZodString>;
|
package/lib/node.d.ts
CHANGED
|
@@ -178,11 +178,16 @@ export declare const TraceNodeSchema: z.ZodObject<{
|
|
|
178
178
|
"backend-response": "backend-response";
|
|
179
179
|
"hmr-update": "hmr-update";
|
|
180
180
|
"ai-turn": "ai-turn";
|
|
181
|
+
"page-load": "page-load";
|
|
182
|
+
"form-submit": "form-submit";
|
|
183
|
+
"input-change": "input-change";
|
|
181
184
|
}>>;
|
|
182
185
|
originNodeId: z.ZodOptional<z.ZodString>;
|
|
183
186
|
causedByNodeId: z.ZodOptional<z.ZodString>;
|
|
184
187
|
requestId: z.ZodOptional<z.ZodString>;
|
|
188
|
+
parentRequestId: z.ZodOptional<z.ZodString>;
|
|
185
189
|
traceparent: z.ZodOptional<z.ZodString>;
|
|
190
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
186
191
|
userActionId: z.ZodOptional<z.ZodString>;
|
|
187
192
|
userIdHash: z.ZodOptional<z.ZodString>;
|
|
188
193
|
tenantIdHash: z.ZodOptional<z.ZodString>;
|