Skip to content

Commit

Permalink
fix: mark kanbanFieldMetadataId as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
magrinj committed Dec 3, 2024
1 parent dea294f commit 6200f28
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/twenty-front/src/modules/views/types/GraphQLView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export type GraphQLView = {
name: string;
type: ViewType;
key: ViewKey | null;
/**
* @deprecated Use `viewGroups.fieldMetadataId` instead.
*/
kanbanFieldMetadataId: string;
objectMetadataId: string;
isCompact: boolean;
Expand Down
3 changes: 3 additions & 0 deletions packages/twenty-front/src/modules/views/types/View.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ export type View = {
viewFilters: ViewFilter[];
viewFilterGroups?: ViewFilterGroup[];
viewSorts: ViewSort[];
/**
* @deprecated Use `viewGroups.fieldMetadataId` instead.
*/
kanbanFieldMetadataId: string;
position: number;
icon: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ export class ViewWorkspaceEntity extends BaseWorkspaceEntity {
label: 'kanbanfieldMetadataId',
description: 'View Kanban column field',
})
/**
* @deprecated Use `viewGroups.fieldMetadataId` instead
*/
kanbanFieldMetadataId: string;

@WorkspaceField({
Expand Down

0 comments on commit 6200f28

Please sign in to comment.