[messaging] rename syncExternalId to syncCursor (#4752)

## Context

SyncExternalId should be renamed because this won't always represent an
id. For example, microsoft API does not use ids but dates for their
sync. Also we think external is a bit redundant so we are removing it.

Note: this field is not used by the front-end (and will probably never
be)
This commit is contained in:
Weiko
2024-04-02 18:18:43 +02:00
committed by GitHub
parent 9364a58477
commit 35ddb9acb5
5 changed files with 18 additions and 18 deletions

View File

@ -113,16 +113,16 @@ export class MessageChannelObjectMetadata extends BaseObjectMetadata {
messageChannelMessageAssociations: MessageChannelMessageAssociationObjectMetadata[];
@FieldMetadata({
standardId: messageChannelStandardFieldIds.syncExternalId,
standardId: messageChannelStandardFieldIds.syncCursor,
type: FieldMetadataType.TEXT,
label: 'Last sync external ID',
description: 'Last sync external ID',
label: 'Last sync cursor',
description: 'Last sync cursor',
icon: 'IconHistory',
})
@Gate({
featureFlag: FeatureFlagKeys.IsFullSyncV2Enabled,
})
syncExternalId: string;
syncCursor: string;
@FieldMetadata({
standardId: messageChannelStandardFieldIds.syncedAt,