@mmapp/react 0.1.0-alpha.10 → 0.1.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +84 -1
- package/dist/index.d.ts +84 -1
- package/dist/index.js +635 -76
- package/dist/index.mjs +628 -72
- package/package.json +9 -4
package/dist/index.d.mts
CHANGED
|
@@ -4328,6 +4328,89 @@ interface UseCollectionOptions extends QueryParams$1 {
|
|
|
4328
4328
|
*/
|
|
4329
4329
|
declare function useCollection<D extends ModelDefinition>(definition: D, options?: UseCollectionOptions): CollectionHandle<InferFields<D>, InferStates<D> & string, InferTransitions<D> & string>;
|
|
4330
4330
|
|
|
4331
|
+
/** Minimal types for the standalone player CTR. */
|
|
4332
|
+
interface ComponentNode {
|
|
4333
|
+
type: string;
|
|
4334
|
+
props?: Record<string, unknown>;
|
|
4335
|
+
children?: ComponentNode[] | string;
|
|
4336
|
+
$if?: string;
|
|
4337
|
+
$for?: {
|
|
4338
|
+
each: string;
|
|
4339
|
+
as: string;
|
|
4340
|
+
key?: string;
|
|
4341
|
+
};
|
|
4342
|
+
}
|
|
4343
|
+
type ComponentTree = ComponentNode | ComponentNode[];
|
|
4344
|
+
interface ScopeData {
|
|
4345
|
+
state_data?: Record<string, unknown>;
|
|
4346
|
+
memory?: Record<string, unknown>;
|
|
4347
|
+
context?: Record<string, unknown>;
|
|
4348
|
+
[key: string]: unknown;
|
|
4349
|
+
}
|
|
4350
|
+
type AtomComponent = React.ComponentType<Record<string, unknown>>;
|
|
4351
|
+
type AtomRegistry = Record<string, AtomComponent>;
|
|
4352
|
+
|
|
4353
|
+
/**
|
|
4354
|
+
* Standalone ComponentTreeRenderer for the dev player.
|
|
4355
|
+
*
|
|
4356
|
+
* Renders a JSON component tree (IR experience nodes) to React elements.
|
|
4357
|
+
* Uses the minimal evaluator and accepts an AtomRegistry for component resolution.
|
|
4358
|
+
*/
|
|
4359
|
+
|
|
4360
|
+
interface ComponentTreeRendererProps {
|
|
4361
|
+
/** The component tree to render */
|
|
4362
|
+
tree: ComponentTree;
|
|
4363
|
+
/** Data scopes for expression evaluation */
|
|
4364
|
+
scopes: Partial<ScopeData>;
|
|
4365
|
+
/** Runtime atom registry — maps type names to React components */
|
|
4366
|
+
atoms?: AtomRegistry;
|
|
4367
|
+
/** Event handlers */
|
|
4368
|
+
onEvent?: (eventName: string, payload?: unknown) => void;
|
|
4369
|
+
/** Error boundary fallback */
|
|
4370
|
+
fallback?: React__default.ReactNode;
|
|
4371
|
+
}
|
|
4372
|
+
declare const ComponentTreeRenderer: React__default.FC<ComponentTreeRendererProps>;
|
|
4373
|
+
|
|
4374
|
+
/**
|
|
4375
|
+
* DevPlayer — Development shell for previewing workflow component trees.
|
|
4376
|
+
*
|
|
4377
|
+
* Provides:
|
|
4378
|
+
* - ComponentTreeRenderer with built-in atoms
|
|
4379
|
+
* - Scope inspector panel (collapsible)
|
|
4380
|
+
* - Event log
|
|
4381
|
+
* - HMR integration (listens to __mm_dev WebSocket for live reload)
|
|
4382
|
+
* - Error boundary with dev-friendly error display
|
|
4383
|
+
*/
|
|
4384
|
+
|
|
4385
|
+
interface DevPlayerProps {
|
|
4386
|
+
/** The component tree to render */
|
|
4387
|
+
tree: ComponentTree;
|
|
4388
|
+
/** Data scopes for expression evaluation */
|
|
4389
|
+
scopes?: Partial<ScopeData>;
|
|
4390
|
+
/** Additional atoms (merged with built-ins; overrides win) */
|
|
4391
|
+
atoms?: AtomRegistry;
|
|
4392
|
+
/** Title shown in the dev chrome */
|
|
4393
|
+
title?: string;
|
|
4394
|
+
/** Hide the dev toolbar (render tree only) */
|
|
4395
|
+
bare?: boolean;
|
|
4396
|
+
/** WebSocket URL for HMR (default: auto-detect from window.location) */
|
|
4397
|
+
wsUrl?: string;
|
|
4398
|
+
/** Called when the tree is reloaded via HMR */
|
|
4399
|
+
onReload?: () => void;
|
|
4400
|
+
/** Called on every atom event */
|
|
4401
|
+
onEvent?: (eventName: string, payload?: unknown) => void;
|
|
4402
|
+
}
|
|
4403
|
+
declare const DevPlayer: React__default.FC<DevPlayerProps>;
|
|
4404
|
+
|
|
4405
|
+
/**
|
|
4406
|
+
* Built-in atom components for the standalone player.
|
|
4407
|
+
*
|
|
4408
|
+
* These are minimal HTML-based implementations of the core layout and
|
|
4409
|
+
* display atoms. Projects can override any of these via the AtomRegistry.
|
|
4410
|
+
*/
|
|
4411
|
+
|
|
4412
|
+
declare const builtinAtoms: AtomRegistry;
|
|
4413
|
+
|
|
4331
4414
|
/**
|
|
4332
4415
|
* Compile-Time Atom Stubs — markers for the compiler to recognize.
|
|
4333
4416
|
*
|
|
@@ -8280,4 +8363,4 @@ declare const instance: {
|
|
|
8280
8363
|
slug: string;
|
|
8281
8364
|
};
|
|
8282
8365
|
|
|
8283
|
-
export { Accordion, type ActionContext, type ActionCreator, type ActionCreators, type ActionDefinition, type ActionEnvironment, type ActionHandler, type ActionManifest, type ActionManifestEntry, type ActionNotifyOptions, type ActionOptions, type ActionResult, type ActionRoutingRule, type ActorConfig, type ActorHierarchy, type ActorMailbox, type ActorSupervision, AnimatedBox, type ApprovalConfig, type AuthOptions, type AuthResolver, type AuthResult, type AuthUser, BUILT_IN_CONSTRAINTS, Badge, type BadgeProps, Blueprint, type BlueprintAction, type BlueprintConfig, type BlueprintConfigSchema, type BlueprintDependency, type BlueprintManifest, type BlueprintRoute, type BlueprintServerActionDeclaration, type BlueprintSlotContribution, type BlueprintViewDeclaration, BrowserPlayer, type BrowserPlayerConfig, type TransitionResult as BrowserTransitionResult, type BuiltInConstraint, Button, type ButtonProps, type CRUDConfig, Canvas3D, Card, type CardProps, type CedarPolicy, type ChannelHandle, type ChannelMessage, type ChannelOptions, type ChannelTransport, Chart, type CollectionHandle, Column, type ColumnProps, type ComposedWorkflowMetadata, type ComputedFieldMode, type ComputedFieldResult, type ConflictStrategy, type Constraint, type ConstraintDeclaration, type CronFields, type CrudConfig, DataGrid, type DataSource, type DataSourceResult, Divider, type DividerProps, type DmnRule, type DomainEvent, type DomainSubscriptionConfig, type DomainSubscriptionTransport, type DuringAction, type DuringActionConfig, Each, type EachProps, type EngineMiddlewareContext, type EscalationConfig, type EventPayload, type EventSubscription, type ExecutionPoint, type ExperienceViewConfig, ExperienceWorkflowBridge, type ExperienceWorkflowBridgeProps, type ExperienceWorkflowDefinition, type ExpressionLibraryRecord, type ExpressionLibraryResolver, type ExpressionLibraryResult, type ExtendOptions, type ExtendRoleDefinition, Field, FieldBuilder, type FieldConfig, type FieldConflictConfig, type FieldRegistration, type FieldShorthand, type FieldTypeMap, type FieldValidation, type FieldValidator, type FormConfig, type FormHandle, type FormValidator, type GeoPosition, type GeolocationError, type GeolocationOptions, type GeolocationResult, type GrammarIsland, Grid, Heading, type HeadingProps, Icon, Image, type InferFieldNames, type InferFields, type InferSlug, type InferStates, type InferTransitions, type InsertConfig, type InstalledModuleRef, type InstanceData, type InstanceKeyParams, type InstanceRef, type LatLng, type LatLngBounds, type LibraryParam, Link, type LocalDataResolver, type LocalEngineAdapter, type LocalEngineContextValue, LocalEngineProvider, type LocalEngineStore, LocalWorkflowEngine, type LoginCredentials, type MapMarker, type MapViewHandle, type MapViewOptions, Markdown, MetricCard, type MiddlewareContext, type MiddlewareDefinition, type MiddlewareFn, type MiddlewareHandle, type MiddlewareIntroduce, type MiddlewareOptions, type MiddlewareResult, type MmWasmModule, Modal, ModelBuilder, type ModelDefinition, type ModelHandle, type ModelMixin, type ModelTestContext, type ModuleAction, type ModuleConfigSchema, type ModuleDependency, type ModuleHandle, type ModuleManifest, type ModuleRoute, type ModuleRouteConfig, type MutationHandle, type MutationResolver, NavLink, type NotificationResult, type NotifyOptions, ORCHESTRATION_PRESETS, type OrchestrationConfig, type OrchestrationStrategy, type PackageChild, type PackageManifest, type PackageResult, type PipelineConfig, type PipelineStage, type PlayerConfig, type PlayerEvent, type PlayerEventCallback, type PlayerEventListener, type PlayerHandle, type PlayerInstance, type PlayerLogEntry, PlayerProvider, type PlayerProviderProps, type PlayerVisibility, type PresenceConfig, type PresenceEditor, type PresenceHandle, type PresenceOptions, type PresenceViewer, type QueryParams$1 as QueryParams, type QueryResolver, type QueryResult, type RealtimeQueryParams, type RealtimeQueryResult, type ResolvedOrchestrationConfig, type ReviewConfig, type RoleDefinition, RoleGuard, type RoleOptions, type RoleResult, type RoleVisibility, Route, type RouteDefinition, type RouteGuard, type RouteLocation, type RouteParamsOptions, Router, type RouterHandle, type RouterOptions, Row, type RowProps, type RuntimeConfig, RuntimeContext, type RuntimeSnapshot, type RuntimeTarget, ScrollArea, Section, Select, type ServerActionFn, type ServerActionHandle, type ServerActionOptions, type ServerActionResolver, type ServerActionResult, ServerGrid, type ServerStateOptions, type ServerStateResolver, type ServerStateResult, type ServerStateSnapshot, type ServiceConfig, type SetupWizard, type SetupWizardStep, Show, type ShowProps, Slot, type SlotContribution, type SlotContributions, type SlotProps, Spacer, type SpawnActionOptions, type SpawnOptions, Stack, type StackProps, StateBuilder, type StateDescriptor, type StateHome, type Subscription, type SupervisionStrategy, Tabs, type TestChain, type TestStep, Text, TextInput, type TextInputProps, type TextProps, type ToastConfig, type ToastHandle, type ToastInstance, type ToastVariant, TransitionBuilder, type TransitionCondition, type TransitionConfig, type TransitionContext, type TransitionDescriptor, type TransitionHandle, type TransitionOverride, type TypedMutationHandle, TypedTransitionBuilder, type UseCollectionOptions, type UseComputedOptions, type UseModelOptions, type UseModuleOptions, type UseOnEventOptions, type UseWorkflowOptions, type ValidationIssue, type ValidationResult, type ValidationRule, type ViewDefinitionResult, type ViewRecord, type ViewResolver, type VisibilityResult, type WithAuditTrailOptions, type WithOwnershipOptions, type WithRBACOptions, type WithSearchOptions, type WithSlugOptions, type WithSoftDeleteOptions, type WithVersioningOptions, type WorkflowDataSource, type WorkflowDefinition, type WorkflowEvent, type WorkflowEventHandler, type WorkflowFieldDef, type WorkflowFieldDescriptor, type WorkflowHandle, type WorkflowInstance, type WorkflowInstanceWithEvents, type WorkflowMixin, WorkflowProvider, type WorkflowProviderProps, WorkflowRuntime, type WorkflowState, type WorkflowTransition, action, actor, after, allowTransition, and, applyMixins, approval, assertModelValid, cedar, compose, computeVisibility, configureActor, connector, constraints, createActions, createCRUD, createLocalDataResolver, createLocalEngineAdapter, createPipeline, cron$1 as cron, crud, defineBlueprint, blueprint as defineImperativeBlueprint, defineMiddleware, defineModel, defineModule, defineRoles, defineWorkspace, delay, deriveInstanceKey, deriveInstanceKeySync, describeModel, deviceAction, dmn, editableBy, editableIn, emit, escalation, every, expr, extend, extendMiddleware, field, fieldContains, fieldEquals, fieldGreaterThan, fieldIn, fieldIsEmpty, fieldIsSet, fieldLessThan, fieldMatches, fieldNotEquals, fieldNotIn, getInstalledModule, getInstalledModules, graphql, guard, hasAnyRole, hasRole, cron as imperativeCron, log as imperativeLog, notify as imperativeNotify, requireRole as imperativeRequireRole, inState, inputEquals, inputRequired, instance, isActor, isActorConfig, isBuiltInConstraint, isConstraintDeclaration, isCreator, isOwner, isPlayerDebug, isSender, jsonpath, llm, loadExperienceWorkflow, logEvent, model, named, normalizeDefinition, not, notInState, notify$1 as notify, on, or, orchestration, patch, pipe, playerLog, prefetchData, refHasAnyRole, refHasRole, requireAuth, requireField, requireRole$1 as requireRole, resolveOrchestration, restrict, review, runtime, sendMessage, serverAction, setAuthResolver, setChannelTransport, setConfigContext, setExpressionLibraryResolver, setField, setFields, setInstalledModules, setModuleConfigDefaults, setMutationResolver, setPersistedModuleConfig, setPlayerDebug, setQueryResolver, setRealtimeQueryResolver, setRoleHierarchy, setServerActionResolver, setServerStateResolver, setViewResolver, spawn, spawnActor, sql, state, syncConfigDefaults, testModel, timeout, transition, updateDefinitionConfig, useAuth, useChannel, useCollection, useComputed, useComputedWithMeta, useDomainSubscription, useDuringAction, useExperienceState, useExpressionLibrary, useForm, useGeolocation, useLocalEngine, useMapView, useMiddleware, useModel, useModule, useModuleConfig, useModuleConfigWithMutation, useMutation, useNotification, useOnChange, useOnEnter, useOnEvent, useOnExit, useOnTransition, usePackage, useParams, usePlayer, usePlayerContext, usePlayerContextSafe, usePresence, useQuery, useRealtimeQuery, useRole, useRouteParams, useRouter, useRuntimeContext, useServerAction, useServerState, useStateField, useToast, useTransition, useView, useVisibility, useWhileIn, useWorkflow, useState as useWorkflowState, userAction, userChoice, validate, validateExperienceWorkflow, validateModel, visibleTo, when, withAuditLog, withAuditTrail, withAuth, withMetrics, withOwnership, withPagination, withRBAC, withRateLimit, withSearch, withSlug, withSoftDelete, withTags, withTimestamps, withValidation, withVersioning };
|
|
8366
|
+
export { Accordion, type ActionContext, type ActionCreator, type ActionCreators, type ActionDefinition, type ActionEnvironment, type ActionHandler, type ActionManifest, type ActionManifestEntry, type ActionNotifyOptions, type ActionOptions, type ActionResult, type ActionRoutingRule, type ActorConfig, type ActorHierarchy, type ActorMailbox, type ActorSupervision, AnimatedBox, type ApprovalConfig, type AtomComponent, type AtomRegistry, type AuthOptions, type AuthResolver, type AuthResult, type AuthUser, BUILT_IN_CONSTRAINTS, Badge, type BadgeProps, Blueprint, type BlueprintAction, type BlueprintConfig, type BlueprintConfigSchema, type BlueprintDependency, type BlueprintManifest, type BlueprintRoute, type BlueprintServerActionDeclaration, type BlueprintSlotContribution, type BlueprintViewDeclaration, BrowserPlayer, type BrowserPlayerConfig, type TransitionResult as BrowserTransitionResult, type BuiltInConstraint, Button, type ButtonProps, type CRUDConfig, Canvas3D, Card, type CardProps, type CedarPolicy, type ChannelHandle, type ChannelMessage, type ChannelOptions, type ChannelTransport, Chart, type CollectionHandle, Column, type ColumnProps, type ComponentNode, type ComponentTree, ComponentTreeRenderer, type ComponentTreeRendererProps, type ComposedWorkflowMetadata, type ComputedFieldMode, type ComputedFieldResult, type ConflictStrategy, type Constraint, type ConstraintDeclaration, type CronFields, type CrudConfig, DataGrid, type DataSource, type DataSourceResult, DevPlayer, type DevPlayerProps, Divider, type DividerProps, type DmnRule, type DomainEvent, type DomainSubscriptionConfig, type DomainSubscriptionTransport, type DuringAction, type DuringActionConfig, Each, type EachProps, type EngineMiddlewareContext, type EscalationConfig, type EventPayload, type EventSubscription, type ExecutionPoint, type ExperienceViewConfig, ExperienceWorkflowBridge, type ExperienceWorkflowBridgeProps, type ExperienceWorkflowDefinition, type ExpressionLibraryRecord, type ExpressionLibraryResolver, type ExpressionLibraryResult, type ExtendOptions, type ExtendRoleDefinition, Field, FieldBuilder, type FieldConfig, type FieldConflictConfig, type FieldRegistration, type FieldShorthand, type FieldTypeMap, type FieldValidation, type FieldValidator, type FormConfig, type FormHandle, type FormValidator, type GeoPosition, type GeolocationError, type GeolocationOptions, type GeolocationResult, type GrammarIsland, Grid, Heading, type HeadingProps, Icon, Image, type InferFieldNames, type InferFields, type InferSlug, type InferStates, type InferTransitions, type InsertConfig, type InstalledModuleRef, type InstanceData, type InstanceKeyParams, type InstanceRef, type LatLng, type LatLngBounds, type LibraryParam, Link, type LocalDataResolver, type LocalEngineAdapter, type LocalEngineContextValue, LocalEngineProvider, type LocalEngineStore, LocalWorkflowEngine, type LoginCredentials, type MapMarker, type MapViewHandle, type MapViewOptions, Markdown, MetricCard, type MiddlewareContext, type MiddlewareDefinition, type MiddlewareFn, type MiddlewareHandle, type MiddlewareIntroduce, type MiddlewareOptions, type MiddlewareResult, type MmWasmModule, Modal, ModelBuilder, type ModelDefinition, type ModelHandle, type ModelMixin, type ModelTestContext, type ModuleAction, type ModuleConfigSchema, type ModuleDependency, type ModuleHandle, type ModuleManifest, type ModuleRoute, type ModuleRouteConfig, type MutationHandle, type MutationResolver, NavLink, type NotificationResult, type NotifyOptions, ORCHESTRATION_PRESETS, type OrchestrationConfig, type OrchestrationStrategy, type PackageChild, type PackageManifest, type PackageResult, type PipelineConfig, type PipelineStage, type PlayerConfig, type PlayerEvent, type PlayerEventCallback, type PlayerEventListener, type PlayerHandle, type PlayerInstance, type PlayerLogEntry, PlayerProvider, type PlayerProviderProps, type PlayerVisibility, type PresenceConfig, type PresenceEditor, type PresenceHandle, type PresenceOptions, type PresenceViewer, type QueryParams$1 as QueryParams, type QueryResolver, type QueryResult, type RealtimeQueryParams, type RealtimeQueryResult, type ResolvedOrchestrationConfig, type ReviewConfig, type RoleDefinition, RoleGuard, type RoleOptions, type RoleResult, type RoleVisibility, Route, type RouteDefinition, type RouteGuard, type RouteLocation, type RouteParamsOptions, Router, type RouterHandle, type RouterOptions, Row, type RowProps, type RuntimeConfig, RuntimeContext, type RuntimeSnapshot, type RuntimeTarget, type ScopeData, ScrollArea, Section, Select, type ServerActionFn, type ServerActionHandle, type ServerActionOptions, type ServerActionResolver, type ServerActionResult, ServerGrid, type ServerStateOptions, type ServerStateResolver, type ServerStateResult, type ServerStateSnapshot, type ServiceConfig, type SetupWizard, type SetupWizardStep, Show, type ShowProps, Slot, type SlotContribution, type SlotContributions, type SlotProps, Spacer, type SpawnActionOptions, type SpawnOptions, Stack, type StackProps, StateBuilder, type StateDescriptor, type StateHome, type Subscription, type SupervisionStrategy, Tabs, type TestChain, type TestStep, Text, TextInput, type TextInputProps, type TextProps, type ToastConfig, type ToastHandle, type ToastInstance, type ToastVariant, TransitionBuilder, type TransitionCondition, type TransitionConfig, type TransitionContext, type TransitionDescriptor, type TransitionHandle, type TransitionOverride, type TypedMutationHandle, TypedTransitionBuilder, type UseCollectionOptions, type UseComputedOptions, type UseModelOptions, type UseModuleOptions, type UseOnEventOptions, type UseWorkflowOptions, type ValidationIssue, type ValidationResult, type ValidationRule, type ViewDefinitionResult, type ViewRecord, type ViewResolver, type VisibilityResult, type WithAuditTrailOptions, type WithOwnershipOptions, type WithRBACOptions, type WithSearchOptions, type WithSlugOptions, type WithSoftDeleteOptions, type WithVersioningOptions, type WorkflowDataSource, type WorkflowDefinition, type WorkflowEvent, type WorkflowEventHandler, type WorkflowFieldDef, type WorkflowFieldDescriptor, type WorkflowHandle, type WorkflowInstance, type WorkflowInstanceWithEvents, type WorkflowMixin, WorkflowProvider, type WorkflowProviderProps, WorkflowRuntime, type WorkflowState, type WorkflowTransition, action, actor, after, allowTransition, and, applyMixins, approval, assertModelValid, builtinAtoms, cedar, compose, computeVisibility, configureActor, connector, constraints, createActions, createCRUD, createLocalDataResolver, createLocalEngineAdapter, createPipeline, cron$1 as cron, crud, defineBlueprint, blueprint as defineImperativeBlueprint, defineMiddleware, defineModel, defineModule, defineRoles, defineWorkspace, delay, deriveInstanceKey, deriveInstanceKeySync, describeModel, deviceAction, dmn, editableBy, editableIn, emit, escalation, every, expr, extend, extendMiddleware, field, fieldContains, fieldEquals, fieldGreaterThan, fieldIn, fieldIsEmpty, fieldIsSet, fieldLessThan, fieldMatches, fieldNotEquals, fieldNotIn, getInstalledModule, getInstalledModules, graphql, guard, hasAnyRole, hasRole, cron as imperativeCron, log as imperativeLog, notify as imperativeNotify, requireRole as imperativeRequireRole, inState, inputEquals, inputRequired, instance, isActor, isActorConfig, isBuiltInConstraint, isConstraintDeclaration, isCreator, isOwner, isPlayerDebug, isSender, jsonpath, llm, loadExperienceWorkflow, logEvent, model, named, normalizeDefinition, not, notInState, notify$1 as notify, on, or, orchestration, patch, pipe, playerLog, prefetchData, refHasAnyRole, refHasRole, requireAuth, requireField, requireRole$1 as requireRole, resolveOrchestration, restrict, review, runtime, sendMessage, serverAction, setAuthResolver, setChannelTransport, setConfigContext, setExpressionLibraryResolver, setField, setFields, setInstalledModules, setModuleConfigDefaults, setMutationResolver, setPersistedModuleConfig, setPlayerDebug, setQueryResolver, setRealtimeQueryResolver, setRoleHierarchy, setServerActionResolver, setServerStateResolver, setViewResolver, spawn, spawnActor, sql, state, syncConfigDefaults, testModel, timeout, transition, updateDefinitionConfig, useAuth, useChannel, useCollection, useComputed, useComputedWithMeta, useDomainSubscription, useDuringAction, useExperienceState, useExpressionLibrary, useForm, useGeolocation, useLocalEngine, useMapView, useMiddleware, useModel, useModule, useModuleConfig, useModuleConfigWithMutation, useMutation, useNotification, useOnChange, useOnEnter, useOnEvent, useOnExit, useOnTransition, usePackage, useParams, usePlayer, usePlayerContext, usePlayerContextSafe, usePresence, useQuery, useRealtimeQuery, useRole, useRouteParams, useRouter, useRuntimeContext, useServerAction, useServerState, useStateField, useToast, useTransition, useView, useVisibility, useWhileIn, useWorkflow, useState as useWorkflowState, userAction, userChoice, validate, validateExperienceWorkflow, validateModel, visibleTo, when, withAuditLog, withAuditTrail, withAuth, withMetrics, withOwnership, withPagination, withRBAC, withRateLimit, withSearch, withSlug, withSoftDelete, withTags, withTimestamps, withValidation, withVersioning };
|
package/dist/index.d.ts
CHANGED
|
@@ -4328,6 +4328,89 @@ interface UseCollectionOptions extends QueryParams$1 {
|
|
|
4328
4328
|
*/
|
|
4329
4329
|
declare function useCollection<D extends ModelDefinition>(definition: D, options?: UseCollectionOptions): CollectionHandle<InferFields<D>, InferStates<D> & string, InferTransitions<D> & string>;
|
|
4330
4330
|
|
|
4331
|
+
/** Minimal types for the standalone player CTR. */
|
|
4332
|
+
interface ComponentNode {
|
|
4333
|
+
type: string;
|
|
4334
|
+
props?: Record<string, unknown>;
|
|
4335
|
+
children?: ComponentNode[] | string;
|
|
4336
|
+
$if?: string;
|
|
4337
|
+
$for?: {
|
|
4338
|
+
each: string;
|
|
4339
|
+
as: string;
|
|
4340
|
+
key?: string;
|
|
4341
|
+
};
|
|
4342
|
+
}
|
|
4343
|
+
type ComponentTree = ComponentNode | ComponentNode[];
|
|
4344
|
+
interface ScopeData {
|
|
4345
|
+
state_data?: Record<string, unknown>;
|
|
4346
|
+
memory?: Record<string, unknown>;
|
|
4347
|
+
context?: Record<string, unknown>;
|
|
4348
|
+
[key: string]: unknown;
|
|
4349
|
+
}
|
|
4350
|
+
type AtomComponent = React.ComponentType<Record<string, unknown>>;
|
|
4351
|
+
type AtomRegistry = Record<string, AtomComponent>;
|
|
4352
|
+
|
|
4353
|
+
/**
|
|
4354
|
+
* Standalone ComponentTreeRenderer for the dev player.
|
|
4355
|
+
*
|
|
4356
|
+
* Renders a JSON component tree (IR experience nodes) to React elements.
|
|
4357
|
+
* Uses the minimal evaluator and accepts an AtomRegistry for component resolution.
|
|
4358
|
+
*/
|
|
4359
|
+
|
|
4360
|
+
interface ComponentTreeRendererProps {
|
|
4361
|
+
/** The component tree to render */
|
|
4362
|
+
tree: ComponentTree;
|
|
4363
|
+
/** Data scopes for expression evaluation */
|
|
4364
|
+
scopes: Partial<ScopeData>;
|
|
4365
|
+
/** Runtime atom registry — maps type names to React components */
|
|
4366
|
+
atoms?: AtomRegistry;
|
|
4367
|
+
/** Event handlers */
|
|
4368
|
+
onEvent?: (eventName: string, payload?: unknown) => void;
|
|
4369
|
+
/** Error boundary fallback */
|
|
4370
|
+
fallback?: React__default.ReactNode;
|
|
4371
|
+
}
|
|
4372
|
+
declare const ComponentTreeRenderer: React__default.FC<ComponentTreeRendererProps>;
|
|
4373
|
+
|
|
4374
|
+
/**
|
|
4375
|
+
* DevPlayer — Development shell for previewing workflow component trees.
|
|
4376
|
+
*
|
|
4377
|
+
* Provides:
|
|
4378
|
+
* - ComponentTreeRenderer with built-in atoms
|
|
4379
|
+
* - Scope inspector panel (collapsible)
|
|
4380
|
+
* - Event log
|
|
4381
|
+
* - HMR integration (listens to __mm_dev WebSocket for live reload)
|
|
4382
|
+
* - Error boundary with dev-friendly error display
|
|
4383
|
+
*/
|
|
4384
|
+
|
|
4385
|
+
interface DevPlayerProps {
|
|
4386
|
+
/** The component tree to render */
|
|
4387
|
+
tree: ComponentTree;
|
|
4388
|
+
/** Data scopes for expression evaluation */
|
|
4389
|
+
scopes?: Partial<ScopeData>;
|
|
4390
|
+
/** Additional atoms (merged with built-ins; overrides win) */
|
|
4391
|
+
atoms?: AtomRegistry;
|
|
4392
|
+
/** Title shown in the dev chrome */
|
|
4393
|
+
title?: string;
|
|
4394
|
+
/** Hide the dev toolbar (render tree only) */
|
|
4395
|
+
bare?: boolean;
|
|
4396
|
+
/** WebSocket URL for HMR (default: auto-detect from window.location) */
|
|
4397
|
+
wsUrl?: string;
|
|
4398
|
+
/** Called when the tree is reloaded via HMR */
|
|
4399
|
+
onReload?: () => void;
|
|
4400
|
+
/** Called on every atom event */
|
|
4401
|
+
onEvent?: (eventName: string, payload?: unknown) => void;
|
|
4402
|
+
}
|
|
4403
|
+
declare const DevPlayer: React__default.FC<DevPlayerProps>;
|
|
4404
|
+
|
|
4405
|
+
/**
|
|
4406
|
+
* Built-in atom components for the standalone player.
|
|
4407
|
+
*
|
|
4408
|
+
* These are minimal HTML-based implementations of the core layout and
|
|
4409
|
+
* display atoms. Projects can override any of these via the AtomRegistry.
|
|
4410
|
+
*/
|
|
4411
|
+
|
|
4412
|
+
declare const builtinAtoms: AtomRegistry;
|
|
4413
|
+
|
|
4331
4414
|
/**
|
|
4332
4415
|
* Compile-Time Atom Stubs — markers for the compiler to recognize.
|
|
4333
4416
|
*
|
|
@@ -8280,4 +8363,4 @@ declare const instance: {
|
|
|
8280
8363
|
slug: string;
|
|
8281
8364
|
};
|
|
8282
8365
|
|
|
8283
|
-
export { Accordion, type ActionContext, type ActionCreator, type ActionCreators, type ActionDefinition, type ActionEnvironment, type ActionHandler, type ActionManifest, type ActionManifestEntry, type ActionNotifyOptions, type ActionOptions, type ActionResult, type ActionRoutingRule, type ActorConfig, type ActorHierarchy, type ActorMailbox, type ActorSupervision, AnimatedBox, type ApprovalConfig, type AuthOptions, type AuthResolver, type AuthResult, type AuthUser, BUILT_IN_CONSTRAINTS, Badge, type BadgeProps, Blueprint, type BlueprintAction, type BlueprintConfig, type BlueprintConfigSchema, type BlueprintDependency, type BlueprintManifest, type BlueprintRoute, type BlueprintServerActionDeclaration, type BlueprintSlotContribution, type BlueprintViewDeclaration, BrowserPlayer, type BrowserPlayerConfig, type TransitionResult as BrowserTransitionResult, type BuiltInConstraint, Button, type ButtonProps, type CRUDConfig, Canvas3D, Card, type CardProps, type CedarPolicy, type ChannelHandle, type ChannelMessage, type ChannelOptions, type ChannelTransport, Chart, type CollectionHandle, Column, type ColumnProps, type ComposedWorkflowMetadata, type ComputedFieldMode, type ComputedFieldResult, type ConflictStrategy, type Constraint, type ConstraintDeclaration, type CronFields, type CrudConfig, DataGrid, type DataSource, type DataSourceResult, Divider, type DividerProps, type DmnRule, type DomainEvent, type DomainSubscriptionConfig, type DomainSubscriptionTransport, type DuringAction, type DuringActionConfig, Each, type EachProps, type EngineMiddlewareContext, type EscalationConfig, type EventPayload, type EventSubscription, type ExecutionPoint, type ExperienceViewConfig, ExperienceWorkflowBridge, type ExperienceWorkflowBridgeProps, type ExperienceWorkflowDefinition, type ExpressionLibraryRecord, type ExpressionLibraryResolver, type ExpressionLibraryResult, type ExtendOptions, type ExtendRoleDefinition, Field, FieldBuilder, type FieldConfig, type FieldConflictConfig, type FieldRegistration, type FieldShorthand, type FieldTypeMap, type FieldValidation, type FieldValidator, type FormConfig, type FormHandle, type FormValidator, type GeoPosition, type GeolocationError, type GeolocationOptions, type GeolocationResult, type GrammarIsland, Grid, Heading, type HeadingProps, Icon, Image, type InferFieldNames, type InferFields, type InferSlug, type InferStates, type InferTransitions, type InsertConfig, type InstalledModuleRef, type InstanceData, type InstanceKeyParams, type InstanceRef, type LatLng, type LatLngBounds, type LibraryParam, Link, type LocalDataResolver, type LocalEngineAdapter, type LocalEngineContextValue, LocalEngineProvider, type LocalEngineStore, LocalWorkflowEngine, type LoginCredentials, type MapMarker, type MapViewHandle, type MapViewOptions, Markdown, MetricCard, type MiddlewareContext, type MiddlewareDefinition, type MiddlewareFn, type MiddlewareHandle, type MiddlewareIntroduce, type MiddlewareOptions, type MiddlewareResult, type MmWasmModule, Modal, ModelBuilder, type ModelDefinition, type ModelHandle, type ModelMixin, type ModelTestContext, type ModuleAction, type ModuleConfigSchema, type ModuleDependency, type ModuleHandle, type ModuleManifest, type ModuleRoute, type ModuleRouteConfig, type MutationHandle, type MutationResolver, NavLink, type NotificationResult, type NotifyOptions, ORCHESTRATION_PRESETS, type OrchestrationConfig, type OrchestrationStrategy, type PackageChild, type PackageManifest, type PackageResult, type PipelineConfig, type PipelineStage, type PlayerConfig, type PlayerEvent, type PlayerEventCallback, type PlayerEventListener, type PlayerHandle, type PlayerInstance, type PlayerLogEntry, PlayerProvider, type PlayerProviderProps, type PlayerVisibility, type PresenceConfig, type PresenceEditor, type PresenceHandle, type PresenceOptions, type PresenceViewer, type QueryParams$1 as QueryParams, type QueryResolver, type QueryResult, type RealtimeQueryParams, type RealtimeQueryResult, type ResolvedOrchestrationConfig, type ReviewConfig, type RoleDefinition, RoleGuard, type RoleOptions, type RoleResult, type RoleVisibility, Route, type RouteDefinition, type RouteGuard, type RouteLocation, type RouteParamsOptions, Router, type RouterHandle, type RouterOptions, Row, type RowProps, type RuntimeConfig, RuntimeContext, type RuntimeSnapshot, type RuntimeTarget, ScrollArea, Section, Select, type ServerActionFn, type ServerActionHandle, type ServerActionOptions, type ServerActionResolver, type ServerActionResult, ServerGrid, type ServerStateOptions, type ServerStateResolver, type ServerStateResult, type ServerStateSnapshot, type ServiceConfig, type SetupWizard, type SetupWizardStep, Show, type ShowProps, Slot, type SlotContribution, type SlotContributions, type SlotProps, Spacer, type SpawnActionOptions, type SpawnOptions, Stack, type StackProps, StateBuilder, type StateDescriptor, type StateHome, type Subscription, type SupervisionStrategy, Tabs, type TestChain, type TestStep, Text, TextInput, type TextInputProps, type TextProps, type ToastConfig, type ToastHandle, type ToastInstance, type ToastVariant, TransitionBuilder, type TransitionCondition, type TransitionConfig, type TransitionContext, type TransitionDescriptor, type TransitionHandle, type TransitionOverride, type TypedMutationHandle, TypedTransitionBuilder, type UseCollectionOptions, type UseComputedOptions, type UseModelOptions, type UseModuleOptions, type UseOnEventOptions, type UseWorkflowOptions, type ValidationIssue, type ValidationResult, type ValidationRule, type ViewDefinitionResult, type ViewRecord, type ViewResolver, type VisibilityResult, type WithAuditTrailOptions, type WithOwnershipOptions, type WithRBACOptions, type WithSearchOptions, type WithSlugOptions, type WithSoftDeleteOptions, type WithVersioningOptions, type WorkflowDataSource, type WorkflowDefinition, type WorkflowEvent, type WorkflowEventHandler, type WorkflowFieldDef, type WorkflowFieldDescriptor, type WorkflowHandle, type WorkflowInstance, type WorkflowInstanceWithEvents, type WorkflowMixin, WorkflowProvider, type WorkflowProviderProps, WorkflowRuntime, type WorkflowState, type WorkflowTransition, action, actor, after, allowTransition, and, applyMixins, approval, assertModelValid, cedar, compose, computeVisibility, configureActor, connector, constraints, createActions, createCRUD, createLocalDataResolver, createLocalEngineAdapter, createPipeline, cron$1 as cron, crud, defineBlueprint, blueprint as defineImperativeBlueprint, defineMiddleware, defineModel, defineModule, defineRoles, defineWorkspace, delay, deriveInstanceKey, deriveInstanceKeySync, describeModel, deviceAction, dmn, editableBy, editableIn, emit, escalation, every, expr, extend, extendMiddleware, field, fieldContains, fieldEquals, fieldGreaterThan, fieldIn, fieldIsEmpty, fieldIsSet, fieldLessThan, fieldMatches, fieldNotEquals, fieldNotIn, getInstalledModule, getInstalledModules, graphql, guard, hasAnyRole, hasRole, cron as imperativeCron, log as imperativeLog, notify as imperativeNotify, requireRole as imperativeRequireRole, inState, inputEquals, inputRequired, instance, isActor, isActorConfig, isBuiltInConstraint, isConstraintDeclaration, isCreator, isOwner, isPlayerDebug, isSender, jsonpath, llm, loadExperienceWorkflow, logEvent, model, named, normalizeDefinition, not, notInState, notify$1 as notify, on, or, orchestration, patch, pipe, playerLog, prefetchData, refHasAnyRole, refHasRole, requireAuth, requireField, requireRole$1 as requireRole, resolveOrchestration, restrict, review, runtime, sendMessage, serverAction, setAuthResolver, setChannelTransport, setConfigContext, setExpressionLibraryResolver, setField, setFields, setInstalledModules, setModuleConfigDefaults, setMutationResolver, setPersistedModuleConfig, setPlayerDebug, setQueryResolver, setRealtimeQueryResolver, setRoleHierarchy, setServerActionResolver, setServerStateResolver, setViewResolver, spawn, spawnActor, sql, state, syncConfigDefaults, testModel, timeout, transition, updateDefinitionConfig, useAuth, useChannel, useCollection, useComputed, useComputedWithMeta, useDomainSubscription, useDuringAction, useExperienceState, useExpressionLibrary, useForm, useGeolocation, useLocalEngine, useMapView, useMiddleware, useModel, useModule, useModuleConfig, useModuleConfigWithMutation, useMutation, useNotification, useOnChange, useOnEnter, useOnEvent, useOnExit, useOnTransition, usePackage, useParams, usePlayer, usePlayerContext, usePlayerContextSafe, usePresence, useQuery, useRealtimeQuery, useRole, useRouteParams, useRouter, useRuntimeContext, useServerAction, useServerState, useStateField, useToast, useTransition, useView, useVisibility, useWhileIn, useWorkflow, useState as useWorkflowState, userAction, userChoice, validate, validateExperienceWorkflow, validateModel, visibleTo, when, withAuditLog, withAuditTrail, withAuth, withMetrics, withOwnership, withPagination, withRBAC, withRateLimit, withSearch, withSlug, withSoftDelete, withTags, withTimestamps, withValidation, withVersioning };
|
|
8366
|
+
export { Accordion, type ActionContext, type ActionCreator, type ActionCreators, type ActionDefinition, type ActionEnvironment, type ActionHandler, type ActionManifest, type ActionManifestEntry, type ActionNotifyOptions, type ActionOptions, type ActionResult, type ActionRoutingRule, type ActorConfig, type ActorHierarchy, type ActorMailbox, type ActorSupervision, AnimatedBox, type ApprovalConfig, type AtomComponent, type AtomRegistry, type AuthOptions, type AuthResolver, type AuthResult, type AuthUser, BUILT_IN_CONSTRAINTS, Badge, type BadgeProps, Blueprint, type BlueprintAction, type BlueprintConfig, type BlueprintConfigSchema, type BlueprintDependency, type BlueprintManifest, type BlueprintRoute, type BlueprintServerActionDeclaration, type BlueprintSlotContribution, type BlueprintViewDeclaration, BrowserPlayer, type BrowserPlayerConfig, type TransitionResult as BrowserTransitionResult, type BuiltInConstraint, Button, type ButtonProps, type CRUDConfig, Canvas3D, Card, type CardProps, type CedarPolicy, type ChannelHandle, type ChannelMessage, type ChannelOptions, type ChannelTransport, Chart, type CollectionHandle, Column, type ColumnProps, type ComponentNode, type ComponentTree, ComponentTreeRenderer, type ComponentTreeRendererProps, type ComposedWorkflowMetadata, type ComputedFieldMode, type ComputedFieldResult, type ConflictStrategy, type Constraint, type ConstraintDeclaration, type CronFields, type CrudConfig, DataGrid, type DataSource, type DataSourceResult, DevPlayer, type DevPlayerProps, Divider, type DividerProps, type DmnRule, type DomainEvent, type DomainSubscriptionConfig, type DomainSubscriptionTransport, type DuringAction, type DuringActionConfig, Each, type EachProps, type EngineMiddlewareContext, type EscalationConfig, type EventPayload, type EventSubscription, type ExecutionPoint, type ExperienceViewConfig, ExperienceWorkflowBridge, type ExperienceWorkflowBridgeProps, type ExperienceWorkflowDefinition, type ExpressionLibraryRecord, type ExpressionLibraryResolver, type ExpressionLibraryResult, type ExtendOptions, type ExtendRoleDefinition, Field, FieldBuilder, type FieldConfig, type FieldConflictConfig, type FieldRegistration, type FieldShorthand, type FieldTypeMap, type FieldValidation, type FieldValidator, type FormConfig, type FormHandle, type FormValidator, type GeoPosition, type GeolocationError, type GeolocationOptions, type GeolocationResult, type GrammarIsland, Grid, Heading, type HeadingProps, Icon, Image, type InferFieldNames, type InferFields, type InferSlug, type InferStates, type InferTransitions, type InsertConfig, type InstalledModuleRef, type InstanceData, type InstanceKeyParams, type InstanceRef, type LatLng, type LatLngBounds, type LibraryParam, Link, type LocalDataResolver, type LocalEngineAdapter, type LocalEngineContextValue, LocalEngineProvider, type LocalEngineStore, LocalWorkflowEngine, type LoginCredentials, type MapMarker, type MapViewHandle, type MapViewOptions, Markdown, MetricCard, type MiddlewareContext, type MiddlewareDefinition, type MiddlewareFn, type MiddlewareHandle, type MiddlewareIntroduce, type MiddlewareOptions, type MiddlewareResult, type MmWasmModule, Modal, ModelBuilder, type ModelDefinition, type ModelHandle, type ModelMixin, type ModelTestContext, type ModuleAction, type ModuleConfigSchema, type ModuleDependency, type ModuleHandle, type ModuleManifest, type ModuleRoute, type ModuleRouteConfig, type MutationHandle, type MutationResolver, NavLink, type NotificationResult, type NotifyOptions, ORCHESTRATION_PRESETS, type OrchestrationConfig, type OrchestrationStrategy, type PackageChild, type PackageManifest, type PackageResult, type PipelineConfig, type PipelineStage, type PlayerConfig, type PlayerEvent, type PlayerEventCallback, type PlayerEventListener, type PlayerHandle, type PlayerInstance, type PlayerLogEntry, PlayerProvider, type PlayerProviderProps, type PlayerVisibility, type PresenceConfig, type PresenceEditor, type PresenceHandle, type PresenceOptions, type PresenceViewer, type QueryParams$1 as QueryParams, type QueryResolver, type QueryResult, type RealtimeQueryParams, type RealtimeQueryResult, type ResolvedOrchestrationConfig, type ReviewConfig, type RoleDefinition, RoleGuard, type RoleOptions, type RoleResult, type RoleVisibility, Route, type RouteDefinition, type RouteGuard, type RouteLocation, type RouteParamsOptions, Router, type RouterHandle, type RouterOptions, Row, type RowProps, type RuntimeConfig, RuntimeContext, type RuntimeSnapshot, type RuntimeTarget, type ScopeData, ScrollArea, Section, Select, type ServerActionFn, type ServerActionHandle, type ServerActionOptions, type ServerActionResolver, type ServerActionResult, ServerGrid, type ServerStateOptions, type ServerStateResolver, type ServerStateResult, type ServerStateSnapshot, type ServiceConfig, type SetupWizard, type SetupWizardStep, Show, type ShowProps, Slot, type SlotContribution, type SlotContributions, type SlotProps, Spacer, type SpawnActionOptions, type SpawnOptions, Stack, type StackProps, StateBuilder, type StateDescriptor, type StateHome, type Subscription, type SupervisionStrategy, Tabs, type TestChain, type TestStep, Text, TextInput, type TextInputProps, type TextProps, type ToastConfig, type ToastHandle, type ToastInstance, type ToastVariant, TransitionBuilder, type TransitionCondition, type TransitionConfig, type TransitionContext, type TransitionDescriptor, type TransitionHandle, type TransitionOverride, type TypedMutationHandle, TypedTransitionBuilder, type UseCollectionOptions, type UseComputedOptions, type UseModelOptions, type UseModuleOptions, type UseOnEventOptions, type UseWorkflowOptions, type ValidationIssue, type ValidationResult, type ValidationRule, type ViewDefinitionResult, type ViewRecord, type ViewResolver, type VisibilityResult, type WithAuditTrailOptions, type WithOwnershipOptions, type WithRBACOptions, type WithSearchOptions, type WithSlugOptions, type WithSoftDeleteOptions, type WithVersioningOptions, type WorkflowDataSource, type WorkflowDefinition, type WorkflowEvent, type WorkflowEventHandler, type WorkflowFieldDef, type WorkflowFieldDescriptor, type WorkflowHandle, type WorkflowInstance, type WorkflowInstanceWithEvents, type WorkflowMixin, WorkflowProvider, type WorkflowProviderProps, WorkflowRuntime, type WorkflowState, type WorkflowTransition, action, actor, after, allowTransition, and, applyMixins, approval, assertModelValid, builtinAtoms, cedar, compose, computeVisibility, configureActor, connector, constraints, createActions, createCRUD, createLocalDataResolver, createLocalEngineAdapter, createPipeline, cron$1 as cron, crud, defineBlueprint, blueprint as defineImperativeBlueprint, defineMiddleware, defineModel, defineModule, defineRoles, defineWorkspace, delay, deriveInstanceKey, deriveInstanceKeySync, describeModel, deviceAction, dmn, editableBy, editableIn, emit, escalation, every, expr, extend, extendMiddleware, field, fieldContains, fieldEquals, fieldGreaterThan, fieldIn, fieldIsEmpty, fieldIsSet, fieldLessThan, fieldMatches, fieldNotEquals, fieldNotIn, getInstalledModule, getInstalledModules, graphql, guard, hasAnyRole, hasRole, cron as imperativeCron, log as imperativeLog, notify as imperativeNotify, requireRole as imperativeRequireRole, inState, inputEquals, inputRequired, instance, isActor, isActorConfig, isBuiltInConstraint, isConstraintDeclaration, isCreator, isOwner, isPlayerDebug, isSender, jsonpath, llm, loadExperienceWorkflow, logEvent, model, named, normalizeDefinition, not, notInState, notify$1 as notify, on, or, orchestration, patch, pipe, playerLog, prefetchData, refHasAnyRole, refHasRole, requireAuth, requireField, requireRole$1 as requireRole, resolveOrchestration, restrict, review, runtime, sendMessage, serverAction, setAuthResolver, setChannelTransport, setConfigContext, setExpressionLibraryResolver, setField, setFields, setInstalledModules, setModuleConfigDefaults, setMutationResolver, setPersistedModuleConfig, setPlayerDebug, setQueryResolver, setRealtimeQueryResolver, setRoleHierarchy, setServerActionResolver, setServerStateResolver, setViewResolver, spawn, spawnActor, sql, state, syncConfigDefaults, testModel, timeout, transition, updateDefinitionConfig, useAuth, useChannel, useCollection, useComputed, useComputedWithMeta, useDomainSubscription, useDuringAction, useExperienceState, useExpressionLibrary, useForm, useGeolocation, useLocalEngine, useMapView, useMiddleware, useModel, useModule, useModuleConfig, useModuleConfigWithMutation, useMutation, useNotification, useOnChange, useOnEnter, useOnEvent, useOnExit, useOnTransition, usePackage, useParams, usePlayer, usePlayerContext, usePlayerContextSafe, usePresence, useQuery, useRealtimeQuery, useRole, useRouteParams, useRouter, useRuntimeContext, useServerAction, useServerState, useStateField, useToast, useTransition, useView, useVisibility, useWhileIn, useWorkflow, useState as useWorkflowState, userAction, userChoice, validate, validateExperienceWorkflow, validateModel, visibleTo, when, withAuditLog, withAuditTrail, withAuth, withMetrics, withOwnership, withPagination, withRBAC, withRateLimit, withSearch, withSlug, withSoftDelete, withTags, withTimestamps, withValidation, withVersioning };
|