import { type AsyncFirebaseFunctionCreateAction, type AsyncFirebaseFunctionDeleteAction, type AsyncFirebaseFunctionUpdateAction, type FirebaseFunctionCreateAction, type FirebaseFunctionDeleteAction, type FirebaseFunctionUpdateAction } from '@dereekb/firebase'; import { type SystemStateDocument } from './system'; /** * @module system.action * * Type aliases for SystemState server action functions. * * @template P - the API parameter type for the action */ /** * Synchronous create action targeting a {@link SystemStateDocument}. */ export type SystemStateCreateAction
= FirebaseFunctionCreateAction
; /** * Async create action targeting a {@link SystemStateDocument}. */ export type AsyncSystemStateCreateAction
= AsyncFirebaseFunctionCreateAction
; /** * Synchronous update action targeting a {@link SystemStateDocument}. */ export type SystemStateUpdateAction
= FirebaseFunctionUpdateAction
; /** * Async update action targeting a {@link SystemStateDocument}. */ export type AsyncSystemStateUpdateAction
= AsyncFirebaseFunctionUpdateAction
; /** * Synchronous delete action targeting a {@link SystemStateDocument}. */ export type SystemStateDeleteAction
= FirebaseFunctionDeleteAction
; /** * Async delete action targeting a {@link SystemStateDocument}. */ export type AsyncSystemStateDeleteAction
= AsyncFirebaseFunctionDeleteAction
;