@bluealba/pae-ui-react-core 4.0.1-feature-feature-flags-1245 → 4.0.1-feature-feature-flags-1247
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/dist/index.cjs.js +13 -13
- package/dist/index.esm.js +1231 -1239
- package/dist/index.systemjs.js +13 -13
- package/dist/index.umd.js +13 -13
- package/dist/src/feature-flags/index.d.ts +1 -1
- package/dist/src/feature-flags/types.d.ts +0 -34
- package/package.json +1 -1
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
38
|
export { FeatureFlagsApiClient } from './FeatureFlagsApiClient';
|
|
39
|
-
export type { FlagEvaluationResult, FeatureFlagVariant, FeatureFlagsResponse,
|
|
39
|
+
export type { FlagEvaluationResult, FeatureFlagVariant, FeatureFlagsResponse, UnifiedEvaluationResponse, } from './types';
|
|
40
40
|
export { FeatureFlagsProvider, FeatureFlagsContext, type FeatureFlagsProviderProps, type FeatureFlagsContextValue, } from './FeatureFlagsProvider';
|
|
41
41
|
export { useFeatureFlag } from './useFeatureFlag';
|
|
42
42
|
export { useFeatureFlags } from './useFeatureFlags';
|
|
@@ -54,40 +54,6 @@ export interface FeatureFlagsResponse {
|
|
|
54
54
|
*/
|
|
55
55
|
evaluatedAt: Date;
|
|
56
56
|
}
|
|
57
|
-
/**
|
|
58
|
-
* Response from single flag evaluation endpoint
|
|
59
|
-
*/
|
|
60
|
-
export interface SingleFlagResponse {
|
|
61
|
-
/**
|
|
62
|
-
* Name of the feature flag
|
|
63
|
-
*/
|
|
64
|
-
flagName: string;
|
|
65
|
-
/**
|
|
66
|
-
* Whether the flag is enabled
|
|
67
|
-
*/
|
|
68
|
-
enabled: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Timestamp when the flag was evaluated
|
|
71
|
-
*/
|
|
72
|
-
evaluatedAt: Date;
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Response from variant endpoint
|
|
76
|
-
*/
|
|
77
|
-
export interface VariantResponse {
|
|
78
|
-
/**
|
|
79
|
-
* Name of the feature flag
|
|
80
|
-
*/
|
|
81
|
-
flagName: string;
|
|
82
|
-
/**
|
|
83
|
-
* The selected variant name (undefined if no variant)
|
|
84
|
-
*/
|
|
85
|
-
variant: string | undefined;
|
|
86
|
-
/**
|
|
87
|
-
* Timestamp when the variant was evaluated
|
|
88
|
-
*/
|
|
89
|
-
evaluatedAt: Date;
|
|
90
|
-
}
|
|
91
57
|
/**
|
|
92
58
|
* Unified evaluation response from the gateway API
|
|
93
59
|
* This is returned by the unified endpoint: GET /_/feature-flags/:flagName
|