From 0125d58ba84044368351f4b079601b569d1497c5 Mon Sep 17 00:00:00 2001 From: nitin <142569587+ehconitin@users.noreply.github.com> Date: Mon, 18 Nov 2024 19:52:19 +0530 Subject: [PATCH] Favorite folders (#7998) closes - #5755 --------- Co-authored-by: martmull Co-authored-by: Lucas Bordeau Co-authored-by: Charles Bochet --- .../components/DeleteRecordsActionEffect.tsx | 4 +- .../ManageFavoritesActionEffect.tsx | 8 +- .../components/RecordShowActionMenu.tsx | 6 +- .../hooks/__tests__/useCompleteTask.test.tsx | 1 + .../CurrentWorkspaceMemberFavorites.tsx | 288 +- ...CurrentWorkspaceMemberFavoritesFolders.tsx | 137 + ...riteFolderNavigationDrawerItemDropdown.tsx | 65 + .../favorites/components/FavoriteIcon.tsx | 27 + .../favorites/components/FavoritesFolders.tsx | 85 + ...oriteFolderRightIconDropdownHotkeyScope.ts | 4 + .../FavoriteFolderMenuItemMultiSelect.tsx | 10 + .../components/FavoriteFolderPicker.tsx | 104 + .../components/FavoriteFolderPickerEffect.tsx | 82 + .../components/FavoriteFolderPickerFooter.tsx | 43 + .../components/FavoriteFolderPickerList.tsx | 74 + .../FavoriteFolderPickerSearchInput.tsx | 31 + .../FavoriteFolderPickerDropdownId.ts | 2 + .../hooks/useFavoriteFolderPicker.ts | 129 + .../scopes/FavoriteFolderPickerScope.tsx | 20 + .../FavoriteFolderPickerInstanceContext.ts | 4 + .../favoriteFolderIdPickerComponentState.ts | 10 + .../favoriteFolderLoadingComponentState.ts | 9 + ...voriteFolderPickerCheckedComponentState.ts | 10 + ...avoriteFolderPickerComponentFamilyState.ts | 10 + ...voriteFoldersSearchFilterComponentState.ts | 9 + .../favorites/hooks/__mocks__/useFavorites.ts | 605 +- .../__tests__/useCreateFavorite.test.tsx | 53 + .../__tests__/useDeleteFavorite.test.tsx | 47 + .../hooks/__tests__/useFavorites.test.tsx | 118 +- .../__tests__/useReorderFavorite.test.tsx | 64 + .../favorites/hooks/useCreateFavorite.ts | 38 + .../hooks/useCreateFavoriteFolder.ts | 32 + .../favorites/hooks/useDeleteFavorite.ts | 14 + .../hooks/useDeleteFavoriteFolder.ts | 26 + .../modules/favorites/hooks/useFavorites.ts | 163 +- .../favorites/hooks/useFavoritesByFolder.ts | 62 + .../hooks/usePrefetchedFavoritesData.ts | 46 + .../usePrefetchedFavoritesFoldersData.ts | 38 + .../hooks/useRenameFavoriteFolder.ts | 28 + .../favorites/hooks/useReorderFavorite.ts | 41 + .../favorites/hooks/useSortedFavorites.ts | 75 + .../favorites/hooks/useWorkspaceFavorites.ts | 56 + .../states/activeFavoriteFolderIdState.ts | 6 + .../states/isFavoriteFolderCreatingState.ts | 6 + .../src/modules/favorites/types/Favorite.ts | 1 + .../modules/favorites/types/FavoriteFolder.ts | 9 + .../isLocationMatchingFavorite.test.ts | 55 + .../favorites/utils/calculateNewPosition.ts | 33 + .../getObjectMetadataLabelPluralFromViewId.ts | 40 + .../utils/isLocationMatchingFavorite.ts | 12 + .../modules/favorites/utils/sortFavorites.ts | 46 +- .../components/MainNavigationDrawerItems.tsx | 19 +- ...ObjectMetadataItemsInWorkspaceFavorites.ts | 4 +- ...igationDrawerItemForObjectMetadataItem.tsx | 10 +- .../types/CoreObjectNameSingular.ts | 1 + .../hooks/__mocks__/personFragments.ts | 1 + .../__tests__/useToggleEditOnlyInput.test.tsx | 1 + .../components/RecordIndexPageHeader.tsx | 41 +- .../hooks/useHandleIndexIdentifierClick.ts | 1 - .../record-show/hooks/useRecordShowPage.ts | 8 +- ...bjectRecordsSpreasheetImportDialog.test.ts | 1 + .../components/PrefetchDataProvider.tsx | 6 + ...efetchFavortiteFoldersRunQueriesEffect.tsx | 45 + .../components/PrefetchRunQueriesEffect.tsx | 23 +- .../prefetch/constants/PrefetchConfig.ts | 5 + ...avoritesFolderOperationSignatureFactory.ts | 17 + .../useIsFavoriteFoldersPrefetchLoading.ts | 11 + .../prefetch/hooks/useIsPrefetchLoading.ts | 17 +- .../src/modules/prefetch/types/PrefetchKey.ts | 1 + .../SettingsNavigationDrawerItems.tsx | 4 +- .../components/DraggableItem.tsx | 1 - .../page/components/PageFavoriteButton.tsx | 2 +- .../components/PageFavoriteFolderDropdown.tsx | 49 + .../components/NavigationDrawerInput.tsx | 136 + .../components/NavigationDrawerItem.tsx | 57 +- .../components/NavigationDrawerItemInput.tsx | 5 + ...gationDrawerItemsCollapsableContainer.tsx} | 14 +- .../components/NavigationDrawerSection.tsx | 1 - .../NavigationDrawerSectionTitle.tsx | 99 +- .../components/NavigationDrawerSubItem.tsx | 4 + .../__stories__/NavigationDrawer.stories.tsx | 4 +- ...s => getNavigationSubItemLeftAdornment.ts} | 2 +- .../modules/workspace/types/FeatureFlagKey.ts | 3 +- .../pages/object-record/RecordShowPage.tsx | 22 +- .../RecordShowPageBaseHeader.tsx | 45 +- .../decorators/PrefetchLoadedDecorator.tsx | 4 + .../twenty-front/src/testing/graphqlMocks.ts | 9 + .../generated/mock-metadata-query-result.ts | 41791 ++++++++-------- .../typeorm-seeds/core/feature-flags.ts | 10 + .../enums/feature-flag-key.enum.ts | 2 + .../constants/standard-field-ids.ts | 7 + .../constants/standard-object-ids.ts | 1 + .../standard-objects/index.ts | 2 + .../favorite-folder/favorite-folder.module.ts | 11 + .../listeners/favorite-folder.listener.ts | 48 + .../favorite-folder.workspace-entity.ts | 58 + .../favorite.workspace-entity.ts | 22 + .../src/modules/modules.module.ts | 2 + .../src/display/avatar/components/Avatar.tsx | 6 +- .../display/icon/components/TablerIcons.ts | 2 + 100 files changed, 24033 insertions(+), 21488 deletions(-) create mode 100644 packages/twenty-front/src/modules/favorites/components/CurrentWorkspaceMemberFavoritesFolders.tsx create mode 100644 packages/twenty-front/src/modules/favorites/components/FavoriteFolderNavigationDrawerItemDropdown.tsx create mode 100644 packages/twenty-front/src/modules/favorites/components/FavoriteIcon.tsx create mode 100644 packages/twenty-front/src/modules/favorites/components/FavoritesFolders.tsx create mode 100644 packages/twenty-front/src/modules/favorites/constants/FavoriteFolderRightIconDropdownHotkeyScope.ts create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderMenuItemMultiSelect.tsx create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPicker.tsx create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerEffect.tsx create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerFooter.tsx create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerList.tsx create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerSearchInput.tsx create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/constants/FavoriteFolderPickerDropdownId.ts create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/hooks/useFavoriteFolderPicker.ts create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/scopes/FavoriteFolderPickerScope.tsx create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/context/FavoriteFolderPickerInstanceContext.ts create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderIdPickerComponentState.ts create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderLoadingComponentState.ts create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderPickerCheckedComponentState.ts create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderPickerComponentFamilyState.ts create mode 100644 packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFoldersSearchFilterComponentState.ts create mode 100644 packages/twenty-front/src/modules/favorites/hooks/__tests__/useCreateFavorite.test.tsx create mode 100644 packages/twenty-front/src/modules/favorites/hooks/__tests__/useDeleteFavorite.test.tsx create mode 100644 packages/twenty-front/src/modules/favorites/hooks/__tests__/useReorderFavorite.test.tsx create mode 100644 packages/twenty-front/src/modules/favorites/hooks/useCreateFavorite.ts create mode 100644 packages/twenty-front/src/modules/favorites/hooks/useCreateFavoriteFolder.ts create mode 100644 packages/twenty-front/src/modules/favorites/hooks/useDeleteFavorite.ts create mode 100644 packages/twenty-front/src/modules/favorites/hooks/useDeleteFavoriteFolder.ts create mode 100644 packages/twenty-front/src/modules/favorites/hooks/useFavoritesByFolder.ts create mode 100644 packages/twenty-front/src/modules/favorites/hooks/usePrefetchedFavoritesData.ts create mode 100644 packages/twenty-front/src/modules/favorites/hooks/usePrefetchedFavoritesFoldersData.ts create mode 100644 packages/twenty-front/src/modules/favorites/hooks/useRenameFavoriteFolder.ts create mode 100644 packages/twenty-front/src/modules/favorites/hooks/useReorderFavorite.ts create mode 100644 packages/twenty-front/src/modules/favorites/hooks/useSortedFavorites.ts create mode 100644 packages/twenty-front/src/modules/favorites/hooks/useWorkspaceFavorites.ts create mode 100644 packages/twenty-front/src/modules/favorites/states/activeFavoriteFolderIdState.ts create mode 100644 packages/twenty-front/src/modules/favorites/states/isFavoriteFolderCreatingState.ts create mode 100644 packages/twenty-front/src/modules/favorites/types/FavoriteFolder.ts create mode 100644 packages/twenty-front/src/modules/favorites/utils/__tests__/isLocationMatchingFavorite.test.ts create mode 100644 packages/twenty-front/src/modules/favorites/utils/calculateNewPosition.ts create mode 100644 packages/twenty-front/src/modules/favorites/utils/getObjectMetadataLabelPluralFromViewId.ts create mode 100644 packages/twenty-front/src/modules/favorites/utils/isLocationMatchingFavorite.ts create mode 100644 packages/twenty-front/src/modules/prefetch/components/PrefetchFavortiteFoldersRunQueriesEffect.tsx create mode 100644 packages/twenty-front/src/modules/prefetch/graphql/operation-signatures/factories/findAllFavoritesFolderOperationSignatureFactory.ts create mode 100644 packages/twenty-front/src/modules/prefetch/hooks/useIsFavoriteFoldersPrefetchLoading.ts create mode 100644 packages/twenty-front/src/modules/ui/layout/page/components/PageFavoriteFolderDropdown.tsx create mode 100644 packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerInput.tsx create mode 100644 packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItemInput.tsx rename packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/{NavigationDrawerItemsCollapsedContainer.tsx => NavigationDrawerItemsCollapsableContainer.tsx} (89%) rename packages/twenty-front/src/modules/ui/navigation/navigation-drawer/utils/{getNavigationSubItemState.ts => getNavigationSubItemLeftAdornment.ts} (94%) create mode 100644 packages/twenty-server/src/modules/favorite-folder/favorite-folder.module.ts create mode 100644 packages/twenty-server/src/modules/favorite-folder/listeners/favorite-folder.listener.ts create mode 100644 packages/twenty-server/src/modules/favorite-folder/standard-objects/favorite-folder.workspace-entity.ts diff --git a/packages/twenty-front/src/modules/action-menu/actions/record-actions/components/DeleteRecordsActionEffect.tsx b/packages/twenty-front/src/modules/action-menu/actions/record-actions/components/DeleteRecordsActionEffect.tsx index 515852428a..3e6fe5c412 100644 --- a/packages/twenty-front/src/modules/action-menu/actions/record-actions/components/DeleteRecordsActionEffect.tsx +++ b/packages/twenty-front/src/modules/action-menu/actions/record-actions/components/DeleteRecordsActionEffect.tsx @@ -4,6 +4,7 @@ import { contextStoreFiltersComponentState } from '@/context-store/states/contex import { contextStoreNumberOfSelectedRecordsComponentState } from '@/context-store/states/contextStoreNumberOfSelectedRecordsComponentState'; import { contextStoreTargetedRecordsRuleComponentState } from '@/context-store/states/contextStoreTargetedRecordsRuleComponentState'; import { computeContextStoreFilters } from '@/context-store/utils/computeContextStoreFilters'; +import { useDeleteFavorite } from '@/favorites/hooks/useDeleteFavorite'; import { useFavorites } from '@/favorites/hooks/useFavorites'; import { ObjectMetadataItem } from '@/object-metadata/types/ObjectMetadataItem'; import { DELETE_MAX_COUNT } from '@/object-record/constants/DeleteMaxCount'; @@ -36,7 +37,8 @@ export const DeleteRecordsActionEffect = ({ objectNameSingular: objectMetadataItem.nameSingular, }); - const { favorites, deleteFavorite } = useFavorites(); + const favorites = useFavorites(); + const deleteFavorite = useDeleteFavorite(); const contextStoreNumberOfSelectedRecords = useRecoilComponentValueV2( contextStoreNumberOfSelectedRecordsComponentState, diff --git a/packages/twenty-front/src/modules/action-menu/actions/record-actions/components/ManageFavoritesActionEffect.tsx b/packages/twenty-front/src/modules/action-menu/actions/record-actions/components/ManageFavoritesActionEffect.tsx index 25d03d0716..c595e7d6f6 100644 --- a/packages/twenty-front/src/modules/action-menu/actions/record-actions/components/ManageFavoritesActionEffect.tsx +++ b/packages/twenty-front/src/modules/action-menu/actions/record-actions/components/ManageFavoritesActionEffect.tsx @@ -1,5 +1,7 @@ import { useActionMenuEntries } from '@/action-menu/hooks/useActionMenuEntries'; import { contextStoreTargetedRecordsRuleComponentState } from '@/context-store/states/contextStoreTargetedRecordsRuleComponentState'; +import { useCreateFavorite } from '@/favorites/hooks/useCreateFavorite'; +import { useDeleteFavorite } from '@/favorites/hooks/useDeleteFavorite'; import { useFavorites } from '@/favorites/hooks/useFavorites'; import { ObjectMetadataItem } from '@/object-metadata/types/ObjectMetadataItem'; import { recordStoreFamilyState } from '@/object-record/record-store/states/recordStoreFamilyState'; @@ -21,7 +23,11 @@ export const ManageFavoritesActionEffect = ({ contextStoreTargetedRecordsRuleComponentState, ); - const { favorites, createFavorite, deleteFavorite } = useFavorites(); + const favorites = useFavorites(); + + const createFavorite = useCreateFavorite(); + + const deleteFavorite = useDeleteFavorite(); const selectedRecordId = contextStoreTargetedRecordsRule.mode === 'selection' diff --git a/packages/twenty-front/src/modules/action-menu/components/RecordShowActionMenu.tsx b/packages/twenty-front/src/modules/action-menu/components/RecordShowActionMenu.tsx index d92ae5603d..a4961ccf78 100644 --- a/packages/twenty-front/src/modules/action-menu/components/RecordShowActionMenu.tsx +++ b/packages/twenty-front/src/modules/action-menu/components/RecordShowActionMenu.tsx @@ -11,16 +11,16 @@ import { RecordShowPageBaseHeader } from '~/pages/object-record/RecordShowPageBa export const RecordShowActionMenu = ({ isFavorite, - handleFavoriteButtonClick, record, objectMetadataItem, objectNameSingular, + handleFavoriteButtonClick, }: { isFavorite: boolean; - handleFavoriteButtonClick: () => void; record: ObjectRecord | undefined; objectMetadataItem: ObjectMetadataItem; objectNameSingular: string; + handleFavoriteButtonClick: () => void; }) => { const contextStoreCurrentObjectMetadataId = useRecoilComponentValueV2( contextStoreCurrentObjectMetadataIdComponentState, @@ -40,10 +40,10 @@ export const RecordShowActionMenu = ({ diff --git a/packages/twenty-front/src/modules/activities/tasks/hooks/__tests__/useCompleteTask.test.tsx b/packages/twenty-front/src/modules/activities/tasks/hooks/__tests__/useCompleteTask.test.tsx index f99668b33a..51408dac59 100644 --- a/packages/twenty-front/src/modules/activities/tasks/hooks/__tests__/useCompleteTask.test.tsx +++ b/packages/twenty-front/src/modules/activities/tasks/hooks/__tests__/useCompleteTask.test.tsx @@ -84,6 +84,7 @@ const mocks: MockedResponse[] = [ companyId createdAt deletedAt + favoriteFolderId id noteId opportunityId diff --git a/packages/twenty-front/src/modules/favorites/components/CurrentWorkspaceMemberFavorites.tsx b/packages/twenty-front/src/modules/favorites/components/CurrentWorkspaceMemberFavorites.tsx index d436284b08..d33dfdbd5e 100644 --- a/packages/twenty-front/src/modules/favorites/components/CurrentWorkspaceMemberFavorites.tsx +++ b/packages/twenty-front/src/modules/favorites/components/CurrentWorkspaceMemberFavorites.tsx @@ -1,127 +1,197 @@ -import styled from '@emotion/styled'; -import { useRecoilValue } from 'recoil'; -import { Avatar, isDefined } from 'twenty-ui'; - -import { FavoritesSkeletonLoader } from '@/favorites/components/FavoritesSkeletonLoader'; -import { useIsPrefetchLoading } from '@/prefetch/hooks/useIsPrefetchLoading'; +import { FavoriteFolderNavigationDrawerItemDropdown } from '@/favorites/components/FavoriteFolderNavigationDrawerItemDropdown'; +import { FavoriteIcon } from '@/favorites/components/FavoriteIcon'; +import { useDeleteFavorite } from '@/favorites/hooks/useDeleteFavorite'; +import { useDeleteFavoriteFolder } from '@/favorites/hooks/useDeleteFavoriteFolder'; +import { useRenameFavoriteFolder } from '@/favorites/hooks/useRenameFavoriteFolder'; +import { useReorderFavorite } from '@/favorites/hooks/useReorderFavorite'; +import { activeFavoriteFolderIdState } from '@/favorites/states/activeFavoriteFolderIdState'; +import { isLocationMatchingFavorite } from '@/favorites/utils/isLocationMatchingFavorite'; +import { ProcessedFavorite } from '@/favorites/utils/sortFavorites'; import { DraggableItem } from '@/ui/layout/draggable-list/components/DraggableItem'; import { DraggableList } from '@/ui/layout/draggable-list/components/DraggableList'; +import { useDropdown } from '@/ui/layout/dropdown/hooks/useDropdown'; +import { ConfirmationModal } from '@/ui/layout/modal/components/ConfirmationModal'; +import { NavigationDrawerInput } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerInput'; import { NavigationDrawerItem } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerItem'; -import { NavigationDrawerSection } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerSection'; -import { NavigationDrawerSectionTitle } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle'; -import { useNavigationSection } from '@/ui/navigation/navigation-drawer/hooks/useNavigationSection'; +import { NavigationDrawerItemsCollapsableContainer } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerItemsCollapsableContainer'; +import { NavigationDrawerSubItem } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerSubItem'; +import { getNavigationSubItemLeftAdornment } from '@/ui/navigation/navigation-drawer/utils/getNavigationSubItemLeftAdornment'; +import { useState } from 'react'; +import { useLocation } from 'react-router-dom'; +import { useRecoilState } from 'recoil'; +import { IconFolder, IconHeartOff, LightIconButton } from 'twenty-ui'; -import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState'; -import { NavigationDrawerAnimatedCollapseWrapper } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerAnimatedCollapseWrapper'; -import { NavigationDrawerItemsCollapsedContainer } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerItemsCollapsedContainer'; -import { ScrollWrapper } from '@/ui/utilities/scroll/components/ScrollWrapper'; -import { useFavorites } from '../hooks/useFavorites'; +type CurrentWorkspaceMemberFavoritesProps = { + folder: { + folderId: string; + folderName: string; + favorites: ProcessedFavorite[]; + }; + isGroup: boolean; +}; -const StyledContainer = styled(NavigationDrawerSection)` - width: 100%; -`; +export const CurrentWorkspaceMemberFavorites = ({ + folder, + isGroup, +}: CurrentWorkspaceMemberFavoritesProps) => { + const currentPath = useLocation().pathname; + const currentViewPath = useLocation().pathname + useLocation().search; -const StyledAvatar = styled(Avatar)` - :hover { - cursor: grab; - } -`; - -const StyledNavigationDrawerItem = styled(NavigationDrawerItem)` - :active { - cursor: grabbing; - - .fav-avatar:hover { - cursor: grabbing; - } - } -`; - -export const CurrentWorkspaceMemberFavorites = () => { - const currentWorkspaceMember = useRecoilValue(currentWorkspaceMemberState); - - const { favorites, handleReorderFavorite } = useFavorites(); - const loading = useIsPrefetchLoading(); - const { toggleNavigationSection, isNavigationSectionOpenState } = - useNavigationSection('Favorites'); - const isNavigationSectionOpen = useRecoilValue(isNavigationSectionOpenState); - - if (loading && isDefined(currentWorkspaceMember)) { - return ; - } - - const currentWorkspaceMemberFavorites = favorites.filter( - (favorite) => favorite.workspaceMemberId === currentWorkspaceMember?.id, + const [isFavoriteFolderRenaming, setIsFavoriteFolderRenaming] = + useState(false); + const [favoriteFolderName, setFavoriteFolderName] = useState( + folder.folderName, ); + const [isDeleteModalOpen, setIsDeleteModalOpen] = useState(false); + const [activeFavoriteFolderId, setActiveFavoriteFolderId] = useRecoilState( + activeFavoriteFolderIdState, + ); + const isOpen = activeFavoriteFolderId === folder.folderId; - if ( - !currentWorkspaceMemberFavorites || - currentWorkspaceMemberFavorites.length === 0 - ) - return <>; + const handleToggle = () => { + setActiveFavoriteFolderId(isOpen ? null : folder.folderId); + }; - const isGroup = currentWorkspaceMemberFavorites.length > 1; + const { renameFavoriteFolder } = useRenameFavoriteFolder(); + const { deleteFavoriteFolder } = useDeleteFavoriteFolder(); + const { + closeDropdown: closeFavoriteFolderEditDropdown, + isDropdownOpen: isFavoriteFolderEditDropdownOpen, + } = useDropdown(`favorite-folder-edit-${folder.folderId}`); + const selectedFavoriteIndex = folder.favorites.findIndex((favorite) => + isLocationMatchingFavorite(currentPath, currentViewPath, favorite), + ); + const handleReorderFavorite = useReorderFavorite(); - const draggableListContent = ( - - {currentWorkspaceMemberFavorites.map((favorite, index) => { - const { - id, - labelIdentifier, - avatarUrl, - avatarType, - link, - recordId, - } = favorite; + const deleteFavorite = useDeleteFavorite(); - return ( - ( - - )} - to={link} - /> - } - /> - ); - })} - - } + const favoriteFolderContentLength = folder.favorites.length; + + const handleSubmitRename = async (value: string) => { + if (value === '') return; + await renameFavoriteFolder(folder.folderId, value); + setIsFavoriteFolderRenaming(false); + return true; + }; + + const handleCancelRename = () => { + setFavoriteFolderName(folder.folderName); + setIsFavoriteFolderRenaming(false); + }; + + const handleClickOutside = async ( + event: MouseEvent | TouchEvent, + value: string, + ) => { + if (!value) { + setIsFavoriteFolderRenaming(false); + return; + } + + await renameFavoriteFolder(folder.folderId, value); + setIsFavoriteFolderRenaming(false); + }; + + const handleFavoriteFolderDelete = async () => { + if (folder.favorites.length > 0) { + setIsDeleteModalOpen(true); + closeFavoriteFolderEditDropdown(); + } else { + await deleteFavoriteFolder(folder.folderId); + closeFavoriteFolderEditDropdown(); + } + }; + + const handleConfirmDelete = async () => { + await deleteFavoriteFolder(folder.folderId); + setIsDeleteModalOpen(false); + }; + + const rightOptions = ( + setIsFavoriteFolderRenaming(true)} + onDelete={handleFavoriteFolderDelete} + closeDropdown={closeFavoriteFolderEditDropdown} /> ); return ( - - - toggleNavigationSection()} - /> - + <> + + {isFavoriteFolderRenaming ? ( + + ) : ( + + )} - {isNavigationSectionOpen && ( - - - {draggableListContent} - - - )} - + {isOpen && ( + + {folder.favorites.map((favorite, index) => ( + } + to={favorite.link} + active={index === selectedFavoriteIndex} + subItemState={getNavigationSubItemLeftAdornment({ + index, + arrayLength: favoriteFolderContentLength, + selectedIndex: selectedFavoriteIndex, + })} + rightOptions={ + deleteFavorite(favorite.id)} + accent="tertiary" + /> + } + isDraggable + /> + } + /> + ))} + + } + /> + )} + + + 1 ? 'favorites' : 'favorite'}?`} + subtitle={`This action will delete this favorite folder ${folder.favorites.length > 1 ? `and all ${folder.favorites.length} favorites` : 'and the favorite'} inside. Do you want to continue?`} + onConfirmClick={handleConfirmDelete} + deleteButtonText="Delete Folder" + /> + ); }; diff --git a/packages/twenty-front/src/modules/favorites/components/CurrentWorkspaceMemberFavoritesFolders.tsx b/packages/twenty-front/src/modules/favorites/components/CurrentWorkspaceMemberFavoritesFolders.tsx new file mode 100644 index 0000000000..0e59927a03 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/components/CurrentWorkspaceMemberFavoritesFolders.tsx @@ -0,0 +1,137 @@ +import { useTheme } from '@emotion/react'; +import { useLocation } from 'react-router-dom'; +import { useRecoilState, useRecoilValue } from 'recoil'; +import { + IconFolderPlus, + IconHeartOff, + isDefined, + LightIconButton, +} from 'twenty-ui'; + +import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState'; +import { FavoriteIcon } from '@/favorites/components/FavoriteIcon'; +import { FavoriteFolders } from '@/favorites/components/FavoritesFolders'; +import { FavoritesSkeletonLoader } from '@/favorites/components/FavoritesSkeletonLoader'; +import { useDeleteFavorite } from '@/favorites/hooks/useDeleteFavorite'; +import { useFavorites } from '@/favorites/hooks/useFavorites'; +import { useReorderFavorite } from '@/favorites/hooks/useReorderFavorite'; +import { isFavoriteFolderCreatingState } from '@/favorites/states/isFavoriteFolderCreatingState'; +import { isLocationMatchingFavorite } from '@/favorites/utils/isLocationMatchingFavorite'; +import { useIsPrefetchLoading } from '@/prefetch/hooks/useIsPrefetchLoading'; +import { DraggableItem } from '@/ui/layout/draggable-list/components/DraggableItem'; +import { DraggableList } from '@/ui/layout/draggable-list/components/DraggableList'; +import { NavigationDrawerAnimatedCollapseWrapper } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerAnimatedCollapseWrapper'; +import { NavigationDrawerItem } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerItem'; +import { NavigationDrawerSection } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerSection'; +import { NavigationDrawerSectionTitle } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle'; +import { useNavigationSection } from '@/ui/navigation/navigation-drawer/hooks/useNavigationSection'; +import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled'; + +export const CurrentWorkspaceMemberFavoritesFolders = () => { + const currentPath = useLocation().pathname; + const currentViewPath = useLocation().pathname + useLocation().search; + const theme = useTheme(); + const currentWorkspaceMember = useRecoilValue(currentWorkspaceMemberState); + const favorites = useFavorites(); + const deleteFavorite = useDeleteFavorite(); + const handleReorderFavorite = useReorderFavorite(); + const [isFavoriteFolderCreating, setIsFavoriteFolderCreating] = + useRecoilState(isFavoriteFolderCreatingState); + + const isFavoriteFolderEnabled = useIsFeatureEnabled( + 'IS_FAVORITE_FOLDER_ENABLED', + ); + const loading = useIsPrefetchLoading(); + + const { toggleNavigationSection, isNavigationSectionOpenState } = + useNavigationSection('Favorites'); + const isNavigationSectionOpen = useRecoilValue(isNavigationSectionOpenState); + + const toggleNewFolder = () => { + setIsFavoriteFolderCreating((current) => !current); + }; + + if (loading && isDefined(currentWorkspaceMember)) { + return ; + } + + const currentWorkspaceMemberFavorites = favorites.filter( + (favorite) => favorite.workspaceMemberId === currentWorkspaceMember?.id, + ); + + const orphanFavorites = currentWorkspaceMemberFavorites.filter( + (favorite) => !favorite.favoriteFolderId, + ); + + if ( + (!currentWorkspaceMemberFavorites || + currentWorkspaceMemberFavorites.length === 0) && + !isFavoriteFolderCreating + ) { + return null; + } + + return ( + + + + ) : undefined + } + onRightIconClick={ + isFavoriteFolderEnabled ? toggleNewFolder : undefined + } + /> + + + {isNavigationSectionOpen && ( + <> + {isFavoriteFolderEnabled && ( + + )} + + {orphanFavorites.length > 0 && ( + ( + } + active={isLocationMatchingFavorite( + currentPath, + currentViewPath, + favorite, + )} + to={favorite.link} + rightOptions={ + deleteFavorite(favorite.id)} + accent="tertiary" + /> + } + isDraggable={true} + /> + } + /> + ))} + /> + )} + + )} + + ); +}; diff --git a/packages/twenty-front/src/modules/favorites/components/FavoriteFolderNavigationDrawerItemDropdown.tsx b/packages/twenty-front/src/modules/favorites/components/FavoriteFolderNavigationDrawerItemDropdown.tsx new file mode 100644 index 0000000000..15fbf8f84c --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/components/FavoriteFolderNavigationDrawerItemDropdown.tsx @@ -0,0 +1,65 @@ +import { FavoriteFolderHotkeyScope } from '@/favorites/constants/FavoriteFolderRightIconDropdownHotkeyScope'; +import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown'; +import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer'; +import { + IconDotsVertical, + IconPencil, + IconTrash, + LightIconButton, + MenuItem, +} from 'twenty-ui'; + +type FavoriteFolderNavigationDrawerItemDropdownProps = { + folderId: string; + onRename: () => void; + onDelete: () => void; + closeDropdown: () => void; +}; + +export const FavoriteFolderNavigationDrawerItemDropdown = ({ + folderId, + onRename, + onDelete, + closeDropdown, +}: FavoriteFolderNavigationDrawerItemDropdownProps) => { + const handleRename = () => { + onRename(); + closeDropdown(); + }; + + const handleDelete = () => { + onDelete(); + closeDropdown(); + }; + + return ( + + } + dropdownPlacement="right" + dropdownOffset={{ y: -15 }} + dropdownComponents={ + + + + + } + /> + ); +}; diff --git a/packages/twenty-front/src/modules/favorites/components/FavoriteIcon.tsx b/packages/twenty-front/src/modules/favorites/components/FavoriteIcon.tsx new file mode 100644 index 0000000000..94d9f24e37 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/components/FavoriteIcon.tsx @@ -0,0 +1,27 @@ +import { ProcessedFavorite } from '@/favorites/utils/sortFavorites'; +import { useGetStandardObjectIcon } from '@/object-metadata/hooks/useGetStandardObjectIcon'; +import { useTheme } from '@emotion/react'; +import { Avatar, useIcons } from 'twenty-ui'; + +export const FavoriteIcon = ({ favorite }: { favorite: ProcessedFavorite }) => { + const theme = useTheme(); + const { getIcon } = useIcons(); + const { Icon: StandardIcon, IconColor } = useGetStandardObjectIcon( + favorite.objectNameSingular || '', + ); + const IconToUse = + StandardIcon || (favorite.Icon ? getIcon(favorite.Icon) : undefined); + const iconColorToUse = StandardIcon ? IconColor : theme.font.color.secondary; + + return ( + + ); +}; diff --git a/packages/twenty-front/src/modules/favorites/components/FavoritesFolders.tsx b/packages/twenty-front/src/modules/favorites/components/FavoritesFolders.tsx new file mode 100644 index 0000000000..48179ad222 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/components/FavoritesFolders.tsx @@ -0,0 +1,85 @@ +import { useState } from 'react'; +import { useRecoilState } from 'recoil'; +import { IconFolder } from 'twenty-ui'; + +import { CurrentWorkspaceMemberFavorites } from '@/favorites/components/CurrentWorkspaceMemberFavorites'; +import { FavoriteFolderHotkeyScope } from '@/favorites/constants/FavoriteFolderRightIconDropdownHotkeyScope'; +import { useCreateFavoriteFolder } from '@/favorites/hooks/useCreateFavoriteFolder'; +import { useFavoritesByFolder } from '@/favorites/hooks/useFavoritesByFolder'; +import { isFavoriteFolderCreatingState } from '@/favorites/states/isFavoriteFolderCreatingState'; +import { NavigationDrawerInput } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerInput'; + +type FavoriteFoldersProps = { + isNavigationSectionOpen: boolean; +}; + +export const FavoriteFolders = ({ + isNavigationSectionOpen, +}: FavoriteFoldersProps) => { + const [newFolderName, setNewFolderName] = useState(''); + + const favoritesByFolder = useFavoritesByFolder(); + const createFavoriteFolder = useCreateFavoriteFolder(); + + const [isFavoriteFolderCreating, setIsFavoriteFolderCreating] = + useRecoilState(isFavoriteFolderCreatingState); + + const handleFavoriteFolderNameChange = (value: string) => { + setNewFolderName(value); + }; + + const handleSubmitFavoriteFolderCreation = async (value: string) => { + if (value === '') return; + + setIsFavoriteFolderCreating(false); + setNewFolderName(''); + await createFavoriteFolder(value); + return true; + }; + + const handleClickOutside = async ( + event: MouseEvent | TouchEvent, + value: string, + ) => { + if (!value) { + setIsFavoriteFolderCreating(false); + return; + } + + setIsFavoriteFolderCreating(false); + setNewFolderName(''); + await createFavoriteFolder(value); + }; + + const handleCancelFavoriteFolderCreation = () => { + setNewFolderName(''); + setIsFavoriteFolderCreating(false); + }; + + if (!isNavigationSectionOpen) { + return null; + } + + return ( + <> + {isFavoriteFolderCreating && ( + + )} + {favoritesByFolder.map((folder) => ( + 1} + /> + ))} + + ); +}; diff --git a/packages/twenty-front/src/modules/favorites/constants/FavoriteFolderRightIconDropdownHotkeyScope.ts b/packages/twenty-front/src/modules/favorites/constants/FavoriteFolderRightIconDropdownHotkeyScope.ts new file mode 100644 index 0000000000..b2b4f81f6b --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/constants/FavoriteFolderRightIconDropdownHotkeyScope.ts @@ -0,0 +1,4 @@ +export enum FavoriteFolderHotkeyScope { + FavoriteFolderRightIconDropdown = 'favorite-folder-right-icon-dropdown', + FavoriteFolderNavigationInput = 'favorite-folder-navigation-input', +} diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderMenuItemMultiSelect.tsx b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderMenuItemMultiSelect.tsx new file mode 100644 index 0000000000..ae0ee7204d --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderMenuItemMultiSelect.tsx @@ -0,0 +1,10 @@ +import styled from '@emotion/styled'; +import { MenuItemMultiSelect } from '@ui/navigation/menu-item/components/MenuItemMultiSelect'; + +const StyledNoGapMenuItem = styled(MenuItemMultiSelect)` + & > div { + gap: 0; + } +`; + +export const FavoriteFolderMenuItemMultiSelect = StyledNoGapMenuItem; diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPicker.tsx b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPicker.tsx new file mode 100644 index 0000000000..d4193b4054 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPicker.tsx @@ -0,0 +1,104 @@ +import { FavoriteFolderPickerFooter } from '@/favorites/favorite-folder-picker/components/FavoriteFolderPickerFooter'; +import { FavoriteFolderPickerList } from '@/favorites/favorite-folder-picker/components/FavoriteFolderPickerList'; +import { FavoriteFolderPickerSearchInput } from '@/favorites/favorite-folder-picker/components/FavoriteFolderPickerSearchInput'; +import { useFavoriteFolderPicker } from '@/favorites/favorite-folder-picker/hooks/useFavoriteFolderPicker'; +import { FavoriteFolderPickerInstanceContext } from '@/favorites/favorite-folder-picker/states/context/FavoriteFolderPickerInstanceContext'; +import { favoriteFolderSearchFilterComponentState } from '@/favorites/favorite-folder-picker/states/favoriteFoldersSearchFilterComponentState'; +import { isFavoriteFolderCreatingState } from '@/favorites/states/isFavoriteFolderCreatingState'; +import { ObjectRecord } from '@/object-record/types/ObjectRecord'; +import { DropdownMenu } from '@/ui/layout/dropdown/components/DropdownMenu'; +import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer'; +import { DropdownMenuSeparator } from '@/ui/layout/dropdown/components/DropdownMenuSeparator'; +import { useScopedHotkeys } from '@/ui/utilities/hotkey/hooks/useScopedHotkeys'; +import { useAvailableComponentInstanceIdOrThrow } from '@/ui/utilities/state/component-state/hooks/useAvailableComponentInstanceIdOrThrow'; +import { useRecoilComponentStateV2 } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentStateV2'; + +import { useRecoilState } from 'recoil'; +import { Key } from 'ts-key-enum'; + +type FavoriteFolderPickerProps = { + onSubmit?: () => void; + record?: ObjectRecord; + objectNameSingular: string; +}; + +const NO_FOLDER_ID = 'no-folder'; + +export const FavoriteFolderPicker = ({ + onSubmit, + record, + objectNameSingular, +}: FavoriteFolderPickerProps) => { + const [isFavoriteFolderCreating, setIsFavoriteFolderCreating] = + useRecoilState(isFavoriteFolderCreatingState); + + const instanceId = useAvailableComponentInstanceIdOrThrow( + FavoriteFolderPickerInstanceContext, + ); + + const { getFoldersByIds, toggleFolderSelection } = useFavoriteFolderPicker({ + record, + objectNameSingular, + }); + + const [favoriteFoldersSearchFilter] = useRecoilComponentStateV2( + favoriteFolderSearchFilterComponentState, + ); + + const folders = getFoldersByIds(); + const filteredFolders = folders.filter((folder) => + folder.name + .toLowerCase() + .includes(favoriteFoldersSearchFilter.toLowerCase()), + ); + + const showNoFolderOption = + !favoriteFoldersSearchFilter || + 'no folder'.includes(favoriteFoldersSearchFilter.toLowerCase()); + + useScopedHotkeys( + Key.Escape, + () => { + if (isFavoriteFolderCreating) { + setIsFavoriteFolderCreating(false); + return; + } + onSubmit?.(); + }, + instanceId, + [onSubmit, isFavoriteFolderCreating], + ); + + useScopedHotkeys( + Key.Enter, + () => { + if (filteredFolders.length === 1 && !showNoFolderOption) { + toggleFolderSelection(filteredFolders[0].id); + onSubmit?.(); + return; + } + + if (showNoFolderOption && filteredFolders.length === 0) { + toggleFolderSelection(NO_FOLDER_ID); + onSubmit?.(); + return; + } + }, + instanceId, + [filteredFolders, showNoFolderOption, toggleFolderSelection, onSubmit], + ); + + return ( + + + + + + + + + ); +}; diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerEffect.tsx b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerEffect.tsx new file mode 100644 index 0000000000..30f10c3f43 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerEffect.tsx @@ -0,0 +1,82 @@ +import { useEffect } from 'react'; +import { useRecoilCallback } from 'recoil'; +import { isDefined } from 'twenty-ui'; +import { isDeeplyEqual } from '~/utils/isDeeplyEqual'; + +import { favoriteFolderIdsPickerComponentState } from '@/favorites/favorite-folder-picker/states/favoriteFolderIdPickerComponentState'; +import { favoriteFolderPickerCheckedComponentState } from '@/favorites/favorite-folder-picker/states/favoriteFolderPickerCheckedComponentState'; +import { favoriteFolderPickerComponentFamilyState } from '@/favorites/favorite-folder-picker/states/favoriteFolderPickerComponentFamilyState'; +import { useFavorites } from '@/favorites/hooks/useFavorites'; +import { usePrefetchedFavoritesFoldersData } from '@/favorites/hooks/usePrefetchedFavoritesFoldersData'; +import { FavoriteFolder } from '@/favorites/types/FavoriteFolder'; +import { ObjectRecord } from '@/object-record/types/ObjectRecord'; +import { useRecoilComponentCallbackStateV2 } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentCallbackStateV2'; +import { useRecoilComponentStateV2 } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentStateV2'; +import { useSetRecoilComponentStateV2 } from '@/ui/utilities/state/component-state/hooks/useSetRecoilComponentStateV2'; + +type FavoriteFolderPickerEffectProps = { + record?: ObjectRecord; +}; + +export const FavoriteFolderPickerEffect = ({ + record, +}: FavoriteFolderPickerEffectProps) => { + const [favoriteFolderIdsPicker, setFavoriteFolderIdsPicker] = + useRecoilComponentStateV2(favoriteFolderIdsPickerComponentState); + + const favoriteFolderPickerFamilyState = useRecoilComponentCallbackStateV2( + favoriteFolderPickerComponentFamilyState, + ); + + const { favoriteFolders } = usePrefetchedFavoritesFoldersData(); + + const favorites = useFavorites(); + const setCheckedState = useSetRecoilComponentStateV2( + favoriteFolderPickerCheckedComponentState, + ); + + const updateFolders = useRecoilCallback( + ({ snapshot, set }) => + (folders: FavoriteFolder[]) => { + folders.forEach((folder) => { + const currentFolder = snapshot + .getLoadable(favoriteFolderPickerFamilyState(folder.id)) + .getValue(); + + if (!isDeeplyEqual(folder, currentFolder)) { + set(favoriteFolderPickerFamilyState(folder.id), folder); + } + }); + }, + [favoriteFolderPickerFamilyState], + ); + + useEffect(() => { + if (isDefined(favoriteFolders)) { + updateFolders(favoriteFolders); + + const folderIds = favoriteFolders.map((folder) => folder.id); + if (!isDeeplyEqual(folderIds, favoriteFolderIdsPicker)) { + setFavoriteFolderIdsPicker(folderIds); + } + } + }, [ + favoriteFolders, + favoriteFolderIdsPicker, + setFavoriteFolderIdsPicker, + updateFolders, + ]); + + useEffect(() => { + const targetId = record?.id; + const checkedFolderIds = favorites + .filter( + (favorite) => + favorite.recordId === targetId && favorite.workspaceMemberId, + ) + .map((favorite) => favorite.favoriteFolderId || 'no-folder'); + setCheckedState(checkedFolderIds); + }, [favorites, setCheckedState, record?.id]); + + return null; +}; diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerFooter.tsx b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerFooter.tsx new file mode 100644 index 0000000000..98d92f4b2e --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerFooter.tsx @@ -0,0 +1,43 @@ +import { FAVORITE_FOLDER_PICKER_DROPDOWN_ID } from '@/favorites/favorite-folder-picker/constants/FavoriteFolderPickerDropdownId'; +import { isFavoriteFolderCreatingState } from '@/favorites/states/isFavoriteFolderCreatingState'; +import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer'; +import { useDropdown } from '@/ui/layout/dropdown/hooks/useDropdown'; +import { useTheme } from '@emotion/react'; +import styled from '@emotion/styled'; +import { useRecoilState } from 'recoil'; +import { IconPlus, MenuItem } from 'twenty-ui'; + +const StyledFooter = styled.div` + background: ${({ theme }) => theme.background.primary}; + border-bottom-left-radius: ${({ theme }) => theme.border.radius.md}; + border-bottom-right-radius: ${({ theme }) => theme.border.radius.md}; + border-top: 1px solid ${({ theme }) => theme.border.color.light}; +`; + +const StyledIconPlus = styled(IconPlus)` + padding-left: ${({ theme }) => theme.spacing(1)}; +`; + +export const FavoriteFolderPickerFooter = () => { + const [, setIsFavoriteFolderCreating] = useRecoilState( + isFavoriteFolderCreatingState, + ); + const theme = useTheme(); + const { closeDropdown } = useDropdown(FAVORITE_FOLDER_PICKER_DROPDOWN_ID); + + return ( + + + { + setIsFavoriteFolderCreating(true); + closeDropdown(); + }} + text="Add folder" + LeftIcon={() => } + /> + + + ); +}; diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerList.tsx b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerList.tsx new file mode 100644 index 0000000000..fc29741c6a --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerList.tsx @@ -0,0 +1,74 @@ +import { favoriteFolderPickerCheckedComponentState } from '@/favorites/favorite-folder-picker/states/favoriteFolderPickerCheckedComponentState'; +import { favoriteFolderSearchFilterComponentState } from '@/favorites/favorite-folder-picker/states/favoriteFoldersSearchFilterComponentState'; +import { FavoriteFolder } from '@/favorites/types/FavoriteFolder'; +import { DropdownMenuSeparator } from '@/ui/layout/dropdown/components/DropdownMenuSeparator'; +import { useRecoilComponentStateV2 } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentStateV2'; +import styled from '@emotion/styled'; +import { MenuItem } from 'twenty-ui'; +import { FavoriteFolderMenuItemMultiSelect } from './FavoriteFolderMenuItemMultiSelect'; + +const StyledItemsContainer = styled.div` + width: 100%; +`; + +const StyledDropdownMenuSeparator = styled(DropdownMenuSeparator)` + margin-bottom: ${({ theme }) => theme.spacing(1)}; + margin-top: ${({ theme }) => theme.spacing(1)}; +`; + +type FavoriteFolderPickerListProps = { + folders: FavoriteFolder[]; + toggleFolderSelection: (folderId: string) => void; +}; + +export const NO_FOLDER_ID = 'no-folder'; + +export const FavoriteFolderPickerList = ({ + folders, + toggleFolderSelection, +}: FavoriteFolderPickerListProps) => { + const [favoriteFoldersSearchFilter] = useRecoilComponentStateV2( + favoriteFolderSearchFilterComponentState, + ); + const [favoriteFolderPickerChecked] = useRecoilComponentStateV2( + favoriteFolderPickerCheckedComponentState, + ); + + const filteredFolders = folders.filter((folder) => + folder.name + .toLowerCase() + .includes(favoriteFoldersSearchFilter.toLowerCase()), + ); + + const showNoFolderOption = + !favoriteFoldersSearchFilter || + 'no folder'.includes(favoriteFoldersSearchFilter.toLowerCase()); + + return ( + + {showNoFolderOption && ( + toggleFolderSelection(NO_FOLDER_ID)} + selected={favoriteFolderPickerChecked.includes(NO_FOLDER_ID)} + text="No folder" + className="no-folder-menu-item-multi-select" + /> + )} + {showNoFolderOption && filteredFolders.length > 0 && ( + + )} + {filteredFolders.length > 0 + ? filteredFolders.map((folder) => ( + toggleFolderSelection(folder.id)} + selected={favoriteFolderPickerChecked.includes(folder.id)} + text={folder.name} + className="folder-menu-item-multi-select" + /> + )) + : !showNoFolderOption && } + + ); +}; diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerSearchInput.tsx b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerSearchInput.tsx new file mode 100644 index 0000000000..611aeec5d9 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/components/FavoriteFolderPickerSearchInput.tsx @@ -0,0 +1,31 @@ +import { favoriteFolderSearchFilterComponentState } from '@/favorites/favorite-folder-picker/states/favoriteFoldersSearchFilterComponentState'; +import { DropdownMenuSearchInput } from '@/ui/layout/dropdown/components/DropdownMenuSearchInput'; +import { useRecoilComponentStateV2 } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentStateV2'; +import { useCallback } from 'react'; +import { useDebouncedCallback } from 'use-debounce'; + +export const FavoriteFolderPickerSearchInput = () => { + const [favoriteFoldersSearchFilter, setFavoriteFoldersSearchFilter] = + useRecoilComponentStateV2(favoriteFolderSearchFilterComponentState); + + const debouncedSetSearchFilter = useDebouncedCallback( + setFavoriteFoldersSearchFilter, + 100, + { leading: true }, + ); + + const handleFilterChange = useCallback( + (event: React.ChangeEvent) => { + debouncedSetSearchFilter(event.currentTarget.value); + }, + [debouncedSetSearchFilter], + ); + + return ( + + ); +}; diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/constants/FavoriteFolderPickerDropdownId.ts b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/constants/FavoriteFolderPickerDropdownId.ts new file mode 100644 index 0000000000..ccc7f811c8 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/constants/FavoriteFolderPickerDropdownId.ts @@ -0,0 +1,2 @@ +export const FAVORITE_FOLDER_PICKER_DROPDOWN_ID = + 'favorite-folder-picker-dropdown'; diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/hooks/useFavoriteFolderPicker.ts b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/hooks/useFavoriteFolderPicker.ts new file mode 100644 index 0000000000..6f4d35c8b9 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/hooks/useFavoriteFolderPicker.ts @@ -0,0 +1,129 @@ +import { favoriteFolderIdsPickerComponentState } from '@/favorites/favorite-folder-picker/states/favoriteFolderIdPickerComponentState'; +import { favoriteFolderPickerCheckedComponentState } from '@/favorites/favorite-folder-picker/states/favoriteFolderPickerCheckedComponentState'; +import { favoriteFolderPickerComponentFamilyState } from '@/favorites/favorite-folder-picker/states/favoriteFolderPickerComponentFamilyState'; +import { useCreateFavorite } from '@/favorites/hooks/useCreateFavorite'; +import { useDeleteFavorite } from '@/favorites/hooks/useDeleteFavorite'; +import { useFavorites } from '@/favorites/hooks/useFavorites'; + +import { FavoriteFolder } from '@/favorites/types/FavoriteFolder'; +import { ObjectRecord } from '@/object-record/types/ObjectRecord'; +import { useRecoilComponentCallbackStateV2 } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentCallbackStateV2'; +import { useRecoilComponentStateV2 } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentStateV2'; +import { useRecoilCallback } from 'recoil'; +import { isDefined } from 'twenty-ui'; + +type useFavoriteFolderPickerProps = { + record?: ObjectRecord; + objectNameSingular: string; +}; + +type FolderOperations = { + getFoldersByIds: () => FavoriteFolder[]; + toggleFolderSelection: (folderId: string) => Promise; +}; + +export const useFavoriteFolderPicker = ({ + record, + objectNameSingular, +}: useFavoriteFolderPickerProps): FolderOperations => { + const [favoriteFolderIdsPicker] = useRecoilComponentStateV2( + favoriteFolderIdsPickerComponentState, + ); + + const favoriteFoldersMultiSelectCheckedState = + useRecoilComponentCallbackStateV2( + favoriteFolderPickerCheckedComponentState, + ); + + const favoriteFolderPickerFamilyState = useRecoilComponentCallbackStateV2( + favoriteFolderPickerComponentFamilyState, + ); + + const favorites = useFavorites(); + const createFavorite = useCreateFavorite(); + const deleteFavorite = useDeleteFavorite(); + + const getFoldersByIds = useRecoilCallback( + ({ snapshot }) => + (): FavoriteFolder[] => { + return favoriteFolderIdsPicker + .map((folderId) => { + const folderValue = snapshot + .getLoadable(favoriteFolderPickerFamilyState(folderId)) + .getValue(); + + return folderValue; + }) + .filter((folder): folder is FavoriteFolder => isDefined(folder)); + }, + [favoriteFolderIdsPicker, favoriteFolderPickerFamilyState], + ); + + const toggleFolderSelection = useRecoilCallback( + ({ snapshot, set }) => + async (folderId: string) => { + const targetId = record?.id; + const targetObject = record; + + if (!isDefined(targetObject) || !isDefined(targetId)) { + throw new Error( + `Cannot toggle folder selection: record ${ + !isDefined(targetObject) ? 'object' : 'id' + } is not defined`, + ); + } + + const deleteFavoriteForRecord = async (isUnorganized: boolean) => { + const favoriteToDelete = favorites.find( + (favorite) => + favorite.recordId === targetId && + (isUnorganized + ? !favorite.favoriteFolderId + : favorite.favoriteFolderId === folderId), + ); + + if (!isDefined(favoriteToDelete)) { + return; + } + + await deleteFavorite(favoriteToDelete.id); + }; + + const checkedIds = snapshot + .getLoadable(favoriteFoldersMultiSelectCheckedState) + .getValue(); + + const isAlreadyChecked = checkedIds.includes(folderId); + + if (isAlreadyChecked) { + await deleteFavoriteForRecord(folderId === 'no-folder'); + + const newCheckedIds = checkedIds.filter((id) => id !== folderId); + set(favoriteFoldersMultiSelectCheckedState, newCheckedIds); + return; + } + + const folderIdToUse = folderId === 'no-folder' ? undefined : folderId; + + if (isDefined(record)) { + await createFavorite(record, objectNameSingular, folderIdToUse); + } + + const newCheckedIds = [...checkedIds, folderId]; + set(favoriteFoldersMultiSelectCheckedState, newCheckedIds); + }, + [ + favoriteFoldersMultiSelectCheckedState, + createFavorite, + deleteFavorite, + favorites, + record, + objectNameSingular, + ], + ); + + return { + getFoldersByIds, + toggleFolderSelection, + }; +}; diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/scopes/FavoriteFolderPickerScope.tsx b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/scopes/FavoriteFolderPickerScope.tsx new file mode 100644 index 0000000000..dc72ae681d --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/scopes/FavoriteFolderPickerScope.tsx @@ -0,0 +1,20 @@ +import { FavoriteFolderPickerInstanceContext } from '@/favorites/favorite-folder-picker/states/context/FavoriteFolderPickerInstanceContext'; +import { ReactNode } from 'react'; + +type FavoriteFolderPickerScopeProps = { + children: ReactNode; + favoriteFoldersScopeId: string; +}; + +export const FavoriteFolderPickerScope = ({ + children, + favoriteFoldersScopeId, +}: FavoriteFolderPickerScopeProps) => { + return ( + + {children} + + ); +}; diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/context/FavoriteFolderPickerInstanceContext.ts b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/context/FavoriteFolderPickerInstanceContext.ts new file mode 100644 index 0000000000..cd4342554b --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/context/FavoriteFolderPickerInstanceContext.ts @@ -0,0 +1,4 @@ +import { createComponentInstanceContext } from '@/ui/utilities/state/component-state/utils/createComponentInstanceContext'; + +export const FavoriteFolderPickerInstanceContext = + createComponentInstanceContext(); diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderIdPickerComponentState.ts b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderIdPickerComponentState.ts new file mode 100644 index 0000000000..d79a26b2ea --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderIdPickerComponentState.ts @@ -0,0 +1,10 @@ +import { FavoriteFolderPickerInstanceContext } from '@/favorites/favorite-folder-picker/states/context/FavoriteFolderPickerInstanceContext'; +import { createComponentStateV2 } from '@/ui/utilities/state/component-state/utils/createComponentStateV2'; + +export const favoriteFolderIdsPickerComponentState = createComponentStateV2< + string[] +>({ + key: 'favoriteFolderIdsPickerComponentState', + defaultValue: [], + componentInstanceContext: FavoriteFolderPickerInstanceContext, +}); diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderLoadingComponentState.ts b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderLoadingComponentState.ts new file mode 100644 index 0000000000..9f93db1a29 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderLoadingComponentState.ts @@ -0,0 +1,9 @@ +import { FavoriteFolderPickerInstanceContext } from '@/favorites/favorite-folder-picker/states/context/FavoriteFolderPickerInstanceContext'; +import { createComponentStateV2 } from '@/ui/utilities/state/component-state/utils/createComponentStateV2'; + +export const favoriteFolderLoadingComponentState = + createComponentStateV2({ + key: 'favoriteFoldersLoadingComponentState', + defaultValue: false, + componentInstanceContext: FavoriteFolderPickerInstanceContext, + }); diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderPickerCheckedComponentState.ts b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderPickerCheckedComponentState.ts new file mode 100644 index 0000000000..1f98d0635d --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderPickerCheckedComponentState.ts @@ -0,0 +1,10 @@ +import { FavoriteFolderPickerInstanceContext } from '@/favorites/favorite-folder-picker/states/context/FavoriteFolderPickerInstanceContext'; +import { createComponentStateV2 } from '@/ui/utilities/state/component-state/utils/createComponentStateV2'; + +export const favoriteFolderPickerCheckedComponentState = createComponentStateV2< + string[] +>({ + key: 'favoriteFolderPickerCheckedComponentState', + defaultValue: [], + componentInstanceContext: FavoriteFolderPickerInstanceContext, +}); diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderPickerComponentFamilyState.ts b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderPickerComponentFamilyState.ts new file mode 100644 index 0000000000..9aaa1b0234 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFolderPickerComponentFamilyState.ts @@ -0,0 +1,10 @@ +import { FavoriteFolderPickerInstanceContext } from '@/favorites/favorite-folder-picker/states/context/FavoriteFolderPickerInstanceContext'; +import { FavoriteFolder } from '@/favorites/types/FavoriteFolder'; +import { createComponentFamilyStateV2 } from '@/ui/utilities/state/component-state/utils/createComponentFamilyStateV2'; + +export const favoriteFolderPickerComponentFamilyState = + createComponentFamilyStateV2({ + key: 'favoriteFolderPickerComponentFamilyState', + defaultValue: undefined, + componentInstanceContext: FavoriteFolderPickerInstanceContext, + }); diff --git a/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFoldersSearchFilterComponentState.ts b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFoldersSearchFilterComponentState.ts new file mode 100644 index 0000000000..c075f0ea50 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/favorite-folder-picker/states/favoriteFoldersSearchFilterComponentState.ts @@ -0,0 +1,9 @@ +import { FavoriteFolderPickerInstanceContext } from '@/favorites/favorite-folder-picker/states/context/FavoriteFolderPickerInstanceContext'; +import { createComponentStateV2 } from '@/ui/utilities/state/component-state/utils/createComponentStateV2'; + +export const favoriteFolderSearchFilterComponentState = + createComponentStateV2({ + key: 'favoriteFolderSearchFilterComponentState', + defaultValue: '', + componentInstanceContext: FavoriteFolderPickerInstanceContext, + }); diff --git a/packages/twenty-front/src/modules/favorites/hooks/__mocks__/useFavorites.ts b/packages/twenty-front/src/modules/favorites/hooks/__mocks__/useFavorites.ts index 181f162fe0..e5d3e601a3 100644 --- a/packages/twenty-front/src/modules/favorites/hooks/__mocks__/useFavorites.ts +++ b/packages/twenty-front/src/modules/favorites/hooks/__mocks__/useFavorites.ts @@ -8,10 +8,12 @@ export const favoriteId = 'f088c8c9-05d2-4276-b065-b863cc7d0b33'; const favoriteTargetObjectId = 'f2d8b9e9-7932-4065-bc09-baf12388b75d'; export const favoriteTargetObjectRecord = { id: favoriteTargetObjectId, + __typename: 'Person', }; export const initialFavorites = [ { + __typename: 'Favorite', id: '1', position: 0, key: mockId, @@ -22,8 +24,11 @@ export const initialFavorites = [ recordId: '1', person: { id: '1', name: 'John Doe' }, company: { id: '2', name: 'ABC Corp' }, + workspaceMemberId: '1', + favoriteFolderId: undefined, }, { + __typename: 'Favorite', id: '2', position: 1, key: mockId, @@ -34,8 +39,12 @@ export const initialFavorites = [ recordId: '1', person: { id: '3', name: 'Jane Doe' }, company: { id: '4', name: 'Company Test' }, + workspaceMemberId: '1', + favoriteFolderId: undefined, + }, { + __typename: 'Favorite', id: '3', position: 2, key: mockId, @@ -44,27 +53,37 @@ export const initialFavorites = [ avatarType: 'squared' as AvatarType, link: 'example.com', recordId: '1', + workspaceMemberId: '1', + favoriteFolderId: undefined, }, ]; export const sortedFavorites = [ { id: '1', - recordId: '2', + recordId: '1', position: 0, - avatarType: 'squared', - avatarUrl: undefined, - labelIdentifier: 'ABC Corp', - link: '/object/company/2', + avatarType: 'rounded', + avatarUrl: '', + labelIdentifier: ' ', + link: '/object/person/1', + objectNameSingular: 'person', + workspaceMemberId: '1', + favoriteFolderId: undefined, + __typename: 'Favorite', }, { id: '2', - recordId: '4', + recordId: '3', position: 1, - avatarType: 'squared', - avatarUrl: undefined, - labelIdentifier: 'Company Test', - link: '/object/company/4', + avatarType: 'rounded', + avatarUrl: '', + labelIdentifier: ' ', + link: '/object/person/3', + objectNameSingular: 'person', + workspaceMemberId: '1', + favoriteFolderId: undefined, + __typename: 'Favorite', }, { id: '3', @@ -72,9 +91,12 @@ export const sortedFavorites = [ key: '8f3b2121-f194-4ba4-9fbf-2d5a37126806', labelIdentifier: 'favoriteLabel', avatarUrl: 'example.com', - avatarType: 'squared', link: 'example.com', recordId: '1', + avatarType: 'squared', + favoriteFolderId: undefined, + workspaceMemberId: '1', + __typename: 'Favorite', }, ]; @@ -84,288 +106,301 @@ export const mocks = [ query: gql` mutation CreateOneFavorite($input: FavoriteCreateInput!) { createFavorite(data: $input) { - __typename - company { - __typename - accountOwnerId - address { - addressStreet1 - addressStreet2 - addressCity - addressState - addressCountry - addressPostcode - addressLat - addressLng - } - annualRecurringRevenue { - amountMicros - currencyCode - } - createdAt - createdBy { - source + __typename + company { + __typename + accountOwnerId + address { + addressStreet1 + addressStreet2 + addressCity + addressState + addressCountry + addressPostcode + addressLat + addressLng + } + annualRecurringRevenue { + amountMicros + currencyCode + } + createdAt + createdBy { + source + workspaceMemberId + name + } + deletedAt + domainName { + primaryLinkUrl + primaryLinkLabel + secondaryLinks + } + employees + id + idealCustomerProfile + introVideo { + primaryLinkUrl + primaryLinkLabel + secondaryLinks + } + linkedinLink { + primaryLinkUrl + primaryLinkLabel + secondaryLinks + } + name + position + tagline + updatedAt + visaSponsorship + workPolicy + xLink { + primaryLinkUrl + primaryLinkLabel + secondaryLinks + } + } + companyId + createdAt + deletedAt + favoriteFolder { + __typename + createdAt + deletedAt + id + name + position + updatedAt + } + favoriteFolderId + id + note { + __typename + body + createdAt + createdBy { + source + workspaceMemberId + name + } + deletedAt + id + position + title + updatedAt + } + noteId + opportunity { + __typename + amount { + amountMicros + currencyCode + } + closeDate + companyId + createdAt + createdBy { + source + workspaceMemberId + name + } + deletedAt + id + name + pointOfContactId + position + stage + updatedAt + } + opportunityId + person { + __typename + avatarUrl + city + companyId + createdAt + createdBy { + source + workspaceMemberId + name + } + deletedAt + emails { + primaryEmail + additionalEmails + } + id + intro + jobTitle + linkedinLink { + primaryLinkUrl + primaryLinkLabel + secondaryLinks + } + name { + firstName + lastName + } + performanceRating + phones { + primaryPhoneNumber + primaryPhoneCountryCode + additionalPhones + } + position + updatedAt + whatsapp { + primaryPhoneNumber + primaryPhoneCountryCode + additionalPhones + } + workPreference + xLink { + primaryLinkUrl + primaryLinkLabel + secondaryLinks + } + } + personId + position + rocket { + __typename + createdAt + createdBy { + source + workspaceMemberId + name + } + deletedAt + id + name + position + updatedAt + } + rocketId + task { + __typename + assigneeId + body + createdAt + createdBy { + source + workspaceMemberId + name + } + deletedAt + dueAt + id + position + status + title + updatedAt + } + taskId + updatedAt + view { + __typename + createdAt + deletedAt + icon + id + isCompact + kanbanFieldMetadataId + key + name + objectMetadataId + position + type + updatedAt + } + viewId + workflow { + __typename + createdAt + deletedAt + id + lastPublishedVersionId + name + position + statuses + updatedAt + } + workflowId + workflowRun { + __typename + createdAt + createdBy { + source + workspaceMemberId + name + } + deletedAt + endedAt + id + name + output + position + startedAt + status + updatedAt + workflowId + workflowVersionId + } + workflowRunId + workflowVersion { + __typename + createdAt + deletedAt + id + name + position + status + steps + trigger + updatedAt + workflowId + } + workflowVersionId + workspaceMember { + __typename + avatarUrl + colorScheme + createdAt + dateFormat + deletedAt + id + locale + name { + firstName + lastName + } + timeFormat + timeZone + updatedAt + userEmail + userId + } workspaceMemberId - name - } - deletedAt - domainName { - primaryLinkUrl - primaryLinkLabel - secondaryLinks - } - employees - id - idealCustomerProfile - introVideo { - primaryLinkUrl - primaryLinkLabel - secondaryLinks - } - linkedinLink { - primaryLinkUrl - primaryLinkLabel - secondaryLinks - } - name - position - tagline - updatedAt - visaSponsorship - workPolicy - xLink { - primaryLinkUrl - primaryLinkLabel - secondaryLinks } } - companyId - createdAt - deletedAt - id - note { - __typename - body - createdAt - createdBy { - source - workspaceMemberId - name - } - deletedAt - id - position - title - updatedAt - } - noteId - opportunity { - __typename - amount { - amountMicros - currencyCode - } - closeDate - companyId - createdAt - createdBy { - source - workspaceMemberId - name - } - deletedAt - id - name - pointOfContactId - position - stage - updatedAt - } - opportunityId - person { - __typename - avatarUrl - city - companyId - createdAt - createdBy { - source - workspaceMemberId - name - } - deletedAt - emails { - primaryEmail - additionalEmails - } - id - intro - jobTitle - linkedinLink { - primaryLinkUrl - primaryLinkLabel - secondaryLinks - } - name { - firstName - lastName - } - performanceRating - phones { - primaryPhoneNumber - primaryPhoneCountryCode - additionalPhones - } - position - updatedAt - whatsapp { - primaryPhoneNumber - primaryPhoneCountryCode - additionalPhones - } - workPreference - xLink { - primaryLinkUrl - primaryLinkLabel - secondaryLinks - } - } - personId - position - rocket { - __typename - createdAt - createdBy { - source - workspaceMemberId - name - } - deletedAt - id - name - position - updatedAt - } - rocketId - task { - __typename - assigneeId - body - createdAt - createdBy { - source - workspaceMemberId - name - } - deletedAt - dueAt - id - position - status - title - updatedAt - } - taskId - updatedAt - view { - __typename - createdAt - deletedAt - icon - id - isCompact - kanbanFieldMetadataId - key - name - objectMetadataId - position - type - updatedAt - } - viewId - workflow { - __typename - createdAt - deletedAt - id - lastPublishedVersionId - name - position - statuses - updatedAt - } - workflowId - workflowRun { - __typename - createdAt - createdBy { - source - workspaceMemberId - name - } - deletedAt - endedAt - id - name - output - position - startedAt - status - updatedAt - workflowId - workflowVersionId - } - workflowRunId - workflowVersion { - __typename - createdAt - deletedAt - id - name - position - status - steps - trigger - updatedAt - workflowId - } - workflowVersionId - workspaceMember { - __typename - avatarUrl - colorScheme - createdAt - dateFormat - deletedAt - id - locale - name { - firstName - lastName - } - timeFormat - timeZone - updatedAt - userEmail - userId - } - workspaceMemberId - } - } `, variables: { input: { - id: mockId, personId: favoriteTargetObjectId, - position: 4, + position: 3, workspaceMemberId: '1', + favoriteFolderId: undefined, + id: mockId, }, }, }, result: jest.fn(() => ({ data: { createFavorite: { + __typename: 'Favorite', id: favoriteId, + position: 1, }, }, })), @@ -386,7 +421,9 @@ export const mocks = [ result: jest.fn(() => ({ data: { deleteFavorite: { + __typename: 'Favorite', id: favoriteId, + deletedAt: new Date().toISOString(), }, }, })), @@ -457,6 +494,16 @@ export const mocks = [ companyId createdAt deletedAt + favoriteFolder { + __typename + createdAt + deletedAt + id + name + position + updatedAt + } + favoriteFolderId id note { __typename @@ -678,7 +725,9 @@ export const mocks = [ result: jest.fn(() => ({ data: { updateFavorite: { + __typename: 'Favorite', id: favoriteId, + position: 2, }, }, })), diff --git a/packages/twenty-front/src/modules/favorites/hooks/__tests__/useCreateFavorite.test.tsx b/packages/twenty-front/src/modules/favorites/hooks/__tests__/useCreateFavorite.test.tsx new file mode 100644 index 0000000000..88ca513864 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/hooks/__tests__/useCreateFavorite.test.tsx @@ -0,0 +1,53 @@ +import { renderHook, waitFor } from '@testing-library/react'; +import { useSetRecoilState } from 'recoil'; + +import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState'; +import { useCreateFavorite } from '@/favorites/hooks/useCreateFavorite'; +import { objectMetadataItemsState } from '@/object-metadata/states/objectMetadataItemsState'; +import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; +import { getJestMetadataAndApolloMocksWrapper } from '~/testing/jest/getJestMetadataAndApolloMocksWrapper'; +import { generatedMockObjectMetadataItems } from '~/testing/mock-data/generatedMockObjectMetadataItems'; +import { + favoriteTargetObjectRecord, + initialFavorites, + mockId, + mockWorkspaceMember, + mocks, +} from '../__mocks__/useFavorites'; + +jest.mock('uuid', () => ({ + v4: () => mockId, +})); + +jest.mock('@/object-record/hooks/useFindManyRecords', () => ({ + useFindManyRecords: () => ({ records: initialFavorites }), +})); + +const Wrapper = getJestMetadataAndApolloMocksWrapper({ + apolloMocks: mocks, +}); + +describe('useCreateFavorite', () => { + it('should create favorite successfully', async () => { + const { result } = renderHook( + () => { + const setCurrentWorkspaceMember = useSetRecoilState( + currentWorkspaceMemberState, + ); + setCurrentWorkspaceMember(mockWorkspaceMember); + + const setMetadataItems = useSetRecoilState(objectMetadataItemsState); + setMetadataItems(generatedMockObjectMetadataItems); + + return useCreateFavorite(); + }, + { wrapper: Wrapper }, + ); + + result.current(favoriteTargetObjectRecord, CoreObjectNameSingular.Person); + + await waitFor(() => { + expect(mocks[0].result).toHaveBeenCalled(); + }); + }); +}); diff --git a/packages/twenty-front/src/modules/favorites/hooks/__tests__/useDeleteFavorite.test.tsx b/packages/twenty-front/src/modules/favorites/hooks/__tests__/useDeleteFavorite.test.tsx new file mode 100644 index 0000000000..8c84243c7e --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/hooks/__tests__/useDeleteFavorite.test.tsx @@ -0,0 +1,47 @@ +import { renderHook, waitFor } from '@testing-library/react'; +import { useSetRecoilState } from 'recoil'; + +import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState'; +import { useDeleteFavorite } from '@/favorites/hooks/useDeleteFavorite'; +import { objectMetadataItemsState } from '@/object-metadata/states/objectMetadataItemsState'; +import { getJestMetadataAndApolloMocksWrapper } from '~/testing/jest/getJestMetadataAndApolloMocksWrapper'; +import { generatedMockObjectMetadataItems } from '~/testing/mock-data/generatedMockObjectMetadataItems'; +import { + favoriteId, + initialFavorites, + mockWorkspaceMember, + mocks, +} from '../__mocks__/useFavorites'; + +jest.mock('@/object-record/hooks/useFindManyRecords', () => ({ + useFindManyRecords: () => ({ records: initialFavorites }), +})); + +const Wrapper = getJestMetadataAndApolloMocksWrapper({ + apolloMocks: mocks, +}); + +describe('useDeleteFavorite', () => { + it('should delete favorite successfully', async () => { + const { result } = renderHook( + () => { + const setCurrentWorkspaceMember = useSetRecoilState( + currentWorkspaceMemberState, + ); + setCurrentWorkspaceMember(mockWorkspaceMember); + + const setMetadataItems = useSetRecoilState(objectMetadataItemsState); + setMetadataItems(generatedMockObjectMetadataItems); + + return useDeleteFavorite(); + }, + { wrapper: Wrapper }, + ); + + result.current(favoriteId); + + await waitFor(() => { + expect(mocks[1].result).toHaveBeenCalled(); + }); + }); +}); diff --git a/packages/twenty-front/src/modules/favorites/hooks/__tests__/useFavorites.test.tsx b/packages/twenty-front/src/modules/favorites/hooks/__tests__/useFavorites.test.tsx index 7192c58655..8753fd887b 100644 --- a/packages/twenty-front/src/modules/favorites/hooks/__tests__/useFavorites.test.tsx +++ b/packages/twenty-front/src/modules/favorites/hooks/__tests__/useFavorites.test.tsx @@ -1,29 +1,18 @@ -import { DropResult, ResponderProvided } from '@hello-pangea/dnd'; -import { renderHook, waitFor } from '@testing-library/react'; +import { renderHook } from '@testing-library/react'; import { useSetRecoilState } from 'recoil'; import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState'; import { useFavorites } from '@/favorites/hooks/useFavorites'; import { objectMetadataItemsState } from '@/object-metadata/states/objectMetadataItemsState'; -import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; - -import { act } from 'react'; import { getJestMetadataAndApolloMocksWrapper } from '~/testing/jest/getJestMetadataAndApolloMocksWrapper'; import { generatedMockObjectMetadataItems } from '~/testing/mock-data/generatedMockObjectMetadataItems'; import { - favoriteId, - favoriteTargetObjectRecord, initialFavorites, - mockId, mocks, mockWorkspaceMember, sortedFavorites, } from '../__mocks__/useFavorites'; -jest.mock('uuid', () => ({ - v4: jest.fn(() => mockId), -})); - jest.mock('@/object-record/hooks/useFindManyRecords', () => ({ useFindManyRecords: () => ({ records: initialFavorites }), })); @@ -33,7 +22,7 @@ const Wrapper = getJestMetadataAndApolloMocksWrapper({ }); describe('useFavorites', () => { - it('should fetch favorites successfully', async () => { + it('should fetch and sort favorites successfully', () => { const { result } = renderHook( () => { const setCurrentWorkspaceMember = useSetRecoilState( @@ -46,108 +35,9 @@ describe('useFavorites', () => { return useFavorites(); }, - { - wrapper: Wrapper, - }, + { wrapper: Wrapper }, ); - expect(result.current.favorites).toEqual(sortedFavorites); - }); - - it('should createOneFavorite successfully', async () => { - const { result } = renderHook( - () => { - const setCurrentWorkspaceMember = useSetRecoilState( - currentWorkspaceMemberState, - ); - setCurrentWorkspaceMember(mockWorkspaceMember); - - const setMetadataItems = useSetRecoilState(objectMetadataItemsState); - setMetadataItems(generatedMockObjectMetadataItems); - - return useFavorites(); - }, - { - wrapper: Wrapper, - }, - ); - - result.current.createFavorite( - favoriteTargetObjectRecord, - CoreObjectNameSingular.Person, - ); - - await waitFor(() => { - expect(mocks[0].result).toHaveBeenCalled(); - }); - }); - - it('should deleteOneRecord successfully', async () => { - const { result } = renderHook( - () => { - const setCurrentWorkspaceMember = useSetRecoilState( - currentWorkspaceMemberState, - ); - setCurrentWorkspaceMember(mockWorkspaceMember); - - const setMetadataItems = useSetRecoilState(objectMetadataItemsState); - setMetadataItems(generatedMockObjectMetadataItems); - - return useFavorites(); - }, - { - wrapper: Wrapper, - }, - ); - - result.current.deleteFavorite(favoriteId); - - await waitFor(() => { - expect(mocks[1].result).toHaveBeenCalled(); - }); - }); - - it('should handle reordering favorites successfully', async () => { - const { result } = renderHook( - () => { - const setCurrentWorkspaceMember = useSetRecoilState( - currentWorkspaceMemberState, - ); - setCurrentWorkspaceMember(mockWorkspaceMember); - - const setMetadataItems = useSetRecoilState(objectMetadataItemsState); - setMetadataItems(generatedMockObjectMetadataItems); - - return useFavorites(); - }, - { - wrapper: Wrapper, - }, - ); - - act(() => { - const dragAndDropResult: DropResult = { - source: { index: 0, droppableId: 'droppableId' }, - destination: { index: 2, droppableId: 'droppableId' }, - combine: null, - mode: 'FLUID', - draggableId: 'draggableId', - type: 'type', - reason: 'DROP', - }; - - const responderProvided: ResponderProvided = { - announce: () => {}, - }; - - result.current.handleReorderFavorite( - dragAndDropResult, - responderProvided, - ); - }); - - await waitFor(() => { - expect(mocks[2].result).toHaveBeenCalled(); - }); + expect(result.current).toEqual(sortedFavorites); }); }); diff --git a/packages/twenty-front/src/modules/favorites/hooks/__tests__/useReorderFavorite.test.tsx b/packages/twenty-front/src/modules/favorites/hooks/__tests__/useReorderFavorite.test.tsx new file mode 100644 index 0000000000..a5baceba74 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/hooks/__tests__/useReorderFavorite.test.tsx @@ -0,0 +1,64 @@ +import { DropResult, ResponderProvided } from '@hello-pangea/dnd'; +import { renderHook, waitFor } from '@testing-library/react'; +import { act } from 'react'; +import { useSetRecoilState } from 'recoil'; + +import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState'; +import { useReorderFavorite } from '@/favorites/hooks/useReorderFavorite'; +import { objectMetadataItemsState } from '@/object-metadata/states/objectMetadataItemsState'; +import { getJestMetadataAndApolloMocksWrapper } from '~/testing/jest/getJestMetadataAndApolloMocksWrapper'; +import { generatedMockObjectMetadataItems } from '~/testing/mock-data/generatedMockObjectMetadataItems'; +import { + initialFavorites, + mockWorkspaceMember, + mocks, +} from '../__mocks__/useFavorites'; + +jest.mock('@/object-record/hooks/useFindManyRecords', () => ({ + useFindManyRecords: () => ({ records: initialFavorites }), +})); + +const Wrapper = getJestMetadataAndApolloMocksWrapper({ + apolloMocks: mocks, +}); + +describe('useReorderFavorite', () => { + it('should handle reordering favorites successfully', async () => { + const { result } = renderHook( + () => { + const setCurrentWorkspaceMember = useSetRecoilState( + currentWorkspaceMemberState, + ); + setCurrentWorkspaceMember(mockWorkspaceMember); + + const setMetadataItems = useSetRecoilState(objectMetadataItemsState); + setMetadataItems(generatedMockObjectMetadataItems); + + return useReorderFavorite(); + }, + { wrapper: Wrapper }, + ); + + act(() => { + const dragAndDropResult: DropResult = { + source: { index: 0, droppableId: 'droppableId' }, + destination: { index: 2, droppableId: 'droppableId' }, + combine: null, + mode: 'FLUID', + draggableId: '1', + type: 'type', + reason: 'DROP', + }; + + const responderProvided: ResponderProvided = { + announce: () => {}, + }; + + result.current(dragAndDropResult, responderProvided); + }); + + await waitFor(() => { + expect(mocks[2].result).toHaveBeenCalled(); + }); + }); +}); diff --git a/packages/twenty-front/src/modules/favorites/hooks/useCreateFavorite.ts b/packages/twenty-front/src/modules/favorites/hooks/useCreateFavorite.ts new file mode 100644 index 0000000000..61bb0a7f78 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/hooks/useCreateFavorite.ts @@ -0,0 +1,38 @@ +import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; +import { useCreateOneRecord } from '@/object-record/hooks/useCreateOneRecord'; +import { ObjectRecord } from '@/object-record/types/ObjectRecord'; +import { usePrefetchedFavoritesData } from './usePrefetchedFavoritesData'; + +export const useCreateFavorite = () => { + const { favorites, currentWorkspaceMemberId } = usePrefetchedFavoritesData(); + const { createOneRecord: createOneFavorite } = useCreateOneRecord({ + objectNameSingular: CoreObjectNameSingular.Favorite, + }); + + const createFavorite = ( + targetRecord: ObjectRecord, + targetObjectNameSingular: string, + favoriteFolderId?: string, + ) => { + const relevantFavorites = favoriteFolderId + ? favorites.filter((fav) => fav.favoriteFolderId === favoriteFolderId) + : favorites.filter( + (fav) => !fav.favoriteFolderId && fav.workspaceMemberId, + ); + + const maxPosition = Math.max( + ...relevantFavorites.map((fav) => fav.position), + 0, + ); + + createOneFavorite({ + [targetObjectNameSingular]: targetRecord, + [`${targetObjectNameSingular}Id`]: targetRecord.id, + position: maxPosition + 1, + workspaceMemberId: currentWorkspaceMemberId, + favoriteFolderId, + }); + }; + + return createFavorite; +}; diff --git a/packages/twenty-front/src/modules/favorites/hooks/useCreateFavoriteFolder.ts b/packages/twenty-front/src/modules/favorites/hooks/useCreateFavoriteFolder.ts new file mode 100644 index 0000000000..45498fc11b --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/hooks/useCreateFavoriteFolder.ts @@ -0,0 +1,32 @@ +import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; +import { useCreateOneRecord } from '@/object-record/hooks/useCreateOneRecord'; +import { usePrefetchedFavoritesData } from './usePrefetchedFavoritesData'; +import { usePrefetchedFavoritesFoldersData } from './usePrefetchedFavoritesFoldersData'; + +export const useCreateFavoriteFolder = () => { + const { createOneRecord: createFavoriteFolder } = useCreateOneRecord({ + objectNameSingular: CoreObjectNameSingular.FavoriteFolder, + }); + + const { currentWorkspaceMemberId } = usePrefetchedFavoritesData(); + const { favoriteFolders } = usePrefetchedFavoritesFoldersData(); + + const createNewFavoriteFolder = async (name: string): Promise => { + if (!name || !currentWorkspaceMemberId) { + return; + } + + const maxPosition = Math.max( + ...favoriteFolders.map((folder) => folder.position), + 0, + ); + + await createFavoriteFolder({ + workspaceMemberId: currentWorkspaceMemberId, + name, + position: maxPosition + 1, + }); + }; + + return createNewFavoriteFolder; +}; diff --git a/packages/twenty-front/src/modules/favorites/hooks/useDeleteFavorite.ts b/packages/twenty-front/src/modules/favorites/hooks/useDeleteFavorite.ts new file mode 100644 index 0000000000..70e5e9c6ee --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/hooks/useDeleteFavorite.ts @@ -0,0 +1,14 @@ +import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; +import { useDeleteOneRecord } from '@/object-record/hooks/useDeleteOneRecord'; + +export const useDeleteFavorite = () => { + const { deleteOneRecord } = useDeleteOneRecord({ + objectNameSingular: CoreObjectNameSingular.Favorite, + }); + + const deleteFavorite = (favoriteId: string) => { + deleteOneRecord(favoriteId); + }; + + return deleteFavorite; +}; diff --git a/packages/twenty-front/src/modules/favorites/hooks/useDeleteFavoriteFolder.ts b/packages/twenty-front/src/modules/favorites/hooks/useDeleteFavoriteFolder.ts new file mode 100644 index 0000000000..dabdb0e579 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/hooks/useDeleteFavoriteFolder.ts @@ -0,0 +1,26 @@ +import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; +import { useDeleteOneRecord } from '@/object-record/hooks/useDeleteOneRecord'; +import { usePrefetchedFavoritesData } from './usePrefetchedFavoritesData'; + +export const useDeleteFavoriteFolder = () => { + const { deleteOneRecord } = useDeleteOneRecord({ + objectNameSingular: CoreObjectNameSingular.FavoriteFolder, + }); + const { upsertFavorites, favorites, workspaceFavorites } = + usePrefetchedFavoritesData(); + + const deleteFavoriteFolder = async (folderId: string): Promise => { + await deleteOneRecord(folderId); + + const updatedFavorites = [ + ...favorites.filter((favorite) => favorite.favoriteFolderId !== folderId), + ...workspaceFavorites, + ]; + + upsertFavorites(updatedFavorites); + }; + + return { + deleteFavoriteFolder, + }; +}; diff --git a/packages/twenty-front/src/modules/favorites/hooks/useFavorites.ts b/packages/twenty-front/src/modules/favorites/hooks/useFavorites.ts index d2beb115d1..c97ab80081 100644 --- a/packages/twenty-front/src/modules/favorites/hooks/useFavorites.ts +++ b/packages/twenty-front/src/modules/favorites/hooks/useFavorites.ts @@ -1,163 +1,56 @@ -import { OnDragEndResponder } from '@hello-pangea/dnd'; -import { useMemo } from 'react'; -import { useRecoilValue } from 'recoil'; - -import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState'; -import { Favorite } from '@/favorites/types/Favorite'; import { sortFavorites } from '@/favorites/utils/sortFavorites'; import { useGetObjectRecordIdentifierByNameSingular } from '@/object-metadata/hooks/useGetObjectRecordIdentifierByNameSingular'; import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem'; +import { objectMetadataItemsState } from '@/object-metadata/states/objectMetadataItemsState'; import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; -import { useCreateOneRecord } from '@/object-record/hooks/useCreateOneRecord'; -import { useDeleteOneRecord } from '@/object-record/hooks/useDeleteOneRecord'; -import { useUpdateOneRecord } from '@/object-record/hooks/useUpdateOneRecord'; import { usePrefetchedData } from '@/prefetch/hooks/usePrefetchedData'; import { PrefetchKey } from '@/prefetch/types/PrefetchKey'; +import { View } from '@/views/types/View'; +import { useMemo } from 'react'; +import { useRecoilValue } from 'recoil'; import { FieldMetadataType } from '~/generated-metadata/graphql'; +import { usePrefetchedFavoritesData } from './usePrefetchedFavoritesData'; export const useFavorites = () => { - const currentWorkspaceMember = useRecoilValue(currentWorkspaceMemberState); - + const { favorites } = usePrefetchedFavoritesData(); + const { records: views } = usePrefetchedData(PrefetchKey.AllViews); + const objectMetadataItems = useRecoilValue(objectMetadataItemsState); const { objectMetadataItem: favoriteObjectMetadataItem } = useObjectMetadataItem({ objectNameSingular: CoreObjectNameSingular.Favorite, }); - - const { deleteOneRecord } = useDeleteOneRecord({ - objectNameSingular: CoreObjectNameSingular.Favorite, - }); - - const { updateOneRecord: updateOneFavorite } = useUpdateOneRecord({ - objectNameSingular: CoreObjectNameSingular.Favorite, - }); - - const { createOneRecord: createOneFavorite } = useCreateOneRecord({ - objectNameSingular: CoreObjectNameSingular.Favorite, - }); - - const { records: favorites } = usePrefetchedData( - PrefetchKey.AllFavorites, - { - workspaceMemberId: { - eq: currentWorkspaceMember?.id ?? '', - }, - }, - ); - - const { records: workspaceFavorites } = usePrefetchedData( - PrefetchKey.AllFavorites, - { - workspaceMemberId: { - eq: undefined, - }, - }, - ); + const getObjectRecordIdentifierByNameSingular = + useGetObjectRecordIdentifierByNameSingular(); const favoriteRelationFieldMetadataItems = useMemo( () => favoriteObjectMetadataItem.fields.filter( (fieldMetadataItem) => fieldMetadataItem.type === FieldMetadataType.Relation && - fieldMetadataItem.name !== 'workspaceMember', + fieldMetadataItem.name !== 'workspaceMember' && + fieldMetadataItem.name !== 'favoriteFolder', ), [favoriteObjectMetadataItem.fields], ); - const getObjectRecordIdentifierByNameSingular = - useGetObjectRecordIdentifierByNameSingular(); - - const favoritesSorted = useMemo(() => { - return sortFavorites( + const sortedFavorites = useMemo( + () => + sortFavorites( + favorites, + favoriteRelationFieldMetadataItems, + getObjectRecordIdentifierByNameSingular, + true, + views, + objectMetadataItems, + ), + [ favorites, favoriteRelationFieldMetadataItems, getObjectRecordIdentifierByNameSingular, - true, - ); - }, [ - favoriteRelationFieldMetadataItems, - favorites, - getObjectRecordIdentifierByNameSingular, - ]); + views, + objectMetadataItems, + ], + ); - const workspaceFavoritesSorted = useMemo(() => { - return sortFavorites( - workspaceFavorites.filter((favorite) => favorite.viewId), - favoriteRelationFieldMetadataItems, - getObjectRecordIdentifierByNameSingular, - false, - ); - }, [ - favoriteRelationFieldMetadataItems, - getObjectRecordIdentifierByNameSingular, - workspaceFavorites, - ]); - - const createFavorite = ( - targetRecord: Record, - targetObjectNameSingular: string, - ) => { - createOneFavorite({ - [targetObjectNameSingular]: targetRecord, - [`${targetObjectNameSingular}Id`]: targetRecord.id, - position: favorites.length + 1, - workspaceMemberId: currentWorkspaceMember?.id, - }); - }; - - const deleteFavorite = (favoriteId: string) => { - deleteOneRecord(favoriteId); - }; - - const computeNewPosition = (destIndex: number, sourceIndex: number) => { - const moveToFirstPosition = destIndex === 0; - const moveToLastPosition = destIndex === favoritesSorted.length - 1; - const moveAfterSource = destIndex > sourceIndex; - - if (moveToFirstPosition) { - return favoritesSorted[0].position / 2; - } else if (moveToLastPosition) { - return favoritesSorted[destIndex - 1].position + 1; - } else if (moveAfterSource) { - return ( - (favoritesSorted[destIndex + 1].position + - favoritesSorted[destIndex].position) / - 2 - ); - } else { - return ( - favoritesSorted[destIndex].position - - (favoritesSorted[destIndex].position - - favoritesSorted[destIndex - 1].position) / - 2 - ); - } - }; - - const handleReorderFavorite: OnDragEndResponder = (result) => { - if (!result.destination || !favoritesSorted) { - return; - } - - const newPosition = computeNewPosition( - result.destination.index, - result.source.index, - ); - - const updatedFavorite = favoritesSorted[result.source.index]; - - updateOneFavorite({ - idToUpdate: updatedFavorite.id, - updateOneRecordInput: { - position: newPosition, - }, - }); - }; - - return { - favorites: favoritesSorted, - workspaceFavorites: workspaceFavoritesSorted, - createFavorite, - handleReorderFavorite, - deleteFavorite, - }; + return sortedFavorites; }; diff --git a/packages/twenty-front/src/modules/favorites/hooks/useFavoritesByFolder.ts b/packages/twenty-front/src/modules/favorites/hooks/useFavoritesByFolder.ts new file mode 100644 index 0000000000..73c1239a37 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/hooks/useFavoritesByFolder.ts @@ -0,0 +1,62 @@ +import { sortFavorites } from '@/favorites/utils/sortFavorites'; +import { useGetObjectRecordIdentifierByNameSingular } from '@/object-metadata/hooks/useGetObjectRecordIdentifierByNameSingular'; +import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem'; +import { objectMetadataItemsState } from '@/object-metadata/states/objectMetadataItemsState'; +import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; +import { usePrefetchedData } from '@/prefetch/hooks/usePrefetchedData'; +import { PrefetchKey } from '@/prefetch/types/PrefetchKey'; +import { View } from '@/views/types/View'; +import { useMemo } from 'react'; +import { useRecoilValue } from 'recoil'; +import { FieldMetadataType } from '~/generated-metadata/graphql'; +import { usePrefetchedFavoritesData } from './usePrefetchedFavoritesData'; +import { usePrefetchedFavoritesFoldersData } from './usePrefetchedFavoritesFoldersData'; + +export const useFavoritesByFolder = () => { + const { favorites } = usePrefetchedFavoritesData(); + const { favoriteFolders } = usePrefetchedFavoritesFoldersData(); + const { records: views } = usePrefetchedData(PrefetchKey.AllViews); + const objectMetadataItems = useRecoilValue(objectMetadataItemsState); + const getObjectRecordIdentifierByNameSingular = + useGetObjectRecordIdentifierByNameSingular(); + + const { objectMetadataItem: favoriteObjectMetadataItem } = + useObjectMetadataItem({ + objectNameSingular: CoreObjectNameSingular.Favorite, + }); + + const favoriteRelationFields = useMemo( + () => + favoriteObjectMetadataItem.fields.filter( + (fieldMetadataItem) => + fieldMetadataItem.type === FieldMetadataType.Relation && + fieldMetadataItem.name !== 'workspaceMember' && + fieldMetadataItem.name !== 'favoriteFolder', + ), + [favoriteObjectMetadataItem.fields], + ); + + const favoritesByFolder = useMemo(() => { + return favoriteFolders.map((folder) => ({ + folderId: folder.id, + folderName: folder.name, + favorites: sortFavorites( + favorites.filter((favorite) => favorite.favoriteFolderId === folder.id), + favoriteRelationFields, + getObjectRecordIdentifierByNameSingular, + true, + views, + objectMetadataItems, + ), + })); + }, [ + favoriteFolders, + favorites, + favoriteRelationFields, + getObjectRecordIdentifierByNameSingular, + views, + objectMetadataItems, + ]); + + return favoritesByFolder; +}; diff --git a/packages/twenty-front/src/modules/favorites/hooks/usePrefetchedFavoritesData.ts b/packages/twenty-front/src/modules/favorites/hooks/usePrefetchedFavoritesData.ts new file mode 100644 index 0000000000..7eae9cf3a9 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/hooks/usePrefetchedFavoritesData.ts @@ -0,0 +1,46 @@ +import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState'; +import { Favorite } from '@/favorites/types/Favorite'; +import { usePrefetchRunQuery } from '@/prefetch/hooks/internal/usePrefetchRunQuery'; +import { usePrefetchedData } from '@/prefetch/hooks/usePrefetchedData'; +import { PrefetchKey } from '@/prefetch/types/PrefetchKey'; +import { useRecoilValue } from 'recoil'; + +type PrefetchedFavoritesData = { + favorites: Favorite[]; + workspaceFavorites: Favorite[]; + upsertFavorites: (records: Favorite[]) => void; + currentWorkspaceMemberId: string | undefined; +}; + +export const usePrefetchedFavoritesData = (): PrefetchedFavoritesData => { + const currentWorkspaceMember = useRecoilValue(currentWorkspaceMemberState); + const currentWorkspaceMemberId = currentWorkspaceMember?.id; + const { records: _favorites } = usePrefetchedData( + PrefetchKey.AllFavorites, + { + workspaceMemberId: { + eq: currentWorkspaceMemberId, + }, + }, + ); + + const favorites = _favorites.filter( + (favorite) => favorite.workspaceMemberId === currentWorkspaceMemberId, + ); + + const workspaceFavorites = _favorites.filter( + (favorite) => favorite.workspaceMemberId === null, + ); + + const { upsertRecordsInCache: upsertFavorites } = + usePrefetchRunQuery({ + prefetchKey: PrefetchKey.AllFavorites, + }); + + return { + favorites, + workspaceFavorites, + upsertFavorites, + currentWorkspaceMemberId, + }; +}; diff --git a/packages/twenty-front/src/modules/favorites/hooks/usePrefetchedFavoritesFoldersData.ts b/packages/twenty-front/src/modules/favorites/hooks/usePrefetchedFavoritesFoldersData.ts new file mode 100644 index 0000000000..b794dc2ec4 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/hooks/usePrefetchedFavoritesFoldersData.ts @@ -0,0 +1,38 @@ +import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState'; +import { FavoriteFolder } from '@/favorites/types/FavoriteFolder'; +import { usePrefetchRunQuery } from '@/prefetch/hooks/internal/usePrefetchRunQuery'; +import { usePrefetchedData } from '@/prefetch/hooks/usePrefetchedData'; +import { PrefetchKey } from '@/prefetch/types/PrefetchKey'; +import { useRecoilValue } from 'recoil'; + +type PrefetchedFavoritesFoldersData = { + favoriteFolders: FavoriteFolder[]; + upsertFavoriteFolders: (records: FavoriteFolder[]) => void; + currentWorkspaceMemberId: string | undefined; +}; + +export const usePrefetchedFavoritesFoldersData = + (): PrefetchedFavoritesFoldersData => { + const currentWorkspaceMember = useRecoilValue(currentWorkspaceMemberState); + const currentWorkspaceMemberId = currentWorkspaceMember?.id; + + const { records: favoriteFolders } = usePrefetchedData( + PrefetchKey.AllFavoritesFolders, + { + workspaceMemberId: { + eq: currentWorkspaceMemberId, + }, + }, + ); + + const { upsertRecordsInCache: upsertFavoriteFolders } = + usePrefetchRunQuery({ + prefetchKey: PrefetchKey.AllFavoritesFolders, + }); + + return { + favoriteFolders, + upsertFavoriteFolders, + currentWorkspaceMemberId, + }; + }; diff --git a/packages/twenty-front/src/modules/favorites/hooks/useRenameFavoriteFolder.ts b/packages/twenty-front/src/modules/favorites/hooks/useRenameFavoriteFolder.ts new file mode 100644 index 0000000000..dd79091073 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/hooks/useRenameFavoriteFolder.ts @@ -0,0 +1,28 @@ +import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; +import { useUpdateOneRecord } from '@/object-record/hooks/useUpdateOneRecord'; + +export const useRenameFavoriteFolder = () => { + const { updateOneRecord: updateFavoriteFolder } = useUpdateOneRecord({ + objectNameSingular: CoreObjectNameSingular.FavoriteFolder, + }); + + const renameFavoriteFolder = async ( + folderId: string, + newName: string, + ): Promise => { + if (!newName) { + return; + } + + await updateFavoriteFolder({ + idToUpdate: folderId, + updateOneRecordInput: { + name: newName, + }, + }); + }; + + return { + renameFavoriteFolder, + }; +}; diff --git a/packages/twenty-front/src/modules/favorites/hooks/useReorderFavorite.ts b/packages/twenty-front/src/modules/favorites/hooks/useReorderFavorite.ts new file mode 100644 index 0000000000..dfa1dcd5ef --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/hooks/useReorderFavorite.ts @@ -0,0 +1,41 @@ +import { useSortedFavorites } from '@/favorites/hooks/useSortedFavorites'; +import { calculateNewPosition } from '@/favorites/utils/calculateNewPosition'; +import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; +import { useUpdateOneRecord } from '@/object-record/hooks/useUpdateOneRecord'; +import { OnDragEndResponder } from '@hello-pangea/dnd'; +import { usePrefetchedFavoritesData } from './usePrefetchedFavoritesData'; + +export const useReorderFavorite = () => { + const { favorites } = usePrefetchedFavoritesData(); + const { favoritesSorted } = useSortedFavorites(); + const { updateOneRecord: updateOneFavorite } = useUpdateOneRecord({ + objectNameSingular: CoreObjectNameSingular.Favorite, + }); + + const reorderFavorite: OnDragEndResponder = (result) => { + if (!result.destination) return; + + const draggedFavoriteId = result.draggableId; + const draggedFavorite = favorites.find((f) => f.id === draggedFavoriteId); + + if (!draggedFavorite) return; + + const inSameFolderFavorites = favoritesSorted.filter( + (fav) => fav.favoriteFolderId === draggedFavorite.favoriteFolderId, + ); + if (!inSameFolderFavorites.length) return; + + const newPosition = calculateNewPosition({ + destinationIndex: result.destination.index, + sourceIndex: result.source.index, + items: inSameFolderFavorites, + }); + + updateOneFavorite({ + idToUpdate: draggedFavoriteId, + updateOneRecordInput: { position: newPosition }, + }); + }; + + return reorderFavorite; +}; diff --git a/packages/twenty-front/src/modules/favorites/hooks/useSortedFavorites.ts b/packages/twenty-front/src/modules/favorites/hooks/useSortedFavorites.ts new file mode 100644 index 0000000000..e9c03cc633 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/hooks/useSortedFavorites.ts @@ -0,0 +1,75 @@ +import { sortFavorites } from '@/favorites/utils/sortFavorites'; +import { useGetObjectRecordIdentifierByNameSingular } from '@/object-metadata/hooks/useGetObjectRecordIdentifierByNameSingular'; +import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem'; +import { objectMetadataItemsState } from '@/object-metadata/states/objectMetadataItemsState'; +import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; +import { usePrefetchedData } from '@/prefetch/hooks/usePrefetchedData'; +import { PrefetchKey } from '@/prefetch/types/PrefetchKey'; +import { View } from '@/views/types/View'; +import { useMemo } from 'react'; +import { useRecoilValue } from 'recoil'; +import { FieldMetadataType } from '~/generated-metadata/graphql'; +import { usePrefetchedFavoritesData } from './usePrefetchedFavoritesData'; + +export const useSortedFavorites = () => { + const { favorites, workspaceFavorites } = usePrefetchedFavoritesData(); + const { records: views } = usePrefetchedData(PrefetchKey.AllViews); + const objectMetadataItems = useRecoilValue(objectMetadataItemsState); + const { objectMetadataItem: favoriteObjectMetadataItem } = + useObjectMetadataItem({ + objectNameSingular: CoreObjectNameSingular.Favorite, + }); + + const getObjectRecordIdentifierByNameSingular = + useGetObjectRecordIdentifierByNameSingular(); + + const favoriteRelationFieldMetadataItems = useMemo( + () => + favoriteObjectMetadataItem.fields.filter( + (fieldMetadataItem) => + fieldMetadataItem.type === FieldMetadataType.Relation && + fieldMetadataItem.name !== 'workspaceMember' && + fieldMetadataItem.name !== 'favoriteFolder', + ), + [favoriteObjectMetadataItem.fields], + ); + + const favoritesSorted = useMemo(() => { + return sortFavorites( + favorites, + favoriteRelationFieldMetadataItems, + getObjectRecordIdentifierByNameSingular, + true, + views, + objectMetadataItems, + ); + }, [ + favoriteRelationFieldMetadataItems, + favorites, + getObjectRecordIdentifierByNameSingular, + views, + objectMetadataItems, + ]); + + const workspaceFavoritesSorted = useMemo(() => { + return sortFavorites( + workspaceFavorites.filter((favorite) => favorite.viewId), + favoriteRelationFieldMetadataItems, + getObjectRecordIdentifierByNameSingular, + false, + views, + objectMetadataItems, + ); + }, [ + favoriteRelationFieldMetadataItems, + getObjectRecordIdentifierByNameSingular, + workspaceFavorites, + views, + objectMetadataItems, + ]); + + return { + favoritesSorted, + workspaceFavoritesSorted, + }; +}; diff --git a/packages/twenty-front/src/modules/favorites/hooks/useWorkspaceFavorites.ts b/packages/twenty-front/src/modules/favorites/hooks/useWorkspaceFavorites.ts new file mode 100644 index 0000000000..4a1d1686a4 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/hooks/useWorkspaceFavorites.ts @@ -0,0 +1,56 @@ +import { sortFavorites } from '@/favorites/utils/sortFavorites'; +import { useGetObjectRecordIdentifierByNameSingular } from '@/object-metadata/hooks/useGetObjectRecordIdentifierByNameSingular'; +import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem'; +import { objectMetadataItemsState } from '@/object-metadata/states/objectMetadataItemsState'; +import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; +import { usePrefetchedData } from '@/prefetch/hooks/usePrefetchedData'; +import { PrefetchKey } from '@/prefetch/types/PrefetchKey'; +import { View } from '@/views/types/View'; +import { useMemo } from 'react'; +import { useRecoilValue } from 'recoil'; +import { FieldMetadataType } from '~/generated-metadata/graphql'; +import { usePrefetchedFavoritesData } from './usePrefetchedFavoritesData'; + +export const useWorkspaceFavorites = () => { + const { workspaceFavorites } = usePrefetchedFavoritesData(); + const { records: views } = usePrefetchedData(PrefetchKey.AllViews); + const objectMetadataItems = useRecoilValue(objectMetadataItemsState); + const { objectMetadataItem: favoriteObjectMetadataItem } = + useObjectMetadataItem({ + objectNameSingular: CoreObjectNameSingular.Favorite, + }); + const getObjectRecordIdentifierByNameSingular = + useGetObjectRecordIdentifierByNameSingular(); + + const favoriteRelationFieldMetadataItems = useMemo( + () => + favoriteObjectMetadataItem.fields.filter( + (fieldMetadataItem) => + fieldMetadataItem.type === FieldMetadataType.Relation && + fieldMetadataItem.name !== 'workspaceMember' && + fieldMetadataItem.name !== 'favoriteFolder', + ), + [favoriteObjectMetadataItem.fields], + ); + + const sortedWorkspaceFavorites = useMemo( + () => + sortFavorites( + workspaceFavorites.filter((favorite) => favorite.viewId), + favoriteRelationFieldMetadataItems, + getObjectRecordIdentifierByNameSingular, + false, + views, + objectMetadataItems, + ), + [ + workspaceFavorites, + favoriteRelationFieldMetadataItems, + getObjectRecordIdentifierByNameSingular, + views, + objectMetadataItems, + ], + ); + + return sortedWorkspaceFavorites; +}; diff --git a/packages/twenty-front/src/modules/favorites/states/activeFavoriteFolderIdState.ts b/packages/twenty-front/src/modules/favorites/states/activeFavoriteFolderIdState.ts new file mode 100644 index 0000000000..268223a32e --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/states/activeFavoriteFolderIdState.ts @@ -0,0 +1,6 @@ +import { atom } from 'recoil'; + +export const activeFavoriteFolderIdState = atom({ + key: 'activeFavoriteFolderIdState', + default: null, +}); diff --git a/packages/twenty-front/src/modules/favorites/states/isFavoriteFolderCreatingState.ts b/packages/twenty-front/src/modules/favorites/states/isFavoriteFolderCreatingState.ts new file mode 100644 index 0000000000..3847d0478c --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/states/isFavoriteFolderCreatingState.ts @@ -0,0 +1,6 @@ +import { atom } from 'recoil'; + +export const isFavoriteFolderCreatingState = atom({ + key: 'isFavoriteFolderCreatingState', + default: false, +}); diff --git a/packages/twenty-front/src/modules/favorites/types/Favorite.ts b/packages/twenty-front/src/modules/favorites/types/Favorite.ts index a0bb728991..b2920fd81c 100644 --- a/packages/twenty-front/src/modules/favorites/types/Favorite.ts +++ b/packages/twenty-front/src/modules/favorites/types/Favorite.ts @@ -10,5 +10,6 @@ export type Favorite = { link: string; recordId: string; workspaceMemberId: string; + favoriteFolderId?: string; __typename: 'Favorite'; }; diff --git a/packages/twenty-front/src/modules/favorites/types/FavoriteFolder.ts b/packages/twenty-front/src/modules/favorites/types/FavoriteFolder.ts new file mode 100644 index 0000000000..e76a37eca2 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/types/FavoriteFolder.ts @@ -0,0 +1,9 @@ +export type FavoriteFolder = { + id: string; + name: string; + position: number; + createdAt: string; + updatedAt?: string; + deletedAt?: string | null; + __typename: 'FavoriteFolder'; +}; diff --git a/packages/twenty-front/src/modules/favorites/utils/__tests__/isLocationMatchingFavorite.test.ts b/packages/twenty-front/src/modules/favorites/utils/__tests__/isLocationMatchingFavorite.test.ts new file mode 100644 index 0000000000..83ce5a6d7f --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/utils/__tests__/isLocationMatchingFavorite.test.ts @@ -0,0 +1,55 @@ +import { isLocationMatchingFavorite } from '../isLocationMatchingFavorite'; + +describe('isLocationMatchingFavorite', () => { + it('should return true if favorite link matches current path', () => { + const currentPath = '/app/objects/people'; + const currentViewPath = '/app/objects/people?view=123'; + const favorite = { + objectNameSingular: 'object', + link: '/app/objects/people', + }; + + expect( + isLocationMatchingFavorite(currentPath, currentViewPath, favorite), + ).toBe(true); + }); + + it('should return true if favorite link matches current view path', () => { + const currentPath = '/app/object/company/12'; + const currentViewPath = '/app/object/company/12?view=123'; + const favorite = { + objectNameSingular: 'company', + link: '/app/object/company/12', + }; + + expect( + isLocationMatchingFavorite(currentPath, currentViewPath, favorite), + ).toBe(true); + }); + + it('should return false if favorite link does not match current path', () => { + const currentPath = '/app/objects/people'; + const currentViewPath = '/app/objects/people?view=123'; + const favorite = { + objectNameSingular: 'object', + link: '/app/objects/company', + }; + + expect( + isLocationMatchingFavorite(currentPath, currentViewPath, favorite), + ).toBe(false); + }); + + it('should return false if favorite link does not match current view path', () => { + const currentPath = '/app/objects/companies'; + const currentViewPath = '/app/objects/companies?view=123'; + const favorite = { + objectNameSingular: 'view', + link: '/app/objects/companies/view=246', + }; + + expect( + isLocationMatchingFavorite(currentPath, currentViewPath, favorite), + ).toBe(false); + }); +}); diff --git a/packages/twenty-front/src/modules/favorites/utils/calculateNewPosition.ts b/packages/twenty-front/src/modules/favorites/utils/calculateNewPosition.ts new file mode 100644 index 0000000000..7758422c17 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/utils/calculateNewPosition.ts @@ -0,0 +1,33 @@ +type CalculateNewPositionParams = { + destinationIndex: number; + sourceIndex: number; + items: Array<{ position: number }>; +}; + +export const calculateNewPosition = ({ + destinationIndex, + sourceIndex, + items, +}: CalculateNewPositionParams): number => { + if (destinationIndex === 0) { + return items[0].position / 2; + } + + if (destinationIndex === items.length - 1) { + return items[destinationIndex - 1].position + 1; + } + + if (destinationIndex > sourceIndex) { + return ( + (items[destinationIndex + 1].position + + items[destinationIndex].position) / + 2 + ); + } + + return ( + items[destinationIndex].position - + (items[destinationIndex].position - items[destinationIndex - 1].position) / + 2 + ); +}; diff --git a/packages/twenty-front/src/modules/favorites/utils/getObjectMetadataLabelPluralFromViewId.ts b/packages/twenty-front/src/modules/favorites/utils/getObjectMetadataLabelPluralFromViewId.ts new file mode 100644 index 0000000000..ca2511d8c6 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/utils/getObjectMetadataLabelPluralFromViewId.ts @@ -0,0 +1,40 @@ +import { ObjectMetadataItem } from '@/object-metadata/types/ObjectMetadataItem'; +import { View } from '@/views/types/View'; +import { isDefined } from 'twenty-ui'; + +type ReturnType = { + labelPlural: string; + view: View | null; +}; + +export const getObjectMetadataLabelPluralFromViewId = ( + views: View[], + objectMetadataItems: ObjectMetadataItem[], + viewId: string, +): ReturnType => { + const view = views.find((view) => view.id === viewId); + + if (!view) { + return { + labelPlural: '', + view: null, + }; + } + + const objectMetadataItem = objectMetadataItems.find( + (objectMetadataItem) => objectMetadataItem.id === view.objectMetadataId, + ); + + if (!isDefined(objectMetadataItem)) { + throw new Error( + `Object metadata item not found for id ${view.objectMetadataId}`, + ); + } + + const { labelPlural } = objectMetadataItem; + + return { + labelPlural, + view, + }; +}; diff --git a/packages/twenty-front/src/modules/favorites/utils/isLocationMatchingFavorite.ts b/packages/twenty-front/src/modules/favorites/utils/isLocationMatchingFavorite.ts new file mode 100644 index 0000000000..fd0764c8c7 --- /dev/null +++ b/packages/twenty-front/src/modules/favorites/utils/isLocationMatchingFavorite.ts @@ -0,0 +1,12 @@ +import { ProcessedFavorite } from '@/favorites/utils/sortFavorites'; + +// Todo: we could only path the fullPath here (which is currentViewPath) and then split it in the function +export const isLocationMatchingFavorite = ( + currentPath: string, + currentViewPath: string, + favorite: Pick, +) => { + return favorite.objectNameSingular === 'view' + ? favorite.link === currentViewPath + : favorite.link === currentPath; +}; diff --git a/packages/twenty-front/src/modules/favorites/utils/sortFavorites.ts b/packages/twenty-front/src/modules/favorites/utils/sortFavorites.ts index aba5b0bfd6..50dcf4d326 100644 --- a/packages/twenty-front/src/modules/favorites/utils/sortFavorites.ts +++ b/packages/twenty-front/src/modules/favorites/utils/sortFavorites.ts @@ -1,19 +1,53 @@ import { Favorite } from '@/favorites/types/Favorite'; import { FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem'; +import { ObjectMetadataItem } from '@/object-metadata/types/ObjectMetadataItem'; +import { ObjectRecord } from '@/object-record/types/ObjectRecord'; import { ObjectRecordIdentifier } from '@/object-record/types/ObjectRecordIdentifier'; +import { View } from '@/views/types/View'; import { isDefined } from 'twenty-ui'; +import { getObjectMetadataLabelPluralFromViewId } from './getObjectMetadataLabelPluralFromViewId'; + +export type ProcessedFavorite = Favorite & { + Icon?: string; + objectNameSingular?: string; +}; export const sortFavorites = ( favorites: Favorite[], favoriteRelationFieldMetadataItems: FieldMetadataItem[], getObjectRecordIdentifierByNameSingular: ( - record: any, + record: ObjectRecord, objectNameSingular: string, ) => ObjectRecordIdentifier, hasLinkToShowPage: boolean, + views: View[], + objectMetadataItems: ObjectMetadataItem[], ) => { return favorites .map((favorite) => { + if (isDefined(favorite.viewId) && isDefined(favorite.workspaceMemberId)) { + const { labelPlural, view } = getObjectMetadataLabelPluralFromViewId( + views, + objectMetadataItems, + favorite.viewId, + ); + + return { + __typename: 'Favorite', + id: favorite.id, + recordId: view?.id, + position: favorite.position, + avatarType: 'icon', + avatarUrl: '', + labelIdentifier: view?.name, + link: `/objects/${labelPlural.toLocaleLowerCase()}${favorite.viewId ? `?view=${favorite.viewId}` : ''}`, + workspaceMemberId: favorite.workspaceMemberId, + favoriteFolderId: favorite.favoriteFolderId, + objectNameSingular: 'view', + Icon: view?.icon, + } as ProcessedFavorite; + } + for (const relationField of favoriteRelationFieldMetadataItems) { if (isDefined(favorite[relationField.name])) { const relationObject = favorite[relationField.name]; @@ -29,6 +63,7 @@ export const sortFavorites = ( ); return { + __typename: 'Favorite', id: favorite.id, recordId: objectRecordIdentifier.id, position: favorite.position, @@ -39,11 +74,14 @@ export const sortFavorites = ( ? objectRecordIdentifier.linkToShowPage : '', workspaceMemberId: favorite.workspaceMemberId, - } as Favorite; + favoriteFolderId: favorite.favoriteFolderId, + objectNameSingular: relationObjectNameSingular, + } as ProcessedFavorite; } } - - return favorite; + return { + ...favorite, + } as ProcessedFavorite; }) .sort((a, b) => a.position - b.position); }; diff --git a/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerItems.tsx b/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerItems.tsx index fa3c813981..f603faceda 100644 --- a/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerItems.tsx +++ b/packages/twenty-front/src/modules/navigation/components/MainNavigationDrawerItems.tsx @@ -3,7 +3,7 @@ import { useRecoilState, useSetRecoilState } from 'recoil'; import { IconSearch, IconSettings } from 'twenty-ui'; import { useCommandMenu } from '@/command-menu/hooks/useCommandMenu'; -import { CurrentWorkspaceMemberFavorites } from '@/favorites/components/CurrentWorkspaceMemberFavorites'; +import { CurrentWorkspaceMemberFavoritesFolders } from '@/favorites/components/CurrentWorkspaceMemberFavoritesFolders'; import { WorkspaceFavorites } from '@/favorites/components/WorkspaceFavorites'; import { NavigationDrawerOpenedSection } from '@/object-metadata/components/NavigationDrawerOpenedSection'; import { NavigationDrawerSectionForObjectMetadataItemsWrapper } from '@/object-metadata/components/NavigationDrawerSectionForObjectMetadataItemsWrapper'; @@ -19,6 +19,10 @@ const StyledMainSection = styled(NavigationDrawerSection)` min-height: fit-content; `; +const StyledContainer = styled.div` + overflow-x: hidden; + overflow-y: auto; +`; export const MainNavigationDrawerItems = () => { const isMobile = useIsMobile(); const { toggleCommandMenu } = useCommandMenu(); @@ -55,10 +59,15 @@ export const MainNavigationDrawerItems = () => { /> )} - - - - + + + + + + + + + ); }; diff --git a/packages/twenty-front/src/modules/navigation/hooks/useObjectMetadataItemsInWorkspaceFavorites.ts b/packages/twenty-front/src/modules/navigation/hooks/useObjectMetadataItemsInWorkspaceFavorites.ts index 1c8abefe35..7e6bca9777 100644 --- a/packages/twenty-front/src/modules/navigation/hooks/useObjectMetadataItemsInWorkspaceFavorites.ts +++ b/packages/twenty-front/src/modules/navigation/hooks/useObjectMetadataItemsInWorkspaceFavorites.ts @@ -1,4 +1,4 @@ -import { useFavorites } from '@/favorites/hooks/useFavorites'; +import { useWorkspaceFavorites } from '@/favorites/hooks/useWorkspaceFavorites'; import { useFilteredObjectMetadataItems } from '@/object-metadata/hooks/useFilteredObjectMetadataItems'; import { usePrefetchedData } from '@/prefetch/hooks/usePrefetchedData'; import { PrefetchKey } from '@/prefetch/types/PrefetchKey'; @@ -7,7 +7,7 @@ import { View } from '@/views/types/View'; export const useFilteredObjectMetadataItemsForWorkspaceFavorites = () => { const { records: views } = usePrefetchedData(PrefetchKey.AllViews); - const { workspaceFavorites } = useFavorites(); + const workspaceFavorites = useWorkspaceFavorites(); const workspaceFavoriteIds = new Set( workspaceFavorites.map((favorite) => favorite.recordId), diff --git a/packages/twenty-front/src/modules/object-metadata/components/NavigationDrawerItemForObjectMetadataItem.tsx b/packages/twenty-front/src/modules/object-metadata/components/NavigationDrawerItemForObjectMetadataItem.tsx index e4602fa0c5..2d35e2d4a2 100644 --- a/packages/twenty-front/src/modules/object-metadata/components/NavigationDrawerItemForObjectMetadataItem.tsx +++ b/packages/twenty-front/src/modules/object-metadata/components/NavigationDrawerItemForObjectMetadataItem.tsx @@ -3,9 +3,9 @@ import { ObjectMetadataItem } from '@/object-metadata/types/ObjectMetadataItem'; import { usePrefetchedData } from '@/prefetch/hooks/usePrefetchedData'; import { PrefetchKey } from '@/prefetch/types/PrefetchKey'; import { NavigationDrawerItem } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerItem'; -import { NavigationDrawerItemsCollapsedContainer } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerItemsCollapsedContainer'; +import { NavigationDrawerItemsCollapsableContainer } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerItemsCollapsableContainer'; import { NavigationDrawerSubItem } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerSubItem'; -import { getNavigationSubItemState } from '@/ui/navigation/navigation-drawer/utils/getNavigationSubItemState'; +import { getNavigationSubItemLeftAdornment } from '@/ui/navigation/navigation-drawer/utils/getNavigationSubItemLeftAdornment'; import { View } from '@/views/types/View'; import { getObjectMetadataItemViews } from '@/views/utils/getObjectMetadataItemViews'; import { useLocation } from 'react-router-dom'; @@ -53,7 +53,7 @@ export const NavigationDrawerItemForObjectMetadataItem = ({ const subItemArrayLength = sortedObjectMetadataViews.length; return ( - ))} - + ); }; diff --git a/packages/twenty-front/src/modules/object-metadata/types/CoreObjectNameSingular.ts b/packages/twenty-front/src/modules/object-metadata/types/CoreObjectNameSingular.ts index bf872fafbc..cf8e14ad95 100644 --- a/packages/twenty-front/src/modules/object-metadata/types/CoreObjectNameSingular.ts +++ b/packages/twenty-front/src/modules/object-metadata/types/CoreObjectNameSingular.ts @@ -11,6 +11,7 @@ export enum CoreObjectNameSingular { ConnectedAccount = 'connectedAccount', TimelineActivity = 'timelineActivity', Favorite = 'favorite', + FavoriteFolder = 'favoriteFolder', Message = 'message', MessageChannel = 'messageChannel', MessageParticipant = 'messageParticipant', diff --git a/packages/twenty-front/src/modules/object-record/hooks/__mocks__/personFragments.ts b/packages/twenty-front/src/modules/object-record/hooks/__mocks__/personFragments.ts index e9193143e1..97077eaacf 100644 --- a/packages/twenty-front/src/modules/object-record/hooks/__mocks__/personFragments.ts +++ b/packages/twenty-front/src/modules/object-record/hooks/__mocks__/personFragments.ts @@ -163,6 +163,7 @@ export const PERSON_FRAGMENT_WITH_DEPTH_ONE_RELATIONS = ` companyId createdAt deletedAt + favoriteFolderId id noteId opportunityId diff --git a/packages/twenty-front/src/modules/object-record/record-field/hooks/__tests__/useToggleEditOnlyInput.test.tsx b/packages/twenty-front/src/modules/object-record/record-field/hooks/__tests__/useToggleEditOnlyInput.test.tsx index 7f3695a35d..79b1a27166 100644 --- a/packages/twenty-front/src/modules/object-record/record-field/hooks/__tests__/useToggleEditOnlyInput.test.tsx +++ b/packages/twenty-front/src/modules/object-record/record-field/hooks/__tests__/useToggleEditOnlyInput.test.tsx @@ -102,6 +102,7 @@ const mocks: MockedResponse[] = [ companyId createdAt deletedAt + favoriteFolderId id noteId opportunityId diff --git a/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexPageHeader.tsx b/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexPageHeader.tsx index 60ab0fed8a..9d850160b5 100644 --- a/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexPageHeader.tsx +++ b/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexPageHeader.tsx @@ -1,25 +1,50 @@ -import { useRecoilValue } from 'recoil'; -import { useIcons } from 'twenty-ui'; - +import { FAVORITE_FOLDER_PICKER_DROPDOWN_ID } from '@/favorites/favorite-folder-picker/constants/FavoriteFolderPickerDropdownId'; +import { useFavorites } from '@/favorites/hooks/useFavorites'; import { useFilteredObjectMetadataItems } from '@/object-metadata/hooks/useFilteredObjectMetadataItems'; import { isObjectMetadataReadOnly } from '@/object-metadata/utils/isObjectMetadataReadOnly'; import { RecordIndexPageKanbanAddButton } from '@/object-record/record-index/components/RecordIndexPageKanbanAddButton'; import { RecordIndexRootPropsContext } from '@/object-record/record-index/contexts/RecordIndexRootPropsContext'; import { recordIndexViewTypeState } from '@/object-record/record-index/states/recordIndexViewTypeState'; +import { usePrefetchedData } from '@/prefetch/hooks/usePrefetchedData'; +import { PrefetchKey } from '@/prefetch/types/PrefetchKey'; import { PageAddButton } from '@/ui/layout/page/components/PageAddButton'; +import { PageFavoriteFoldersDropdown } from '@/ui/layout/page/components/PageFavoriteFolderDropdown'; import { PageHeader } from '@/ui/layout/page/components/PageHeader'; import { PageHotkeysEffect } from '@/ui/layout/page/components/PageHotkeysEffect'; +import { useRecoilComponentValueV2 } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentValueV2'; +import { currentViewIdComponentState } from '@/views/states/currentViewIdComponentState'; +import { View } from '@/views/types/View'; import { ViewType } from '@/views/types/ViewType'; +import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled'; import { useContext } from 'react'; +import { useRecoilValue } from 'recoil'; +import { useIcons } from 'twenty-ui'; import { capitalize } from '~/utils/string/capitalize'; export const RecordIndexPageHeader = () => { const { findObjectMetadataItemByNamePlural } = useFilteredObjectMetadataItems(); + const isFavoriteFolderEnabled = useIsFeatureEnabled( + 'IS_FAVORITE_FOLDER_ENABLED', + ); - const { objectNamePlural, onCreateRecord } = useContext( + const { objectNamePlural, onCreateRecord, recordIndexId } = useContext( RecordIndexRootPropsContext, ); + const { records: views } = usePrefetchedData(PrefetchKey.AllViews); + const currentViewId = useRecoilComponentValueV2( + currentViewIdComponentState, + recordIndexId, + ); + + const view = views.find((view) => view.id === currentViewId); + + const favorites = useFavorites(); + + const isFavorite = favorites.some( + (favorite) => + favorite.recordId === currentViewId && favorite.workspaceMemberId, + ); const objectMetadataItem = findObjectMetadataItemByNamePlural(objectNamePlural); @@ -47,6 +72,14 @@ export const RecordIndexPageHeader = () => { return ( + {isFavoriteFolderEnabled && ( + + )} {shouldDisplayAddButton && (isTable ? ( diff --git a/packages/twenty-front/src/modules/object-record/record-index/hooks/useHandleIndexIdentifierClick.ts b/packages/twenty-front/src/modules/object-record/record-index/hooks/useHandleIndexIdentifierClick.ts index 9a17c838fc..cc9f154ba5 100644 --- a/packages/twenty-front/src/modules/object-record/record-index/hooks/useHandleIndexIdentifierClick.ts +++ b/packages/twenty-front/src/modules/object-record/record-index/hooks/useHandleIndexIdentifierClick.ts @@ -21,7 +21,6 @@ export const useHandleIndexIdentifierClick = ({ recordId, currentViewId, ); - return showPageURL; }; diff --git a/packages/twenty-front/src/modules/object-record/record-show/hooks/useRecordShowPage.ts b/packages/twenty-front/src/modules/object-record/record-show/hooks/useRecordShowPage.ts index fb73b8ce9a..46df621352 100644 --- a/packages/twenty-front/src/modules/object-record/record-show/hooks/useRecordShowPage.ts +++ b/packages/twenty-front/src/modules/object-record/record-show/hooks/useRecordShowPage.ts @@ -3,6 +3,8 @@ import { useParams } from 'react-router-dom'; import { useSetRecoilState } from 'recoil'; import { useIcons } from 'twenty-ui'; +import { useCreateFavorite } from '@/favorites/hooks/useCreateFavorite'; +import { useDeleteFavorite } from '@/favorites/hooks/useDeleteFavorite'; import { useFavorites } from '@/favorites/hooks/useFavorites'; import { useLabelIdentifierFieldMetadataItem } from '@/object-metadata/hooks/useLabelIdentifierFieldMetadataItem'; import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem'; @@ -34,7 +36,9 @@ export const useRecordShowPage = ( const { objectMetadataItems } = useObjectMetadataItems(); const { labelIdentifierFieldMetadataItem } = useLabelIdentifierFieldMetadataItem({ objectNameSingular }); - const { favorites, createFavorite, deleteFavorite } = useFavorites(); + const favorites = useFavorites(); + const createFavorite = useCreateFavorite(); + const deleteFavorite = useDeleteFavorite(); const setEntityFields = useSetRecoilState( recordStoreFamilyState(objectRecordId), ); @@ -98,8 +102,8 @@ export const useRecordShowPage = ( pageTitle, pageName, isFavorite, - handleFavoriteButtonClick, record, objectMetadataItem, + handleFavoriteButtonClick, }; }; diff --git a/packages/twenty-front/src/modules/object-record/spreadsheet-import/hooks/__tests__/useOpenObjectRecordsSpreasheetImportDialog.test.ts b/packages/twenty-front/src/modules/object-record/spreadsheet-import/hooks/__tests__/useOpenObjectRecordsSpreasheetImportDialog.test.ts index 76835664ff..f3926196a7 100644 --- a/packages/twenty-front/src/modules/object-record/spreadsheet-import/hooks/__tests__/useOpenObjectRecordsSpreasheetImportDialog.test.ts +++ b/packages/twenty-front/src/modules/object-record/spreadsheet-import/hooks/__tests__/useOpenObjectRecordsSpreasheetImportDialog.test.ts @@ -101,6 +101,7 @@ const companyMocks = [ companyId createdAt deletedAt + favoriteFolderId id noteId opportunityId diff --git a/packages/twenty-front/src/modules/prefetch/components/PrefetchDataProvider.tsx b/packages/twenty-front/src/modules/prefetch/components/PrefetchDataProvider.tsx index 837d2498e5..87f5228daf 100644 --- a/packages/twenty-front/src/modules/prefetch/components/PrefetchDataProvider.tsx +++ b/packages/twenty-front/src/modules/prefetch/components/PrefetchDataProvider.tsx @@ -1,11 +1,17 @@ import React from 'react'; +import { PrefetchFavoriteFoldersRunQueriesEffect } from '@/prefetch/components/PrefetchFavortiteFoldersRunQueriesEffect'; import { PrefetchRunQueriesEffect } from '@/prefetch/components/PrefetchRunQueriesEffect'; +import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled'; export const PrefetchDataProvider = ({ children }: React.PropsWithChildren) => { + const isFavoriteFolderEnabled = useIsFeatureEnabled( + 'IS_FAVORITE_FOLDER_ENABLED', + ); return ( <> + {isFavoriteFolderEnabled && } {children} ); diff --git a/packages/twenty-front/src/modules/prefetch/components/PrefetchFavortiteFoldersRunQueriesEffect.tsx b/packages/twenty-front/src/modules/prefetch/components/PrefetchFavortiteFoldersRunQueriesEffect.tsx new file mode 100644 index 0000000000..376c1e4694 --- /dev/null +++ b/packages/twenty-front/src/modules/prefetch/components/PrefetchFavortiteFoldersRunQueriesEffect.tsx @@ -0,0 +1,45 @@ +import { currentUserState } from '@/auth/states/currentUserState'; +import { FavoriteFolder } from '@/favorites/types/FavoriteFolder'; +import { useObjectMetadataItems } from '@/object-metadata/hooks/useObjectMetadataItems'; +import { useCombinedFindManyRecords } from '@/object-record/multiple-objects/hooks/useCombinedFindManyRecords'; +import { PREFETCH_CONFIG } from '@/prefetch/constants/PrefetchConfig'; +import { usePrefetchRunQuery } from '@/prefetch/hooks/internal/usePrefetchRunQuery'; +import { PrefetchKey } from '@/prefetch/types/PrefetchKey'; +import { useEffect } from 'react'; +import { useRecoilValue } from 'recoil'; +import { isDefined } from '~/utils/isDefined'; + +export const PrefetchFavoriteFoldersRunQueriesEffect = () => { + const currentUser = useRecoilValue(currentUserState); + + const { upsertRecordsInCache: upsertFavoritesFoldersInCache } = + usePrefetchRunQuery({ + prefetchKey: PrefetchKey.AllFavoritesFolders, + }); + + const { objectMetadataItems } = useObjectMetadataItems(); + + // Only include favorite folders operation + const operationSignatures = Object.values(PREFETCH_CONFIG) + .filter(({ objectNameSingular }) => objectNameSingular === 'favoriteFolder') + .map(({ objectNameSingular, operationSignatureFactory }) => { + const objectMetadataItem = objectMetadataItems.find( + (item) => item.nameSingular === objectNameSingular, + ); + + return operationSignatureFactory({ objectMetadataItem }); + }); + + const { result } = useCombinedFindManyRecords({ + operationSignatures, + skip: !currentUser, + }); + + useEffect(() => { + if (isDefined(result.favoriteFolders)) { + upsertFavoritesFoldersInCache(result.favoriteFolders as FavoriteFolder[]); + } + }, [result, upsertFavoritesFoldersInCache]); + + return null; +}; diff --git a/packages/twenty-front/src/modules/prefetch/components/PrefetchRunQueriesEffect.tsx b/packages/twenty-front/src/modules/prefetch/components/PrefetchRunQueriesEffect.tsx index ffad33185e..bad5c0b5ae 100644 --- a/packages/twenty-front/src/modules/prefetch/components/PrefetchRunQueriesEffect.tsx +++ b/packages/twenty-front/src/modules/prefetch/components/PrefetchRunQueriesEffect.tsx @@ -9,10 +9,14 @@ import { PREFETCH_CONFIG } from '@/prefetch/constants/PrefetchConfig'; import { usePrefetchRunQuery } from '@/prefetch/hooks/internal/usePrefetchRunQuery'; import { PrefetchKey } from '@/prefetch/types/PrefetchKey'; import { View } from '@/views/types/View'; +import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled'; import { isDefined } from '~/utils/isDefined'; export const PrefetchRunQueriesEffect = () => { const currentUser = useRecoilValue(currentUserState); + const isFavoriteFolderEnabled = useIsFeatureEnabled( + 'IS_FAVORITE_FOLDER_ENABLED', + ); const { upsertRecordsInCache: upsertViewsInCache } = usePrefetchRunQuery({ @@ -26,15 +30,19 @@ export const PrefetchRunQueriesEffect = () => { const { objectMetadataItems } = useObjectMetadataItems(); - const operationSignatures = Object.values(PREFETCH_CONFIG).map( - ({ objectNameSingular, operationSignatureFactory }) => { + const operationSignatures = Object.values(PREFETCH_CONFIG) + .filter( + ({ objectNameSingular }) => + // Exclude favorite folders as they're handled separately + objectNameSingular !== 'favoriteFolder', + ) + .map(({ objectNameSingular, operationSignatureFactory }) => { const objectMetadataItem = objectMetadataItems.find( (item) => item.nameSingular === objectNameSingular, ); return operationSignatureFactory({ objectMetadataItem }); - }, - ); + }); const { result } = useCombinedFindManyRecords({ operationSignatures, @@ -49,7 +57,12 @@ export const PrefetchRunQueriesEffect = () => { if (isDefined(result.favorites)) { upsertFavoritesInCache(result.favorites as Favorite[]); } - }, [result, upsertViewsInCache, upsertFavoritesInCache]); + }, [ + result, + upsertViewsInCache, + upsertFavoritesInCache, + isFavoriteFolderEnabled, + ]); return <>; }; diff --git a/packages/twenty-front/src/modules/prefetch/constants/PrefetchConfig.ts b/packages/twenty-front/src/modules/prefetch/constants/PrefetchConfig.ts index dd38928fcf..ee3e1dab0f 100644 --- a/packages/twenty-front/src/modules/prefetch/constants/PrefetchConfig.ts +++ b/packages/twenty-front/src/modules/prefetch/constants/PrefetchConfig.ts @@ -1,5 +1,6 @@ import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; import { RecordGqlOperationSignatureFactory } from '@/object-record/graphql/types/RecordGqlOperationSignatureFactory'; +import { findAllFavoritesFolderOperationSignatureFactory } from '@/prefetch/graphql/operation-signatures/factories/findAllFavoritesFolderOperationSignatureFactory'; import { findAllFavoritesOperationSignatureFactory } from '@/prefetch/graphql/operation-signatures/factories/findAllFavoritesOperationSignatureFactory'; import { findAllViewsOperationSignatureFactory } from '@/prefetch/graphql/operation-signatures/factories/findAllViewsOperationSignatureFactory'; import { PrefetchKey } from '@/prefetch/types/PrefetchKey'; @@ -19,4 +20,8 @@ export const PREFETCH_CONFIG: Record< objectNameSingular: CoreObjectNameSingular.Favorite, operationSignatureFactory: findAllFavoritesOperationSignatureFactory, }, + ALL_FAVORITES_FOLDERS: { + objectNameSingular: CoreObjectNameSingular.FavoriteFolder, + operationSignatureFactory: findAllFavoritesFolderOperationSignatureFactory, + }, }; diff --git a/packages/twenty-front/src/modules/prefetch/graphql/operation-signatures/factories/findAllFavoritesFolderOperationSignatureFactory.ts b/packages/twenty-front/src/modules/prefetch/graphql/operation-signatures/factories/findAllFavoritesFolderOperationSignatureFactory.ts new file mode 100644 index 0000000000..74f40353d9 --- /dev/null +++ b/packages/twenty-front/src/modules/prefetch/graphql/operation-signatures/factories/findAllFavoritesFolderOperationSignatureFactory.ts @@ -0,0 +1,17 @@ +import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; +import { RecordGqlOperationSignatureFactory } from '@/object-record/graphql/types/RecordGqlOperationSignatureFactory'; + +export const findAllFavoritesFolderOperationSignatureFactory: RecordGqlOperationSignatureFactory = + () => ({ + objectNameSingular: CoreObjectNameSingular.FavoriteFolder, + variables: {}, + fields: { + id: true, + position: true, + createdAt: true, + updatedAt: true, + deletedAt: true, + name: true, + icon: true, + }, + }); diff --git a/packages/twenty-front/src/modules/prefetch/hooks/useIsFavoriteFoldersPrefetchLoading.ts b/packages/twenty-front/src/modules/prefetch/hooks/useIsFavoriteFoldersPrefetchLoading.ts new file mode 100644 index 0000000000..a3ffaa608e --- /dev/null +++ b/packages/twenty-front/src/modules/prefetch/hooks/useIsFavoriteFoldersPrefetchLoading.ts @@ -0,0 +1,11 @@ +import { prefetchIsLoadedFamilyState } from '@/prefetch/states/prefetchIsLoadedFamilyState'; +import { PrefetchKey } from '@/prefetch/types/PrefetchKey'; +import { useRecoilValue } from 'recoil'; + +export const useIsFavoriteFoldersPrefetchLoading = () => { + const areFavoritesFolderPrefetched = useRecoilValue( + prefetchIsLoadedFamilyState(PrefetchKey.AllFavoritesFolders), + ); + + return !areFavoritesFolderPrefetched; +}; diff --git a/packages/twenty-front/src/modules/prefetch/hooks/useIsPrefetchLoading.ts b/packages/twenty-front/src/modules/prefetch/hooks/useIsPrefetchLoading.ts index bbe7ff6044..ca3e275b5b 100644 --- a/packages/twenty-front/src/modules/prefetch/hooks/useIsPrefetchLoading.ts +++ b/packages/twenty-front/src/modules/prefetch/hooks/useIsPrefetchLoading.ts @@ -1,14 +1,25 @@ -import { useRecoilValue } from 'recoil'; - import { prefetchIsLoadedFamilyState } from '@/prefetch/states/prefetchIsLoadedFamilyState'; import { PrefetchKey } from '@/prefetch/types/PrefetchKey'; +import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled'; +import { useRecoilValue } from 'recoil'; +import { useIsFavoriteFoldersPrefetchLoading } from './useIsFavoriteFoldersPrefetchLoading'; export const useIsPrefetchLoading = () => { + const isFavoriteFolderEnabled = useIsFeatureEnabled( + 'IS_FAVORITE_FOLDER_ENABLED', + ); + const isFavoriteFoldersLoading = useIsFavoriteFoldersPrefetchLoading(); + const areViewsPrefetched = useRecoilValue( prefetchIsLoadedFamilyState(PrefetchKey.AllViews), ); const areFavoritesPrefetched = useRecoilValue( prefetchIsLoadedFamilyState(PrefetchKey.AllFavorites), ); - return !areViewsPrefetched || !areFavoritesPrefetched; + + return ( + !areViewsPrefetched || + !areFavoritesPrefetched || + (isFavoriteFolderEnabled && isFavoriteFoldersLoading) + ); }; diff --git a/packages/twenty-front/src/modules/prefetch/types/PrefetchKey.ts b/packages/twenty-front/src/modules/prefetch/types/PrefetchKey.ts index f7ebf434e9..c71fe02e38 100644 --- a/packages/twenty-front/src/modules/prefetch/types/PrefetchKey.ts +++ b/packages/twenty-front/src/modules/prefetch/types/PrefetchKey.ts @@ -1,4 +1,5 @@ export enum PrefetchKey { AllViews = 'ALL_VIEWS', AllFavorites = 'ALL_FAVORITES', + AllFavoritesFolders = 'ALL_FAVORITES_FOLDERS', } diff --git a/packages/twenty-front/src/modules/settings/components/SettingsNavigationDrawerItems.tsx b/packages/twenty-front/src/modules/settings/components/SettingsNavigationDrawerItems.tsx index c7d8569cff..54a46360a5 100644 --- a/packages/twenty-front/src/modules/settings/components/SettingsNavigationDrawerItems.tsx +++ b/packages/twenty-front/src/modules/settings/components/SettingsNavigationDrawerItems.tsx @@ -34,7 +34,7 @@ import { NavigationDrawerItemGroup } from '@/ui/navigation/navigation-drawer/com import { NavigationDrawerSection } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerSection'; import { NavigationDrawerSectionTitle } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle'; import { isAdvancedModeEnabledState } from '@/ui/navigation/navigation-drawer/states/isAdvancedModeEnabledState'; -import { getNavigationSubItemState } from '@/ui/navigation/navigation-drawer/utils/getNavigationSubItemState'; +import { getNavigationSubItemLeftAdornment } from '@/ui/navigation/navigation-drawer/utils/getNavigationSubItemLeftAdornment'; import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled'; import styled from '@emotion/styled'; import { AnimatePresence, motion } from 'framer-motion'; @@ -143,7 +143,7 @@ export const SettingsNavigationDrawerItems = () => { path={navigationItem.path} Icon={navigationItem.Icon} indentationLevel={navigationItem.indentationLevel} - subItemState={getNavigationSubItemState({ + subItemState={getNavigationSubItemLeftAdornment({ arrayLength: accountSubSettings.length, index, selectedIndex, diff --git a/packages/twenty-front/src/modules/ui/layout/draggable-list/components/DraggableItem.tsx b/packages/twenty-front/src/modules/ui/layout/draggable-list/components/DraggableItem.tsx index 2bcaccdb74..975818ae5c 100644 --- a/packages/twenty-front/src/modules/ui/layout/draggable-list/components/DraggableItem.tsx +++ b/packages/twenty-front/src/modules/ui/layout/draggable-list/components/DraggableItem.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { useTheme } from '@emotion/react'; import { Draggable } from '@hello-pangea/dnd'; diff --git a/packages/twenty-front/src/modules/ui/layout/page/components/PageFavoriteButton.tsx b/packages/twenty-front/src/modules/ui/layout/page/components/PageFavoriteButton.tsx index 9d49b6f066..2891c48f46 100644 --- a/packages/twenty-front/src/modules/ui/layout/page/components/PageFavoriteButton.tsx +++ b/packages/twenty-front/src/modules/ui/layout/page/components/PageFavoriteButton.tsx @@ -2,7 +2,7 @@ import { IconButton, IconHeart } from 'twenty-ui'; type PageFavoriteButtonProps = { isFavorite: boolean; - onClick: () => void; + onClick?: () => void; }; export const PageFavoriteButton = ({ diff --git a/packages/twenty-front/src/modules/ui/layout/page/components/PageFavoriteFolderDropdown.tsx b/packages/twenty-front/src/modules/ui/layout/page/components/PageFavoriteFolderDropdown.tsx new file mode 100644 index 0000000000..ee0cfb3563 --- /dev/null +++ b/packages/twenty-front/src/modules/ui/layout/page/components/PageFavoriteFolderDropdown.tsx @@ -0,0 +1,49 @@ +import { FavoriteFolderPicker } from '@/favorites/favorite-folder-picker/components/FavoriteFolderPicker'; +import { FavoriteFolderPickerEffect } from '@/favorites/favorite-folder-picker/components/FavoriteFolderPickerEffect'; +import { FavoriteFolderPickerScope } from '@/favorites/favorite-folder-picker/scopes/FavoriteFolderPickerScope'; +import { ObjectRecord } from '@/object-record/types/ObjectRecord'; +import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown'; +import { useDropdown } from '@/ui/layout/dropdown/hooks/useDropdown'; +import { DropdownScope } from '@/ui/layout/dropdown/scopes/DropdownScope'; +import { PageFavoriteButton } from '@/ui/layout/page/components/PageFavoriteButton'; + +type PageFavoriteFoldersDropdownProps = { + dropdownId: string; + isFavorite: boolean; + record?: ObjectRecord; + objectNameSingular: string; +}; + +export const PageFavoriteFoldersDropdown = ({ + dropdownId, + isFavorite, + record, + objectNameSingular, +}: PageFavoriteFoldersDropdownProps) => { + const { closeDropdown } = useDropdown(dropdownId); + + return ( + + + } + dropdownComponents={ + <> + + + + } + dropdownHotkeyScope={{ + scope: dropdownId, + }} + /> + + + ); +}; diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerInput.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerInput.tsx new file mode 100644 index 0000000000..dd8ba6d507 --- /dev/null +++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerInput.tsx @@ -0,0 +1,136 @@ +import { NavigationDrawerAnimatedCollapseWrapper } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerAnimatedCollapseWrapper'; +import { isNavigationDrawerExpandedState } from '@/ui/navigation/states/isNavigationDrawerExpanded'; +import { useScopedHotkeys } from '@/ui/utilities/hotkey/hooks/useScopedHotkeys'; +import { useListenClickOutside } from '@/ui/utilities/pointer-event/hooks/useListenClickOutside'; +import { useTheme } from '@emotion/react'; +import styled from '@emotion/styled'; +import { ChangeEvent, FocusEvent, useRef } from 'react'; +import { useRecoilState } from 'recoil'; +import { Key } from 'ts-key-enum'; +import { + IconComponent, + isDefined, + TablerIconsProps, + TEXT_INPUT_STYLE, +} from 'twenty-ui'; +import { useHotkeyScopeOnMount } from '~/hooks/useHotkeyScopeOnMount'; + +type NavigationDrawerInputProps = { + className?: string; + Icon: IconComponent | ((props: TablerIconsProps) => JSX.Element); + value: string; + onChange: (value: string) => void; + onSubmit: (value: string) => void; + onCancel: (value: string) => void; + onClickOutside: (event: MouseEvent | TouchEvent, value: string) => void; + hotkeyScope: string; +}; + +const StyledItem = styled.div<{ isNavigationDrawerExpanded: boolean }>` + align-items: center; + background-color: ${({ theme }) => theme.background.primary}; + border: 1px solid ${({ theme }) => theme.color.blue}; + border-radius: ${({ theme }) => theme.border.radius.sm}; + box-sizing: content-box; + color: ${({ theme }) => theme.font.color.primary}; + display: flex; + font-family: ${({ theme }) => theme.font.family}; + font-size: ${({ theme }) => theme.font.size.md}; + height: calc(${({ theme }) => theme.spacing(5)} - 2px); + padding: ${({ theme }) => theme.spacing(1)}; + text-decoration: none; + user-select: none; +`; + +const StyledItemElementsContainer = styled.span` + align-items: center; + + display: flex; + width: 100%; +`; + +const StyledTextInput = styled.input` + ${TEXT_INPUT_STYLE} + margin: 0; + width: 100%; +`; + +export const NavigationDrawerInput = ({ + className, + Icon, + value, + onChange, + onSubmit, + onCancel, + onClickOutside, + hotkeyScope, +}: NavigationDrawerInputProps) => { + const theme = useTheme(); + const [isNavigationDrawerExpanded] = useRecoilState( + isNavigationDrawerExpandedState, + ); + const inputRef = useRef(null); + + useHotkeyScopeOnMount(hotkeyScope); + + useScopedHotkeys( + [Key.Escape], + () => { + onCancel(value); + }, + hotkeyScope, + ); + + useScopedHotkeys( + [Key.Enter], + () => { + onSubmit(value); + }, + hotkeyScope, + ); + + useListenClickOutside({ + refs: [inputRef], + callback: (event) => { + event.stopImmediatePropagation(); + onClickOutside(event, value); + }, + }); + + const handleChange = (event: ChangeEvent) => { + onChange(event.target.value); + }; + + const handleFocus = (event: FocusEvent) => { + if (isDefined(value)) { + event.target.select(); + } + }; + + return ( + + + {Icon && ( + + )} + + + + + + ); +}; diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx index 7ecf7d4e53..4c6936dd0a 100644 --- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx +++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx @@ -8,6 +8,7 @@ import { useIsMobile } from '@/ui/utilities/responsive/hooks/useIsMobile'; import isPropValid from '@emotion/is-prop-valid'; import { useTheme } from '@emotion/react'; import styled from '@emotion/styled'; +import { ReactNode } from 'react'; import { Link } from 'react-router-dom'; import { useRecoilState } from 'recoil'; import { @@ -35,16 +36,19 @@ export type NavigationDrawerItemProps = { soon?: boolean; count?: number; keyboard?: string[]; + rightOptions?: ReactNode; + isDraggable?: boolean; }; type StyledItemProps = Pick< NavigationDrawerItemProps, - 'active' | 'danger' | 'indentationLevel' | 'soon' | 'to' + 'active' | 'danger' | 'indentationLevel' | 'soon' | 'to' | 'isDraggable' > & { isNavigationDrawerExpanded: boolean }; const StyledItem = styled('button', { shouldForwardProp: (prop) => - !['active', 'danger', 'soon'].includes(prop) && isPropValid(prop), + !['active', 'danger', 'soon', 'isDraggable'].includes(prop) && + isPropValid(prop), })` box-sizing: content-box; align-items: center; @@ -85,6 +89,15 @@ const StyledItem = styled('button', { !props.isNavigationDrawerExpanded ? `${NAV_DRAWER_WIDTHS.menu.desktop.collapsed - 24}px` : '100%'}; + ${({ isDraggable }) => + isDraggable && + ` + cursor: grab; + + &:active { + cursor: grabbing; + } + `} :hover { background: ${({ theme }) => theme.background.transparent.light}; @@ -150,6 +163,27 @@ const StyledSpacer = styled.span` flex-grow: 1; `; +const StyledRightOptionsContainer = styled.div<{ + isMobile: boolean; + active: boolean; +}>` + margin-left: auto; + visibility: ${({ isMobile, active }) => + isMobile || active ? 'visible' : 'hidden'}; + display: flex; + align-items: center; + justify-content: center; + :hover { + background: ${({ theme }) => theme.background.transparent.light}; + } + width: ${({ theme }) => theme.spacing(6)}; + height: ${({ theme }) => theme.spacing(6)}; + border-radius: ${({ theme }) => theme.border.radius.sm}; + .navigation-drawer-item:hover & { + visibility: visible; + } +`; + export const NavigationDrawerItem = ({ className, label, @@ -163,6 +197,8 @@ export const NavigationDrawerItem = ({ count, keyboard, subItemState, + rightOptions, + isDraggable, }: NavigationDrawerItemProps) => { const theme = useTheme(); const isMobile = useIsMobile(); @@ -185,7 +221,7 @@ export const NavigationDrawerItem = ({ return ( {showBreadcrumb && ( @@ -240,6 +277,20 @@ export const NavigationDrawerItem = ({ )} + + {rightOptions && ( + { + e.stopPropagation(); + e.preventDefault(); + }} + > + {rightOptions} + + )} + diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItemInput.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItemInput.tsx new file mode 100644 index 0000000000..3e920f2516 --- /dev/null +++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItemInput.tsx @@ -0,0 +1,5 @@ +import { TextInput } from '@/ui/input/components/TextInput'; + +export const NavigationDrawerItemInput = () => { + return ; +}; diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItemsCollapsedContainer.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItemsCollapsableContainer.tsx similarity index 89% rename from packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItemsCollapsedContainer.tsx rename to packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItemsCollapsableContainer.tsx index 550793621c..bf703e819a 100644 --- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItemsCollapsedContainer.tsx +++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItemsCollapsableContainer.tsx @@ -1,22 +1,22 @@ +import { useIsSettingsPage } from '@/navigation/hooks/useIsSettingsPage'; +import { isNavigationDrawerExpandedState } from '@/ui/navigation/states/isNavigationDrawerExpanded'; +import { useTheme } from '@emotion/react'; import styled from '@emotion/styled'; +import { AnimationControls, motion, TargetAndTransition } from 'framer-motion'; import { ReactNode } from 'react'; import { useRecoilValue } from 'recoil'; -import { isNavigationDrawerExpandedState } from '@/ui/navigation/states/isNavigationDrawerExpanded'; -import { useIsSettingsPage } from '@/navigation/hooks/useIsSettingsPage'; -import { AnimationControls, motion, TargetAndTransition } from 'framer-motion'; -import { useTheme } from '@emotion/react'; const StyledAnimationGroupContainer = styled(motion.div)``; -type NavigationDrawerItemsCollapsedContainerProps = { +type NavigationDrawerItemsCollapsableContainerProps = { isGroup?: boolean; children: ReactNode; }; -export const NavigationDrawerItemsCollapsedContainer = ({ +export const NavigationDrawerItemsCollapsableContainer = ({ isGroup = false, children, -}: NavigationDrawerItemsCollapsedContainerProps) => { +}: NavigationDrawerItemsCollapsableContainerProps) => { const theme = useTheme(); const isSettingsPage = useIsSettingsPage(); const isNavigationDrawerExpanded = useRecoilValue( diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSection.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSection.tsx index afc7fe8037..9de5b7004f 100644 --- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSection.tsx +++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSection.tsx @@ -7,7 +7,6 @@ const StyledSection = styled.div` width: 100%; margin-bottom: ${({ theme }) => theme.spacing(3)}; flex-shrink: 1; - overflow: hidden; `; export { StyledSection as NavigationDrawerSection }; diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsx index aeeffa88d3..c78ca3324e 100644 --- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsx +++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsx @@ -1,20 +1,15 @@ -import styled from '@emotion/styled'; - import { currentUserState } from '@/auth/states/currentUserState'; import { useIsSettingsPage } from '@/navigation/hooks/useIsSettingsPage'; import { useIsPrefetchLoading } from '@/prefetch/hooks/useIsPrefetchLoading'; import { NavigationDrawerSectionTitleSkeletonLoader } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitleSkeletonLoader'; import { isNavigationDrawerExpandedState } from '@/ui/navigation/states/isNavigationDrawerExpanded'; +import { useIsMobile } from '@/ui/utilities/responsive/hooks/useIsMobile'; +import styled from '@emotion/styled'; +import React from 'react'; import { useRecoilValue } from 'recoil'; import { isDefined } from 'twenty-ui'; -import { isUndefinedOrNull } from '~/utils/isUndefinedOrNull'; -type NavigationDrawerSectionTitleProps = { - onClick?: () => void; - label: string; -}; - -const StyledTitle = styled.div<{ onClick?: () => void }>` +const StyledTitle = styled.div` align-items: center; border-radius: ${({ theme }) => theme.border.radius.sm}; color: ${({ theme }) => theme.font.color.light}; @@ -23,38 +18,92 @@ const StyledTitle = styled.div<{ onClick?: () => void }>` font-weight: ${({ theme }) => theme.font.weight.semiBold}; height: ${({ theme }) => theme.spacing(5)}; padding: ${({ theme }) => theme.spacing(1)}; + justify-content: space-between; - ${({ onClick, theme }) => - !isUndefinedOrNull(onClick) - ? `&:hover { - cursor: pointer; - background-color:${theme.background.transparent.light}; - }` - : ''} + &:hover { + cursor: pointer; + background-color: ${({ theme }) => theme.background.transparent.light}; + } `; +const StyledLabel = styled.div` + flex-grow: 1; +`; + +type StyledRightIconProps = { + isMobile: boolean; +}; + +const StyledRightIcon = styled.div` + cursor: pointer; + margin-left: ${({ theme }) => theme.spacing(2)}; + transition: opacity 150ms ease-in-out; + opacity: ${({ isMobile }) => (isMobile ? 1 : 0)}; + display: flex; + align-items: center; + justify-content: center; + border-radius: ${({ theme }) => theme.border.radius.sm}; + width: ${({ theme }) => theme.spacing(5)}; + height: ${({ theme }) => theme.spacing(5)}; + :hover { + background: ${({ theme }) => theme.background.transparent.light}; + } + + .section-title-container:hover & { + opacity: 1; + } + + &:active { + cursor: pointer; + } +`; + +type NavigationDrawerSectionTitleProps = { + onClick?: () => void; + onRightIconClick?: () => void; + label: string; + rightIcon?: React.ReactNode; +}; + export const NavigationDrawerSectionTitle = ({ onClick, + onRightIconClick, label, + rightIcon, }: NavigationDrawerSectionTitleProps) => { - const currentUser = useRecoilValue(currentUserState); - const loading = useIsPrefetchLoading(); + const isMobile = useIsMobile(); const isNavigationDrawerExpanded = useRecoilValue( isNavigationDrawerExpandedState, ); - const isSettingsPage = useIsSettingsPage(); + const currentUser = useRecoilValue(currentUserState); + const loading = useIsPrefetchLoading(); + const handleTitleClick = (e: React.MouseEvent) => { + e.stopPropagation(); + if (isDefined(onClick) && (isNavigationDrawerExpanded || isSettingsPage)) { + onClick(); + } + }; + + const handleRightIconClick = (e: React.MouseEvent) => { + e.stopPropagation(); + if (isDefined(onRightIconClick)) { + onRightIconClick(); + } + }; if (loading && isDefined(currentUser)) { return ; } + return ( - - {label} + + {label} + {rightIcon && ( + + {rightIcon} + + )} ); }; diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSubItem.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSubItem.tsx index 4ef3f1c965..6bc3ca67a9 100644 --- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSubItem.tsx +++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSubItem.tsx @@ -17,6 +17,8 @@ export const NavigationDrawerSubItem = ({ count, keyboard, subItemState, + rightOptions, + isDraggable, }: NavigationDrawerSubItemProps) => { return ( ); }; diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/__stories__/NavigationDrawer.stories.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/__stories__/NavigationDrawer.stories.tsx index 93db01f858..d82d7d2935 100644 --- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/__stories__/NavigationDrawer.stories.tsx +++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/__stories__/NavigationDrawer.stories.tsx @@ -22,7 +22,7 @@ import { SettingsPath } from '@/types/SettingsPath'; import { ComponentWithRouterDecorator } from '~/testing/decorators/ComponentWithRouterDecorator'; import { SnackBarDecorator } from '~/testing/decorators/SnackBarDecorator'; -import { CurrentWorkspaceMemberFavorites } from '@/favorites/components/CurrentWorkspaceMemberFavorites'; +import { CurrentWorkspaceMemberFavoritesFolders } from '@/favorites/components/CurrentWorkspaceMemberFavoritesFolders'; import { NavigationDrawerSubItem } from '@/ui/navigation/navigation-drawer/components/NavigationDrawerSubItem'; import jsonPage from '../../../../../../../package.json'; import { NavigationDrawer } from '../NavigationDrawer'; @@ -71,7 +71,7 @@ export const Default: Story = { /> - + diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/utils/getNavigationSubItemState.ts b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/utils/getNavigationSubItemLeftAdornment.ts similarity index 94% rename from packages/twenty-front/src/modules/ui/navigation/navigation-drawer/utils/getNavigationSubItemState.ts rename to packages/twenty-front/src/modules/ui/navigation/navigation-drawer/utils/getNavigationSubItemLeftAdornment.ts index dcb08f78ee..dbfea143ce 100644 --- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/utils/getNavigationSubItemState.ts +++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/utils/getNavigationSubItemLeftAdornment.ts @@ -1,6 +1,6 @@ import { NavigationDrawerSubItemState } from '@/ui/navigation/navigation-drawer/types/NavigationDrawerSubItemState'; -export const getNavigationSubItemState = ({ +export const getNavigationSubItemLeftAdornment = ({ index, arrayLength, selectedIndex, diff --git a/packages/twenty-front/src/modules/workspace/types/FeatureFlagKey.ts b/packages/twenty-front/src/modules/workspace/types/FeatureFlagKey.ts index 666ea100c4..b224ce7295 100644 --- a/packages/twenty-front/src/modules/workspace/types/FeatureFlagKey.ts +++ b/packages/twenty-front/src/modules/workspace/types/FeatureFlagKey.ts @@ -16,4 +16,5 @@ export type FeatureFlagKey = | 'IS_JSON_FILTER_ENABLED' | 'IS_MICROSOFT_SYNC_ENABLED' | 'IS_ADVANCED_FILTERS_ENABLED' - | 'IS_AGGREGATE_QUERY_ENABLED'; + | 'IS_AGGREGATE_QUERY_ENABLED' + | 'IS_FAVORITE_FOLDER_ENABLED'; diff --git a/packages/twenty-front/src/pages/object-record/RecordShowPage.tsx b/packages/twenty-front/src/pages/object-record/RecordShowPage.tsx index 5e02947eb4..37bf95a6de 100644 --- a/packages/twenty-front/src/pages/object-record/RecordShowPage.tsx +++ b/packages/twenty-front/src/pages/object-record/RecordShowPage.tsx @@ -30,9 +30,9 @@ export const RecordShowPage = () => { pageTitle, pageName, isFavorite, - handleFavoriteButtonClick, record, objectMetadataItem, + handleFavoriteButtonClick, } = useRecordShowPage( parameters.objectNameSingular ?? '', parameters.objectRecordId ?? '', @@ -65,15 +65,17 @@ export const RecordShowPage = () => { workflowVersionId={objectRecordId} /> ) : ( - + <> + + )} diff --git a/packages/twenty-front/src/pages/object-record/RecordShowPageBaseHeader.tsx b/packages/twenty-front/src/pages/object-record/RecordShowPageBaseHeader.tsx index ce0010fcb2..5b78120c54 100644 --- a/packages/twenty-front/src/pages/object-record/RecordShowPageBaseHeader.tsx +++ b/packages/twenty-front/src/pages/object-record/RecordShowPageBaseHeader.tsx @@ -1,28 +1,47 @@ +import { FAVORITE_FOLDER_PICKER_DROPDOWN_ID } from '@/favorites/favorite-folder-picker/constants/FavoriteFolderPickerDropdownId'; import { ObjectMetadataItem } from '@/object-metadata/types/ObjectMetadataItem'; import { ObjectRecord } from '@/object-record/types/ObjectRecord'; import { PageFavoriteButton } from '@/ui/layout/page/components/PageFavoriteButton'; +import { PageFavoriteFoldersDropdown } from '@/ui/layout/page/components/PageFavoriteFolderDropdown'; import { ShowPageAddButton } from '@/ui/layout/show-page/components/ShowPageAddButton'; import { ShowPageMoreButton } from '@/ui/layout/show-page/components/ShowPageMoreButton'; +import { useIsFeatureEnabled } from '@/workspace/hooks/useIsFeatureEnabled'; -export const RecordShowPageBaseHeader = ({ - isFavorite, - handleFavoriteButtonClick, - record, - objectMetadataItem, - objectNameSingular, -}: { +type RecordShowPageBaseHeaderProps = { isFavorite: boolean; - handleFavoriteButtonClick: () => void; record: ObjectRecord | undefined; objectMetadataItem: ObjectMetadataItem; objectNameSingular: string; -}) => { + handleFavoriteButtonClick: () => void; +}; + +export const RecordShowPageBaseHeader = ({ + isFavorite, + record, + objectMetadataItem, + objectNameSingular, + handleFavoriteButtonClick, +}: RecordShowPageBaseHeaderProps) => { + const isFavoriteFolderEnabled = useIsFeatureEnabled( + 'IS_FAVORITE_FOLDER_ENABLED', + ); + return ( <> - + {isFavoriteFolderEnabled ? ( + + ) : ( + + )} { const setAreFavoritesPrefetched = useSetRecoilState( prefetchIsLoadedFamilyState(PrefetchKey.AllFavorites), ); + const setAreFavoritesFoldersPrefetched = useSetRecoilState( + prefetchIsLoadedFamilyState(PrefetchKey.AllFavoritesFolders), + ); setAreViewsPrefetched(true); setAreFavoritesPrefetched(true); + setAreFavoritesFoldersPrefetched(true); return ; }; diff --git a/packages/twenty-front/src/testing/graphqlMocks.ts b/packages/twenty-front/src/testing/graphqlMocks.ts index 3f79944ea1..c3f66bc1eb 100644 --- a/packages/twenty-front/src/testing/graphqlMocks.ts +++ b/packages/twenty-front/src/testing/graphqlMocks.ts @@ -225,6 +225,15 @@ export const graphqlMocks = { endCursor: null, }, }, + favoriteFolders: { + edges: [], + pageInfo: { + hasNextPage: false, + hasPreviousPage: false, + startCursor: null, + endCursor: null, + }, + }, views: { edges: mockedViewsData.map((view) => ({ node: { diff --git a/packages/twenty-front/src/testing/mock-data/generated/mock-metadata-query-result.ts b/packages/twenty-front/src/testing/mock-data/generated/mock-metadata-query-result.ts index 5ac38cba82..c2328e7f90 100644 --- a/packages/twenty-front/src/testing/mock-data/generated/mock-metadata-query-result.ts +++ b/packages/twenty-front/src/testing/mock-data/generated/mock-metadata-query-result.ts @@ -1,20756 +1,21059 @@ -import { FieldMetadataType, IndexType, ObjectMetadataItemsQuery, RelationDefinitionType } from '~/generated-metadata/graphql'; +import { ObjectMetadataItemsQuery } from '~/generated-metadata/graphql'; // This file is not designed to be manually edited. // It's an extract from the dev seeded environment metadata call // TODO: automate the generation of this file // ⚠️ WARNING ⚠️: Be sure to activate the workflow feature flag (IsWorkflowEnabled) before updating that mock. -export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery = -{ - "objects": { - "__typename": "ObjectConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjM1" - }, - "edges": [ - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "fad28eb7-a085-4917-93b3-579afd54f373", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "workflowVersion", - "namePlural": "workflowVersions", - "labelSingular": "Workflow Version", - "labelPlural": "Workflow Versions", - "description": "A workflow version", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "eb5556b8-c1a2-4878-99b8-5672899a4991", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", +export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery = { + "objects": { + "__typename": "ObjectConnection", "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjEz" + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjM2" }, "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "982e771e-36b5-43d7-8311-9e0147413c37", - "type": FieldMetadataType.Relation, - "name": "timelineActivities", - "label": "Timeline Activities", - "description": "Timeline activities linked to the version", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "db8b3588-fc2e-4809-83da-585d5a7c7b94", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "fad28eb7-a085-4917-93b3-579afd54f373", - "nameSingular": "workflowVersion", - "namePlural": "workflowVersions" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "982e771e-36b5-43d7-8311-9e0147413c37", - "name": "timelineActivities" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "971d7e6e-8ac5-45ee-8e8b-2fe38f3ee305", - "name": "workflowVersion" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "eb5556b8-c1a2-4878-99b8-5672899a4991", - "type": FieldMetadataType.Text, - "name": "name", - "label": "Name", - "description": "The workflow version name", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e7f40f5e-c67a-488b-aa6b-52769a752df7", - "type": FieldMetadataType.Relation, - "name": "favorites", - "label": "Favorites", - "description": "Favorites linked to the workflow version", - "icon": "IconHeart", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "2871058e-3264-4ab3-8b57-2f35cd39c676", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "fad28eb7-a085-4917-93b3-579afd54f373", - "nameSingular": "workflowVersion", - "namePlural": "workflowVersions" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "e7f40f5e-c67a-488b-aa6b-52769a752df7", - "name": "favorites" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "efe57404-33f2-4fc6-9966-4eb401268efb", - "name": "workflowVersion" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "899c0065-cf52-4db7-91e0-c1b92367f348", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0acb3058-0980-4c66-a04a-84b0992ddc9e", - "type": FieldMetadataType.Uuid, - "name": "workflowId", - "label": "Workflow id (foreign key)", - "description": "WorkflowVersion workflow id foreign key", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "aa6e1d88-b8a9-4ffa-b7db-22cc28f1173b", - "type": FieldMetadataType.Relation, - "name": "runs", - "label": "Runs", - "description": "Workflow runs linked to the version.", - "icon": "IconRun", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "6ab227db-4062-4786-a249-05df1ba98190", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "fad28eb7-a085-4917-93b3-579afd54f373", - "nameSingular": "workflowVersion", - "namePlural": "workflowVersions" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "aa6e1d88-b8a9-4ffa-b7db-22cc28f1173b", - "name": "runs" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "87ef9245-2665-45db-8193-b6d216b5df50", - "nameSingular": "workflowRun", - "namePlural": "workflowRuns" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "28876be2-7039-438d-937b-2c0026413ee8", - "name": "workflowVersion" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "912d096f-9285-4dcc-8f5f-33745c47dd7f", - "type": FieldMetadataType.Position, - "name": "position", - "label": "Position", - "description": "Workflow version position", - "icon": "IconHierarchy2", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "00a18b73-d749-4be2-b804-682b9c368a38", - "type": FieldMetadataType.RawJson, - "name": "trigger", - "label": "Version trigger", - "description": "Json object to provide trigger", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "2fb0d062-21fb-474e-8f52-c71ea56f2cce", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7d349714-b35a-4aa6-8974-792e79f51e74", - "type": FieldMetadataType.Select, - "name": "status", - "label": "Version status", - "description": "The workflow version status", - "icon": "IconStatusChange", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'DRAFT'", - "options": [ - { - "id": "478ff8ba-744f-4ef8-b5b4-7c4d2a9e5959", - "color": "yellow", - "label": "Draft", - "value": "DRAFT", - "position": 0 - }, - { - "id": "2ded99ef-1eaf-4096-8f8c-9f635518c399", - "color": "green", - "label": "Active", - "value": "ACTIVE", - "position": 1 - }, - { - "id": "9c770342-99e0-4c65-ae01-c21b3c03bfd1", - "color": "red", - "label": "Deactivated", - "value": "DEACTIVATED", - "position": 2 - }, - { - "id": "e78a983d-5195-430f-84a1-09c2c80d9109", - "color": "grey", - "label": "Archived", - "value": "ARCHIVED", - "position": 3 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ec9e0d24-a088-412b-a8d7-1dda6e366ae6", - "type": FieldMetadataType.RawJson, - "name": "steps", - "label": "Version steps", - "description": "Json object to provide steps", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "2b8f293d-d90c-4796-8324-8a6fef5334fb", - "type": FieldMetadataType.Relation, - "name": "workflow", - "label": "Workflow", - "description": "WorkflowVersion workflow", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "6425441d-49f2-4cb5-a9e2-f4acce604da4", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "fad28eb7-a085-4917-93b3-579afd54f373", - "nameSingular": "workflowVersion", - "namePlural": "workflowVersions" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "2b8f293d-d90c-4796-8324-8a6fef5334fb", - "name": "workflow" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", - "nameSingular": "workflow", - "namePlural": "workflows" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "01508898-496f-4256-bc88-a907faedc424", - "name": "versions" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ce353034-a10e-4ead-8ae9-acffcc5f4bd9", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "10880377-0ba7-4e4b-8e9b-2970d457791c", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "81760bd0-5d19-42bc-a68a-c9771f3c1d94", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_a362c5eff4a28fcdffdd3bdff16", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "dce1e1f3-c31e-4c99-a19e-83541aa38767", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "0acb3058-0980-4c66-a04a-84b0992ddc9e" + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "ff17ccda-93cb-43ce-8def-4315fef9a01a", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "noteTarget", + "namePlural": "noteTargets", + "labelSingular": "Note Target", + "labelPlural": "Note Targets", + "description": "A note target", + "icon": "IconCheckbox", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "0ec450b8-f341-4f22-86d8-43d24b616861", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "d2e91bb4-1311-4f73-9b4c-01ba72892d20", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_68bce49f4de05facd5365a3a797", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "96f99ec7-f5a5-4eff-8fbc-c1d0a81120dd", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "29a1569e-f24f-492b-8bc4-976545bbda52" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "f76fdff3-db7f-48f5-8df8-2ff21e17ed87", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_19ea95ddb39f610f7dcad4c4336", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "9e401ecd-0f6b-4ae8-bd5a-7c227970b988", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "4f6c8230-5a03-4852-bd99-20d587a57b48" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "1b3ff010-22c4-44e8-82fd-bed8c31adde8", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_56454973bce16e65ee1ae3d2e40", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "1a8310d1-30be-4e59-91c2-de421d8bc7dc", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "29a1569e-f24f-492b-8bc4-976545bbda52" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "3086e847-9457-4231-b724-3dd27859b7c0", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_241f0cca089399c8c5954086b8d", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "5afe9cfc-416a-402a-9987-7c9372728b06", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "59e63a65-4d0b-45bb-b7e8-b83c08523156" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEz" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "42a2a5cd-c36b-4dd5-8f13-8f022a4e9470", + "type": "RELATION", + "name": "opportunity", + "label": "Opportunity", + "description": "NoteTarget opportunity", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "53ad266e-2b93-4ae4-b4fb-fd96aa4a193d", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "ff17ccda-93cb-43ce-8def-4315fef9a01a", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "42a2a5cd-c36b-4dd5-8f13-8f022a4e9470", + "name": "opportunity" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "474c83dd-fb08-44da-99fe-a00ca82129ab", + "name": "noteTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0ec450b8-f341-4f22-86d8-43d24b616861", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "91359a06-057f-442b-9d7c-7190554aff81", + "type": "RELATION", + "name": "note", + "label": "Note", + "description": "NoteTarget note", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "418e2789-4872-4846-affb-ebbc65acf2a9", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "ff17ccda-93cb-43ce-8def-4315fef9a01a", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "91359a06-057f-442b-9d7c-7190554aff81", + "name": "note" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "c15314ec-878b-4e84-93f7-8fa5af3e199f", + "nameSingular": "note", + "namePlural": "notes" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "351f6dd8-eefc-4d35-ac08-9e0ddcb47316", + "name": "noteTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4f6c8230-5a03-4852-bd99-20d587a57b48", + "type": "UUID", + "name": "opportunityId", + "label": "Opportunity id (foreign key)", + "description": "NoteTarget opportunity id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "59e63a65-4d0b-45bb-b7e8-b83c08523156", + "type": "UUID", + "name": "noteId", + "label": "Note id (foreign key)", + "description": "NoteTarget note id foreign key", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "86854b8d-05e5-4735-b1df-aae6c2e3eb91", + "type": "RELATION", + "name": "company", + "label": "Company", + "description": "NoteTarget company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "fde1faca-0913-49a1-be3b-f874b49b0a24", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "ff17ccda-93cb-43ce-8def-4315fef9a01a", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "86854b8d-05e5-4735-b1df-aae6c2e3eb91", + "name": "company" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "8c964342-1a32-48a0-936d-059236999e78", + "name": "noteTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4250ef56-2fe7-4056-a36f-cd3022193b2d", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0e5e46ee-9c80-46d7-bc80-62f21a5d26c2", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "68f44136-bf7e-4bf5-b147-712a0c87e2d2", + "type": "RELATION", + "name": "rocket", + "label": "Rocket", + "description": "NoteTarget Rocket", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.033Z", + "updatedAt": "2024-11-06T08:55:39.033Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "ba819982-3c86-4b27-b161-39de3e96a4ff", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "ff17ccda-93cb-43ce-8def-4315fef9a01a", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "68f44136-bf7e-4bf5-b147-712a0c87e2d2", + "name": "rocket" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "d09f3e9f-9429-4e79-8803-29d5dd1690b3", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "11d707cd-e047-41c1-ba19-6927af76ce6f", + "name": "noteTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1af33498-6ecf-4525-84ba-81a3e86d651e", + "type": "UUID", + "name": "companyId", + "label": "Company id (foreign key)", + "description": "NoteTarget company id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "22950597-73be-446d-ad65-0b55ca237e3d", + "type": "UUID", + "name": "personId", + "label": "Person id (foreign key)", + "description": "NoteTarget person id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "29a1569e-f24f-492b-8bc4-976545bbda52", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "edb14b40-6ccf-4996-a77b-a8271895ed94", + "type": "RELATION", + "name": "person", + "label": "Person", + "description": "NoteTarget person", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "75403e5e-7813-49dd-8ca9-7c127f1aff88", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "ff17ccda-93cb-43ce-8def-4315fef9a01a", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "edb14b40-6ccf-4996-a77b-a8271895ed94", + "name": "person" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "2d482b78-c37c-468d-a0e2-a3bffdfea2f1", + "name": "noteTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7699b375-e725-4bef-8c8b-0dbd64181edd", + "type": "UUID", + "name": "rocketId", + "label": "Rocket ID (foreign key)", + "description": "Note Target Rocket id foreign key", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.027Z", + "updatedAt": "2024-11-06T08:55:39.027Z", + "defaultValue": null, + "options": null, + "settings": { + "isForeignKey": true + }, + "relationDefinition": null + } + } + ] } - } - ] - } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "fb4cd6b0-33ba-4a33-beec-7570ba883ecf", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "viewSort", + "namePlural": "viewSorts", + "labelSingular": "View Sort", + "labelPlural": "View Sorts", + "description": "(System) View Sorts", + "icon": "IconArrowsSort", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "279f5e6f-bfe4-4625-b069-94d1bb4de795", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "462293a4-353d-494a-b6a3-88bf84c7e715", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_a01889a3e5b30d56447736329aa", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "c83846ce-b50b-4138-8b24-673efef18bd7", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "74f49830-0fad-4b5d-bffc-b7377c5df9bd" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "c70a3107-0785-4a0b-a5ad-76fcaab39146", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "340abd0e-a1cd-4e41-a348-3a3ff67c6c37" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjc=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "74f49830-0fad-4b5d-bffc-b7377c5df9bd", + "type": "UUID", + "name": "viewId", + "label": "View id (foreign key)", + "description": "View Sort related view id foreign key", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a0f078b5-3af3-4acf-89de-1b5bc341a9bc", + "type": "UUID", + "name": "fieldMetadataId", + "label": "Field Metadata Id", + "description": "View Sort target field", + "icon": "IconTag", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3aa363bb-a055-4a4b-ab58-1c396f2c6837", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "abbf3dae-0fe6-4280-b176-ea85a480ae79", + "type": "TEXT", + "name": "direction", + "label": "Direction", + "description": "View Sort direction", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'asc'", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "279f5e6f-bfe4-4625-b069-94d1bb4de795", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6f90e0bf-e697-42b2-afc3-5fb7495a9ad5", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7e6dfbd3-e16a-479d-80c1-446725f2b67c", + "type": "RELATION", + "name": "view", + "label": "View", + "description": "View Sort related view", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "9bc2191c-2de4-4a14-8ae9-48f0de4940b7", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "fb4cd6b0-33ba-4a33-beec-7570ba883ecf", + "nameSingular": "viewSort", + "namePlural": "viewSorts" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "7e6dfbd3-e16a-479d-80c1-446725f2b67c", + "name": "view" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "59c24d15-6d80-4f09-a563-0a595f5c83a8", + "nameSingular": "view", + "namePlural": "views" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "8d010fdc-21bb-4eea-9d4d-c88327f29db4", + "name": "viewSorts" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "340abd0e-a1cd-4e41-a348-3a3ff67c6c37", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "f02912d1-5058-4110-9140-56afba50534e", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "viewField", + "namePlural": "viewFields", + "labelSingular": "View Field", + "labelPlural": "View Fields", + "description": "(System) View Fields", + "icon": "IconTag", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "15e6a355-41b8-469c-be0b-79ead14aa66c", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "7f5ec45a-cb38-48d1-a8cd-ad090d84dca9", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_260f80ae1d2ccc67388995d6d05", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "a2875686-f646-4af9-932b-9b472a4df401", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "ca7c6bc9-2037-4672-96fb-d5fcd5980051" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "9e178670-481e-4fba-be3c-6db58bf7582a", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "db4f7174-7242-44dc-8414-617164f1106c" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjk=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "55a497be-4dee-4611-ac9b-7d2449ca8b54", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ca7c6bc9-2037-4672-96fb-d5fcd5980051", + "type": "UUID", + "name": "viewId", + "label": "View id (foreign key)", + "description": "View Field related view id foreign key", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1dddc195-45d8-44ed-adff-55fc450fccbd", + "type": "BOOLEAN", + "name": "isVisible", + "label": "Visible", + "description": "View Field visibility", + "icon": "IconEye", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8fb85b4b-d8ad-4f53-86c1-0e28e34b9c6c", + "type": "NUMBER", + "name": "position", + "label": "Position", + "description": "View Field position", + "icon": "IconList", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": 0, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "667ec548-4991-46e5-9a29-8d1fdd0f82a0", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "99178aec-4bfb-4e1e-a4cb-d3c91d660f35", + "type": "UUID", + "name": "fieldMetadataId", + "label": "Field Metadata Id", + "description": "View Field target field", + "icon": "IconTag", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a8eaefb6-2db6-4096-8da4-36b1eac45e0b", + "type": "NUMBER", + "name": "size", + "label": "Size", + "description": "View Field size", + "icon": "IconEye", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": 0, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a09c707e-a640-42e1-93cd-f3916f294289", + "type": "RELATION", + "name": "view", + "label": "View", + "description": "View Field related view", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "5dfd3452-78b0-4391-a592-a2086326a533", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "f02912d1-5058-4110-9140-56afba50534e", + "nameSingular": "viewField", + "namePlural": "viewFields" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "a09c707e-a640-42e1-93cd-f3916f294289", + "name": "view" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "59c24d15-6d80-4f09-a563-0a595f5c83a8", + "nameSingular": "view", + "namePlural": "views" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "8608bfab-401a-4aa5-8923-00b4e82e086b", + "name": "viewFields" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "db4f7174-7242-44dc-8414-617164f1106c", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "15e6a355-41b8-469c-be0b-79ead14aa66c", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "company", + "namePlural": "companies", + "labelSingular": "Company", + "labelPlural": "Companies", + "description": "A company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "1a8ee7b4-7272-4976-ac90-f3537079a139", + "imageIdentifierFieldMetadataId": null, + "shortcut": "C", + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "de4c0396-0387-4456-a25b-f3f362315964", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_fb1f4905546cfc6d70a971c76f7", + "indexWhereClause": null, + "indexType": "GIN", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "5960b58d-8090-473f-8c50-0937534314c6", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "4f9f2da1-02a8-4101-ba3e-4478192be8ec" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "ec5cf1a3-05c9-4292-9dcc-7d554c9e0f64", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_123501237187c835ede626367b7", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "d2d523f1-18d4-43d4-9e21-dd636b6093da", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "4c6db689-d441-4e71-9b11-420b4a5a2e6a" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "d66bcbb4-9a99-4217-922d-4571a64d85bd", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "48be2c11-5ac8-4a5e-9b26-3e46a4fc659f" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjI3" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "03def62a-0989-41ba-af0a-d4dcc420ef55", + "type": "RELATION", + "name": "accountOwner", + "label": "Account Owner", + "description": "Your team member responsible for managing the company account", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "7a03f8ea-bd23-4d15-8793-bbf1cd67de19", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "03def62a-0989-41ba-af0a-d4dcc420ef55", + "name": "accountOwner" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "5f41e23c-4279-4ef1-8e72-a5f50fa2ff85", + "name": "accountOwnerForCompanies" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dff3d709-6dc9-4859-ad8a-fd193d6641d6", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a300c0ba-4774-4b9c-80b9-df8d12600b41", + "type": "TEXT", + "name": "tagline", + "label": "Tagline", + "description": "Company's Tagline", + "icon": "IconAdCircle", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.211Z", + "updatedAt": "2024-11-06T08:55:38.211Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9dec8836-8582-4152-8811-468118c92b73", + "type": "LINKS", + "name": "linkedinLink", + "label": "Linkedin", + "description": "The company Linkedin account", + "icon": "IconBrandLinkedin", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "primaryLinkUrl": "''", + "secondaryLinks": null, + "primaryLinkLabel": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1a8ee7b4-7272-4976-ac90-f3537079a139", + "type": "TEXT", + "name": "name", + "label": "Name", + "description": "The company name", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "cd3381f7-de95-4202-bfe0-ce6bb1b1ca03", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "274e3b07-278f-4649-9cb9-e346266ea78c", + "type": "RELATION", + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the company", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "43fbba4b-2ccf-45be-9111-afd661bad096", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "274e3b07-278f-4649-9cb9-e346266ea78c", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "84695e0f-8224-4a40-93fe-cd3b95f3b0f9", + "name": "company" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ee2b40fe-a617-4a52-ba83-29f329198e68", + "type": "LINKS", + "name": "introVideo", + "label": "Intro Video", + "description": "Company's Intro Video", + "icon": "IconVideo", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.305Z", + "updatedAt": "2024-11-06T08:55:38.305Z", + "defaultValue": { + "primaryLinkUrl": "''", + "secondaryLinks": null, + "primaryLinkLabel": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3acc184a-36ce-47ac-b2ed-3e6b8711bc5f", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8c964342-1a32-48a0-936d-059236999e78", + "type": "RELATION", + "name": "noteTargets", + "label": "Notes", + "description": "Notes tied to the company", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "fde1faca-0913-49a1-be3b-f874b49b0a24", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "8c964342-1a32-48a0-936d-059236999e78", + "name": "noteTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "ff17ccda-93cb-43ce-8def-4315fef9a01a", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "86854b8d-05e5-4735-b1df-aae6c2e3eb91", + "name": "company" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "22257343-77da-407e-a431-09e86a073d66", + "type": "RELATION", + "name": "people", + "label": "People", + "description": "People linked to the company.", + "icon": "IconUsers", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "1c3476ad-5333-4f56-b87b-d9333a456468", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "22257343-77da-407e-a431-09e86a073d66", + "name": "people" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "9af6eece-2ba2-4c04-9f18-62815a9c1ddd", + "name": "company" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "15f167d5-89c3-43e1-9d5f-44c9e06bdb9f", + "type": "ADDRESS", + "name": "address", + "label": "Address", + "description": "Address of the company", + "icon": "IconMap", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "addressLat": null, + "addressLng": null, + "addressCity": "''", + "addressState": "''", + "addressCountry": "''", + "addressStreet1": "''", + "addressStreet2": "''", + "addressPostcode": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e741dc06-d069-4177-a7c9-d13de72c3983", + "type": "BOOLEAN", + "name": "idealCustomerProfile", + "label": "ICP", + "description": "Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you", + "icon": "IconTarget", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": false, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f89eb721-b6e1-425b-a79c-725adb7a7b95", + "type": "LINKS", + "name": "xLink", + "label": "X", + "description": "The company Twitter/X account", + "icon": "IconBrandX", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "primaryLinkUrl": "''", + "secondaryLinks": null, + "primaryLinkLabel": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4cce66e7-644f-4d9b-865e-38226a04d09c", + "type": "RELATION", + "name": "taskTargets", + "label": "Tasks", + "description": "Tasks tied to the company", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "41a1492d-efe5-43f2-8529-6fbc09d5aebd", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "4cce66e7-644f-4d9b-865e-38226a04d09c", + "name": "taskTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "472aafb6-7f56-4984-be83-5520beab4b32", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "047c64cf-c3b6-483e-9294-546800e3016a", + "name": "company" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9e3021e0-2705-47cf-966b-4a41eb80c000", + "type": "BOOLEAN", + "name": "visaSponsorship", + "label": "Visa Sponsorship", + "description": "Company's Visa Sponsorship Policy", + "icon": "IconBrandVisa", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.469Z", + "updatedAt": "2024-11-06T08:55:38.469Z", + "defaultValue": false, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "84366fff-63f0-4edb-bc45-7b49a2cf34f1", + "type": "NUMBER", + "name": "employees", + "label": "Employees", + "description": "Number of employees in the company", + "icon": "IconUsers", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4f9f2da1-02a8-4101-ba3e-4478192be8ec", + "type": "TS_VECTOR", + "name": "searchVector", + "label": "Search vector", + "description": "Field used for full-text search", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4d4616db-cfa2-4edf-ac84-1cb20645678e", + "type": "MULTI_SELECT", + "name": "workPolicy", + "label": "Work Policy", + "description": "Company's Work Policy", + "icon": "IconHome", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.389Z", + "updatedAt": "2024-11-06T08:55:38.389Z", + "defaultValue": null, + "options": [ + { + "id": "fb510e66-5ddf-4daa-8da6-9c0f6a8dd1af", + "color": "green", + "label": "On-Site", + "value": "ON_SITE", + "position": 0 + }, + { + "id": "389e88b8-46bc-4c69-86bf-bef7efa3eb79", + "color": "turquoise", + "label": "Hybrid", + "value": "HYBRID", + "position": 1 + }, + { + "id": "7f9fc75a-7b76-4eb0-9ccb-74e9ea21e4c4", + "color": "sky", + "label": "Remote Work", + "value": "REMOTE_WORK", + "position": 2 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c35bb58b-ecc5-40d5-b626-5d94b238ddbe", + "type": "RELATION", + "name": "timelineActivities", + "label": "Timeline Activities", + "description": "Timeline Activities linked to the company", + "icon": "IconIconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "e5ea55f4-cdf3-4044-bccf-a9815b20aaae", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "c35bb58b-ecc5-40d5-b626-5d94b238ddbe", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "3f957c3c-5fc3-4f27-a53f-52ffa8f7ac7b", + "name": "company" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "71214377-edbf-4203-8cbd-fe4369d96b52", + "type": "POSITION", + "name": "position", + "label": "Position", + "description": "Company record position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b4aaa575-7b9f-411c-a609-f8f89a4f690d", + "type": "RELATION", + "name": "opportunities", + "label": "Opportunities", + "description": "Opportunities linked to the company.", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "2980cde0-a949-48b4-b70e-72bb2df38693", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "b4aaa575-7b9f-411c-a609-f8f89a4f690d", + "name": "opportunities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "93ee9e29-f1ab-44bf-a1ae-4637630d49fe", + "name": "company" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6844e4dc-5ac9-472c-b9b0-d70bdccce4f2", + "type": "ACTOR", + "name": "createdBy", + "label": "Created by", + "description": "The creator of the record", + "icon": "IconCreativeCommonsSa", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "name": "''", + "source": "'MANUAL'" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "48be2c11-5ac8-4a5e-9b26-3e46a4fc659f", + "type": "UUID", + "name": "accountOwnerId", + "label": "Account Owner id (foreign key)", + "description": "Your team member responsible for managing the company account id foreign key", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "25ff48ae-e491-4920-b98f-269d2f295be0", + "type": "CURRENCY", + "name": "annualRecurringRevenue", + "label": "ARR", + "description": "Annual Recurring Revenue: The actual or estimated annual revenue of the company", + "icon": "IconMoneybag", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "amountMicros": null, + "currencyCode": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "20beafb4-a087-4988-a42a-ffb6b84e0957", + "type": "LINKS", + "name": "domainName", + "label": "Domain Name", + "description": "The company website URL. We use this url to fetch the company icon", + "icon": "IconLink", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "primaryLinkUrl": "''", + "secondaryLinks": null, + "primaryLinkLabel": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f567009c-c0c6-497e-b9ff-8ba029acd90c", + "type": "RELATION", + "name": "attachments", + "label": "Attachments", + "description": "Attachments linked to the company", + "icon": "IconFileImport", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "954b9dd4-9351-4a27-9d2a-fd08ac949078", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "f567009c-c0c6-497e-b9ff-8ba029acd90c", + "name": "attachments" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "a57d9ded-e8c2-46df-bebe-a69970da3bca", + "name": "company" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4c6db689-d441-4e71-9b11-420b4a5a2e6a", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "d87e6d5d-79d9-4cb6-8fa5-fd2de1c1bc5a", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "blocklist", + "namePlural": "blocklists", + "labelSingular": "Blocklist", + "labelPlural": "Blocklists", + "description": "Blocklist", + "icon": "IconForbid2", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "adf5dbc1-a828-4b50-b055-e89c4cd405da", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "bf5d48fe-1819-4a70-99dd-0005087d11e1", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_76a190ab8a6f439791358d63d60", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "a0348b8b-4523-4ec9-9517-b0ede8491c47", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "3fc1e979-fb3f-4066-a594-0ff8716da628" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "97ca6e7f-f729-4580-86f4-9d7855579886", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "5bd120b0-0757-474d-9983-184c33d52030" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjY=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3a2f522a-c324-4f25-b0b2-d52d133ad9e8", + "type": "RELATION", + "name": "workspaceMember", + "label": "WorkspaceMember", + "description": "WorkspaceMember", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "ef5e2f4c-c4df-48bc-8b29-166e72bcf87c", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "d87e6d5d-79d9-4cb6-8fa5-fd2de1c1bc5a", + "nameSingular": "blocklist", + "namePlural": "blocklists" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "3a2f522a-c324-4f25-b0b2-d52d133ad9e8", + "name": "workspaceMember" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "c407f77f-b4d3-4a3e-a153-9671c7e88473", + "name": "blocklist" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "22be5f14-0d67-4a88-b936-0f51747fe8a7", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "335b5c70-6340-45a0-a463-7c93d6187d22", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3fc1e979-fb3f-4066-a594-0ff8716da628", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fa920640-9604-4026-8dab-add2288b1b0b", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "adf5dbc1-a828-4b50-b055-e89c4cd405da", + "type": "TEXT", + "name": "handle", + "label": "Handle", + "description": "Handle", + "icon": "IconAt", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5bd120b0-0757-474d-9983-184c33d52030", + "type": "UUID", + "name": "workspaceMemberId", + "label": "WorkspaceMember id (foreign key)", + "description": "WorkspaceMember id foreign key", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "d7091935-979e-4cca-82a3-49cb218d6ddc", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "webhook", + "namePlural": "webhooks", + "labelSingular": "Webhook", + "labelPlural": "Webhooks", + "description": "A webhook", + "icon": "IconRobot", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "976d82dd-8efa-47d4-b3a6-26c6405621b1", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjY=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0ae0195f-2b46-42dc-b8cc-a37df8c89d79", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5d0ff6db-0e9a-438b-b981-490b4138d465", + "type": "TEXT", + "name": "description", + "label": "Description", + "description": null, + "icon": "IconInfo", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "69876366-4954-4f2e-919e-e89d728a8c95", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "976d82dd-8efa-47d4-b3a6-26c6405621b1", + "type": "TEXT", + "name": "targetUrl", + "label": "Target Url", + "description": "Webhook target url", + "icon": "IconLink", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "504d4e99-94c2-4f2f-8714-7d009dae550c", + "type": "ARRAY", + "name": "operations", + "label": "Operations", + "description": "Webhook operations", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": [ + "*.*" + ], + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b5113e86-5448-43a0-96aa-36d8b16bbbf4", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "495b0ed4-4e53-43fd-ab8c-52b98b5a4dd2", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "d09f3e9f-9429-4e79-8803-29d5dd1690b3", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "rocket", + "namePlural": "rockets", + "labelSingular": "Rocket", + "labelPlural": "Rockets", + "description": "A rocket", + "icon": "IconRocket", + "isCustom": true, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-11-06T08:55:38.993Z", + "updatedAt": "2024-11-06T08:55:38.993Z", + "labelIdentifierFieldMetadataId": null, + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "f64bf815-401e-430b-bc4e-db8167888b21", + "createdAt": "2024-11-06T08:55:39.045Z", + "updatedAt": "2024-11-06T08:55:39.045Z", + "name": "IDX_530792e4278e7696c4e3e3e55f8", + "indexWhereClause": null, + "indexType": "GIN", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "6546b805-37ff-4922-a160-2b2ecf9fed53", + "createdAt": "2024-11-06T08:55:39.045Z", + "updatedAt": "2024-11-06T08:55:39.045Z", + "order": 0, + "fieldMetadataId": "4201ff88-7508-4aa5-a0a5-a4ae89efd9ea" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEy" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4201ff88-7508-4aa5-a0a5-a4ae89efd9ea", + "type": "TS_VECTOR", + "name": "searchVector", + "label": "Search vector", + "description": "Field used for full-text search", + "icon": null, + "isCustom": false, + "isActive": false, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.039Z", + "updatedAt": "2024-11-06T08:55:39.039Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dfd44f95-c1c0-43f7-b5f9-2db4090e4114", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.993Z", + "updatedAt": "2024-11-06T08:55:38.993Z", + "defaultValue": "now", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7896a006-eb14-481e-8197-661b7009a22e", + "type": "ACTOR", + "name": "createdBy", + "label": "Created by", + "description": "The creator of the record", + "icon": "IconCreativeCommonsSa", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.993Z", + "updatedAt": "2024-11-06T08:55:38.993Z", + "defaultValue": { + "name": "''", + "source": "'MANUAL'" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8ca9ab88-3fd0-42fe-b502-57d3f3b5c8fc", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.993Z", + "updatedAt": "2024-11-06T08:55:38.993Z", + "defaultValue": "now", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "474ca305-4369-4c2c-808f-90e619b93d35", + "type": "RELATION", + "name": "timelineActivities", + "label": "TimelineActivities", + "description": "TimelineActivities tied to the Rocket", + "icon": "IconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.014Z", + "updatedAt": "2024-11-06T08:55:39.014Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "03ba37c1-b628-40b8-b471-00b0d6056a03", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "d09f3e9f-9429-4e79-8803-29d5dd1690b3", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "474ca305-4369-4c2c-808f-90e619b93d35", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "fcc362ff-ef42-4319-b06c-02085d9309a3", + "name": "rocket" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b8545663-db22-42a6-aa05-c1a8d75f6fb6", + "type": "RELATION", + "name": "taskTargets", + "label": "TaskTargets", + "description": "TaskTargets tied to the Rocket", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.033Z", + "updatedAt": "2024-11-06T08:55:39.033Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "3faa21bf-763c-4487-a9e3-049ec2122acc", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "d09f3e9f-9429-4e79-8803-29d5dd1690b3", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "b8545663-db22-42a6-aa05-c1a8d75f6fb6", + "name": "taskTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "472aafb6-7f56-4984-be83-5520beab4b32", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "774f2183-4eda-4044-ba68-e7129609f363", + "name": "rocket" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8fe08e76-01f7-487a-ada5-7bd2997cb124", + "type": "TEXT", + "name": "name", + "label": "Name", + "description": "Name", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.993Z", + "updatedAt": "2024-11-06T08:55:38.993Z", + "defaultValue": "'Untitled'", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "97e92687-48f2-4618-9985-5408e86853e9", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.993Z", + "updatedAt": "2024-11-06T08:55:38.993Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "961dea12-8b44-4c5e-be35-43acf6546995", + "type": "RELATION", + "name": "attachments", + "label": "Attachments", + "description": "Attachments tied to the Rocket", + "icon": "IconFileImport", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.033Z", + "updatedAt": "2024-11-06T08:55:39.033Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "269b9197-b0de-46c2-92d1-5274ad9025bb", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "d09f3e9f-9429-4e79-8803-29d5dd1690b3", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "961dea12-8b44-4c5e-be35-43acf6546995", + "name": "attachments" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "28ed0e0d-128a-4805-b72d-c6123ed64e67", + "name": "rocket" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "11d707cd-e047-41c1-ba19-6927af76ce6f", + "type": "RELATION", + "name": "noteTargets", + "label": "NoteTargets", + "description": "NoteTargets tied to the Rocket", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.033Z", + "updatedAt": "2024-11-06T08:55:39.033Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "ba819982-3c86-4b27-b161-39de3e96a4ff", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "d09f3e9f-9429-4e79-8803-29d5dd1690b3", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "11d707cd-e047-41c1-ba19-6927af76ce6f", + "name": "noteTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "ff17ccda-93cb-43ce-8def-4315fef9a01a", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "68f44136-bf7e-4bf5-b147-712a0c87e2d2", + "name": "rocket" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f94d5b6c-74ed-4c18-aae9-5cd5354f0a08", + "type": "POSITION", + "name": "position", + "label": "Position", + "description": "Position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.993Z", + "updatedAt": "2024-11-06T08:55:38.993Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1992472b-03a7-48ee-89c0-082ad556e960", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Deletion date", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.993Z", + "updatedAt": "2024-11-06T08:55:38.993Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "bfa5c235-afeb-4f2c-b18a-ac878467221e", + "type": "RELATION", + "name": "favorites", + "label": "Favorites", + "description": "Favorites tied to the Rocket", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.014Z", + "updatedAt": "2024-11-06T08:55:39.014Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "d18c6708-c7a3-474f-88e8-274808c04d06", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "d09f3e9f-9429-4e79-8803-29d5dd1690b3", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "bfa5c235-afeb-4f2c-b18a-ac878467221e", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "cc373b3a-9962-4cc9-b0da-c5cc62394529", + "name": "rocket" + } + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "c15314ec-878b-4e84-93f7-8fa5af3e199f", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "note", + "namePlural": "notes", + "labelSingular": "Note", + "labelPlural": "Notes", + "description": "A note", + "icon": "IconNotes", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "66286283-dab7-47b0-8f4d-680e81439326", + "imageIdentifierFieldMetadataId": null, + "shortcut": "N", + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "b23e2602-2f6e-4128-8845-ddf4ece0c1bd", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_f20de8d7fc74a405e4083051275", + "indexWhereClause": null, + "indexType": "GIN", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "2275fdf4-d23a-477c-b046-59966b27668f", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "cbfa98ba-5a2a-4c22-a8f8-a2b471a971fe" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEy" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2ed837c5-2fa4-4ca9-992e-fc07062a0cc5", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4df9c68f-5c63-4c66-8db4-266683a4a6a6", + "type": "RELATION", + "name": "timelineActivities", + "label": "Timeline Activities", + "description": "Timeline Activities linked to the note.", + "icon": "IconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "8ee9cfc1-f3a6-4696-9ce9-f2229f01ea02", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "c15314ec-878b-4e84-93f7-8fa5af3e199f", + "nameSingular": "note", + "namePlural": "notes" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "4df9c68f-5c63-4c66-8db4-266683a4a6a6", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "9c47883e-bec0-4429-8058-909dde20c752", + "name": "note" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "351f6dd8-eefc-4d35-ac08-9e0ddcb47316", + "type": "RELATION", + "name": "noteTargets", + "label": "Relations", + "description": "Note targets", + "icon": "IconArrowUpRight", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "418e2789-4872-4846-affb-ebbc65acf2a9", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "c15314ec-878b-4e84-93f7-8fa5af3e199f", + "nameSingular": "note", + "namePlural": "notes" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "351f6dd8-eefc-4d35-ac08-9e0ddcb47316", + "name": "noteTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "ff17ccda-93cb-43ce-8def-4315fef9a01a", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "91359a06-057f-442b-9d7c-7190554aff81", + "name": "note" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "66286283-dab7-47b0-8f4d-680e81439326", + "type": "TEXT", + "name": "title", + "label": "Title", + "description": "Note title", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2fdf421d-fab6-4135-81ac-50582724e20e", + "type": "RICH_TEXT", + "name": "body", + "label": "Body", + "description": "Note body", + "icon": "IconFilePencil", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "98182847-8e61-4bf8-be22-31101b52d5d7", + "type": "RELATION", + "name": "attachments", + "label": "Attachments", + "description": "Note attachments", + "icon": "IconFileImport", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "bd38f3b4-221b-4d65-a572-d9b96bdd91c0", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "c15314ec-878b-4e84-93f7-8fa5af3e199f", + "nameSingular": "note", + "namePlural": "notes" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "98182847-8e61-4bf8-be22-31101b52d5d7", + "name": "attachments" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "99b464dc-c166-4b4a-9ee7-96a0aeadc769", + "name": "note" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "94f1c407-7ee9-41a4-afe3-4730681ecdbf", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "81859c53-e924-4049-87c4-6be2982b81ad", + "type": "ACTOR", + "name": "createdBy", + "label": "Created by", + "description": "The creator of the record", + "icon": "IconCreativeCommonsSa", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "name": "''", + "source": "'MANUAL'" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ae8fc040-9e9d-4d4e-b193-ed337f5b7fc5", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "646981a7-971b-41ac-866c-b044fb86da2f", + "type": "POSITION", + "name": "position", + "label": "Position", + "description": "Note record position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f69fc40d-dc11-4127-b848-f2a11bd63ae5", + "type": "RELATION", + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the note", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "a548bd48-7b68-4acc-b42f-967450657628", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "c15314ec-878b-4e84-93f7-8fa5af3e199f", + "nameSingular": "note", + "namePlural": "notes" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "f69fc40d-dc11-4127-b848-f2a11bd63ae5", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "6a86e940-b794-47f0-8e19-2f9cdae0c97a", + "name": "note" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "75008a12-664d-462c-8b36-7c2f8a4bf8ab", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "cbfa98ba-5a2a-4c22-a8f8-a2b471a971fe", + "type": "TS_VECTOR", + "name": "searchVector", + "label": "Search vector", + "description": "Field used for full-text search", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "be8f69da-abf5-4812-aecd-10b1358a6e60", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions", + "labelSingular": "Workflow Version", + "labelPlural": "Workflow Versions", + "description": "A workflow version", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "b74aaa4a-9b3a-4aea-8ac2-836711c266cc", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "b3a6c4e8-a027-4fa8-9de9-1116c2ce6589", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_a362c5eff4a28fcdffdd3bdff16", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "92829214-4c98-4e4a-ad3e-f34a19575bd2", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "f5a4f0de-3e78-45dd-88c6-fbb2bc529b6a" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEz" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d1f6140c-8c53-42f6-a223-1dbfdd2d80d7", + "type": "RAW_JSON", + "name": "steps", + "label": "Version steps", + "description": "Json object to provide steps", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1373d347-a95b-42b3-b536-5ff951ea16e3", + "type": "POSITION", + "name": "position", + "label": "Position", + "description": "Workflow version position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2b029e3d-955c-40ae-b1c5-c66eafa0fb2e", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "429dddf1-386a-49a2-8d09-063f31419ea0", + "type": "RAW_JSON", + "name": "trigger", + "label": "Version trigger", + "description": "Json object to provide trigger", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d86d0ed9-1e7b-45d5-a29e-f54ff078ac06", + "type": "SELECT", + "name": "status", + "label": "Version status", + "description": "The workflow version status", + "icon": "IconStatusChange", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'DRAFT'", + "options": [ + { + "id": "2dbce680-b1c5-4819-9d1d-52f91245a47b", + "color": "yellow", + "label": "Draft", + "value": "DRAFT", + "position": 0 + }, + { + "id": "95a70721-ba11-47cf-8c3b-65f8becfbb72", + "color": "green", + "label": "Active", + "value": "ACTIVE", + "position": 1 + }, + { + "id": "92c4b7c3-53f0-4f45-9e66-e993d8cd2f83", + "color": "red", + "label": "Deactivated", + "value": "DEACTIVATED", + "position": 2 + }, + { + "id": "f59e3f72-2ac5-44cc-9a12-8530f9550cc3", + "color": "grey", + "label": "Archived", + "value": "ARCHIVED", + "position": 3 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b74aaa4a-9b3a-4aea-8ac2-836711c266cc", + "type": "TEXT", + "name": "name", + "label": "Name", + "description": "The workflow version name", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f5a4f0de-3e78-45dd-88c6-fbb2bc529b6a", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ee89ea67-ca18-4690-951e-33f4f17738f1", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f4ece4f3-3b5a-47a9-8228-9cb09ea40c58", + "type": "RELATION", + "name": "timelineActivities", + "label": "Timeline Activities", + "description": "Timeline activities linked to the version", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "e45268bb-5ec3-41b2-aff1-de4b9f5a1c72", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "be8f69da-abf5-4812-aecd-10b1358a6e60", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "f4ece4f3-3b5a-47a9-8228-9cb09ea40c58", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "5da79e1e-e762-4bf2-ad62-9b2c32ee998b", + "name": "workflowVersion" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "adb232d2-7a84-4fd4-b338-5c0a33adfa61", + "type": "RELATION", + "name": "runs", + "label": "Runs", + "description": "Workflow runs linked to the version.", + "icon": "IconRun", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "19b0458a-af41-4519-b44b-01c91f0b63d5", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "be8f69da-abf5-4812-aecd-10b1358a6e60", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "adb232d2-7a84-4fd4-b338-5c0a33adfa61", + "name": "runs" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "855240cc-3209-4511-8c6a-10f8ce253a2a", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "767fbad6-ff8c-4e97-b61e-b294768ba2b6", + "name": "workflowVersion" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4c7174f2-42a5-47d8-871c-e4ae7e7b57f0", + "type": "RELATION", + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the workflow version", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "a52d2763-84b2-4ce0-b014-99d23e3590e9", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "be8f69da-abf5-4812-aecd-10b1358a6e60", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "4c7174f2-42a5-47d8-871c-e4ae7e7b57f0", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "6780cb01-6edb-488b-b6a8-6d6cabfd5191", + "name": "workflowVersion" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ff93f20e-52ee-41b6-9934-c1f2ef17956b", + "type": "UUID", + "name": "workflowId", + "label": "Workflow id (foreign key)", + "description": "WorkflowVersion workflow id foreign key", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "82ce9042-6e3c-4007-ae5e-16755360aca3", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "823d5293-0e17-4446-953b-d45e49c7b362", + "type": "RELATION", + "name": "workflow", + "label": "Workflow", + "description": "WorkflowVersion workflow", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "226a5a1c-406d-46c6-8731-5a64eb6df6ba", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "be8f69da-abf5-4812-aecd-10b1358a6e60", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "823d5293-0e17-4446-953b-d45e49c7b362", + "name": "workflow" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5dc29a2c-d985-48fc-bad4-6e3f8623f811", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "3a848b0d-4059-47da-808d-f3b6a9287c24", + "name": "versions" + } + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "bde4303b-1460-4976-9465-d201f1384464", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "message", + "namePlural": "messages", + "labelSingular": "Message", + "labelPlural": "Messages", + "description": "Message", + "icon": "IconMessage", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "fa033341-3142-464a-bbd3-a1d392d73124", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "c78b10d6-1a0c-43d7-bfdc-d1e26c5dfbbe", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_78fa73d661d632619e17de211e6", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "6166c8dd-078b-43d7-894d-178c56b9dc63", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "3d0a80bf-1e7e-415e-9514-93b143f7e744" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "877bf8ff-3893-482e-b0f8-00275c3d3b45", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "af4c6c71-5834-4c3e-ab1f-facb11020006" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEx" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "af4c6c71-5834-4c3e-ab1f-facb11020006", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "28622730-ab68-4729-8ba5-bb16750dac7d", + "type": "RELATION", + "name": "messageParticipants", + "label": "Message Participants", + "description": "Message Participants", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "70d3e4a7-6279-4d2d-bd62-45517b77e5fe", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "bde4303b-1460-4976-9465-d201f1384464", + "nameSingular": "message", + "namePlural": "messages" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "28622730-ab68-4729-8ba5-bb16750dac7d", + "name": "messageParticipants" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5c073dd8-4a3c-4618-b01a-31829217f4e1", + "nameSingular": "messageParticipant", + "namePlural": "messageParticipants" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "4502b888-8f7c-453e-9168-cad1eb72758e", + "name": "message" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "68915508-bdef-4009-8fd3-c669b9851fa5", + "type": "RELATION", + "name": "messageChannelMessageAssociations", + "label": "Message Channel Association", + "description": "Messages from the channel.", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "01be1981-d5ee-4a62-9965-b6bff417b936", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "bde4303b-1460-4976-9465-d201f1384464", + "nameSingular": "message", + "namePlural": "messages" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "68915508-bdef-4009-8fd3-c669b9851fa5", + "name": "messageChannelMessageAssociations" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a44b8dd2-ff40-4de8-a745-d7801c862540", + "nameSingular": "messageChannelMessageAssociation", + "namePlural": "messageChannelMessageAssociations" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "54d3e677-44a8-4e28-85bf-b776b2be7320", + "name": "message" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b96d42be-8b1c-4734-974a-69a36cef5301", + "type": "RELATION", + "name": "messageThread", + "label": "Message Thread Id", + "description": "Message Thread Id", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "011926de-cbef-428c-9455-cb62e5c5a47a", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "bde4303b-1460-4976-9465-d201f1384464", + "nameSingular": "message", + "namePlural": "messages" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "b96d42be-8b1c-4734-974a-69a36cef5301", + "name": "messageThread" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "3431521e-1f46-4c4f-9547-4ea6a125544f", + "nameSingular": "messageThread", + "namePlural": "messageThreads" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "7cdd6d88-674c-456d-ba5e-f895ec094fc9", + "name": "messages" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4150a278-b4a9-4133-b891-e6eee748df72", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "19e6b427-7964-4fc4-bdf3-6761d2200300", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ad912110-0487-4d2f-9cc2-081d2ec8957c", + "type": "TEXT", + "name": "headerMessageId", + "label": "Header message Id", + "description": "Message id from the message header", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3d0a80bf-1e7e-415e-9514-93b143f7e744", + "type": "UUID", + "name": "messageThreadId", + "label": "Message Thread Id id (foreign key)", + "description": "Message Thread Id id foreign key", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b4e4cbd1-f26d-4479-8daf-817c6588294f", + "type": "TEXT", + "name": "text", + "label": "Text", + "description": "Text", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "13ac81bb-bd63-4974-b174-dd8a1faf558c", + "type": "DATE_TIME", + "name": "receivedAt", + "label": "Received At", + "description": "The date the message was received", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fa033341-3142-464a-bbd3-a1d392d73124", + "type": "TEXT", + "name": "subject", + "label": "Subject", + "description": "Subject", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c1847911-0933-46de-8c91-551c0e30faa5", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "b2854fba-b070-4381-84fc-b7d2e8a9ef35", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "viewFilterGroup", + "namePlural": "viewFilterGroups", + "labelSingular": "View Filter Group", + "labelPlural": "View Filter Groups", + "description": "(System) View Filter Groups", + "icon": "IconFilterBolt", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "06c7d2f7-058a-45d6-957d-852b038367a8", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "e035d97d-f283-4a12-b912-409ff7eaeeaf", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_64ce6940a9464cd62484d52fb08", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "e048669e-d638-4c9a-a40a-e611b2c14f25", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "72ebdeac-5f19-4d36-b647-558af0113710" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjg=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "008c919f-2b82-4241-9f88-075d00e4b59f", + "type": "SELECT", + "name": "logicalOperator", + "label": "Logical Operator", + "description": "Logical operator for the filter group", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'NOT'", + "options": [ + { + "id": "b50aaaaf-71c8-47d8-a12a-dd2ede4cd2fb", + "color": "blue", + "label": "AND", + "value": "AND", + "position": 0 + }, + { + "id": "947fca59-07a5-4862-9c43-2f6ceacf4f5b", + "color": "green", + "label": "OR", + "value": "OR", + "position": 1 + }, + { + "id": "df0afd23-39fc-4f94-98f0-00d0f0944d0e", + "color": "red", + "label": "NOT", + "value": "NOT", + "position": 2 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "cf8db26d-3431-4704-9d54-6fe0e6f5110f", + "type": "POSITION", + "name": "positionInViewFilterGroup", + "label": "Position in view filter group", + "description": "Position in the parent view filter group", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "06c7d2f7-058a-45d6-957d-852b038367a8", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dfcd6138-b3a8-4d2c-9d42-90553452136a", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "af87e66e-510b-42d3-b46a-2fd47aa66504", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d7f7b2a6-044c-4176-80e3-84af29060b9b", + "type": "UUID", + "name": "viewId", + "label": "View id (foreign key)", + "description": "View id foreign key", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "72ebdeac-5f19-4d36-b647-558af0113710", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "eb486ac9-0467-4c92-bb68-acb921408d25", + "type": "UUID", + "name": "parentViewFilterGroupId", + "label": "Parent View Filter Group Id", + "description": "Parent View Filter Group", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e486cbc4-18a5-48a2-b89f-f3287e1777b4", + "type": "RELATION", + "name": "view", + "label": "View", + "description": "View", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "111bf30f-3b35-4a46-b532-3c5241513736", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "b2854fba-b070-4381-84fc-b7d2e8a9ef35", + "nameSingular": "viewFilterGroup", + "namePlural": "viewFilterGroups" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "e486cbc4-18a5-48a2-b89f-f3287e1777b4", + "name": "view" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "59c24d15-6d80-4f09-a563-0a595f5c83a8", + "nameSingular": "view", + "namePlural": "views" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "a73a200a-8fdd-45e5-a302-e15e93e45a99", + "name": "viewFilterGroups" + } + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "attachment", + "namePlural": "attachments", + "labelSingular": "Attachment", + "labelPlural": "Attachments", + "description": "An attachment", + "icon": "IconFileImport", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "9ccabd1a-2ba5-4129-a9d2-c90764f52f69", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "e1efc2f2-5b1e-4ff9-b1f7-570cd350a2d9", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_3ca1d5243ff67f58c7c65c9a8a2", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "cfeb79df-061a-4cd1-af88-cc4667dea6ab", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_91e687ea21123af4e02c9a07a43", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "7e98d582-0851-40f9-a672-fc5956525608", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "22e2faeb-d9b7-4f9b-b0bd-53d54afbfbc8" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "9d5d162b-d6b1-440e-a3cb-d0502826c27f", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_2055e4e583e9a2e5b4c239fd992", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "776b03e8-3149-40a9-a217-a4f9fd552f40", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "22e2faeb-d9b7-4f9b-b0bd-53d54afbfbc8" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "5846c702-46aa-4e1b-805d-0cb420a53700", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "84dfb399-4920-4142-880c-acb01c5c9605" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "ae596949-af2a-4ebb-9be9-a379042f1b9d", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_30f969e0ec549acca94396d3efe", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "fafa0f54-9f33-4be2-842d-8b0f5c3e0d86", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "22e2faeb-d9b7-4f9b-b0bd-53d54afbfbc8" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "d7e57514-121e-488e-b08c-c93deb3d1f1e", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_73615a6bdc972b013956b19c59e", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "e7f5ea83-ffa3-46e2-b6f5-d1305ae0407c", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "04fcb171-7871-4070-9bbe-bcd30f0c1ea0" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "f0b9af7d-1f65-4280-8c63-5e8dca03e5f8", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_0698fed0e67005b7051b5d353b6", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "785f3ddc-3c90-4246-97b8-64a480daa382", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "22e2faeb-d9b7-4f9b-b0bd-53d54afbfbc8" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjIw" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9ccabd1a-2ba5-4129-a9d2-c90764f52f69", + "type": "TEXT", + "name": "name", + "label": "Name", + "description": "Attachment name", + "icon": "IconFileUpload", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "77ff78f6-6989-463c-b04f-3f704b8c2cd2", + "type": "RELATION", + "name": "author", + "label": "Author", + "description": "Attachment author", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "cc2f9ddc-40f6-4923-ac09-0772b21c1a59", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "77ff78f6-6989-463c-b04f-3f704b8c2cd2", + "name": "author" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "0957bbcb-6b05-4a85-9fa9-4dd9eb5e0515", + "name": "authoredAttachments" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "28ed0e0d-128a-4805-b72d-c6123ed64e67", + "type": "RELATION", + "name": "rocket", + "label": "Rocket", + "description": "Attachment Rocket", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.033Z", + "updatedAt": "2024-11-06T08:55:39.033Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "269b9197-b0de-46c2-92d1-5274ad9025bb", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "28ed0e0d-128a-4805-b72d-c6123ed64e67", + "name": "rocket" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "d09f3e9f-9429-4e79-8803-29d5dd1690b3", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "961dea12-8b44-4c5e-be35-43acf6546995", + "name": "attachments" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8af50db4-75ca-4a4e-a2c8-9f8906a66f1e", + "type": "UUID", + "name": "rocketId", + "label": "Rocket ID (foreign key)", + "description": "Attachment Rocket id foreign key", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.027Z", + "updatedAt": "2024-11-06T08:55:39.027Z", + "defaultValue": null, + "options": null, + "settings": { + "isForeignKey": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3036a88c-b771-41f9-a7a0-83cad04a8285", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fbf847a2-87f8-467d-9296-d4fbc39ef0d0", + "type": "TEXT", + "name": "type", + "label": "Type", + "description": "Attachment type", + "icon": "IconList", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "84dfb399-4920-4142-880c-acb01c5c9605", + "type": "UUID", + "name": "taskId", + "label": "Task id (foreign key)", + "description": "Attachment task id foreign key", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "334e6c2f-6df7-48fe-a7cc-de99dbc12ae0", + "type": "TEXT", + "name": "fullPath", + "label": "Full path", + "description": "Attachment full path", + "icon": "IconLink", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6dbb8425-bf4f-4a94-9f61-b56b0ba74025", + "type": "UUID", + "name": "personId", + "label": "Person id (foreign key)", + "description": "Attachment person id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "893d1cf8-4328-4f85-8fab-141a89e40136", + "type": "RELATION", + "name": "task", + "label": "Task", + "description": "Attachment task", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "efb0c356-d1ad-4f75-93b0-2f1d32b9f661", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "893d1cf8-4328-4f85-8fab-141a89e40136", + "name": "task" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "3499fd6b-c739-46d3-86c7-d85c8ca7ca90", + "nameSingular": "task", + "namePlural": "tasks" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "49911c20-2848-4c9b-82da-a106bcb040f4", + "name": "attachments" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "04fcb171-7871-4070-9bbe-bcd30f0c1ea0", + "type": "UUID", + "name": "opportunityId", + "label": "Opportunity id (foreign key)", + "description": "Attachment opportunity id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a57d9ded-e8c2-46df-bebe-a69970da3bca", + "type": "RELATION", + "name": "company", + "label": "Company", + "description": "Attachment company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "954b9dd4-9351-4a27-9d2a-fd08ac949078", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "a57d9ded-e8c2-46df-bebe-a69970da3bca", + "name": "company" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "f567009c-c0c6-497e-b9ff-8ba029acd90c", + "name": "attachments" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dfaf5df3-c9f8-4f1b-b0ee-a259109aa12c", + "type": "UUID", + "name": "companyId", + "label": "Company id (foreign key)", + "description": "Attachment company id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "92b43ed6-98ea-4665-b347-9f441391b67b", + "type": "RELATION", + "name": "person", + "label": "Person", + "description": "Attachment person", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "16740a4d-695d-42e5-b9dd-a19856763cf0", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "92b43ed6-98ea-4665-b347-9f441391b67b", + "name": "person" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "2c12ec8a-4432-4d9d-adad-bc27ca09417c", + "name": "attachments" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "99b464dc-c166-4b4a-9ee7-96a0aeadc769", + "type": "RELATION", + "name": "note", + "label": "Note", + "description": "Attachment note", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "bd38f3b4-221b-4d65-a572-d9b96bdd91c0", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "99b464dc-c166-4b4a-9ee7-96a0aeadc769", + "name": "note" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "c15314ec-878b-4e84-93f7-8fa5af3e199f", + "nameSingular": "note", + "namePlural": "notes" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "98182847-8e61-4bf8-be22-31101b52d5d7", + "name": "attachments" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e6f53aad-d00f-4728-9604-11bf7772380b", + "type": "UUID", + "name": "noteId", + "label": "Note id (foreign key)", + "description": "Attachment note id foreign key", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dceb1005-3180-4777-be19-01b4886994fa", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "531a679e-9029-4e64-925d-c7c2b12fd883", + "type": "UUID", + "name": "authorId", + "label": "Author id (foreign key)", + "description": "Attachment author id foreign key", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "22e2faeb-d9b7-4f9b-b0bd-53d54afbfbc8", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4e7b7cc8-c222-40a7-8909-839193963da1", + "type": "RELATION", + "name": "opportunity", + "label": "Opportunity", + "description": "Attachment opportunity", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "62e16e78-1972-4195-b860-434239f9f7d8", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "4e7b7cc8-c222-40a7-8909-839193963da1", + "name": "opportunity" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "926c81d6-4a9c-41c9-8eb8-27070ee8ffc2", + "name": "attachments" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3f1c182e-7de9-4bc6-8d7a-70a092c3c34a", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "a7d21400-4d2c-4555-8555-b2343e03c9d8", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "viewFilter", + "namePlural": "viewFilters", + "labelSingular": "View Filter", + "labelPlural": "View Filters", + "description": "(System) View Filters", + "icon": "IconFilterBolt", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "cd4d26ac-dc1a-44e4-9b81-754f81c193ba", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "ac41c1fa-8854-44e9-b5f1-482c97bb8480", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_5653b106ee9a9e3d5c1c790419a", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "c1bc392e-ed33-4bd5-814b-9d8112cd3d4d", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "5ab58ad5-b307-4835-ba80-ae079a7df74c" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "73c7b455-a375-4c6c-97a6-5ed9ec81d395", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "4f1f9347-92c8-45a6-a339-3b8679fe9d47" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEx" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7dfdfd5a-6d25-4983-8552-7e56937c60c8", + "type": "TEXT", + "name": "operand", + "label": "Operand", + "description": "View Filter operand", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'Contains'", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fd7b27b6-a718-4fa9-a9e6-ed917f0f2e0a", + "type": "TEXT", + "name": "displayValue", + "label": "Display Value", + "description": "View Filter Display Value", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5ab58ad5-b307-4835-ba80-ae079a7df74c", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "cd4d26ac-dc1a-44e4-9b81-754f81c193ba", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e820c5ef-c005-49ea-8884-14a5187e6c9f", + "type": "POSITION", + "name": "positionInViewFilterGroup", + "label": "Position in view filter group", + "description": "Position in the view filter group", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5b77923d-1b5f-496d-8192-c31d4b8f0d1e", + "type": "UUID", + "name": "viewFilterGroupId", + "label": "View Filter Group Id", + "description": "View Filter Group", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "29a54983-5e59-4eb3-bc79-c527f672f54a", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7c18a0d5-0f27-466d-b985-1c1215043230", + "type": "RELATION", + "name": "view", + "label": "View", + "description": "View Filter related view", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "fa458e88-53bc-4ab9-8faf-6a092ebb7b12", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "a7d21400-4d2c-4555-8555-b2343e03c9d8", + "nameSingular": "viewFilter", + "namePlural": "viewFilters" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "7c18a0d5-0f27-466d-b985-1c1215043230", + "name": "view" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "59c24d15-6d80-4f09-a563-0a595f5c83a8", + "nameSingular": "view", + "namePlural": "views" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "227f6483-182f-4edf-b9b1-00fd8809dee9", + "name": "viewFilters" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8e8d9b1f-b212-4ae8-9f73-cfeac9afd27b", + "type": "TEXT", + "name": "value", + "label": "Value", + "description": "View Filter value", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4f1f9347-92c8-45a6-a339-3b8679fe9d47", + "type": "UUID", + "name": "viewId", + "label": "View id (foreign key)", + "description": "View Filter related view id foreign key", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5ab6d453-31f9-4cc4-b2bb-f849f02e6cef", + "type": "UUID", + "name": "fieldMetadataId", + "label": "Field Metadata Id", + "description": "View Filter target field", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7c468c1b-37e2-442c-a910-b5a741deb255", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "a71e2adc-02ba-4aa1-a734-2274ff347be0", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "favoriteFolder", + "namePlural": "favoriteFolders", + "labelSingular": "Favorite Folder", + "labelPlural": "Favorite Folders", + "description": "A Folder of favorites", + "icon": "IconFolder", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "3bf92b67-3449-4c5b-acd8-3fec2179b941", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjY=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8aa2a7ae-0682-49e7-a10d-a150654f400b", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1ded9683-9213-443f-8e6e-953708ae385f", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "53426c33-46ff-4634-a7af-f7ad2d3b6910", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "af4ff5f4-e785-4fcc-8e7f-5dbaab23403f", + "type": "TEXT", + "name": "name", + "label": "Name", + "description": "Name of the favorite folder", + "icon": "IconText", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c27979de-9b6a-4170-814e-cbf0b89c96eb", + "type": "RELATION", + "name": "favorites", + "label": "Favorites", + "description": "Favorites in this folder", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "79d38e2d-a237-4654-a82e-e75a09fb1a9b", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "a71e2adc-02ba-4aa1-a734-2274ff347be0", + "nameSingular": "favoriteFolder", + "namePlural": "favoriteFolders" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "c27979de-9b6a-4170-814e-cbf0b89c96eb", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "39899f66-dfa4-4acd-b39b-6345a6351598", + "name": "favoriteFolder" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8b9efcb3-1939-4325-b13b-532026e4c49c", + "type": "NUMBER", + "name": "position", + "label": "Position", + "description": "Favorite folder position", + "icon": "IconList", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": 0, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3bf92b67-3449-4c5b-acd8-3fec2179b941", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "a44b8dd2-ff40-4de8-a745-d7801c862540", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "messageChannelMessageAssociation", + "namePlural": "messageChannelMessageAssociations", + "labelSingular": "Message Channel Message Association", + "labelPlural": "Message Channel Message Associations", + "description": "Message Synced with a Message Channel", + "icon": "IconMessage", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "13166a5d-2df0-4dd1-8048-050aa43928a3", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "4b6b443c-41db-4e62-92d4-b9a8d29dddaf", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_63953e5f88351922043480b8801", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "e886411c-ab8b-4770-8b5e-3c04349b470e", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "f3c1aa5d-8548-4f5b-87ae-0efd65722edc" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "65436801-0c8f-48ef-bf47-b14324f3f4b1", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "8638910b-d7e2-4195-9806-66d7e2ff9988" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "472393f2-f57e-4a55-aeb5-3c81b7db5448", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_671dd9e01a80d1e4c89fc166c3b", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "1209f228-3637-41f6-b0f9-10e7c864fb9c", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "7339bdd3-1ac8-411b-bfb5-361addda6c34" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEw" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "74918630-541c-4d59-84b2-4c396ec38720", + "type": "TEXT", + "name": "messageExternalId", + "label": "Message External Id", + "description": "Message id from the messaging provider", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "299cdaa3-1609-4f7b-a458-582328a4a95e", + "type": "RELATION", + "name": "messageChannel", + "label": "Message Channel Id", + "description": "Message Channel Id", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "7bef4fbc-233a-48f5-99d6-0832af458f8c", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "a44b8dd2-ff40-4de8-a745-d7801c862540", + "nameSingular": "messageChannelMessageAssociation", + "namePlural": "messageChannelMessageAssociations" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "299cdaa3-1609-4f7b-a458-582328a4a95e", + "name": "messageChannel" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "07bddc45-d23a-496d-8f13-acc77a0b165c", + "nameSingular": "messageChannel", + "namePlural": "messageChannels" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "52a15971-38cd-4232-a9af-050c130ed4ca", + "name": "messageChannelMessageAssociations" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "036d0211-b9c8-4cda-aef2-4dd5c99a3830", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f10b35c1-2bc7-44ac-ae32-a1dc5798f435", + "type": "SELECT", + "name": "direction", + "label": "Direction", + "description": "Message Direction", + "icon": "IconDirection", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'INCOMING'", + "options": [ + { + "id": "39c5b586-e23e-486f-8a95-8a73380f7189", + "color": "green", + "label": "Incoming", + "value": "INCOMING", + "position": 0 + }, + { + "id": "a01f149f-6e12-419c-82fc-fd8d38ffb5ec", + "color": "blue", + "label": "Outgoing", + "value": "OUTGOING", + "position": 1 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "13166a5d-2df0-4dd1-8048-050aa43928a3", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "54d3e677-44a8-4e28-85bf-b776b2be7320", + "type": "RELATION", + "name": "message", + "label": "Message Id", + "description": "Message Id", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "01be1981-d5ee-4a62-9965-b6bff417b936", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "a44b8dd2-ff40-4de8-a745-d7801c862540", + "nameSingular": "messageChannelMessageAssociation", + "namePlural": "messageChannelMessageAssociations" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "54d3e677-44a8-4e28-85bf-b776b2be7320", + "name": "message" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "bde4303b-1460-4976-9465-d201f1384464", + "nameSingular": "message", + "namePlural": "messages" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "68915508-bdef-4009-8fd3-c669b9851fa5", + "name": "messageChannelMessageAssociations" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f3c1aa5d-8548-4f5b-87ae-0efd65722edc", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8638910b-d7e2-4195-9806-66d7e2ff9988", + "type": "UUID", + "name": "messageChannelId", + "label": "Message Channel Id id (foreign key)", + "description": "Message Channel Id id foreign key", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f4dc3d28-df9d-4ed2-8d8b-08ff91f80101", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b84eeeaf-b741-480b-915b-14c91dbd77d5", + "type": "TEXT", + "name": "messageThreadExternalId", + "label": "Thread External Id", + "description": "Thread id from the messaging provider", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7339bdd3-1ac8-411b-bfb5-361addda6c34", + "type": "UUID", + "name": "messageId", + "label": "Message Id id (foreign key)", + "description": "Message Id id foreign key", + "icon": "IconHash", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities", + "labelSingular": "Timeline Activity", + "labelPlural": "Timeline Activities", + "description": "Aggregated / filtered event to be displayed on the timeline", + "icon": "IconTimelineEvent", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "bc2c24d6-c5a3-4507-a765-959479d0027a", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "a694c278-17ed-409f-afa2-56479dec7a0c", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_84b1e01cb0480e514a6e7ec0095", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "446e25ce-fb93-47c7-bdf7-3bc04bcdee72", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "09a03a4e-1481-410a-aae1-ac856233459e" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "b8326d79-f360-45e1-ad94-74c297f7d792", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "28b8d755-cea5-4afb-a2ed-1586bafb7f28" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "6bbb086f-5a28-4ceb-b01d-6035aaa034e7", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_6eae0c4202a87f812adf2f2ba6f", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "4f1dbb54-a824-4811-adba-62806fcb10d4", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_4e40a441ad75df16dd71499529a", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "92c2fdff-9fd4-4ee4-b59c-b9a3a6907e44", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "1672db07-3304-40b9-a84f-e0598fdc03cf" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "11beb046-2607-4dd3-b109-e8802c87962b", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "28b8d755-cea5-4afb-a2ed-1586bafb7f28" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "ac3133dc-10a1-485b-a1ee-c5d5703fb194", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_2708a99873421942c99ab94da12", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "cb51d298-fefd-4509-8895-d2140599b7af", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "28b8d755-cea5-4afb-a2ed-1586bafb7f28" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "8e76e25f-8da3-43f6-abf9-45dc9af27468", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "8279c2b9-135f-42d1-9af6-7a10af9e4f0e" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "206ea338-88d4-4e0d-b3b0-c47948af2c38", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_daf6592d1dff4cff3401bf23c67", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "26132d28-1548-4381-a032-c4b1debd1cc1", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "15888fc0-c8ea-4a53-bb39-06b7fa63a2ad" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "aab77046-ef15-46a8-a95a-736b65196cab", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_b292fe34a9e2d55884febd07e93", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "48a2e4af-4adc-4a90-aa8d-7c2fe154356f", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "53628cfc-3b9c-43e2-b054-7d21eb25c7fe" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "52036eef-081b-41c1-abea-901b1490b58f", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "28b8d755-cea5-4afb-a2ed-1586bafb7f28" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "694f79a4-84ae-4f77-8ba9-bb4b47e789a0", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_a98bc2277b52c6dd52303e52c21", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "5dfaacf4-5854-48b3-b24c-bd4e49abac74", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "13390ef4-688b-409a-ba3d-7c57644fdf23" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "b9c943bb-f036-4ea7-9a32-2684404b6c41", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "28b8d755-cea5-4afb-a2ed-1586bafb7f28" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "40e16df0-815c-477d-998b-d4f01797e667", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_a930d316a6b4f3b81d3f026dd16", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "c292db14-54d7-462c-b42a-6de7158f2477", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "28b8d755-cea5-4afb-a2ed-1586bafb7f28" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "99f86cbb-fa9e-444a-982a-269501eab8b3", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_7e0d952730f13369e3bd9c2f1a9", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "e0b3dd11-bfe5-4ca0-bbfa-59d6615778bb", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "28b8d755-cea5-4afb-a2ed-1586bafb7f28" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "341ea4c5-4f41-4035-959c-178ff1ae8f22", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "012cfc22-009a-4625-a823-8adf7dd73763" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjI5" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "62d5bf40-1c9c-4164-ac40-00ab8a3deb62", + "type": "UUID", + "name": "linkedRecordId", + "label": "Linked Record id", + "description": "Linked Record id", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f3b7af9c-468e-493f-8d8c-0cf3f0ec028c", + "type": "UUID", + "name": "workspaceMemberId", + "label": "Workspace Member id (foreign key)", + "description": "Event workspace member id foreign key", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4c24b808-4b79-4794-83a9-648ce206b2a1", + "type": "RELATION", + "name": "workspaceMember", + "label": "Workspace Member", + "description": "Event workspace member", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "05e2fe5f-6e2a-4b7f-8306-f51569b9451e", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "4c24b808-4b79-4794-83a9-648ce206b2a1", + "name": "workspaceMember" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "3ab1326a-f55c-472b-a4a6-097340d547b2", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2a1f3b2c-78dd-489c-ae01-641c21b14f00", + "type": "RELATION", + "name": "workflow", + "label": "Workflow", + "description": "Event workflow", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "4e0075b3-5e21-4f0b-8cdf-ea9bc1b0c733", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "2a1f3b2c-78dd-489c-ae01-641c21b14f00", + "name": "workflow" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5dc29a2c-d985-48fc-bad4-6e3f8623f811", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "42773155-163e-4497-a83e-97470e42bf1c", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3f957c3c-5fc3-4f27-a53f-52ffa8f7ac7b", + "type": "RELATION", + "name": "company", + "label": "Company", + "description": "Event company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "e5ea55f4-cdf3-4044-bccf-a9815b20aaae", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "3f957c3c-5fc3-4f27-a53f-52ffa8f7ac7b", + "name": "company" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "c35bb58b-ecc5-40d5-b626-5d94b238ddbe", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "20113a41-0044-4411-b011-77256227a175", + "type": "RELATION", + "name": "task", + "label": "Task", + "description": "Event task", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "68ed5110-0145-4ac0-aeb3-b35d6f39bc48", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "20113a41-0044-4411-b011-77256227a175", + "name": "task" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "3499fd6b-c739-46d3-86c7-d85c8ca7ca90", + "nameSingular": "task", + "namePlural": "tasks" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "41f4aaf7-3ec7-4d61-a14f-7ed131ad214c", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fa1c6481-e4ca-4b34-ba3b-ec0e660d938c", + "type": "RAW_JSON", + "name": "properties", + "label": "Event details", + "description": "Json value for event details", + "icon": "IconListDetails", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "28b8d755-cea5-4afb-a2ed-1586bafb7f28", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "bffd3f11-6c56-4b91-93d6-501f1448f7b1", + "type": "TEXT", + "name": "linkedRecordCachedName", + "label": "Linked Record cached name", + "description": "Cached record name", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0852499d-e5d9-41f8-9c7a-df2c533ab47b", + "type": "TEXT", + "name": "name", + "label": "Event name", + "description": "Event name", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9c47883e-bec0-4429-8058-909dde20c752", + "type": "RELATION", + "name": "note", + "label": "Note", + "description": "Event note", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "8ee9cfc1-f3a6-4696-9ce9-f2229f01ea02", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "9c47883e-bec0-4429-8058-909dde20c752", + "name": "note" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "c15314ec-878b-4e84-93f7-8fa5af3e199f", + "nameSingular": "note", + "namePlural": "notes" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "4df9c68f-5c63-4c66-8db4-266683a4a6a6", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c2e48bc6-74cd-405e-b454-97cae0da4538", + "type": "UUID", + "name": "linkedObjectMetadataId", + "label": "Linked Object Metadata Id", + "description": "inked Object Metadata Id", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "20af2eab-14a8-49b2-bb32-643f8ef04481", + "type": "RELATION", + "name": "workflowRun", + "label": "Workflow Run", + "description": "Event workflow run", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "b5cfc9b5-3a8c-419a-8d6d-bd89dccf6210", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "20af2eab-14a8-49b2-bb32-643f8ef04481", + "name": "workflowRun" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "855240cc-3209-4511-8c6a-10f8ce253a2a", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "8690ed77-1b07-4e3f-b6c0-c8996f0283ca", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7f3e7215-ac56-40c1-ad9e-10efe7ebef0a", + "type": "DATE_TIME", + "name": "happensAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b4a2fd12-c8ab-42b4-adbc-668140bb4995", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1672db07-3304-40b9-a84f-e0598fdc03cf", + "type": "UUID", + "name": "workflowVersionId", + "label": "WorkflowVersion id (foreign key)", + "description": "Event workflow version id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "09a03a4e-1481-410a-aae1-ac856233459e", + "type": "UUID", + "name": "companyId", + "label": "Company id (foreign key)", + "description": "Event company id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "53628cfc-3b9c-43e2-b054-7d21eb25c7fe", + "type": "UUID", + "name": "taskId", + "label": "Task id (foreign key)", + "description": "Event task id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "effae0f7-3ec0-40ef-b436-6a242c3e6f17", + "type": "UUID", + "name": "workflowRunId", + "label": "Workflow Run id (foreign key)", + "description": "Event workflow run id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ec2cebf9-dda6-402a-8f45-8e9ee9bd24b1", + "type": "UUID", + "name": "rocketId", + "label": "Rocket ID (foreign key)", + "description": "Timeline Activity Rocket id foreign key", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.009Z", + "updatedAt": "2024-11-06T08:55:39.009Z", + "defaultValue": null, + "options": null, + "settings": { + "isForeignKey": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "012cfc22-009a-4625-a823-8adf7dd73763", + "type": "UUID", + "name": "opportunityId", + "label": "Opportunity id (foreign key)", + "description": "Event opportunity id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "15888fc0-c8ea-4a53-bb39-06b7fa63a2ad", + "type": "UUID", + "name": "personId", + "label": "Person id (foreign key)", + "description": "Event person id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ea47aae8-1dd4-4c41-a6f3-ffb6b9ac4826", + "type": "RELATION", + "name": "opportunity", + "label": "Opportunity", + "description": "Event opportunity", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "105074ec-243d-4ffb-b7f1-8f1f856bff4c", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "ea47aae8-1dd4-4c41-a6f3-ffb6b9ac4826", + "name": "opportunity" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "8af62534-2333-4d62-8b8f-30732205606d", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fcc362ff-ef42-4319-b06c-02085d9309a3", + "type": "RELATION", + "name": "rocket", + "label": "Rocket", + "description": "TimelineActivity Rocket", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.014Z", + "updatedAt": "2024-11-06T08:55:39.014Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "03ba37c1-b628-40b8-b471-00b0d6056a03", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "fcc362ff-ef42-4319-b06c-02085d9309a3", + "name": "rocket" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "d09f3e9f-9429-4e79-8803-29d5dd1690b3", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "474ca305-4369-4c2c-808f-90e619b93d35", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "99727ee2-11a3-4b4a-a0d3-7cd0ccc88887", + "type": "RELATION", + "name": "person", + "label": "Person", + "description": "Event person", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "b898690f-f996-4921-9cad-6a80139fb222", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "99727ee2-11a3-4b4a-a0d3-7cd0ccc88887", + "name": "person" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "961b2318-804a-41b2-8f1c-f95e0ddecdc7", + "name": "timelineActivities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "51ca72a1-9610-4fa0-bc16-feed9027b3bd", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "bc2c24d6-c5a3-4507-a765-959479d0027a", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8279c2b9-135f-42d1-9af6-7a10af9e4f0e", + "type": "UUID", + "name": "workflowId", + "label": "Workflow id (foreign key)", + "description": "Event workflow id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "13390ef4-688b-409a-ba3d-7c57644fdf23", + "type": "UUID", + "name": "noteId", + "label": "Note id (foreign key)", + "description": "Event note id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5da79e1e-e762-4bf2-ad62-9b2c32ee998b", + "type": "RELATION", + "name": "workflowVersion", + "label": "WorkflowVersion", + "description": "Event workflow version", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "e45268bb-5ec3-41b2-aff1-de4b9f5a1c72", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "5da79e1e-e762-4bf2-ad62-9b2c32ee998b", + "name": "workflowVersion" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "be8f69da-abf5-4812-aecd-10b1358a6e60", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "f4ece4f3-3b5a-47a9-8228-9cb09ea40c58", + "name": "timelineActivities" + } + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "8ee1d8e1-c35b-49d0-a8e9-f763b47ef0d4", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "viewGroup", + "namePlural": "viewGroups", + "labelSingular": "View Group", + "labelPlural": "View Groups", + "description": "(System) View Groups", + "icon": "IconTag", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "f8068b17-2511-47f6-ae7b-9a16092d7cfc", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "4f4b5455-ba8d-428c-9273-77d9003d86e2", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_3819ec73f42c743a0d3700ae8e4", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjk=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "99dba0cb-3b70-43a0-a85c-b0438d9a5ec5", + "type": "TEXT", + "name": "fieldValue", + "label": "Field Value", + "description": "Group by this field value", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1eb7d050-ed50-4276-8b24-198f5e35c896", + "type": "RELATION", + "name": "view", + "label": "View", + "description": "View Group related view", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "907b27b9-11d7-4ce6-a918-266bebdba551", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "8ee1d8e1-c35b-49d0-a8e9-f763b47ef0d4", + "nameSingular": "viewGroup", + "namePlural": "viewGroups" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "1eb7d050-ed50-4276-8b24-198f5e35c896", + "name": "view" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "59c24d15-6d80-4f09-a563-0a595f5c83a8", + "nameSingular": "view", + "namePlural": "views" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "5a5cacde-837f-446e-aeef-4932d10a3ba3", + "name": "viewGroups" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "bbc464a2-ed52-4821-bffb-7ec14653c1c8", + "type": "BOOLEAN", + "name": "isVisible", + "label": "Visible", + "description": "View Group visibility", + "icon": "IconEye", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "de00a7a9-9810-4dba-ac1b-3dd86e966886", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8137576d-7325-44e6-9e92-7cd948ac1635", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f8068b17-2511-47f6-ae7b-9a16092d7cfc", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "85f0b099-e86e-449a-ba20-08d60bdb443d", + "type": "UUID", + "name": "fieldMetadataId", + "label": "Field Metadata Id", + "description": "View Group target field", + "icon": "IconTag", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d04572c5-6843-474e-b15d-22fbdea6a26d", + "type": "NUMBER", + "name": "position", + "label": "Position", + "description": "View Field position", + "icon": "IconList", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": 0, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "bc6f1e77-7b2b-49b4-9e09-8ea2372dab09", + "type": "UUID", + "name": "viewId", + "label": "View id (foreign key)", + "description": "View Group related view id foreign key", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "55a9350e-5f22-4884-9eac-dfab8aa070bf", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "8c7ad041-d32e-40f6-87a2-ca8743d949be", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "auditLog", + "namePlural": "auditLogs", + "labelSingular": "Audit Log", + "labelPlural": "Audit Logs", + "description": "An audit log of actions performed in the system", + "icon": "IconTimelineEvent", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "3fce8a51-c64c-41ba-8caf-589afb911db9", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "bbc335db-dc5a-414b-8a9d-8187b81ec927", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_ca389a7ad7595bb15d733535998", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "569007c2-6a57-4cc8-a8bc-749ba0111f57", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "7f52518f-7c0f-4aeb-9e58-cc77db928faf" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "a2d1430d-5d2a-4e87-af40-e962b5fec56c", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "33fe5fd2-fe27-4105-83e8-d0b588fefb63" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEx" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7f52518f-7c0f-4aeb-9e58-cc77db928faf", + "type": "UUID", + "name": "workspaceMemberId", + "label": "Workspace Member id (foreign key)", + "description": "Event workspace member id foreign key", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "33fe5fd2-fe27-4105-83e8-d0b588fefb63", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2f4c6817-df56-4f2e-850d-80f73fa5cfda", + "type": "RELATION", + "name": "workspaceMember", + "label": "Workspace Member", + "description": "Event workspace member", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "c5e82746-c6cc-481b-8708-0343d0b5bd1f", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "8c7ad041-d32e-40f6-87a2-ca8743d949be", + "nameSingular": "auditLog", + "namePlural": "auditLogs" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "2f4c6817-df56-4f2e-850d-80f73fa5cfda", + "name": "workspaceMember" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "5d3764ad-451f-441d-bfd6-d2a846799ac0", + "name": "auditLogs" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "070faf8d-cfac-4334-9e4c-b81e5c82f563", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2d15dc15-2d26-4b53-ac53-334328e74f35", + "type": "TEXT", + "name": "objectMetadataId", + "label": "Object metadata id", + "description": "Object metadata id", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9f902f2e-e740-4051-8b2f-34e09cd491f6", + "type": "UUID", + "name": "recordId", + "label": "Record id", + "description": "Record id", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9dd2d535-7013-4046-8340-9e59983ce54c", + "type": "TEXT", + "name": "objectName", + "label": "Object name", + "description": "Object name", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4ee2c025-909f-469d-9870-f3488f04f755", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3fce8a51-c64c-41ba-8caf-589afb911db9", + "type": "TEXT", + "name": "name", + "label": "Event name", + "description": "Event name/type", + "icon": "IconAbc", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a1da04cf-a58f-43fa-a199-562ca9837dff", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3508f6b2-e22e-4267-950e-0cc42721bd46", + "type": "RAW_JSON", + "name": "properties", + "label": "Event details", + "description": "Json value for event details", + "icon": "IconListDetails", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3a29bbcb-d6d1-4de1-846a-0e41821942fc", + "type": "RAW_JSON", + "name": "context", + "label": "Event context", + "description": "Json object to provide context (user, device, workspace, etc.)", + "icon": "IconListDetails", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "opportunity", + "namePlural": "opportunities", + "labelSingular": "Opportunity", + "labelPlural": "Opportunities", + "description": "An opportunity", + "icon": "IconTargetArrow", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "59a49e10-308c-4639-b1a2-c36346a17768", + "imageIdentifierFieldMetadataId": null, + "shortcut": "O", + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "446ce0a3-fd19-446b-a699-72edbeb541eb", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_4f469d3a7ee08aefdc099836364", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "4d0cc6e3-2ac0-4cde-8cd1-859513d65d4a", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "f07df0f7-0724-42e4-942b-7fd9841fa865" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "f429f2cf-4f1c-4f6a-a88d-c158db29d357", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_82cdf247553f960093baa7c6635", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "f2cef3e5-0c9e-47a0-acbe-6e91e917b608", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "3bc948c3-604c-4a15-819f-00f5e4ea830c" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "2443fdc4-030d-41a4-83a9-979949c81837", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "746048a7-80ec-44c5-8792-2c852b33dfc2" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "88430c38-f06e-4af1-aadf-bb75a3599a51", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_425ac6c73ecb993cf9cbc2c2b00", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "f6845ea1-2804-4403-ad7f-a142738ad1e0", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "746048a7-80ec-44c5-8792-2c852b33dfc2" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "a529c40c-5630-4379-a931-cc68c3b996c0", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_9f96d65260c4676faac27cb6bf3", + "indexWhereClause": null, + "indexType": "GIN", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "4b49f502-e589-4f52-8251-14b6a52fbb19", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "b94fa814-fa72-43ea-9ed0-2251d94ca545" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjE5" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "67a9efbf-7500-46cd-bfc9-73050b749a33", + "type": "ACTOR", + "name": "createdBy", + "label": "Created by", + "description": "The creator of the record", + "icon": "IconCreativeCommonsSa", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "name": "''", + "source": "'MANUAL'" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c25dc5ab-aa89-46ba-816f-6db13c01e242", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "aa70dc09-2639-414a-b133-8ab23bf208db", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "59a49e10-308c-4639-b1a2-c36346a17768", + "type": "TEXT", + "name": "name", + "label": "Name", + "description": "The opportunity name", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f07df0f7-0724-42e4-942b-7fd9841fa865", + "type": "SELECT", + "name": "stage", + "label": "Stage", + "description": "Opportunity stage", + "icon": "IconProgressCheck", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'NEW'", + "options": [ + { + "id": "fe7d4328-3a86-4dc4-91a4-06eb185ba06e", + "color": "red", + "label": "New", + "value": "NEW", + "position": 0 + }, + { + "id": "d913d3ee-f559-485e-b3b0-a251de42cac8", + "color": "purple", + "label": "Screening", + "value": "SCREENING", + "position": 1 + }, + { + "id": "6b45bb5d-ff47-4248-b9dc-e08e43e3992f", + "color": "sky", + "label": "Meeting", + "value": "MEETING", + "position": 2 + }, + { + "id": "e956c14d-8959-485a-9ed8-337166ba8b25", + "color": "turquoise", + "label": "Proposal", + "value": "PROPOSAL", + "position": 3 + }, + { + "id": "3dd861b9-7591-4c21-a501-dee55103039b", + "color": "yellow", + "label": "Customer", + "value": "CUSTOMER", + "position": 4 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "682b2961-ce2a-42af-bafe-eb33589eef0b", + "type": "RELATION", + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the opportunity", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "da86e9d4-0478-4dfd-80c9-af762f3ea4ef", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "682b2961-ce2a-42af-bafe-eb33589eef0b", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "07b73250-4dd8-48aa-a0d9-acbc0e6159e7", + "name": "opportunity" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "926c81d6-4a9c-41c9-8eb8-27070ee8ffc2", + "type": "RELATION", + "name": "attachments", + "label": "Attachments", + "description": "Attachments linked to the opportunity", + "icon": "IconFileImport", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "62e16e78-1972-4195-b860-434239f9f7d8", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "926c81d6-4a9c-41c9-8eb8-27070ee8ffc2", + "name": "attachments" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "4e7b7cc8-c222-40a7-8909-839193963da1", + "name": "opportunity" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "474c83dd-fb08-44da-99fe-a00ca82129ab", + "type": "RELATION", + "name": "noteTargets", + "label": "Notes", + "description": "Notes tied to the opportunity", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "53ad266e-2b93-4ae4-b4fb-fd96aa4a193d", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "474c83dd-fb08-44da-99fe-a00ca82129ab", + "name": "noteTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "ff17ccda-93cb-43ce-8def-4315fef9a01a", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "42a2a5cd-c36b-4dd5-8f13-8f022a4e9470", + "name": "opportunity" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0629c710-979b-4dd3-a214-1efaa9db4be9", + "type": "UUID", + "name": "companyId", + "label": "Company id (foreign key)", + "description": "Opportunity company id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "93ee9e29-f1ab-44bf-a1ae-4637630d49fe", + "type": "RELATION", + "name": "company", + "label": "Company", + "description": "Opportunity company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "2980cde0-a949-48b4-b70e-72bb2df38693", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "93ee9e29-f1ab-44bf-a1ae-4637630d49fe", + "name": "company" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "b4aaa575-7b9f-411c-a609-f8f89a4f690d", + "name": "opportunities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6bd68065-ec31-47b0-9641-1c9eb7ccd006", + "type": "RELATION", + "name": "taskTargets", + "label": "Tasks", + "description": "Tasks tied to the opportunity", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "19c29332-cca2-4632-a2e7-f616353ad142", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "6bd68065-ec31-47b0-9641-1c9eb7ccd006", + "name": "taskTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "472aafb6-7f56-4984-be83-5520beab4b32", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "95c1e3de-ec86-49b1-93fd-1b19da46d32a", + "name": "opportunity" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "22d24041-2cde-419d-b205-ee80efd7d3e7", + "type": "POSITION", + "name": "position", + "label": "Position", + "description": "Opportunity record position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a26ed406-5be7-4e87-b99a-1206f27130d5", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "acc1709d-4843-4095-8881-77f13b88683a", + "type": "CURRENCY", + "name": "amount", + "label": "Amount", + "description": "Opportunity amount", + "icon": "IconCurrencyDollar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "amountMicros": null, + "currencyCode": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3bc948c3-604c-4a15-819f-00f5e4ea830c", + "type": "UUID", + "name": "pointOfContactId", + "label": "Point of Contact id (foreign key)", + "description": "Opportunity point of contact id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "746048a7-80ec-44c5-8792-2c852b33dfc2", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "633b804e-91d6-42ef-be66-d4e5bb3e0ce2", + "type": "RELATION", + "name": "pointOfContact", + "label": "Point of Contact", + "description": "Opportunity point of contact", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "5dc9ea5d-616f-48d9-8608-fcfa7e39767e", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "633b804e-91d6-42ef-be66-d4e5bb3e0ce2", + "name": "pointOfContact" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "6e7db279-e742-4d69-aeec-a7702409cb10", + "name": "pointOfContactForOpportunities" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8af62534-2333-4d62-8b8f-30732205606d", + "type": "RELATION", + "name": "timelineActivities", + "label": "Timeline Activities", + "description": "Timeline Activities linked to the opportunity.", + "icon": "IconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "105074ec-243d-4ffb-b7f1-8f1f856bff4c", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "8af62534-2333-4d62-8b8f-30732205606d", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "ea47aae8-1dd4-4c41-a6f3-ffb6b9ac4826", + "name": "opportunity" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f827a090-b838-48db-b560-a47f37c9ef7f", + "type": "DATE_TIME", + "name": "closeDate", + "label": "Close date", + "description": "Opportunity close date", + "icon": "IconCalendarEvent", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b94fa814-fa72-43ea-9ed0-2251d94ca545", + "type": "TS_VECTOR", + "name": "searchVector", + "label": "Search vector", + "description": "Field used for full-text search", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "872fd058-4b43-4cef-87b6-3ba6fb97939a", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "connectedAccount", + "namePlural": "connectedAccounts", + "labelSingular": "Connected Account", + "labelPlural": "Connected Accounts", + "description": "A connected account", + "icon": "IconAt", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "08d6d288-3d0b-4df3-8597-9fd3946ef49b", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "1e8815d5-7a43-4f0e-883e-68039b629ba2", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_7d1b454b2a538273bdb947e848f", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "ba58ff30-ea84-4c39-8326-9278d1dcc869", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "43e15230-4cca-4052-abcc-9a9b8ac60830" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "a5d4877b-5428-4d79-816f-bc2defe3485d", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "7e1c5069-09af-43ad-977f-abcfe75cea8b" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjE1" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "43e15230-4cca-4052-abcc-9a9b8ac60830", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ce590ddc-6182-4c13-92eb-462a48173dd9", + "type": "TEXT", + "name": "lastSyncHistoryId", + "label": "Last sync history ID", + "description": "Last sync history ID", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9ed4a5c5-26f8-490b-ac5c-3d5cca3fc829", + "type": "DATE_TIME", + "name": "authFailedAt", + "label": "Auth failed at", + "description": "Auth failed at", + "icon": "IconX", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a78b68cd-feb3-45ff-ba69-ef37761e81a0", + "type": "RELATION", + "name": "messageChannels", + "label": "Message Channels", + "description": "Message Channels", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "8735a9a0-f29c-4646-b59d-e8ab3dcdfe8c", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "872fd058-4b43-4cef-87b6-3ba6fb97939a", + "nameSingular": "connectedAccount", + "namePlural": "connectedAccounts" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "a78b68cd-feb3-45ff-ba69-ef37761e81a0", + "name": "messageChannels" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "07bddc45-d23a-496d-8f13-acc77a0b165c", + "nameSingular": "messageChannel", + "namePlural": "messageChannels" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "878406ca-e7f7-4204-bb9a-84bb2a763394", + "name": "connectedAccount" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3fc03a62-e1f3-4d84-bcd4-64055e2d5734", + "type": "TEXT", + "name": "accessToken", + "label": "Access Token", + "description": "Messaging provider access token", + "icon": "IconKey", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "bdf693d1-4c58-4e0a-ae19-807eb82c11b0", + "type": "RELATION", + "name": "calendarChannels", + "label": "Calendar Channels", + "description": "Calendar Channels", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "957bf3bf-6c92-4934-a21b-689e91df440f", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "872fd058-4b43-4cef-87b6-3ba6fb97939a", + "nameSingular": "connectedAccount", + "namePlural": "connectedAccounts" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "bdf693d1-4c58-4e0a-ae19-807eb82c11b0", + "name": "calendarChannels" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6f7b5e12-bf54-4ac5-9f16-adff8404b736", + "nameSingular": "calendarChannel", + "namePlural": "calendarChannels" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "8526d2da-4a05-48e7-ad76-67154d97d337", + "name": "connectedAccount" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1b6a8bac-bdf1-47b0-951b-0be655b772bc", + "type": "RELATION", + "name": "accountOwner", + "label": "Account Owner", + "description": "Account Owner", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "3f66e6a1-8d84-4431-b78b-72422b5985a4", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "872fd058-4b43-4cef-87b6-3ba6fb97939a", + "nameSingular": "connectedAccount", + "namePlural": "connectedAccounts" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "1b6a8bac-bdf1-47b0-951b-0be655b772bc", + "name": "accountOwner" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "9236eb6d-ef54-431a-aca7-485fc9d93afd", + "name": "connectedAccounts" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a00effe6-4c3e-4b7d-bcfb-61cd188bc2ec", + "type": "ARRAY", + "name": "scopes", + "label": "Scopes", + "description": "Scopes", + "icon": "IconSettings", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "05eb4611-5158-4b96-99a6-e1d5b3b625eb", + "type": "TEXT", + "name": "handleAliases", + "label": "Handle Aliases", + "description": "Handle Aliases", + "icon": "IconMail", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "534a7736-a85b-47af-adc8-51ae664d5450", + "type": "TEXT", + "name": "refreshToken", + "label": "Refresh Token", + "description": "Messaging provider refresh token", + "icon": "IconKey", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b962cde1-22d2-4c51-bcb5-710b67921948", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "08d6d288-3d0b-4df3-8597-9fd3946ef49b", + "type": "TEXT", + "name": "handle", + "label": "handle", + "description": "The account handle (email, username, phone number, etc.)", + "icon": "IconMail", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "54d9bdb7-5d2b-4efe-90d3-79ce927a1c53", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7e1c5069-09af-43ad-977f-abcfe75cea8b", + "type": "UUID", + "name": "accountOwnerId", + "label": "Account Owner id (foreign key)", + "description": "Account Owner id foreign key", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0ce2ca33-f784-4544-b974-850232e14e66", + "type": "TEXT", + "name": "provider", + "label": "provider", + "description": "The account provider", + "icon": "IconSettings", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "12b44a0d-1c8d-4f0c-ae93-23259662c58c", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "855240cc-3209-4511-8c6a-10f8ce253a2a", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns", + "labelSingular": "Workflow Run", + "labelPlural": "Workflow Runs", + "description": "A workflow run", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "182fda22-b850-4177-886f-c37d98fc8fee", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "8798b3dc-4c1f-405a-9340-c96d43235cdf", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_faa5772594c4ce15b9305919f2f", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "5dbce630-e32f-4bf4-ac1b-ea9e2cfe6b23", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "dc9bf0e9-5adc-4f89-ad48-56ffef462e5e" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "5831c6bb-73c8-4b76-abd4-da2fbf673a56", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "b4bfa5b4-f84b-4b7f-98e2-61f6251780ac" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "c21569e6-5a06-46a3-87e5-9030309db93e", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_eee970874f46ff99eefc0015001", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "d9adc369-b484-4968-820a-cd7a098faecb", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "dc9bf0e9-5adc-4f89-ad48-56ffef462e5e" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjE2" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7fd2309c-afc3-4ffb-8092-1db4e1c84744", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b4bfa5b4-f84b-4b7f-98e2-61f6251780ac", + "type": "UUID", + "name": "workflowVersionId", + "label": "Workflow version id (foreign key)", + "description": "Workflow version linked to the run. id foreign key", + "icon": "IconVersions", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1315aaef-2dea-4c6e-89e8-4cb45c53b135", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "db6ef488-fab3-4cb9-bee1-6aa269ea5b7d", + "type": "DATE_TIME", + "name": "startedAt", + "label": "Workflow run started at", + "description": "Workflow run started at", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "99a220fe-50cf-4ffe-a8c7-17c0b018aff9", + "type": "RAW_JSON", + "name": "output", + "label": "Output", + "description": "Json object to provide output of the workflow run", + "icon": "IconText", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "35af201e-5d1b-43a2-b34a-58ddb5441d96", + "type": "POSITION", + "name": "position", + "label": "Position", + "description": "Workflow run position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "05290d0e-a49f-4a8e-a162-ecf9aca61911", + "type": "SELECT", + "name": "status", + "label": "Workflow run status", + "description": "Workflow run status", + "icon": "IconStatusChange", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'NOT_STARTED'", + "options": [ + { + "id": "c7ff1ce0-2e47-44de-9761-867c25f68a90", + "color": "grey", + "label": "Not started", + "value": "NOT_STARTED", + "position": 0 + }, + { + "id": "698860d8-9537-42d2-9a78-e8dedc41abe6", + "color": "yellow", + "label": "Running", + "value": "RUNNING", + "position": 1 + }, + { + "id": "1aa1d704-b2c5-41f1-a49d-27f2c93b7f5f", + "color": "green", + "label": "Completed", + "value": "COMPLETED", + "position": 2 + }, + { + "id": "9101b24b-9a92-4170-aaf8-e5302a14eae6", + "color": "red", + "label": "Failed", + "value": "FAILED", + "position": 3 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "182fda22-b850-4177-886f-c37d98fc8fee", + "type": "TEXT", + "name": "name", + "label": "Name", + "description": "Name of the workflow run", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1f0f2755-c8f1-438a-91da-5bb25a338e1b", + "type": "RELATION", + "name": "workflow", + "label": "Workflow", + "description": "Workflow linked to the run.", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "e07a8572-efe0-45b2-8613-81fc37764c8b", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "855240cc-3209-4511-8c6a-10f8ce253a2a", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "1f0f2755-c8f1-438a-91da-5bb25a338e1b", + "name": "workflow" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5dc29a2c-d985-48fc-bad4-6e3f8623f811", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "38c8c5a3-ebad-4df4-aed3-236df69a1df0", + "name": "runs" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dc9bf0e9-5adc-4f89-ad48-56ffef462e5e", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "710930df-b591-411b-9929-c05e98ad43c6", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1d58650a-c691-4bf1-9d0c-d5b86117ec77", + "type": "RELATION", + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the workflow run", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "4db3ebf8-57c2-4754-8dbf-211e8aa9b158", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "855240cc-3209-4511-8c6a-10f8ce253a2a", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "1d58650a-c691-4bf1-9d0c-d5b86117ec77", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "82000b5c-1390-4cfc-a836-74bdf98ec6f2", + "name": "workflowRun" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7ea0fcca-6134-4e1c-9fef-f84db0ef8190", + "type": "ACTOR", + "name": "createdBy", + "label": "Created by", + "description": "The creator of the record", + "icon": "IconCreativeCommonsSa", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "name": "''", + "source": "'MANUAL'" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8690ed77-1b07-4e3f-b6c0-c8996f0283ca", + "type": "RELATION", + "name": "timelineActivities", + "label": "Timeline Activities", + "description": "Timeline activities linked to the run", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "b5cfc9b5-3a8c-419a-8d6d-bd89dccf6210", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "855240cc-3209-4511-8c6a-10f8ce253a2a", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "8690ed77-1b07-4e3f-b6c0-c8996f0283ca", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "20af2eab-14a8-49b2-bb32-643f8ef04481", + "name": "workflowRun" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6eb33fdd-764b-4d37-83a2-bd1df315b686", + "type": "DATE_TIME", + "name": "endedAt", + "label": "Workflow run ended at", + "description": "Workflow run ended at", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "767fbad6-ff8c-4e97-b61e-b294768ba2b6", + "type": "RELATION", + "name": "workflowVersion", + "label": "Workflow version", + "description": "Workflow version linked to the run.", + "icon": "IconVersions", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "19b0458a-af41-4519-b44b-01c91f0b63d5", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "855240cc-3209-4511-8c6a-10f8ce253a2a", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "767fbad6-ff8c-4e97-b61e-b294768ba2b6", + "name": "workflowVersion" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "be8f69da-abf5-4812-aecd-10b1358a6e60", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "adb232d2-7a84-4fd4-b338-5c0a33adfa61", + "name": "runs" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "be935eb1-b7d8-458c-a426-4e3157d5f93e", + "type": "UUID", + "name": "workflowId", + "label": "Workflow id (foreign key)", + "description": "Workflow linked to the run. id foreign key", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "6f7b5e12-bf54-4ac5-9f16-adff8404b736", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "calendarChannel", + "namePlural": "calendarChannels", + "labelSingular": "Calendar Channel", + "labelPlural": "Calendar Channels", + "description": "Calendar Channels", + "icon": "IconCalendar", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "2de55457-c07b-4a85-bf77-bd24d2dafd38", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "fcb8f61c-4c18-4b1b-800e-bbe74859c1c9", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_3465c79448bacd2f1268e5f6310", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "c6e2733e-4dac-4665-bf86-e1fd6334157a", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "73649056-1d05-45c1-9e3b-147145501f39" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "9cf3db4b-1739-4c7f-9c99-6df1d697b2ad", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "0edf41bd-bc04-428e-8043-3faf8e1b5157" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjE3" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d94274e4-93e3-405c-8fdd-5b6e12d35b24", + "type": "SELECT", + "name": "visibility", + "label": "Visibility", + "description": "Visibility", + "icon": "IconEyeglass", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'SHARE_EVERYTHING'", + "options": [ + { + "id": "ed95fe64-cbe1-4b36-8f84-a2a19206b28f", + "color": "green", + "label": "Metadata", + "value": "METADATA", + "position": 0 + }, + { + "id": "04a66b09-7fb0-4561-9f2a-7b731cd68428", + "color": "orange", + "label": "Share Everything", + "value": "SHARE_EVERYTHING", + "position": 1 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4082627a-a8a3-4482-975e-d6f0ee16f367", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "55b1b2c2-18f6-4d99-8e06-5921e96c85aa", + "type": "TEXT", + "name": "syncCursor", + "label": "Sync Cursor", + "description": "Sync Cursor. Used for syncing events from the calendar provider", + "icon": "IconReload", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "80e9f799-17fe-49d6-9df7-f37474df8d22", + "type": "DATE_TIME", + "name": "syncedAt", + "label": "Last sync date", + "description": "Last sync date", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "64696a66-7e92-4f27-80f7-fbb40b82a09b", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8526d2da-4a05-48e7-ad76-67154d97d337", + "type": "RELATION", + "name": "connectedAccount", + "label": "Connected Account", + "description": "Connected Account", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "957bf3bf-6c92-4934-a21b-689e91df440f", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "6f7b5e12-bf54-4ac5-9f16-adff8404b736", + "nameSingular": "calendarChannel", + "namePlural": "calendarChannels" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "8526d2da-4a05-48e7-ad76-67154d97d337", + "name": "connectedAccount" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "872fd058-4b43-4cef-87b6-3ba6fb97939a", + "nameSingular": "connectedAccount", + "namePlural": "connectedAccounts" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "bdf693d1-4c58-4e0a-ae19-807eb82c11b0", + "name": "calendarChannels" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dca5dc56-54b1-4bdc-8a9c-043b0030fea6", + "type": "RELATION", + "name": "calendarChannelEventAssociations", + "label": "Calendar Channel Event Associations", + "description": "Calendar Channel Event Associations", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "249e77d7-9b0b-4fca-9a82-1c0767780797", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "6f7b5e12-bf54-4ac5-9f16-adff8404b736", + "nameSingular": "calendarChannel", + "namePlural": "calendarChannels" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "dca5dc56-54b1-4bdc-8a9c-043b0030fea6", + "name": "calendarChannelEventAssociations" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "032fa361-efca-42ad-b3c9-2a061bdfc857", + "nameSingular": "calendarChannelEventAssociation", + "namePlural": "calendarChannelEventAssociations" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "90c562fb-4c0a-423a-8ae3-2bdf713007be", + "name": "calendarChannel" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "aea86195-03f2-4b51-91f7-7cb25b20d5bd", + "type": "BOOLEAN", + "name": "isSyncEnabled", + "label": "Is Sync Enabled", + "description": "Is Sync Enabled", + "icon": "IconRefresh", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0edf41bd-bc04-428e-8043-3faf8e1b5157", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2de55457-c07b-4a85-bf77-bd24d2dafd38", + "type": "TEXT", + "name": "handle", + "label": "Handle", + "description": "Handle", + "icon": "IconAt", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e75763ba-5a9b-49e5-962c-aee9ab77a9de", + "type": "BOOLEAN", + "name": "isContactAutoCreationEnabled", + "label": "Is Contact Auto Creation Enabled", + "description": "Is Contact Auto Creation Enabled", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "73649056-1d05-45c1-9e3b-147145501f39", + "type": "UUID", + "name": "connectedAccountId", + "label": "Connected Account id (foreign key)", + "description": "Connected Account id foreign key", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ad6ad180-0f80-4442-af0d-f61c6a400287", + "type": "SELECT", + "name": "contactAutoCreationPolicy", + "label": "Contact auto creation policy", + "description": "Automatically create records for people you participated with in an event.", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'AS_PARTICIPANT_AND_ORGANIZER'", + "options": [ + { + "id": "70661128-ab08-4413-836d-8548b0153d31", + "color": "green", + "label": "As Participant and Organizer", + "value": "AS_PARTICIPANT_AND_ORGANIZER", + "position": 0 + }, + { + "id": "ce7138a8-3f2e-49ed-8092-d992a458a007", + "color": "orange", + "label": "As Participant", + "value": "AS_PARTICIPANT", + "position": 1 + }, + { + "id": "9abf7873-cc27-44ea-8c8f-a1d0a5fdfd2d", + "color": "blue", + "label": "As Organizer", + "value": "AS_ORGANIZER", + "position": 2 + }, + { + "id": "c6cc8a97-dbe0-4946-ad4f-f5661222a8f0", + "color": "red", + "label": "None", + "value": "NONE", + "position": 3 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4dfb12e8-ca50-467e-9767-6fa177dca81b", + "type": "DATE_TIME", + "name": "syncStageStartedAt", + "label": "Sync stage started at", + "description": "Sync stage started at", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f014c5c8-5022-4d0d-a125-072bd89c23ba", + "type": "NUMBER", + "name": "throttleFailureCount", + "label": "Throttle Failure Count", + "description": "Throttle Failure Count", + "icon": "IconX", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": 0, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b81c59bc-76b0-4445-8939-b2463e834ce1", + "type": "SELECT", + "name": "syncStage", + "label": "Sync stage", + "description": "Sync stage", + "icon": "IconStatusChange", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'FULL_CALENDAR_EVENT_LIST_FETCH_PENDING'", + "options": [ + { + "id": "b173cf7d-dc30-4c75-a2e0-ee920b5d4a8c", + "color": "blue", + "label": "Full calendar event list fetch pending", + "value": "FULL_CALENDAR_EVENT_LIST_FETCH_PENDING", + "position": 0 + }, + { + "id": "7712885e-2bc8-4ff0-a84c-dffa894079eb", + "color": "blue", + "label": "Partial calendar event list fetch pending", + "value": "PARTIAL_CALENDAR_EVENT_LIST_FETCH_PENDING", + "position": 1 + }, + { + "id": "014568dd-75d5-4b90-a1c1-1f25ddde65af", + "color": "orange", + "label": "Calendar event list fetch ongoing", + "value": "CALENDAR_EVENT_LIST_FETCH_ONGOING", + "position": 2 + }, + { + "id": "12928418-2719-440f-ab21-b1ebc4946109", + "color": "blue", + "label": "Calendar events import pending", + "value": "CALENDAR_EVENTS_IMPORT_PENDING", + "position": 3 + }, + { + "id": "9ade432d-dc00-4648-b98f-6f129187f3c7", + "color": "orange", + "label": "Calendar events import ongoing", + "value": "CALENDAR_EVENTS_IMPORT_ONGOING", + "position": 4 + }, + { + "id": "7bdbe72e-5ece-4012-88c8-e3b4931104eb", + "color": "red", + "label": "Failed", + "value": "FAILED", + "position": 5 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fbf9d064-448b-4859-a4f3-68688448fb08", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "205da990-cbbd-4e83-b99c-5665d9a330fe", + "type": "SELECT", + "name": "syncStatus", + "label": "Sync status", + "description": "Sync status", + "icon": "IconStatusChange", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": [ + { + "id": "acf30776-003d-4ee3-84d0-6f80d9ec296b", + "color": "yellow", + "label": "Ongoing", + "value": "ONGOING", + "position": 1 + }, + { + "id": "4760ff3c-72a4-4f23-b5ab-f36af88c6191", + "color": "blue", + "label": "Not Synced", + "value": "NOT_SYNCED", + "position": 2 + }, + { + "id": "9ed789ce-01d2-42a2-a8eb-f74a4f1b9288", + "color": "green", + "label": "Active", + "value": "ACTIVE", + "position": 3 + }, + { + "id": "db01cb8d-2a4d-4f3f-a50e-9280848a9a62", + "color": "red", + "label": "Failed Insufficient Permissions", + "value": "FAILED_INSUFFICIENT_PERMISSIONS", + "position": 4 + }, + { + "id": "092e9dee-f1d4-4163-b21f-9667663b8a5a", + "color": "red", + "label": "Failed Unknown", + "value": "FAILED_UNKNOWN", + "position": 5 + } + ], + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers", + "labelSingular": "Workspace Member", + "labelPlural": "Workspace Members", + "description": "A workspace member", + "icon": "IconUserCircle", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "b3a32b09-d56b-47c8-81b9-f29ba634634f", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "83e45eeb-bb4a-4271-90a5-da982ae274c1", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_e47451872f70c8f187a6b460ac7", + "indexWhereClause": null, + "indexType": "GIN", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "92c6b23a-770d-4ac3-ad34-a129043f8a67", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "2c3fa280-6c4b-428d-afc9-e65917f70dc9" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjIz" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5f41e23c-4279-4ef1-8e72-a5f50fa2ff85", + "type": "RELATION", + "name": "accountOwnerForCompanies", + "label": "Account Owner For Companies", + "description": "Account owner for companies", + "icon": "IconBriefcase", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "7a03f8ea-bd23-4d15-8793-bbf1cd67de19", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "5f41e23c-4279-4ef1-8e72-a5f50fa2ff85", + "name": "accountOwnerForCompanies" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "03def62a-0989-41ba-af0a-d4dcc420ef55", + "name": "accountOwner" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "17c7bfba-fde8-4e2c-b2f6-ed51230a5c0d", + "type": "RELATION", + "name": "messageParticipants", + "label": "Message Participants", + "description": "Message Participants", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "39b8aae7-98c3-46a4-a425-54ff34e420fb", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "17c7bfba-fde8-4e2c-b2f6-ed51230a5c0d", + "name": "messageParticipants" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5c073dd8-4a3c-4618-b01a-31829217f4e1", + "nameSingular": "messageParticipant", + "namePlural": "messageParticipants" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "8a128690-eb36-46e3-9888-ffe5d84f7691", + "name": "workspaceMember" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5d3764ad-451f-441d-bfd6-d2a846799ac0", + "type": "RELATION", + "name": "auditLogs", + "label": "Audit Logs", + "description": "Audit Logs linked to the workspace member", + "icon": "IconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "c5e82746-c6cc-481b-8708-0343d0b5bd1f", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "5d3764ad-451f-441d-bfd6-d2a846799ac0", + "name": "auditLogs" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "8c7ad041-d32e-40f6-87a2-ca8743d949be", + "nameSingular": "auditLog", + "namePlural": "auditLogs" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "2f4c6817-df56-4f2e-850d-80f73fa5cfda", + "name": "workspaceMember" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "34123e4b-9211-4ef6-b87a-a84da69cd099", + "type": "TEXT", + "name": "locale", + "label": "Language", + "description": "Preferred language", + "icon": "IconLanguage", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'en'", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c8026fa4-c9e0-4135-bdbe-2b8663fd7558", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9236eb6d-ef54-431a-aca7-485fc9d93afd", + "type": "RELATION", + "name": "connectedAccounts", + "label": "Connected accounts", + "description": "Connected accounts", + "icon": "IconAt", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "3f66e6a1-8d84-4431-b78b-72422b5985a4", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "9236eb6d-ef54-431a-aca7-485fc9d93afd", + "name": "connectedAccounts" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "872fd058-4b43-4cef-87b6-3ba6fb97939a", + "nameSingular": "connectedAccount", + "namePlural": "connectedAccounts" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "1b6a8bac-bdf1-47b0-951b-0be655b772bc", + "name": "accountOwner" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b3a32b09-d56b-47c8-81b9-f29ba634634f", + "type": "FULL_NAME", + "name": "name", + "label": "Name", + "description": "Workspace member name", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "lastName": "''", + "firstName": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9e5ee164-5edb-4e24-92f4-ba02c0876c54", + "type": "SELECT", + "name": "timeFormat", + "label": "Time format", + "description": "User's preferred time format", + "icon": "IconClock2", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'SYSTEM'", + "options": [ + { + "id": "765515c0-235e-431a-b061-f989a204c451", + "color": "sky", + "label": "System", + "value": "SYSTEM", + "position": 0 + }, + { + "id": "25ff81a4-37a0-45b5-8139-bb7e7bfab528", + "color": "red", + "label": "24HRS", + "value": "HOUR_24", + "position": 1 + }, + { + "id": "9b6cec7d-459e-4393-b105-9c617b42f307", + "color": "purple", + "label": "12HRS", + "value": "HOUR_12", + "position": 2 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6669adb7-3f89-4cd7-af6e-1e98a7395dff", + "type": "TEXT", + "name": "colorScheme", + "label": "Color Scheme", + "description": "Preferred color scheme", + "icon": "IconColorSwatch", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'Light'", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "27373c5d-e69e-40cb-b3b7-24885ba4aeec", + "type": "TEXT", + "name": "userEmail", + "label": "User Email", + "description": "Related user email address", + "icon": "IconMail", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ed2d2962-7ca7-4558-9e86-4e29b9e0eb71", + "type": "UUID", + "name": "userId", + "label": "User Id", + "description": "Associated User Id", + "icon": "IconCircleUsers", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3a371e19-2016-462c-9767-1d13d52994b4", + "type": "TEXT", + "name": "avatarUrl", + "label": "Avatar Url", + "description": "Workspace member avatar", + "icon": "IconFileUpload", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9dfda0f6-fd79-42d9-bfd2-3eefd36d5d62", + "type": "SELECT", + "name": "dateFormat", + "label": "Date format", + "description": "User's preferred date format", + "icon": "IconCalendarEvent", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'SYSTEM'", + "options": [ + { + "id": "b462742d-84b3-4ff5-a641-ca00c7f153f4", + "color": "turquoise", + "label": "System", + "value": "SYSTEM", + "position": 0 + }, + { + "id": "8f4c82a0-3a95-408d-9716-1953c9016477", + "color": "red", + "label": "Month First", + "value": "MONTH_FIRST", + "position": 1 + }, + { + "id": "bcd50071-7187-4f9b-80ea-b895140f769c", + "color": "purple", + "label": "Day First", + "value": "DAY_FIRST", + "position": 2 + }, + { + "id": "ff55603e-ca70-4dd7-90d3-c2db63118974", + "color": "sky", + "label": "Year First", + "value": "YEAR_FIRST", + "position": 3 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2c3fa280-6c4b-428d-afc9-e65917f70dc9", + "type": "TS_VECTOR", + "name": "searchVector", + "label": "Search vector", + "description": "Field used for full-text search", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "17dd4163-f18e-4c6c-9240-7befe8b558a8", + "type": "RELATION", + "name": "assignedTasks", + "label": "Assigned tasks", + "description": "Tasks assigned to the workspace member", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "78c3b18d-5e04-4235-adee-4c4fcaf4467f", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "17dd4163-f18e-4c6c-9240-7befe8b558a8", + "name": "assignedTasks" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "3499fd6b-c739-46d3-86c7-d85c8ca7ca90", + "nameSingular": "task", + "namePlural": "tasks" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "de98f752-fcc9-440c-a531-32f0b589b151", + "name": "assignee" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c730c43f-65d1-43d3-95da-494bc8079581", + "type": "RELATION", + "name": "calendarEventParticipants", + "label": "Calendar Event Participants", + "description": "Calendar Event Participants", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "0fbb09c6-02db-4481-9ba7-e9f58a4dfbff", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "c730c43f-65d1-43d3-95da-494bc8079581", + "name": "calendarEventParticipants" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5764965b-6481-42ac-ba6f-f371fc045e48", + "nameSingular": "calendarEventParticipant", + "namePlural": "calendarEventParticipants" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "372f6ed2-df97-4de8-a10f-07c5dfcef35d", + "name": "workspaceMember" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c407f77f-b4d3-4a3e-a153-9671c7e88473", + "type": "RELATION", + "name": "blocklist", + "label": "Blocklist", + "description": "Blocklisted handles", + "icon": "IconForbid2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "ef5e2f4c-c4df-48bc-8b29-166e72bcf87c", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "c407f77f-b4d3-4a3e-a153-9671c7e88473", + "name": "blocklist" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "d87e6d5d-79d9-4cb6-8fa5-fd2de1c1bc5a", + "nameSingular": "blocklist", + "namePlural": "blocklists" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "3a2f522a-c324-4f25-b0b2-d52d133ad9e8", + "name": "workspaceMember" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "36b1ec3d-5594-49e6-a086-464dd9f8103e", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0957bbcb-6b05-4a85-9fa9-4dd9eb5e0515", + "type": "RELATION", + "name": "authoredAttachments", + "label": "Authored attachments", + "description": "Attachments created by the workspace member", + "icon": "IconFileImport", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "cc2f9ddc-40f6-4923-ac09-0772b21c1a59", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "0957bbcb-6b05-4a85-9fa9-4dd9eb5e0515", + "name": "authoredAttachments" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "77ff78f6-6989-463c-b04f-3f704b8c2cd2", + "name": "author" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "589941c2-f5fe-44f3-b1e2-e03ab560f4b9", + "type": "RELATION", + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the workspace member", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "c39b4d51-de4e-4485-bd92-836a7f924648", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "589941c2-f5fe-44f3-b1e2-e03ab560f4b9", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "06b36739-8ff1-45af-8cde-18b2c9aea38b", + "name": "workspaceMember" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3ab1326a-f55c-472b-a4a6-097340d547b2", + "type": "RELATION", + "name": "timelineActivities", + "label": "Events", + "description": "Events linked to the workspace member", + "icon": "IconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "05e2fe5f-6e2a-4b7f-8306-f51569b9451e", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "3ab1326a-f55c-472b-a4a6-097340d547b2", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "4c24b808-4b79-4794-83a9-648ce206b2a1", + "name": "workspaceMember" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "021031f6-8c0c-4005-9b9b-89837c9e6e0f", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b96a4e48-e547-4e95-bd8e-57c8f325e1ff", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4d5859c2-034d-4f11-bc92-b3688771a5dc", + "type": "TEXT", + "name": "timeZone", + "label": "Time zone", + "description": "User time zone", + "icon": "IconTimezone", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'system'", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "676f8b73-de5b-405c-9823-fd3275ec0212", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "apiKey", + "namePlural": "apiKeys", + "labelSingular": "API Key", + "labelPlural": "API Keys", + "description": "An API key", + "icon": "IconRobot", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "c2304ca8-89bc-446a-b299-cda93b31af33", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjY=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d9785116-fda8-4d4c-aa87-884192889e1d", + "type": "DATE_TIME", + "name": "expiresAt", + "label": "Expiration date", + "description": "ApiKey expiration date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "64af136a-b94f-4004-8746-710c70fff33e", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e9e0b56c-c2f7-47b3-ba2f-5a3dc453b682", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f72beafc-d452-4a9a-abea-1faa43676cc7", + "type": "DATE_TIME", + "name": "revokedAt", + "label": "Revocation date", + "description": "ApiKey revocation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "57844105-81c4-4513-9338-330cafb7fd0f", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c2304ca8-89bc-446a-b299-cda93b31af33", + "type": "TEXT", + "name": "name", + "label": "Name", + "description": "ApiKey name", + "icon": "IconLink", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7e9817b7-f9c0-41d2-8a53-7b674ca5fe40", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "favorite", + "namePlural": "favorites", + "labelSingular": "Favorite", + "labelPlural": "Favorites", + "description": "A favorite", + "icon": "IconHeart", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "7c3835e6-a702-43c7-9d79-dc27e54abe8c", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "8d408397-acfd-4ece-af5e-90d37e57320a", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_85f024f9ec673d530d14cf75fe5", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "6d1e5f95-a90d-41cc-b4ba-8fb87a8eeef5", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "a6d8044a-4d42-468b-b0b1-1a33c0d470d1" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "a8d8e0ce-ecea-47c1-8795-38ffe0565031", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_c3ee83d51bc99ba99fe1998c508", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "f2ffee48-918d-4187-b8e7-601500a47041", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "76db44c9-3cc2-49bd-aa2b-06f32dffa2cc" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "db25d3a3-9175-4658-b2a6-3d24f30eae41", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "a6d8044a-4d42-468b-b0b1-1a33c0d470d1" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "7d9d5168-ec21-4936-8f58-e04ae2de34a1", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_7c59b29a053016fc596ddad8a0e", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "0c66fb41-ddad-4402-8637-50025ae3f006", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "a6d8044a-4d42-468b-b0b1-1a33c0d470d1" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "81948bee-b49b-466e-8728-8d5ae753c1f4", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_505a1fccd2804f2472bd92e8720", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "404d2b72-abbd-4d4a-b440-1988d1ec2f77", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "b9c5aac5-c608-4227-b5c1-bb47303cbde1" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "2a73873d-a61b-4bc7-a6e2-1fb6b5a0f21f", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_eecddc968e93b9b8ebbfd85dad3", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "c18ece50-3420-41d3-8139-352e9f0d0a51", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "0ffd7464-dc3a-441e-a609-c19c167f66b4" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "da12c105-544e-4966-9b16-f60efeb5e9cd", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_110d1dc7f0ecd231a18f6784cf3", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "75e36ea2-f4ed-4b6b-8f17-96ce03c9012d", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "7990aedf-57f7-4205-870a-a9e88bd7c43f" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "8b20ba45-efb5-49f0-9bf4-d33435d0497a", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "a6d8044a-4d42-468b-b0b1-1a33c0d470d1" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "d56a75ea-0c37-493d-a3f3-79729871a206", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_1f7e4cb168e77496349c8cefed6", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "df792354-9426-43c3-9db6-ffdb742fe160", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "6a03b206-d3a7-4f96-ab12-6722c9f5bcc3" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "a7129681-1527-4645-a667-0dfc50844f63", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "a6d8044a-4d42-468b-b0b1-1a33c0d470d1" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "f63f16c8-0c70-40d6-81cc-e3d6e9947bc0", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_b810a8e37adf5cafd342170ccf8", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "51c552a6-09e0-4599-b8b6-9ba264a508e7", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "a6d8044a-4d42-468b-b0b1-1a33c0d470d1" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "a2618baa-4d05-456e-92fd-3e6dbfae0d1d", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_a900d9f809273abe54dc5e166fa", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "c25ebf14-2600-4323-a47e-79e329d6441e", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "f25eefc0-2ac4-4442-8574-301e8907199c" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "8a787053-c341-4a4f-a8fe-aca1fa13f022", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "a6d8044a-4d42-468b-b0b1-1a33c0d470d1" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "459fd686-0128-4e7b-ad77-ed6882c961a2", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_21d905e0adf19e835f6059a9f3d", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "085cdc6f-c1ef-443c-bbdd-5987318ba4ee", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "a6d8044a-4d42-468b-b0b1-1a33c0d470d1" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "12a12e3a-5c1c-47ca-8870-57a00eef268e", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "0be4f9d3-3c6e-4b59-adfd-69213b96e7a4" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "93df1c7b-552a-4440-bfda-bfd7ef48c893", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_e14b3424016bea8b7fe220f7761", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "91ce8edb-ecbf-4cef-8f43-20df20dec97b", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "a6d8044a-4d42-468b-b0b1-1a33c0d470d1" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "aaaac1f9-7356-4aeb-93fa-e5e59c979a26", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "92f72068-fe72-4c3c-a5ec-deddd1eda811" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjI4" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "06b36739-8ff1-45af-8cde-18b2c9aea38b", + "type": "RELATION", + "name": "workspaceMember", + "label": "Workspace Member", + "description": "Favorite workspace member", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "c39b4d51-de4e-4485-bd92-836a7f924648", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "06b36739-8ff1-45af-8cde-18b2c9aea38b", + "name": "workspaceMember" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "589941c2-f5fe-44f3-b1e2-e03ab560f4b9", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6a86e940-b794-47f0-8e19-2f9cdae0c97a", + "type": "RELATION", + "name": "note", + "label": "Note", + "description": "Favorite note", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "a548bd48-7b68-4acc-b42f-967450657628", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "6a86e940-b794-47f0-8e19-2f9cdae0c97a", + "name": "note" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "c15314ec-878b-4e84-93f7-8fa5af3e199f", + "nameSingular": "note", + "namePlural": "notes" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "f69fc40d-dc11-4127-b848-f2a11bd63ae5", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a1bee058-651d-41e3-b96c-354fe4adc645", + "type": "UUID", + "name": "rocketId", + "label": "Rocket ID (foreign key)", + "description": "Favorite Rocket id foreign key", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.008Z", + "updatedAt": "2024-11-06T08:55:39.008Z", + "defaultValue": null, + "options": null, + "settings": { + "isForeignKey": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "18d10a14-2e16-4a06-b6fe-ee430ca5d12f", + "type": "UUID", + "name": "opportunityId", + "label": "Opportunity id (foreign key)", + "description": "Favorite opportunity id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "13286efd-ff8e-4fa0-b620-59d6feb298ed", + "type": "UUID", + "name": "favoriteFolderId", + "label": "Favorite Folder id (foreign key)", + "description": "The folder this favorite belongs to id foreign key", + "icon": "IconFolder", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "da839ef7-523c-4b29-9891-bc349fe4da97", + "type": "RELATION", + "name": "workflow", + "label": "Workflow", + "description": "Favorite workflow", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "964cba97-a511-4250-ac68-f5a9b1bc8358", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "da839ef7-523c-4b29-9891-bc349fe4da97", + "name": "workflow" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5dc29a2c-d985-48fc-bad4-6e3f8623f811", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "e83247d7-3b96-43b1-8ebc-150b04a8fb03", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f25eefc0-2ac4-4442-8574-301e8907199c", + "type": "UUID", + "name": "companyId", + "label": "Company id (foreign key)", + "description": "Favorite company id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "39899f66-dfa4-4acd-b39b-6345a6351598", + "type": "RELATION", + "name": "favoriteFolder", + "label": "Favorite Folder", + "description": "The folder this favorite belongs to", + "icon": "IconFolder", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "79d38e2d-a237-4654-a82e-e75a09fb1a9b", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "39899f66-dfa4-4acd-b39b-6345a6351598", + "name": "favoriteFolder" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a71e2adc-02ba-4aa1-a734-2274ff347be0", + "nameSingular": "favoriteFolder", + "namePlural": "favoriteFolders" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "c27979de-9b6a-4170-814e-cbf0b89c96eb", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "82000b5c-1390-4cfc-a836-74bdf98ec6f2", + "type": "RELATION", + "name": "workflowRun", + "label": "Workflow", + "description": "Favorite workflow run", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "4db3ebf8-57c2-4754-8dbf-211e8aa9b158", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "82000b5c-1390-4cfc-a836-74bdf98ec6f2", + "name": "workflowRun" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "855240cc-3209-4511-8c6a-10f8ce253a2a", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "1d58650a-c691-4bf1-9d0c-d5b86117ec77", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "31afe31e-b3c7-4a41-a32f-593cc8400236", + "type": "RELATION", + "name": "task", + "label": "Task", + "description": "Favorite task", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "8cb48004-b5f2-47ba-b1c5-3b8a3f4c0e69", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "31afe31e-b3c7-4a41-a32f-593cc8400236", + "name": "task" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "3499fd6b-c739-46d3-86c7-d85c8ca7ca90", + "nameSingular": "task", + "namePlural": "tasks" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "8002b729-cb4b-43e5-92d3-8680f85cd996", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0ffd7464-dc3a-441e-a609-c19c167f66b4", + "type": "UUID", + "name": "workflowId", + "label": "Workflow id (foreign key)", + "description": "Favorite workflow id foreign key", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7990aedf-57f7-4205-870a-a9e88bd7c43f", + "type": "UUID", + "name": "workflowVersionId", + "label": "Workflow id (foreign key)", + "description": "Favorite workflow version id foreign key", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "cc373b3a-9962-4cc9-b0da-c5cc62394529", + "type": "RELATION", + "name": "rocket", + "label": "Rocket", + "description": "Favorite Rocket", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.014Z", + "updatedAt": "2024-11-06T08:55:39.014Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "d18c6708-c7a3-474f-88e8-274808c04d06", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "cc373b3a-9962-4cc9-b0da-c5cc62394529", + "name": "rocket" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "d09f3e9f-9429-4e79-8803-29d5dd1690b3", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "bfa5c235-afeb-4f2c-b18a-ac878467221e", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "627088ea-a8ae-4452-a353-308d676ed123", + "type": "RELATION", + "name": "person", + "label": "Person", + "description": "Favorite person", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "add4d21c-b22c-4e1e-aef4-1bb81d0af66c", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "627088ea-a8ae-4452-a353-308d676ed123", + "name": "person" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "bcf40e95-19ed-44aa-886d-65969949b924", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0be4f9d3-3c6e-4b59-adfd-69213b96e7a4", + "type": "UUID", + "name": "noteId", + "label": "Note id (foreign key)", + "description": "Favorite note id foreign key", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "106e9b4b-bcdb-4f86-96f7-00d7dfc287dd", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7c3835e6-a702-43c7-9d79-dc27e54abe8c", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "741aaf07-fc24-4b75-8eca-29000db5bfdc", + "type": "NUMBER", + "name": "position", + "label": "Position", + "description": "Favorite position", + "icon": "IconList", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": 0, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a6d8044a-4d42-468b-b0b1-1a33c0d470d1", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "84695e0f-8224-4a40-93fe-cd3b95f3b0f9", + "type": "RELATION", + "name": "company", + "label": "Company", + "description": "Favorite company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "43fbba4b-2ccf-45be-9111-afd661bad096", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "84695e0f-8224-4a40-93fe-cd3b95f3b0f9", + "name": "company" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "274e3b07-278f-4649-9cb9-e346266ea78c", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b9c5aac5-c608-4227-b5c1-bb47303cbde1", + "type": "UUID", + "name": "viewId", + "label": "View id (foreign key)", + "description": "Favorite view id foreign key", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e2718fe3-006a-463f-8a7c-835e9e059460", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b1d71dd7-b990-4c11-8b0b-cd73492e5976", + "type": "RELATION", + "name": "view", + "label": "View", + "description": "Favorite view", + "icon": "IconLayoutCollage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "d35566c3-3627-4579-b757-1d5c9c1d267f", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "b1d71dd7-b990-4c11-8b0b-cd73492e5976", + "name": "view" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "59c24d15-6d80-4f09-a563-0a595f5c83a8", + "nameSingular": "view", + "namePlural": "views" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "c3388678-5942-44cf-b994-af31340fa955", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "76db44c9-3cc2-49bd-aa2b-06f32dffa2cc", + "type": "UUID", + "name": "workspaceMemberId", + "label": "Workspace Member id (foreign key)", + "description": "Favorite workspace member id foreign key", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6780cb01-6edb-488b-b6a8-6d6cabfd5191", + "type": "RELATION", + "name": "workflowVersion", + "label": "Workflow", + "description": "Favorite workflow version", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "a52d2763-84b2-4ce0-b014-99d23e3590e9", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "6780cb01-6edb-488b-b6a8-6d6cabfd5191", + "name": "workflowVersion" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "be8f69da-abf5-4812-aecd-10b1358a6e60", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "4c7174f2-42a5-47d8-871c-e4ae7e7b57f0", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6a03b206-d3a7-4f96-ab12-6722c9f5bcc3", + "type": "UUID", + "name": "personId", + "label": "Person id (foreign key)", + "description": "Favorite person id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "07b73250-4dd8-48aa-a0d9-acbc0e6159e7", + "type": "RELATION", + "name": "opportunity", + "label": "Opportunity", + "description": "Favorite opportunity", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "da86e9d4-0478-4dfd-80c9-af762f3ea4ef", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "07b73250-4dd8-48aa-a0d9-acbc0e6159e7", + "name": "opportunity" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "682b2961-ce2a-42af-bafe-eb33589eef0b", + "name": "favorites" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4c587c88-849c-4248-8bba-5155fe47d1f3", + "type": "UUID", + "name": "workflowRunId", + "label": "Workflow id (foreign key)", + "description": "Favorite workflow run id foreign key", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "92f72068-fe72-4c3c-a5ec-deddd1eda811", + "type": "UUID", + "name": "taskId", + "label": "Task id (foreign key)", + "description": "Favorite task id foreign key", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "5dc29a2c-d985-48fc-bad4-6e3f8623f811", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "workflow", + "namePlural": "workflows", + "labelSingular": "Workflow", + "labelPlural": "Workflows", + "description": "A workflow", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "f98e4dba-2d89-4719-b58e-983872bf5984", + "imageIdentifierFieldMetadataId": null, + "shortcut": "W", + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEy" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "42773155-163e-4497-a83e-97470e42bf1c", + "type": "RELATION", + "name": "timelineActivities", + "label": "Timeline Activities", + "description": "Timeline activities linked to the workflow", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "4e0075b3-5e21-4f0b-8cdf-ea9bc1b0c733", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5dc29a2c-d985-48fc-bad4-6e3f8623f811", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "42773155-163e-4497-a83e-97470e42bf1c", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "2a1f3b2c-78dd-489c-ae01-641c21b14f00", + "name": "workflow" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "bc517bb1-ee80-46d1-aeb6-2c482edc2692", + "type": "TEXT", + "name": "lastPublishedVersionId", + "label": "Last published Version Id", + "description": "The workflow last published version id", + "icon": "IconVersions", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "34876a25-c577-4004-a101-e08c7bbdce46", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "179e2a45-62db-4c62-8b1b-162741c1617b", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b8cd7399-7d4e-401a-8834-8e636e9fd074", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "38c8c5a3-ebad-4df4-aed3-236df69a1df0", + "type": "RELATION", + "name": "runs", + "label": "Runs", + "description": "Workflow runs linked to the workflow.", + "icon": "IconRun", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "e07a8572-efe0-45b2-8613-81fc37764c8b", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5dc29a2c-d985-48fc-bad4-6e3f8623f811", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "38c8c5a3-ebad-4df4-aed3-236df69a1df0", + "name": "runs" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "855240cc-3209-4511-8c6a-10f8ce253a2a", + "nameSingular": "workflowRun", + "namePlural": "workflowRuns" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "1f0f2755-c8f1-438a-91da-5bb25a338e1b", + "name": "workflow" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ee41a982-069b-45f0-8cc6-972e6538f861", + "type": "POSITION", + "name": "position", + "label": "Position", + "description": "Workflow record position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0a6ffd46-d102-4203-a6da-1222be3266c4", + "type": "MULTI_SELECT", + "name": "statuses", + "label": "Statuses", + "description": "The current statuses of the workflow versions", + "icon": "IconStatusChange", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": [ + { + "color": "yellow", + "label": "Draft", + "value": "DRAFT", + "position": 0 + }, + { + "color": "green", + "label": "Active", + "value": "ACTIVE", + "position": 1 + }, + { + "color": "grey", + "label": "Deactivated", + "value": "DEACTIVATED", + "position": 2 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3a848b0d-4059-47da-808d-f3b6a9287c24", + "type": "RELATION", + "name": "versions", + "label": "Versions", + "description": "Workflow versions linked to the workflow.", + "icon": "IconVersions", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "226a5a1c-406d-46c6-8731-5a64eb6df6ba", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5dc29a2c-d985-48fc-bad4-6e3f8623f811", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "3a848b0d-4059-47da-808d-f3b6a9287c24", + "name": "versions" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "be8f69da-abf5-4812-aecd-10b1358a6e60", + "nameSingular": "workflowVersion", + "namePlural": "workflowVersions" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "823d5293-0e17-4446-953b-d45e49c7b362", + "name": "workflow" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f98e4dba-2d89-4719-b58e-983872bf5984", + "type": "TEXT", + "name": "name", + "label": "Name", + "description": "The workflow name", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e83247d7-3b96-43b1-8ebc-150b04a8fb03", + "type": "RELATION", + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the workflow", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "964cba97-a511-4250-ac68-f5a9b1bc8358", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5dc29a2c-d985-48fc-bad4-6e3f8623f811", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "e83247d7-3b96-43b1-8ebc-150b04a8fb03", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "da839ef7-523c-4b29-9891-bc349fe4da97", + "name": "workflow" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "319a15aa-9490-46cd-aafb-64f1b4506e3d", + "type": "RELATION", + "name": "eventListeners", + "label": "Event Listeners", + "description": "Workflow event listeners linked to the workflow.", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "85d7aca7-4918-4f93-a347-688c6865ef7d", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5dc29a2c-d985-48fc-bad4-6e3f8623f811", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "319a15aa-9490-46cd-aafb-64f1b4506e3d", + "name": "eventListeners" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "57bc9297-2f7e-4a02-bc03-57052c3acb6d", + "nameSingular": "workflowEventListener", + "namePlural": "workflowEventListeners" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "27bde9ad-5d25-4e7b-90be-b6338996b90f", + "name": "workflow" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ee63709c-e320-4583-8e81-2f0f27ed7311", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "5c073dd8-4a3c-4618-b01a-31829217f4e1", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "messageParticipant", + "namePlural": "messageParticipants", + "labelSingular": "Message Participant", + "labelPlural": "Message Participants", + "description": "Message Participants", + "icon": "IconUserCircle", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "27f2870d-cc75-4ac5-8a6b-59d1e2d8708e", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "fbb7d4ad-059d-47d7-a29a-0578af204629", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_8d0144e4074d86d0cb7094f40c2", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "6c7bbf02-8c1c-4195-911b-8891db9bab9f", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "6fd5cc7b-7c14-4482-977d-d7d226f06482" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "e46b0b09-69e0-4d89-a59e-c4cedb1f0a7b", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "70c54f02-c4f1-4c1b-8085-90558cd19a4b" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "77477651-c204-4790-8c95-215b8ef3a418", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_8c4f617db0813d41aef587e49ea", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "40d44940-5ccd-44dd-8f0a-e79f79a0428d", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "e6b52bae-3774-4103-ae9d-e65cc1fc351b" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "b469fb51-1989-4f82-9484-09c3160b3ec9", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "6fd5cc7b-7c14-4482-977d-d7d226f06482" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "69f170c7-018b-47de-b99f-e33c7e88106c", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_6d9700e5ae2ab8c294d614e72f6", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "50e707bf-2624-4fda-a33f-69166a265265", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "6fd5cc7b-7c14-4482-977d-d7d226f06482" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEy" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "70c54f02-c4f1-4c1b-8085-90558cd19a4b", + "type": "UUID", + "name": "messageId", + "label": "Message id (foreign key)", + "description": "Message id foreign key", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6fd5cc7b-7c14-4482-977d-d7d226f06482", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "975427eb-cfc5-4628-87da-86992a04cbcf", + "type": "SELECT", + "name": "role", + "label": "Role", + "description": "Role", + "icon": "IconAt", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'from'", + "options": [ + { + "id": "91a9f636-1c50-4938-8599-3367be74ff66", + "color": "green", + "label": "From", + "value": "from", + "position": 0 + }, + { + "id": "1dedbd51-09de-4153-a1a6-fb09f1413b84", + "color": "blue", + "label": "To", + "value": "to", + "position": 1 + }, + { + "id": "ad47dc5c-7257-4b3f-9f69-9b3124c269d2", + "color": "orange", + "label": "Cc", + "value": "cc", + "position": 2 + }, + { + "id": "8c258686-5461-4009-bf86-b01636d5b193", + "color": "red", + "label": "Bcc", + "value": "bcc", + "position": 3 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8ea53089-dea9-45f8-9df5-9bc5864b8644", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "af1f581e-d5b3-41e9-9ef7-73ade02c94e0", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8a128690-eb36-46e3-9888-ffe5d84f7691", + "type": "RELATION", + "name": "workspaceMember", + "label": "Workspace Member", + "description": "Workspace member", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "39b8aae7-98c3-46a4-a425-54ff34e420fb", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5c073dd8-4a3c-4618-b01a-31829217f4e1", + "nameSingular": "messageParticipant", + "namePlural": "messageParticipants" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "8a128690-eb36-46e3-9888-ffe5d84f7691", + "name": "workspaceMember" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "17c7bfba-fde8-4e2c-b2f6-ed51230a5c0d", + "name": "messageParticipants" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c82296e8-4836-4504-93b1-851f5c3e5e9b", + "type": "RELATION", + "name": "person", + "label": "Person", + "description": "Person", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "984302bf-fbb6-4393-b18e-2baac3412c6b", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5c073dd8-4a3c-4618-b01a-31829217f4e1", + "nameSingular": "messageParticipant", + "namePlural": "messageParticipants" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "c82296e8-4836-4504-93b1-851f5c3e5e9b", + "name": "person" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "c71836b4-a1ed-4e6a-9a0e-2ca03d481ea1", + "name": "messageParticipants" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e6b52bae-3774-4103-ae9d-e65cc1fc351b", + "type": "UUID", + "name": "workspaceMemberId", + "label": "Workspace Member id (foreign key)", + "description": "Workspace member id foreign key", + "icon": "IconCircleUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6ff6cb68-61b4-46d1-84dc-731c9824db60", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4f3fd960-ab58-4ce1-8843-bff29efda67d", + "type": "UUID", + "name": "personId", + "label": "Person id (foreign key)", + "description": "Person id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "434cb453-5b97-48ea-b402-121410d26f8f", + "type": "TEXT", + "name": "displayName", + "label": "Display Name", + "description": "Display Name", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4502b888-8f7c-453e-9168-cad1eb72758e", + "type": "RELATION", + "name": "message", + "label": "Message", + "description": "Message", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "70d3e4a7-6279-4d2d-bd62-45517b77e5fe", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5c073dd8-4a3c-4618-b01a-31829217f4e1", + "nameSingular": "messageParticipant", + "namePlural": "messageParticipants" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "4502b888-8f7c-453e-9168-cad1eb72758e", + "name": "message" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "bde4303b-1460-4976-9465-d201f1384464", + "nameSingular": "message", + "namePlural": "messages" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "28622730-ab68-4729-8ba5-bb16750dac7d", + "name": "messageParticipants" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "27f2870d-cc75-4ac5-8a6b-59d1e2d8708e", + "type": "TEXT", + "name": "handle", + "label": "Handle", + "description": "Handle", + "icon": "IconAt", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "59c24d15-6d80-4f09-a563-0a595f5c83a8", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "view", + "namePlural": "views", + "labelSingular": "View", + "labelPlural": "Views", + "description": "(System) Views", + "icon": "IconLayoutCollage", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "94f315f4-f5b3-4688-994c-644a68d5fa9d", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjE3" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "247a42e4-053b-4109-932e-461d0889e98e", + "type": "TEXT", + "name": "type", + "label": "Type", + "description": "View type", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'table'", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "aa2b18c4-b1b6-42c6-90c5-230c9ecab347", + "type": "BOOLEAN", + "name": "isCompact", + "label": "Compact View", + "description": "Describes if the view is in compact mode", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": false, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a8fcfee0-9a62-4e83-88ae-09981bd8198d", + "type": "TEXT", + "name": "kanbanFieldMetadataId", + "label": "kanbanfieldMetadataId", + "description": "View Kanban column field", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8608bfab-401a-4aa5-8923-00b4e82e086b", + "type": "RELATION", + "name": "viewFields", + "label": "View Fields", + "description": "View Fields", + "icon": "IconTag", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "5dfd3452-78b0-4391-a592-a2086326a533", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "59c24d15-6d80-4f09-a563-0a595f5c83a8", + "nameSingular": "view", + "namePlural": "views" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "8608bfab-401a-4aa5-8923-00b4e82e086b", + "name": "viewFields" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "f02912d1-5058-4110-9140-56afba50534e", + "nameSingular": "viewField", + "namePlural": "viewFields" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "a09c707e-a640-42e1-93cd-f3916f294289", + "name": "view" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "66aa5131-ead2-4fbe-b209-cc79ac2f6bcd", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "227f6483-182f-4edf-b9b1-00fd8809dee9", + "type": "RELATION", + "name": "viewFilters", + "label": "View Filters", + "description": "View Filters", + "icon": "IconFilterBolt", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "fa458e88-53bc-4ab9-8faf-6a092ebb7b12", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "59c24d15-6d80-4f09-a563-0a595f5c83a8", + "nameSingular": "view", + "namePlural": "views" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "227f6483-182f-4edf-b9b1-00fd8809dee9", + "name": "viewFilters" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a7d21400-4d2c-4555-8555-b2343e03c9d8", + "nameSingular": "viewFilter", + "namePlural": "viewFilters" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "7c18a0d5-0f27-466d-b985-1c1215043230", + "name": "view" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2b243101-9ab4-4b16-b57e-fa021593193f", + "type": "TEXT", + "name": "icon", + "label": "Icon", + "description": "View icon", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c891080f-48f9-4c2f-83c4-40e2641a7ec6", + "type": "UUID", + "name": "objectMetadataId", + "label": "Object Metadata Id", + "description": "View target object", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "17f0b0ac-0b78-4539-a8c1-23ff79317edb", + "type": "POSITION", + "name": "position", + "label": "Position", + "description": "View position", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "24eb8f15-0c00-425e-a80f-defb746c2d7b", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "07c9d034-7015-4451-9dcf-711c475f1c41", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8d010fdc-21bb-4eea-9d4d-c88327f29db4", + "type": "RELATION", + "name": "viewSorts", + "label": "View Sorts", + "description": "View Sorts", + "icon": "IconArrowsSort", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "9bc2191c-2de4-4a14-8ae9-48f0de4940b7", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "59c24d15-6d80-4f09-a563-0a595f5c83a8", + "nameSingular": "view", + "namePlural": "views" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "8d010fdc-21bb-4eea-9d4d-c88327f29db4", + "name": "viewSorts" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "fb4cd6b0-33ba-4a33-beec-7570ba883ecf", + "nameSingular": "viewSort", + "namePlural": "viewSorts" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "7e6dfbd3-e16a-479d-80c1-446725f2b67c", + "name": "view" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "94f315f4-f5b3-4688-994c-644a68d5fa9d", + "type": "TEXT", + "name": "name", + "label": "Name", + "description": "View name", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "171c4048-2e2b-48df-9744-7af46cb79734", + "type": "SELECT", + "name": "key", + "label": "Key", + "description": "View key", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'INDEX'", + "options": [ + { + "id": "d91defbd-2fcb-4faa-8e3b-6ec323b60315", + "color": "red", + "label": "Index", + "value": "INDEX", + "position": 0 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a73a200a-8fdd-45e5-a302-e15e93e45a99", + "type": "RELATION", + "name": "viewFilterGroups", + "label": "View Filter Groups", + "description": "View Filter Groups", + "icon": "IconFilterBolt", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "111bf30f-3b35-4a46-b532-3c5241513736", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "59c24d15-6d80-4f09-a563-0a595f5c83a8", + "nameSingular": "view", + "namePlural": "views" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "a73a200a-8fdd-45e5-a302-e15e93e45a99", + "name": "viewFilterGroups" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "b2854fba-b070-4381-84fc-b7d2e8a9ef35", + "nameSingular": "viewFilterGroup", + "namePlural": "viewFilterGroups" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "e486cbc4-18a5-48a2-b89f-f3287e1777b4", + "name": "view" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c3388678-5942-44cf-b994-af31340fa955", + "type": "RELATION", + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the view", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "d35566c3-3627-4579-b757-1d5c9c1d267f", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "59c24d15-6d80-4f09-a563-0a595f5c83a8", + "nameSingular": "view", + "namePlural": "views" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "c3388678-5942-44cf-b994-af31340fa955", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "b1d71dd7-b990-4c11-8b0b-cd73492e5976", + "name": "view" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5a5cacde-837f-446e-aeef-4932d10a3ba3", + "type": "RELATION", + "name": "viewGroups", + "label": "View Groups", + "description": "View Groups", + "icon": "IconTag", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "907b27b9-11d7-4ce6-a918-266bebdba551", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "59c24d15-6d80-4f09-a563-0a595f5c83a8", + "nameSingular": "view", + "namePlural": "views" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "5a5cacde-837f-446e-aeef-4932d10a3ba3", + "name": "viewGroups" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "8ee1d8e1-c35b-49d0-a8e9-f763b47ef0d4", + "nameSingular": "viewGroup", + "namePlural": "viewGroups" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "1eb7d050-ed50-4276-8b24-198f5e35c896", + "name": "view" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "57c5e3b5-0cb2-4bc8-b4d9-b68e15cb5fa1", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "58c276be-fcb4-4693-8c3d-7183091b26d8", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "calendarEvent", + "namePlural": "calendarEvents", + "labelSingular": "Calendar event", + "labelPlural": "Calendar events", + "description": "Calendar events", + "icon": "IconCalendar", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "93660329-dc5f-4014-88af-cadd60a82130", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjE3" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c7bd628e-1574-4fc8-8b82-d8bb079a4f03", + "type": "TEXT", + "name": "conferenceSolution", + "label": "Conference Solution", + "description": "Conference Solution", + "icon": "IconScreenShare", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ed6e979e-d559-4176-93fd-7ca9d257fa44", + "type": "TEXT", + "name": "location", + "label": "Location", + "description": "Location", + "icon": "IconMapPin", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7fe927a3-d950-4723-ae16-4e41cc1aa94b", + "type": "TEXT", + "name": "description", + "label": "Description", + "description": "Description", + "icon": "IconFileDescription", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "326bebd3-0a42-4243-861e-496a11206f70", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1c3edbde-7dcb-4cf9-b4ac-7f2838cababd", + "type": "DATE_TIME", + "name": "endsAt", + "label": "End Date", + "description": "End Date", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "42af3f7b-3715-486f-aa09-4465b415ab80", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "70555b51-ff1c-48e1-9046-386353d62da7", + "type": "RELATION", + "name": "calendarChannelEventAssociations", + "label": "Calendar Channel Event Associations", + "description": "Calendar Channel Event Associations", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "ccc677e8-c479-42c7-8c80-00de5cec7c40", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "58c276be-fcb4-4693-8c3d-7183091b26d8", + "nameSingular": "calendarEvent", + "namePlural": "calendarEvents" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "70555b51-ff1c-48e1-9046-386353d62da7", + "name": "calendarChannelEventAssociations" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "032fa361-efca-42ad-b3c9-2a061bdfc857", + "nameSingular": "calendarChannelEventAssociation", + "namePlural": "calendarChannelEventAssociations" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "86f436d3-de74-42db-a87c-9d749a39c167", + "name": "calendarEvent" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3d15017a-df8a-4117-9930-ceb246a77549", + "type": "RELATION", + "name": "calendarEventParticipants", + "label": "Event Participants", + "description": "Event Participants", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "3d697e7d-e85e-415a-a048-7a3c78b97cd0", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "58c276be-fcb4-4693-8c3d-7183091b26d8", + "nameSingular": "calendarEvent", + "namePlural": "calendarEvents" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "3d15017a-df8a-4117-9930-ceb246a77549", + "name": "calendarEventParticipants" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5764965b-6481-42ac-ba6f-f371fc045e48", + "nameSingular": "calendarEventParticipant", + "namePlural": "calendarEventParticipants" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "7f5fb206-88cc-4265-888e-96abf02433c9", + "name": "calendarEvent" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "df223465-126e-45de-a50e-f5da2d22ae01", + "type": "DATE_TIME", + "name": "externalCreatedAt", + "label": "Creation DateTime", + "description": "Creation DateTime", + "icon": "IconCalendarPlus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "345d9e3e-bedd-4220-9d60-96c08ab9656a", + "type": "BOOLEAN", + "name": "isFullDay", + "label": "Is Full Day", + "description": "Is Full Day", + "icon": "Icon24Hours", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": false, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1a3db666-1626-44ed-b29c-e6a486f115bf", + "type": "LINKS", + "name": "conferenceLink", + "label": "Meet Link", + "description": "Meet Link", + "icon": "IconLink", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "primaryLinkUrl": "''", + "secondaryLinks": null, + "primaryLinkLabel": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3c982903-2775-4994-ad37-9484f3491071", + "type": "DATE_TIME", + "name": "startsAt", + "label": "Start Date", + "description": "Start Date", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "758bde60-f8c3-4721-8657-0c0471a66ff6", + "type": "DATE_TIME", + "name": "externalUpdatedAt", + "label": "Update DateTime", + "description": "Update DateTime", + "icon": "IconCalendarCog", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d0329abc-e7d8-4f41-9334-c23c0b911ea5", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f2f105b9-28d5-4252-abc5-4529fd3eb074", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fe5c87ba-f637-47a9-9334-ce1a489d70c0", + "type": "BOOLEAN", + "name": "isCanceled", + "label": "Is canceled", + "description": "Is canceled", + "icon": "IconCalendarCancel", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": false, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f0b83d86-2ce3-4562-85cd-78f324b371e3", + "type": "TEXT", + "name": "iCalUID", + "label": "iCal UID", + "description": "iCal UID", + "icon": "IconKey", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "93660329-dc5f-4014-88af-cadd60a82130", + "type": "TEXT", + "name": "title", + "label": "Title", + "description": "Title", + "icon": "IconH1", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "57bc9297-2f7e-4a02-bc03-57052c3acb6d", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "workflowEventListener", + "namePlural": "workflowEventListeners", + "labelSingular": "WorkflowEventListener", + "labelPlural": "WorkflowEventListeners", + "description": "A workflow event listener", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "6f3fb88e-c27e-406f-945f-435a7bebbf9c", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "db5f19f0-47d1-4b7f-90c3-928f1151d900", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_9d6a1fb98ccde16ede8c5949d40", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "4f08f6e8-782c-49f0-a7db-55c32a399d8b", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "17c4c19f-7540-46a4-bf43-ae0ad35162cc" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjY=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "17c4c19f-7540-46a4-bf43-ae0ad35162cc", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5fe36154-bf61-47e6-b129-29331cf1ce8c", + "type": "UUID", + "name": "workflowId", + "label": "Workflow id (foreign key)", + "description": "WorkflowEventListener workflow id foreign key", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5569f3f7-2c61-4a35-8993-df813899c8a3", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "28ff3521-7e7f-4b47-ab99-32fd1de0f510", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6f3fb88e-c27e-406f-945f-435a7bebbf9c", + "type": "TEXT", + "name": "eventName", + "label": "Name", + "description": "The workflow event listener name", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "27bde9ad-5d25-4e7b-90be-b6338996b90f", + "type": "RELATION", + "name": "workflow", + "label": "Workflow", + "description": "WorkflowEventListener workflow", + "icon": "IconSettingsAutomation", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "85d7aca7-4918-4f93-a347-688c6865ef7d", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "57bc9297-2f7e-4a02-bc03-57052c3acb6d", + "nameSingular": "workflowEventListener", + "namePlural": "workflowEventListeners" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "27bde9ad-5d25-4e7b-90be-b6338996b90f", + "name": "workflow" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5dc29a2c-d985-48fc-bad4-6e3f8623f811", + "nameSingular": "workflow", + "namePlural": "workflows" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "319a15aa-9490-46cd-aafb-64f1b4506e3d", + "name": "eventListeners" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "93de24d2-d432-4778-a7ec-9941c7ccb47b", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "5764965b-6481-42ac-ba6f-f371fc045e48", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "calendarEventParticipant", + "namePlural": "calendarEventParticipants", + "labelSingular": "Calendar event participant", + "labelPlural": "Calendar event participants", + "description": "Calendar event participants", + "icon": "IconCalendar", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "8a289b42-0b06-400f-85a9-06aeac2b6905", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "87e26e56-e90c-4678-b517-339950cfc6a6", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_0da422bbe7adbabb8144c696ebd", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "b49038a3-1a65-47a5-9ade-a01491d070c2", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "27bdf90b-fcdb-4539-bf74-db17445dc150" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "5556b4c1-73d0-4973-a907-53c4feb85a59", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "77ac631f-b0be-4e7e-befa-e499b5dc74ee" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "646c5151-9c8a-435c-8ca9-dcd36ea94561", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_dd22aee9059fd7002165df6d8cc", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "6b147c97-84f7-48ff-bd0c-a67b3db13f62", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_2bf094726f6d91639302c1c143d", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "e377946b-e56e-49ce-9e36-85dc07ffdb13", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "e72b141c-2dba-42c2-b2b5-0887a8854707" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "987d6560-7fef-4308-9686-0f09fb17ce58", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "27bdf90b-fcdb-4539-bf74-db17445dc150" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEz" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3f5dacf0-16da-4305-89c4-dd0a0ffa1652", + "type": "UUID", + "name": "calendarEventId", + "label": "Event ID id (foreign key)", + "description": "Event ID id foreign key", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e310a8e4-993e-49f3-88ff-481297bc3d43", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6bf06a3f-98f1-4083-ab93-e2c4348afffa", + "type": "BOOLEAN", + "name": "isOrganizer", + "label": "Is Organizer", + "description": "Is Organizer", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": false, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "372f6ed2-df97-4de8-a10f-07c5dfcef35d", + "type": "RELATION", + "name": "workspaceMember", + "label": "Workspace Member", + "description": "Workspace Member", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "0fbb09c6-02db-4481-9ba7-e9f58a4dfbff", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5764965b-6481-42ac-ba6f-f371fc045e48", + "nameSingular": "calendarEventParticipant", + "namePlural": "calendarEventParticipants" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "372f6ed2-df97-4de8-a10f-07c5dfcef35d", + "name": "workspaceMember" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "c730c43f-65d1-43d3-95da-494bc8079581", + "name": "calendarEventParticipants" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "77ac631f-b0be-4e7e-befa-e499b5dc74ee", + "type": "UUID", + "name": "personId", + "label": "Person id (foreign key)", + "description": "Person id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fd373306-3e8f-4156-b455-184589fe730e", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "51db684e-756a-471a-bd4a-9af04f7164f1", + "type": "RELATION", + "name": "person", + "label": "Person", + "description": "Person", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "6c3d6325-df6e-419f-a094-e4e367f15c92", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5764965b-6481-42ac-ba6f-f371fc045e48", + "nameSingular": "calendarEventParticipant", + "namePlural": "calendarEventParticipants" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "51db684e-756a-471a-bd4a-9af04f7164f1", + "name": "person" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "4f3e9dab-6513-4d38-8a79-8f3953443553", + "name": "calendarEventParticipants" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8a289b42-0b06-400f-85a9-06aeac2b6905", + "type": "TEXT", + "name": "handle", + "label": "Handle", + "description": "Handle", + "icon": "IconMail", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e72b141c-2dba-42c2-b2b5-0887a8854707", + "type": "UUID", + "name": "workspaceMemberId", + "label": "Workspace Member id (foreign key)", + "description": "Workspace Member id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "cae9bc99-9daf-41ee-be46-9049410f6d34", + "type": "TEXT", + "name": "displayName", + "label": "Display Name", + "description": "Display Name", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7f5fb206-88cc-4265-888e-96abf02433c9", + "type": "RELATION", + "name": "calendarEvent", + "label": "Event ID", + "description": "Event ID", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "3d697e7d-e85e-415a-a048-7a3c78b97cd0", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "5764965b-6481-42ac-ba6f-f371fc045e48", + "nameSingular": "calendarEventParticipant", + "namePlural": "calendarEventParticipants" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "7f5fb206-88cc-4265-888e-96abf02433c9", + "name": "calendarEvent" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "58c276be-fcb4-4693-8c3d-7183091b26d8", + "nameSingular": "calendarEvent", + "namePlural": "calendarEvents" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "3d15017a-df8a-4117-9930-ceb246a77549", + "name": "calendarEventParticipants" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3c020e96-ee19-4c9f-be6e-2aa7c49bc501", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "27bdf90b-fcdb-4539-bf74-db17445dc150", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6319ec12-9aa7-4aca-bc99-f7ba9578f665", + "type": "SELECT", + "name": "responseStatus", + "label": "Response Status", + "description": "Response Status", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'NEEDS_ACTION'", + "options": [ + { + "id": "4d6a938c-b737-4f7c-8a95-c1b324a03a90", + "color": "orange", + "label": "Needs Action", + "value": "NEEDS_ACTION", + "position": 0 + }, + { + "id": "42f8de5e-5cd1-4e2f-ac02-eb3b1797447d", + "color": "red", + "label": "Declined", + "value": "DECLINED", + "position": 1 + }, + { + "id": "fa4c8963-fe68-4e3a-9fd0-681ca8e1de53", + "color": "yellow", + "label": "Tentative", + "value": "TENTATIVE", + "position": 2 + }, + { + "id": "01d410cd-5c02-4423-80bc-c46c07913d19", + "color": "green", + "label": "Accepted", + "value": "ACCEPTED", + "position": 3 + } + ], + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "472aafb6-7f56-4984-be83-5520beab4b32", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "taskTarget", + "namePlural": "taskTargets", + "labelSingular": "Task Target", + "labelPlural": "Task Targets", + "description": "An task target", + "icon": "IconCheckbox", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "0f68681c-dd96-47bc-899f-2bc336f0934a", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "ff83bffb-bf43-4219-b12d-5abd3f409c8b", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_cf12e6c92058f11b59852ffdfe3", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "8ce9d8e5-fda5-4e96-951a-826d56773f2a", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "528e52cc-cb29-4430-989f-d823cb1a8cb3" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "72d92cad-0cb8-41d8-bbdc-bea70e3ba213", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "6763ec9c-3ed7-4a46-807f-90f1745d1e63" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "eaf982f0-8c9e-4c98-819c-52164a57c76c", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_627d4437c96f22d5d46cc9a85bb", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "0cfb9ba8-3b0c-46bb-ba0e-de3140aaa861", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_4e929e3af362914c41035c4d438", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "21c979e4-4b8d-4ce8-8223-891f627821fc", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "256eac29-29cb-45f0-965a-2fc743c303fd" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "34e9bf9a-3c78-43ce-9ed0-8398148eae9c", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "528e52cc-cb29-4430-989f-d823cb1a8cb3" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "154c2330-b643-46cc-9568-5b4ede793b24", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_b0ba7efcd8c529922bf6e858bc1", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "9be5d1a2-ada1-426a-b6cc-6dbfe114b0a7", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "6d0dbd50-1d97-453d-9589-2581b54eddee" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjEz" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4e056c6a-c132-4dde-9222-c288e37b6bf2", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "b0c16dbe-3193-4f44-995b-a2e4a687a49d", + "type": "RELATION", + "name": "person", + "label": "Person", + "description": "TaskTarget person", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "51159d86-0a50-44ca-9e97-79a04c8cfaf0", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "472aafb6-7f56-4984-be83-5520beab4b32", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "b0c16dbe-3193-4f44-995b-a2e4a687a49d", + "name": "person" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "c583495c-fbae-4203-b58a-650aae1e3adc", + "name": "taskTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c198e1b0-45e9-4944-8e0c-d17a224eadf7", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "95c1e3de-ec86-49b1-93fd-1b19da46d32a", + "type": "RELATION", + "name": "opportunity", + "label": "Opportunity", + "description": "TaskTarget opportunity", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "19c29332-cca2-4632-a2e7-f616353ad142", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "472aafb6-7f56-4984-be83-5520beab4b32", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "95c1e3de-ec86-49b1-93fd-1b19da46d32a", + "name": "opportunity" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "6bd68065-ec31-47b0-9641-1c9eb7ccd006", + "name": "taskTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6763ec9c-3ed7-4a46-807f-90f1745d1e63", + "type": "UUID", + "name": "personId", + "label": "Person id (foreign key)", + "description": "TaskTarget person id foreign key", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "256eac29-29cb-45f0-965a-2fc743c303fd", + "type": "UUID", + "name": "companyId", + "label": "Company id (foreign key)", + "description": "TaskTarget company id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "047c64cf-c3b6-483e-9294-546800e3016a", + "type": "RELATION", + "name": "company", + "label": "Company", + "description": "TaskTarget company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "41a1492d-efe5-43f2-8529-6fbc09d5aebd", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "472aafb6-7f56-4984-be83-5520beab4b32", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "047c64cf-c3b6-483e-9294-546800e3016a", + "name": "company" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "4cce66e7-644f-4d9b-865e-38226a04d09c", + "name": "taskTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "774f2183-4eda-4044-ba68-e7129609f363", + "type": "RELATION", + "name": "rocket", + "label": "Rocket", + "description": "TaskTarget Rocket", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.033Z", + "updatedAt": "2024-11-06T08:55:39.033Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "3faa21bf-763c-4487-a9e3-049ec2122acc", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "472aafb6-7f56-4984-be83-5520beab4b32", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "774f2183-4eda-4044-ba68-e7129609f363", + "name": "rocket" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "d09f3e9f-9429-4e79-8803-29d5dd1690b3", + "nameSingular": "rocket", + "namePlural": "rockets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "b8545663-db22-42a6-aa05-c1a8d75f6fb6", + "name": "taskTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "528e52cc-cb29-4430-989f-d823cb1a8cb3", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6d0dbd50-1d97-453d-9589-2581b54eddee", + "type": "UUID", + "name": "opportunityId", + "label": "Opportunity id (foreign key)", + "description": "TaskTarget opportunity id foreign key", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "44658154-7b7f-4d43-974e-4cbdee15a2e3", + "type": "UUID", + "name": "rocketId", + "label": "Rocket ID (foreign key)", + "description": "Task Target Rocket id foreign key", + "icon": null, + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:39.027Z", + "updatedAt": "2024-11-06T08:55:39.027Z", + "defaultValue": null, + "options": null, + "settings": { + "isForeignKey": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "392edf7c-9455-4bae-86af-796e8b600273", + "type": "RELATION", + "name": "task", + "label": "Task", + "description": "TaskTarget task", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "42493929-245a-4b28-9553-be148ef6bb3e", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "472aafb6-7f56-4984-be83-5520beab4b32", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "392edf7c-9455-4bae-86af-796e8b600273", + "name": "task" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "3499fd6b-c739-46d3-86c7-d85c8ca7ca90", + "nameSingular": "task", + "namePlural": "tasks" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "1485ac8c-3efa-4195-8c7a-bdaaac5b6902", + "name": "taskTargets" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ceb55029-b8c5-4826-8483-d0e564a02d39", + "type": "UUID", + "name": "taskId", + "label": "Task id (foreign key)", + "description": "TaskTarget task id foreign key", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "0f68681c-dd96-47bc-899f-2bc336f0934a", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "3499fd6b-c739-46d3-86c7-d85c8ca7ca90", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "task", + "namePlural": "tasks", + "labelSingular": "Task", + "labelPlural": "Tasks", + "description": "A task", + "icon": "IconCheckbox", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "19434b57-2245-4109-8c48-37b9cb80d4f4", + "imageIdentifierFieldMetadataId": null, + "shortcut": "T", + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "2d87bee6-53f9-4692-b310-718fc7611ffe", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_d01a000cf26e1225d894dc3d364", + "indexWhereClause": null, + "indexType": "GIN", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "ea0c9fe1-afff-4f79-844d-6b2fee49ae80", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_ee5298b25512b38b29390e084f7", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "f5b28f23-2a4d-4b63-add7-6aee7af7d189", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "f14286e8-49dc-4db7-9ad9-6442c675bc14" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "4a9acd35-81ad-4681-b9b2-cad467846845", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "45f31d14-9ab4-4537-84fd-3d1627f71109" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjE2" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "3293eeb9-3231-40c7-b3fb-43bfe0dc2619", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "de98f752-fcc9-440c-a531-32f0b589b151", + "type": "RELATION", + "name": "assignee", + "label": "Assignee", + "description": "Task assignee", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "78c3b18d-5e04-4235-adee-4c4fcaf4467f", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "3499fd6b-c739-46d3-86c7-d85c8ca7ca90", + "nameSingular": "task", + "namePlural": "tasks" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "de98f752-fcc9-440c-a531-32f0b589b151", + "name": "assignee" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6c349123-a42c-4f53-a140-41ac74c6718f", + "nameSingular": "workspaceMember", + "namePlural": "workspaceMembers" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "17dd4163-f18e-4c6c-9240-7befe8b558a8", + "name": "assignedTasks" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f14286e8-49dc-4db7-9ad9-6442c675bc14", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1485ac8c-3efa-4195-8c7a-bdaaac5b6902", + "type": "RELATION", + "name": "taskTargets", + "label": "Relations", + "description": "Task targets", + "icon": "IconArrowUpRight", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "42493929-245a-4b28-9553-be148ef6bb3e", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "3499fd6b-c739-46d3-86c7-d85c8ca7ca90", + "nameSingular": "task", + "namePlural": "tasks" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "1485ac8c-3efa-4195-8c7a-bdaaac5b6902", + "name": "taskTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "472aafb6-7f56-4984-be83-5520beab4b32", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "392edf7c-9455-4bae-86af-796e8b600273", + "name": "task" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "61015bf3-7cd6-4184-9c97-b75bde621026", + "type": "DATE_TIME", + "name": "dueAt", + "label": "Due Date", + "description": "Task due date", + "icon": "IconCalendarEvent", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "49911c20-2848-4c9b-82da-a106bcb040f4", + "type": "RELATION", + "name": "attachments", + "label": "Attachments", + "description": "Task attachments", + "icon": "IconFileImport", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "efb0c356-d1ad-4f75-93b0-2f1d32b9f661", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "3499fd6b-c739-46d3-86c7-d85c8ca7ca90", + "nameSingular": "task", + "namePlural": "tasks" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "49911c20-2848-4c9b-82da-a106bcb040f4", + "name": "attachments" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "893d1cf8-4328-4f85-8fab-141a89e40136", + "name": "task" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8002b729-cb4b-43e5-92d3-8680f85cd996", + "type": "RELATION", + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the task", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "8cb48004-b5f2-47ba-b1c5-3b8a3f4c0e69", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "3499fd6b-c739-46d3-86c7-d85c8ca7ca90", + "nameSingular": "task", + "namePlural": "tasks" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "8002b729-cb4b-43e5-92d3-8680f85cd996", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "31afe31e-b3c7-4a41-a32f-593cc8400236", + "name": "task" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "72b9ec30-b533-4355-8688-1860c4fa9c9b", + "type": "TS_VECTOR", + "name": "searchVector", + "label": "Search vector", + "description": "Field used for full-text search", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ae853d86-e770-4196-8b4b-2dee50957236", + "type": "RICH_TEXT", + "name": "body", + "label": "Body", + "description": "Task body", + "icon": "IconFilePencil", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "19434b57-2245-4109-8c48-37b9cb80d4f4", + "type": "TEXT", + "name": "title", + "label": "Title", + "description": "Task title", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "f1387b5a-b774-49ca-a985-4125798a9b79", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "45f31d14-9ab4-4537-84fd-3d1627f71109", + "type": "UUID", + "name": "assigneeId", + "label": "Assignee id (foreign key)", + "description": "Task assignee id foreign key", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "492261b1-99f9-41bc-8a6e-2e4477ddcf12", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c79aca9e-1672-487e-9542-22e6f808a4d6", + "type": "SELECT", + "name": "status", + "label": "Status", + "description": "Task status", + "icon": "IconCheck", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'TODO'", + "options": [ + { + "id": "d20b68cc-3953-4eeb-aa70-20d917f33212", + "color": "sky", + "label": "To do", + "value": "TODO", + "position": 0 + }, + { + "id": "3c5f637b-98fa-4c73-81c8-e8ce7e921ca2", + "color": "purple", + "label": "In progress", + "value": "IN_PROGRESS", + "position": 1 + }, + { + "id": "1e5d0878-a049-4752-8cd3-81aed3f1a755", + "color": "green", + "label": "Done", + "value": "DONE", + "position": 1 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "41f4aaf7-3ec7-4d61-a14f-7ed131ad214c", + "type": "RELATION", + "name": "timelineActivities", + "label": "Timeline Activities", + "description": "Timeline Activities linked to the task.", + "icon": "IconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "68ed5110-0145-4ac0-aeb3-b35d6f39bc48", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "3499fd6b-c739-46d3-86c7-d85c8ca7ca90", + "nameSingular": "task", + "namePlural": "tasks" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "41f4aaf7-3ec7-4d61-a14f-7ed131ad214c", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "20113a41-0044-4411-b011-77256227a175", + "name": "task" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "24c81dea-74ea-4cda-babf-8b13848ba1e9", + "type": "POSITION", + "name": "position", + "label": "Position", + "description": "Task record position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7afe134a-74c0-44bc-8609-baa6acd0bf13", + "type": "ACTOR", + "name": "createdBy", + "label": "Created by", + "description": "The creator of the record", + "icon": "IconCreativeCommonsSa", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "name": "''", + "source": "'MANUAL'" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "3431521e-1f46-4c4f-9547-4ea6a125544f", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "messageThread", + "namePlural": "messageThreads", + "labelSingular": "Message Thread", + "labelPlural": "Message Threads", + "description": "Message Thread", + "icon": "IconMessage", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "8ab6d392-4279-4187-b696-a4677927b901", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjQ=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7efabcde-d923-4cfa-8dd9-9b40c6437684", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7cdd6d88-674c-456d-ba5e-f895ec094fc9", + "type": "RELATION", + "name": "messages", + "label": "Messages", + "description": "Messages from the thread.", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "011926de-cbef-428c-9455-cb62e5c5a47a", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "3431521e-1f46-4c4f-9547-4ea6a125544f", + "nameSingular": "messageThread", + "namePlural": "messageThreads" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "7cdd6d88-674c-456d-ba5e-f895ec094fc9", + "name": "messages" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "bde4303b-1460-4976-9465-d201f1384464", + "nameSingular": "message", + "namePlural": "messages" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "b96d42be-8b1c-4734-974a-69a36cef5301", + "name": "messageThread" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ceb9301f-8ecf-4ee5-a520-6ce5a634007d", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "8ab6d392-4279-4187-b696-a4677927b901", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1bc595a2-fac5-4856-9c84-cd2948ec1c68", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "person", + "namePlural": "people", + "labelSingular": "Person", + "labelPlural": "People", + "description": "A person", + "icon": "IconUser", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "006473e2-f1b7-41b7-8cb2-66a1911e1057", + "imageIdentifierFieldMetadataId": "7e5c5515-19a8-40f6-83fc-ce5e44b4dce0", + "shortcut": "P", + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "ececf021-9161-45ef-9a6f-75530a3c5b52", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_bbd7aec1976fc684a0a5e4816c9", + "indexWhereClause": null, + "indexType": "GIN", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "efd77bbf-1b6f-4fe4-8de7-14efd2706c92", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "794b335c-fae7-46bd-9f07-f84e543d044d" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "5e003885-7cdd-4b12-93fc-3e9c4cb01e96", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_6a862a788ac6ce967afa06df812", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "ac2c6b25-937b-4242-ba99-aa14c58ce2f2", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "ea9e9e3c-4c0c-45bf-a39d-d245bea7fd13" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "1ab34e82-b585-4a08-addf-f0b38d5475da", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "5aa61689-73a6-4760-b6e3-6bfdbbd927d5" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjI4" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2e3732c4-22e4-4525-b54d-c1fa0e68dc67", + "type": "TEXT", + "name": "intro", + "label": "Intro", + "description": "Contact's Intro", + "icon": "IconNote", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.555Z", + "updatedAt": "2024-11-06T08:55:38.555Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ea9e9e3c-4c0c-45bf-a39d-d245bea7fd13", + "type": "UUID", + "name": "companyId", + "label": "Company id (foreign key)", + "description": "Contact’s company id foreign key", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "30edcf27-90d8-491d-8ee5-704e3765dd7f", + "type": "PHONES", + "name": "phones", + "label": "Phones", + "description": "Contact’s phone numbers", + "icon": "IconPhone", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "additionalPhones": null, + "primaryPhoneNumber": "''", + "primaryPhoneCountryCode": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "ccab9626-7482-40cb-b0fd-542a54ba3f76", + "type": "MULTI_SELECT", + "name": "workPreference", + "label": "Work Preference", + "description": "Person's Work Preference", + "icon": "IconHome", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.786Z", + "updatedAt": "2024-11-06T08:55:38.786Z", + "defaultValue": null, + "options": [ + { + "id": "50f32222-0afe-49a4-b5a6-139b5b3a218b", + "color": "green", + "label": "On-Site", + "value": "ON_SITE", + "position": 0 + }, + { + "id": "671723a7-93fb-4a3b-a211-bef5c1d098a6", + "color": "turquoise", + "label": "Hybrid", + "value": "HYBRID", + "position": 1 + }, + { + "id": "d5499645-3052-4db4-b194-32574a426c91", + "color": "sky", + "label": "Remote Work", + "value": "REMOTE_WORK", + "position": 2 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "961b2318-804a-41b2-8f1c-f95e0ddecdc7", + "type": "RELATION", + "name": "timelineActivities", + "label": "Events", + "description": "Events linked to the person", + "icon": "IconTimelineEvent", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "b898690f-f996-4921-9cad-6a80139fb222", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "961b2318-804a-41b2-8f1c-f95e0ddecdc7", + "name": "timelineActivities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "99c6e57d-11d0-4f1f-af99-0bb49a28e8f3", + "nameSingular": "timelineActivity", + "namePlural": "timelineActivities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "99727ee2-11a3-4b4a-a0d3-7cd0ccc88887", + "name": "person" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "794b335c-fae7-46bd-9f07-f84e543d044d", + "type": "TS_VECTOR", + "name": "searchVector", + "label": "Search vector", + "description": "Field used for full-text search", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9d6e2874-6aa6-4e6a-8c96-ba6652b4d6ea", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5aa61689-73a6-4760-b6e3-6bfdbbd927d5", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6e7db279-e742-4d69-aeec-a7702409cb10", + "type": "RELATION", + "name": "pointOfContactForOpportunities", + "label": "Linked Opportunities", + "description": "List of opportunities for which that person is the point of contact", + "icon": "IconTargetArrow", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "5dc9ea5d-616f-48d9-8608-fcfa7e39767e", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "6e7db279-e742-4d69-aeec-a7702409cb10", + "name": "pointOfContactForOpportunities" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "8b1e1c30-3503-4bf8-ad90-882bef627fee", + "nameSingular": "opportunity", + "namePlural": "opportunities" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "633b804e-91d6-42ef-be66-d4e5bb3e0ce2", + "name": "pointOfContact" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "52b83a41-f2dc-4649-b356-520d534b2a9e", + "type": "LINKS", + "name": "xLink", + "label": "X", + "description": "Contact’s X/Twitter account", + "icon": "IconBrandX", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "primaryLinkUrl": "''", + "secondaryLinks": null, + "primaryLinkLabel": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "df751f0c-e5c6-4675-86a9-bc08cf62da5e", + "type": "PHONES", + "name": "whatsapp", + "label": "Whatsapp", + "description": "Contact's Whatsapp Number", + "icon": "IconBrandWhatsapp", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.670Z", + "updatedAt": "2024-11-06T08:55:38.670Z", + "defaultValue": [ + { + "additionalPhones": {}, + "primaryPhoneNumber": "", + "primaryPhoneCountryCode": "" + } + ], + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "006473e2-f1b7-41b7-8cb2-66a1911e1057", + "type": "FULL_NAME", + "name": "name", + "label": "Name", + "description": "Contact’s name", + "icon": "IconUser", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "lastName": "''", + "firstName": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7e5c5515-19a8-40f6-83fc-ce5e44b4dce0", + "type": "TEXT", + "name": "avatarUrl", + "label": "Avatar", + "description": "Contact’s avatar", + "icon": "IconFileUpload", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2c12ec8a-4432-4d9d-adad-bc27ca09417c", + "type": "RELATION", + "name": "attachments", + "label": "Attachments", + "description": "Attachments linked to the contact.", + "icon": "IconFileImport", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "16740a4d-695d-42e5-b9dd-a19856763cf0", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "2c12ec8a-4432-4d9d-adad-bc27ca09417c", + "name": "attachments" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a9159d73-fb6d-45ee-aff0-e5e15c6ee8f7", + "nameSingular": "attachment", + "namePlural": "attachments" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "92b43ed6-98ea-4665-b347-9f441391b67b", + "name": "person" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "274611a9-c0f5-4f33-9f76-e55923743655", + "type": "TEXT", + "name": "city", + "label": "City", + "description": "Contact’s city", + "icon": "IconMap", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9af6eece-2ba2-4c04-9f18-62815a9c1ddd", + "type": "RELATION", + "name": "company", + "label": "Company", + "description": "Contact’s company", + "icon": "IconBuildingSkyscraper", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "1c3476ad-5333-4f56-b87b-d9333a456468", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "9af6eece-2ba2-4c04-9f18-62815a9c1ddd", + "name": "company" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "e2e9bdde-68e5-455f-8459-5c34ef3b7223", + "nameSingular": "company", + "namePlural": "companies" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "22257343-77da-407e-a431-09e86a073d66", + "name": "people" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7ee01012-acbd-481d-90dc-9af6f343b258", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a5b80aa9-983e-42d0-950f-1d2ba90ce31d", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c71836b4-a1ed-4e6a-9a0e-2ca03d481ea1", + "type": "RELATION", + "name": "messageParticipants", + "label": "Message Participants", + "description": "Message Participants", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "984302bf-fbb6-4393-b18e-2baac3412c6b", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "c71836b4-a1ed-4e6a-9a0e-2ca03d481ea1", + "name": "messageParticipants" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5c073dd8-4a3c-4618-b01a-31829217f4e1", + "nameSingular": "messageParticipant", + "namePlural": "messageParticipants" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "c82296e8-4836-4504-93b1-851f5c3e5e9b", + "name": "person" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "4f3e9dab-6513-4d38-8a79-8f3953443553", + "type": "RELATION", + "name": "calendarEventParticipants", + "label": "Calendar Event Participants", + "description": "Calendar Event Participants", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "6c3d6325-df6e-419f-a094-e4e367f15c92", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "4f3e9dab-6513-4d38-8a79-8f3953443553", + "name": "calendarEventParticipants" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5764965b-6481-42ac-ba6f-f371fc045e48", + "nameSingular": "calendarEventParticipant", + "namePlural": "calendarEventParticipants" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "51db684e-756a-471a-bd4a-9af04f7164f1", + "name": "person" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "846474de-d58d-48cc-8b7a-e4548d1bc5ad", + "type": "POSITION", + "name": "position", + "label": "Position", + "description": "Person record Position", + "icon": "IconHierarchy2", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "de143991-2574-4a82-9e9e-c79503298668", + "type": "ACTOR", + "name": "createdBy", + "label": "Created by", + "description": "The creator of the record", + "icon": "IconCreativeCommonsSa", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "name": "''", + "source": "'MANUAL'" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9a6f1b09-6489-4a3e-8812-4e70344c8c58", + "type": "RATING", + "name": "performanceRating", + "label": "Performance Rating", + "description": "Person's Performance Rating", + "icon": "IconStars", + "isCustom": true, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:38.892Z", + "updatedAt": "2024-11-06T08:55:38.892Z", + "defaultValue": null, + "options": [ + { + "id": "55979392-f5e7-4c00-af6d-930de2595d43", + "label": "1", + "value": "RATING_1", + "position": 0 + }, + { + "id": "0440e066-6da0-4f33-b5a7-04b805582c3e", + "label": "2", + "value": "RATING_2", + "position": 1 + }, + { + "id": "09dae6fb-f2cb-4068-89e6-43d92985c7d1", + "label": "3", + "value": "RATING_3", + "position": 2 + }, + { + "id": "9df69aa5-57bf-41aa-9ca6-2bfe7870f6bc", + "label": "4", + "value": "RATING_4", + "position": 3 + }, + { + "id": "5eb4dc2e-813e-4d19-b81d-d77bcc9d33b6", + "label": "5", + "value": "RATING_5", + "position": 4 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5625b351-9b27-479a-a91c-323ca011ca1b", + "type": "EMAILS", + "name": "emails", + "label": "Emails", + "description": "Contact’s Emails", + "icon": "IconMail", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "primaryEmail": "''", + "additionalEmails": null + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "bcf40e95-19ed-44aa-886d-65969949b924", + "type": "RELATION", + "name": "favorites", + "label": "Favorites", + "description": "Favorites linked to the contact", + "icon": "IconHeart", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "add4d21c-b22c-4e1e-aef4-1bb81d0af66c", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "bcf40e95-19ed-44aa-886d-65969949b924", + "name": "favorites" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "5df3abf5-8d68-4591-8c8e-97b15c33046d", + "nameSingular": "favorite", + "namePlural": "favorites" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "627088ea-a8ae-4452-a353-308d676ed123", + "name": "person" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "7ea705f6-b3d7-4937-9f23-9c68b69ae247", + "type": "TEXT", + "name": "jobTitle", + "label": "Job Title", + "description": "Contact’s job title", + "icon": "IconBriefcase", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c583495c-fbae-4203-b58a-650aae1e3adc", + "type": "RELATION", + "name": "taskTargets", + "label": "Tasks", + "description": "Tasks tied to the contact", + "icon": "IconCheckbox", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "51159d86-0a50-44ca-9e97-79a04c8cfaf0", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "c583495c-fbae-4203-b58a-650aae1e3adc", + "name": "taskTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "472aafb6-7f56-4984-be83-5520beab4b32", + "nameSingular": "taskTarget", + "namePlural": "taskTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "b0c16dbe-3193-4f44-995b-a2e4a687a49d", + "name": "person" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "dd84a48c-10a1-43f1-b7ad-beb9b877f04e", + "type": "LINKS", + "name": "linkedinLink", + "label": "Linkedin", + "description": "Contact’s Linkedin account", + "icon": "IconBrandLinkedin", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": { + "primaryLinkUrl": "''", + "secondaryLinks": null, + "primaryLinkLabel": "''" + }, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2d482b78-c37c-468d-a0e2-a3bffdfea2f1", + "type": "RELATION", + "name": "noteTargets", + "label": "Notes", + "description": "Notes tied to the contact", + "icon": "IconNotes", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "75403e5e-7813-49dd-8ca9-7c127f1aff88", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "0da1c90e-54e6-496d-b06e-9318a69f51b2", + "nameSingular": "person", + "namePlural": "people" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "2d482b78-c37c-468d-a0e2-a3bffdfea2f1", + "name": "noteTargets" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "ff17ccda-93cb-43ce-8def-4315fef9a01a", + "nameSingular": "noteTarget", + "namePlural": "noteTargets" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "edb14b40-6ccf-4996-a77b-a8271895ed94", + "name": "person" + } + } + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "07bddc45-d23a-496d-8f13-acc77a0b165c", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "messageChannel", + "namePlural": "messageChannels", + "labelSingular": "Message Channel", + "labelPlural": "Message Channels", + "description": "Message Channels", + "icon": "IconMessage", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "231ab47f-0663-40fd-a587-0b021c4686f7", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "79f3ef33-d72d-4d55-9656-40287f76a382", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_c3af632ce35236d21f8ae1f4cfd", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "47940421-6f0d-45b0-b507-8102d4db51aa", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "fc4e235b-d511-4662-b8b5-ba35b0d3008f" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "25738223-31d5-477c-a9df-61ffb87782f0", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "a32fc740-776a-4e8d-ba53-8ad7ffea52af" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjIw" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "16530444-10a3-444f-8bcd-4aef72b78253", + "type": "BOOLEAN", + "name": "isSyncEnabled", + "label": "Is Sync Enabled", + "description": "Is Sync Enabled", + "icon": "IconRefresh", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9ecb5cff-f916-444c-bce0-bf7ceed105ca", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "50e43067-b387-4671-84db-cd13debdf202", + "type": "BOOLEAN", + "name": "excludeGroupEmails", + "label": "Exclude group emails", + "description": "Exclude group emails", + "icon": "IconUsersGroup", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6545b2ad-7d67-4f68-bc26-f19a94596aca", + "type": "TEXT", + "name": "syncCursor", + "label": "Last sync cursor", + "description": "Last sync cursor", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "fc4e235b-d511-4662-b8b5-ba35b0d3008f", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "1109ebd6-076c-428f-9432-bea1d9a1b748", + "type": "SELECT", + "name": "syncStatus", + "label": "Sync status", + "description": "Sync status", + "icon": "IconStatusChange", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": [ + { + "id": "a7e3932e-a9fa-4cc5-8576-174938414d8a", + "color": "yellow", + "label": "Ongoing", + "value": "ONGOING", + "position": 1 + }, + { + "id": "b3233425-d843-4c67-86b8-83de3336e000", + "color": "blue", + "label": "Not Synced", + "value": "NOT_SYNCED", + "position": 2 + }, + { + "id": "4b74cbb9-7343-4530-bbbc-e86b037d67f7", + "color": "green", + "label": "Active", + "value": "ACTIVE", + "position": 3 + }, + { + "id": "b7b63e6a-21bd-4325-a06a-44602aa193ae", + "color": "red", + "label": "Failed Insufficient Permissions", + "value": "FAILED_INSUFFICIENT_PERMISSIONS", + "position": 4 + }, + { + "id": "043cb7f1-b8e0-4dd1-8d1e-716582880064", + "color": "red", + "label": "Failed Unknown", + "value": "FAILED_UNKNOWN", + "position": 5 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "83636ee7-5420-45a5-80f5-77a029fad575", + "type": "DATE_TIME", + "name": "syncedAt", + "label": "Last sync date", + "description": "Last sync date", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "9676c2af-e0cd-4cbf-bc67-244a44828eac", + "type": "NUMBER", + "name": "throttleFailureCount", + "label": "Throttle Failure Count", + "description": "Throttle Failure Count", + "icon": "IconX", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": 0, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "d066c723-fcae-4bae-969e-76935fb80d6f", + "type": "SELECT", + "name": "type", + "label": "Type", + "description": "Channel Type", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'email'", + "options": [ + { + "id": "0d7a7182-9433-4e1c-8046-36f6919d8fb7", + "color": "green", + "label": "Email", + "value": "email", + "position": 0 + }, + { + "id": "84f80420-39c0-41ac-9bca-820043be0846", + "color": "blue", + "label": "SMS", + "value": "sms", + "position": 1 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "49d9f29e-1250-4528-b527-0da9c4b9cd48", + "type": "SELECT", + "name": "contactAutoCreationPolicy", + "label": "Contact auto creation policy", + "description": "Automatically create People records when receiving or sending emails", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'SENT'", + "options": [ + { + "id": "90df6ace-4cca-4bb0-b609-9011b848d067", + "color": "green", + "label": "Sent and Received", + "value": "SENT_AND_RECEIVED", + "position": 0 + }, + { + "id": "6ae14c81-b4c0-4019-878b-612e213bcf51", + "color": "blue", + "label": "Sent", + "value": "SENT", + "position": 1 + }, + { + "id": "519c3dcc-c31c-4053-9db1-12aadace43a6", + "color": "red", + "label": "None", + "value": "NONE", + "position": 2 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "2e1e7f61-7f63-45c0-81ed-7e22c5d9d8d6", + "type": "SELECT", + "name": "syncStage", + "label": "Sync stage", + "description": "Sync stage", + "icon": "IconStatusChange", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'FULL_MESSAGE_LIST_FETCH_PENDING'", + "options": [ + { + "id": "240a42af-bfdc-41d8-abb0-8f62df2df429", + "color": "blue", + "label": "Full messages list fetch pending", + "value": "FULL_MESSAGE_LIST_FETCH_PENDING", + "position": 0 + }, + { + "id": "6f41fa12-548d-41a4-8f2e-7259c13701b4", + "color": "blue", + "label": "Partial messages list fetch pending", + "value": "PARTIAL_MESSAGE_LIST_FETCH_PENDING", + "position": 1 + }, + { + "id": "43e17f90-b696-4462-9c9a-09de5ade0eef", + "color": "orange", + "label": "Messages list fetch ongoing", + "value": "MESSAGE_LIST_FETCH_ONGOING", + "position": 2 + }, + { + "id": "51c8f19a-587b-4db6-9bc3-47a3f487166a", + "color": "blue", + "label": "Messages import pending", + "value": "MESSAGES_IMPORT_PENDING", + "position": 3 + }, + { + "id": "68e2f21a-6f33-461c-8c42-7de3a4075f8f", + "color": "orange", + "label": "Messages import ongoing", + "value": "MESSAGES_IMPORT_ONGOING", + "position": 4 + }, + { + "id": "496a01db-2538-42e3-97e6-c252dbddbbbf", + "color": "red", + "label": "Failed", + "value": "FAILED", + "position": 5 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "231ab47f-0663-40fd-a587-0b021c4686f7", + "type": "TEXT", + "name": "handle", + "label": "Handle", + "description": "Handle", + "icon": "IconAt", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "e7e83ec8-18e4-4402-968f-daf4a52bbef9", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "a32fc740-776a-4e8d-ba53-8ad7ffea52af", + "type": "UUID", + "name": "connectedAccountId", + "label": "Connected Account id (foreign key)", + "description": "Connected Account id foreign key", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "878406ca-e7f7-4204-bb9a-84bb2a763394", + "type": "RELATION", + "name": "connectedAccount", + "label": "Connected Account", + "description": "Connected Account", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "8735a9a0-f29c-4646-b59d-e8ab3dcdfe8c", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "07bddc45-d23a-496d-8f13-acc77a0b165c", + "nameSingular": "messageChannel", + "namePlural": "messageChannels" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "878406ca-e7f7-4204-bb9a-84bb2a763394", + "name": "connectedAccount" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "872fd058-4b43-4cef-87b6-3ba6fb97939a", + "nameSingular": "connectedAccount", + "namePlural": "connectedAccounts" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "a78b68cd-feb3-45ff-ba69-ef37761e81a0", + "name": "messageChannels" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "6e88d89b-17e6-4824-bd61-5c97a9272dc1", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "367e4144-2df6-46b8-9ba8-8157355591de", + "type": "BOOLEAN", + "name": "excludeNonProfessionalEmails", + "label": "Exclude non professional emails", + "description": "Exclude non professional emails", + "icon": "IconBriefcase", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "21fa770b-a8ea-4d81-8389-8783efb5f8d7", + "type": "SELECT", + "name": "visibility", + "label": "Visibility", + "description": "Visibility", + "icon": "IconEyeglass", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "'SHARE_EVERYTHING'", + "options": [ + { + "id": "f8709749-a6c9-46e4-934f-6443cd88d94a", + "color": "green", + "label": "Metadata", + "value": "METADATA", + "position": 0 + }, + { + "id": "2d954bb5-2b80-4355-820a-5aa21824d452", + "color": "blue", + "label": "Subject", + "value": "SUBJECT", + "position": 1 + }, + { + "id": "6b0f030f-c9e6-4e19-869d-6044ea782efe", + "color": "orange", + "label": "Share Everything", + "value": "SHARE_EVERYTHING", + "position": 2 + } + ], + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "52a15971-38cd-4232-a9af-050c130ed4ca", + "type": "RELATION", + "name": "messageChannelMessageAssociations", + "label": "Message Channel Association", + "description": "Messages from the channel.", + "icon": "IconMessage", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "7bef4fbc-233a-48f5-99d6-0832af458f8c", + "direction": "ONE_TO_MANY", + "sourceObjectMetadata": { + "__typename": "object", + "id": "07bddc45-d23a-496d-8f13-acc77a0b165c", + "nameSingular": "messageChannel", + "namePlural": "messageChannels" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "52a15971-38cd-4232-a9af-050c130ed4ca", + "name": "messageChannelMessageAssociations" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "a44b8dd2-ff40-4de8-a745-d7801c862540", + "nameSingular": "messageChannelMessageAssociation", + "namePlural": "messageChannelMessageAssociations" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "299cdaa3-1609-4f7b-a458-582328a4a95e", + "name": "messageChannel" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "feb9b6b7-f1be-43fe-b891-3fd7dfd9dd0e", + "type": "DATE_TIME", + "name": "syncStageStartedAt", + "label": "Sync stage started at", + "description": "Sync stage started at", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5b938d4a-813e-4d92-a6d7-10014a403186", + "type": "BOOLEAN", + "name": "isContactAutoCreationEnabled", + "label": "Is Contact Auto Creation Enabled", + "description": "Is Contact Auto Creation Enabled", + "icon": "IconUserCircle", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": true, + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } + }, + { + "__typename": "objectEdge", + "node": { + "__typename": "object", + "id": "032fa361-efca-42ad-b3c9-2a061bdfc857", + "dataSourceId": "819c27d5-2d36-4862-af84-5d0c81c9fd69", + "nameSingular": "calendarChannelEventAssociation", + "namePlural": "calendarChannelEventAssociations", + "labelSingular": "Calendar Channel Event Association", + "labelPlural": "Calendar Channel Event Associations", + "description": "Calendar Channel Event Associations", + "icon": "IconCalendar", + "isCustom": false, + "isRemote": false, + "isActive": true, + "isSystem": true, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "labelIdentifierFieldMetadataId": "93a8c5fd-6043-454e-94fd-7f8dd0dae6a5", + "imageIdentifierFieldMetadataId": null, + "shortcut": null, + "isLabelSyncedWithName": false, + "indexMetadatas": { + "__typename": "ObjectIndexMetadatasConnection", + "edges": [ + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "ac493a32-7b8c-4245-9e1b-78c1ee8675fa", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_a88c3ab301c25202d4b52fb4b1b", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "0e7cb6d5-d907-4e2c-9b2d-9585b903d00d", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 1, + "fieldMetadataId": "c3794987-3987-4ac4-96d7-92c8d411e5e3" + } + }, + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "68967828-00c6-4a25-ad1b-139327e22e11", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "bc0c0dcb-2641-4e7c-b7a9-9382b6a2e23f" + } + } + ] + } + } + }, + { + "__typename": "indexEdge", + "node": { + "__typename": "index", + "id": "4cd6144e-faa9-4481-a4b7-d55427e616dc", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "name": "IDX_92a888b681107c4f78926820db7", + "indexWhereClause": null, + "indexType": "BTREE", + "isUnique": false, + "indexFieldMetadatas": { + "__typename": "IndexIndexFieldMetadatasConnection", + "edges": [ + { + "__typename": "indexFieldEdge", + "node": { + "__typename": "indexField", + "id": "33d74eac-e8ac-4a96-8362-2e7dabad4b14", + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "order": 0, + "fieldMetadataId": "403e4139-27ee-4731-ae93-1eb0be3156ad" + } + } + ] + } + } + } + ] + }, + "fields": { + "__typename": "ObjectFieldsConnection", + "pageInfo": { + "__typename": "PageInfo", + "hasNextPage": false, + "hasPreviousPage": false, + "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", + "endCursor": "YXJyYXljb25uZWN0aW9uOjk=" + }, + "edges": [ + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "c3794987-3987-4ac4-96d7-92c8d411e5e3", + "type": "DATE_TIME", + "name": "deletedAt", + "label": "Deleted at", + "description": "Date when the record was deleted", + "icon": "IconCalendarMinus", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "bc0c0dcb-2641-4e7c-b7a9-9382b6a2e23f", + "type": "UUID", + "name": "calendarChannelId", + "label": "Channel ID id (foreign key)", + "description": "Channel ID id foreign key", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "82b71382-ff53-45d1-a6c1-8038a6371a6e", + "type": "TEXT", + "name": "eventExternalId", + "label": "Event external ID", + "description": "Event external ID", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "93a8c5fd-6043-454e-94fd-7f8dd0dae6a5", + "type": "UUID", + "name": "id", + "label": "Id", + "description": "Id", + "icon": "Icon123", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "uuid", + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "403e4139-27ee-4731-ae93-1eb0be3156ad", + "type": "UUID", + "name": "calendarEventId", + "label": "Event ID id (foreign key)", + "description": "Event ID id foreign key", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "de51b858-3ab0-4f3e-b235-ee73d6d10899", + "type": "DATE_TIME", + "name": "updatedAt", + "label": "Last update", + "description": "Last time the record was changed", + "icon": "IconCalendarClock", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "aed89c6f-55f7-4687-8f2f-7322d0b38f86", + "type": "DATE_TIME", + "name": "createdAt", + "label": "Creation date", + "description": "Creation date", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "now", + "options": null, + "settings": { + "displayAsRelativeDate": true + }, + "relationDefinition": null + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "90c562fb-4c0a-423a-8ae3-2bdf713007be", + "type": "RELATION", + "name": "calendarChannel", + "label": "Channel ID", + "description": "Channel ID", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "249e77d7-9b0b-4fca-9a82-1c0767780797", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "032fa361-efca-42ad-b3c9-2a061bdfc857", + "nameSingular": "calendarChannelEventAssociation", + "namePlural": "calendarChannelEventAssociations" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "90c562fb-4c0a-423a-8ae3-2bdf713007be", + "name": "calendarChannel" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "6f7b5e12-bf54-4ac5-9f16-adff8404b736", + "nameSingular": "calendarChannel", + "namePlural": "calendarChannels" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "dca5dc56-54b1-4bdc-8a9c-043b0030fea6", + "name": "calendarChannelEventAssociations" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "86f436d3-de74-42db-a87c-9d749a39c167", + "type": "RELATION", + "name": "calendarEvent", + "label": "Event ID", + "description": "Event ID", + "icon": "IconCalendar", + "isCustom": false, + "isActive": true, + "isSystem": true, + "isNullable": true, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": null, + "options": null, + "settings": null, + "relationDefinition": { + "__typename": "RelationDefinition", + "relationId": "ccc677e8-c479-42c7-8c80-00de5cec7c40", + "direction": "MANY_TO_ONE", + "sourceObjectMetadata": { + "__typename": "object", + "id": "032fa361-efca-42ad-b3c9-2a061bdfc857", + "nameSingular": "calendarChannelEventAssociation", + "namePlural": "calendarChannelEventAssociations" + }, + "sourceFieldMetadata": { + "__typename": "field", + "id": "86f436d3-de74-42db-a87c-9d749a39c167", + "name": "calendarEvent" + }, + "targetObjectMetadata": { + "__typename": "object", + "id": "58c276be-fcb4-4693-8c3d-7183091b26d8", + "nameSingular": "calendarEvent", + "namePlural": "calendarEvents" + }, + "targetFieldMetadata": { + "__typename": "field", + "id": "70555b51-ff1c-48e1-9046-386353d62da7", + "name": "calendarChannelEventAssociations" + } + } + } + }, + { + "__typename": "fieldEdge", + "node": { + "__typename": "field", + "id": "5e50cd00-80d1-4047-97a3-1c289a20d991", + "type": "TEXT", + "name": "recurringEventExternalId", + "label": "Recurring Event ID", + "description": "Recurring Event ID", + "icon": "IconHistory", + "isCustom": false, + "isActive": true, + "isSystem": false, + "isNullable": false, + "isUnique": false, + "createdAt": "2024-11-06T08:55:35.625Z", + "updatedAt": "2024-11-06T08:55:35.625Z", + "defaultValue": "''", + "options": null, + "settings": null, + "relationDefinition": null + } + } + ] + } + } } - } ] - } } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "f46b3fd8-c78d-4203-acf3-dec44e6a0330", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "viewGroup", - "namePlural": "viewGroups", - "labelSingular": "View Group", - "labelPlural": "View Groups", - "description": "(System) View Groups", - "icon": "IconTag", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "a6d801ab-86c2-4927-9514-15941ceb3f01", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjk=" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "9609d742-854b-48cd-86cc-582ac1b83ded", - "type": FieldMetadataType.Boolean, - "name": "isVisible", - "label": "Visible", - "description": "View Group visibility", - "icon": "IconEye", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": true, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "70bbfd52-de22-4616-9b15-95934fc9750f", - "type": FieldMetadataType.Number, - "name": "position", - "label": "Position", - "description": "View Field position", - "icon": "IconList", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": 0, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "de0b33e4-7e73-4f4e-b010-6f8343b0e510", - "type": FieldMetadataType.Text, - "name": "fieldValue", - "label": "Field Value", - "description": "Group by this field value", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0fabe03d-9be8-49ac-aa59-03e36c836790", - "type": FieldMetadataType.Uuid, - "name": "fieldMetadataId", - "label": "Field Metadata Id", - "description": "View Group target field", - "icon": "IconTag", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "46e04019-dc99-4cbd-a313-0b8603230692", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3db34f42-2dde-4a5f-9607-60b319aad24d", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "66a8054a-4d36-49af-bd29-c48c63383c95", - "type": FieldMetadataType.Relation, - "name": "view", - "label": "View", - "description": "View Group related view", - "icon": "IconLayoutCollage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "af260d5e-13f4-4e6a-bf9f-9790d4335ea4", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "f46b3fd8-c78d-4203-acf3-dec44e6a0330", - "nameSingular": "viewGroup", - "namePlural": "viewGroups" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "66a8054a-4d36-49af-bd29-c48c63383c95", - "name": "view" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", - "nameSingular": "view", - "namePlural": "views" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "1c0d42dd-1339-4228-9e7c-1fd00d6913f4", - "name": "viewGroups" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "432000f7-c86f-4e85-8ba0-67d2c6b24735", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a6d801ab-86c2-4927-9514-15941ceb3f01", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "35e01744-4117-4f1f-91b5-6e91a014cff9", - "type": FieldMetadataType.Uuid, - "name": "viewId", - "label": "View id (foreign key)", - "description": "View Group related view id foreign key", - "icon": "IconLayoutCollage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "9a2af221-ff70-462a-9a0d-273294f76b11", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_3819ec73f42c743a0d3700ae8e4", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "227f458e-c34d-4edc-a0cd-724b8d8198fb", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "35e01744-4117-4f1f-91b5-6e91a014cff9" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "e9677a5e-ce9b-44e2-840c-c73fc9c64f1e", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "calendarChannelEventAssociation", - "namePlural": "calendarChannelEventAssociations", - "labelSingular": "Calendar Channel Event Association", - "labelPlural": "Calendar Channel Event Associations", - "description": "Calendar Channel Event Associations", - "icon": "IconCalendar", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "56c8c695-a08b-406f-8a9a-5c3b7682a355", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjk=" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ac8bb4f0-4fb9-4d98-8649-fd32dae2ec7e", - "type": FieldMetadataType.Relation, - "name": "calendarEvent", - "label": "Event ID", - "description": "Event ID", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "8a9dd19e-e31a-4743-adbc-5570bdde4748", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "e9677a5e-ce9b-44e2-840c-c73fc9c64f1e", - "nameSingular": "calendarChannelEventAssociation", - "namePlural": "calendarChannelEventAssociations" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "ac8bb4f0-4fb9-4d98-8649-fd32dae2ec7e", - "name": "calendarEvent" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "e7a5e974-affc-40d5-be9f-2ba2783c21be", - "nameSingular": "calendarEvent", - "namePlural": "calendarEvents" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "67a1dc04-5e3a-4dda-8c21-4d1d74605b54", - "name": "calendarChannelEventAssociations" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "c90cfcf9-28a5-42ce-81c6-33ee9c106b73", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "24cf2a29-ee54-4fab-987f-7dc1e030828c", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0080b3c4-4976-4354-b46a-fa2e827be3e1", - "type": FieldMetadataType.Text, - "name": "recurringEventExternalId", - "label": "Recurring Event ID", - "description": "Recurring Event ID", - "icon": "IconHistory", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "56c8c695-a08b-406f-8a9a-5c3b7682a355", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "48184b1a-843b-4dc5-a3a9-d266b359301f", - "type": FieldMetadataType.Uuid, - "name": "calendarEventId", - "label": "Event ID id (foreign key)", - "description": "Event ID id foreign key", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d2ccfbf0-0c9b-446e-a147-73b79fa32a62", - "type": FieldMetadataType.Text, - "name": "eventExternalId", - "label": "Event external ID", - "description": "Event external ID", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "37cc04ac-ae53-40c5-8a66-bd2e84244f05", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4d0f0c12-fca8-4111-ab73-95ba8bc4c404", - "type": FieldMetadataType.Relation, - "name": "calendarChannel", - "label": "Channel ID", - "description": "Channel ID", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "9285dd0e-c431-421e-993f-17ddda252c29", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "e9677a5e-ce9b-44e2-840c-c73fc9c64f1e", - "nameSingular": "calendarChannelEventAssociation", - "namePlural": "calendarChannelEventAssociations" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "4d0f0c12-fca8-4111-ab73-95ba8bc4c404", - "name": "calendarChannel" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "024357b0-9d5b-4e68-b8e2-70acf57a9aba", - "nameSingular": "calendarChannel", - "namePlural": "calendarChannels" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "9f58df6d-c341-42ff-a4d3-1278b617f3c1", - "name": "calendarChannelEventAssociations" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "06d38735-2073-4a3d-9a67-45c7bd00df60", - "type": FieldMetadataType.Uuid, - "name": "calendarChannelId", - "label": "Channel ID id (foreign key)", - "description": "Channel ID id foreign key", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "3b18525d-7b87-4fa4-91b5-46cd6cfdf501", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_92a888b681107c4f78926820db7", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "dfa07df1-a071-4b7a-b574-32419d37b5f5", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "c90cfcf9-28a5-42ce-81c6-33ee9c106b73" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "da9fc6ec-8b75-4a24-8693-4923900fb409", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "48184b1a-843b-4dc5-a3a9-d266b359301f" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "63019d1e-d986-47d9-bf6e-200cea4422aa", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_a88c3ab301c25202d4b52fb4b1b", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "4e831c1f-8089-4c72-ab06-0a3f07247563", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "c90cfcf9-28a5-42ce-81c6-33ee9c106b73" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "3ce50d65-524e-4dea-8938-1802339bcf9f", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "06d38735-2073-4a3d-9a67-45c7bd00df60" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "opportunity", - "namePlural": "opportunities", - "labelSingular": "Opportunity", - "labelPlural": "Opportunities", - "description": "An opportunity", - "icon": "IconTargetArrow", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "75b1154a-d3db-4492-b9c7-ebbc046b0da6", - "imageIdentifierFieldMetadataId": null, - "shortcut": "O", - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjE5" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a532ecf7-6e9c-4980-8f2c-9b8b37f4f1ce", - "type": FieldMetadataType.Relation, - "name": "timelineActivities", - "label": "Timeline Activities", - "description": "Timeline Activities linked to the opportunity.", - "icon": "IconTimelineEvent", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "1f45c275-bc77-4469-b180-2be3916b6f08", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "nameSingular": "opportunity", - "namePlural": "opportunities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "a532ecf7-6e9c-4980-8f2c-9b8b37f4f1ce", - "name": "timelineActivities" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "5607d2b7-1027-42d2-9362-4b51d473758a", - "name": "opportunity" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1f28c888-a54d-427c-ac2b-b240a417c2a3", - "type": FieldMetadataType.Uuid, - "name": "companyId", - "label": "Company id (foreign key)", - "description": "Opportunity company id foreign key", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "13c8798a-234a-42ab-8051-c3a8a2478811", - "type": FieldMetadataType.Relation, - "name": "attachments", - "label": "Attachments", - "description": "Attachments linked to the opportunity", - "icon": "IconFileImport", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "d6f4bd6d-7d93-4111-b885-61c7f63a1edc", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "nameSingular": "opportunity", - "namePlural": "opportunities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "13c8798a-234a-42ab-8051-c3a8a2478811", - "name": "attachments" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "nameSingular": "attachment", - "namePlural": "attachments" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "98c67807-d6b1-4d77-8788-88e09e4495f1", - "name": "opportunity" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "57b74932-1aa3-4372-9962-138ff1493eeb", - "type": FieldMetadataType.Relation, - "name": "favorites", - "label": "Favorites", - "description": "Favorites linked to the opportunity", - "icon": "IconHeart", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "0cc12e6a-f7f5-40e5-a686-0eba9c8ed934", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "nameSingular": "opportunity", - "namePlural": "opportunities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "57b74932-1aa3-4372-9962-138ff1493eeb", - "name": "favorites" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "e1c22c51-fdf3-4c9f-bcce-e4e4c0ebc915", - "name": "opportunity" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "77cf5639-c273-4495-897c-87b559433b79", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "306eda7f-5483-49a6-89ac-3b5290f54040", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8ed10688-93f8-4d1e-8051-47c784244be1", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "13cc2ff2-c423-4502-8ea3-d7679b86bcd0", - "type": FieldMetadataType.Relation, - "name": "noteTargets", - "label": "Notes", - "description": "Notes tied to the opportunity", - "icon": "IconNotes", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "a1922bea-dc39-46ce-9237-3d969a82897e", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "nameSingular": "opportunity", - "namePlural": "opportunities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "13cc2ff2-c423-4502-8ea3-d7679b86bcd0", - "name": "noteTargets" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", - "nameSingular": "noteTarget", - "namePlural": "noteTargets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "6a1cb524-661c-4a0a-8552-edd5ee8c3070", - "name": "opportunity" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "fb964332-c2a5-43d0-8da1-ff7127fa0a42", - "type": FieldMetadataType.Relation, - "name": "pointOfContact", - "label": "Point of Contact", - "description": "Opportunity point of contact", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "6aa55cb7-0038-495b-97f2-c80a48c5819a", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "nameSingular": "opportunity", - "namePlural": "opportunities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "fb964332-c2a5-43d0-8da1-ff7127fa0a42", - "name": "pointOfContact" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "dbec4d0c-a037-42d9-8e49-b945f65eec23", - "name": "pointOfContactForOpportunities" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "69eeb44c-8fa2-4b89-9a12-cc4668c4334d", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "c9b17c6b-286e-4ee9-af2c-01fca39e46c9", - "type": FieldMetadataType.TsVector, - "name": "searchVector", - "label": "Search vector", - "description": "Field used for full-text search", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "98bc2348-f202-4525-82cf-ce4f992e58fc", - "type": FieldMetadataType.Select, - "name": "stage", - "label": "Stage", - "description": "Opportunity stage", - "icon": "IconProgressCheck", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'NEW'", - "options": [ - { - "id": "0db17ea8-55e2-4095-83c7-52a3d7846e68", - "color": "red", - "label": "New", - "value": "NEW", - "position": 0 - }, - { - "id": "7907806c-0fb9-4619-8014-07cf753c9608", - "color": "purple", - "label": "Screening", - "value": "SCREENING", - "position": 1 - }, - { - "id": "2084e0b5-bf8d-4a19-8c76-c7fcaa6eb5a7", - "color": "sky", - "label": "Meeting", - "value": "MEETING", - "position": 2 - }, - { - "id": "9f2a2b87-7393-46ca-ba5a-5483ec9995fc", - "color": "turquoise", - "label": "Proposal", - "value": "PROPOSAL", - "position": 3 - }, - { - "id": "29b9cf49-ff05-40cc-baf0-cdb2f8a1e5bf", - "color": "yellow", - "label": "Customer", - "value": "CUSTOMER", - "position": 4 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a5666ad4-ad67-4b27-b9a6-6dd3d1b59d97", - "type": FieldMetadataType.Currency, - "name": "amount", - "label": "Amount", - "description": "Opportunity amount", - "icon": "IconCurrencyDollar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "amountMicros": null, - "currencyCode": "''" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e24d5ae6-6675-4b3e-a52f-5c21df92fb7c", - "type": FieldMetadataType.DateTime, - "name": "closeDate", - "label": "Close date", - "description": "Opportunity close date", - "icon": "IconCalendarEvent", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0a687cbd-7462-41ec-a23b-d6430de48cf0", - "type": FieldMetadataType.Relation, - "name": "taskTargets", - "label": "Tasks", - "description": "Tasks tied to the opportunity", - "icon": "IconCheckbox", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "e1ee47a2-c138-4d9d-95da-46e3c7ee0816", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "nameSingular": "opportunity", - "namePlural": "opportunities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "0a687cbd-7462-41ec-a23b-d6430de48cf0", - "name": "taskTargets" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "84c4f534-4798-47ab-b725-a122e966ae9e", - "nameSingular": "taskTarget", - "namePlural": "taskTargets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "62113668-83c0-4b0d-93de-b3380a4378c0", - "name": "opportunity" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "75b1154a-d3db-4492-b9c7-ebbc046b0da6", - "type": FieldMetadataType.Text, - "name": "name", - "label": "Name", - "description": "The opportunity name", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "65c671ad-fca9-473f-b76a-74c02922cd62", - "type": FieldMetadataType.Uuid, - "name": "pointOfContactId", - "label": "Point of Contact id (foreign key)", - "description": "Opportunity point of contact id foreign key", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "eb803915-2b19-44ff-86dd-3de5753f8ee2", - "type": FieldMetadataType.Position, - "name": "position", - "label": "Position", - "description": "Opportunity record position", - "icon": "IconHierarchy2", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "92d11fd5-ea02-4d32-a737-411fac9fd8b5", - "type": FieldMetadataType.Relation, - "name": "company", - "label": "Company", - "description": "Opportunity company", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "ca9f7a40-30f1-4f83-a8cc-6bdd30ad8056", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "nameSingular": "opportunity", - "namePlural": "opportunities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "92d11fd5-ea02-4d32-a737-411fac9fd8b5", - "name": "company" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "029aa48f-d842-4120-9ad1-ded40547ac61", - "name": "opportunities" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "55864fe7-c125-407d-b1eb-f9e51f8d6f4b", - "type": FieldMetadataType.Actor, - "name": "createdBy", - "label": "Created by", - "description": "The creator of the record", - "icon": "IconCreativeCommonsSa", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "name": "''", - "source": "'MANUAL'" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "9311b7fd-4808-4679-b100-54cbf379d77a", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_9f96d65260c4676faac27cb6bf3", - "indexWhereClause": null, - "indexType": IndexType.Gin, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "aa5a7130-8266-423c-a7c1-7a6f57cde89f", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "c9b17c6b-286e-4ee9-af2c-01fca39e46c9" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "25a06cab-a0b3-4702-a46e-506c26576d66", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_4f469d3a7ee08aefdc099836364", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "be0953ba-0547-41b3-acdf-6c9290f27ffc", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "77cf5639-c273-4495-897c-87b559433b79" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "d0af7130-631c-4980-86cc-59719b7bd37f", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_82cdf247553f960093baa7c6635", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "c4a04777-572a-407a-9883-43cc9e89907a", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "77cf5639-c273-4495-897c-87b559433b79" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "f67113c7-e2e1-436b-9e49-3d50b7c1b3d6", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "65c671ad-fca9-473f-b76a-74c02922cd62" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "105b3d42-6ec9-443a-a1d8-8c394961be05", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_425ac6c73ecb993cf9cbc2c2b00", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "d0812a0f-553a-45c6-9844-50692a593fdb", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "1f28c888-a54d-427c-ac2b-b240a417c2a3" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "e7a5e974-affc-40d5-be9f-2ba2783c21be", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "calendarEvent", - "namePlural": "calendarEvents", - "labelSingular": "Calendar event", - "labelPlural": "Calendar events", - "description": "Calendar events", - "icon": "IconCalendar", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "54286517-a277-407e-b90d-d52bfdcc8413", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [] - }, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjE3" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ba15e75b-b2ff-46ed-a51c-e1c78f30e7ab", - "type": FieldMetadataType.Text, - "name": "conferenceSolution", - "label": "Conference Solution", - "description": "Conference Solution", - "icon": "IconScreenShare", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8c4e0319-cbae-4b47-b7e3-04dcabed5de7", - "type": FieldMetadataType.DateTime, - "name": "externalCreatedAt", - "label": "Creation DateTime", - "description": "Creation DateTime", - "icon": "IconCalendarPlus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "dd586184-7c2d-4cd0-9acf-66eb5b35e748", - "type": FieldMetadataType.DateTime, - "name": "endsAt", - "label": "End Date", - "description": "End Date", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "35a7c874-d55b-47b5-8e6f-7c3cad1a814a", - "type": FieldMetadataType.DateTime, - "name": "externalUpdatedAt", - "label": "Update DateTime", - "description": "Update DateTime", - "icon": "IconCalendarCog", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "be9c35ab-b3eb-4053-971a-88f7ad3b5636", - "type": FieldMetadataType.Boolean, - "name": "isCanceled", - "label": "Is canceled", - "description": "Is canceled", - "icon": "IconCalendarCancel", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": false, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "543d7dba-1469-4733-af82-daea7a226944", - "type": FieldMetadataType.Links, - "name": "conferenceLink", - "label": "Meet Link", - "description": "Meet Link", - "icon": "IconLink", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "primaryLinkUrl": "''", - "secondaryLinks": null, - "primaryLinkLabel": "''" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "73dcdf65-ba3f-4a1f-984b-b1364e111151", - "type": FieldMetadataType.DateTime, - "name": "startsAt", - "label": "Start Date", - "description": "Start Date", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "50ba6c47-1d45-48e2-b3f0-71b82e7f2b91", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d1ac1b77-5a11-445b-8900-740ecd0466e1", - "type": FieldMetadataType.Boolean, - "name": "isFullDay", - "label": "Is Full Day", - "description": "Is Full Day", - "icon": "Icon24Hours", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": false, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b2be2ff3-4d92-4326-a18a-2fbca11bb0f6", - "type": FieldMetadataType.Text, - "name": "iCalUID", - "label": "iCal UID", - "description": "iCal UID", - "icon": "IconKey", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "54286517-a277-407e-b90d-d52bfdcc8413", - "type": FieldMetadataType.Text, - "name": "title", - "label": "Title", - "description": "Title", - "icon": "IconH1", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a24a0b33-866c-4e8c-beb8-59ff70e2b567", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "09edc594-fdc7-44a4-8079-9560c804e85b", - "type": FieldMetadataType.Relation, - "name": "calendarEventParticipants", - "label": "Event Participants", - "description": "Event Participants", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "3d04a82d-f4eb-4c8d-b09f-e86409e0883b", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "e7a5e974-affc-40d5-be9f-2ba2783c21be", - "nameSingular": "calendarEvent", - "namePlural": "calendarEvents" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "09edc594-fdc7-44a4-8079-9560c804e85b", - "name": "calendarEventParticipants" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "5706c0cc-9d33-4bb8-8b6d-db74b8d882c8", - "nameSingular": "calendarEventParticipant", - "namePlural": "calendarEventParticipants" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "1cb56c41-518b-4c17-a171-03c078c5da81", - "name": "calendarEvent" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "67a1dc04-5e3a-4dda-8c21-4d1d74605b54", - "type": FieldMetadataType.Relation, - "name": "calendarChannelEventAssociations", - "label": "Calendar Channel Event Associations", - "description": "Calendar Channel Event Associations", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "8a9dd19e-e31a-4743-adbc-5570bdde4748", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "e7a5e974-affc-40d5-be9f-2ba2783c21be", - "nameSingular": "calendarEvent", - "namePlural": "calendarEvents" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "67a1dc04-5e3a-4dda-8c21-4d1d74605b54", - "name": "calendarChannelEventAssociations" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "e9677a5e-ce9b-44e2-840c-c73fc9c64f1e", - "nameSingular": "calendarChannelEventAssociation", - "namePlural": "calendarChannelEventAssociations" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "ac8bb4f0-4fb9-4d98-8649-fd32dae2ec7e", - "name": "calendarEvent" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "606a1a41-3b40-4eab-8c99-8cae5bfda4e0", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e8557e5a-6d22-455a-b5f5-25df58845478", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "95223c7e-dfe9-4c8c-a278-04b7b385d81f", - "type": FieldMetadataType.Text, - "name": "description", - "label": "Description", - "description": "Description", - "icon": "IconFileDescription", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "433292a4-cdae-4752-a291-c32b2db8ff85", - "type": FieldMetadataType.Text, - "name": "location", - "label": "Location", - "description": "Location", - "icon": "IconMapPin", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "c0242465-7a74-439d-9b8c-60737c781e3f", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "viewSort", - "namePlural": "viewSorts", - "labelSingular": "View Sort", - "labelPlural": "View Sorts", - "description": "(System) View Sorts", - "icon": "IconArrowsSort", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "ce16d1b1-d034-463d-802a-9bdf85621e96", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjc=" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e79e466c-e7fa-460d-be8b-be17973e9f4e", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ce16d1b1-d034-463d-802a-9bdf85621e96", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a6575e42-bc36-4bfd-bcdf-9b5236cc798f", - "type": FieldMetadataType.Text, - "name": "direction", - "label": "Direction", - "description": "View Sort direction", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'asc'", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8a7b8246-7699-4a1e-a946-6378ad2a904f", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "27d1a7d0-e4f1-4e88-9460-004838fb9075", - "type": FieldMetadataType.Uuid, - "name": "viewId", - "label": "View id (foreign key)", - "description": "View Sort related view id foreign key", - "icon": "IconLayoutCollage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "dca82c7e-aff3-4a8e-94ce-6174c6dfd950", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "eb4e0589-4d58-4ded-9261-7f91c75b4ef5", - "type": FieldMetadataType.Relation, - "name": "view", - "label": "View", - "description": "View Sort related view", - "icon": "IconLayoutCollage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "a76af472-0c5f-420c-8f7a-96827675d084", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "c0242465-7a74-439d-9b8c-60737c781e3f", - "nameSingular": "viewSort", - "namePlural": "viewSorts" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "eb4e0589-4d58-4ded-9261-7f91c75b4ef5", - "name": "view" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", - "nameSingular": "view", - "namePlural": "views" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "8ea5df10-7aaf-417f-b131-e18c902b7330", - "name": "viewSorts" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "860225c1-357f-46d1-8d5d-6334da2213cc", - "type": FieldMetadataType.Uuid, - "name": "fieldMetadataId", - "label": "Field Metadata Id", - "description": "View Sort target field", - "icon": "IconTag", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "d41392b8-2a59-4a14-91ff-b6e6e87863dc", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_a01889a3e5b30d56447736329aa", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "c1029dbb-65f6-4281-b4fe-55c13ff2fb2b", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "27d1a7d0-e4f1-4e88-9460-004838fb9075" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "53bdad93-480a-45ab-a18f-3e9aa6d9df68", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "e79e466c-e7fa-460d-be8b-be17973e9f4e" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "attachment", - "namePlural": "attachments", - "labelSingular": "Attachment", - "labelPlural": "Attachments", - "description": "An attachment", - "icon": "IconFileImport", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "3c643758-d1b8-4605-b544-469f9a7aca35", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjIw" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b0c5d631-1242-4fbc-9570-501a17a65338", - "type": FieldMetadataType.Relation, - "name": "rocket", - "label": "Rocket", - "description": "Attachment Rocket", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.780Z", - "updatedAt": "2024-10-30T13:39:30.780Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "bf3ebee1-7f7c-4f0a-923b-278b055708d9", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "nameSingular": "attachment", - "namePlural": "attachments" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "b0c5d631-1242-4fbc-9570-501a17a65338", - "name": "rocket" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", - "nameSingular": "rocket", - "namePlural": "rockets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "6e47f007-07b7-4158-8c17-412fb3685545", - "name": "attachments" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b603e4f0-a364-47e2-93a2-794d67f26d48", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "31a56b77-b8ba-416d-bf48-b43d08dfdf5d", - "type": FieldMetadataType.Uuid, - "name": "companyId", - "label": "Company id (foreign key)", - "description": "Attachment company id foreign key", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "62d99c85-a1ca-44d1-ab8c-b8c34c5860a2", - "type": FieldMetadataType.Uuid, - "name": "authorId", - "label": "Author id (foreign key)", - "description": "Attachment author id foreign key", - "icon": "IconCircleUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "c72fe729-e505-449c-b3a9-1987ba4d70e0", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0498c627-ac84-46e1-b7dc-fe6f2e3f204f", - "type": FieldMetadataType.Text, - "name": "fullPath", - "label": "Full path", - "description": "Attachment full path", - "icon": "IconLink", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "10c6236c-2bb6-4a11-ad24-3e8695c24616", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "98c67807-d6b1-4d77-8788-88e09e4495f1", - "type": FieldMetadataType.Relation, - "name": "opportunity", - "label": "Opportunity", - "description": "Attachment opportunity", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "d6f4bd6d-7d93-4111-b885-61c7f63a1edc", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "nameSingular": "attachment", - "namePlural": "attachments" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "98c67807-d6b1-4d77-8788-88e09e4495f1", - "name": "opportunity" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "nameSingular": "opportunity", - "namePlural": "opportunities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "13c8798a-234a-42ab-8051-c3a8a2478811", - "name": "attachments" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ee3e26b4-e615-4cf5-82bd-32abd4c65683", - "type": FieldMetadataType.Uuid, - "name": "opportunityId", - "label": "Opportunity id (foreign key)", - "description": "Attachment opportunity id foreign key", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "9033f278-7b1d-4a7e-9989-c3d3b6fd750b", - "type": FieldMetadataType.Uuid, - "name": "personId", - "label": "Person id (foreign key)", - "description": "Attachment person id foreign key", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4ccca276-e876-4a1d-b64b-12ab3242b605", - "type": FieldMetadataType.Relation, - "name": "person", - "label": "Person", - "description": "Attachment person", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "13103358-7184-4a0c-87e7-1f622480cb36", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "nameSingular": "attachment", - "namePlural": "attachments" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "4ccca276-e876-4a1d-b64b-12ab3242b605", - "name": "person" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "bc5fe4dd-e737-4596-bbb2-50660f43b920", - "name": "attachments" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3ca64b7f-1365-4d71-add0-c5439be2b4a3", - "type": FieldMetadataType.Uuid, - "name": "noteId", - "label": "Note id (foreign key)", - "description": "Attachment note id foreign key", - "icon": "IconNotes", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "12eb10d6-2890-4c94-a278-5e94f9dd3d3e", - "type": FieldMetadataType.Relation, - "name": "company", - "label": "Company", - "description": "Attachment company", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "06685252-e45f-4be7-b26c-4cef8f9f1bf6", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "nameSingular": "attachment", - "namePlural": "attachments" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "12eb10d6-2890-4c94-a278-5e94f9dd3d3e", - "name": "company" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "53fc0161-cf55-4c8e-bf86-64197868a89a", - "name": "attachments" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "cdf24ecd-536b-430c-a5d5-01d875f6d72d", - "type": FieldMetadataType.Relation, - "name": "author", - "label": "Author", - "description": "Attachment author", - "icon": "IconCircleUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "032b61bb-ee5d-4996-8988-644cd785f0d5", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "nameSingular": "attachment", - "namePlural": "attachments" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "cdf24ecd-536b-430c-a5d5-01d875f6d72d", - "name": "author" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "612338fe-45ea-444b-845e-a2d049b86f80", - "name": "authoredAttachments" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "42e91677-2ca8-47ca-bce9-0f89369fe20e", - "type": FieldMetadataType.Relation, - "name": "note", - "label": "Note", - "description": "Attachment note", - "icon": "IconNotes", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "54b587f6-d064-4d26-ad76-bb25c02467ba", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "nameSingular": "attachment", - "namePlural": "attachments" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "42e91677-2ca8-47ca-bce9-0f89369fe20e", - "name": "note" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "7adf354a-c57f-4c76-8079-259f237dc5da", - "nameSingular": "note", - "namePlural": "notes" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "2e691afe-cf6b-4d3a-9197-fd524c26eed7", - "name": "attachments" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7dc36395-4c42-42cf-be4e-ce5c2a37f52e", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1b79ba2b-e179-4d58-b864-aeed0b2b8647", - "type": FieldMetadataType.Uuid, - "name": "taskId", - "label": "Task id (foreign key)", - "description": "Attachment task id foreign key", - "icon": "IconNotes", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3c643758-d1b8-4605-b544-469f9a7aca35", - "type": FieldMetadataType.Text, - "name": "name", - "label": "Name", - "description": "Attachment name", - "icon": "IconFileUpload", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e1186bb6-6864-4a5e-99bb-c77c2a3fd747", - "type": FieldMetadataType.Relation, - "name": "task", - "label": "Task", - "description": "Attachment task", - "icon": "IconNotes", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "10a59354-1c7c-4f9d-8ef4-5834319fbed0", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "nameSingular": "attachment", - "namePlural": "attachments" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "e1186bb6-6864-4a5e-99bb-c77c2a3fd747", - "name": "task" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", - "nameSingular": "task", - "namePlural": "tasks" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "0426d319-3928-4dfc-93ce-d4cc6172b30d", - "name": "attachments" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e4b8efea-e530-4d71-93d0-1bab8b7de560", - "type": FieldMetadataType.Text, - "name": "type", - "label": "Type", - "description": "Attachment type", - "icon": "IconList", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "26b6ac5f-e7bc-4107-82cd-4deb51c62966", - "type": FieldMetadataType.Uuid, - "name": "rocketId", - "label": "Rocket ID (foreign key)", - "description": "Attachment Rocket id foreign key", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.637Z", - "updatedAt": "2024-10-30T13:39:30.637Z", - "defaultValue": null, - "options": null, - "settings": { - "isForeignKey": true - }, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "4c5b5ca6-80bf-4d0d-a0cb-247d2fc59675", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_2055e4e583e9a2e5b4c239fd992", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "742622b9-53cc-4638-9695-f09f2de6f27b", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "1b79ba2b-e179-4d58-b864-aeed0b2b8647" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "ce735c2d-1818-456a-a3b5-f06e784186e0", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_91e687ea21123af4e02c9a07a43", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "e5d0c4ed-3a43-407d-808a-73493c28d7fb", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_3ca1d5243ff67f58c7c65c9a8a2", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "2a221b25-860b-43ca-a881-651b48d1b013", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "9033f278-7b1d-4a7e-9989-c3d3b6fd750b" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "e313c85c-90d7-4d26-801d-24f79a118f42", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "c72fe729-e505-449c-b3a9-1987ba4d70e0" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "f80ceedc-e94d-4303-9f31-993097c7ad38", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_0698fed0e67005b7051b5d353b6", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "dae922ce-13c9-49ee-97aa-67b452b1a919", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "3ca64b7f-1365-4d71-add0-c5439be2b4a3" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "657ab772-28a5-4d8f-a48d-c0f704ae4960", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "c72fe729-e505-449c-b3a9-1987ba4d70e0" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "4435a337-4bb0-4191-a489-dc02a3bec5cd", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_73615a6bdc972b013956b19c59e", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "432ca636-9856-429f-a5e9-a0e540d84bb5", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "ee3e26b4-e615-4cf5-82bd-32abd4c65683" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "b8779f2a-0e28-4a21-afa2-b6efc0e4a5e9", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_30f969e0ec549acca94396d3efe", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "5331f45b-7bb4-46e0-b600-e125632c6fcf", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "c72fe729-e505-449c-b3a9-1987ba4d70e0" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "b6ebd1d3-81ea-432d-9e43-87d92c76aaca", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "webhook", - "namePlural": "webhooks", - "labelSingular": "Webhook", - "labelPlural": "Webhooks", - "description": "A webhook", - "icon": "IconRobot", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "4724a667-cc81-4ab8-b539-7cfb600d64fd", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [] - }, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjY=" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a0afb833-f69f-412b-a7ba-26943ed3fb56", - "type": FieldMetadataType.Text, - "name": "description", - "label": "Description", - "description": null, - "icon": "IconInfo", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0e1b5461-98df-41d1-a33b-fec6bf065b19", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "153053af-3c65-419e-a4b0-126f53b55304", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4724a667-cc81-4ab8-b539-7cfb600d64fd", - "type": FieldMetadataType.Text, - "name": "targetUrl", - "label": "Target Url", - "description": "Webhook target url", - "icon": "IconLink", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3342fee9-486b-4e00-9277-77fe81cc330d", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "06b7e134-e473-4ba5-a581-af7e3c4556ae", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "5287c4e3-8766-413b-b461-dd1f0da42f0f", - "type": FieldMetadataType.Array, - "name": "operations", - "label": "Operations", - "description": "Webhook operations", - "icon": "IconCheckbox", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": [ - "*.*" - ], - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "b62c1e5e-cb2c-4f66-bd0a-777ea6198ca8", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "workflowEventListener", - "namePlural": "workflowEventListeners", - "labelSingular": "WorkflowEventListener", - "labelPlural": "WorkflowEventListeners", - "description": "A workflow event listener", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "a6855cee-12e8-49a4-ad6d-2b35a49b1f5a", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjY=" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a6855cee-12e8-49a4-ad6d-2b35a49b1f5a", - "type": FieldMetadataType.Text, - "name": "eventName", - "label": "Name", - "description": "The workflow event listener name", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7e8b73cc-be95-44f2-900e-48c2adf2c599", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "aef588f4-f4e9-482c-aa4e-611f09066758", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "743d0810-9a03-4481-8397-716c3c7fe3b9", - "type": FieldMetadataType.Relation, - "name": "workflow", - "label": "Workflow", - "description": "WorkflowEventListener workflow", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "6208cf61-25fa-4660-9b39-ea1e52aa23c8", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "b62c1e5e-cb2c-4f66-bd0a-777ea6198ca8", - "nameSingular": "workflowEventListener", - "namePlural": "workflowEventListeners" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "743d0810-9a03-4481-8397-716c3c7fe3b9", - "name": "workflow" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", - "nameSingular": "workflow", - "namePlural": "workflows" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "27b31a92-d137-48e0-8abe-a979a92bd486", - "name": "eventListeners" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "c22fa0ef-9ccd-4619-af0e-0d7237830446", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "eeb228e9-5550-497d-961a-ee96983d6c9d", - "type": FieldMetadataType.Uuid, - "name": "workflowId", - "label": "Workflow id (foreign key)", - "description": "WorkflowEventListener workflow id foreign key", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3a827a88-014b-488d-85d2-5e0ebbed35fb", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "0cc69985-1fba-4631-9dd0-a2e65016813e", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_9d6a1fb98ccde16ede8c5949d40", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "6b638f96-2b1c-4830-afff-8b33867ef002", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "eeb228e9-5550-497d-961a-ee96983d6c9d" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "company", - "namePlural": "companies", - "labelSingular": "Company", - "labelPlural": "Companies", - "description": "A company", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "8c6fe2b6-1a6a-438b-af6f-7d928215c8a9", - "imageIdentifierFieldMetadataId": null, - "shortcut": "C", - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjI3" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "642dedcf-1ba1-45f4-9a66-ca1aa492e075", - "type": FieldMetadataType.Relation, - "name": "noteTargets", - "label": "Notes", - "description": "Notes tied to the company", - "icon": "IconNotes", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "f7894817-6567-44a9-a006-2eae13eee010", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "642dedcf-1ba1-45f4-9a66-ca1aa492e075", - "name": "noteTargets" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", - "nameSingular": "noteTarget", - "namePlural": "noteTargets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "7df89c3c-90bd-40ef-bbc9-289c119f1fd8", - "name": "company" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a6780762-90eb-47c4-9b63-9227d25ce311", - "type": FieldMetadataType.Position, - "name": "position", - "label": "Position", - "description": "Company record position", - "icon": "IconHierarchy2", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "340e2bc4-9759-4147-8f9b-5573139c4e02", - "type": FieldMetadataType.Boolean, - "name": "visaSponsorship", - "label": "Visa Sponsorship", - "description": "Company's Visa Sponsorship Policy", - "icon": "IconBrandVisa", - "isCustom": true, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:25.567Z", - "updatedAt": "2024-10-30T13:39:25.567Z", - "defaultValue": false, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d516ba45-592a-4fc8-9922-fbc711455f2e", - "type": FieldMetadataType.Actor, - "name": "createdBy", - "label": "Created by", - "description": "The creator of the record", - "icon": "IconCreativeCommonsSa", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "name": "''", - "source": "'MANUAL'" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d92db552-ee79-459e-9db4-513531ed7033", - "type": FieldMetadataType.MultiSelect, - "name": "workPolicy", - "label": "Work Policy", - "description": "Company's Work Policy", - "icon": "IconHome", - "isCustom": true, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:24.844Z", - "updatedAt": "2024-10-30T13:39:24.844Z", - "defaultValue": null, - "options": [ - { - "id": "d16932bf-4c73-4d35-8d97-f6bde19ed90d", - "color": "green", - "label": "On-Site", - "value": "ON_SITE", - "position": 0 - }, - { - "id": "9a79c27e-5459-4423-8548-5d2c38f88e95", - "color": "turquoise", - "label": "Hybrid", - "value": "HYBRID", - "position": 1 - }, - { - "id": "95f90eb1-c8ee-4f1d-8249-2f773a4c0372", - "color": "sky", - "label": "Remote Work", - "value": "REMOTE_WORK", - "position": 2 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "fd40372d-0805-4d54-a848-45b35c5ec4c7", - "type": FieldMetadataType.Relation, - "name": "timelineActivities", - "label": "Timeline Activities", - "description": "Timeline Activities linked to the company", - "icon": "IconIconTimelineEvent", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "267d91a0-27bf-4da8-a453-37b80e9553ab", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "fd40372d-0805-4d54-a848-45b35c5ec4c7", - "name": "timelineActivities" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "9febbd65-1690-4221-90d4-0da74f755899", - "name": "company" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ea7e9ce5-c5f7-404e-9439-ad9edf5d03cf", - "type": FieldMetadataType.Relation, - "name": "people", - "label": "People", - "description": "People linked to the company.", - "icon": "IconUsers", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "66654d28-8ce1-4750-8bd3-ba30a97af1eb", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "ea7e9ce5-c5f7-404e-9439-ad9edf5d03cf", - "name": "people" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "334443ec-bfd0-4492-8edd-9dd7def5f73e", - "name": "company" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "982f72bf-715d-4fdb-b201-df171280f97e", - "type": FieldMetadataType.Address, - "name": "address", - "label": "Address", - "description": "Address of the company", - "icon": "IconMap", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "addressLat": null, - "addressLng": null, - "addressCity": "''", - "addressState": "''", - "addressCountry": "''", - "addressStreet1": "''", - "addressStreet2": "''", - "addressPostcode": "''" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "eefb9aea-e9a0-4a05-860e-6df52f541399", - "type": FieldMetadataType.Links, - "name": "domainName", - "label": "Domain Name", - "description": "The company website URL. We use this url to fetch the company icon", - "icon": "IconLink", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "primaryLinkUrl": "''", - "secondaryLinks": null, - "primaryLinkLabel": "''" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "fce51268-dcdd-4e48-ba8e-dd7c140dd3d9", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "fc365a73-e616-4f34-bf2c-cf1564956d82", - "type": FieldMetadataType.Boolean, - "name": "idealCustomerProfile", - "label": "ICP", - "description": "Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you", - "icon": "IconTarget", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": false, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8447e8fa-bb6c-4a20-9b65-1e833227a0b5", - "type": FieldMetadataType.Relation, - "name": "taskTargets", - "label": "Tasks", - "description": "Tasks tied to the company", - "icon": "IconCheckbox", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "30fd536e-8ba7-43a1-93f9-b9c68a88f3ac", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "8447e8fa-bb6c-4a20-9b65-1e833227a0b5", - "name": "taskTargets" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "84c4f534-4798-47ab-b725-a122e966ae9e", - "nameSingular": "taskTarget", - "namePlural": "taskTargets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "a52d3978-f82a-4aa9-ae01-72e969eb2423", - "name": "company" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f39f993a-028d-4d7c-a5a7-46b11b9fdd13", - "type": FieldMetadataType.TsVector, - "name": "searchVector", - "label": "Search vector", - "description": "Field used for full-text search", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "6010c754-f6f7-4c35-ad8a-62acc2ae40c4", - "type": FieldMetadataType.Currency, - "name": "annualRecurringRevenue", - "label": "ARR", - "description": "Annual Recurring Revenue: The actual or estimated annual revenue of the company", - "icon": "IconMoneybag", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "amountMicros": null, - "currencyCode": "''" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "029aa48f-d842-4120-9ad1-ded40547ac61", - "type": FieldMetadataType.Relation, - "name": "opportunities", - "label": "Opportunities", - "description": "Opportunities linked to the company.", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "ca9f7a40-30f1-4f83-a8cc-6bdd30ad8056", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "029aa48f-d842-4120-9ad1-ded40547ac61", - "name": "opportunities" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "nameSingular": "opportunity", - "namePlural": "opportunities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "92d11fd5-ea02-4d32-a737-411fac9fd8b5", - "name": "company" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7ccaacd6-d980-47a0-8541-0d3aa4794d88", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b58023d5-18ab-4ef6-9d7a-d2ca06d3ddb9", - "type": FieldMetadataType.Links, - "name": "introVideo", - "label": "Intro Video", - "description": "Company's Intro Video", - "icon": "IconVideo", - "isCustom": true, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:24.028Z", - "updatedAt": "2024-10-30T13:39:24.028Z", - "defaultValue": { - "primaryLinkUrl": "''", - "secondaryLinks": null, - "primaryLinkLabel": "''" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "53fc0161-cf55-4c8e-bf86-64197868a89a", - "type": FieldMetadataType.Relation, - "name": "attachments", - "label": "Attachments", - "description": "Attachments linked to the company", - "icon": "IconFileImport", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "06685252-e45f-4be7-b26c-4cef8f9f1bf6", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "53fc0161-cf55-4c8e-bf86-64197868a89a", - "name": "attachments" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "nameSingular": "attachment", - "namePlural": "attachments" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "12eb10d6-2890-4c94-a278-5e94f9dd3d3e", - "name": "company" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "28e14cf6-e26a-4040-bf37-e4b7a4c05f7c", - "type": FieldMetadataType.Number, - "name": "employees", - "label": "Employees", - "description": "Number of employees in the company", - "icon": "IconUsers", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "2b22336f-343c-441a-adae-52091d1cb67e", - "type": FieldMetadataType.Text, - "name": "tagline", - "label": "Tagline", - "description": "Company's Tagline", - "icon": "IconAdCircle", - "isCustom": true, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:39:23.146Z", - "updatedAt": "2024-10-30T13:39:23.146Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4bea46f2-a4c1-4730-a1c6-d2c3cf3edd6c", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b084ffaf-20c5-406b-af22-9c0944e6c688", - "type": FieldMetadataType.Relation, - "name": "accountOwner", - "label": "Account Owner", - "description": "Your team member responsible for managing the company account", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "62947494-1253-4c6a-82a5-df867a406b55", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "b084ffaf-20c5-406b-af22-9c0944e6c688", - "name": "accountOwner" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "dfecc528-6d16-4400-8ffe-edd65300f36c", - "name": "accountOwnerForCompanies" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "74943406-a574-42b4-9ce0-9890c04c6e7d", - "type": FieldMetadataType.Links, - "name": "linkedinLink", - "label": "Linkedin", - "description": "The company Linkedin account", - "icon": "IconBrandLinkedin", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "primaryLinkUrl": "''", - "secondaryLinks": null, - "primaryLinkLabel": "''" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "22f3c2c1-124f-4304-861c-4aad29a00bd4", - "type": FieldMetadataType.Relation, - "name": "favorites", - "label": "Favorites", - "description": "Favorites linked to the company", - "icon": "IconHeart", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "825c3208-3eb6-47e6-bc5f-6e8b12d56923", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "22f3c2c1-124f-4304-861c-4aad29a00bd4", - "name": "favorites" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "19748dd4-4c79-4d32-ade4-1937d7c6a05f", - "name": "company" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "092990bf-ff31-4d01-9ac9-7ee1fc7cb150", - "type": FieldMetadataType.Links, - "name": "xLink", - "label": "X", - "description": "The company Twitter/X account", - "icon": "IconBrandX", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "primaryLinkUrl": "''", - "secondaryLinks": null, - "primaryLinkLabel": "''" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b0dc7f14-732a-41d5-8bf8-471a98ae9eb9", - "type": FieldMetadataType.Uuid, - "name": "accountOwnerId", - "label": "Account Owner id (foreign key)", - "description": "Your team member responsible for managing the company account id foreign key", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "2b4baf1c-164e-4ad9-b3ac-a44a50907411", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8c6fe2b6-1a6a-438b-af6f-7d928215c8a9", - "type": FieldMetadataType.Text, - "name": "name", - "label": "Name", - "description": "The company name", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "16d86822-f2d0-4d1b-9866-e006e54a7cba", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_fb1f4905546cfc6d70a971c76f7", - "indexWhereClause": null, - "indexType": IndexType.Gin, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "8a8052ee-3bfb-4817-a8a1-623ec1d90e6f", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_123501237187c835ede626367b7", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "a0a39cdf-0e03-4afe-99fa-9cfe5064fc4e", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "b0dc7f14-732a-41d5-8bf8-471a98ae9eb9" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "6c9e8d17-5b71-427d-935c-056160018a69", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "fce51268-dcdd-4e48-ba8e-dd7c140dd3d9" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "a9e16af5-593f-42a6-b311-e0dd391b416b", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "apiKey", - "namePlural": "apiKeys", - "labelSingular": "API Key", - "labelPlural": "API Keys", - "description": "An API key", - "icon": "IconRobot", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "7eee2c87-58f7-411c-b546-df594841314a", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [] - }, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjY=" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7eee2c87-58f7-411c-b546-df594841314a", - "type": FieldMetadataType.Text, - "name": "name", - "label": "Name", - "description": "ApiKey name", - "icon": "IconLink", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "24ec5812-fdc5-434c-b7ac-6b1d3624e7b4", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "6df1d2d6-992c-4989-9f49-12aad95a1c3d", - "type": FieldMetadataType.DateTime, - "name": "expiresAt", - "label": "Expiration date", - "description": "ApiKey expiration date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "fb3545ad-325c-4266-98ae-19b9185a5ceb", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "03e78250-9a5f-4b50-a1e6-ab55f6888e1b", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "db15aa7f-8374-486f-877f-7836956fe93d", - "type": FieldMetadataType.DateTime, - "name": "revokedAt", - "label": "Revocation date", - "description": "ApiKey revocation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e87822c9-b2cf-4e69-902e-982b4c9a3087", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers", - "labelSingular": "Workspace Member", - "labelPlural": "Workspace Members", - "description": "A workspace member", - "icon": "IconUserCircle", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "f65f22df-6e89-4dd8-b33b-2d888f869c6d", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjIz" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "611f0f9b-d4d3-42b6-9bb5-ab8d33e3befc", - "type": FieldMetadataType.Relation, - "name": "assignedTasks", - "label": "Assigned tasks", - "description": "Tasks assigned to the workspace member", - "icon": "IconCheckbox", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "ea04a6cc-b565-4da2-afff-fade0a20d08d", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "611f0f9b-d4d3-42b6-9bb5-ab8d33e3befc", - "name": "assignedTasks" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", - "nameSingular": "task", - "namePlural": "tasks" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "598b87cb-3d76-43e8-a4fa-beb10772f675", - "name": "assignee" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f65f22df-6e89-4dd8-b33b-2d888f869c6d", - "type": FieldMetadataType.FullName, - "name": "name", - "label": "Name", - "description": "Workspace member name", - "icon": "IconCircleUser", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "lastName": "''", - "firstName": "''" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "68f9360e-d2f2-4d48-9292-a877bc7729d1", - "type": FieldMetadataType.Uuid, - "name": "userId", - "label": "User Id", - "description": "Associated User Id", - "icon": "IconCircleUsers", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "759429eb-226b-49b7-84b7-c516b967be1b", - "type": FieldMetadataType.Select, - "name": "timeFormat", - "label": "Time format", - "description": "User's preferred time format", - "icon": "IconClock2", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'SYSTEM'", - "options": [ - { - "id": "2fc2338f-9e3d-4d5b-b78f-0c32070d404f", - "color": "sky", - "label": "System", - "value": "SYSTEM", - "position": 0 - }, - { - "id": "d27d4d75-7198-4e35-ad00-d5dcea62d2b9", - "color": "red", - "label": "24HRS", - "value": "HOUR_24", - "position": 1 - }, - { - "id": "2f9e0b4b-1fae-4c95-b2c0-f324427d8f66", - "color": "purple", - "label": "12HRS", - "value": "HOUR_12", - "position": 2 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "355b43d4-5576-4a56-b4c1-2819910348e6", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f5d083df-99d2-4a0d-b8a0-8158c0eaf1ed", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a71b33d8-b2d5-46be-afe5-f3f0d82c4385", - "type": FieldMetadataType.Text, - "name": "avatarUrl", - "label": "Avatar Url", - "description": "Workspace member avatar", - "icon": "IconFileUpload", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8c8a64e1-dc5f-4523-a216-af06910653b0", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ce8cc8f8-5923-4e04-bdc4-0b4728990e2d", - "type": FieldMetadataType.Text, - "name": "timeZone", - "label": "Time zone", - "description": "User time zone", - "icon": "IconTimezone", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'system'", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b0a371af-199c-4d76-b16f-08cd67f33f13", - "type": FieldMetadataType.Relation, - "name": "connectedAccounts", - "label": "Connected accounts", - "description": "Connected accounts", - "icon": "IconAt", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "1dd4ab3f-43a8-44a3-8676-3c6298a5428b", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "b0a371af-199c-4d76-b16f-08cd67f33f13", - "name": "connectedAccounts" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "5c1e17cb-3ed9-4024-b427-fe576d6ce3d1", - "nameSingular": "connectedAccount", - "namePlural": "connectedAccounts" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "12864caa-e6cc-450f-919d-a706fdb7b95f", - "name": "accountOwner" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "08caaae1-0bd7-411c-9af1-72d4169976f0", - "type": FieldMetadataType.Relation, - "name": "favorites", - "label": "Favorites", - "description": "Favorites linked to the workspace member", - "icon": "IconHeart", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "99e09c7d-bc02-4b11-b602-93e36a1f2b96", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "08caaae1-0bd7-411c-9af1-72d4169976f0", - "name": "favorites" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "25069fed-0167-4301-bab5-48d686bb78ac", - "name": "workspaceMember" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "dfecc528-6d16-4400-8ffe-edd65300f36c", - "type": FieldMetadataType.Relation, - "name": "accountOwnerForCompanies", - "label": "Account Owner For Companies", - "description": "Account owner for companies", - "icon": "IconBriefcase", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "62947494-1253-4c6a-82a5-df867a406b55", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "dfecc528-6d16-4400-8ffe-edd65300f36c", - "name": "accountOwnerForCompanies" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "b084ffaf-20c5-406b-af22-9c0944e6c688", - "name": "accountOwner" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "11c496ea-56e3-48e6-8ff9-09e287ce61dd", - "type": FieldMetadataType.Text, - "name": "userEmail", - "label": "User Email", - "description": "Related user email address", - "icon": "IconMail", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ccafab52-bde9-4ada-aa5d-d5e30c63186f", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "dff91df5-36ed-421f-ae00-280e9f7ac50d", - "type": FieldMetadataType.Relation, - "name": "timelineActivities", - "label": "Events", - "description": "Events linked to the workspace member", - "icon": "IconTimelineEvent", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "85f3aac1-28c3-4e62-b1b8-1e4741b13285", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "dff91df5-36ed-421f-ae00-280e9f7ac50d", - "name": "timelineActivities" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "0a7b67cf-5f49-4873-a617-6c6ccd47dd39", - "name": "workspaceMember" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "cfe91d89-2f0b-44e0-85f2-4c3fcc2b0fc2", - "type": FieldMetadataType.Relation, - "name": "blocklist", - "label": "Blocklist", - "description": "Blocklisted handles", - "icon": "IconForbid2", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "2bb7561a-2f23-4b9a-b45e-6fa3fcc7e7dc", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "cfe91d89-2f0b-44e0-85f2-4c3fcc2b0fc2", - "name": "blocklist" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "91e79010-c2a5-48e7-aced-56c702ffcbbf", - "nameSingular": "blocklist", - "namePlural": "blocklists" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "3a2dd1b1-b625-4e8b-a609-53f0496f8d9b", - "name": "workspaceMember" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "612338fe-45ea-444b-845e-a2d049b86f80", - "type": FieldMetadataType.Relation, - "name": "authoredAttachments", - "label": "Authored attachments", - "description": "Attachments created by the workspace member", - "icon": "IconFileImport", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "032b61bb-ee5d-4996-8988-644cd785f0d5", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "612338fe-45ea-444b-845e-a2d049b86f80", - "name": "authoredAttachments" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "nameSingular": "attachment", - "namePlural": "attachments" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "cdf24ecd-536b-430c-a5d5-01d875f6d72d", - "name": "author" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "def816a8-d43b-4e12-8374-c6b633e8b5c8", - "type": FieldMetadataType.Select, - "name": "dateFormat", - "label": "Date format", - "description": "User's preferred date format", - "icon": "IconCalendarEvent", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'SYSTEM'", - "options": [ - { - "id": "75f35dd6-4db3-4f14-bb81-8d47b91e2e4a", - "color": "turquoise", - "label": "System", - "value": "SYSTEM", - "position": 0 - }, - { - "id": "dd46d745-6ee6-43f7-93af-f9d1e2d988a6", - "color": "red", - "label": "Month First", - "value": "MONTH_FIRST", - "position": 1 - }, - { - "id": "5625cd7a-85fc-491d-ac81-4b4d1c2aefb8", - "color": "purple", - "label": "Day First", - "value": "DAY_FIRST", - "position": 2 - }, - { - "id": "b8120045-04f1-4128-adaf-ab75368b4698", - "color": "sky", - "label": "Year First", - "value": "YEAR_FIRST", - "position": 3 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "57429b6b-c02c-407d-bad3-3a891b8f9e69", - "type": FieldMetadataType.TsVector, - "name": "searchVector", - "label": "Search vector", - "description": "Field used for full-text search", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "2ac0f031-4d2a-4cb1-927f-3b32c9e03912", - "type": FieldMetadataType.Relation, - "name": "calendarEventParticipants", - "label": "Calendar Event Participants", - "description": "Calendar Event Participants", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "50ab4e40-3ac5-450d-92ed-5443e2854aa3", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "2ac0f031-4d2a-4cb1-927f-3b32c9e03912", - "name": "calendarEventParticipants" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "5706c0cc-9d33-4bb8-8b6d-db74b8d882c8", - "nameSingular": "calendarEventParticipant", - "namePlural": "calendarEventParticipants" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "6cfcc8ed-1a98-4669-a763-f1c8f1b04b78", - "name": "workspaceMember" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e2e10ea8-6dda-42fa-b60b-cde77e92989c", - "type": FieldMetadataType.Text, - "name": "colorScheme", - "label": "Color Scheme", - "description": "Preferred color scheme", - "icon": "IconColorSwatch", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'Light'", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "670a1d1c-10b9-443a-b7f2-5fcea0aee569", - "type": FieldMetadataType.Text, - "name": "locale", - "label": "Language", - "description": "Preferred language", - "icon": "IconLanguage", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'en'", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4503ee75-9eb3-44cc-b0d9-210564fcb07f", - "type": FieldMetadataType.Relation, - "name": "auditLogs", - "label": "Audit Logs", - "description": "Audit Logs linked to the workspace member", - "icon": "IconTimelineEvent", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "fd855e53-1a54-4db4-a76e-79d0f7883a61", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "4503ee75-9eb3-44cc-b0d9-210564fcb07f", - "name": "auditLogs" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "9d5a1b62-af03-48da-b050-3680604005a9", - "nameSingular": "auditLog", - "namePlural": "auditLogs" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "77675697-756f-439d-8989-d4e51f4b7b6c", - "name": "workspaceMember" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0acbe745-ae2d-4aac-a40d-0fb42b54c75f", - "type": FieldMetadataType.Relation, - "name": "messageParticipants", - "label": "Message Participants", - "description": "Message Participants", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "401899ac-1ea1-4b2a-bc9f-e8dbc0376245", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "0acbe745-ae2d-4aac-a40d-0fb42b54c75f", - "name": "messageParticipants" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "3afda1a8-e7ea-45e9-9c0c-f744ace5c20d", - "nameSingular": "messageParticipant", - "namePlural": "messageParticipants" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "a2b20d09-a23b-4de0-9ca8-2f1877a0f6d9", - "name": "workspaceMember" - } - } - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "4c92da4e-c21f-41b0-b43f-b033b0ea0ff7", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_e47451872f70c8f187a6b460ac7", - "indexWhereClause": null, - "indexType": IndexType.Gin, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "13bcb993-4f72-45aa-99dd-0ed584431b0a", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "57429b6b-c02c-407d-bad3-3a891b8f9e69" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "a031797c-fd59-4072-bad0-0f17a6236871", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "messageThread", - "namePlural": "messageThreads", - "labelSingular": "Message Thread", - "labelPlural": "Message Threads", - "description": "Message Thread", - "icon": "IconMessage", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "d613c5b5-66c9-4763-ab1c-c4a9889a57c7", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [] - }, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjQ=" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d613c5b5-66c9-4763-ab1c-c4a9889a57c7", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b66765d7-0e02-4daa-beb2-771a399a33be", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "5874543d-b861-466f-94d5-c78bed9da308", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "80d446e6-93fa-48ae-8cd7-b8369b2a4feb", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "2df434a7-1218-409a-91a9-9030eccf3e25", - "type": FieldMetadataType.Relation, - "name": "messages", - "label": "Messages", - "description": "Messages from the thread.", - "icon": "IconMessage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "4499287d-ffad-4966-a043-e5fecd6489a9", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "a031797c-fd59-4072-bad0-0f17a6236871", - "nameSingular": "messageThread", - "namePlural": "messageThreads" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "2df434a7-1218-409a-91a9-9030eccf3e25", - "name": "messages" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "3385d352-10a0-428f-9863-e52e7164b26c", - "nameSingular": "message", - "namePlural": "messages" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "79d2deca-9d03-4cf5-a618-2b0afe85c37d", - "name": "messageThread" - } - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "9d5a1b62-af03-48da-b050-3680604005a9", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "auditLog", - "namePlural": "auditLogs", - "labelSingular": "Audit Log", - "labelPlural": "Audit Logs", - "description": "An audit log of actions performed in the system", - "icon": "IconTimelineEvent", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "17732eff-a71c-456a-89ec-fe94fe811440", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjEx" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "369f1f4d-f14c-471a-9076-410ae7126b17", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "079fd4b7-e632-470e-b8db-8fb7232e0c2a", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b5760bd0-ce2f-4961-ba1c-788dd7258100", - "type": FieldMetadataType.Text, - "name": "objectName", - "label": "Object name", - "description": "Object name", - "icon": "IconAbc", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "17732eff-a71c-456a-89ec-fe94fe811440", - "type": FieldMetadataType.Text, - "name": "name", - "label": "Event name", - "description": "Event name/type", - "icon": "IconAbc", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "38d2cf2f-2bec-46a2-b3ab-2597e9f1ab6d", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e9afab55-6c9e-4bf1-a7bb-3d667177dd96", - "type": FieldMetadataType.Text, - "name": "objectMetadataId", - "label": "Object metadata id", - "description": "Object metadata id", - "icon": "IconAbc", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "9e8662d3-dc30-4d69-85e0-56bdd0004867", - "type": FieldMetadataType.Uuid, - "name": "workspaceMemberId", - "label": "Workspace Member id (foreign key)", - "description": "Event workspace member id foreign key", - "icon": "IconCircleUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "77675697-756f-439d-8989-d4e51f4b7b6c", - "type": FieldMetadataType.Relation, - "name": "workspaceMember", - "label": "Workspace Member", - "description": "Event workspace member", - "icon": "IconCircleUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "fd855e53-1a54-4db4-a76e-79d0f7883a61", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "9d5a1b62-af03-48da-b050-3680604005a9", - "nameSingular": "auditLog", - "namePlural": "auditLogs" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "77675697-756f-439d-8989-d4e51f4b7b6c", - "name": "workspaceMember" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "4503ee75-9eb3-44cc-b0d9-210564fcb07f", - "name": "auditLogs" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "fcbaf317-502c-4718-8c39-5b1ca8705636", - "type": FieldMetadataType.RawJson, - "name": "context", - "label": "Event context", - "description": "Json object to provide context (user, device, workspace, etc.)", - "icon": "IconListDetails", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "817041f1-c4c8-4f46-9f8d-c10345b0b63a", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "83c5204c-451d-498b-afd4-3ac735cecf08", - "type": FieldMetadataType.Uuid, - "name": "recordId", - "label": "Record id", - "description": "Record id", - "icon": "IconAbc", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3a5e3557-d40c-4850-b67e-7bd6b9e26ca3", - "type": FieldMetadataType.RawJson, - "name": "properties", - "label": "Event details", - "description": "Json value for event details", - "icon": "IconListDetails", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "82bd9b00-cc6c-428f-b959-1219858fd0b5", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_ca389a7ad7595bb15d733535998", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "91e79010-c2a5-48e7-aced-56c702ffcbbf", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "blocklist", - "namePlural": "blocklists", - "labelSingular": "Blocklist", - "labelPlural": "Blocklists", - "description": "Blocklist", - "icon": "IconForbid2", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "2996ffff-3796-4728-adc2-5b2ddd4770f4", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjY=" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f50f8926-0828-4017-b42a-33e3ff5bde1a", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "caa14977-89cb-4a0e-9cd2-c69c14e7bc0b", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3a2dd1b1-b625-4e8b-a609-53f0496f8d9b", - "type": FieldMetadataType.Relation, - "name": "workspaceMember", - "label": "WorkspaceMember", - "description": "WorkspaceMember", - "icon": "IconCircleUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "2bb7561a-2f23-4b9a-b45e-6fa3fcc7e7dc", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "91e79010-c2a5-48e7-aced-56c702ffcbbf", - "nameSingular": "blocklist", - "namePlural": "blocklists" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "3a2dd1b1-b625-4e8b-a609-53f0496f8d9b", - "name": "workspaceMember" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "cfe91d89-2f0b-44e0-85f2-4c3fcc2b0fc2", - "name": "blocklist" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "126e0a95-6f99-49f4-b5e4-76962aa1917d", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4cbe4a8d-ad60-4229-a195-957af7176bbe", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "2996ffff-3796-4728-adc2-5b2ddd4770f4", - "type": FieldMetadataType.Text, - "name": "handle", - "label": "Handle", - "description": "Handle", - "icon": "IconAt", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1cfa16a2-5045-4c79-a0bf-781f0ad673c1", - "type": FieldMetadataType.Uuid, - "name": "workspaceMemberId", - "label": "WorkspaceMember id (foreign key)", - "description": "WorkspaceMember id foreign key", - "icon": "IconCircleUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "3d1ebd88-7580-4b75-af2d-1ad60c363c84", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_76a190ab8a6f439791358d63d60", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "d2ac1a86-2797-420b-a117-6b14538ab702", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "f50f8926-0828-4017-b42a-33e3ff5bde1a" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "workflow", - "namePlural": "workflows", - "labelSingular": "Workflow", - "labelPlural": "Workflows", - "description": "A workflow", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "f5cbbd97-3b91-4cd0-b9de-27e510c98dcc", - "imageIdentifierFieldMetadataId": null, - "shortcut": "W", - "isLabelSyncedWithName": false, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [] - }, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjEy" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e5fa8aec-caf5-4334-8c39-d8f3eebfaabe", - "type": FieldMetadataType.Relation, - "name": "timelineActivities", - "label": "Timeline Activities", - "description": "Timeline activities linked to the workflow", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "143ea000-9a6f-4f1d-8c19-38f1c05ce3a7", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", - "nameSingular": "workflow", - "namePlural": "workflows" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "e5fa8aec-caf5-4334-8c39-d8f3eebfaabe", - "name": "timelineActivities" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "aac285c9-3c46-4bd2-b110-047a7d21ad13", - "name": "workflow" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "77965140-284f-4be9-950c-cdfcf1fe0ac3", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "eef4ac2b-0768-4241-bb7e-4d09d98afe88", - "type": FieldMetadataType.MultiSelect, - "name": "statuses", - "label": "Statuses", - "description": "The current statuses of the workflow versions", - "icon": "IconStatusChange", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": [ - { - "color": "yellow", - "label": "Draft", - "value": "DRAFT", - "position": 0 - }, - { - "color": "green", - "label": "Active", - "value": "ACTIVE", - "position": 1 - }, - { - "color": "grey", - "label": "Deactivated", - "value": "DEACTIVATED", - "position": 2 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f5cbbd97-3b91-4cd0-b9de-27e510c98dcc", - "type": FieldMetadataType.Text, - "name": "name", - "label": "Name", - "description": "The workflow name", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "91077fc1-8c52-4580-bfe7-f4ae97e4c575", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3a400bcf-4885-4f3d-b813-38ba888b368e", - "type": FieldMetadataType.Text, - "name": "lastPublishedVersionId", - "label": "Last published Version Id", - "description": "The workflow last published version id", - "icon": "IconVersions", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e5cd9745-d76a-4ebd-b1dd-d10bb55fbb3d", - "type": FieldMetadataType.Relation, - "name": "favorites", - "label": "Favorites", - "description": "Favorites linked to the workflow", - "icon": "IconHeart", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "34fba28a-888e-496e-b7d1-f621479c4647", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", - "nameSingular": "workflow", - "namePlural": "workflows" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "e5cd9745-d76a-4ebd-b1dd-d10bb55fbb3d", - "name": "favorites" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "f9355fc1-f4a5-41ec-a2ec-92d50d4eccae", - "name": "workflow" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "cd34b70c-4736-4ac3-b95d-0139d4f4f1bc", - "type": FieldMetadataType.Relation, - "name": "runs", - "label": "Runs", - "description": "Workflow runs linked to the workflow.", - "icon": "IconRun", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "65095364-7e71-4813-aeea-c467435e0cb9", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", - "nameSingular": "workflow", - "namePlural": "workflows" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "cd34b70c-4736-4ac3-b95d-0139d4f4f1bc", - "name": "runs" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "87ef9245-2665-45db-8193-b6d216b5df50", - "nameSingular": "workflowRun", - "namePlural": "workflowRuns" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "00a542d7-4b97-4f56-b07d-cfd73dbc7239", - "name": "workflow" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "27b31a92-d137-48e0-8abe-a979a92bd486", - "type": FieldMetadataType.Relation, - "name": "eventListeners", - "label": "Event Listeners", - "description": "Workflow event listeners linked to the workflow.", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "6208cf61-25fa-4660-9b39-ea1e52aa23c8", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", - "nameSingular": "workflow", - "namePlural": "workflows" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "27b31a92-d137-48e0-8abe-a979a92bd486", - "name": "eventListeners" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "b62c1e5e-cb2c-4f66-bd0a-777ea6198ca8", - "nameSingular": "workflowEventListener", - "namePlural": "workflowEventListeners" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "743d0810-9a03-4481-8397-716c3c7fe3b9", - "name": "workflow" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a94ec13e-6d0c-4df4-a52c-3a46c9420369", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "01508898-496f-4256-bc88-a907faedc424", - "type": FieldMetadataType.Relation, - "name": "versions", - "label": "Versions", - "description": "Workflow versions linked to the workflow.", - "icon": "IconVersions", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "6425441d-49f2-4cb5-a9e2-f4acce604da4", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", - "nameSingular": "workflow", - "namePlural": "workflows" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "01508898-496f-4256-bc88-a907faedc424", - "name": "versions" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "fad28eb7-a085-4917-93b3-579afd54f373", - "nameSingular": "workflowVersion", - "namePlural": "workflowVersions" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "2b8f293d-d90c-4796-8324-8a6fef5334fb", - "name": "workflow" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7abf7d15-4a71-444b-bb87-89ddffa26f08", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "461c770b-3c4e-41f0-ae57-bcc500df76d5", - "type": FieldMetadataType.Position, - "name": "position", - "label": "Position", - "description": "Workflow record position", - "icon": "IconHierarchy2", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "view", - "namePlural": "views", - "labelSingular": "View", - "labelPlural": "Views", - "description": "(System) Views", - "icon": "IconLayoutCollage", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "ee250cd9-9072-49e5-ae89-2456166d10d9", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [] - }, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjE3" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a82f3284-9cd6-4827-8c68-5e2dde6a0c1b", - "type": FieldMetadataType.Text, - "name": "kanbanFieldMetadataId", - "label": "kanbanfieldMetadataId", - "description": "View Kanban column field", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1c0d42dd-1339-4228-9e7c-1fd00d6913f4", - "type": FieldMetadataType.Relation, - "name": "viewGroups", - "label": "View Groups", - "description": "View Groups", - "icon": "IconTag", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "af260d5e-13f4-4e6a-bf9f-9790d4335ea4", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", - "nameSingular": "view", - "namePlural": "views" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "1c0d42dd-1339-4228-9e7c-1fd00d6913f4", - "name": "viewGroups" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "f46b3fd8-c78d-4203-acf3-dec44e6a0330", - "nameSingular": "viewGroup", - "namePlural": "viewGroups" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "66a8054a-4d36-49af-bd29-c48c63383c95", - "name": "view" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8ea5df10-7aaf-417f-b131-e18c902b7330", - "type": FieldMetadataType.Relation, - "name": "viewSorts", - "label": "View Sorts", - "description": "View Sorts", - "icon": "IconArrowsSort", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "a76af472-0c5f-420c-8f7a-96827675d084", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", - "nameSingular": "view", - "namePlural": "views" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "8ea5df10-7aaf-417f-b131-e18c902b7330", - "name": "viewSorts" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "c0242465-7a74-439d-9b8c-60737c781e3f", - "nameSingular": "viewSort", - "namePlural": "viewSorts" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "eb4e0589-4d58-4ded-9261-7f91c75b4ef5", - "name": "view" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "45bf17e3-2046-41a5-8f94-3da579a7b818", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "69cfdcf9-7eb3-4f8c-b3df-67a70727580e", - "type": FieldMetadataType.Text, - "name": "type", - "label": "Type", - "description": "View type", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'table'", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4dfaac45-6810-4444-a822-8c5b8983dd4b", - "type": FieldMetadataType.Boolean, - "name": "isCompact", - "label": "Compact View", - "description": "Describes if the view is in compact mode", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": false, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "fd272255-57dd-45c8-a2bf-a8da59f15e85", - "type": FieldMetadataType.Select, - "name": "key", - "label": "Key", - "description": "View key", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'INDEX'", - "options": [ - { - "id": "28ad717c-c82c-408c-a651-7b9dab217787", - "color": "red", - "label": "Index", - "value": "INDEX", - "position": 0 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b9a7d42c-2147-4d11-a6bc-04766ad30404", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "470c310b-cfe2-4491-8774-11fd24ec38d2", - "type": FieldMetadataType.Text, - "name": "icon", - "label": "Icon", - "description": "View icon", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d7a5d3aa-3975-45ec-8c9b-f7149289a849", - "type": FieldMetadataType.Relation, - "name": "favorites", - "label": "Favorites", - "description": "Favorites linked to the view", - "icon": "IconHeart", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "bfdbdf10-236c-4048-9965-8a0e16e5fe22", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", - "nameSingular": "view", - "namePlural": "views" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "d7a5d3aa-3975-45ec-8c9b-f7149289a849", - "name": "favorites" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "0b529980-643b-44f1-a007-328cf99be91a", - "name": "view" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ad547e8a-8363-4834-ae26-5e5c9e92f280", - "type": FieldMetadataType.Relation, - "name": "viewFilterGroups", - "label": "View Filter Groups", - "description": "View Filter Groups", - "icon": "IconFilterBolt", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "a7eb655c-ce3b-440f-8e8c-53e0f621da61", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", - "nameSingular": "view", - "namePlural": "views" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "ad547e8a-8363-4834-ae26-5e5c9e92f280", - "name": "viewFilterGroups" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "1b8027e7-e77e-43a9-8b99-ae672f0c2d96", - "nameSingular": "viewFilterGroup", - "namePlural": "viewFilterGroups" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "5fd33d47-cb5b-4c9d-a05e-e48e89541196", - "name": "view" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "c79c0149-a758-40d7-92ed-404fa796ef41", - "type": FieldMetadataType.Uuid, - "name": "objectMetadataId", - "label": "Object Metadata Id", - "description": "View target object", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "24a2711c-7273-4abf-bbbb-71ef3b1d25d5", - "type": FieldMetadataType.Relation, - "name": "viewFields", - "label": "View Fields", - "description": "View Fields", - "icon": "IconTag", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "e44f91d9-a6fc-440f-aa2b-b9b7d5446da6", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", - "nameSingular": "view", - "namePlural": "views" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "24a2711c-7273-4abf-bbbb-71ef3b1d25d5", - "name": "viewFields" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "68534b8b-9599-4e4b-9fb8-8a3c56adb871", - "nameSingular": "viewField", - "namePlural": "viewFields" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "f0bee61a-f5a0-4b60-af98-12f854be6127", - "name": "view" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "67b796cd-27b9-4a64-a3fb-1d4367e61f98", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "acd41982-5145-460e-8879-e98aa7a09f12", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ee250cd9-9072-49e5-ae89-2456166d10d9", - "type": FieldMetadataType.Text, - "name": "name", - "label": "Name", - "description": "View name", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "72a66df5-81b7-4b38-bc1c-c637b890c9f0", - "type": FieldMetadataType.Relation, - "name": "viewFilters", - "label": "View Filters", - "description": "View Filters", - "icon": "IconFilterBolt", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "62a743f6-0984-4b49-8e60-1845853db297", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", - "nameSingular": "view", - "namePlural": "views" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "72a66df5-81b7-4b38-bc1c-c637b890c9f0", - "name": "viewFilters" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "18c81dd7-1656-4cfd-930c-40917a8ebdb1", - "nameSingular": "viewFilter", - "namePlural": "viewFilters" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "07806fe5-7b74-4c75-b6b9-b31ed34201f8", - "name": "view" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "13b1d755-2ce2-48aa-b9c3-c59f0d86725d", - "type": FieldMetadataType.Position, - "name": "position", - "label": "Position", - "description": "View position", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "87ef9245-2665-45db-8193-b6d216b5df50", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "workflowRun", - "namePlural": "workflowRuns", - "labelSingular": "Workflow Run", - "labelPlural": "Workflow Runs", - "description": "A workflow run", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "5968ba3f-bc15-4989-ac5e-1b09a55a782a", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjE2" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "00a542d7-4b97-4f56-b07d-cfd73dbc7239", - "type": FieldMetadataType.Relation, - "name": "workflow", - "label": "Workflow", - "description": "Workflow linked to the run.", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "65095364-7e71-4813-aeea-c467435e0cb9", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "87ef9245-2665-45db-8193-b6d216b5df50", - "nameSingular": "workflowRun", - "namePlural": "workflowRuns" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "00a542d7-4b97-4f56-b07d-cfd73dbc7239", - "name": "workflow" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", - "nameSingular": "workflow", - "namePlural": "workflows" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "cd34b70c-4736-4ac3-b95d-0139d4f4f1bc", - "name": "runs" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "91543737-f39a-4b14-b0ac-62b071bb8303", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "28876be2-7039-438d-937b-2c0026413ee8", - "type": FieldMetadataType.Relation, - "name": "workflowVersion", - "label": "Workflow version", - "description": "Workflow version linked to the run.", - "icon": "IconVersions", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "6ab227db-4062-4786-a249-05df1ba98190", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "87ef9245-2665-45db-8193-b6d216b5df50", - "nameSingular": "workflowRun", - "namePlural": "workflowRuns" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "28876be2-7039-438d-937b-2c0026413ee8", - "name": "workflowVersion" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "fad28eb7-a085-4917-93b3-579afd54f373", - "nameSingular": "workflowVersion", - "namePlural": "workflowVersions" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "aa6e1d88-b8a9-4ffa-b7db-22cc28f1173b", - "name": "runs" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "5968ba3f-bc15-4989-ac5e-1b09a55a782a", - "type": FieldMetadataType.Text, - "name": "name", - "label": "Name", - "description": "Name of the workflow run", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0d947860-e6dd-4348-bc1e-407afd99cc63", - "type": FieldMetadataType.Actor, - "name": "createdBy", - "label": "Created by", - "description": "The creator of the record", - "icon": "IconCreativeCommonsSa", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "name": "''", - "source": "'MANUAL'" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f6c5125e-bd93-48cb-b829-cea2ee169288", - "type": FieldMetadataType.Relation, - "name": "favorites", - "label": "Favorites", - "description": "Favorites linked to the workflow run", - "icon": "IconHeart", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "8041189b-a0b0-4d4b-9fae-de4f3a11bbb5", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "87ef9245-2665-45db-8193-b6d216b5df50", - "nameSingular": "workflowRun", - "namePlural": "workflowRuns" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "f6c5125e-bd93-48cb-b829-cea2ee169288", - "name": "favorites" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "41dbf601-799d-4b39-9a55-e8bf3b443e55", - "name": "workflowRun" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "12e47ef0-3707-4884-881d-978abc609fc5", - "type": FieldMetadataType.RawJson, - "name": "output", - "label": "Output", - "description": "Json object to provide output of the workflow run", - "icon": "IconText", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "48dc78b2-05ea-46f4-a8bd-65af647b1fcf", - "type": FieldMetadataType.DateTime, - "name": "startedAt", - "label": "Workflow run started at", - "description": "Workflow run started at", - "icon": "IconHistory", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "48028f3a-50ee-46ea-96c6-f28824445184", - "type": FieldMetadataType.Uuid, - "name": "workflowId", - "label": "Workflow id (foreign key)", - "description": "Workflow linked to the run. id foreign key", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "47274092-c29c-4717-b7b0-2de1a1007beb", - "type": FieldMetadataType.Relation, - "name": "timelineActivities", - "label": "Timeline Activities", - "description": "Timeline activities linked to the run", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "c94de946-5251-4f3e-ac9e-02b3df402610", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "87ef9245-2665-45db-8193-b6d216b5df50", - "nameSingular": "workflowRun", - "namePlural": "workflowRuns" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "47274092-c29c-4717-b7b0-2de1a1007beb", - "name": "timelineActivities" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "b3a935ca-5797-4bfb-b783-cd7b7725e330", - "name": "workflowRun" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e7b715f3-5150-4294-9187-f2bb97a3de2a", - "type": FieldMetadataType.Uuid, - "name": "workflowVersionId", - "label": "Workflow version id (foreign key)", - "description": "Workflow version linked to the run. id foreign key", - "icon": "IconVersions", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "9b6942b5-6049-4edb-b1be-29117a300ab3", - "type": FieldMetadataType.Position, - "name": "position", - "label": "Position", - "description": "Workflow run position", - "icon": "IconHierarchy2", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "60ff2322-5514-4dd1-989b-dd92522879c7", - "type": FieldMetadataType.DateTime, - "name": "endedAt", - "label": "Workflow run ended at", - "description": "Workflow run ended at", - "icon": "IconHistory", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "9c85be84-5bcb-48d1-b78b-7a8c3f577fdd", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7b2c6214-9533-427c-a124-a7c24407762b", - "type": FieldMetadataType.Select, - "name": "status", - "label": "Workflow run status", - "description": "Workflow run status", - "icon": "IconStatusChange", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'NOT_STARTED'", - "options": [ - { - "id": "7f326a56-d18d-4676-82df-d9a0685677f4", - "color": "grey", - "label": "Not started", - "value": "NOT_STARTED", - "position": 0 - }, - { - "id": "a9a6a610-0217-43b0-ab1d-4e4706ada0bb", - "color": "yellow", - "label": "Running", - "value": "RUNNING", - "position": 1 - }, - { - "id": "9e5e045d-cb5e-4fdb-96c9-a46e0423f394", - "color": "green", - "label": "Completed", - "value": "COMPLETED", - "position": 2 - }, - { - "id": "91f8d0f6-bc4f-46a0-8f83-bd5d1f6a5bff", - "color": "red", - "label": "Failed", - "value": "FAILED", - "position": 3 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a9a10542-a375-47e5-ba56-869a0df30094", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "6c11c172-6ae8-496b-9e8e-bfdf10f8b956", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "694d33cc-92a6-4486-a155-25992cfcef61", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_eee970874f46ff99eefc0015001", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "d237d3c7-857e-45b2-929f-e145516dbb42", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "91543737-f39a-4b14-b0ac-62b071bb8303" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "ccdda23a-fb6a-4fa5-b668-61dea8f50a8d", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "48028f3a-50ee-46ea-96c6-f28824445184" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "23e612a7-31dd-49c8-8910-c9804240a3bf", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_faa5772594c4ce15b9305919f2f", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "84c4f534-4798-47ab-b725-a122e966ae9e", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "taskTarget", - "namePlural": "taskTargets", - "labelSingular": "Task Target", - "labelPlural": "Task Targets", - "description": "An task target", - "icon": "IconCheckbox", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "d57fbeeb-77b5-4797-ba59-8dff7b535578", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjEz" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "60309d2d-c7d6-4ea5-9dc6-b48609cd8b7f", - "type": FieldMetadataType.Relation, - "name": "task", - "label": "Task", - "description": "TaskTarget task", - "icon": "IconCheckbox", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "0e8029bc-671b-4842-9911-81942fe6220f", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "84c4f534-4798-47ab-b725-a122e966ae9e", - "nameSingular": "taskTarget", - "namePlural": "taskTargets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "60309d2d-c7d6-4ea5-9dc6-b48609cd8b7f", - "name": "task" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", - "nameSingular": "task", - "namePlural": "tasks" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "550afb9c-6f7e-444b-b4fa-2b6a4ae15843", - "name": "taskTargets" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d64849ec-9efb-4502-93de-8370ee7b4065", - "type": FieldMetadataType.Uuid, - "name": "companyId", - "label": "Company id (foreign key)", - "description": "TaskTarget company id foreign key", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f4ba4abd-ade1-45a3-a994-618bbd36ab56", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f309c2d8-9f5b-4b98-b5e0-f8cd9119cad5", - "type": FieldMetadataType.Relation, - "name": "rocket", - "label": "Rocket", - "description": "TaskTarget Rocket", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:31.244Z", - "updatedAt": "2024-10-30T13:39:31.244Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "1b99cd19-7266-4b95-bbab-18e3c21fa86e", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "84c4f534-4798-47ab-b725-a122e966ae9e", - "nameSingular": "taskTarget", - "namePlural": "taskTargets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "f309c2d8-9f5b-4b98-b5e0-f8cd9119cad5", - "name": "rocket" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", - "nameSingular": "rocket", - "namePlural": "rockets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "b2dd8997-fbde-4f55-8a3b-c3f1b8dd9328", - "name": "taskTargets" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "696fec5c-6c43-49c9-b293-a1695f76c646", - "type": FieldMetadataType.Uuid, - "name": "rocketId", - "label": "Rocket ID (foreign key)", - "description": "Task Target Rocket id foreign key", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:31.126Z", - "updatedAt": "2024-10-30T13:39:31.126Z", - "defaultValue": null, - "options": null, - "settings": { - "isForeignKey": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b0dcd662-f5ae-47c5-8e27-e6f1fc6e054a", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e4767ffd-9579-4e71-a21e-27bff7b9d095", - "type": FieldMetadataType.Uuid, - "name": "opportunityId", - "label": "Opportunity id (foreign key)", - "description": "TaskTarget opportunity id foreign key", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "bb9069a3-d70d-4298-a0d1-0a65fd25fa39", - "type": FieldMetadataType.Uuid, - "name": "taskId", - "label": "Task id (foreign key)", - "description": "TaskTarget task id foreign key", - "icon": "IconCheckbox", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d57fbeeb-77b5-4797-ba59-8dff7b535578", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b91ea220-8c90-4035-8b78-0d8fd29e73b7", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a52d3978-f82a-4aa9-ae01-72e969eb2423", - "type": FieldMetadataType.Relation, - "name": "company", - "label": "Company", - "description": "TaskTarget company", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "30fd536e-8ba7-43a1-93f9-b9c68a88f3ac", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "84c4f534-4798-47ab-b725-a122e966ae9e", - "nameSingular": "taskTarget", - "namePlural": "taskTargets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "a52d3978-f82a-4aa9-ae01-72e969eb2423", - "name": "company" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "8447e8fa-bb6c-4a20-9b65-1e833227a0b5", - "name": "taskTargets" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b2bbd05f-98d5-49bd-a690-61469162f76c", - "type": FieldMetadataType.Relation, - "name": "person", - "label": "Person", - "description": "TaskTarget person", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "e2479abf-7807-4ac0-b640-581e95bef640", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "84c4f534-4798-47ab-b725-a122e966ae9e", - "nameSingular": "taskTarget", - "namePlural": "taskTargets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "b2bbd05f-98d5-49bd-a690-61469162f76c", - "name": "person" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "2ae260b8-4aae-4f5e-8d2d-a073d280c837", - "name": "taskTargets" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "62113668-83c0-4b0d-93de-b3380a4378c0", - "type": FieldMetadataType.Relation, - "name": "opportunity", - "label": "Opportunity", - "description": "TaskTarget opportunity", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "e1ee47a2-c138-4d9d-95da-46e3c7ee0816", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "84c4f534-4798-47ab-b725-a122e966ae9e", - "nameSingular": "taskTarget", - "namePlural": "taskTargets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "62113668-83c0-4b0d-93de-b3380a4378c0", - "name": "opportunity" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "nameSingular": "opportunity", - "namePlural": "opportunities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "0a687cbd-7462-41ec-a23b-d6430de48cf0", - "name": "taskTargets" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1914b19c-eeee-4e3d-8231-a316aa64fe2f", - "type": FieldMetadataType.Uuid, - "name": "personId", - "label": "Person id (foreign key)", - "description": "TaskTarget person id foreign key", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "f5811523-199b-4ad1-b9a2-2509e9ead585", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_627d4437c96f22d5d46cc9a85bb", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "b2322b8c-49d9-4b20-8114-177ba9762842", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "bb9069a3-d70d-4298-a0d1-0a65fd25fa39" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "0f326fc9-f9de-469f-b937-2c60e1ecfc89", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_b0ba7efcd8c529922bf6e858bc1", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "b67ecd1e-4044-4ab1-9291-daba9e16888b", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "e4767ffd-9579-4e71-a21e-27bff7b9d095" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "b722d997-cf66-44c3-8b30-49e3cc5793d0", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "f4ba4abd-ade1-45a3-a994-618bbd36ab56" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "a60c8919-39f6-462a-b19e-36fb431653e7", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_cf12e6c92058f11b59852ffdfe3", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "e714dfb1-c879-46f4-be6a-fff94f8d7ff1", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "1914b19c-eeee-4e3d-8231-a316aa64fe2f" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "dc343653-a312-4786-8bf2-d7d9f23542a9", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "f4ba4abd-ade1-45a3-a994-618bbd36ab56" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "3f882dba-c38f-4733-8f30-ab08319b9419", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_4e929e3af362914c41035c4d438", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "8e05eb7f-c0b5-462f-9773-46d5cb5ba13e", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "f4ba4abd-ade1-45a3-a994-618bbd36ab56" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "337b825c-3691-489f-b48c-1087df4818a1", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "d64849ec-9efb-4502-93de-8370ee7b4065" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "7adf354a-c57f-4c76-8079-259f237dc5da", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "note", - "namePlural": "notes", - "labelSingular": "Note", - "labelPlural": "Notes", - "description": "A note", - "icon": "IconNotes", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "a2e3399b-b6da-4f39-be8c-665988d00e17", - "imageIdentifierFieldMetadataId": null, - "shortcut": "N", - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjEy" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "088e248b-1ea4-4b8b-b8d3-163b8f956aed", - "type": FieldMetadataType.TsVector, - "name": "searchVector", - "label": "Search vector", - "description": "Field used for full-text search", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "288555f7-1803-4e5b-ac9b-3abdfb6f3340", - "type": FieldMetadataType.RichText, - "name": "body", - "label": "Body", - "description": "Note body", - "icon": "IconFilePencil", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e307a2a6-4d9f-46e6-9bfe-808263d2f6b5", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a2e3399b-b6da-4f39-be8c-665988d00e17", - "type": FieldMetadataType.Text, - "name": "title", - "label": "Title", - "description": "Note title", - "icon": "IconNotes", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "fa51d8f4-4a2e-4709-9e3c-ecb3b2602c18", - "type": FieldMetadataType.Relation, - "name": "timelineActivities", - "label": "Timeline Activities", - "description": "Timeline Activities linked to the note.", - "icon": "IconTimelineEvent", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "45d55e26-edac-4743-b536-8ae8d5af12cb", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "7adf354a-c57f-4c76-8079-259f237dc5da", - "nameSingular": "note", - "namePlural": "notes" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "fa51d8f4-4a2e-4709-9e3c-ecb3b2602c18", - "name": "timelineActivities" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "da52ab08-cd76-47d3-b333-c25755c023af", - "name": "note" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "c914780d-f29c-4ea9-9649-d5f30f86f485", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b43ec724-faba-496a-a08c-6f8b379679ac", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4cd92368-1e4f-46b2-b7c0-2ee9aba1d158", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "6bd180be-5c43-4b65-9fa1-255b236ec49e", - "type": FieldMetadataType.Relation, - "name": "noteTargets", - "label": "Relations", - "description": "Note targets", - "icon": "IconArrowUpRight", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "8b541da0-5092-4089-9f1f-9504e680c396", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "7adf354a-c57f-4c76-8079-259f237dc5da", - "nameSingular": "note", - "namePlural": "notes" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "6bd180be-5c43-4b65-9fa1-255b236ec49e", - "name": "noteTargets" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", - "nameSingular": "noteTarget", - "namePlural": "noteTargets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "04e4ad6b-cdaf-405d-98b1-2acb0a454c44", - "name": "note" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "93a20d82-a785-46fa-ac25-1bf79abcfb36", - "type": FieldMetadataType.Relation, - "name": "favorites", - "label": "Favorites", - "description": "Favorites linked to the note", - "icon": "IconHeart", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "40fb8870-92e3-423d-83cb-a7f5f50467c7", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "7adf354a-c57f-4c76-8079-259f237dc5da", - "nameSingular": "note", - "namePlural": "notes" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "93a20d82-a785-46fa-ac25-1bf79abcfb36", - "name": "favorites" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "90c67348-a861-4d71-99a3-d133aaad7beb", - "name": "note" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "74b70e6b-31e7-41e3-9f17-86d8c0f5d305", - "type": FieldMetadataType.Actor, - "name": "createdBy", - "label": "Created by", - "description": "The creator of the record", - "icon": "IconCreativeCommonsSa", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "name": "''", - "source": "'MANUAL'" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f918c029-41b2-415c-8c62-546ad560e899", - "type": FieldMetadataType.Position, - "name": "position", - "label": "Position", - "description": "Note record position", - "icon": "IconHierarchy2", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "2e691afe-cf6b-4d3a-9197-fd524c26eed7", - "type": FieldMetadataType.Relation, - "name": "attachments", - "label": "Attachments", - "description": "Note attachments", - "icon": "IconFileImport", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "54b587f6-d064-4d26-ad76-bb25c02467ba", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "7adf354a-c57f-4c76-8079-259f237dc5da", - "nameSingular": "note", - "namePlural": "notes" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "2e691afe-cf6b-4d3a-9197-fd524c26eed7", - "name": "attachments" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "nameSingular": "attachment", - "namePlural": "attachments" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "42e91677-2ca8-47ca-bce9-0f89369fe20e", - "name": "note" - } - } - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "d861da41-05c4-4349-a6ab-02e14abfc49a", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_f20de8d7fc74a405e4083051275", - "indexWhereClause": null, - "indexType": IndexType.Gin, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "973adde9-feaa-476a-9193-d1d6a9dd039c", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "088e248b-1ea4-4b8b-b8d3-163b8f956aed" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "favorite", - "namePlural": "favorites", - "labelSingular": "Favorite", - "labelPlural": "Favorites", - "description": "A favorite", - "icon": "IconHeart", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "ac8fd20a-1eb2-4fe1-9d49-7967233c4cfd", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjI2" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "25069fed-0167-4301-bab5-48d686bb78ac", - "type": FieldMetadataType.Relation, - "name": "workspaceMember", - "label": "Workspace Member", - "description": "Favorite workspace member", - "icon": "IconCircleUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "99e09c7d-bc02-4b11-b602-93e36a1f2b96", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "25069fed-0167-4301-bab5-48d686bb78ac", - "name": "workspaceMember" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "08caaae1-0bd7-411c-9af1-72d4169976f0", - "name": "favorites" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "5a05ef2e-0ff8-4c3b-9eb7-2ba445f1ac2d", - "type": FieldMetadataType.Uuid, - "name": "workflowVersionId", - "label": "Workflow id (foreign key)", - "description": "Favorite workflow version id foreign key", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "5675af11-2f87-403e-ac8f-dc2cc13d42bf", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f9355fc1-f4a5-41ec-a2ec-92d50d4eccae", - "type": FieldMetadataType.Relation, - "name": "workflow", - "label": "Workflow", - "description": "Favorite workflow", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "34fba28a-888e-496e-b7d1-f621479c4647", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "f9355fc1-f4a5-41ec-a2ec-92d50d4eccae", - "name": "workflow" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", - "nameSingular": "workflow", - "namePlural": "workflows" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "e5cd9745-d76a-4ebd-b1dd-d10bb55fbb3d", - "name": "favorites" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "91ba686e-855e-46b8-b267-1a3cad4d621d", - "type": FieldMetadataType.Uuid, - "name": "personId", - "label": "Person id (foreign key)", - "description": "Favorite person id foreign key", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e098e150-0b79-4da3-ad71-7fe3dce3d102", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "90c67348-a861-4d71-99a3-d133aaad7beb", - "type": FieldMetadataType.Relation, - "name": "note", - "label": "Note", - "description": "Favorite note", - "icon": "IconNotes", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "40fb8870-92e3-423d-83cb-a7f5f50467c7", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "90c67348-a861-4d71-99a3-d133aaad7beb", - "name": "note" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "7adf354a-c57f-4c76-8079-259f237dc5da", - "nameSingular": "note", - "namePlural": "notes" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "93a20d82-a785-46fa-ac25-1bf79abcfb36", - "name": "favorites" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b68bbe14-c5a7-4012-9edc-54d1cfb31e02", - "type": FieldMetadataType.Uuid, - "name": "noteId", - "label": "Note id (foreign key)", - "description": "Favorite note id foreign key", - "icon": "IconNotes", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "41dbf601-799d-4b39-9a55-e8bf3b443e55", - "type": FieldMetadataType.Relation, - "name": "workflowRun", - "label": "Workflow", - "description": "Favorite workflow run", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "8041189b-a0b0-4d4b-9fae-de4f3a11bbb5", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "41dbf601-799d-4b39-9a55-e8bf3b443e55", - "name": "workflowRun" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "87ef9245-2665-45db-8193-b6d216b5df50", - "nameSingular": "workflowRun", - "namePlural": "workflowRuns" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "f6c5125e-bd93-48cb-b829-cea2ee169288", - "name": "favorites" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "2c5cecbb-1e99-478d-bd77-f3f2ee66efda", - "type": FieldMetadataType.Relation, - "name": "task", - "label": "Task", - "description": "Favorite task", - "icon": "IconCheckbox", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "2668313f-71ee-4c11-8098-7ffeae4ac8d0", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "2c5cecbb-1e99-478d-bd77-f3f2ee66efda", - "name": "task" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", - "nameSingular": "task", - "namePlural": "tasks" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "b86ee0bd-5e4d-4d91-8d2a-1473d155dc42", - "name": "favorites" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "5dc0d81e-4ca9-4778-afa3-0b2fe45ea731", - "type": FieldMetadataType.Uuid, - "name": "rocketId", - "label": "Rocket ID (foreign key)", - "description": "Favorite Rocket id foreign key", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.544Z", - "updatedAt": "2024-10-30T13:39:30.544Z", - "defaultValue": null, - "options": null, - "settings": { - "isForeignKey": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "92978ffb-3eaf-4dc7-8ef2-0b552c3d6e49", - "type": FieldMetadataType.Relation, - "name": "rocket", - "label": "Rocket", - "description": "Favorite Rocket", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.731Z", - "updatedAt": "2024-10-30T13:39:30.731Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "9cc4dba5-2509-432f-9b70-0f68e768b5de", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "92978ffb-3eaf-4dc7-8ef2-0b552c3d6e49", - "name": "rocket" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", - "nameSingular": "rocket", - "namePlural": "rockets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "38a3c7ea-b4e9-4f01-8e37-db83fa192f8d", - "name": "favorites" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "c45048d1-3585-46fc-a308-425e6422ab24", - "type": FieldMetadataType.Number, - "name": "position", - "label": "Position", - "description": "Favorite position", - "icon": "IconList", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": 0, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e1c22c51-fdf3-4c9f-bcce-e4e4c0ebc915", - "type": FieldMetadataType.Relation, - "name": "opportunity", - "label": "Opportunity", - "description": "Favorite opportunity", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "0cc12e6a-f7f5-40e5-a686-0eba9c8ed934", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "e1c22c51-fdf3-4c9f-bcce-e4e4c0ebc915", - "name": "opportunity" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "nameSingular": "opportunity", - "namePlural": "opportunities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "57b74932-1aa3-4372-9962-138ff1493eeb", - "name": "favorites" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "9e16d413-65a0-4f26-a596-cdcc9a5219f1", - "type": FieldMetadataType.Uuid, - "name": "workflowRunId", - "label": "Workflow id (foreign key)", - "description": "Favorite workflow run id foreign key", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0b529980-643b-44f1-a007-328cf99be91a", - "type": FieldMetadataType.Relation, - "name": "view", - "label": "View", - "description": "Favorite view", - "icon": "IconLayoutCollage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "bfdbdf10-236c-4048-9965-8a0e16e5fe22", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "0b529980-643b-44f1-a007-328cf99be91a", - "name": "view" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", - "nameSingular": "view", - "namePlural": "views" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "d7a5d3aa-3975-45ec-8c9b-f7149289a849", - "name": "favorites" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4c310c26-7123-417d-a0cf-97c92e6cb217", - "type": FieldMetadataType.Uuid, - "name": "viewId", - "label": "View id (foreign key)", - "description": "Favorite view id foreign key", - "icon": "IconLayoutCollage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "efe57404-33f2-4fc6-9966-4eb401268efb", - "type": FieldMetadataType.Relation, - "name": "workflowVersion", - "label": "Workflow", - "description": "Favorite workflow version", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "2871058e-3264-4ab3-8b57-2f35cd39c676", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "efe57404-33f2-4fc6-9966-4eb401268efb", - "name": "workflowVersion" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "fad28eb7-a085-4917-93b3-579afd54f373", - "nameSingular": "workflowVersion", - "namePlural": "workflowVersions" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "e7f40f5e-c67a-488b-aa6b-52769a752df7", - "name": "favorites" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "be0596a5-7a14-4c1d-b065-40e63feefb46", - "type": FieldMetadataType.Uuid, - "name": "workflowId", - "label": "Workflow id (foreign key)", - "description": "Favorite workflow id foreign key", - "icon": "IconSettingsAutomation", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "116304eb-76ab-41f2-b117-e57f278425a4", - "type": FieldMetadataType.Uuid, - "name": "companyId", - "label": "Company id (foreign key)", - "description": "Favorite company id foreign key", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "19748dd4-4c79-4d32-ade4-1937d7c6a05f", - "type": FieldMetadataType.Relation, - "name": "company", - "label": "Company", - "description": "Favorite company", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "825c3208-3eb6-47e6-bc5f-6e8b12d56923", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "19748dd4-4c79-4d32-ade4-1937d7c6a05f", - "name": "company" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "22f3c2c1-124f-4304-861c-4aad29a00bd4", - "name": "favorites" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ac8fd20a-1eb2-4fe1-9d49-7967233c4cfd", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d8e8bb7a-e785-4b4e-8bae-b3ec3a87c52d", - "type": FieldMetadataType.Uuid, - "name": "workspaceMemberId", - "label": "Workspace Member id (foreign key)", - "description": "Favorite workspace member id foreign key", - "icon": "IconCircleUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "bd0b3981-63dd-4a8d-95cf-71080dae3364", - "type": FieldMetadataType.Relation, - "name": "person", - "label": "Person", - "description": "Favorite person", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "6e7d8470-4f3e-415d-843c-306380a483f0", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "bd0b3981-63dd-4a8d-95cf-71080dae3364", - "name": "person" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "6586555e-28ad-4b8a-855b-f8cbbd327c13", - "name": "favorites" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a883215a-10dc-4263-8872-253538521e2a", - "type": FieldMetadataType.Uuid, - "name": "taskId", - "label": "Task id (foreign key)", - "description": "Favorite task id foreign key", - "icon": "IconCheckbox", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "82cb7819-24d8-4630-b76e-d496bfa6f768", - "type": FieldMetadataType.Uuid, - "name": "opportunityId", - "label": "Opportunity id (foreign key)", - "description": "Favorite opportunity id foreign key", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "b9c0c8f3-f978-43a4-b4e5-d17210678390", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_1f7e4cb168e77496349c8cefed6", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "a6b03189-127c-494e-aa10-bc4e0fa80c4b", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "91ba686e-855e-46b8-b267-1a3cad4d621d" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "39c7c1d1-b44b-4071-9584-63e10cb8916b", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "8eea0c69-5617-41b1-abb3-c01ca0f3e173", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_eecddc968e93b9b8ebbfd85dad3", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "62294df7-e349-41d7-9cd5-47fcfd3646d0", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "be0596a5-7a14-4c1d-b065-40e63feefb46" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "ed5ea57f-4de5-4754-ae3c-b906ca5e8366", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "671f45a3-45ac-4be8-be9f-d0e823e4b790", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_505a1fccd2804f2472bd92e8720", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "283bee73-e037-486f-8f06-12cd7dd85912", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "4c310c26-7123-417d-a0cf-97c92e6cb217" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "33e7d307-f410-43d0-b7f0-5bf2296f209f", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "2b5fbac8-5dd1-46a7-91c3-1c447c74fbd9", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_e14b3424016bea8b7fe220f7761", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "d8147472-6eb6-4b28-85c3-7222e5fb659e", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "a883215a-10dc-4263-8872-253538521e2a" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "dc1d9d97-1b28-4057-a84a-a398de93ee18", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "92638456-9286-4fb3-b2e4-d2c1d0971113", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_110d1dc7f0ecd231a18f6784cf3", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "3cb26ed4-777c-415d-90d0-e0ed7feffef8", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "5a05ef2e-0ff8-4c3b-9eb7-2ba445f1ac2d" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "dcbf220f-1a30-43bb-8e38-a22cb06c3553", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "4ca01c97-27e5-41e3-b831-8a1f9f581407", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_c3ee83d51bc99ba99fe1998c508", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "9aec2813-e2db-4b3e-baaf-87fd60742907", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "0e46f616-4fbb-4a63-8bb8-4c09d098a105", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "d8e8bb7a-e785-4b4e-8bae-b3ec3a87c52d" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "36407d13-1f89-4edf-8f8c-0d0b902b7ee7", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_21d905e0adf19e835f6059a9f3d", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "4c6ea08a-f692-45e1-a380-9ba3678008b8", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "b68bbe14-c5a7-4012-9edc-54d1cfb31e02" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "005f34c5-fe40-4115-8192-2e2e87f300af", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_85f024f9ec673d530d14cf75fe5", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "572c2dec-f881-4732-9e2b-38d490532e2a", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "62594f8c-c032-4b66-b2a1-ef12dc6ebb4f", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_7c59b29a053016fc596ddad8a0e", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "081fb1ef-7540-4f8d-948a-71c97322cb96", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_a900d9f809273abe54dc5e166fa", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "8bac748e-692c-42eb-8c9f-2cd7b7682006", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "116304eb-76ab-41f2-b117-e57f278425a4" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "e31213f3-2d64-4585-ade5-a6b07224618f", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "16e48757-44ba-42a2-84e6-f5e5be5a2ee3" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "68534b8b-9599-4e4b-9fb8-8a3c56adb871", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "viewField", - "namePlural": "viewFields", - "labelSingular": "View Field", - "labelPlural": "View Fields", - "description": "(System) View Fields", - "icon": "IconTag", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "42967cd6-fee2-485e-8c29-dcbd2502ac11", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjk=" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "42967cd6-fee2-485e-8c29-dcbd2502ac11", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3290f5bf-c86e-4bd7-8195-579faeebe447", - "type": FieldMetadataType.Boolean, - "name": "isVisible", - "label": "Visible", - "description": "View Field visibility", - "icon": "IconEye", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": true, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "5fc8348f-d629-4811-b5c6-df04d477a0b1", - "type": FieldMetadataType.Number, - "name": "position", - "label": "Position", - "description": "View Field position", - "icon": "IconList", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": 0, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "46afae67-47b1-4580-8145-fc7914e8a61d", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3dfe31ef-710f-4ee6-8140-739540b59981", - "type": FieldMetadataType.Uuid, - "name": "fieldMetadataId", - "label": "Field Metadata Id", - "description": "View Field target field", - "icon": "IconTag", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3c352886-5e5b-487f-af51-c305f282fd8e", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f5c138b1-3d89-42c5-9838-793a925d5b5c", - "type": FieldMetadataType.Uuid, - "name": "viewId", - "label": "View id (foreign key)", - "description": "View Field related view id foreign key", - "icon": "IconLayoutCollage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "9becab25-df5b-49f3-a58a-8ccd8a4382aa", - "type": FieldMetadataType.Number, - "name": "size", - "label": "Size", - "description": "View Field size", - "icon": "IconEye", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": 0, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "968d63ae-a05f-4fa2-ad3a-14fd8b6d62e8", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f0bee61a-f5a0-4b60-af98-12f854be6127", - "type": FieldMetadataType.Relation, - "name": "view", - "label": "View", - "description": "View Field related view", - "icon": "IconLayoutCollage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "e44f91d9-a6fc-440f-aa2b-b9b7d5446da6", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "68534b8b-9599-4e4b-9fb8-8a3c56adb871", - "nameSingular": "viewField", - "namePlural": "viewFields" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "f0bee61a-f5a0-4b60-af98-12f854be6127", - "name": "view" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", - "nameSingular": "view", - "namePlural": "views" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "24a2711c-7273-4abf-bbbb-71ef3b1d25d5", - "name": "viewFields" - } - } - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "3f01db7c-2848-44fd-9392-c1d3b9ba4989", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_260f80ae1d2ccc67388995d6d05", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "ac2f947e-8b68-4415-8675-4a7ca1018b00", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "f5c138b1-3d89-42c5-9838-793a925d5b5c" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "5c1e17cb-3ed9-4024-b427-fe576d6ce3d1", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "connectedAccount", - "namePlural": "connectedAccounts", - "labelSingular": "Connected Account", - "labelPlural": "Connected Accounts", - "description": "A connected account", - "icon": "IconAt", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "1a0f0f90-39f0-4dfa-8c07-f0da10c45b77", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjE1" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "644a6279-9b22-4875-911d-c4d6b19fc415", - "type": FieldMetadataType.Uuid, - "name": "accountOwnerId", - "label": "Account Owner id (foreign key)", - "description": "Account Owner id foreign key", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1a0f0f90-39f0-4dfa-8c07-f0da10c45b77", - "type": FieldMetadataType.Text, - "name": "handle", - "label": "handle", - "description": "The account handle (email, username, phone number, etc.)", - "icon": "IconMail", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0f6d6cb8-dec6-4361-bb44-1c3d628ca055", - "type": FieldMetadataType.Array, - "name": "scopes", - "label": "Scopes", - "description": "Scopes", - "icon": "IconSettings", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e189a013-da4a-43ee-ae9d-3e7d87bd6750", - "type": FieldMetadataType.Relation, - "name": "messageChannels", - "label": "Message Channels", - "description": "Message Channels", - "icon": "IconMessage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "80daf432-7306-4951-be4c-14e92bfc7d68", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "5c1e17cb-3ed9-4024-b427-fe576d6ce3d1", - "nameSingular": "connectedAccount", - "namePlural": "connectedAccounts" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "e189a013-da4a-43ee-ae9d-3e7d87bd6750", - "name": "messageChannels" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "41302fe4-df07-425f-a492-56d7e6c759af", - "nameSingular": "messageChannel", - "namePlural": "messageChannels" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "fd38bf5a-9daa-4db1-9aff-a644a9a31bfb", - "name": "connectedAccount" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "45e6ca5d-c892-4d5d-a658-6bfd946de892", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d73f15df-0bec-47d7-aef0-38a750f96cd1", - "type": FieldMetadataType.Text, - "name": "accessToken", - "label": "Access Token", - "description": "Messaging provider access token", - "icon": "IconKey", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "03cc45bb-1dc9-4e32-a950-56b545d49e34", - "type": FieldMetadataType.Text, - "name": "lastSyncHistoryId", - "label": "Last sync history ID", - "description": "Last sync history ID", - "icon": "IconHistory", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0f973833-7024-4f6a-a569-cf63e6e4ed3e", - "type": FieldMetadataType.DateTime, - "name": "authFailedAt", - "label": "Auth failed at", - "description": "Auth failed at", - "icon": "IconX", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1413d79c-f260-4ee1-bd2a-8121ff7f3b92", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "876d7b6e-658f-486f-9fec-9753f1d46ea5", - "type": FieldMetadataType.Text, - "name": "handleAliases", - "label": "Handle Aliases", - "description": "Handle Aliases", - "icon": "IconMail", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "705cde2c-b970-41f4-804d-77f6e214ce00", - "type": FieldMetadataType.Text, - "name": "provider", - "label": "provider", - "description": "The account provider", - "icon": "IconSettings", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "12864caa-e6cc-450f-919d-a706fdb7b95f", - "type": FieldMetadataType.Relation, - "name": "accountOwner", - "label": "Account Owner", - "description": "Account Owner", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "1dd4ab3f-43a8-44a3-8676-3c6298a5428b", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "5c1e17cb-3ed9-4024-b427-fe576d6ce3d1", - "nameSingular": "connectedAccount", - "namePlural": "connectedAccounts" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "12864caa-e6cc-450f-919d-a706fdb7b95f", - "name": "accountOwner" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "b0a371af-199c-4d76-b16f-08cd67f33f13", - "name": "connectedAccounts" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "eda65f70-e1bf-443a-b3a0-98fc4db298d9", - "type": FieldMetadataType.Text, - "name": "refreshToken", - "label": "Refresh Token", - "description": "Messaging provider refresh token", - "icon": "IconKey", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "946967c6-050a-406a-8132-b46fc1b53a91", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "664c36e8-7d1f-4077-9f2c-3d65d0d219cf", - "type": FieldMetadataType.Relation, - "name": "calendarChannels", - "label": "Calendar Channels", - "description": "Calendar Channels", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "9d18dc97-6d4f-43ad-adc0-2293f25e969c", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "5c1e17cb-3ed9-4024-b427-fe576d6ce3d1", - "nameSingular": "connectedAccount", - "namePlural": "connectedAccounts" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "664c36e8-7d1f-4077-9f2c-3d65d0d219cf", - "name": "calendarChannels" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "024357b0-9d5b-4e68-b8e2-70acf57a9aba", - "nameSingular": "calendarChannel", - "namePlural": "calendarChannels" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "ca742a11-31e4-43aa-813d-04e83c50e4a5", - "name": "connectedAccount" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "107c829a-878a-4a40-be43-4ce5ab9e557f", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "28b2a6d7-107f-4b2a-8df4-04a613bc3b32", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_7d1b454b2a538273bdb947e848f", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "15967233-a800-401e-a290-b94814d08365", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "45e6ca5d-c892-4d5d-a658-6bfd946de892" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "5706c0cc-9d33-4bb8-8b6d-db74b8d882c8", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "calendarEventParticipant", - "namePlural": "calendarEventParticipants", - "labelSingular": "Calendar event participant", - "labelPlural": "Calendar event participants", - "description": "Calendar event participants", - "icon": "IconCalendar", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "8258a232-1cfe-43db-82b0-dd999a10b439", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjEz" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "345934cd-ebb1-4a71-888d-2e80407e4564", - "type": FieldMetadataType.Uuid, - "name": "workspaceMemberId", - "label": "Workspace Member id (foreign key)", - "description": "Workspace Member id foreign key", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "5c1f96ef-de40-4391-a0f7-eea1f915fd91", - "type": FieldMetadataType.Text, - "name": "displayName", - "label": "Display Name", - "description": "Display Name", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "dfd280bd-60f5-4291-bff3-ee40a512afd6", - "type": FieldMetadataType.Relation, - "name": "person", - "label": "Person", - "description": "Person", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "194734ec-9308-4711-b6ec-3ede45a44978", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "5706c0cc-9d33-4bb8-8b6d-db74b8d882c8", - "nameSingular": "calendarEventParticipant", - "namePlural": "calendarEventParticipants" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "dfd280bd-60f5-4291-bff3-ee40a512afd6", - "name": "person" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "ad176aea-890e-4e7c-b0e5-67d9b9717e02", - "name": "calendarEventParticipants" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1c6f514b-4cf8-4081-8be8-89bce1287858", - "type": FieldMetadataType.Boolean, - "name": "isOrganizer", - "label": "Is Organizer", - "description": "Is Organizer", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": false, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f1a8e944-fa6b-4d4b-9548-09d31116d663", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "6cfcc8ed-1a98-4669-a763-f1c8f1b04b78", - "type": FieldMetadataType.Relation, - "name": "workspaceMember", - "label": "Workspace Member", - "description": "Workspace Member", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "50ab4e40-3ac5-450d-92ed-5443e2854aa3", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "5706c0cc-9d33-4bb8-8b6d-db74b8d882c8", - "nameSingular": "calendarEventParticipant", - "namePlural": "calendarEventParticipants" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "6cfcc8ed-1a98-4669-a763-f1c8f1b04b78", - "name": "workspaceMember" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "2ac0f031-4d2a-4cb1-927f-3b32c9e03912", - "name": "calendarEventParticipants" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "96ab4763-eec6-4cde-bb84-3c86d1f3822f", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1c9e5767-78f4-4305-b6dd-b4efcf25bdb8", - "type": FieldMetadataType.Uuid, - "name": "calendarEventId", - "label": "Event ID id (foreign key)", - "description": "Event ID id foreign key", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "26eb2191-4e7a-433b-8be4-d1f65b744a5a", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "051b041b-808e-4be6-b6ff-6a11a83d3017", - "type": FieldMetadataType.Uuid, - "name": "personId", - "label": "Person id (foreign key)", - "description": "Person id foreign key", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a7dc3d33-0cfd-4e64-87bc-441a00993231", - "type": FieldMetadataType.Select, - "name": "responseStatus", - "label": "Response Status", - "description": "Response Status", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'NEEDS_ACTION'", - "options": [ - { - "id": "8544e916-a99e-4f34-97ed-20bea2ccfffd", - "color": "orange", - "label": "Needs Action", - "value": "NEEDS_ACTION", - "position": 0 - }, - { - "id": "c3adef56-ea8f-4486-93fc-386a2f3db815", - "color": "red", - "label": "Declined", - "value": "DECLINED", - "position": 1 - }, - { - "id": "eb2a3376-9ee9-4275-9325-c54d5b111d55", - "color": "yellow", - "label": "Tentative", - "value": "TENTATIVE", - "position": 2 - }, - { - "id": "628aa0e7-a574-4175-9491-7e81bb314ed4", - "color": "green", - "label": "Accepted", - "value": "ACCEPTED", - "position": 3 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1cb56c41-518b-4c17-a171-03c078c5da81", - "type": FieldMetadataType.Relation, - "name": "calendarEvent", - "label": "Event ID", - "description": "Event ID", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "3d04a82d-f4eb-4c8d-b09f-e86409e0883b", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "5706c0cc-9d33-4bb8-8b6d-db74b8d882c8", - "nameSingular": "calendarEventParticipant", - "namePlural": "calendarEventParticipants" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "1cb56c41-518b-4c17-a171-03c078c5da81", - "name": "calendarEvent" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "e7a5e974-affc-40d5-be9f-2ba2783c21be", - "nameSingular": "calendarEvent", - "namePlural": "calendarEvents" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "09edc594-fdc7-44a4-8079-9560c804e85b", - "name": "calendarEventParticipants" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d461f529-fabc-4a2b-a858-14d7898e79b8", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8258a232-1cfe-43db-82b0-dd999a10b439", - "type": FieldMetadataType.Text, - "name": "handle", - "label": "Handle", - "description": "Handle", - "icon": "IconMail", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "01ca121e-057a-4e97-b3a8-951b374e7346", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_0da422bbe7adbabb8144c696ebd", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "6f746686-c6f1-435f-bd77-043c23ac15da", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "051b041b-808e-4be6-b6ff-6a11a83d3017" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "2ff40ad6-ae2c-4a28-8e18-08e8ab81fc97", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "26eb2191-4e7a-433b-8be4-d1f65b744a5a" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "7a610b59-8756-4045-9373-68aeafc11474", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_dd22aee9059fd7002165df6d8cc", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "0360cace-32af-4b99-bb68-6942e6663044", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "1c9e5767-78f4-4305-b6dd-b4efcf25bdb8" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "cb6b62d3-18db-4655-93fc-4e4a3acc7d42", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "26eb2191-4e7a-433b-8be4-d1f65b744a5a" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "b7b923e5-3c9d-464c-a6b1-cb55c535e6bd", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_2bf094726f6d91639302c1c143d", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "ac98e45b-c576-49d9-a900-b5cb5893ce3f", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "26eb2191-4e7a-433b-8be4-d1f65b744a5a" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "a23a899a-5ea0-46bb-870f-8122b8be4d76", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "345934cd-ebb1-4a71-888d-2e80407e4564" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "rocket", - "namePlural": "rockets", - "labelSingular": "Rocket", - "labelPlural": "Rockets", - "description": "A rocket", - "icon": "IconRocket", - "isCustom": true, - "isRemote": false, - "isActive": true, - "isSystem": false, - "createdAt": "2024-10-30T13:39:30.402Z", - "updatedAt": "2024-10-30T13:39:30.402Z", - "labelIdentifierFieldMetadataId": null, - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjEy" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d9188027-ccae-41e1-9838-fe3908189b25", - "type": FieldMetadataType.TsVector, - "name": "searchVector", - "label": "Search vector", - "description": "Field used for full-text search", - "icon": null, - "isCustom": false, - "isActive": false, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:31.423Z", - "updatedAt": "2024-10-30T13:39:31.423Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "beaac4a1-c635-42bb-b983-489dca948f1f", - "type": FieldMetadataType.Position, - "name": "position", - "label": "Position", - "description": "Position", - "icon": "IconHierarchy2", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.402Z", - "updatedAt": "2024-10-30T13:39:30.402Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f7838a09-e44a-4f0c-99a1-44fa96648613", - "type": FieldMetadataType.Text, - "name": "name", - "label": "Name", - "description": "Name", - "icon": "IconAbc", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.402Z", - "updatedAt": "2024-10-30T13:39:30.402Z", - "defaultValue": "'Untitled'", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "38a3c7ea-b4e9-4f01-8e37-db83fa192f8d", - "type": FieldMetadataType.Relation, - "name": "favorites", - "label": "Favorites", - "description": "Favorites tied to the Rocket", - "icon": "IconHeart", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.731Z", - "updatedAt": "2024-10-30T13:39:30.731Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "9cc4dba5-2509-432f-9b70-0f68e768b5de", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", - "nameSingular": "rocket", - "namePlural": "rockets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "38a3c7ea-b4e9-4f01-8e37-db83fa192f8d", - "name": "favorites" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "92978ffb-3eaf-4dc7-8ef2-0b552c3d6e49", - "name": "rocket" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d9123ccf-55e8-4af8-913e-7706db201cc8", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.402Z", - "updatedAt": "2024-10-30T13:39:30.402Z", - "defaultValue": "now", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b2dd8997-fbde-4f55-8a3b-c3f1b8dd9328", - "type": FieldMetadataType.Relation, - "name": "taskTargets", - "label": "TaskTargets", - "description": "TaskTargets tied to the Rocket", - "icon": "IconCheckbox", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:31.244Z", - "updatedAt": "2024-10-30T13:39:31.244Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "1b99cd19-7266-4b95-bbab-18e3c21fa86e", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", - "nameSingular": "rocket", - "namePlural": "rockets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "b2dd8997-fbde-4f55-8a3b-c3f1b8dd9328", - "name": "taskTargets" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "84c4f534-4798-47ab-b725-a122e966ae9e", - "nameSingular": "taskTarget", - "namePlural": "taskTargets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "f309c2d8-9f5b-4b98-b5e0-f8cd9119cad5", - "name": "rocket" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0d2b7aeb-19a2-451f-9bd6-8a14036840d8", - "type": FieldMetadataType.Relation, - "name": "noteTargets", - "label": "NoteTargets", - "description": "NoteTargets tied to the Rocket", - "icon": "IconCheckbox", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:31.219Z", - "updatedAt": "2024-10-30T13:39:31.219Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "9a5f9b38-4951-45ee-b126-609794fb16fa", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", - "nameSingular": "rocket", - "namePlural": "rockets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "0d2b7aeb-19a2-451f-9bd6-8a14036840d8", - "name": "noteTargets" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", - "nameSingular": "noteTarget", - "namePlural": "noteTargets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "e0ad90c6-04c4-45d2-af8e-73da4c514279", - "name": "rocket" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a588ccec-9e17-43bb-86f6-82c454f760fc", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.402Z", - "updatedAt": "2024-10-30T13:39:30.402Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4a3045e0-70ae-4ea5-8566-19847ab0d19c", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Deletion date", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.402Z", - "updatedAt": "2024-10-30T13:39:30.402Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "6e47f007-07b7-4158-8c17-412fb3685545", - "type": FieldMetadataType.Relation, - "name": "attachments", - "label": "Attachments", - "description": "Attachments tied to the Rocket", - "icon": "IconFileImport", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.780Z", - "updatedAt": "2024-10-30T13:39:30.780Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "bf3ebee1-7f7c-4f0a-923b-278b055708d9", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", - "nameSingular": "rocket", - "namePlural": "rockets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "6e47f007-07b7-4158-8c17-412fb3685545", - "name": "attachments" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "nameSingular": "attachment", - "namePlural": "attachments" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "b0c5d631-1242-4fbc-9570-501a17a65338", - "name": "rocket" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "6a01f496-cb3a-4216-81a7-a74a9a654e74", - "type": FieldMetadataType.Relation, - "name": "timelineActivities", - "label": "TimelineActivities", - "description": "TimelineActivities tied to the Rocket", - "icon": "IconTimelineEvent", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.641Z", - "updatedAt": "2024-10-30T13:39:30.641Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "c0322ad7-03e8-456c-85f5-a9f1726ca85a", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", - "nameSingular": "rocket", - "namePlural": "rockets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "6a01f496-cb3a-4216-81a7-a74a9a654e74", - "name": "timelineActivities" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "746f850a-4f72-41fc-b92b-eb3d1dba3c00", - "name": "rocket" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "2d761083-a788-4189-9667-cb46be416d58", - "type": FieldMetadataType.Actor, - "name": "createdBy", - "label": "Created by", - "description": "The creator of the record", - "icon": "IconCreativeCommonsSa", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.402Z", - "updatedAt": "2024-10-30T13:39:30.402Z", - "defaultValue": { - "name": "''", - "source": "'MANUAL'" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7828509e-5d7b-4570-8750-c28b49354575", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.402Z", - "updatedAt": "2024-10-30T13:39:30.402Z", - "defaultValue": "now", - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "6711c7b2-2a56-4c3c-813b-4e91daffe7ce", - "createdAt": "2024-10-30T13:39:31.573Z", - "updatedAt": "2024-10-30T13:39:31.573Z", - "name": "IDX_530792e4278e7696c4e3e3e55f8", - "indexWhereClause": null, - "indexType": IndexType.Gin, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "b492eefa-0496-4ed8-a1b9-3009ba88e696", - "createdAt": "2024-10-30T13:39:31.573Z", - "updatedAt": "2024-10-30T13:39:31.573Z", - "order": 0, - "fieldMetadataId": "d9188027-ccae-41e1-9838-fe3908189b25" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "41302fe4-df07-425f-a492-56d7e6c759af", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "messageChannel", - "namePlural": "messageChannels", - "labelSingular": "Message Channel", - "labelPlural": "Message Channels", - "description": "Message Channels", - "icon": "IconMessage", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "a9e799e8-04d8-4212-827b-ff1b0ecc7b38", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjIw" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ff1d122d-a3cf-46b9-a185-d7fa7bc12e30", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a94aaa8f-4d83-4260-ad12-29868df0fa22", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "79c49e03-c91c-4eef-a490-074608d64643", - "type": FieldMetadataType.Boolean, - "name": "excludeNonProfessionalEmails", - "label": "Exclude non professional emails", - "description": "Exclude non professional emails", - "icon": "IconBriefcase", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": true, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d0da4da3-fbc7-415c-b0d2-b9bf80b09766", - "type": FieldMetadataType.Number, - "name": "throttleFailureCount", - "label": "Throttle Failure Count", - "description": "Throttle Failure Count", - "icon": "IconX", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": 0, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8d04d998-741f-4b5b-b2cd-c8ce0f919b63", - "type": FieldMetadataType.Uuid, - "name": "connectedAccountId", - "label": "Connected Account id (foreign key)", - "description": "Connected Account id foreign key", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "eb6c610b-edcf-4074-9d91-d0ed9ccea8af", - "type": FieldMetadataType.Select, - "name": "syncStage", - "label": "Sync stage", - "description": "Sync stage", - "icon": "IconStatusChange", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'FULL_MESSAGE_LIST_FETCH_PENDING'", - "options": [ - { - "id": "f07086a8-5e66-4770-8c43-518ca94768a5", - "color": "blue", - "label": "Full messages list fetch pending", - "value": "FULL_MESSAGE_LIST_FETCH_PENDING", - "position": 0 - }, - { - "id": "68ce99f3-4215-45d5-a1ee-434d78007ec4", - "color": "blue", - "label": "Partial messages list fetch pending", - "value": "PARTIAL_MESSAGE_LIST_FETCH_PENDING", - "position": 1 - }, - { - "id": "924bdeea-3d50-456f-a632-7bd4be19185c", - "color": "orange", - "label": "Messages list fetch ongoing", - "value": "MESSAGE_LIST_FETCH_ONGOING", - "position": 2 - }, - { - "id": "7f61c5ee-5869-48ea-935e-c34008b7465d", - "color": "blue", - "label": "Messages import pending", - "value": "MESSAGES_IMPORT_PENDING", - "position": 3 - }, - { - "id": "15abe226-6ee3-4df5-9e52-751c7ba97cd3", - "color": "orange", - "label": "Messages import ongoing", - "value": "MESSAGES_IMPORT_ONGOING", - "position": 4 - }, - { - "id": "2df6f82f-8bfe-4d3c-9318-c935e763abf1", - "color": "red", - "label": "Failed", - "value": "FAILED", - "position": 5 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e39d532b-ed38-4bca-b30e-08d55eabe01a", - "type": FieldMetadataType.Boolean, - "name": "excludeGroupEmails", - "label": "Exclude group emails", - "description": "Exclude group emails", - "icon": "IconUsersGroup", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": true, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "15924ee3-7ad9-4a26-8d72-d85946d3bd7c", - "type": FieldMetadataType.Relation, - "name": "messageChannelMessageAssociations", - "label": "Message Channel Association", - "description": "Messages from the channel.", - "icon": "IconMessage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "30021d4e-da40-49d4-a315-f89b75b02830", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "41302fe4-df07-425f-a492-56d7e6c759af", - "nameSingular": "messageChannel", - "namePlural": "messageChannels" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "15924ee3-7ad9-4a26-8d72-d85946d3bd7c", - "name": "messageChannelMessageAssociations" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "211aabc2-5a30-4fd1-9bd3-9a0ba538abf0", - "nameSingular": "messageChannelMessageAssociation", - "namePlural": "messageChannelMessageAssociations" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "28b5b467-cee4-4a9f-af66-9288006712e5", - "name": "messageChannel" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f8f9c4cc-142e-4192-8490-679760092209", - "type": FieldMetadataType.Select, - "name": "visibility", - "label": "Visibility", - "description": "Visibility", - "icon": "IconEyeglass", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'SHARE_EVERYTHING'", - "options": [ - { - "id": "d09b5abc-4f44-4316-a4e8-4371ee24259e", - "color": "green", - "label": "Metadata", - "value": "METADATA", - "position": 0 - }, - { - "id": "36d015e7-b84c-4df0-9810-25a4acc3af38", - "color": "blue", - "label": "Subject", - "value": "SUBJECT", - "position": 1 - }, - { - "id": "bd2af565-c7d7-445c-a095-ea0eea5270e8", - "color": "orange", - "label": "Share Everything", - "value": "SHARE_EVERYTHING", - "position": 2 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "85ec6f07-9b20-47ba-b726-cb8125922064", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "54c932c5-1b6d-4a40-96de-cc732914e702", - "type": FieldMetadataType.Boolean, - "name": "isContactAutoCreationEnabled", - "label": "Is Contact Auto Creation Enabled", - "description": "Is Contact Auto Creation Enabled", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": true, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "db15aa14-bc46-41d8-b749-34b31394184f", - "type": FieldMetadataType.Text, - "name": "syncCursor", - "label": "Last sync cursor", - "description": "Last sync cursor", - "icon": "IconHistory", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "300f4749-0ff8-4dc8-b674-b3bd5ad3110b", - "type": FieldMetadataType.Select, - "name": "syncStatus", - "label": "Sync status", - "description": "Sync status", - "icon": "IconStatusChange", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": [ - { - "id": "9da2a12e-c914-4139-bf5c-f9606d8098b4", - "color": "yellow", - "label": "Ongoing", - "value": "ONGOING", - "position": 1 - }, - { - "id": "34348c77-b192-4c8d-ad1b-c660ea1c8774", - "color": "blue", - "label": "Not Synced", - "value": "NOT_SYNCED", - "position": 2 - }, - { - "id": "c2978108-4d65-4488-bd23-6db7eb0fc595", - "color": "green", - "label": "Active", - "value": "ACTIVE", - "position": 3 - }, - { - "id": "58edf1b3-f54c-4616-bf4a-607e0281c48f", - "color": "red", - "label": "Failed Insufficient Permissions", - "value": "FAILED_INSUFFICIENT_PERMISSIONS", - "position": 4 - }, - { - "id": "917288f3-7d06-4305-a11b-173eb627302f", - "color": "red", - "label": "Failed Unknown", - "value": "FAILED_UNKNOWN", - "position": 5 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "bb1e103c-2def-41fc-9172-8c737760d11b", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "81046ac4-881c-4c2c-b602-24a02c853eb0", - "type": FieldMetadataType.Select, - "name": "type", - "label": "Type", - "description": "Channel Type", - "icon": "IconMessage", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'email'", - "options": [ - { - "id": "d1ccbf6d-587c-4ade-aff1-d5c877084dc0", - "color": "green", - "label": "Email", - "value": "email", - "position": 0 - }, - { - "id": "55b6b4b8-2468-41f9-b17f-2487f1a511c4", - "color": "blue", - "label": "SMS", - "value": "sms", - "position": 1 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "cd970e61-b53d-4803-9642-08bc6df5f657", - "type": FieldMetadataType.Select, - "name": "contactAutoCreationPolicy", - "label": "Contact auto creation policy", - "description": "Automatically create People records when receiving or sending emails", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'SENT'", - "options": [ - { - "id": "294f8bac-264e-4aca-b69f-2db6593f5172", - "color": "green", - "label": "Sent and Received", - "value": "SENT_AND_RECEIVED", - "position": 0 - }, - { - "id": "37f6fe62-fd6e-4765-a0d8-4f834f8b7847", - "color": "blue", - "label": "Sent", - "value": "SENT", - "position": 1 - }, - { - "id": "d4214abe-e542-4081-98fa-c6c49f89fb4c", - "color": "red", - "label": "None", - "value": "NONE", - "position": 2 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3fe1b730-e78c-4d37-be65-ac77f38ee433", - "type": FieldMetadataType.DateTime, - "name": "syncStageStartedAt", - "label": "Sync stage started at", - "description": "Sync stage started at", - "icon": "IconHistory", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8d1710d6-bacf-45ba-ab4c-bfce4c3980a1", - "type": FieldMetadataType.DateTime, - "name": "syncedAt", - "label": "Last sync date", - "description": "Last sync date", - "icon": "IconHistory", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a9e799e8-04d8-4212-827b-ff1b0ecc7b38", - "type": FieldMetadataType.Text, - "name": "handle", - "label": "Handle", - "description": "Handle", - "icon": "IconAt", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "fd38bf5a-9daa-4db1-9aff-a644a9a31bfb", - "type": FieldMetadataType.Relation, - "name": "connectedAccount", - "label": "Connected Account", - "description": "Connected Account", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "80daf432-7306-4951-be4c-14e92bfc7d68", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "41302fe4-df07-425f-a492-56d7e6c759af", - "nameSingular": "messageChannel", - "namePlural": "messageChannels" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "fd38bf5a-9daa-4db1-9aff-a644a9a31bfb", - "name": "connectedAccount" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "5c1e17cb-3ed9-4024-b427-fe576d6ce3d1", - "nameSingular": "connectedAccount", - "namePlural": "connectedAccounts" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "e189a013-da4a-43ee-ae9d-3e7d87bd6750", - "name": "messageChannels" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "23915aea-8c4f-44a9-a0f3-e4a67d9bcb15", - "type": FieldMetadataType.Boolean, - "name": "isSyncEnabled", - "label": "Is Sync Enabled", - "description": "Is Sync Enabled", - "icon": "IconRefresh", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": true, - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "fd6a9a69-2250-4abd-a1a4-ce60cc44d271", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_c3af632ce35236d21f8ae1f4cfd", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "0fe4b1dd-6015-4cfb-a985-04fd0c2b6372", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "85ec6f07-9b20-47ba-b726-cb8125922064" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "3022a459-747f-4c89-9b37-a969d140ffd5", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "8d04d998-741f-4b5b-b2cd-c8ce0f919b63" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "3afda1a8-e7ea-45e9-9c0c-f744ace5c20d", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "messageParticipant", - "namePlural": "messageParticipants", - "labelSingular": "Message Participant", - "labelPlural": "Message Participants", - "description": "Message Participants", - "icon": "IconUserCircle", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "3918bf9b-030c-41ab-ba8b-77c078e43556", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjEy" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b2fe1ee8-aab2-484a-87fa-edd6e1fc30c7", - "type": FieldMetadataType.Relation, - "name": "person", - "label": "Person", - "description": "Person", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "7a994c6c-6574-45cd-b8f3-6268cf5e952a", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "3afda1a8-e7ea-45e9-9c0c-f744ace5c20d", - "nameSingular": "messageParticipant", - "namePlural": "messageParticipants" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "b2fe1ee8-aab2-484a-87fa-edd6e1fc30c7", - "name": "person" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "9426bebc-fdd6-447a-9fb6-3bfaee7842ea", - "name": "messageParticipants" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "52800001-3dda-4f49-b8bf-be7fc6f61556", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "98d6b9f9-c959-4d35-8482-9c9733ed9981", - "type": FieldMetadataType.Select, - "name": "role", - "label": "Role", - "description": "Role", - "icon": "IconAt", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'from'", - "options": [ - { - "id": "c017ca18-bfab-461c-b3ba-7a9239a7a407", - "color": "green", - "label": "From", - "value": "from", - "position": 0 - }, - { - "id": "d481cb1d-4dbf-4daf-af74-192efdb7f5dd", - "color": "blue", - "label": "To", - "value": "to", - "position": 1 - }, - { - "id": "15ce163c-ab02-4613-955d-2f1ab6145757", - "color": "orange", - "label": "Cc", - "value": "cc", - "position": 2 - }, - { - "id": "abd7e424-7849-41b3-a605-5e810ac49d18", - "color": "red", - "label": "Bcc", - "value": "bcc", - "position": 3 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ca27f91e-b872-4d80-8ba1-7c597fa85d8e", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "44d07778-3da5-4904-93cb-b357587f0c90", - "type": FieldMetadataType.Uuid, - "name": "personId", - "label": "Person id (foreign key)", - "description": "Person id foreign key", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b1f309af-ccb7-4eae-8631-3fe44dba70ad", - "type": FieldMetadataType.Uuid, - "name": "messageId", - "label": "Message id (foreign key)", - "description": "Message id foreign key", - "icon": "IconMessage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3918bf9b-030c-41ab-ba8b-77c078e43556", - "type": FieldMetadataType.Text, - "name": "handle", - "label": "Handle", - "description": "Handle", - "icon": "IconAt", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a2b20d09-a23b-4de0-9ca8-2f1877a0f6d9", - "type": FieldMetadataType.Relation, - "name": "workspaceMember", - "label": "Workspace Member", - "description": "Workspace member", - "icon": "IconCircleUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "401899ac-1ea1-4b2a-bc9f-e8dbc0376245", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "3afda1a8-e7ea-45e9-9c0c-f744ace5c20d", - "nameSingular": "messageParticipant", - "namePlural": "messageParticipants" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "a2b20d09-a23b-4de0-9ca8-2f1877a0f6d9", - "name": "workspaceMember" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "0acbe745-ae2d-4aac-a40d-0fb42b54c75f", - "name": "messageParticipants" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e81aa525-bd38-4997-8e27-26cc4a66c2fe", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0ef3752f-1bc0-4d67-9d0c-599b981a26b8", - "type": FieldMetadataType.Uuid, - "name": "workspaceMemberId", - "label": "Workspace Member id (foreign key)", - "description": "Workspace member id foreign key", - "icon": "IconCircleUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ab98dafe-fd9d-4389-84ba-30f574b79635", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "2e4c0b4e-d671-42e5-a7f4-e3a1af5487a9", - "type": FieldMetadataType.Text, - "name": "displayName", - "label": "Display Name", - "description": "Display Name", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "fa1e799d-454a-4378-8d66-9e4a5db2c1dd", - "type": FieldMetadataType.Relation, - "name": "message", - "label": "Message", - "description": "Message", - "icon": "IconMessage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "d6c12477-afe4-4049-b08b-7c9ff92cb7bf", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "3afda1a8-e7ea-45e9-9c0c-f744ace5c20d", - "nameSingular": "messageParticipant", - "namePlural": "messageParticipants" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "fa1e799d-454a-4378-8d66-9e4a5db2c1dd", - "name": "message" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "3385d352-10a0-428f-9863-e52e7164b26c", - "nameSingular": "message", - "namePlural": "messages" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "4d5495d2-c533-4815-93ca-13202a2094c2", - "name": "messageParticipants" - } - } - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "c832dc8d-3800-4213-9055-b1fc7a7ae26c", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_6d9700e5ae2ab8c294d614e72f6", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "94518824-c085-4900-abc9-c6bb7fb27786", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "ab98dafe-fd9d-4389-84ba-30f574b79635" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "983d2969-2e89-4c77-a83b-a895989b05b4", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "44d07778-3da5-4904-93cb-b357587f0c90" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "ac34dec5-6ee7-4418-b5b2-3362f9297c84", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_8d0144e4074d86d0cb7094f40c2", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "fa4fea97-e777-4bf4-a72a-a7a1fe33f477", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "b1f309af-ccb7-4eae-8631-3fe44dba70ad" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "230398ef-3308-4fb1-949b-cf5b9e17d4bf", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_8c4f617db0813d41aef587e49ea", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "780b35b6-0bc7-40d6-909a-3db8adfd45c2", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "ab98dafe-fd9d-4389-84ba-30f574b79635" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "8de85583-d4dd-4948-93f7-139321357898", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "0ef3752f-1bc0-4d67-9d0c-599b981a26b8" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "3385d352-10a0-428f-9863-e52e7164b26c", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "message", - "namePlural": "messages", - "labelSingular": "Message", - "labelPlural": "Messages", - "description": "Message", - "icon": "IconMessage", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "b25c54aa-6d15-40c6-9b2c-27a5e7b774b1", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjEx" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4103946d-4b6a-400a-b678-059f24c50384", - "type": FieldMetadataType.Relation, - "name": "messageChannelMessageAssociations", - "label": "Message Channel Association", - "description": "Messages from the channel.", - "icon": "IconMessage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "f7b1e9df-5c65-4d64-9cf4-8065aa5edd58", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "3385d352-10a0-428f-9863-e52e7164b26c", - "nameSingular": "message", - "namePlural": "messages" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "4103946d-4b6a-400a-b678-059f24c50384", - "name": "messageChannelMessageAssociations" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "211aabc2-5a30-4fd1-9bd3-9a0ba538abf0", - "nameSingular": "messageChannelMessageAssociation", - "namePlural": "messageChannelMessageAssociations" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "91ec1ccb-08be-4adf-a3ab-8ab11724226b", - "name": "message" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a30c26e1-732f-499e-9833-4bd927d880dd", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b25c54aa-6d15-40c6-9b2c-27a5e7b774b1", - "type": FieldMetadataType.Text, - "name": "subject", - "label": "Subject", - "description": "Subject", - "icon": "IconMessage", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f5712b89-13c6-41f1-aa83-7bfd7b3819e5", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "9f312e72-387a-4614-8ae2-2d1e8a91e30d", - "type": FieldMetadataType.DateTime, - "name": "receivedAt", - "label": "Received At", - "description": "The date the message was received", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b9307733-6f67-4d79-8c41-78e845878795", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4d5495d2-c533-4815-93ca-13202a2094c2", - "type": FieldMetadataType.Relation, - "name": "messageParticipants", - "label": "Message Participants", - "description": "Message Participants", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "d6c12477-afe4-4049-b08b-7c9ff92cb7bf", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "3385d352-10a0-428f-9863-e52e7164b26c", - "nameSingular": "message", - "namePlural": "messages" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "4d5495d2-c533-4815-93ca-13202a2094c2", - "name": "messageParticipants" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "3afda1a8-e7ea-45e9-9c0c-f744ace5c20d", - "nameSingular": "messageParticipant", - "namePlural": "messageParticipants" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "fa1e799d-454a-4378-8d66-9e4a5db2c1dd", - "name": "message" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1d2dea39-4d37-4f1e-96e9-e98fa7554588", - "type": FieldMetadataType.Text, - "name": "text", - "label": "text", - "description": "text", - "icon": "IconMessage", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "baa23263-3324-4ae4-9117-fc541522b2c8", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "054c92a8-5268-4ebb-94b8-ad4f7944da52", - "type": FieldMetadataType.Text, - "name": "headerMessageId", - "label": "Header message Id", - "description": "Message id from the message header", - "icon": "IconHash", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "79d2deca-9d03-4cf5-a618-2b0afe85c37d", - "type": FieldMetadataType.Relation, - "name": "messageThread", - "label": "Message Thread Id", - "description": "Message Thread Id", - "icon": "IconHash", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "4499287d-ffad-4966-a043-e5fecd6489a9", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "3385d352-10a0-428f-9863-e52e7164b26c", - "nameSingular": "message", - "namePlural": "messages" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "79d2deca-9d03-4cf5-a618-2b0afe85c37d", - "name": "messageThread" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "a031797c-fd59-4072-bad0-0f17a6236871", - "nameSingular": "messageThread", - "namePlural": "messageThreads" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "2df434a7-1218-409a-91a9-9030eccf3e25", - "name": "messages" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e5851ae9-cfdc-4225-8ee5-fd6ce2135c8d", - "type": FieldMetadataType.Uuid, - "name": "messageThreadId", - "label": "Message Thread Id id (foreign key)", - "description": "Message Thread Id id foreign key", - "icon": "IconHash", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "ed3e314e-62c5-4742-8695-0c1dcb9fc956", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_78fa73d661d632619e17de211e6", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "b54f6c52-082c-4a42-896f-80b056b36977", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "f5712b89-13c6-41f1-aa83-7bfd7b3819e5" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "528f7f21-ce56-4e45-bda2-3e546a04df8d", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "e5851ae9-cfdc-4225-8ee5-fd6ce2135c8d" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "task", - "namePlural": "tasks", - "labelSingular": "Task", - "labelPlural": "Tasks", - "description": "A task", - "icon": "IconCheckbox", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "42dbfb82-87f9-47b8-b0ec-0eebcaaf369d", - "imageIdentifierFieldMetadataId": null, - "shortcut": "T", - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjE2" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1972681e-7f09-4670-bff0-add3fc297c30", - "type": FieldMetadataType.Select, - "name": "status", - "label": "Status", - "description": "Task status", - "icon": "IconCheck", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'TODO'", - "options": [ - { - "id": "1b9a4dd1-9208-47ad-a833-bb55661a4502", - "color": "sky", - "label": "To do", - "value": "TODO", - "position": 0 - }, - { - "id": "065d70d4-2840-4f1d-8ad1-2d5eac4e185e", - "color": "purple", - "label": "In progress", - "value": "IN_PROGRESS", - "position": 1 - }, - { - "id": "7b778c14-9f44-4e0e-b003-cca0275525c2", - "color": "green", - "label": "Done", - "value": "DONE", - "position": 1 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "42dbfb82-87f9-47b8-b0ec-0eebcaaf369d", - "type": FieldMetadataType.Text, - "name": "title", - "label": "Title", - "description": "Task title", - "icon": "IconNotes", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b86ee0bd-5e4d-4d91-8d2a-1473d155dc42", - "type": FieldMetadataType.Relation, - "name": "favorites", - "label": "Favorites", - "description": "Favorites linked to the task", - "icon": "IconHeart", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "2668313f-71ee-4c11-8098-7ffeae4ac8d0", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", - "nameSingular": "task", - "namePlural": "tasks" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "b86ee0bd-5e4d-4d91-8d2a-1473d155dc42", - "name": "favorites" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "2c5cecbb-1e99-478d-bd77-f3f2ee66efda", - "name": "task" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "598b87cb-3d76-43e8-a4fa-beb10772f675", - "type": FieldMetadataType.Relation, - "name": "assignee", - "label": "Assignee", - "description": "Task assignee", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "ea04a6cc-b565-4da2-afff-fade0a20d08d", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", - "nameSingular": "task", - "namePlural": "tasks" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "598b87cb-3d76-43e8-a4fa-beb10772f675", - "name": "assignee" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "611f0f9b-d4d3-42b6-9bb5-ab8d33e3befc", - "name": "assignedTasks" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "56c91566-aa07-429a-804c-e1e9264d2312", - "type": FieldMetadataType.Relation, - "name": "timelineActivities", - "label": "Timeline Activities", - "description": "Timeline Activities linked to the task.", - "icon": "IconTimelineEvent", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "44687a34-fc9d-47aa-8559-acdd7580e81e", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", - "nameSingular": "task", - "namePlural": "tasks" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "56c91566-aa07-429a-804c-e1e9264d2312", - "name": "timelineActivities" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "738e965d-814a-4ab4-a66c-21ae2bb9ad35", - "name": "task" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0426d319-3928-4dfc-93ce-d4cc6172b30d", - "type": FieldMetadataType.Relation, - "name": "attachments", - "label": "Attachments", - "description": "Task attachments", - "icon": "IconFileImport", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "10a59354-1c7c-4f9d-8ef4-5834319fbed0", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", - "nameSingular": "task", - "namePlural": "tasks" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "0426d319-3928-4dfc-93ce-d4cc6172b30d", - "name": "attachments" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "nameSingular": "attachment", - "namePlural": "attachments" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "e1186bb6-6864-4a5e-99bb-c77c2a3fd747", - "name": "task" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b69d4c32-d83d-40b6-947b-fa6cca32990e", - "type": FieldMetadataType.TsVector, - "name": "searchVector", - "label": "Search vector", - "description": "Field used for full-text search", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7966cbeb-0597-418f-9ae6-6a35e9c527cc", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "550afb9c-6f7e-444b-b4fa-2b6a4ae15843", - "type": FieldMetadataType.Relation, - "name": "taskTargets", - "label": "Relations", - "description": "Task targets", - "icon": "IconArrowUpRight", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "0e8029bc-671b-4842-9911-81942fe6220f", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", - "nameSingular": "task", - "namePlural": "tasks" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "550afb9c-6f7e-444b-b4fa-2b6a4ae15843", - "name": "taskTargets" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "84c4f534-4798-47ab-b725-a122e966ae9e", - "nameSingular": "taskTarget", - "namePlural": "taskTargets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "60309d2d-c7d6-4ea5-9dc6-b48609cd8b7f", - "name": "task" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8fb75668-dd20-4415-b86b-c14f4385bc4d", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "eac0db6a-693a-4a42-a01d-5c870f47e894", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a7625918-c9d4-40c3-8ad8-de262e179dcc", - "type": FieldMetadataType.DateTime, - "name": "dueAt", - "label": "Due Date", - "description": "Task due date", - "icon": "IconCalendarEvent", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "10272df2-3022-43df-bc9a-e2b4f2727446", - "type": FieldMetadataType.Position, - "name": "position", - "label": "Position", - "description": "Task record position", - "icon": "IconHierarchy2", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "cebaca52-5e67-4901-b6a4-c25e7b19f199", - "type": FieldMetadataType.RichText, - "name": "body", - "label": "Body", - "description": "Task body", - "icon": "IconFilePencil", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7dcf00cb-3d0f-47a2-b7c9-927b961f6520", - "type": FieldMetadataType.Uuid, - "name": "assigneeId", - "label": "Assignee id (foreign key)", - "description": "Task assignee id foreign key", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d74a46d9-9807-4252-a8e6-62130055356d", - "type": FieldMetadataType.Actor, - "name": "createdBy", - "label": "Created by", - "description": "The creator of the record", - "icon": "IconCreativeCommonsSa", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "name": "''", - "source": "'MANUAL'" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "fea58455-f3c7-461b-9e6a-74378e9a365f", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "5f0839ca-5308-4870-86fa-e7ae8308b1ac", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_ee5298b25512b38b29390e084f7", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "9a6068de-4223-489f-b358-e3c3a55c8b83", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "7dcf00cb-3d0f-47a2-b7c9-927b961f6520" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "c8c6f567-9799-4ca8-9820-a099c5bf495c", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_d01a000cf26e1225d894dc3d364", - "indexWhereClause": null, - "indexType": IndexType.Gin, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "bd85a32c-5922-4f56-a51b-95beceefb0bf", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "b69d4c32-d83d-40b6-947b-fa6cca32990e" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "211aabc2-5a30-4fd1-9bd3-9a0ba538abf0", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "messageChannelMessageAssociation", - "namePlural": "messageChannelMessageAssociations", - "labelSingular": "Message Channel Message Association", - "labelPlural": "Message Channel Message Associations", - "description": "Message Synced with a Message Channel", - "icon": "IconMessage", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "77fb099a-9f24-4d7d-8da2-6898e48bf868", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjEw" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "95ca22c3-2c92-4321-b514-391a861f41d2", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "77fb099a-9f24-4d7d-8da2-6898e48bf868", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "91ec1ccb-08be-4adf-a3ab-8ab11724226b", - "type": FieldMetadataType.Relation, - "name": "message", - "label": "Message Id", - "description": "Message Id", - "icon": "IconHash", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "f7b1e9df-5c65-4d64-9cf4-8065aa5edd58", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "211aabc2-5a30-4fd1-9bd3-9a0ba538abf0", - "nameSingular": "messageChannelMessageAssociation", - "namePlural": "messageChannelMessageAssociations" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "91ec1ccb-08be-4adf-a3ab-8ab11724226b", - "name": "message" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "3385d352-10a0-428f-9863-e52e7164b26c", - "nameSingular": "message", - "namePlural": "messages" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "4103946d-4b6a-400a-b678-059f24c50384", - "name": "messageChannelMessageAssociations" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "28b5b467-cee4-4a9f-af66-9288006712e5", - "type": FieldMetadataType.Relation, - "name": "messageChannel", - "label": "Message Channel Id", - "description": "Message Channel Id", - "icon": "IconHash", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "30021d4e-da40-49d4-a315-f89b75b02830", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "211aabc2-5a30-4fd1-9bd3-9a0ba538abf0", - "nameSingular": "messageChannelMessageAssociation", - "namePlural": "messageChannelMessageAssociations" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "28b5b467-cee4-4a9f-af66-9288006712e5", - "name": "messageChannel" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "41302fe4-df07-425f-a492-56d7e6c759af", - "nameSingular": "messageChannel", - "namePlural": "messageChannels" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "15924ee3-7ad9-4a26-8d72-d85946d3bd7c", - "name": "messageChannelMessageAssociations" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8e1bc985-0e92-4a0c-b617-88c2f5b15f55", - "type": FieldMetadataType.Uuid, - "name": "messageId", - "label": "Message Id id (foreign key)", - "description": "Message Id id foreign key", - "icon": "IconHash", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a97d7645-9586-457f-81f5-5a567ff5d6da", - "type": FieldMetadataType.Uuid, - "name": "messageChannelId", - "label": "Message Channel Id id (foreign key)", - "description": "Message Channel Id id foreign key", - "icon": "IconHash", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "63b8c9e7-5867-42e1-be52-1efd5db6ecc8", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "eeaaad9c-de19-4d15-9e7b-095f866527d5", - "type": FieldMetadataType.Select, - "name": "direction", - "label": "Direction", - "description": "Message Direction", - "icon": "IconDirection", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'INCOMING'", - "options": [ - { - "id": "f2951ff1-b4fa-4aa2-b52a-471d114240c6", - "color": "green", - "label": "Incoming", - "value": "INCOMING", - "position": 0 - }, - { - "id": "d6340b38-8408-42a1-866b-8f0ccb08b599", - "color": "blue", - "label": "Outgoing", - "value": "OUTGOING", - "position": 1 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "010a9826-31ef-4faf-8ded-e645b247c81b", - "type": FieldMetadataType.Text, - "name": "messageThreadExternalId", - "label": "Thread External Id", - "description": "Thread id from the messaging provider", - "icon": "IconHash", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "c7efc927-fec2-483a-8ff9-58c7f63d76bc", - "type": FieldMetadataType.Text, - "name": "messageExternalId", - "label": "Message External Id", - "description": "Message id from the messaging provider", - "icon": "IconHash", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4282b1d4-741b-4aac-94bd-b86e2e1afc97", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "d7d9eb3b-9b4f-45cd-a477-cdc2785141d8", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_63953e5f88351922043480b8801", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "47f98922-90a6-4591-a442-a0a8a354dbb3", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "63b8c9e7-5867-42e1-be52-1efd5db6ecc8" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "5de68cec-3ff9-4817-b180-7770d3e0881b", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_671dd9e01a80d1e4c89fc166c3b", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "c28d0b25-7d0d-43fd-afd1-e8cf37ce8b19", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "63b8c9e7-5867-42e1-be52-1efd5db6ecc8" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "8eca0b5c-8449-4ba2-b2d7-ba2cc07bc34a", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "8e1bc985-0e92-4a0c-b617-88c2f5b15f55" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "person", - "namePlural": "people", - "labelSingular": "Person", - "labelPlural": "People", - "description": "A person", - "icon": "IconUser", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "b351539f-6af9-45bf-9ee3-371368b83022", - "imageIdentifierFieldMetadataId": "55055af5-6236-41b5-9e3f-62ab6230c1f1", - "shortcut": "P", - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjI4" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a779e00c-68fe-4d04-a364-45e3b7c0d2b5", - "type": FieldMetadataType.Emails, - "name": "emails", - "label": "Emails", - "description": "Contact’s Emails", - "icon": "IconMail", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "primaryEmail": "''", - "additionalEmails": null - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "871a1a8f-47c3-4fb6-985e-8625a9483f9a", - "type": FieldMetadataType.Links, - "name": "xLink", - "label": "X", - "description": "Contact’s X/Twitter account", - "icon": "IconBrandX", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "primaryLinkUrl": "''", - "secondaryLinks": null, - "primaryLinkLabel": "''" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b03b3153-a062-4dcd-9a40-d8401726f752", - "type": FieldMetadataType.Phones, - "name": "whatsapp", - "label": "Whatsapp", - "description": "Contact's Whatsapp Number", - "icon": "IconBrandWhatsapp", - "isCustom": true, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:39:27.328Z", - "updatedAt": "2024-10-30T13:39:27.328Z", - "defaultValue": [ - { - "additionalPhones": {}, - "primaryPhoneNumber": "", - "primaryPhoneCountryCode": "" - } - ], - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "74aeccd6-9d05-4b91-aade-8a90f4dbd052", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8ef8d5ba-dad9-41ac-96d5-75d8659e21ff", - "type": FieldMetadataType.Links, - "name": "linkedinLink", - "label": "Linkedin", - "description": "Contact’s Linkedin account", - "icon": "IconBrandLinkedin", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "primaryLinkUrl": "''", - "secondaryLinks": null, - "primaryLinkLabel": "''" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e847601f-dcaf-45f1-a7a1-5530742ef765", - "type": FieldMetadataType.Relation, - "name": "timelineActivities", - "label": "Events", - "description": "Events linked to the person", - "icon": "IconTimelineEvent", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "8bf3b5fc-d140-43fb-bbf4-1983fd6ece66", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "e847601f-dcaf-45f1-a7a1-5530742ef765", - "name": "timelineActivities" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "8e0c042c-64a9-4d82-9800-c58b093eda5a", - "name": "person" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "9426bebc-fdd6-447a-9fb6-3bfaee7842ea", - "type": FieldMetadataType.Relation, - "name": "messageParticipants", - "label": "Message Participants", - "description": "Message Participants", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "7a994c6c-6574-45cd-b8f3-6268cf5e952a", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "9426bebc-fdd6-447a-9fb6-3bfaee7842ea", - "name": "messageParticipants" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "3afda1a8-e7ea-45e9-9c0c-f744ace5c20d", - "nameSingular": "messageParticipant", - "namePlural": "messageParticipants" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "b2fe1ee8-aab2-484a-87fa-edd6e1fc30c7", - "name": "person" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "6586555e-28ad-4b8a-855b-f8cbbd327c13", - "type": FieldMetadataType.Relation, - "name": "favorites", - "label": "Favorites", - "description": "Favorites linked to the contact", - "icon": "IconHeart", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "6e7d8470-4f3e-415d-843c-306380a483f0", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "6586555e-28ad-4b8a-855b-f8cbbd327c13", - "name": "favorites" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "6d72fd09-755d-409b-8455-f74da70fa9c1", - "nameSingular": "favorite", - "namePlural": "favorites" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "bd0b3981-63dd-4a8d-95cf-71080dae3364", - "name": "person" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "bc5fe4dd-e737-4596-bbb2-50660f43b920", - "type": FieldMetadataType.Relation, - "name": "attachments", - "label": "Attachments", - "description": "Attachments linked to the contact.", - "icon": "IconFileImport", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "13103358-7184-4a0c-87e7-1f622480cb36", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "bc5fe4dd-e737-4596-bbb2-50660f43b920", - "name": "attachments" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "ba95cbd9-694f-4ae5-906d-1f7cd213c9fe", - "nameSingular": "attachment", - "namePlural": "attachments" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "4ccca276-e876-4a1d-b64b-12ab3242b605", - "name": "person" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3085019f-5351-42ce-9a40-8852f4245257", - "type": FieldMetadataType.Actor, - "name": "createdBy", - "label": "Created by", - "description": "The creator of the record", - "icon": "IconCreativeCommonsSa", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "name": "''", - "source": "'MANUAL'" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d48b7e4c-41a6-4e45-8349-94848e6a21a8", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "55055af5-6236-41b5-9e3f-62ab6230c1f1", - "type": FieldMetadataType.Text, - "name": "avatarUrl", - "label": "Avatar", - "description": "Contact’s avatar", - "icon": "IconFileUpload", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "64a9cad7-d61f-406f-b7f1-7da640768757", - "type": FieldMetadataType.Text, - "name": "intro", - "label": "Intro", - "description": "Contact's Intro", - "icon": "IconNote", - "isCustom": true, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:39:26.387Z", - "updatedAt": "2024-10-30T13:39:26.387Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ad176aea-890e-4e7c-b0e5-67d9b9717e02", - "type": FieldMetadataType.Relation, - "name": "calendarEventParticipants", - "label": "Calendar Event Participants", - "description": "Calendar Event Participants", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "194734ec-9308-4711-b6ec-3ede45a44978", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "ad176aea-890e-4e7c-b0e5-67d9b9717e02", - "name": "calendarEventParticipants" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "5706c0cc-9d33-4bb8-8b6d-db74b8d882c8", - "nameSingular": "calendarEventParticipant", - "namePlural": "calendarEventParticipants" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "dfd280bd-60f5-4291-bff3-ee40a512afd6", - "name": "person" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "334443ec-bfd0-4492-8edd-9dd7def5f73e", - "type": FieldMetadataType.Relation, - "name": "company", - "label": "Company", - "description": "Contact’s company", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "66654d28-8ce1-4750-8bd3-ba30a97af1eb", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "334443ec-bfd0-4492-8edd-9dd7def5f73e", - "name": "company" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "ea7e9ce5-c5f7-404e-9439-ad9edf5d03cf", - "name": "people" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "32a8f4c6-c106-4071-ae5f-03f847a114f9", - "type": FieldMetadataType.TsVector, - "name": "searchVector", - "label": "Search vector", - "description": "Field used for full-text search", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "3b362fc7-92be-455e-b926-2e6f42c359e3", - "type": FieldMetadataType.Position, - "name": "position", - "label": "Position", - "description": "Person record Position", - "icon": "IconHierarchy2", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "dbec4d0c-a037-42d9-8e49-b945f65eec23", - "type": FieldMetadataType.Relation, - "name": "pointOfContactForOpportunities", - "label": "Linked Opportunities", - "description": "List of opportunities for which that person is the point of contact", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "6aa55cb7-0038-495b-97f2-c80a48c5819a", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "dbec4d0c-a037-42d9-8e49-b945f65eec23", - "name": "pointOfContactForOpportunities" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "nameSingular": "opportunity", - "namePlural": "opportunities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "fb964332-c2a5-43d0-8da1-ff7127fa0a42", - "name": "pointOfContact" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "2ae260b8-4aae-4f5e-8d2d-a073d280c837", - "type": FieldMetadataType.Relation, - "name": "taskTargets", - "label": "Tasks", - "description": "Tasks tied to the contact", - "icon": "IconCheckbox", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "e2479abf-7807-4ac0-b640-581e95bef640", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "2ae260b8-4aae-4f5e-8d2d-a073d280c837", - "name": "taskTargets" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "84c4f534-4798-47ab-b725-a122e966ae9e", - "nameSingular": "taskTarget", - "namePlural": "taskTargets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "b2bbd05f-98d5-49bd-a690-61469162f76c", - "name": "person" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "64b79562-04ca-4d6d-a0a4-23b0bd7e968b", - "type": FieldMetadataType.Relation, - "name": "noteTargets", - "label": "Notes", - "description": "Notes tied to the contact", - "icon": "IconNotes", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "ee0b4558-79da-49a3-8f73-e759cf618989", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "64b79562-04ca-4d6d-a0a4-23b0bd7e968b", - "name": "noteTargets" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", - "nameSingular": "noteTarget", - "namePlural": "noteTargets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "6aa53abb-3d35-4f5d-9e8e-f9433488755b", - "name": "person" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8071ecc9-9d3a-4055-8b70-04cd87111471", - "type": FieldMetadataType.MultiSelect, - "name": "workPreference", - "label": "Work Preference", - "description": "Person's Work Preference", - "icon": "IconHome", - "isCustom": true, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:28.368Z", - "updatedAt": "2024-10-30T13:39:28.368Z", - "defaultValue": null, - "options": [ - { - "id": "a96ded4d-cd28-49ba-9a12-448a49670b82", - "color": "green", - "label": "On-Site", - "value": "ON_SITE", - "position": 0 - }, - { - "id": "e5a99d1e-8d3d-4f29-9410-8761d7d93cd7", - "color": "turquoise", - "label": "Hybrid", - "value": "HYBRID", - "position": 1 - }, - { - "id": "80d47bf2-ad5d-4075-b362-e96f257560ee", - "color": "sky", - "label": "Remote Work", - "value": "REMOTE_WORK", - "position": 2 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "6c91c44b-5f40-43d2-9669-d7090ff6e4be", - "type": FieldMetadataType.Phones, - "name": "phones", - "label": "Phones", - "description": "Contact’s phone numbers", - "icon": "IconPhone", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "additionalPhones": null, - "primaryPhoneNumber": "''", - "primaryPhoneCountryCode": "''" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "bded282a-1a30-44d2-bb0b-18880fa76cfe", - "type": FieldMetadataType.Rating, - "name": "performanceRating", - "label": "Performance Rating", - "description": "Person's Performance Rating", - "icon": "IconStars", - "isCustom": true, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:29.279Z", - "updatedAt": "2024-10-30T13:39:29.279Z", - "defaultValue": null, - "options": [ - { - "id": "d83c7e81-5d89-42ba-8f44-48606abd94d8", - "label": "1", - "value": "RATING_1", - "position": 0 - }, - { - "id": "d22a9aad-0dee-4590-844c-306fb724b0d5", - "label": "2", - "value": "RATING_2", - "position": 1 - }, - { - "id": "e6707d09-b7c7-49a8-9dac-29e053cb4f99", - "label": "3", - "value": "RATING_3", - "position": 2 - }, - { - "id": "dc4271d5-7c95-4241-b6a9-4f9f82120ea4", - "label": "4", - "value": "RATING_4", - "position": 3 - }, - { - "id": "c6969c1e-a01f-4998-ba97-0ea5b6679df8", - "label": "5", - "value": "RATING_5", - "position": 4 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b351539f-6af9-45bf-9ee3-371368b83022", - "type": FieldMetadataType.FullName, - "name": "name", - "label": "Name", - "description": "Contact’s name", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": { - "lastName": "''", - "firstName": "''" - }, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "9dfe9d4a-7603-4425-83b4-47001c858acd", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "28820c91-7931-4ae6-bb28-5b34d821291a", - "type": FieldMetadataType.Uuid, - "name": "companyId", - "label": "Company id (foreign key)", - "description": "Contact’s company id foreign key", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0178953f-ed7e-4fb5-ad60-c9d7c7d1366c", - "type": FieldMetadataType.Text, - "name": "city", - "label": "City", - "description": "Contact’s city", - "icon": "IconMap", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1c26cb01-5cee-41cd-8b50-839433bc5c1b", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "92c6a02e-dc42-48a1-8887-7f1583545830", - "type": FieldMetadataType.Text, - "name": "jobTitle", - "label": "Job Title", - "description": "Contact’s job title", - "icon": "IconBriefcase", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "1acb6467-fce0-4822-9b5e-9529c7e71ccd", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_6a862a788ac6ce967afa06df812", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "3a5181df-47d7-4926-8e40-8bb84018e266", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "1c26cb01-5cee-41cd-8b50-839433bc5c1b" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "4b4f43b5-c044-48c4-886a-aa71bbbf1755", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "28820c91-7931-4ae6-bb28-5b34d821291a" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "6f6704c3-7838-4e50-ac81-39170d4f037f", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_bbd7aec1976fc684a0a5e4816c9", - "indexWhereClause": null, - "indexType": IndexType.Gin, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "5770e393-3bcd-45de-8d66-0d0f625b9448", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "32a8f4c6-c106-4071-ae5f-03f847a114f9" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "d6a3d879-e4f8-428f-a7db-6844ff40f022", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_UNIQUE_87914cd3ce963115f8cb943e2ac", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": true, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "b354b54a-7f79-4dc3-9893-7c81a181e123", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "a779e00c-68fe-4d04-a364-45e3b7c0d2b5" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "1b8027e7-e77e-43a9-8b99-ae672f0c2d96", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "viewFilterGroup", - "namePlural": "viewFilterGroups", - "labelSingular": "View Filter Group", - "labelPlural": "View Filter Groups", - "description": "(System) View Filter Groups", - "icon": "IconFilterBolt", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "7e109c72-f99d-4e09-a507-8c8175aee2bf", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjg=" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "56765ee9-d7b8-448d-9f25-0c4b1fafc41e", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "602aae4d-9f7b-4476-a5b0-d3cf738eae11", - "type": FieldMetadataType.Select, - "name": "logicalOperator", - "label": "Logical Operator", - "description": "Logical operator for the filter group", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'NOT'", - "options": [ - { - "id": "813c7a51-1e06-49b2-9529-f38a01513061", - "color": "blue", - "label": "AND", - "value": "AND", - "position": 0 - }, - { - "id": "b985fed1-ddbd-400a-be56-f770de51af03", - "color": "green", - "label": "OR", - "value": "OR", - "position": 1 - }, - { - "id": "c960381d-a829-4531-b48e-6808aa51f3a8", - "color": "red", - "label": "NOT", - "value": "NOT", - "position": 2 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "5fd33d47-cb5b-4c9d-a05e-e48e89541196", - "type": FieldMetadataType.Relation, - "name": "view", - "label": "View", - "description": "View", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "a7eb655c-ce3b-440f-8e8c-53e0f621da61", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "1b8027e7-e77e-43a9-8b99-ae672f0c2d96", - "nameSingular": "viewFilterGroup", - "namePlural": "viewFilterGroups" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "5fd33d47-cb5b-4c9d-a05e-e48e89541196", - "name": "view" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", - "nameSingular": "view", - "namePlural": "views" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "ad547e8a-8363-4834-ae26-5e5c9e92f280", - "name": "viewFilterGroups" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0f536f18-0d0a-4d3c-ba49-70b1be5be3fe", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "41302538-a120-42e7-9274-98ccc7bb0c40", - "type": FieldMetadataType.Uuid, - "name": "viewId", - "label": "View id (foreign key)", - "description": "View id foreign key", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ed00f540-e5f5-4858-86c9-270de3ecd87b", - "type": FieldMetadataType.Position, - "name": "positionInViewFilterGroup", - "label": "Position in view filter group", - "description": "Position in the parent view filter group", - "icon": "IconHierarchy2", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "59f23864-7aca-431c-874b-38192110e9ee", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7e109c72-f99d-4e09-a507-8c8175aee2bf", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "271ec5cd-f5e8-4c9b-b9c5-70cd24a9ba7d", - "type": FieldMetadataType.Uuid, - "name": "parentViewFilterGroupId", - "label": "Parent View Filter Group Id", - "description": "Parent View Filter Group", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "1d8a5a60-8514-45c5-9eb3-f4ef6c8c0efb", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_64ce6940a9464cd62484d52fb08", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "1f532999-ecc0-4385-a6a7-e7da4948abc5", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "0f536f18-0d0a-4d3c-ba49-70b1be5be3fe" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "8edc9c24-d2ec-493a-827d-5d6b44b2d52d", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "41302538-a120-42e7-9274-98ccc7bb0c40" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "18c81dd7-1656-4cfd-930c-40917a8ebdb1", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "viewFilter", - "namePlural": "viewFilters", - "labelSingular": "View Filter", - "labelPlural": "View Filters", - "description": "(System) View Filters", - "icon": "IconFilterBolt", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "7a02a84d-fdfc-4225-8663-a596f70b4906", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjEx" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "05581434-a49c-4f9a-a9a1-d2c34d9d2833", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "772b40e9-7b6a-4f6f-80dd-364d2b684bea", - "type": FieldMetadataType.Text, - "name": "displayValue", - "label": "Display Value", - "description": "View Filter Display Value", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "38cc2789-fd24-4eae-a658-13e4262891a9", - "type": FieldMetadataType.Text, - "name": "operand", - "label": "Operand", - "description": "View Filter operand", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'Contains'", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "77e3ad77-5c63-44a0-bebc-c29b332ccf1e", - "type": FieldMetadataType.Uuid, - "name": "viewId", - "label": "View id (foreign key)", - "description": "View Filter related view id foreign key", - "icon": "IconLayoutCollage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0c12b165-4297-4e28-842d-f0c7fc10b4ec", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e4f07ee0-007e-421f-a8d1-81efc4469c4d", - "type": FieldMetadataType.Position, - "name": "positionInViewFilterGroup", - "label": "Position in view filter group", - "description": "Position in the view filter group", - "icon": "IconHierarchy2", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7a02a84d-fdfc-4225-8663-a596f70b4906", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "07806fe5-7b74-4c75-b6b9-b31ed34201f8", - "type": FieldMetadataType.Relation, - "name": "view", - "label": "View", - "description": "View Filter related view", - "icon": "IconLayoutCollage", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "62a743f6-0984-4b49-8e60-1845853db297", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "18c81dd7-1656-4cfd-930c-40917a8ebdb1", - "nameSingular": "viewFilter", - "namePlural": "viewFilters" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "07806fe5-7b74-4c75-b6b9-b31ed34201f8", - "name": "view" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "88520ce4-938b-4d9f-a5ea-61e5e89f767e", - "nameSingular": "view", - "namePlural": "views" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "72a66df5-81b7-4b38-bc1c-c637b890c9f0", - "name": "viewFilters" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ddd29525-3798-4994-babe-4a9a60f21cc7", - "type": FieldMetadataType.Uuid, - "name": "fieldMetadataId", - "label": "Field Metadata Id", - "description": "View Filter target field", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "88657060-cd27-4340-ab9b-421c297fbac4", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "fa342b82-4f3e-420e-a967-208796d092ef", - "type": FieldMetadataType.Text, - "name": "value", - "label": "Value", - "description": "View Filter value", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "17ea0485-fb34-4a9f-a242-7500a7be9b38", - "type": FieldMetadataType.Uuid, - "name": "viewFilterGroupId", - "label": "View Filter Group Id", - "description": "View Filter Group", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "a13146ca-02db-43d3-9730-7cd188936bd3", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_5653b106ee9a9e3d5c1c790419a", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "861c791b-1d20-46bc-8ae3-dd5324c0a344", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "77e3ad77-5c63-44a0-bebc-c29b332ccf1e" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities", - "labelSingular": "Timeline Activity", - "labelPlural": "Timeline Activities", - "description": "Aggregated / filtered event to be displayed on the timeline", - "icon": "IconTimelineEvent", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "2fcdbbf9-b1c8-4073-b546-bbf5de9350dc", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjI5" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "2fcdbbf9-b1c8-4073-b546-bbf5de9350dc", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e84f32ae-f82c-44e0-a772-3e1e9a5ca5e6", - "type": FieldMetadataType.Uuid, - "name": "rocketId", - "label": "Rocket ID (foreign key)", - "description": "Timeline Activity Rocket id foreign key", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.550Z", - "updatedAt": "2024-10-30T13:39:30.550Z", - "defaultValue": null, - "options": null, - "settings": { - "isForeignKey": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "971d7e6e-8ac5-45ee-8e8b-2fe38f3ee305", - "type": FieldMetadataType.Relation, - "name": "workflowVersion", - "label": "WorkflowVersion", - "description": "Event workflow version", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "db8b3588-fc2e-4809-83da-585d5a7c7b94", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "971d7e6e-8ac5-45ee-8e8b-2fe38f3ee305", - "name": "workflowVersion" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "fad28eb7-a085-4917-93b3-579afd54f373", - "nameSingular": "workflowVersion", - "namePlural": "workflowVersions" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "982e771e-36b5-43d7-8311-9e0147413c37", - "name": "timelineActivities" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "014bb754-66d6-4272-b898-b56d213088cd", - "type": FieldMetadataType.RawJson, - "name": "properties", - "label": "Event details", - "description": "Json value for event details", - "icon": "IconListDetails", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "11786990-63a1-4cfb-81d4-dd3f7ff4bb5e", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "22a41f8a-7e01-4c99-a404-7803a7fd55c1", - "type": FieldMetadataType.Uuid, - "name": "workspaceMemberId", - "label": "Workspace Member id (foreign key)", - "description": "Event workspace member id foreign key", - "icon": "IconCircleUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f14e780d-4784-4aa0-a9fe-a0e3de90881b", - "type": FieldMetadataType.Text, - "name": "linkedRecordCachedName", - "label": "Linked Record cached name", - "description": "Cached record name", - "icon": "IconAbc", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e694cbc5-0f5b-4f5b-b2e6-27d5d2bb6d83", - "type": FieldMetadataType.Uuid, - "name": "workflowVersionId", - "label": "WorkflowVersion id (foreign key)", - "description": "Event workflow version id foreign key", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f1192a47-f65e-4670-a264-76b6a0554196", - "type": FieldMetadataType.Uuid, - "name": "opportunityId", - "label": "Opportunity id (foreign key)", - "description": "Event opportunity id foreign key", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1f63eefe-6157-4604-a1b5-b5f4a751739f", - "type": FieldMetadataType.Uuid, - "name": "taskId", - "label": "Task id (foreign key)", - "description": "Event task id foreign key", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7b3381dc-10f3-451b-b948-292d17326438", - "type": FieldMetadataType.Text, - "name": "name", - "label": "Event name", - "description": "Event name", - "icon": "IconAbc", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "aac285c9-3c46-4bd2-b110-047a7d21ad13", - "type": FieldMetadataType.Relation, - "name": "workflow", - "label": "Workflow", - "description": "Event workflow", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "143ea000-9a6f-4f1d-8c19-38f1c05ce3a7", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "aac285c9-3c46-4bd2-b110-047a7d21ad13", - "name": "workflow" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "8ee31473-4b30-4870-bcaa-92d77ad56bb6", - "nameSingular": "workflow", - "namePlural": "workflows" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "e5fa8aec-caf5-4334-8c39-d8f3eebfaabe", - "name": "timelineActivities" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "738e965d-814a-4ab4-a66c-21ae2bb9ad35", - "type": FieldMetadataType.Relation, - "name": "task", - "label": "Task", - "description": "Event task", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "44687a34-fc9d-47aa-8559-acdd7580e81e", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "738e965d-814a-4ab4-a66c-21ae2bb9ad35", - "name": "task" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "25e10253-f0e1-4a6d-90e3-ad62a4b20292", - "nameSingular": "task", - "namePlural": "tasks" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "56c91566-aa07-429a-804c-e1e9264d2312", - "name": "timelineActivities" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7ae68305-c320-4d80-b2aa-cb8c9e3755a0", - "type": FieldMetadataType.Uuid, - "name": "noteId", - "label": "Note id (foreign key)", - "description": "Event note id foreign key", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "afaa48c5-7c8b-47a9-bb6c-ad22d31bbb8e", - "type": FieldMetadataType.DateTime, - "name": "happensAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "2c7b281d-7829-433d-a441-c3a4d2e0a90f", - "type": FieldMetadataType.Uuid, - "name": "linkedObjectMetadataId", - "label": "Linked Object Metadata Id", - "description": "inked Object Metadata Id", - "icon": "IconAbc", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "6bf9c134-dd47-4413-8d50-b8e64ae91492", - "type": FieldMetadataType.Uuid, - "name": "companyId", - "label": "Company id (foreign key)", - "description": "Event company id foreign key", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4f44f484-ed6b-4705-9276-ecb96f6dbd7a", - "type": FieldMetadataType.Uuid, - "name": "linkedRecordId", - "label": "Linked Record id", - "description": "Linked Record id", - "icon": "IconAbc", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "da52ab08-cd76-47d3-b333-c25755c023af", - "type": FieldMetadataType.Relation, - "name": "note", - "label": "Note", - "description": "Event note", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "45d55e26-edac-4743-b536-8ae8d5af12cb", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "da52ab08-cd76-47d3-b333-c25755c023af", - "name": "note" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "7adf354a-c57f-4c76-8079-259f237dc5da", - "nameSingular": "note", - "namePlural": "notes" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "fa51d8f4-4a2e-4709-9e3c-ecb3b2602c18", - "name": "timelineActivities" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "0a7b67cf-5f49-4873-a617-6c6ccd47dd39", - "type": FieldMetadataType.Relation, - "name": "workspaceMember", - "label": "Workspace Member", - "description": "Event workspace member", - "icon": "IconCircleUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "85f3aac1-28c3-4e62-b1b8-1e4741b13285", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "0a7b67cf-5f49-4873-a617-6c6ccd47dd39", - "name": "workspaceMember" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "a6ae81d6-b50b-4183-a2bb-ebcc0428dd53", - "nameSingular": "workspaceMember", - "namePlural": "workspaceMembers" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "dff91df5-36ed-421f-ae00-280e9f7ac50d", - "name": "timelineActivities" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "6cdf76c3-3dfa-4612-a730-73e208cadee4", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "b3a935ca-5797-4bfb-b783-cd7b7725e330", - "type": FieldMetadataType.Relation, - "name": "workflowRun", - "label": "Workflow Run", - "description": "Event workflow run", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "c94de946-5251-4f3e-ac9e-02b3df402610", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "b3a935ca-5797-4bfb-b783-cd7b7725e330", - "name": "workflowRun" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "87ef9245-2665-45db-8193-b6d216b5df50", - "nameSingular": "workflowRun", - "namePlural": "workflowRuns" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "47274092-c29c-4717-b7b0-2de1a1007beb", - "name": "timelineActivities" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8e0c042c-64a9-4d82-9800-c58b093eda5a", - "type": FieldMetadataType.Relation, - "name": "person", - "label": "Person", - "description": "Event person", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "8bf3b5fc-d140-43fb-bbf4-1983fd6ece66", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "8e0c042c-64a9-4d82-9800-c58b093eda5a", - "name": "person" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "e847601f-dcaf-45f1-a7a1-5530742ef765", - "name": "timelineActivities" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1b615e84-dd01-4676-adba-8f2b6721a772", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8e8d68bb-1010-43e3-811f-ec4c53d9d69f", - "type": FieldMetadataType.Uuid, - "name": "personId", - "label": "Person id (foreign key)", - "description": "Event person id foreign key", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "9febbd65-1690-4221-90d4-0da74f755899", - "type": FieldMetadataType.Relation, - "name": "company", - "label": "Company", - "description": "Event company", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "267d91a0-27bf-4da8-a453-37b80e9553ab", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "9febbd65-1690-4221-90d4-0da74f755899", - "name": "company" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "fd40372d-0805-4d54-a848-45b35c5ec4c7", - "name": "timelineActivities" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "746f850a-4f72-41fc-b92b-eb3d1dba3c00", - "type": FieldMetadataType.Relation, - "name": "rocket", - "label": "Rocket", - "description": "TimelineActivity Rocket", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.641Z", - "updatedAt": "2024-10-30T13:39:30.641Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "c0322ad7-03e8-456c-85f5-a9f1726ca85a", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "746f850a-4f72-41fc-b92b-eb3d1dba3c00", - "name": "rocket" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", - "nameSingular": "rocket", - "namePlural": "rockets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "6a01f496-cb3a-4216-81a7-a74a9a654e74", - "name": "timelineActivities" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "58e1f883-6785-413a-aa88-af2b964971fc", - "type": FieldMetadataType.Uuid, - "name": "workflowId", - "label": "Workflow id (foreign key)", - "description": "Event workflow id foreign key", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f37b50e4-f967-4d98-8bd4-36ed00aac809", - "type": FieldMetadataType.Uuid, - "name": "workflowRunId", - "label": "Workflow Run id (foreign key)", - "description": "Event workflow run id foreign key", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "5607d2b7-1027-42d2-9362-4b51d473758a", - "type": FieldMetadataType.Relation, - "name": "opportunity", - "label": "Opportunity", - "description": "Event opportunity", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "1f45c275-bc77-4469-b180-2be3916b6f08", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "082301c2-cd4d-4cdf-ab5a-98a71d493036", - "nameSingular": "timelineActivity", - "namePlural": "timelineActivities" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "5607d2b7-1027-42d2-9362-4b51d473758a", - "name": "opportunity" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "nameSingular": "opportunity", - "namePlural": "opportunities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "a532ecf7-6e9c-4980-8f2c-9b8b37f4f1ce", - "name": "timelineActivities" - } - } - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "842bc86b-c5d6-4652-84e1-3da827fa5fb1", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_a930d316a6b4f3b81d3f026dd16", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "bb550cb7-c80a-4ce6-a557-df0b8f4dfa85", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "22a41f8a-7e01-4c99-a404-7803a7fd55c1" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "67d85057-ecb1-4b77-a99e-8128b66de710", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_2708a99873421942c99ab94da12", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "13fa5538-497f-41c1-9a86-c71a3efa456e", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "58e1f883-6785-413a-aa88-af2b964971fc" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "79489888-9586-4002-b90c-3b1c8b613768", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_daf6592d1dff4cff3401bf23c67", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "71a881af-076c-4c91-89e9-dd55e2f0fa2c", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "8e8d68bb-1010-43e3-811f-ec4c53d9d69f" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "b9ddbfa2-0008-4be1-8af9-984dfc2523dc", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_a98bc2277b52c6dd52303e52c21", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "cd089015-3c73-46b5-a907-08e0b3fa6387", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "7ae68305-c320-4d80-b2aa-cb8c9e3755a0" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "7febd47c-126b-45bb-8089-dec492776179", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_7e0d952730f13369e3bd9c2f1a9", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "edd36f45-e43e-4899-af83-8db3b09a09cb", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "6cdf76c3-3dfa-4612-a730-73e208cadee4" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "0aa705b9-1f30-413c-83f7-2bf79fedb7cd", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "f1192a47-f65e-4670-a264-76b6a0554196" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "ccdda6fc-5aca-4fc3-93e0-edc95490f2aa", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_b292fe34a9e2d55884febd07e93", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "7224aca9-5eac-4cf1-b012-2304775a1455", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "6cdf76c3-3dfa-4612-a730-73e208cadee4" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "3213df12-79e7-4a1a-9eb2-4100a5674387", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_84b1e01cb0480e514a6e7ec0095", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "36d9c7c3-cb55-4944-9fef-db209341d06f", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "6cdf76c3-3dfa-4612-a730-73e208cadee4" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "f45e2806-4719-4f5f-a340-deca73d0b8ca", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "6bf9c134-dd47-4413-8d50-b8e64ae91492" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "fe240ae4-24c2-48d2-b821-de1d2cdc170d", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_6eae0c4202a87f812adf2f2ba6f", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "dfb74762-2d9e-4567-bac1-6548be07cb42", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "f37b50e4-f967-4d98-8bd4-36ed00aac809" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "b9674605-d84a-49f8-8946-da493a62f7f6", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "6cdf76c3-3dfa-4612-a730-73e208cadee4" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "8ca84efe-cd2e-4089-b813-7370276a9d33", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_4e40a441ad75df16dd71499529a", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "3155ebd6-bc7f-4e69-8c21-f70dbb5bea66", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "e694cbc5-0f5b-4f5b-b2e6-27d5d2bb6d83" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "024357b0-9d5b-4e68-b8e2-70acf57a9aba", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "calendarChannel", - "namePlural": "calendarChannels", - "labelSingular": "Calendar Channel", - "labelPlural": "Calendar Channels", - "description": "Calendar Channels", - "icon": "IconCalendar", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "f7f30073-d0e6-4109-a267-936f7ee8a88d", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjE3" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "302460cb-8e4f-4f8e-bf4b-a568b7bc878d", - "type": FieldMetadataType.Select, - "name": "contactAutoCreationPolicy", - "label": "Contact auto creation policy", - "description": "Automatically create records for people you participated with in an event.", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'AS_PARTICIPANT_AND_ORGANIZER'", - "options": [ - { - "id": "39e9606e-e45a-42ad-99c6-3f59b68c52d4", - "color": "green", - "label": "As Participant and Organizer", - "value": "AS_PARTICIPANT_AND_ORGANIZER", - "position": 0 - }, - { - "id": "e7e4359b-1ff9-4dbd-95a8-f433cc6ca63f", - "color": "orange", - "label": "As Participant", - "value": "AS_PARTICIPANT", - "position": 1 - }, - { - "id": "9875053e-ea56-41c3-aaff-1729bc59a8b8", - "color": "blue", - "label": "As Organizer", - "value": "AS_ORGANIZER", - "position": 2 - }, - { - "id": "e855c969-0ce9-49a4-a0c0-955a597f2e3b", - "color": "red", - "label": "None", - "value": "NONE", - "position": 3 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ab598d53-5c7e-4423-95a4-6e581de50579", - "type": FieldMetadataType.DateTime, - "name": "syncedAt", - "label": "Last sync date", - "description": "Last sync date", - "icon": "IconHistory", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "a3b1ccda-79fc-4c6c-9d00-855f5dd380bd", - "type": FieldMetadataType.Text, - "name": "syncCursor", - "label": "Sync Cursor", - "description": "Sync Cursor. Used for syncing events from the calendar provider", - "icon": "IconReload", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "87a20f4f-7f0e-4950-bbe9-7934c54d97d5", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "15a6d1f0-caf2-4d2a-8143-bee8d381c22a", - "type": FieldMetadataType.Number, - "name": "throttleFailureCount", - "label": "Throttle Failure Count", - "description": "Throttle Failure Count", - "icon": "IconX", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": 0, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1136c4c5-c3e9-4781-98c6-dd1ff27b4590", - "type": FieldMetadataType.Select, - "name": "syncStage", - "label": "Sync stage", - "description": "Sync stage", - "icon": "IconStatusChange", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'FULL_CALENDAR_EVENT_LIST_FETCH_PENDING'", - "options": [ - { - "id": "55cb428a-af60-4ccc-8773-fb55252b9e24", - "color": "blue", - "label": "Full calendar event list fetch pending", - "value": "FULL_CALENDAR_EVENT_LIST_FETCH_PENDING", - "position": 0 - }, - { - "id": "cd5cc579-1ee7-42fc-a3d8-b8b3f3e473eb", - "color": "blue", - "label": "Partial calendar event list fetch pending", - "value": "PARTIAL_CALENDAR_EVENT_LIST_FETCH_PENDING", - "position": 1 - }, - { - "id": "73f6afa4-da7d-44b3-b848-cba16f10ed75", - "color": "orange", - "label": "Calendar event list fetch ongoing", - "value": "CALENDAR_EVENT_LIST_FETCH_ONGOING", - "position": 2 - }, - { - "id": "3e06f105-7559-4133-bf87-eb648d134e72", - "color": "blue", - "label": "Calendar events import pending", - "value": "CALENDAR_EVENTS_IMPORT_PENDING", - "position": 3 - }, - { - "id": "7159c6a6-7d92-47ac-9d0e-d0a0853efffc", - "color": "orange", - "label": "Calendar events import ongoing", - "value": "CALENDAR_EVENTS_IMPORT_ONGOING", - "position": 4 - }, - { - "id": "ba6786de-a9ce-45d5-a6f6-8eeb8b4f47a4", - "color": "red", - "label": "Failed", - "value": "FAILED", - "position": 5 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "63532a81-eedb-4be8-b823-8700b90f93e8", - "type": FieldMetadataType.DateTime, - "name": "syncStageStartedAt", - "label": "Sync stage started at", - "description": "Sync stage started at", - "icon": "IconHistory", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "76ec5c25-cff7-4a17-8a6f-0cb6b08e7477", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "9f58df6d-c341-42ff-a4d3-1278b617f3c1", - "type": FieldMetadataType.Relation, - "name": "calendarChannelEventAssociations", - "label": "Calendar Channel Event Associations", - "description": "Calendar Channel Event Associations", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "9285dd0e-c431-421e-993f-17ddda252c29", - "direction": RelationDefinitionType.OneToMany, - "sourceObjectMetadata": { - "__typename": "object", - "id": "024357b0-9d5b-4e68-b8e2-70acf57a9aba", - "nameSingular": "calendarChannel", - "namePlural": "calendarChannels" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "9f58df6d-c341-42ff-a4d3-1278b617f3c1", - "name": "calendarChannelEventAssociations" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "e9677a5e-ce9b-44e2-840c-c73fc9c64f1e", - "nameSingular": "calendarChannelEventAssociation", - "namePlural": "calendarChannelEventAssociations" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "4d0f0c12-fca8-4111-ab73-95ba8bc4c404", - "name": "calendarChannel" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "f7f30073-d0e6-4109-a267-936f7ee8a88d", - "type": FieldMetadataType.Text, - "name": "handle", - "label": "Handle", - "description": "Handle", - "icon": "IconAt", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "''", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "dab21d1a-7936-4ffc-ba15-aaa561ab1e2c", - "type": FieldMetadataType.Uuid, - "name": "connectedAccountId", - "label": "Connected Account id (foreign key)", - "description": "Connected Account id foreign key", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "ca742a11-31e4-43aa-813d-04e83c50e4a5", - "type": FieldMetadataType.Relation, - "name": "connectedAccount", - "label": "Connected Account", - "description": "Connected Account", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "9d18dc97-6d4f-43ad-adc0-2293f25e969c", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "024357b0-9d5b-4e68-b8e2-70acf57a9aba", - "nameSingular": "calendarChannel", - "namePlural": "calendarChannels" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "ca742a11-31e4-43aa-813d-04e83c50e4a5", - "name": "connectedAccount" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "5c1e17cb-3ed9-4024-b427-fe576d6ce3d1", - "nameSingular": "connectedAccount", - "namePlural": "connectedAccounts" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "664c36e8-7d1f-4077-9f2c-3d65d0d219cf", - "name": "calendarChannels" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1724f996-164e-4c58-9966-058ee3ba8487", - "type": FieldMetadataType.Boolean, - "name": "isContactAutoCreationEnabled", - "label": "Is Contact Auto Creation Enabled", - "description": "Is Contact Auto Creation Enabled", - "icon": "IconUserCircle", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": true, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "67522df3-bd24-4d37-9a53-9ed71a8b1f76", - "type": FieldMetadataType.Boolean, - "name": "isSyncEnabled", - "label": "Is Sync Enabled", - "description": "Is Sync Enabled", - "icon": "IconRefresh", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": true, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "1664cfbb-6274-4803-9fce-ffd8233f213a", - "type": FieldMetadataType.Select, - "name": "visibility", - "label": "Visibility", - "description": "Visibility", - "icon": "IconEyeglass", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "'SHARE_EVERYTHING'", - "options": [ - { - "id": "30a92cfc-c631-4523-a5df-e00c246752cb", - "color": "green", - "label": "Metadata", - "value": "METADATA", - "position": 0 - }, - { - "id": "6dfe5e9c-1abe-448c-a347-008653a2ad27", - "color": "orange", - "label": "Share Everything", - "value": "SHARE_EVERYTHING", - "position": 1 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "8dfd2303-b94d-486f-aad2-e7d298201afd", - "type": FieldMetadataType.Select, - "name": "syncStatus", - "label": "Sync status", - "description": "Sync status", - "icon": "IconStatusChange", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": [ - { - "id": "6153f65a-7a14-49b1-af65-96abb36e9ea9", - "color": "yellow", - "label": "Ongoing", - "value": "ONGOING", - "position": 1 - }, - { - "id": "f492782f-4d8a-4cb9-b7d3-e2f1c6c98b2c", - "color": "blue", - "label": "Not Synced", - "value": "NOT_SYNCED", - "position": 2 - }, - { - "id": "0858f415-e53c-4fd5-ab49-41afbb883d92", - "color": "green", - "label": "Active", - "value": "ACTIVE", - "position": 3 - }, - { - "id": "daca4b94-d668-43c0-9d0a-731b7a9423fe", - "color": "red", - "label": "Failed Insufficient Permissions", - "value": "FAILED_INSUFFICIENT_PERMISSIONS", - "position": 4 - }, - { - "id": "03e71ffd-ba62-407f-822b-c729aa7af340", - "color": "red", - "label": "Failed Unknown", - "value": "FAILED_UNKNOWN", - "position": 5 - } - ], - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "defd3073-aeb7-44c0-b1bc-b17087f09e97", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "32fc55a2-9491-4744-b46b-550c5882e31c", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "76c61b01-fc0d-4a14-90ae-099dc7542d88", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_3465c79448bacd2f1268e5f6310", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "d6bb0bf5-cf22-4aab-beb8-f2fe8c91b7ce", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "32fc55a2-9491-4744-b46b-550c5882e31c" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "605a1412-2efc-45f1-b4b1-eda368b55b64", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "dab21d1a-7936-4ffc-ba15-aaa561ab1e2c" - } - } - ] - } - } - } - ] - } - } - }, - { - "__typename": "objectEdge", - "node": { - "__typename": "object", - "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", - "dataSourceId": "190d0ed5-bb8a-4bf2-9bcf-10c373d39ac1", - "nameSingular": "noteTarget", - "namePlural": "noteTargets", - "labelSingular": "Note Target", - "labelPlural": "Note Targets", - "description": "A note target", - "icon": "IconCheckbox", - "isCustom": false, - "isRemote": false, - "isActive": true, - "isSystem": true, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "labelIdentifierFieldMetadataId": "71d023d3-6f34-4b9a-8bb3-8cc24c765a0b", - "imageIdentifierFieldMetadataId": null, - "shortcut": null, - "isLabelSyncedWithName": false, - "fields": { - "__typename": "ObjectFieldsConnection", - "pageInfo": { - "__typename": "PageInfo", - "hasNextPage": false, - "hasPreviousPage": false, - "startCursor": "YXJyYXljb25uZWN0aW9uOjA=", - "endCursor": "YXJyYXljb25uZWN0aW9uOjEz" - }, - "edges": [ - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "e0ad90c6-04c4-45d2-af8e-73da4c514279", - "type": FieldMetadataType.Relation, - "name": "rocket", - "label": "Rocket", - "description": "NoteTarget Rocket", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:31.219Z", - "updatedAt": "2024-10-30T13:39:31.219Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "9a5f9b38-4951-45ee-b126-609794fb16fa", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", - "nameSingular": "noteTarget", - "namePlural": "noteTargets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "e0ad90c6-04c4-45d2-af8e-73da4c514279", - "name": "rocket" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "413848a7-bd94-4c24-aadc-0a5afe7a781f", - "nameSingular": "rocket", - "namePlural": "rockets" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "0d2b7aeb-19a2-451f-9bd6-8a14036840d8", - "name": "noteTargets" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "417a9cf3-2bce-450a-87d5-a19691b2b189", - "type": FieldMetadataType.Uuid, - "name": "companyId", - "label": "Company id (foreign key)", - "description": "NoteTarget company id foreign key", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "6aa53abb-3d35-4f5d-9e8e-f9433488755b", - "type": FieldMetadataType.Relation, - "name": "person", - "label": "Person", - "description": "NoteTarget person", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "ee0b4558-79da-49a3-8f73-e759cf618989", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", - "nameSingular": "noteTarget", - "namePlural": "noteTargets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "6aa53abb-3d35-4f5d-9e8e-f9433488755b", - "name": "person" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "1c05dac8-29f7-4f1e-9f61-579ad0eb647d", - "nameSingular": "person", - "namePlural": "people" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "64b79562-04ca-4d6d-a0a4-23b0bd7e968b", - "name": "noteTargets" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "5824337f-a16b-4675-90c5-7564e99f41db", - "type": FieldMetadataType.DateTime, - "name": "deletedAt", - "label": "Deleted at", - "description": "Date when the record was deleted", - "icon": "IconCalendarMinus", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "6a1cb524-661c-4a0a-8552-edd5ee8c3070", - "type": FieldMetadataType.Relation, - "name": "opportunity", - "label": "Opportunity", - "description": "NoteTarget opportunity", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "a1922bea-dc39-46ce-9237-3d969a82897e", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", - "nameSingular": "noteTarget", - "namePlural": "noteTargets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "6a1cb524-661c-4a0a-8552-edd5ee8c3070", - "name": "opportunity" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "e85877ca-dc73-4b9e-b9b7-139dc06ca7b7", - "nameSingular": "opportunity", - "namePlural": "opportunities" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "13cc2ff2-c423-4502-8ea3-d7679b86bcd0", - "name": "noteTargets" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "5461b3f4-2c08-4edb-bd74-5cb7c3450526", - "type": FieldMetadataType.DateTime, - "name": "createdAt", - "label": "Creation date", - "description": "Creation date", - "icon": "IconCalendar", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4ad4bc29-ed67-4ae3-b483-800ac3a7807c", - "type": FieldMetadataType.Uuid, - "name": "noteId", - "label": "Note id (foreign key)", - "description": "NoteTarget note id foreign key", - "icon": "IconNotes", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "04e4ad6b-cdaf-405d-98b1-2acb0a454c44", - "type": FieldMetadataType.Relation, - "name": "note", - "label": "Note", - "description": "NoteTarget note", - "icon": "IconNotes", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "8b541da0-5092-4089-9f1f-9504e680c396", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", - "nameSingular": "noteTarget", - "namePlural": "noteTargets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "04e4ad6b-cdaf-405d-98b1-2acb0a454c44", - "name": "note" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "7adf354a-c57f-4c76-8079-259f237dc5da", - "nameSingular": "note", - "namePlural": "notes" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "6bd180be-5c43-4b65-9fa1-255b236ec49e", - "name": "noteTargets" - } - } - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "af6e25ce-9017-4330-a354-700a94649333", - "type": FieldMetadataType.Uuid, - "name": "personId", - "label": "Person id (foreign key)", - "description": "NoteTarget person id foreign key", - "icon": "IconUser", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "4c8b5791-83a9-4076-8c2d-b05f1ad50f0a", - "type": FieldMetadataType.Uuid, - "name": "opportunityId", - "label": "Opportunity id (foreign key)", - "description": "NoteTarget opportunity id foreign key", - "icon": "IconTargetArrow", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "68f56972-a901-43f4-b3a0-f85393af1edf", - "type": FieldMetadataType.Uuid, - "name": "rocketId", - "label": "Rocket ID (foreign key)", - "description": "Note Target Rocket id foreign key", - "icon": null, - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:39:30.965Z", - "updatedAt": "2024-10-30T13:39:30.965Z", - "defaultValue": null, - "options": null, - "settings": { - "isForeignKey": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "71d023d3-6f34-4b9a-8bb3-8cc24c765a0b", - "type": FieldMetadataType.Uuid, - "name": "id", - "label": "Id", - "description": "Id", - "icon": "Icon123", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "uuid", - "options": null, - "settings": null, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "d5dcf52d-b662-49b3-94d3-d435592455c7", - "type": FieldMetadataType.DateTime, - "name": "updatedAt", - "label": "Last update", - "description": "Last time the record was changed", - "icon": "IconCalendarClock", - "isCustom": false, - "isActive": true, - "isSystem": false, - "isNullable": false, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": "now", - "options": null, - "settings": { - "displayAsRelativeDate": true - }, - "relationDefinition": null - } - }, - { - "__typename": "fieldEdge", - "node": { - "__typename": "field", - "id": "7df89c3c-90bd-40ef-bbc9-289c119f1fd8", - "type": FieldMetadataType.Relation, - "name": "company", - "label": "Company", - "description": "NoteTarget company", - "icon": "IconBuildingSkyscraper", - "isCustom": false, - "isActive": true, - "isSystem": true, - "isNullable": true, - "isUnique": false, - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "defaultValue": null, - "options": null, - "settings": null, - "relationDefinition": { - "__typename": "RelationDefinition", - "relationId": "f7894817-6567-44a9-a006-2eae13eee010", - "direction": RelationDefinitionType.ManyToOne, - "sourceObjectMetadata": { - "__typename": "object", - "id": "01d676a5-d7e9-4d21-98a4-fbaccfa7ffdf", - "nameSingular": "noteTarget", - "namePlural": "noteTargets" - }, - "sourceFieldMetadata": { - "__typename": "field", - "id": "7df89c3c-90bd-40ef-bbc9-289c119f1fd8", - "name": "company" - }, - "targetObjectMetadata": { - "__typename": "object", - "id": "af4e5bad-fa25-46ab-b32e-1147b5210107", - "nameSingular": "company", - "namePlural": "companies" - }, - "targetFieldMetadata": { - "__typename": "field", - "id": "642dedcf-1ba1-45f4-9a66-ca1aa492e075", - "name": "noteTargets" - } - } - } - } - ] - }, - "indexMetadatas": { - "__typename": "ObjectIndexMetadatasConnection", - "edges": [ - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "6a1b9cc6-3c13-4b19-ba35-bda2641ec283", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_241f0cca089399c8c5954086b8d", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "8a5e3fae-af9c-46cc-a26b-81e1dfa3804b", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "4ad4bc29-ed67-4ae3-b483-800ac3a7807c" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "9b8fac0f-d796-4aca-a542-f95a36b6c8b8", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "5824337f-a16b-4675-90c5-7564e99f41db" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "1b84752a-6f0e-4b56-8aa0-f8bc6accd4a9", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_68bce49f4de05facd5365a3a797", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "c8f3600f-01af-4cce-aeae-d58e01ad6412", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "417a9cf3-2bce-450a-87d5-a19691b2b189" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "79abb064-6063-4341-bc89-8d6ea263eb54", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "5824337f-a16b-4675-90c5-7564e99f41db" - } - } - ] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "c4f5365a-5a31-4c0d-a4f2-86b0a329e829", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_19ea95ddb39f610f7dcad4c4336", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [] - } - } - }, - { - "__typename": "indexEdge", - "node": { - "__typename": "index", - "id": "eb822a12-e85a-4fb8-b1fe-e94ca48ed574", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "name": "IDX_56454973bce16e65ee1ae3d2e40", - "indexWhereClause": null, - "indexType": IndexType.Btree, - "isUnique": false, - "indexFieldMetadatas": { - "__typename": "IndexIndexFieldMetadatasConnection", - "edges": [ - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "0d572369-c62a-474c-8306-2d4c6166ad5c", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 0, - "fieldMetadataId": "af6e25ce-9017-4330-a354-700a94649333" - } - }, - { - "__typename": "indexFieldEdge", - "node": { - "__typename": "indexField", - "id": "9ee76f2b-9592-4fd3-a1c9-3121fd4cb27e", - "createdAt": "2024-10-30T13:38:22.871Z", - "updatedAt": "2024-10-30T13:38:22.871Z", - "order": 1, - "fieldMetadataId": "5824337f-a16b-4675-90c5-7564e99f41db" - } - } - ] - } - } - } - ] - } - } - } - ] - } -} satisfies ObjectMetadataItemsQuery; - + } as ObjectMetadataItemsQuery; \ No newline at end of file diff --git a/packages/twenty-server/src/database/typeorm-seeds/core/feature-flags.ts b/packages/twenty-server/src/database/typeorm-seeds/core/feature-flags.ts index 064d179460..ec6810676f 100644 --- a/packages/twenty-server/src/database/typeorm-seeds/core/feature-flags.ts +++ b/packages/twenty-server/src/database/typeorm-seeds/core/feature-flags.ts @@ -85,6 +85,16 @@ export const seedFeatureFlags = async ( workspaceId: workspaceId, value: false, }, + { + key: FeatureFlagKey.IsFavoriteFolderEnabled, + workspaceId: workspaceId, + value: true, + }, + { + key: FeatureFlagKey.IsFavoriteFolderEntityEnabled, + workspaceId: workspaceId, + value: true, + }, ]) .execute(); }; diff --git a/packages/twenty-server/src/engine/core-modules/feature-flag/enums/feature-flag-key.enum.ts b/packages/twenty-server/src/engine/core-modules/feature-flag/enums/feature-flag-key.enum.ts index 099ee18a2c..a7fa1ac1a1 100644 --- a/packages/twenty-server/src/engine/core-modules/feature-flag/enums/feature-flag-key.enum.ts +++ b/packages/twenty-server/src/engine/core-modules/feature-flag/enums/feature-flag-key.enum.ts @@ -15,4 +15,6 @@ export enum FeatureFlagKey { IsMicrosoftSyncEnabled = 'IS_MICROSOFT_SYNC_ENABLED', IsAdvancedFiltersEnabled = 'IS_ADVANCED_FILTERS_ENABLED', IsAggregateQueryEnabled = 'IS_AGGREGATE_QUERY_ENABLED', + IsFavoriteFolderEnabled = 'IS_FAVORITE_FOLDER_ENABLED', + IsFavoriteFolderEntityEnabled = 'IS_FAVORITE_FOLDER_ENTITY_ENABLED', } diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/constants/standard-field-ids.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/constants/standard-field-ids.ts index 97e5450d3c..60e26ddcb6 100644 --- a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/constants/standard-field-ids.ts +++ b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/constants/standard-field-ids.ts @@ -217,6 +217,13 @@ export const FAVORITE_STANDARD_FIELD_IDS = { note: '20202020-1f25-43fe-8b00-af212fdde824', view: '20202020-5a93-4fa9-acce-e73481a0bbdf', custom: '20202020-855a-4bc8-9861-79deef37011f', + favoriteFolder: '20202020-f658-4d12-8b4d-248356aa4bd9', +}; + +export const FAVORITE_FOLDER_STANDARD_FIELD_IDS = { + position: '20202020-5278-4bde-8909-2cec74d43744', + name: '20202020-82a3-4537-8ff0-dbce7eec35d6', + favorites: '20202020-b5e3-4b42-8af2-03cd4fd2e4d2', }; export const MESSAGE_CHANNEL_MESSAGE_ASSOCIATION_STANDARD_FIELD_IDS = { diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/constants/standard-object-ids.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/constants/standard-object-ids.ts index d57ee13e34..e8ee42b9af 100644 --- a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/constants/standard-object-ids.ts +++ b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/constants/standard-object-ids.ts @@ -21,6 +21,7 @@ export const STANDARD_OBJECT_IDS = { company: '20202020-b374-4779-a561-80086cb2e17f', connectedAccount: '20202020-977e-46b2-890b-c3002ddfd5c5', favorite: '20202020-ab56-4e05-92a3-e2414a499860', + favoriteFolder: '20202020-7cf8-401f-8211-a9587d27fd2d', auditLog: '20202020-0566-476a-b4c4-a0f9781bd80a', messageChannelMessageAssociation: '20202020-ad1e-4127-bccb-d83ae04d2ccb', messageChannel: '20202020-fe8c-40bc-a681-b80b771449b7', diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/standard-objects/index.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/standard-objects/index.ts index f19ff8adca..2cbb13561a 100644 --- a/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/standard-objects/index.ts +++ b/packages/twenty-server/src/engine/workspace-manager/workspace-sync-metadata/standard-objects/index.ts @@ -7,6 +7,7 @@ import { CalendarEventParticipantWorkspaceEntity } from 'src/modules/calendar/co import { CalendarEventWorkspaceEntity } from 'src/modules/calendar/common/standard-objects/calendar-event.workspace-entity'; import { CompanyWorkspaceEntity } from 'src/modules/company/standard-objects/company.workspace-entity'; import { ConnectedAccountWorkspaceEntity } from 'src/modules/connected-account/standard-objects/connected-account.workspace-entity'; +import { FavoriteFolderWorkspaceEntity } from 'src/modules/favorite-folder/standard-objects/favorite-folder.workspace-entity'; import { FavoriteWorkspaceEntity } from 'src/modules/favorite/standard-objects/favorite.workspace-entity'; import { MessageChannelMessageAssociationWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message-channel-message-association.workspace-entity'; import { MessageChannelWorkspaceEntity } from 'src/modules/messaging/common/standard-objects/message-channel.workspace-entity'; @@ -50,6 +51,7 @@ export const standardObjectMetadataDefinitions = [ CompanyWorkspaceEntity, ConnectedAccountWorkspaceEntity, FavoriteWorkspaceEntity, + FavoriteFolderWorkspaceEntity, TimelineActivityWorkspaceEntity, ViewFieldWorkspaceEntity, ViewGroupWorkspaceEntity, diff --git a/packages/twenty-server/src/modules/favorite-folder/favorite-folder.module.ts b/packages/twenty-server/src/modules/favorite-folder/favorite-folder.module.ts new file mode 100644 index 0000000000..bfdf7056d6 --- /dev/null +++ b/packages/twenty-server/src/modules/favorite-folder/favorite-folder.module.ts @@ -0,0 +1,11 @@ +import { Module } from '@nestjs/common'; + +import { FeatureFlagModule } from 'src/engine/core-modules/feature-flag/feature-flag.module'; +import { TwentyORMModule } from 'src/engine/twenty-orm/twenty-orm.module'; +import { FavoriteFolderDeletionListener } from 'src/modules/favorite-folder/listeners/favorite-folder.listener'; + +@Module({ + imports: [TwentyORMModule, FeatureFlagModule], + providers: [FavoriteFolderDeletionListener], +}) +export class FavoriteFolderModule {} diff --git a/packages/twenty-server/src/modules/favorite-folder/listeners/favorite-folder.listener.ts b/packages/twenty-server/src/modules/favorite-folder/listeners/favorite-folder.listener.ts new file mode 100644 index 0000000000..0ec2990ed4 --- /dev/null +++ b/packages/twenty-server/src/modules/favorite-folder/listeners/favorite-folder.listener.ts @@ -0,0 +1,48 @@ +import { Injectable } from '@nestjs/common'; +import { OnEvent } from '@nestjs/event-emitter'; + +import { ObjectRecordDeleteEvent } from 'src/engine/core-modules/event-emitter/types/object-record-delete.event'; +import { FeatureFlagKey } from 'src/engine/core-modules/feature-flag/enums/feature-flag-key.enum'; +import { FeatureFlagService } from 'src/engine/core-modules/feature-flag/services/feature-flag.service'; +import { TwentyORMGlobalManager } from 'src/engine/twenty-orm/twenty-orm-global.manager'; +import { WorkspaceEventBatch } from 'src/engine/workspace-event-emitter/workspace-event.type'; +import { FavoriteFolderWorkspaceEntity } from 'src/modules/favorite-folder/standard-objects/favorite-folder.workspace-entity'; +import { FavoriteWorkspaceEntity } from 'src/modules/favorite/standard-objects/favorite.workspace-entity'; + +@Injectable() +export class FavoriteFolderDeletionListener { + constructor( + private readonly twentyORMGlobalManager: TwentyORMGlobalManager, + private readonly featureFlagService: FeatureFlagService, + ) {} + + @OnEvent('favoriteFolder.deleted') + async handleDelete( + payload: WorkspaceEventBatch< + ObjectRecordDeleteEvent + >, + ) { + const isFavoriteFolderEntityEnabled = + await this.featureFlagService.isFeatureEnabled( + FeatureFlagKey.IsFavoriteFolderEntityEnabled, + payload.workspaceId, + ); + + if (!isFavoriteFolderEntityEnabled) { + return; + } + + for (const eventPayload of payload.events) { + const favoriteRepository = + await this.twentyORMGlobalManager.getRepositoryForWorkspace( + payload.workspaceId, + 'favorite', + ); + + await favoriteRepository.update( + { favoriteFolderId: eventPayload.recordId }, + { deletedAt: new Date().toISOString() }, + ); + } + } +} diff --git a/packages/twenty-server/src/modules/favorite-folder/standard-objects/favorite-folder.workspace-entity.ts b/packages/twenty-server/src/modules/favorite-folder/standard-objects/favorite-folder.workspace-entity.ts new file mode 100644 index 0000000000..dc29045879 --- /dev/null +++ b/packages/twenty-server/src/modules/favorite-folder/standard-objects/favorite-folder.workspace-entity.ts @@ -0,0 +1,58 @@ +import { Relation } from 'src/engine/workspace-manager/workspace-sync-metadata/interfaces/relation.interface'; + +import { FeatureFlagKey } from 'src/engine/core-modules/feature-flag/enums/feature-flag-key.enum'; +import { FieldMetadataType } from 'src/engine/metadata-modules/field-metadata/field-metadata.entity'; +import { RelationMetadataType } from 'src/engine/metadata-modules/relation-metadata/relation-metadata.entity'; +import { BaseWorkspaceEntity } from 'src/engine/twenty-orm/base.workspace-entity'; +import { WorkspaceEntity } from 'src/engine/twenty-orm/decorators/workspace-entity.decorator'; +import { WorkspaceField } from 'src/engine/twenty-orm/decorators/workspace-field.decorator'; +import { WorkspaceGate } from 'src/engine/twenty-orm/decorators/workspace-gate.decorator'; +import { WorkspaceIsSystem } from 'src/engine/twenty-orm/decorators/workspace-is-system.decorator'; +import { WorkspaceRelation } from 'src/engine/twenty-orm/decorators/workspace-relation.decorator'; +import { FAVORITE_FOLDER_STANDARD_FIELD_IDS } from 'src/engine/workspace-manager/workspace-sync-metadata/constants/standard-field-ids'; +import { STANDARD_OBJECT_IDS } from 'src/engine/workspace-manager/workspace-sync-metadata/constants/standard-object-ids'; +import { FavoriteWorkspaceEntity } from 'src/modules/favorite/standard-objects/favorite.workspace-entity'; + +@WorkspaceEntity({ + standardId: STANDARD_OBJECT_IDS.favoriteFolder, + namePlural: 'favoriteFolders', + labelSingular: 'Favorite Folder', + labelPlural: 'Favorite Folders', + description: 'A Folder of favorites', + icon: 'IconFolder', +}) +@WorkspaceIsSystem() +@WorkspaceGate({ + featureFlag: FeatureFlagKey.IsFavoriteFolderEntityEnabled, +}) +export class FavoriteFolderWorkspaceEntity extends BaseWorkspaceEntity { + @WorkspaceField({ + standardId: FAVORITE_FOLDER_STANDARD_FIELD_IDS.position, + type: FieldMetadataType.NUMBER, + label: 'Position', + description: 'Favorite folder position', + icon: 'IconList', + defaultValue: 0, + }) + position: number; + + @WorkspaceField({ + standardId: FAVORITE_FOLDER_STANDARD_FIELD_IDS.name, + type: FieldMetadataType.TEXT, + label: 'Name', + description: 'Name of the favorite folder', + icon: 'IconText', + }) + name: string; + + @WorkspaceRelation({ + standardId: FAVORITE_FOLDER_STANDARD_FIELD_IDS.favorites, + type: RelationMetadataType.ONE_TO_MANY, + label: 'Favorites', + description: 'Favorites in this folder', + icon: 'IconHeart', + inverseSideFieldKey: 'favoriteFolder', + inverseSideTarget: () => FavoriteWorkspaceEntity, + }) + favorites: Relation; +} diff --git a/packages/twenty-server/src/modules/favorite/standard-objects/favorite.workspace-entity.ts b/packages/twenty-server/src/modules/favorite/standard-objects/favorite.workspace-entity.ts index 8098a38bd7..4dc29590eb 100644 --- a/packages/twenty-server/src/modules/favorite/standard-objects/favorite.workspace-entity.ts +++ b/packages/twenty-server/src/modules/favorite/standard-objects/favorite.workspace-entity.ts @@ -18,6 +18,7 @@ import { FAVORITE_STANDARD_FIELD_IDS } from 'src/engine/workspace-manager/worksp import { STANDARD_OBJECT_ICONS } from 'src/engine/workspace-manager/workspace-sync-metadata/constants/standard-object-icons'; import { STANDARD_OBJECT_IDS } from 'src/engine/workspace-manager/workspace-sync-metadata/constants/standard-object-ids'; import { CompanyWorkspaceEntity } from 'src/modules/company/standard-objects/company.workspace-entity'; +import { FavoriteFolderWorkspaceEntity } from 'src/modules/favorite-folder/standard-objects/favorite-folder.workspace-entity'; import { NoteWorkspaceEntity } from 'src/modules/note/standard-objects/note.workspace-entity'; import { OpportunityWorkspaceEntity } from 'src/modules/opportunity/standard-objects/opportunity.workspace-entity'; import { PersonWorkspaceEntity } from 'src/modules/person/standard-objects/person.workspace-entity'; @@ -95,6 +96,27 @@ export class FavoriteWorkspaceEntity extends BaseWorkspaceEntity { @WorkspaceJoinColumn('company') companyId: string; + @WorkspaceRelation({ + standardId: FAVORITE_STANDARD_FIELD_IDS.favoriteFolder, + type: RelationMetadataType.MANY_TO_ONE, + label: 'Favorite Folder', + description: 'The folder this favorite belongs to', + icon: 'IconFolder', + inverseSideTarget: () => FavoriteFolderWorkspaceEntity, + inverseSideFieldKey: 'favorites', + }) + @WorkspaceGate({ + featureFlag: FeatureFlagKey.IsFavoriteFolderEntityEnabled, + }) + @WorkspaceIsNullable() + favoriteFolder: Relation | null; + + @WorkspaceJoinColumn('favoriteFolder') + @WorkspaceGate({ + featureFlag: FeatureFlagKey.IsFavoriteFolderEntityEnabled, + }) + favoriteFolderId: string; + @WorkspaceRelation({ standardId: FAVORITE_STANDARD_FIELD_IDS.opportunity, type: RelationMetadataType.MANY_TO_ONE, diff --git a/packages/twenty-server/src/modules/modules.module.ts b/packages/twenty-server/src/modules/modules.module.ts index 1872d8fa08..d3cc91566a 100644 --- a/packages/twenty-server/src/modules/modules.module.ts +++ b/packages/twenty-server/src/modules/modules.module.ts @@ -2,6 +2,7 @@ import { Module } from '@nestjs/common'; import { CalendarModule } from 'src/modules/calendar/calendar.module'; import { ConnectedAccountModule } from 'src/modules/connected-account/connected-account.module'; +import { FavoriteFolderModule } from 'src/modules/favorite-folder/favorite-folder.module'; import { MessagingModule } from 'src/modules/messaging/messaging.module'; import { ViewModule } from 'src/modules/view/view.module'; import { WorkflowModule } from 'src/modules/workflow/workflow.module'; @@ -13,6 +14,7 @@ import { WorkflowModule } from 'src/modules/workflow/workflow.module'; ConnectedAccountModule, ViewModule, WorkflowModule, + FavoriteFolderModule, ], providers: [], exports: [], diff --git a/packages/twenty-ui/src/display/avatar/components/Avatar.tsx b/packages/twenty-ui/src/display/avatar/components/Avatar.tsx index 5230e67ce0..3e7997c2d8 100644 --- a/packages/twenty-ui/src/display/avatar/components/Avatar.tsx +++ b/packages/twenty-ui/src/display/avatar/components/Avatar.tsx @@ -110,11 +110,7 @@ export const Avatar = ({