The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Standardize twenty-shared page-layout type filenames (#26370)
BOHEUSbf0bc0964725
diff --git a/packages/twenty-shared/src/types/index.ts b/packages/twenty-shared/src/types/index.tsindex ff648f2ca83..7617d5c65e3 100644--- a/packages/twenty-shared/src/types/index.ts+++ b/packages/twenty-shared/src/types/index.ts@@ -204,10 +204,13 @@ export type {ChartRecordFilterGroup,ChartFilter,UniversalChartFilter,-} from './page-layout/chart-filter.type';-export type { GraphWidgetConfigurationType } from './page-layout/graph-widget-configuration-type';-export { GRAPH_WIDGET_CONFIGURATION_TYPES } from './page-layout/graph-widget-configuration-type';-export type { GridPosition } from './page-layout/grid-position.type';+} from './page-layout/ChartFilter';+export type { GraphWidgetConfigurationType } from './page-layout/GraphWidgetConfigurationType';+export { GRAPH_WIDGET_CONFIGURATION_TYPES } from './page-layout/GraphWidgetConfigurationType';+export type { GridPosition } from './page-layout/GridPosition';+export { PageLayoutTabLayoutMode } from './page-layout/PageLayoutTabLayoutMode';+export { PageLayoutType } from './page-layout/PageLayoutType';+export type { PageLayoutWidgetConditionalDisplay } from './page-layout/PageLayoutWidgetConditionalDisplay';export type {AggregateChartConfiguration,PieChartConfiguration,@@ -237,19 +240,16 @@ export type {WorkflowVersionConfiguration,WorkflowRunConfiguration,PageLayoutWidgetConfiguration,-} from './page-layout/page-layout-widget-configuration.type';+} from './page-layout/PageLayoutWidgetConfiguration';export type {PageLayoutWidgetGridPosition,PageLayoutWidgetVerticalListPosition,PageLayoutWidgetCanvasPosition,PageLayoutWidgetPosition,-} from './page-layout/page-layout-widget-position.type';-export type { PageLayoutWidgetUniversalConfiguration } from './page-layout/page-layout-widget-universal-configuration.type';-export { PageLayoutTabLayoutMode } from './page-layout/PageLayoutTabLayoutMode';-export { PageLayoutType } from './page-layout/PageLayoutType';-export type { PageLayoutWidgetConditionalDisplay } from './page-layout/PageLayoutWidgetConditionalDisplay';+} from './page-layout/PageLayoutWidgetPosition';+export type { PageLayoutWidgetUniversalConfiguration } from './page-layout/PageLayoutWidgetUniversalConfiguration';export { PageLayoutWidgetVerticalListHeightBehavior } from './page-layout/PageLayoutWidgetVerticalListHeightBehavior';-export type { RatioAggregateConfig } from './page-layout/ratio-aggregate-config.type';+export type { RatioAggregateConfig } from './page-layout/RatioAggregateConfig';export { WidgetType } from './page-layout/WidgetType';export type { PartialFieldMetadataItem } from './PartialFieldMetadataItem';export type { PartialFieldMetadataItemOption } from './PartialFieldMetadataOption';diff --git a/packages/twenty-shared/src/types/page-layout/chart-filter.type.ts b/packages/twenty-shared/src/types/page-layout/ChartFilter.tssimilarity index 100%rename from packages/twenty-shared/src/types/page-layout/chart-filter.type.tsrename to packages/twenty-shared/src/types/page-layout/ChartFilter.tsdiff --git a/packages/twenty-shared/src/types/page-layout/graph-widget-configuration-type.ts b/packages/twenty-shared/src/types/page-layout/GraphWidgetConfigurationType.tssimilarity index 76%rename from packages/twenty-shared/src/types/page-layout/graph-widget-configuration-type.tsrename to packages/twenty-shared/src/types/page-layout/GraphWidgetConfigurationType.tsindex fa3e46a9693..2abba218540 100644--- a/packages/twenty-shared/src/types/page-layout/graph-widget-configuration-type.ts+++ b/packages/twenty-shared/src/types/page-layout/GraphWidgetConfigurationType.ts@@ -1,4 +1,4 @@-import { type PageLayoutWidgetConfiguration } from './page-layout-widget-configuration.type';+import { type PageLayoutWidgetConfiguration } from './PageLayoutWidgetConfiguration';export const GRAPH_WIDGET_CONFIGURATION_TYPES = ['AGGREGATE_CHART',diff --git a/packages/twenty-shared/src/types/page-layout/grid-position.type.ts b/packages/twenty-shared/src/types/page-layout/GridPosition.tssimilarity index 100%rename from packages/twenty-shared/src/types/page-layout/grid-position.type.tsrename to packages/twenty-shared/src/types/page-layout/GridPosition.tsdiff --git a/packages/twenty-shared/src/types/page-layout/page-layout-widget-configuration.type.ts b/packages/twenty-shared/src/types/page-layout/PageLayoutWidgetConfiguration.tssimilarity index 97%rename from packages/twenty-shared/src/types/page-layout/page-layout-widget-configuration.type.tsrename to packages/twenty-shared/src/types/page-layout/PageLayoutWidgetConfiguration.tsindex 731e8161e5c..3c760eab171 100644--- a/packages/twenty-shared/src/types/page-layout/page-layout-widget-configuration.type.ts+++ b/packages/twenty-shared/src/types/page-layout/PageLayoutWidgetConfiguration.ts@@ -2,8 +2,8 @@ import { type AggregateOperations } from '../AggregateOperations';import { type ObjectRecordGroupByDateGranularity } from '../ObjectRecordGroupByDateGranularity';import { type SerializedRelation } from '../SerializedRelation';-import { type ChartFilter } from './chart-filter.type';-import { type RatioAggregateConfig } from './ratio-aggregate-config.type';+import { type ChartFilter } from './ChartFilter';+import { type RatioAggregateConfig } from './RatioAggregateConfig';type BaseChartConfiguration = {aggregateFieldMetadataId: SerializedRelation;diff --git a/packages/twenty-shared/src/types/page-layout/page-layout-widget-position.type.ts b/packages/twenty-shared/src/types/page-layout/PageLayoutWidgetPosition.tssimilarity index 100%rename from packages/twenty-shared/src/types/page-layout/page-layout-widget-position.type.tsrename to packages/twenty-shared/src/types/page-layout/PageLayoutWidgetPosition.tsdiff --git a/packages/twenty-shared/src/types/page-layout/page-layout-widget-universal-configuration.type.ts b/packages/twenty-shared/src/types/page-layout/PageLayoutWidgetUniversalConfiguration.tssimilarity index 71%rename from packages/twenty-shared/src/types/page-layout/page-layout-widget-universal-configuration.type.tsrename to packages/twenty-shared/src/types/page-layout/PageLayoutWidgetUniversalConfiguration.tsindex 929c618aa80..4186a69d560 100644--- a/packages/twenty-shared/src/types/page-layout/page-layout-widget-universal-configuration.type.ts+++ b/packages/twenty-shared/src/types/page-layout/PageLayoutWidgetUniversalConfiguration.ts@@ -1,6 +1,6 @@import { type FormatRecordSerializedRelationProperties } from '../FormatRecordSerializedRelationProperties';-import { type PageLayoutWidgetConfiguration } from './page-layout-widget-configuration.type';+import { type PageLayoutWidgetConfiguration } from './PageLayoutWidgetConfiguration';export type PageLayoutWidgetUniversalConfiguration =FormatRecordSerializedRelationProperties<PageLayoutWidgetConfiguration>;diff --git a/packages/twenty-shared/src/types/page-layout/ratio-aggregate-config.type.ts b/packages/twenty-shared/src/types/page-layout/RatioAggregateConfig.tssimilarity index 100%rename from packages/twenty-shared/src/types/page-layout/ratio-aggregate-config.type.tsrename to packages/twenty-shared/src/types/page-layout/RatioAggregateConfig.ts