File size: 291 Bytes
4e23b01
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import { z } from 'zod';

import { globalMessageBase } from './base';

export const pluginMessageSchema = z.object({
  type: z.literal('plugin'),
  ...globalMessageBase,
});

export type PluginChanged = z.infer<typeof pluginMessageSchema>;

export type PluginChangedMessage = PluginChanged;