@pbip-tools/core
v0.3.0
Published
Core types and constants for pbip-tools
Maintainers
Readme
@pbip-tools/core
Core types and constants for the pbip-tools monorepo.
Installation
npm install @pbip-tools/coreUsage
import type { PbipProject, TmdlTable, TmdlMeasure } from '@pbip-tools/core';This package is a types-only dependency used by all other @pbip-tools/* packages. It defines the shared data model for PBIP projects, tables, measures, relationships, roles, and visual bindings.
Exports
Types
PbipProject— Top-level project with model, tables, relationshipsTmdlModel— Model with tables, relationships, cultures, roles, expressionsTmdlTable— Table with columns, measures, partitions, hierarchiesTmdlMeasure— Measure with DAX expression, format string, display folderTmdlColumn— Column with data type, sort by, data categoryTmdlRelationship— Relationship with cardinality and cross-filter directionTmdlRole— RLS role with table permissions and DAX filtersVisualBinding— Visual field binding with entity/property referencesTmdlCalculationGroup— Calculation group with items and precedence
Constants
TMDL_FILE_TYPES— Enum of TMDL file types (table, relationship, expression, culture, role)
License
MIT
