The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
(ns metabase-enterprise.serialization.v2.models
"See [[metabase.models.serialization]] for documentation.")
(def data-model
"Schema model types"
["Database"
"Dimension"
"Field"
"FieldUserSettings"
"Measure"
"Segment"
"Table"
"TableUserSettings"
"Channel"])
(def data-model-in-collection
"Data model types that can be found in collections (via published tables), extracted by ID when discovered via
descendants even if no-data-model is set."
["Table"
"TableUserSettings"
"Field"
"FieldUserSettings"
"Dimension"
"Segment"])
(def content
"Content model types"
["Action"
"Card"
"Collection"
"Dashboard"
"Document"
"Glossary"
"NativeQuerySnippet"
"Timeline"])
(def elidable-content-models
"Content models a reference may name without the target being in the archive or the destination. Such references
are dropped on import instead of failing the load."
#{"Timeline"})
(def exported-models
"The list of all models exported by serialization by default. Used for production code and by tests."
(concat data-model
content
["CustomVizPlugin"
"DataApp"
"EmbeddingTheme"
"FieldValues"
"Metabot"
"OsiAiContext"
"PythonLibrary"
"Setting"
"Transform"
"TransformJob"
"TransformTag"
"TransformTest"]))
(def inlined-models
"An additional list of models which are inlined into parent entities for serialization.
These are not extracted and serialized separately, but they may need some processing done.
For example, the models should also have their entity_id fields populated (if they have one)."
["DashboardCard"
"DashboardTab"
"ParameterCard"
"DashboardCardSeries"
"MetabotPrompt"
"TableIndex"
"TimelineEvent"
"TransformJobTransformTag"
"TransformTransformTag"])
(def excluded-models
"List of models which are not going to be serialized ever."
["AgentApiCallLog"
"AiUsageLog"
"AnalysisFinding"
"AnalysisFindingError"
"AnalysisFindingStatus"
"ApiKey"
"ApiKeyUsageLog"
"ApplicationPermissionsRevision"
"AuditLog"
"AuthIdentity"
"BookmarkOrdering"
"CacheConfig"
"CardBookmark"
"ChannelTemplate"
"CloudMigration"
"CollectionBookmark"
"CollectionPermissionGraphRevision"
"Comment"
"CommentReaction"
"ConnectionImpersonation"
"ContentDiagnosticsFinding"
"ContentTranslation"
"DashboardBookmark"
"DataComplexityScore"
"DataPermissions"
"DatabaseRouter"
"Dependency"
"DependencyStatus"
"DocumentBookmark"
"EmbeddingSdkReact18Host"
"Exploration"
"ExplorationBlock"
"ExplorationBookmark"
"ExplorationPage"
"ExplorationQuery"
"ExplorationQueryResult"
"ExplorationThread"
"ExplorationThreadTimeline"
"ImplicitAction"
"ImpersonationQueryCache"
"LoginHistory"
"McpFeedback"
"McpGroupPermission"
"McpQueryHandle"
"McpSessionLog"
"McpToolCallLog"
"MetabotConversation"
"MetabotFeedback"
"MetabotGroupLimit"
"MetabotInstanceLimit"
"MetabotMessage"
"MetabotPermissions"
"MetabotSourceFeedback"
"MetabotUsedTable"
"ModelIndex"
"ModelIndexValue"
"ModerationReview"
"Notification"
"NotificationCard"
"NotificationHandler"
"NotificationRecipient"
"NotificationSubscription"
"OAuthAccessToken"
"OAuthAuthorizationCode"
"OAuthClient"
"OAuthClientEvent"
"OAuthRefreshToken"
"Permissions"
"PermissionsGroup"
"PermissionsGroupMembership"
"PermissionsRevision"
"PersistedInfo"
"PremiumFeaturesCache"
"Pulse"
"PulseCard"
"PulseChannel"
"PulseChannelRecipient"
"Query"
"QueryAction"
"QueryCache"
"QueryExecution"
"QueryField"
"QueryTable"
"RecentViews"
"ReplacementRun"
"RemoteSyncObject"
"RemoteSyncTask"
"ResultMetadataStatus"
"Revision"
"Sandbox"
"SearchIndexMetadata"
"Secret"
"SecurityAdvisory"
"SemanticSearchTokenTracking"
"Session"
"SourceDimensionDaily"
"SourceDimensionProfileDaily"
"SourceMetricDaily"
"SourceSegmentCompositeDaily"
"SourceSegmentDaily"
"SsoRelayState"
"StoredResult"
"StoredResultUse"
"SupportAccessGrantLog"
"TaskHistory"
"TaskRun"
"Tenant"
"TransformDagRun"
"TransformJobRun"
"TransformRun"
"TransformRunCancelation"
"TransformTestRun"
"Undo"
"User"
"UserKeyValue"
"UserParameterValue"
"ViewLog"])