Migrate field widgets to backend (#18808)
- Renamed FieldConfiguration's layout field to fieldDisplayMode as it caused issues with the layout field of BarChartConfiguration - Create relation Field widgets for standard objects --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
committed by
GitHub
parent
d90d2e3151
commit
be89ef30cd
@@ -1156,6 +1156,15 @@ type EmailsConfiguration {
|
||||
|
||||
type FieldConfiguration {
|
||||
configurationType: WidgetConfigurationType!
|
||||
fieldMetadataId: String!
|
||||
fieldDisplayMode: FieldDisplayMode!
|
||||
}
|
||||
|
||||
"""Display mode for field configuration widgets"""
|
||||
enum FieldDisplayMode {
|
||||
CARD
|
||||
FIELD
|
||||
VIEW
|
||||
}
|
||||
|
||||
type FieldRichTextConfiguration {
|
||||
|
||||
@@ -874,9 +874,15 @@ export interface EmailsConfiguration {
|
||||
|
||||
export interface FieldConfiguration {
|
||||
configurationType: WidgetConfigurationType
|
||||
fieldMetadataId: Scalars['String']
|
||||
fieldDisplayMode: FieldDisplayMode
|
||||
__typename: 'FieldConfiguration'
|
||||
}
|
||||
|
||||
|
||||
/** Display mode for field configuration widgets */
|
||||
export type FieldDisplayMode = 'CARD' | 'FIELD' | 'VIEW'
|
||||
|
||||
export interface FieldRichTextConfiguration {
|
||||
configurationType: WidgetConfigurationType
|
||||
__typename: 'FieldRichTextConfiguration'
|
||||
@@ -3933,6 +3939,8 @@ export interface EmailsConfigurationGenqlSelection{
|
||||
|
||||
export interface FieldConfigurationGenqlSelection{
|
||||
configurationType?: boolean | number
|
||||
fieldMetadataId?: boolean | number
|
||||
fieldDisplayMode?: boolean | number
|
||||
__typename?: boolean | number
|
||||
__scalar?: boolean | number
|
||||
}
|
||||
@@ -8890,6 +8898,12 @@ export const enumBarChartLayout = {
|
||||
HORIZONTAL: 'HORIZONTAL' as const
|
||||
}
|
||||
|
||||
export const enumFieldDisplayMode = {
|
||||
CARD: 'CARD' as const,
|
||||
FIELD: 'FIELD' as const,
|
||||
VIEW: 'VIEW' as const
|
||||
}
|
||||
|
||||
export const enumPageLayoutType = {
|
||||
RECORD_INDEX: 'RECORD_INDEX' as const,
|
||||
RECORD_PAGE: 'RECORD_PAGE' as const,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user