summaryrefslogtreecommitdiff
path: root/toolkitConfig.proto
blob: bf1c7b8c8abee9f7fa83c16b71066f5d0c455875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2025 WIT.COM Inc Licensed GPL 3.0

syntax = "proto3";

package forgepb;

import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp

message ToolkitConfig {                                   //
        string                   plugin             = 1;  // 'gocui', 'andlabs', etc `autogenpb:unique`
        string                   name               = 2;  // variable name 'fullscreen' `autogenpb:unique`
        string                   value              = 3;  // value "true"
}

message ToolkitConfigs {                                  // `autogenpb:marshal` `autogenpb:nomutex`
        string                   uuid               = 1;  // `autogenpb:uuid:d7886d47-a3b9-43b9-b0f6-17074a9844e6`
        string                   version            = 2;  // `autogenpb:version:v0.0.1`
        repeated ToolkitConfig   ToolkitConfigs     = 3;
        string                   filename           = 4;  // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save()
}