@utiliread/primitives 1.0.0-120 → 1.0.0-121

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.
package/src/index.ts CHANGED
@@ -2,50 +2,31 @@ import "./repository"; // We need this to get the Repository namespace exported
2
2
 
3
3
  import * as registers2 from "./registers";
4
4
 
5
- import { DayOfWeek, Step } from "./step";
6
- import {
5
+ import { Duration } from "./luxon-local";
6
+
7
+ export { DayOfWeek, Step } from "./step";
8
+ export {
7
9
  NumberFormatter,
8
10
  invariantDecimalSeparator,
9
11
  localeDecimalSeparator,
10
12
  } from "./number-formatter";
11
13
 
12
- import type { AggregateId } from "./aggregate-id";
13
- import type { BreakdownPeriod } from "./breakdown-rule";
14
- import { BreakdownRule } from "./breakdown-rule";
15
- import { Duration } from "./luxon-local";
16
- import type { MeasureId } from "./measure-id";
17
- import type { Medium } from "./medium";
18
- import type { Optional } from "./optional";
19
- import { PrecisionNumber } from "./precision-number";
20
- import { RegisterConvention } from "./register-convention";
21
- import type { RegisterDefinition } from "./register-definition";
22
- import type { RegisterId } from "./register-id";
23
- import { RegisterLibrary } from "./register-library";
24
- import { Repository } from "./repository";
25
- import { TimeOrRule } from "./time-or-rule";
26
- import type { UnitId } from "./unit-id";
14
+ export type { AggregateId } from "./aggregate-id";
15
+ export type { BreakdownPeriod } from "./breakdown-rule";
16
+ export { BreakdownRule } from "./breakdown-rule";
17
+ export type { MeasureId } from "./measure-id";
18
+ export type { Medium } from "./medium";
19
+ export type { Optional } from "./optional";
20
+ export { PrecisionNumber } from "./precision-number";
21
+ export { RegisterConvention } from "./register-convention";
22
+ export type { RegisterDefinition } from "./register-definition";
23
+ export type { RegisterId } from "./register-id";
24
+ export { RegisterLibrary } from "./register-library";
25
+ export { Repository } from "./repository";
26
+ export { TimeOrRule } from "./time-or-rule";
27
+ export type { UnitId } from "./unit-id";
27
28
 
28
29
  export {
29
- AggregateId,
30
- BreakdownPeriod,
31
- BreakdownRule,
32
- DayOfWeek,
33
- invariantDecimalSeparator,
34
- localeDecimalSeparator,
35
- MeasureId,
36
- Medium,
37
- NumberFormatter,
38
- Optional,
39
- PrecisionNumber,
40
- RegisterConvention,
41
- RegisterDefinition,
42
- RegisterId,
43
- RegisterLibrary,
44
- Repository,
45
- Step,
46
- TimeOrRule,
47
- UnitId,
48
-
49
30
  // Hack to force parcel to include Duration in typings file
50
31
  // Otherwise it seems to only include DateTime in the dist/index.d.ts which causes the file to be invalid
51
32
  // The reason for the ./parcel-workaround file is that it seems to generate the expected typings.