Skip to main content

Crate cdm_plugin_interface

Crate cdm_plugin_interface 

Source

Re-exports§

pub use export_plugin_impl as export_plugin;

Modules§

ffi
FFI helpers for WASM plugins

Macros§

export_build
Macro to export build function with proper FFI wrapper
export_migrate
Macro to export migrate function with proper FFI wrapper
export_schema
Macro to export schema function with proper FFI wrapper
export_validate_config
Macro to export validate_config function with proper FFI wrapper
schema_from_file
Helper macro to embed a schema.cdm file and export it via the WASM _schema() function.

Structs§

FieldDefinition
ModelDefinition
OutputFile
Output file from build or migrate
PathSegment
Path segment for error reporting
Schema
Schema types
TypeAliasDefinition
Utils
Utility functions provided by CDM runtime
ValidationError
Validation error with structured path

Enums§

CaseFormat
Case format for string conversion
ConfigLevel
Configuration level for validation
Delta
Delta types for migrations
Severity
Error severity
TypeExpression
Value

Functions§

export_plugin_impl
Placeholder for the actual proc macro In a real implementation, this would be in a separate proc-macro crate

Type Aliases§

JSON