-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfiguration.ts
More file actions
38 lines (37 loc) · 1.05 KB
/
Configuration.ts
File metadata and controls
38 lines (37 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
* @module Effect/Configuration
* @description
* Atomic configuration service using Effect-TS.
* Consolidates configuration fetching, validation, and reactive updates.
* Replaces duplicated logic in Preload, MountainIntegrationService, and MountainWindSync.
*
* @deprecated This file is maintained for backward compatibility.
* Please import from {@link ./Configuration/index.ts} instead.
*
* @example
* ```ts
* // Old (still works):
* import { Configuration, ConfigurationLive } from "./Effect/Configuration.js";
*
* // New (recommended):
* import { Configuration, ConfigurationLive } from "./Effect/Configuration/index.js";
* ```
*/
// Re-export from atomic modules for backward compatibility
export {
ConfigFetchError,
ConfigValidationError,
ConfigApplyError,
type ConfigSchemaIssue,
type ConfigurationService,
ConfigurationTag,
ValidateConfiguration,
MakeValidate,
MakeApply,
GetConfigValue,
ConfigurationLive,
ConfigurationWithSyncLive,
ConfigurationMock,
makeMockConfiguration,
Configuration,
} from "./Configuration/index.js";