mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-24 00:39:20 +00:00
15 lines
465 B
TypeScript
15 lines
465 B
TypeScript
import { guestId } from '@hcengineering/guest'
|
|
import {
|
|
tryMigrate,
|
|
type MigrateOperation,
|
|
type MigrationClient,
|
|
type MigrationUpgradeClient
|
|
} from '@hcengineering/model'
|
|
|
|
export const guestOperation: MigrateOperation = {
|
|
async migrate (client: MigrationClient, mode): Promise<void> {
|
|
await tryMigrate(mode, client, guestId, [])
|
|
},
|
|
async upgrade (state: Map<string, Set<string>>, client: () => Promise<MigrationUpgradeClient>): Promise<void> {}
|
|
}
|