@dxos/client
    Preparing search index...

    Type Alias ObjectMigration

    type ObjectMigration = {
        fromSchema: Schema.Schema.AnyNoContext;
        fromType: DXN;
        onMigration: (params: OnMigrateParams<any, any>) => Promise<void>;
        toSchema: Schema.Schema.AnyNoContext;
        toType: DXN;
        transform: (
            from: unknown,
            context: ObjectMigrationContext,
        ) => Promise<unknown>;
    }
    Index

    Properties

    fromSchema: Schema.Schema.AnyNoContext
    fromType: DXN
    onMigration: (params: OnMigrateParams<any, any>) => Promise<void>
    toSchema: Schema.Schema.AnyNoContext
    toType: DXN
    transform: (from: unknown, context: ObjectMigrationContext) => Promise<unknown>