import ServerDocumentMixin from"../backend/server-document.mjs";import BaseCards from"../../../common/documents/cards.mjs";export default class Cards extends(ServerDocumentMixin(BaseCards)){static _migrationRegistry=[...super._migrationRegistry,{fn:migrateV10Fields,version:12},{fn:migrateBaseToDeck,version:12}]}function migrateV10Fields(e){return Cards._addDataFieldMigration(e,"data","system")}function migrateBaseToDeck(e){return e.type===CONST.BASE_DOCUMENT_TYPE&&(e.type="deck",!0)}