Skip to content

Commit

Permalink
Merge branch 'refs/heads/main' into experiments/inline-value-classes
Browse files Browse the repository at this point in the history
# Conflicts:
#	common/api/common.klib.api
#	gateway/api/gateway.klib.api
  • Loading branch information
lukellmann committed Jun 30, 2024
2 parents f8c3a47 + a770ecf commit 998c022
Show file tree
Hide file tree
Showing 73 changed files with 20,219 additions and 15,045 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/kord-module.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
org.jetbrains.kotlin.jvm
org.jetbrains.kotlin.plugin.serialization
org.jetbrains.dokka
`kotlinx-atomicfu`
org.jetbrains.kotlinx.atomicfu
org.jetbrains.kotlinx.`binary-compatibility-validator`
com.google.devtools.ksp
`maven-publish`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
org.jetbrains.kotlin.multiplatform
org.jetbrains.kotlin.plugin.serialization
org.jetbrains.dokka
`kotlinx-atomicfu`
org.jetbrains.kotlinx.atomicfu
org.jetbrains.kotlinx.`binary-compatibility-validator`
com.google.devtools.ksp
}
Expand Down
7,775 changes: 4,811 additions & 2,964 deletions common/api/common.klib.api

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ public sealed class ActivityFlag(
)
}


