mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Install serializer for PermissionId
This commit is contained in:
parent
6af2094b8f
commit
9b3c7c1902
@ -10,11 +10,13 @@
|
||||
package net.mamoe.mirai.console.permission
|
||||
|
||||
import kotlinx.serialization.KSerializer
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.Serializer
|
||||
import kotlinx.serialization.builtins.serializer
|
||||
import net.mamoe.mirai.console.internal.data.map
|
||||
|
||||
|
||||
@Serializable
|
||||
@ExperimentalPermission
|
||||
public data class PermissionId(
|
||||
public val namespace: String,
|
||||
|
Loading…
Reference in New Issue
Block a user