Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

291 B
Raw Blame
import type { z } from 'zod';

export type Action<
  InputSchema extends z.ZodObject<any, any, any, any>,
  Args extends readonly any[],
> = {
  id: string;
  name: string;
  description: string;
  inputSchema: InputSchema;
  action: (input: z.input<InputSchema>, ...args: Args) => void;
};