@jaws-developers-customers/consulca-types 1.0.3 → 1.0.5
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/index.d.ts +1 -0
- package/index.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -234,6 +234,7 @@ export declare const CONDITION_STATUSES: readonly ConditionStatus[];
|
|
|
234
234
|
export declare const CLAIM_STATUSES: readonly ClaimStatus[];
|
|
235
235
|
export declare const WORK_STATUSES: readonly WorkStatus[];
|
|
236
236
|
export declare const COLOR_PALETTE: Readonly<ColorPalette>;
|
|
237
|
+
export declare const CONSTANTS: Readonly<Constants>;
|
|
237
238
|
|
|
238
239
|
export declare function toDate(value: string | number | Date | null | undefined): Date | null;
|
|
239
240
|
export declare function formatDate(
|
package/index.js
CHANGED
|
@@ -21,8 +21,8 @@ const COLOR_PALETTE = Object.freeze({
|
|
|
21
21
|
text: '#102A43',
|
|
22
22
|
});
|
|
23
23
|
const CONSTANTS = Object.freeze({
|
|
24
|
-
API_DEV: 'api.consulca.local',
|
|
25
|
-
API: 'api.consulca.ch'
|
|
24
|
+
API_DEV: 'https://api.consulca.local',
|
|
25
|
+
API: 'https://api.consulca.ch'
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
function toDate(value) {
|