Skip to main content

Crate platform_core

Crate platform_core 

Source

Re-exports§

pub use admin_actions::AdminActionStoryRecord;
pub use admin_actions::admin_action_story_event_id;
pub use admin_actions::insert_admin_action_story_event;
pub use clock::Clock;
pub use clock::SystemClock;
pub use config::AppConfig;
pub use config::AuthConfig;
pub use config::DEFAULT_LINKED_MODULE_PROFILE;
pub use config::DatabaseConfig;
pub use config::HttpConfig;
pub use config::LENSO_COMPOSITION_PROFILE_ENV;
pub use config::LogFormat;
pub use config::ModuleConfig;
pub use config::ModuleSourcesConfig;
pub use config::RedisConfig;
pub use config::ServiceConfig;
pub use config::TelemetryConfig;
pub use config::is_local_development_environment;
pub use config::parse_cors_allowed_origins;
pub use context::ActorContext;
pub use context::ActorResolutionRequest;
pub use context::ActorResolver;
pub use context::AppContext;
pub use context::ClientRequestMetadata;
pub use context::CorrelationId;
pub use context::DevActorResolver;
pub use context::RequestContext;
pub use context::RequestId;
pub use context::TenantId;
pub use context::TraceContext;
pub use db::DbPool;
pub use db::DbTransaction;
pub use db::begin_transaction;
pub use db::commit_transaction;
pub use db::connect_pool;
pub use db::rollback_transaction;
pub use error::AppError;
pub use error::AppResult;
pub use error::ErrorCode;
pub use events::EventEnvelope;
pub use events::EventPayload;
pub use events::EventPublisher;
pub use events::LoggingEventPublisher;
pub use execution::ExecutionContext;
pub use execution::ExecutionId;
pub use execution_logs::ExecutionLogProvider;
pub use execution_logs::ExecutionLogQuery;
pub use execution_logs::ExecutionLogRow;
pub use execution_logs::PostgresExecutionLogProvider;
pub use health::HealthRegistry;
pub use health::HealthStatus;
pub use idempotency::IdempotencyClaim;
pub use idempotency::IdempotencyKey;
pub use idempotency::claim_idempotency_key_in_tx;
pub use ids::IdGenerator;
pub use ids::UuidGenerator;
pub use migrations::Migration;
pub use migrations::PLATFORM_MIGRATIONS;
pub use migrations::apply_migrations;
pub use migrations::apply_module_migration;
pub use outbox::ClaimedOutboxEvent;
pub use outbox::EventDispatcher;
pub use outbox::EventHandler;
pub use outbox::EventHandlerRegistry;
pub use outbox::LoggingEventDispatcher;
pub use outbox::OutboxEvent;
pub use outbox::OutboxPublisher;
pub use outbox::OutboxRelay;
pub use outbox::OutboxStatus;
pub use provider_calls::ProviderHttpCallRecord;
pub use provider_calls::insert_provider_http_call;
pub use provider_calls::provider_call_story_event_id;
pub use redis::RedisConnection;
pub use redis::connect_redis;
pub use runtime_config::CONFIG_NOTIFY_CHANNEL;
pub use runtime_config::PostgresRuntimeConfigProvider;
pub use runtime_config::RuntimeConfigAuditEntry;
pub use runtime_config::RuntimeConfigCell;
pub use runtime_config::RuntimeConfigDescriptor;
pub use runtime_config::RuntimeConfigGeneratedValue;
pub use runtime_config::RuntimeConfigGroupDescriptor;
pub use runtime_config::RuntimeConfigProvider;
pub use runtime_config::RuntimeConfigRegistry;
pub use runtime_config::RuntimeConfigScope;
pub use runtime_config::RuntimeConfigSnapshot;
pub use runtime_config::RuntimeConfigSource;
pub use runtime_config::RuntimeConfigType;
pub use runtime_config::RuntimeConfigVisibilityCondition;
pub use runtime_config::StaticRuntimeConfigProvider;
pub use runtime_config::StoredRuntimeConfig;
pub use shutdown::Shutdown;
pub use telemetry_attrs::RuntimeSpanAttributes;
pub use telemetry_attrs::generate_trace_context;
pub use telemetry_attrs::record_runtime_span_attributes;
pub use telemetry_attrs::trace_context_from_headers;
pub use telemetry_attrs::trace_context_from_traceparent;
pub use telemetry_attrs::trace_headers;
pub use telemetry_query::InMemoryTelemetrySpanProvider;
pub use telemetry_query::NoopTelemetrySpanProvider;
pub use telemetry_query::TelemetrySpan;
pub use telemetry_query::TelemetrySpanProvider;
pub use telemetry_query::TelemetrySpanQuery;
pub use worker_runtime_config::WorkerRuntimeConfig;

Modules§

admin_actions
clock
config
context
db
error
events
execution
execution_logs
health
idempotency
ids
migrations
outbox
provider_calls
redis
runtime_config
Layered, console-editable configuration overlaid on the static AppConfig.
shutdown
story_events
telemetry
telemetry_attrs
telemetry_query
worker_runtime_config
Worker process runtime-config knobs, live-tunable via the Console.

Structs§

StoryDisplayDescriptor

Enums§

StoryDisplaySource