import { type AsyncFirebaseFunctionCreateAction, type AsyncFirebaseFunctionDeleteAction, type AsyncFirebaseFunctionUpdateAction, type FirebaseFunctionCreateAction, type FirebaseFunctionDeleteAction, type FirebaseFunctionUpdateAction } from '../../common'; import { type FormSpaceDocument } from './formspace'; /** * @module formspace.action * * Type aliases for FormSpace server action functions, following the same pattern as the StorageFile and * Calendar actions. See `@dereekb/firebase-server/model` for the implementations. * * @template P - the parameter type for the action */ /** * Synchronous create action targeting a {@link FormSpaceDocument}. */ export type FormSpaceCreateAction

= FirebaseFunctionCreateAction; /** * Async create action targeting a {@link FormSpaceDocument}. */ export type AsyncFormSpaceCreateAction

= AsyncFirebaseFunctionCreateAction; /** * Synchronous update action targeting a {@link FormSpaceDocument}. */ export type FormSpaceUpdateAction

= FirebaseFunctionUpdateAction; /** * Async update action targeting a {@link FormSpaceDocument}. */ export type AsyncFormSpaceUpdateAction

= AsyncFirebaseFunctionUpdateAction; /** * Synchronous delete action targeting a {@link FormSpaceDocument}. */ export type FormSpaceDeleteAction

= FirebaseFunctionDeleteAction; /** * Async delete action targeting a {@link FormSpaceDocument}. */ export type AsyncFormSpaceDeleteAction

= AsyncFirebaseFunctionDeleteAction;