@dpuse/dpuse-shared 1.0.205 → 1.0.206

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.
@@ -114,8 +114,9 @@ export interface DeclaredReadingConfig {
114
114
  hasHeaders: boolean | undefined;
115
115
  valueDelimiterId: ValueDelimiterId | undefined;
116
116
  }
117
- export type NumericReadingConfig = Pick<ColumnAuditConfig, 'dataSubtypeId' | 'validMaxDecimals' | 'validMaxWholeDigits' | 'validMinDecimals' | 'validMinWholeDigits'>;
118
- export type DateReadingConfig = Pick<ColumnAuditConfig, 'validFormats'>;
117
+ export type NumericReadingConfig = Pick<ColumnAuditConfig, 'dataSubtypeId' | 'validMaxDecimals' | 'validMaxWholeDigits' | 'validMinDecimals' | 'validMinWholeDigits'> & ValueDistributionConfig;
118
+ export type DateReadingConfig = Pick<ColumnAuditConfig, 'validFormats'> & ValueDistributionConfig;
119
+ export type ValueDistributionConfig = Pick<ColumnAuditConfig, 'validDistinctValueCount' | 'validFrequentValues' | 'validHighestValues' | 'validIsUnique' | 'validLeastFrequentValues' | 'validLowestValues' | 'validSingleValueCount' | 'validValueBinOutliers' | 'validValueBinScaleId' | 'validValueBins'>;
119
120
  export type FormatIssueId = 'booleanPairMixed' | 'currencyMixed' | 'dateOrderMixed' | 'dateOrderUnproven' | 'decimalSeparatorMixed' | 'decimalSeparatorUnproven' | 'decimalSeparatorWeaklyProven' | 'percentageMixed' | 'scientificNotationMixed';
120
121
  export interface ValueBinConfig {
121
122
  count: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-shared",
3
- "version": "1.0.205",
3
+ "version": "1.0.206",
4
4
  "private": false,
5
5
  "description": "Common constants, types and utilities used across DPUse projects.",
6
6
  "license": "MIT",