From 81a7759331334c6270f5786bc23c206a63eef347 Mon Sep 17 00:00:00 2001 From: viztea <44017640+viztea@users.noreply.github.com> Date: Fri, 29 Nov 2024 12:07:31 -0800 Subject: [PATCH 1/2] Update KordCache.kt --- core/src/commonMain/kotlin/cache/KordCache.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/commonMain/kotlin/cache/KordCache.kt b/core/src/commonMain/kotlin/cache/KordCache.kt index b20740b0db9..bbbfb095973 100644 --- a/core/src/commonMain/kotlin/cache/KordCache.kt +++ b/core/src/commonMain/kotlin/cache/KordCache.kt @@ -11,7 +11,7 @@ import dev.kord.common.concurrentHashMap import dev.kord.common.entity.Snowflake import dev.kord.core.cache.data.* -public typealias Generator = (cache: DataCache, description: DataDescription) -> DataEntryCache +public typealias Generator = (cache: DataCache, description: DataDescription) -> DataEntryCache public class KordCacheBuilder { From 777937a2e8411ff11efddbef1acf28c9033673f8 Mon Sep 17 00:00:00 2001 From: viztea Date: Fri, 29 Nov 2024 12:16:07 -0800 Subject: [PATCH 2/2] chore: api dump --- core/api/core.klib.api | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/core/api/core.klib.api b/core/api/core.klib.api index 23bc8491c80..415e25074e9 100644 --- a/core/api/core.klib.api +++ b/core/api/core.klib.api @@ -5734,24 +5734,24 @@ final class dev.kord.core.cache/KordCacheBuilder { // dev.kord.core.cache/KordCa final fun (): kotlin/Function2, dev.kord.cache.api/DataEntryCache> // dev.kord.core.cache/KordCacheBuilder.defaultGenerator.|(){}[0] final fun (kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.defaultGenerator.|(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] - final fun <#A1: kotlin/Any, #B1: kotlin/Any> forDescription(dev.kord.cache.api.data/DataDescription<#A1, #B1>, kotlin/Function2, dev.kord.cache.api/DataEntryCache>?) // dev.kord.core.cache/KordCacheBuilder.forDescription|forDescription(dev.kord.cache.api.data.DataDescription<0:0,0:1>;kotlin.Function2,dev.kord.cache.api.DataEntryCache>?){0§;1§}[0] - final fun <#A1: kotlin/Any, #B1: kotlin/Any> none(): kotlin/Function2, dev.kord.cache.api/DataEntryCache> // dev.kord.core.cache/KordCacheBuilder.none|none(){0§;1§}[0] - final fun autoModerationRules(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.autoModerationRules|autoModerationRules(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] + final fun <#A1: kotlin/Any, #B1: kotlin/Any> forDescription(dev.kord.cache.api.data/DataDescription<#A1, #B1>, kotlin/Function2, dev.kord.cache.api/DataEntryCache>?) // dev.kord.core.cache/KordCacheBuilder.forDescription|forDescription(dev.kord.cache.api.data.DataDescription<0:0,0:1>;kotlin.Function2,dev.kord.cache.api.DataEntryCache>?){0§;1§}[0] + final fun <#A1: kotlin/Any, #B1: kotlin/Any> none(): kotlin/Function2, dev.kord.cache.api/DataEntryCache> // dev.kord.core.cache/KordCacheBuilder.none|none(){0§;1§}[0] + final fun autoModerationRules(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.autoModerationRules|autoModerationRules(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] final fun build(): dev.kord.cache.api/DataCache // dev.kord.core.cache/KordCacheBuilder.build|build(){}[0] - final fun channels(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.channels|channels(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] + final fun channels(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.channels|channels(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] final fun disableAll() // dev.kord.core.cache/KordCacheBuilder.disableAll|disableAll(){}[0] - final fun emojis(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.emojis|emojis(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] - final fun entitlements(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.entitlements|entitlements(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] - final fun guilds(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.guilds|guilds(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] - final fun members(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.members|members(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] - final fun messages(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.messages|messages(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] - final fun presences(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.presences|presences(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] - final fun roles(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.roles|roles(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] - final fun stickers(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.stickers|stickers(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] - final fun subscriptions(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.subscriptions|subscriptions(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] - final fun users(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.users|users(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] - final fun voiceState(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.voiceState|voiceState(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] - final fun webhooks(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.webhooks|webhooks(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] + final fun emojis(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.emojis|emojis(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] + final fun entitlements(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.entitlements|entitlements(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] + final fun guilds(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.guilds|guilds(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] + final fun members(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.members|members(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] + final fun messages(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.messages|messages(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] + final fun presences(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.presences|presences(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] + final fun roles(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.roles|roles(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] + final fun stickers(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.stickers|stickers(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] + final fun subscriptions(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.subscriptions|subscriptions(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] + final fun users(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.users|users(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] + final fun voiceState(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.voiceState|voiceState(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] + final fun webhooks(kotlin/Function2, dev.kord.cache.api/DataEntryCache>) // dev.kord.core.cache/KordCacheBuilder.webhooks|webhooks(kotlin.Function2,dev.kord.cache.api.DataEntryCache>){}[0] } final class dev.kord.core.cache/ViewKeys { // dev.kord.core.cache/ViewKeys|null[0]