diff options
Diffstat (limited to 'packages/shared/src/schemas')
-rw-r--r-- | packages/shared/src/schemas/ServiceAction.ts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/shared/src/schemas/ServiceAction.ts b/packages/shared/src/schemas/ServiceAction.ts index da0b96b..cfaba08 100644 --- a/packages/shared/src/schemas/ServiceAction.ts +++ b/packages/shared/src/schemas/ServiceAction.ts | |||
@@ -49,6 +49,24 @@ export const ServiceAction = /* @__PURE__ */ (() => | |||
49 | z.object({ | 49 | z.object({ |
50 | action: z.literal('open-current-url-in-external-browser'), | 50 | action: z.literal('open-current-url-in-external-browser'), |
51 | }), | 51 | }), |
52 | z.object({ | ||
53 | action: z.literal('follow-popup'), | ||
54 | url: z.string(), | ||
55 | }), | ||
56 | z.object({ | ||
57 | action: z.literal('open-popup-in-external-browser'), | ||
58 | url: z.string(), | ||
59 | }), | ||
60 | z.object({ | ||
61 | action: z.literal('open-all-popups-in-external-browser'), | ||
62 | }), | ||
63 | z.object({ | ||
64 | action: z.literal('dismiss-popup'), | ||
65 | url: z.string(), | ||
66 | }), | ||
67 | z.object({ | ||
68 | action: z.literal('dismiss-all-popups'), | ||
69 | }), | ||
52 | ]))(); | 70 | ]))(); |
53 | 71 | ||
54 | /* | 72 | /* |