Skip to content

obsidian/augmentations/bases

ClassDescription
BasesEntryRepresent a single “row” or file in a base.
BasesEntryGroupA group of obsidian#BasesEntry objects for a given value of the groupBy key. If there are entries in the results which do not have a value for the groupBy key, the key will be the NullValue.
BasesQueryResultThe obsidian#BasesQueryResult contains all of the available information from executing the bases query, applying filters, and evaluating formulas. The data or groupedData should be displayed by your view.
BasesViewView for the Bases plugin.
BasesViewConfigThe in-memory representation of a single entry in the “views” section of a Bases file. Contains settings and configuration options set by the user from the toolbar menus and view options.
QueryControllerResponsible for executing the Bases query and evaluating filters and formulas. Notifies views of updated results.
InterfaceDescription
BasesAllOptions__obsidian#BasesOptions and the associated sub-types are configuration-driven settings controls which can be provided by a BasesViewRegistration to expose configuration options to users in the view config menu of the Bases toolbar.
BasesConfigFileRepresents the serialized format of a Bases query as stored in a .base file.
BasesConfigFileFilter__A filter clause used in Bases config files, supporting AND, OR, NOT, and string conditions.
BasesConfigFileViewConfiguration for a single view in a Bases config file.
BasesDropdownOptionDropdown option.
BasesFileOptionA text input allowing selection of a file from in the vault.
BasesFolderOptionA text input allowing selection of a folder from in the vault.
BasesFormulaOptionA text input supporting formula evaluation.
BasesMultitextOptionMultitext option.
BasesOptionBases option.
BasesOptionGroupCollapsible container for other ViewOptions.
BasesOptions__Bases options.
BasesPropertyBases property.
BasesPropertyId__The full ID of a property, used in the bases config file. The prefixed BasesPropertyType disambiguates properties of the same name but from different sources.
BasesPropertyOptionA dropdown menu allowing selection of a property.
BasesPropertyType__The three valid “sources” of a property in a Base. - note: Properties from the frontmatter of markdown files in the vault. - formula: Properties calculated by evaluating a formula from the base config file. - file: Properties inherent to a file, such as the name, extension, size, etc.
BasesQueryResultGroupA group of entries in a BasesQueryResult, keyed by a grouping value.
BasesSliderOptionSlider option.
BasesSortConfig__Bases sort config.
BasesTextOptionText option.
BasesToggleOptionToggle option.
BasesViewFactory__Implement this factory function in a BasesViewRegistration to create a new instance of a custom Bases view.
BasesViewRegistrationContainer for options when registering a new Bases view type.
BasesViewTransactionA single undo/redo step in a BasesView, capturing a set of property changes and the view state to restore.
BasesViewTransactionChangeA single property change captured within a BasesViewTransaction.
FormulaContextThe context in which a formula is evaluated. In most cases, BasesEntry is the specific type to use.
QueryControllerEphemeralStateThe ephemeral (non-persisted) state of a QueryController, keyed by view name.