@protobase/schema
Resources, fields, views and access rules: what a Protobase config declares, and the models the server, the client and
the admin app read from it. A config builds them with resource and f (Data config),
view and l (UI config), and defineRoles and rule
(Access). It runs anywhere, the browser included, and imports no other
@protobase package.
Classes
Section titled “Classes”Interfaces
Section titled “Interfaces”Type Aliases
Section titled “Type Aliases”- Access
- AccessAction
- AccessContext
- AccessFn
- AccessResult
- AccessSource
- AccessUser
- ActionInputKind
- ActionInputModel
- ActionModel
- ActionRun
- AnyField
- AppAddress
- ArgumentSpec
- ArgumentsSpec
- ArgumentType
- AssistantAction
- AssistantActionRequest
- AssistantCardPart
- AssistantDiff
- AssistantEvent
- AssistantMessage
- AssistantMessageRequest
- AssistantPart
- AssistantState
- AssistantStep
- AssistantStepState
- AssistantTablePart
- AssistantTextPart
- AssistantTone
- AssistantWidgetPart
- AttachmentsModel
- BadgeShape
- BadgeTone
- BlockElementModel
- BlocksSectionModel
- BoardDragModel
- BottomBarItemModel
- BottomBarModel
- BottomBarNames
- BottomBarSource
- BucketEvery
- BucketFields
- BucketMeasure
- BucketMeasuresInput
- BucketsModel
- BucketsSpec
- CalendarView
- Capability
- CapabilityAction
- CapabilityLimit
- CapabilityScope
- CardFavoriteModel
- CardPhotosModel
- CellKind
- ChartGranularity
- ChartInput
- ChartModel
- ChartRange
- CheckedFilter
- CheckModel
- CheckResult
- ColumnType
- ColumnTypeReader
- CommentsSectionModel
- CompareOp
- ComponentRef
- ComposerSectionModel
- ComputedReveal
- ConnectAddress
- Constraint
- ConversationPageModel
- ConversationThreadModel
- CreatedOptions
- CreateModel
- CustomFallbackItemModel
- CustomSectionModel
- DatePreset
- DecimalType
- DeletedOptions
- DerivedModel
- DerivedSpec
- DerivedTarget
- DurationLiteral
- DurationUnit
- Encrypted
- EvaluateOptions
- EventActor
- EventContext
- EventHelpers
- EventMatch
- EventModel
- EventOperation
- EventSpec
- ExactCapability
- ExportModel
- FieldAccess
- FieldFormat
- FieldMeta
- FieldModel
- FieldPath
- FieldRefs
- FieldRefValue
- FieldRule
- FieldsInput
- FieldType
- FieldTypeDef
- FieldViewModel
- FieldViews
- FieldWidgetModel
- FileCell
- FileDate
- FileFieldModel
- FileJson
- FileOptions
- FileProcessor
- FileProcessorInput
- FilterError
- FilterErrorCode
- FilterExpr
- FilterLayout
- FilterLimits
- FilterOf
- FilterParse
- FilterValue
- FilterWidgetModel
- FormAddress
- FormInput
- FormModel
- GalleryModel
- Grant
- GroupChartInput
- GroupChartModel
- GroupItemModel
- GroupModel
- HeldCapability
- HelpWhen
- HistorySectionModel
- ImageFormat
- ImageVariant
- ImageVariantOptions
- InferRecord
- Issue
- JsonValue
- KeyOf
- KeyRefs
- KeyType
- KeyValue
- LayoutItemModel
- ListColumn
- ListDisplayModel
- ListDragModel
- ListModel
- ListQuery
- Literal
- Lookup
- MapSectionModel
- MapView
- NamedListModel
- NavModel
- NavRecentModel
- NavStartModel
- NowValue
- OrderByCheck
- OrderByItem
- OrderByParse
- PageWidth
- ParentAccess
- ParentModel
- PeriodChartInput
- PeriodChartModel
- PositionAfterModel
- PrepareContext
- Preparer
- PrepareSession
- ReactionsModel
- ReadPositionModel
- RecordChartModel
- RecordChartRange
- RecordKey
- RecordMode
- RecordOf
- RecordPageModel
- RecordTrendModel
- RecordWhen
- Ref
- Refs
- RelatedColumnModel
- RelatedFilter
- RelatedModel
- RelatedPresentation
- ResolvedAccess
- ResolveOptions
- ResourceModel
- RevealCaller
- RoleEntry
- RoleLimit
- Roles
- RolesOptions
- Rollup
- RollupCount
- RollupFn
- RollupSource
- RollupValue
- RowButtonChoice
- RowButtonModel
- RowFilterOperation
- Rule
- SaveFeedback
- SaveSearchModel
- SearchesOfModel
- SearchMatch
- SearchRef
- SearchRefs
- SearchResultModel
- SectionModel
- SectionPresentation
- ShowWhen
- SignInAddress
- SignInPromptModel
- SignInStep
- SignInViewModel
- SortSpec
- Span
- StatusTone
- TabItemModel
- TabModel
- TenantOptions
- ThreadSectionModel
- TimelineView
- TitleFromModel
- ToolCallFields
- UndeletedOptions
- UpdatedOptions
- UserMenuItemModel
- UserMenuModel
- UserMenuSource
- UserTableFieldType
- UserTableNameIssue
- Validator
- ViewModel
- ViewProps
Variables
Section titled “Variables”- addressWords
- anonymousRole
- badgeTones
- connectParams
- connectRoute
- encrypted
- f
- formRoute
- imageFormats
- l
- maxBottomBarItems
- maxJsonDepth
- maxShortText
- membersRule
- minWholeDigits
- signInParams
- signInRoute
- signInSteps
- where
Functions
Section titled “Functions”- accessWarnings
- appPath
- argumentsSchema
- bottomBar
- bottomBarErrors
- cellKind
- checkFilter
- checkOrderBy
- checkRecord
- columnTypeReader
- connectPath
- createWhere
- defineRoles
- enumLabel
- evaluateFilter
- fieldNamesOf
- fieldRef
- fieldsUsedBy
- fitsKeyType
- formPath
- inferColumnType
- isBadgeTone
- isEmptyFileCell
- isRecordCondition
- keyTypes
- parseFilter
- parseOrderBy
- pickView
- printFilter
- printOrderBy
- readAppPath
- readConnectAddress
- readFormAddress
- readSignInAddress
- resolveAccess
- resource
- restrictModel
- rule
- signInPath
- tableNameOf
- userMenu
- userTableNameIssue
- view
- widerFieldTypes