Skip to content

Commit

Permalink
make values optional
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Sep 26, 2023
1 parent 61d2168 commit 02cc117
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions frontend/src/queries/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,12 +379,12 @@ type TrendsFrontendFilters =
| 'show_percent_stack_view'

type TrendsFrontendSettings = {
showLegend: TrendsFilterType['show_legend']
aggregationAxisFormat: TrendsFilterType['aggregation_axis_format']
aggregationAxisPrefix: TrendsFilterType['aggregation_axis_prefix']
aggregationAxisPostfix: TrendsFilterType['aggregation_axis_postfix']
showValuesOnSeries: TrendsFilterType['show_values_on_series']
showPercentStackView: TrendsFilterType['show_percent_stack_view']
showLegend?: TrendsFilterType['show_legend']
aggregationAxisFormat?: TrendsFilterType['aggregation_axis_format']
aggregationAxisPrefix?: TrendsFilterType['aggregation_axis_prefix']
aggregationAxisPostfix?: TrendsFilterType['aggregation_axis_postfix']
showValuesOnSeries?: TrendsFilterType['show_values_on_series']
showPercentStackView?: TrendsFilterType['show_percent_stack_view']
}

/** `TrendsFilterType` minus everything inherited from `FilterType` and
Expand Down Expand Up @@ -426,7 +426,7 @@ type FunnelsFrontendFilters =
'funnel_step_reference'

type FunnelsFrontendSettings = {
funnelStepReference: FunnelsFilterType['funnel_step_reference']
funnelStepReference?: FunnelsFilterType['funnel_step_reference']
}

/** `FunnelsFilterType` minus everything inherited from `FilterType` and persons modal related params
Expand Down Expand Up @@ -470,7 +470,7 @@ type StickinessPersonsFilters = 'stickiness_days'
type StickinessFrontendFilters = 'show_values_on_series'

type StickinessFrontendSettings = {
showValuesOnSeries: StickinessFilterType['show_values_on_series']
showValuesOnSeries?: StickinessFilterType['show_values_on_series']
}

/** `StickinessFilterType` minus everything inherited from `FilterType` and persons modal related params
Expand All @@ -492,7 +492,7 @@ export interface StickinessQuery extends InsightsQueryBase {
type LifecycleFrontendFilters = 'show_values_on_series'

type LifecycleFrontendSettings = {
showValuesOnSeries: LifecycleFilterType['show_values_on_series']
showValuesOnSeries?: LifecycleFilterType['show_values_on_series']
}

/** `LifecycleFilterType` minus everything inherited from `FilterType` */
Expand Down

0 comments on commit 02cc117

Please sign in to comment.