Skip to main content

ConnectionSyncConfigRead

@gravity-rail/sdk


@gravity-rail/sdk / ConnectionSyncConfigRead

Type Alias: ConnectionSyncConfigRead

ConnectionSyncConfigRead = ConnectionSyncConfig & Pick<SyncConfigReadResponse, "configDigest">

A sync config as GET/PUT /sync-config return it: the effective config plus configDigest, the digest of the stored authored configuration (never of the starter-seeded view). Pass it as baseConfigDigest when saving the draft edited from it; a save against a changed configuration is refused with 409 sync_config_changed.