Expand description
Defines the core data structures and models for the application’s business domain.
This module serves as a central collection point and namespace for the fundamental data types that represent the key entities and concepts within the application, such as commands and their associated variables.
Structs§
- Command
- Dynamic
Command - A command containing variables
- Search
Commands Filter - Represents the filtering criteria for searching for commands
- Variable
- Represents a variable from a command
- Variable
Value - Type to represent a variable value
Enums§
- Command
Part - Represents a part of a command, which can be either text, a variable, or a variable value
- Search
Mode - Determines the strategy used for searching commands
- Variable
Function - Functions that can be applied to variable values
- Variable
Suggestion - Suggestion for a variable value
Constants§
- CATEGORY_
USER - Category for user defined commands
- CATEGORY_
WORKSPACE - Category for workspace defined commands
- SOURCE_
AI - Source for ai suggested commands
- SOURCE_
IMPORT - Source for imported commands
- SOURCE_
TLDR - Source for tldr fetched commands
- SOURCE_
USER - Source for user defined commands
- SOURCE_
WORKSPACE - Source for workspace-level commands
Functions§
- idempotent_
percent_ encode - Idempotently percent-encodes a string.