Update enums to be all caps (#12372)

- Make custom domain public (remove from lab)
- Use ALL_CAPS definition for enums
This commit is contained in:
Félix Malfait
2025-05-29 14:08:36 +02:00
committed by GitHub
parent 76d0be7f81
commit 4485e8e3db
165 changed files with 845 additions and 847 deletions

View File

@ -40,7 +40,7 @@ export const mockedClientConfig: ClientConfig = {
],
},
captcha: {
provider: CaptchaDriverType.GoogleRecaptcha,
provider: CaptchaDriverType.GOOGLE_RECAPTCHA,
siteKey: 'MOCKED_SITE_KEY',
},
api: { mutationMaximumAffectedRecords: 100 },

View File

@ -59,15 +59,15 @@ export const mockCurrentWorkspace: Workspace = {
isMicrosoftAuthEnabled: false,
featureFlags: [
{
key: FeatureFlagKey.IsAirtableIntegrationEnabled,
key: FeatureFlagKey.IS_AIRTABLE_INTEGRATION_ENABLED,
value: true,
},
{
key: FeatureFlagKey.IsPostgreSQLIntegrationEnabled,
key: FeatureFlagKey.IS_POSTGRESQL_INTEGRATION_ENABLED,
value: true,
},
{
key: FeatureFlagKey.IsWorkflowEnabled,
key: FeatureFlagKey.IS_WORKFLOW_ENABLED,
value: true,
},
],

View File

@ -1,4 +1,4 @@
import { AGGREGATE_OPERATIONS } from '@/object-record/record-table/constants/AggregateOperations';
import { AggregateOperations } from '@/object-record/record-table/constants/AggregateOperations';
import { View } from '@/views/types/View';
import { ViewKey } from '@/views/types/ViewKey';
import { ViewOpenRecordInType } from '@/views/types/ViewOpenRecordInType';
@ -26,7 +26,7 @@ export const mockedViewsData: View[] = [
icon: 'IconSkyline',
key: ViewKey.Index,
kanbanFieldMetadataId: '',
kanbanAggregateOperation: AGGREGATE_OPERATIONS.count,
kanbanAggregateOperation: AggregateOperations.COUNT,
kanbanAggregateOperationFieldMetadataId: '',
position: 0,
isCompact: false,
@ -46,7 +46,7 @@ export const mockedViewsData: View[] = [
icon: 'IconPerson',
key: ViewKey.Index,
kanbanFieldMetadataId: '',
kanbanAggregateOperation: AGGREGATE_OPERATIONS.count,
kanbanAggregateOperation: AggregateOperations.COUNT,
kanbanAggregateOperationFieldMetadataId: '',
position: 0,
isCompact: false,
@ -66,7 +66,7 @@ export const mockedViewsData: View[] = [
icon: 'IconOpportunity',
key: ViewKey.Index,
kanbanFieldMetadataId: '',
kanbanAggregateOperation: AGGREGATE_OPERATIONS.count,
kanbanAggregateOperation: AggregateOperations.COUNT,
kanbanAggregateOperationFieldMetadataId: '',
position: 0,
isCompact: false,
@ -86,7 +86,7 @@ export const mockedViewsData: View[] = [
icon: 'IconSkyline',
key: null,
kanbanFieldMetadataId: '',
kanbanAggregateOperation: AGGREGATE_OPERATIONS.count,
kanbanAggregateOperation: AggregateOperations.COUNT,
kanbanAggregateOperationFieldMetadataId: '',
position: 0,
isCompact: false,