/**
* Returns an instance of [ActivityFlag] with [ActivityFlag.shift] equal to the specified
* [shift].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ public sealed class ActivityType(
)
}


/**
* Returns an instance of [ActivityType] with [ActivityType.code] equal to the specified
* [code].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ public sealed class AllowedMentionType(
)
}


/**
* Returns an instance of [AllowedMentionType] with [AllowedMentionType.value] equal to the
* specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ public sealed class ApplicationCommandOptionType(
)
}


/**
* Returns an instance of [ApplicationCommandOptionType] with
* [ApplicationCommandOptionType.type] equal to the specified [type].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ public sealed class ApplicationCommandPermissionType(
)
}


/**
* Returns an instance of [ApplicationCommandPermissionType] with
* [ApplicationCommandPermissionType.value] equal to the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ public sealed class ApplicationCommandType(
)
}


/**
* Returns an instance of [ApplicationCommandType] with [ApplicationCommandType.value] equal
* to the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ public sealed class ApplicationFlag(
)
}


/**
* Returns an instance of [ApplicationFlag] with [ApplicationFlag.shift] equal to the
* specified [shift].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ public sealed class ApplicationRoleConnectionMetadataType(
)
}


/**
* Returns an instance of [ApplicationRoleConnectionMetadataType] with
* [ApplicationRoleConnectionMetadataType.value] equal to the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public sealed class AttachmentFlag(
)
}


/**
* Returns an instance of [AttachmentFlag] with [AttachmentFlag.shift] equal to the
* specified [shift].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,6 @@ public sealed class AuditLogEvent(
)
}


/**
* Returns an instance of [AuditLogEvent] with [AuditLogEvent.value] equal to the specified
* [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ public sealed class AutoModerationActionType(
)
}


/**
* Returns an instance of [AutoModerationActionType] with [AutoModerationActionType.value]
* equal to the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public sealed class AutoModerationRuleEventType(
)
}


/**
* Returns an instance of [AutoModerationRuleEventType] with
* [AutoModerationRuleEventType.value] equal to the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ public sealed class AutoModerationRuleKeywordPresetType(
)
}


/**
* Returns an instance of [AutoModerationRuleKeywordPresetType] with
* [AutoModerationRuleKeywordPresetType.value] equal to the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public sealed class AutoModerationRuleTriggerType(
)
}


/**
* Returns an instance of [AutoModerationRuleTriggerType] with
* [AutoModerationRuleTriggerType.value] equal to the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ public sealed class ButtonStyle(
)
}


/**
* Returns an instance of [ButtonStyle] with [ButtonStyle.value] equal to the specified
* [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public sealed class ChannelFlag(
)
}


/**
* Returns an instance of [ChannelFlag] with [ChannelFlag.shift] equal to the specified
* [shift].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ public sealed class ChannelType(
)
}


/**
* Returns an instance of [ChannelType] with [ChannelType.value] equal to the specified
* [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ public sealed class ComponentType(
)
}


/**
* Returns an instance of [ComponentType] with [ComponentType.value] equal to the specified
* [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public sealed class DefaultMessageNotificationLevel(
)
}


/**
* Returns an instance of [DefaultMessageNotificationLevel] with
* [DefaultMessageNotificationLevel.value] equal to the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public sealed class DiscordConnectionVisibility(
)
}


/**
* Returns an instance of [DiscordConnectionVisibility] with
* [DiscordConnectionVisibility.value] equal to the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ public sealed class EmbedType(
)
}


/**
* Returns an instance of [EmbedType] with [EmbedType.value] equal to the specified [value].
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ public sealed class ExplicitContentFilter(
)
}


/**
* Returns an instance of [ExplicitContentFilter] with [ExplicitContentFilter.value] equal
* to the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ public sealed class ForumLayoutType(
)
}


/**
* Returns an instance of [ForumLayoutType] with [ForumLayoutType.value] equal to the
* specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ public sealed class GuildFeature(
)
}


/**
* Returns an instance of [GuildFeature] with [GuildFeature.value] equal to the specified
* [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ public sealed class GuildMemberFlag(
)
}


/**
* Returns an instance of [GuildMemberFlag] with [GuildMemberFlag.shift] equal to the
* specified [shift].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ public sealed class GuildScheduledEventPrivacyLevel(
)
}


/**
* Returns an instance of [GuildScheduledEventPrivacyLevel] with
* [GuildScheduledEventPrivacyLevel.value] equal to the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public sealed class GuildScheduledEventStatus(
)
}


/**
* Returns an instance of [GuildScheduledEventStatus] with [GuildScheduledEventStatus.value]
* equal to the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ public sealed class IntegrationExpireBehavior(
)
}


/**
* Returns an instance of [IntegrationExpireBehavior] with [IntegrationExpireBehavior.value]
* equal to the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ public sealed class InteractionResponseType(
)
}


/**
* Returns an instance of [InteractionResponseType] with [InteractionResponseType.type]
* equal to the specified [type].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public sealed class InteractionType(
)
}


/**
* Returns an instance of [InteractionType] with [InteractionType.type] equal to the
* specified [type].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ public sealed class InviteTargetType(
)
}


/**
* Returns an instance of [InviteTargetType] with [InviteTargetType.value] equal to the
* specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public sealed class MFALevel(
)
}


/**
* Returns an instance of [MFALevel] with [MFALevel.value] equal to the specified [value].
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public sealed class MessageActivityType(
)
}


/**
* Returns an instance of [MessageActivityType] with [MessageActivityType.value] equal to
* the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ public sealed class MessageFlag(
)
}


/**
* Returns an instance of [MessageFlag] with [MessageFlag.shift] equal to the specified
* [shift].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public sealed class MessageStickerType(
)
}


/**
* Returns an instance of [MessageStickerType] with [MessageStickerType.value] equal to the
* specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ public sealed class MessageType(
)
}


/**
* Returns an instance of [MessageType] with [MessageType.code] equal to the specified
* [code].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public sealed class NsfwLevel(
)
}


/**
* Returns an instance of [NsfwLevel] with [NsfwLevel.value] equal to the specified [value].
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public sealed class OnboardingMode(
)
}


/**
* Returns an instance of [OnboardingMode] with [OnboardingMode.value] equal to the
* specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ public sealed class OnboardingPromptType(
)
}


/**
* Returns an instance of [OnboardingPromptType] with [OnboardingPromptType.value] equal to
* the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public sealed class OverwriteType(
)
}


/**
* Returns an instance of [OverwriteType] with [OverwriteType.value] equal to the specified
* [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ public sealed class Permission(
)
}


/**
* Returns an instance of [Permission] with [Permission.shift] equal to the specified
* [shift].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ public sealed class PremiumTier(
)
}


/**
* Returns an instance of [PremiumTier] with [PremiumTier.value] equal to the specified
* [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ public sealed class PresenceStatus(
)
}


/**
* Returns an instance of [PresenceStatus] with [PresenceStatus.value] equal to the
* specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public sealed class RoleFlag(
)
}


/**
* Returns an instance of [RoleFlag] with [RoleFlag.shift] equal to the specified [shift].
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public sealed class ScheduledEntityType(
)
}


/**
* Returns an instance of [ScheduledEntityType] with [ScheduledEntityType.value] equal to
* the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public sealed class SelectDefaultValueType(
)
}


/**
* Returns an instance of [SelectDefaultValueType] with [SelectDefaultValueType.value] equal
* to the specified [value].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ public sealed class SortOrderType(
)
}


/**
* Returns an instance of [SortOrderType] with [SortOrderType.value] equal to the specified
* [value].
Expand Down
Loading

0 comments on commit 998c022

Please sign in to comment.