📄️ Functions
Functions in Superposition are JavaScript code snippets that provide custom validation and autocomplete functionality for configuration dimensions and default configs. They enable dynamic validation rules and intelligent form suggestions that go beyond basic JSON Schema validation.
📄️ Type Templates
Type Templates are reusable JSON Schema definitions that serve as standardized data type specifications for configuration values. They provide a way to define and enforce consistent data types and validation rules across the entire configuration management system.
📄️ Secrets
Secrets are encrypted key-value pairs that store sensitive information (API keys, tokens, passwords) for use in Functions and Webhooks. Superposition encrypts secrets at rest and decrypts them only at runtime when needed.
📄️ Variables
Variables are key-value pairs that store non-sensitive configuration values for use in Functions. Unlike Secrets, variables are stored in plaintext and their values are visible via the API — making them ideal for configuration that doesn't require encryption.