firewalk
    Preparing search index...

    Type Alias MigrationPredicate<AppModelType, DbModelType>

    MigrationPredicate: (
        doc: firestore.QueryDocumentSnapshot<AppModelType, DbModelType>,
    ) => boolean

    A function that takes a document snapshot and returns a boolean indicating whether to migrate it.

    Type Parameters

    • AppModelType = firestore.DocumentData
    • DbModelType extends firestore.DocumentData = firestore.DocumentData

    Type declaration