actions/action_registry.ts view source
import {ActionRegistry} from '@fuzdev/fuz_app/actions/action_registry.js'; specs
type ActionSpecUnion[]
constructor
type new (specs: ({ method: string; initiator: "frontend" | "backend" | "both"; side_effects: boolean; input: ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>; output: ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>; ... 6 more ...; rate_limit?: "both" | ... 2 more ... | undefined; } | { ...; } | { ...; })[]): ActionRegistry
specs
ActionSpecUnion[]spec_by_method
type Map<string, ActionSpecUnion>
methods
type string[]
request_response_specs
type RequestResponseActionSpec[]
remote_notification_specs
type RemoteNotificationActionSpec[]
local_call_specs
type LocalCallActionSpec[]
request_response_methods
type string[]
remote_notification_methods
type string[]
local_call_methods
type string[]
specs_relevant_to_frontend
type ActionSpecUnion[]
specs_relevant_to_backend
type ActionSpecUnion[]
methods_relevant_to_frontend
type string[]
methods_relevant_to_backend
type string[]
frontend_handled_specs
type RequestResponseActionSpec[]
backend_handled_specs
type RequestResponseActionSpec[]
frontend_handled_methods
type string[]
backend_handled_methods
type string[]
broadcast_specs
type RemoteNotificationActionSpec[]
broadcast_methods
type string[]
backend_initiated_specs
type ActionSpecUnion[]
backend_initiated_methods
type string[]
backend_to_frontend_specs
type ActionSpecUnion[]
frontend_to_backend_specs
type ActionSpecUnion[]
frontend_to_backend_methods
type string[]
backend_to_frontend_methods
type string[]
public_specs
type ActionSpecUnion[]
authenticated_specs
type ActionSpecUnion[]
public_methods
type string[]
authenticated_methods
type string[]