@forge/bridge
5.14.0-next.45.14.0-next.5
out/featureFlags/types.d.ts+
out/featureFlags/types.d.tsNew file+29
Index: package/out/featureFlags/types.d.ts
===================================================================
--- package/out/featureFlags/types.d.ts
+++ package/out/featureFlags/types.d.ts
@@ -0,0 +1,29 @@
+export interface ForgeFeatureFlagConfig {
+ environment: FeatureFlagEnvironment;
+}
+export interface FeatureFlagUser {
+ attributes?: Record<string, string | number>;
+ identifiers?: {
+ installContext?: string;
+ accountId?: string;
+ };
+}
+export declare type InitFeatureFlagsPayload = {
+ user: FeatureFlagUser;
+ config: ForgeFeatureFlagConfig;
+};
+export declare type InitFeatureFlagsResponse = Record<string, any> | void;
+export declare enum FeatureFlagEventType {
+ CHECKFLAG = "checkFlag"
+}
+export declare type FeatureFlagEnvironment = 'development' | 'staging' | 'production';
+export declare type FeatureFlagEventProperties = {
+ environment?: FeatureFlagEnvironment;
+ success?: boolean;
+ name?: string;
+};
+export declare type FeatureFlagEventTrackPayload = {
+ type: FeatureFlagEventType;
+ properties: FeatureFlagEventProperties;
+};
+//# sourceMappingURL=types.d.ts.map
\ No newline at end of file