<commit_before>﻿using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;

namespace Content.Server.Construction.Components
{
    [RegisterComponent]
    public sealed class ComputerBoardComponent : Component
    {
        [ViewVariables]
        [DataField("prototype")]
        public string? Prototype { get; private set; }
    }
}
<commit_msg>type serializer for computer boards (#6915)<commit_after>﻿using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;

namespace Content.Server.Construction.Components
{
    /// <summary>
    /// Used for construction graphs in building computers.
    /// </summary>
    [RegisterComponent]
    public sealed class ComputerBoardComponent : Component
    {
        [ViewVariables]
        [DataField("prototype", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
        public string? Prototype { get; private set; }
    }
}

{'fraction_non_alphanumeric': 0.09782608695652174, 'fraction_numerical': 0.003952569169960474, 'mean_word_length': 4.014851485148514, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7320403', 'n_tokens_mistral': 263, 'n_tokens_neox': 261, 'n_words': 57}