@uwrl/qc-utils 0.0.15 → 0.0.17

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.
Files changed (31) hide show
  1. package/dist/index.d.ts +3 -2
  2. package/dist/index.js +1647 -292
  3. package/dist/index.umd.cjs +5 -3
  4. package/dist/models/dataSource.d.ts +173 -0
  5. package/dist/models/index.d.ts +2 -0
  6. package/dist/models/payload.d.ts +24 -0
  7. package/dist/models/settings.d.ts +65 -0
  8. package/dist/models/timestamp.d.ts +150 -0
  9. package/dist/services/api.d.ts +147 -0
  10. package/dist/services/apiMethods.d.ts +8 -0
  11. package/dist/services/createPatchObject.d.ts +17 -0
  12. package/dist/services/getCSRFToken.d.ts +1 -0
  13. package/dist/services/index.d.ts +6 -0
  14. package/dist/services/requestInterceptor.d.ts +12 -0
  15. package/dist/services/responseInterceptor.d.ts +2 -0
  16. package/dist/types/index.d.ts +350 -0
  17. package/dist/utils/__tests__/ellapsed-time.spec.d.ts +1 -0
  18. package/dist/utils/__tests__/observations.spec.d.ts +1 -0
  19. package/dist/utils/ellapsed-time.d.ts +4 -0
  20. package/dist/utils/format.d.ts +5 -0
  21. package/dist/utils/index.d.ts +5 -0
  22. package/dist/utils/observations.d.ts +5 -0
  23. package/dist/utils/plotting/__tests__/observation-record.spec.d.ts +1 -0
  24. package/dist/utils/plotting/{observationRecord.d.ts → observation-record.d.ts} +8 -23
  25. package/package.json +1 -1
  26. package/dist/types.d.ts +0 -51
  27. package/dist/utils/ellapsedTime.d.ts +0 -0
  28. package/dist/utils/observationsUtils.d.ts +0 -0
  29. /package/dist/{utils/__tests__/ellapsedTime.spec.d.ts → services/__tests__/createPatchObject.spec.d.ts} +0 -0
  30. /package/dist/{utils/__tests__/observationsUtils.spec.d.ts → services/__tests__/requestInterceptor.spec.d.ts} +0 -0
  31. /package/dist/{utils/plotting/__tests__/observationRecord.spec.d.ts → services/__tests__/responseInterceptor.spec.d.ts} +0 -0
package/dist/types.d.ts DELETED
@@ -1,51 +0,0 @@
1
- export declare enum EnumEditOperations {
2
- ADD_POINTS = "ADD_POINTS",
3
- CHANGE_VALUES = "CHANGE_VALUES",
4
- DELETE_POINTS = "DELETE_POINTS",
5
- DRIFT_CORRECTION = "DRIFT_CORRECTION",
6
- INTERPOLATE = "INTERPOLATE",
7
- SHIFT_DATETIMES = "SHIFT_DATETIMES",
8
- FILL_GAPS = "FILL_GAPS"
9
- }
10
- export declare enum EnumFilterOperations {
11
- FIND_GAPS = "FIND_GAPS",
12
- PERSISTENCE = "PERSISTENCE",
13
- RATE_OF_CHANGE = "RATE_OF_CHANGE",
14
- VALUE_THRESHOLD = "VALUE_THRESHOLD"
15
- }
16
- export type HistoryItem = {
17
- method: EnumEditOperations;
18
- icon: string;
19
- isLoading: boolean;
20
- args?: any[];
21
- duration?: number;
22
- status?: 'success' | 'failed';
23
- };
24
- export type EnumDictionary<T extends string | symbol | number, U> = {
25
- [K in T]: U;
26
- };
27
- export declare enum FilterOperation {
28
- LT = "Less than",
29
- LTE = "Less than or equal to",
30
- GT = "Greater than",
31
- GTE = "Greater than or equal to",
32
- E = "Equal",
33
- START = "Start datetime",
34
- END = "End datetime"
35
- }
36
- export declare const FilterOperationFn: EnumDictionary<FilterOperation, (value: number, toCompare: number) => boolean>;
37
- export declare enum Operator {
38
- ADD = "ADD",
39
- SUB = "SUB",
40
- MULT = "MULT",
41
- DIV = "DIV",
42
- ASSIGN = "ASSIGN"
43
- }
44
- export declare enum RateOfChangeOperation {
45
- LT = "Less than",
46
- LTE = "Less than or equal to",
47
- GT = "Greater than",
48
- GTE = "Greater than or equal to",
49
- E = "Equal"
50
- }
51
- export declare const RateOfChangeComparator: EnumDictionary<RateOfChangeOperation, (value: number, toCompare: number) => boolean>;
File without changes
File without changes