[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:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user