34 lines
630 B
Protocol Buffer
34 lines
630 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package quixos.react;
|
|
|
|
import "camino/options.proto";
|
|
import "camino/schema.proto";
|
|
|
|
option (camino.schema_namespace) = "quixos.react";
|
|
option (camino.schema_version) = "1";
|
|
|
|
message ReactComponent {
|
|
option (camino.interface) = {
|
|
version: 1
|
|
id: {
|
|
namespace: "quixos.react"
|
|
name: "ReactComponent"
|
|
version: "1"
|
|
}
|
|
type_parameter: "Props"
|
|
type_parameter: "RenderProps"
|
|
type_parameter: "Action"
|
|
};
|
|
|
|
camino.CustomField props = 1 [
|
|
(camino.interface_field) = {
|
|
required: true
|
|
readable: true
|
|
watchable: true
|
|
type_param: "Props"
|
|
}
|
|
];
|
|
|
|
}
|