about summary refs log tree commit diff
path: root/MatrixRoomUtils.Core/StateEventTypes/Spec
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.Core/StateEventTypes/Spec')
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/CanonicalAliasEventData.cs13
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/GuestAccessEventData.cs16
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/HistoryVisibilityEventData.cs11
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/JoinRulesEventData.cs18
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/PolicyRuleStateEventData.cs56
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/PresenceStateEventData.cs17
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/ProfileResponseEventData.cs13
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/RoomAliasEventData.cs11
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/RoomAvatarEventData.cs28
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/RoomCreateEventData.cs27
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/RoomEncryptionEventData.cs15
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/RoomMemberEventData.cs29
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/RoomMessageEventData.cs19
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/RoomNameEventData.cs11
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/RoomPinnedEventData.cs11
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/RoomPowerLevelEventData.cs56
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/RoomTopicEventData.cs12
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/RoomTypingEventData.cs11
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/ServerACLEventData.cs17
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/SpaceChildEventData.cs15
-rw-r--r--MatrixRoomUtils.Core/StateEventTypes/Spec/SpaceParentEventData.cs14
21 files changed, 0 insertions, 420 deletions
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/CanonicalAliasEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/CanonicalAliasEventData.cs
deleted file mode 100644
index 354f99d..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/CanonicalAliasEventData.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec; 
-
-[MatrixEvent(EventName = "m.room.canonical_alias")]
-public class CanonicalAliasEventData : IStateEventType {
-    [JsonPropertyName("alias")]
-    public string? Alias { get; set; }
-    [JsonPropertyName("alt_aliases")]
-    public string[]? AltAliases { get; set; }
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/GuestAccessEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/GuestAccessEventData.cs
deleted file mode 100644
index c5b92ad..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/GuestAccessEventData.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.guest_access")]
-public class GuestAccessEventData : IStateEventType {
-    [JsonPropertyName("guest_access")]
-    public string GuestAccess { get; set; }
-
-    public bool IsGuestAccessEnabled {
-        get => GuestAccess == "can_join";
-        set => GuestAccess = value ? "can_join" : "forbidden";
-    }
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/HistoryVisibilityEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/HistoryVisibilityEventData.cs
deleted file mode 100644
index e0785b9..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/HistoryVisibilityEventData.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.history_visibility")]
-public class HistoryVisibilityEventData : IStateEventType {
-    [JsonPropertyName("history_visibility")]
-    public string HistoryVisibility { get; set; }
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/JoinRulesEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/JoinRulesEventData.cs
deleted file mode 100644
index f5410dc..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/JoinRulesEventData.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.join_rules")]
-public class JoinRulesEventData : IStateEventType {
-    private static string Public = "public";
-    private static string Invite = "invite";
-    private static string Knock = "knock";
-
-    [JsonPropertyName("join_rule")]
-    public string JoinRule { get; set; }
-
-    [JsonPropertyName("allow")]
-    public List<string> Allow { get; set; }
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/PolicyRuleStateEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/PolicyRuleStateEventData.cs
deleted file mode 100644
index ef94cff..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/PolicyRuleStateEventData.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.policy.rule.user")]
-[MatrixEvent(EventName = "m.policy.rule.server")]
-[MatrixEvent(EventName = "org.matrix.mjolnir.rule.server")]
-public class PolicyRuleStateEventData : IStateEventType {
-    /// <summary>
-    ///     Entity this ban applies to, can use * and ? as globs.
-    /// </summary>
-    [JsonPropertyName("entity")]
-    public string Entity { get; set; }
-
-    /// <summary>
-    ///     Reason this user is banned
-    /// </summary>
-    [JsonPropertyName("reason")]
-    public string? Reason { get; set; }
-
-    /// <summary>
-    ///     Suggested action to take
-    /// </summary>
-    [JsonPropertyName("recommendation")]
-    public string? Recommendation { get; set; }
-
-    /// <summary>
-    ///     Expiry time in milliseconds since the unix epoch, or null if the ban has no expiry.
-    /// </summary>
-    [JsonPropertyName("support.feline.policy.expiry.rev.2")] //stable prefix: expiry, msc pending
-    public long? Expiry { get; set; }
-
-    //utils
-    /// <summary>
-    ///     Readable expiry time, provided for easy interaction
-    /// </summary>
-    [JsonPropertyName("gay.rory.matrix_room_utils.readable_expiry_time_utc")]
-    public DateTime? ExpiryDateTime {
-        get => Expiry == null ? null : DateTimeOffset.FromUnixTimeMilliseconds(Expiry.Value).DateTime;
-        set => Expiry = ((DateTimeOffset)value).ToUnixTimeMilliseconds();
-    }
-}
-
-public static class PolicyRecommendationTypes {
-    /// <summary>
-    ///     Ban this user
-    /// </summary>
-    public static string Ban = "m.ban";
-
-    /// <summary>
-    ///     Mute this user
-    /// </summary>
-    public static string Mute = "support.feline.policy.recommendation_mute"; //stable prefix: m.mute, msc pending
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/PresenceStateEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/PresenceStateEventData.cs
deleted file mode 100644
index c5eb2ea..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/PresenceStateEventData.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec; 
-
-[MatrixEvent(EventName = "m.presence")]
-public class PresenceStateEventData : IStateEventType {
-    [JsonPropertyName("presence")]
-    public string Presence { get; set; }
-    [JsonPropertyName("last_active_ago")]
-    public long LastActiveAgo { get; set; }
-    [JsonPropertyName("currently_active")]
-    public bool CurrentlyActive { get; set; }
-    [JsonPropertyName("status_msg")]
-    public string StatusMessage { get; set; }
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/ProfileResponseEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/ProfileResponseEventData.cs
deleted file mode 100644
index f3a0ce9..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/ProfileResponseEventData.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec;
-
-public class ProfileResponseEventData : IStateEventType {
-    [JsonPropertyName("avatar_url")]
-    public string? AvatarUrl { get; set; } = "";
-
-    [JsonPropertyName("displayname")]
-    public string? DisplayName { get; set; } = "";
-}
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomAliasEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomAliasEventData.cs
deleted file mode 100644
index 611e8a2..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomAliasEventData.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.alias")]
-public class RoomAliasEventData : IStateEventType {
-    [JsonPropertyName("aliases")]
-    public List<string>? Aliases { get; set; }
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomAvatarEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomAvatarEventData.cs
deleted file mode 100644
index a14e4c5..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomAvatarEventData.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.avatar")]
-public class RoomAvatarEventData : IStateEventType {
-    [JsonPropertyName("url")]
-    public string? Url { get; set; }
-
-    [JsonPropertyName("info")]
-    public RoomAvatarInfo? Info { get; set; }
-
-    public class RoomAvatarInfo {
-        [JsonPropertyName("h")]
-        public int? Height { get; set; }
-
-        [JsonPropertyName("w")]
-        public int? Width { get; set; }
-
-        [JsonPropertyName("mimetype")]
-        public string? MimeType { get; set; }
-
-        [JsonPropertyName("size")]
-        public int? Size { get; set; }
-    }
-}
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomCreateEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomCreateEventData.cs
deleted file mode 100644
index 6127028..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomCreateEventData.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.create")]
-public class RoomCreateEventData : IStateEventType {
-    [JsonPropertyName("room_version")]
-    public string? RoomVersion { get; set; }
-    [JsonPropertyName("creator")]
-    public string? Creator { get; set; }
-    [JsonPropertyName("m.federate")]
-    public bool? Federate { get; set; }
-    [JsonPropertyName("predecessor")]
-    public RoomCreatePredecessor? Predecessor { get; set; }
-    [JsonPropertyName("type")]
-    public string? Type { get; set; }
-
-    public class RoomCreatePredecessor {
-        [JsonPropertyName("room_id")]
-        public string? RoomId { get; set; }
-
-        [JsonPropertyName("event_id")]
-        public string? EventId { get; set; }
-    }
-}
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomEncryptionEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomEncryptionEventData.cs
deleted file mode 100644
index c473082..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomEncryptionEventData.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec; 
-
-[MatrixEvent(EventName = "m.room.encryption")]
-public class RoomEncryptionEventData : IStateEventType {
-    [JsonPropertyName("algorithm")]
-    public string? Algorithm { get; set; }
-    [JsonPropertyName("rotation_period_ms")]
-    public ulong? RotationPeriodMs { get; set; }
-    [JsonPropertyName("rotation_period_msgs")]
-    public ulong? RotationPeriodMsgs { get; set; }
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomMemberEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomMemberEventData.cs
deleted file mode 100644
index a543a2f..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomMemberEventData.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.member")]
-public class RoomMemberEventData : IStateEventType {
-    [JsonPropertyName("reason")]
-    public string? Reason { get; set; }
-
-    [JsonPropertyName("membership")]
-    public string Membership { get; set; } = null!;
-
-    [JsonPropertyName("displayname")]
-    public string? Displayname { get; set; }
-
-    [JsonPropertyName("is_direct")]
-    public bool? IsDirect { get; set; }
-
-    [JsonPropertyName("avatar_url")]
-    public string? AvatarUrl { get; set; }
-
-    [JsonPropertyName("kind")]
-    public string? Kind { get; set; }
-    
-    [JsonPropertyName("join_authorised_via_users_server")]
-    public string? JoinAuthorisedViaUsersServer { get; set; }
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomMessageEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomMessageEventData.cs
deleted file mode 100644
index 2c56b88..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomMessageEventData.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec; 
-
-[MatrixEvent(EventName = "m.room.message")]
-public class RoomMessageEventData : IStateEventType {
-    [JsonPropertyName("body")]
-    public string Body { get; set; }
-    [JsonPropertyName("msgtype")]
-    public string MessageType { get; set; } = "m.notice";
-
-    [JsonPropertyName("formatted_body")]
-    public string FormattedBody { get; set; }
-
-    [JsonPropertyName("format")]
-    public string Format { get; set; }
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomNameEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomNameEventData.cs
deleted file mode 100644
index e5b7d59..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomNameEventData.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec; 
-
-[MatrixEvent(EventName = "m.room.name")]
-public class RoomNameEventData : IStateEventType {
-    [JsonPropertyName("name")]
-    public string? Name { get; set; }
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomPinnedEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomPinnedEventData.cs
deleted file mode 100644
index d84e962..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomPinnedEventData.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec; 
-
-[MatrixEvent(EventName = "m.room.pinned_events")]
-public class RoomPinnedEventData : IStateEventType {
-    [JsonPropertyName("pinned")]
-    public string[]? PinnedEvents { get; set; }
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomPowerLevelEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomPowerLevelEventData.cs
deleted file mode 100644
index 1cde660..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomPowerLevelEventData.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.power_levels")]
-public class RoomPowerLevelEventData : IStateEventType {
-    [JsonPropertyName("ban")]
-    public int Ban { get; set; } // = 50;
-
-    [JsonPropertyName("events_default")]
-    public int EventsDefault { get; set; } // = 0;
-
-    [JsonPropertyName("events")]
-    public Dictionary<string, int> Events { get; set; } // = null!;
-
-    [JsonPropertyName("invite")]
-    public int Invite { get; set; } // = 50;
-
-    [JsonPropertyName("kick")]
-    public int Kick { get; set; } // = 50;
-
-    [JsonPropertyName("notifications")]
-    public NotificationsPL NotificationsPl { get; set; } // = null!;
-
-    [JsonPropertyName("redact")]
-    public int Redact { get; set; } // = 50;
-
-    [JsonPropertyName("state_default")]
-    public int StateDefault { get; set; } // = 50;
-
-    [JsonPropertyName("users")]
-    public Dictionary<string, int> Users { get; set; } // = null!;
-
-    [JsonPropertyName("users_default")]
-    public int UsersDefault { get; set; } // = 0;
-
-    [Obsolete("Historical was a key related to MSC2716, a spec change on backfill that was dropped!", true)]
-    [JsonIgnore]
-    [JsonPropertyName("historical")]
-    public int Historical { get; set; } // = 50;
-
-    public class NotificationsPL {
-        [JsonPropertyName("room")]
-        public int Room { get; set; } = 50;
-    }
-
-    public bool IsUserAdmin(string userId) {
-        return Users.TryGetValue(userId, out var level) && level >= Events.Max(x=>x.Value);
-    }
-
-    public bool UserHasPermission(string userId, string eventType) {
-        return Users.TryGetValue(userId, out var level) && level >= Events.GetValueOrDefault(eventType, EventsDefault);
-    }
-}
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomTopicEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomTopicEventData.cs
deleted file mode 100644
index cdd62a1..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomTopicEventData.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec; 
-
-[MatrixEvent(EventName = "m.room.topic")]
-[MatrixEvent(EventName = "org.matrix.msc3765.topic", Legacy = true)]
-public class RoomTopicEventData : IStateEventType {
-    [JsonPropertyName("topic")]
-    public string? Topic { get; set; }
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomTypingEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomTypingEventData.cs
deleted file mode 100644
index 017a117..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/RoomTypingEventData.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec; 
-
-[MatrixEvent(EventName = "m.typing")]
-public class RoomTypingEventData : IStateEventType {
-    [JsonPropertyName("user_ids")]
-    public string[]? UserIds { get; set; }
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/ServerACLEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/ServerACLEventData.cs
deleted file mode 100644
index 4b559c6..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/ServerACLEventData.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.room.server_acl")]
-public class ServerACLEventData : IStateEventType {
-    [JsonPropertyName("allow")]
-    public List<string> Allow { get; set; } // = null!;
-
-    [JsonPropertyName("deny")]
-    public List<string> Deny { get; set; } // = null!;
-
-    [JsonPropertyName("allow_ip_literals")]
-    public bool AllowIpLiterals { get; set; } // = false;
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/SpaceChildEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/SpaceChildEventData.cs
deleted file mode 100644
index bb62d92..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/SpaceChildEventData.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec; 
-
-[MatrixEvent(EventName = "m.space.child")]
-public class SpaceChildEventData : IStateEventType {
-    [JsonPropertyName("auto_join")]
-    public bool? AutoJoin { get; set; }
-    [JsonPropertyName("via")]
-    public string[]? Via { get; set; }
-    [JsonPropertyName("suggested")]
-    public bool? Suggested { get; set; }
-}
\ No newline at end of file
diff --git a/MatrixRoomUtils.Core/StateEventTypes/Spec/SpaceParentEventData.cs b/MatrixRoomUtils.Core/StateEventTypes/Spec/SpaceParentEventData.cs
deleted file mode 100644
index a40f7ae..0000000
--- a/MatrixRoomUtils.Core/StateEventTypes/Spec/SpaceParentEventData.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using System.Text.Json.Serialization;
-using MatrixRoomUtils.Core.Extensions;
-using MatrixRoomUtils.Core.Interfaces;
-
-namespace MatrixRoomUtils.Core.StateEventTypes.Spec;
-
-[MatrixEvent(EventName = "m.space.parent")]
-public class SpaceParentEventData : IStateEventType {
-    [JsonPropertyName("via")]
-    public string[]? Via { get; set; }
-
-    [JsonPropertyName("canonical")]
-    public bool? Canonical { get; set; }
-}
\ No newline at end of file