@dpuse/dpuse-shared 1.0.233 → 1.0.235

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -99,6 +99,7 @@ export interface ColumnAuditConfig extends ColumnReadingConfig {
99
99
  dateReadings?: Partial<Record<DateOrderId, DateReadingConfig>> | undefined;
100
100
  formatIssueIds: FormatIssueId[] | undefined;
101
101
  nullWordValueCount?: number | undefined;
102
+ isCoded?: boolean | undefined;
102
103
  validValueCount: number | undefined;
103
104
  invalidValueCount: number | undefined;
104
105
  blankValueCount: number | undefined;
@@ -112,6 +113,7 @@ export interface ColumnAuditConfig extends ColumnReadingConfig {
112
113
  validMaxWholeDigits: number | undefined;
113
114
  validMinDecimals: number | undefined;
114
115
  validMaxDecimals: number | undefined;
116
+ validCountsAreEstimated?: boolean | undefined;
115
117
  validDistinctValueCount: number | undefined;
116
118
  validSingleValueCount?: number | undefined;
117
119
  invalidDistinctValueCount?: number | undefined;
@@ -140,7 +142,7 @@ export interface DeclaredReadingConfig {
140
142
  }
141
143
  export type NumericReadingConfig = Pick<ColumnAuditConfig, 'dataSubtypeId' | 'validMaxDecimals' | 'validMaxWholeDigits' | 'validMinDecimals' | 'validMinWholeDigits'> & ValueDistributionConfig;
142
144
  export type DateReadingConfig = Pick<ColumnAuditConfig, 'validFormats'> & ValueDistributionConfig;
143
- export type ValueDistributionConfig = Pick<ColumnAuditConfig, 'validDistinctValueCount' | 'validFrequentValues' | 'validHighestValues' | 'validIsUnique' | 'validLeastFrequentValues' | 'validLowestValues' | 'validSingleValueCount' | 'validValueBinOutliers' | 'validValueBinScaleId' | 'validValueBins'>;
145
+ export type ValueDistributionConfig = Pick<ColumnAuditConfig, 'validCountsAreEstimated' | 'validDistinctValueCount' | 'validFrequentValues' | 'validHighestValues' | 'validIsUnique' | 'validLeastFrequentValues' | 'validLowestValues' | 'validSingleValueCount' | 'validValueBinOutliers' | 'validValueBinScaleId' | 'validValueBins'>;
144
146
  export type FormatIssueId = 'booleanPairMixed' | 'currencyMixed' | 'dateOrderMixed' | 'dateOrderUnproven' | 'decimalSeparatorMixed' | 'decimalSeparatorUnproven' | 'decimalSeparatorWeaklyProven' | 'percentageMixed' | 'scientificNotationMixed';
145
147
  export interface ValueBinConfig {
146
148
  count: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-shared",
3
- "version": "1.0.233",
3
+ "version": "1.0.235",
4
4
  "private": false,
5
5
  "description": "Common constants, types and utilities used across DPUse projects.",
6
6
  "license": "MIT",