Skip to content

craft-hub / applyIdentityProfileMigration

Function: applyIdentityProfileMigration() ​

applyIdentityProfileMigration(input, revision, binding, participant, assertHostsStopped, checkpoint?): Promise<ProfileMigrationReceipt>

Defined in: packages/craft-hub/src/profile-migration.ts:638

Coordinate an authenticated host-owned transfer with its exact data review. This is not exposed by the CLI/HTTP API.

Parameters ​

input ​

ProfileMigrationPaths

revision ​

string

binding ​

deviceId? ​

string = ...

endpoint ​

string = ...

id ​

string = digest

publicKey ​

string = ...

sourceRevision ​

string = digest

webOrigin ​

string = ...

participant ​

ProfileIdentityParticipant

assertHostsStopped ​

() => Promise<void>

checkpoint? ​

(phase) => Promise<void>

Returns ​

Promise<ProfileMigrationReceipt>

Released under the MIT License.