Skip to content

Instantly share code, notes, and snippets.

@jodyheavener
Created October 30, 2020 01:33
Show Gist options
  • Select an option

  • Save jodyheavener/09db471b0bd0bcda46cede5d9f430642 to your computer and use it in GitHub Desktop.

Select an option

Save jodyheavener/09db471b0bd0bcda46cede5d9f430642 to your computer and use it in GitHub Desktop.
diff --git a/app/experimenter/nimbus-ui/src/gql/experiments.ts b/app/experimenter/nimbus-ui/src/gql/experiments.ts
index 384c3c7c..2c2c6de1 100644
--- a/app/experimenter/nimbus-ui/src/gql/experiments.ts
+++ b/app/experimenter/nimbus-ui/src/gql/experiments.ts
@@ -60,6 +60,15 @@ export const GET_EXPERIMENT_QUERY = gql`
populationPercent
totalEnrolledClients
proposedEnrollment
+
+ featureConfig {
+ slug
+ name
+ description
+ application
+ ownerEmail
+ schema
+ }
}
}
`;
diff --git a/app/experimenter/nimbus-ui/src/types/getExperiment.ts b/app/experimenter/nimbus-ui/src/types/getExperiment.ts
index d302afa6..5db3ccb9 100644
--- a/app/experimenter/nimbus-ui/src/types/getExperiment.ts
+++ b/app/experimenter/nimbus-ui/src/types/getExperiment.ts
@@ -35,6 +35,16 @@ export interface getExperiment_experimentBySlug_probeSets {
name: string;
}
+export interface getExperiment_experimentBySlug_featureConfig {
+ __typename: "NimbusFeatureConfigType";
+ slug: string;
+ name: string;
+ description: string | null;
+ application: NimbusFeatureConfigApplication | null;
+ ownerEmail: string | null;
+ schema: string | null;
+}
+
export interface getExperiment_experimentBySlug {
__typename: "NimbusExperimentType";
name: string;
@@ -52,6 +62,7 @@ export interface getExperiment_experimentBySlug {
populationPercent: number | null;
totalEnrolledClients: number;
proposedEnrollment: number | null;
+ featureConfig: getExperiment_experimentBySlug_featureConfig | null;
}
export interface getExperiment {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment