Skip to main contentModule schema
Source - CommandOutput
- Combined output of an external command.
- FieldDef
- REQUIRED_COLLECTIONS
- Collection names and their field definitions used for the direct
PocketBase REST fallback when
pbctl is not available. - SCHEMA_PBSL
- Canonical PBSL schema shipped with PloitMalper. Written to the config
directory so
pbctl can be pointed at it.
- field_defs
- pbctl_apply
- Run
pbctl apply against the shipped PBSL schema. Only called after the
user has reviewed the plan output from pbctl_plan. - pbctl_available
- Whether the
pbctl binary is available on PATH. - pbctl_plan
- Run
pbctl plan against the shipped PBSL schema. Never mutates the
remote instance. Returns the full plan output for the caller to display. - pbctl_validate
- Run
pbctl validate to sanity-check the shipped schema file locally. - write_schema_file
- Write the canonical PBSL schema into the config directory and return its
path.