generate protobuf
This commit is contained in:
@@ -1190,7 +1190,7 @@ type Value struct {
|
|||||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` // @gotags: yaml:"id"
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` // @gotags: yaml:"id"
|
||||||
BundleId string `protobuf:"bytes,2,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty" yaml:"bundle_id"` // @gotags: yaml:"bundle_id"
|
BundleId string `protobuf:"bytes,2,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty" yaml:"bundle_id"` // @gotags: yaml:"bundle_id"
|
||||||
// setting_id is the id of the setting from within its bundle.
|
// setting_id is the id of the setting from within its bundle.
|
||||||
SettingId string `protobuf:"bytes,3,opt,name=setting_id,json=settingId,proto3" json:"setting_id,omitempty" yaml:"settings_id"` // @gotags: yaml:"settings_id"
|
SettingId string `protobuf:"bytes,3,opt,name=setting_id,json=settingId,proto3" json:"setting_id,omitempty" yaml:"setting_id"` // @gotags: yaml:"setting_id"
|
||||||
AccountUuid string `protobuf:"bytes,4,opt,name=account_uuid,json=accountUuid,proto3" json:"account_uuid,omitempty" yaml:"account_uuid"` // @gotags: yaml:"account_uuid"
|
AccountUuid string `protobuf:"bytes,4,opt,name=account_uuid,json=accountUuid,proto3" json:"account_uuid,omitempty" yaml:"account_uuid"` // @gotags: yaml:"account_uuid"
|
||||||
Resource *Resource `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty" yaml:"resource"` // @gotags: yaml:"resource"
|
Resource *Resource `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty" yaml:"resource"` // @gotags: yaml:"resource"
|
||||||
// Types that are assignable to Value:
|
// Types that are assignable to Value:
|
||||||
|
|||||||
@@ -598,7 +598,8 @@
|
|||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/definitions/v0ListOptionValue"
|
"$ref": "#/definitions/v0ListOptionValue"
|
||||||
}
|
},
|
||||||
|
"title": "@gotags: yaml:\"values\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -607,33 +608,40 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "id is the id of the Value. It is generated on saving it."
|
"description": "id is the id of the Value. It is generated on saving it.\n\n@gotags: yaml:\"id\""
|
||||||
},
|
},
|
||||||
"bundleId": {
|
"bundleId": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"bundle_id\""
|
||||||
},
|
},
|
||||||
"settingId": {
|
"settingId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "setting_id is the id of the setting from within its bundle."
|
"description": "setting_id is the id of the setting from within its bundle.\n\n@gotags: yaml:\"setting_id\""
|
||||||
},
|
},
|
||||||
"accountUuid": {
|
"accountUuid": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"account_uuid\""
|
||||||
},
|
},
|
||||||
"resource": {
|
"resource": {
|
||||||
"$ref": "#/definitions/v0Resource"
|
"$ref": "#/definitions/v0Resource",
|
||||||
|
"title": "@gotags: yaml:\"resource\""
|
||||||
},
|
},
|
||||||
"boolValue": {
|
"boolValue": {
|
||||||
"type": "boolean"
|
"type": "boolean",
|
||||||
|
"title": "@gotags: yaml:\"bool_value\""
|
||||||
},
|
},
|
||||||
"intValue": {
|
"intValue": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "int64"
|
"format": "int64",
|
||||||
|
"title": "@gotags: yaml:\"int_value\""
|
||||||
},
|
},
|
||||||
"stringValue": {
|
"stringValue": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"string_value\""
|
||||||
},
|
},
|
||||||
"listValue": {
|
"listValue": {
|
||||||
"$ref": "#/definitions/settingsv0ListValue"
|
"$ref": "#/definitions/settingsv0ListValue",
|
||||||
|
"title": "@gotags: yaml:\"list_value\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -680,10 +688,12 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"default": {
|
"default": {
|
||||||
"type": "boolean"
|
"type": "boolean",
|
||||||
|
"title": "@gotags: yaml:\"default\""
|
||||||
},
|
},
|
||||||
"label": {
|
"label": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"label\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -691,28 +701,35 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"id\""
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"name\""
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "#/definitions/v0BundleType"
|
"$ref": "#/definitions/v0BundleType",
|
||||||
|
"title": "@gotags: yaml:\"type\""
|
||||||
},
|
},
|
||||||
"extension": {
|
"extension": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"extension\""
|
||||||
},
|
},
|
||||||
"displayName": {
|
"displayName": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"display_name\""
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/definitions/v0Setting"
|
"$ref": "#/definitions/v0Setting"
|
||||||
}
|
},
|
||||||
|
"title": "@gotags: yaml:\"settings\""
|
||||||
},
|
},
|
||||||
"resource": {
|
"resource": {
|
||||||
"$ref": "#/definitions/v0Resource"
|
"$ref": "#/definitions/v0Resource",
|
||||||
|
"title": "@gotags: yaml:\"resource\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -803,22 +820,27 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"default": {
|
"default": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "int64"
|
"format": "int64",
|
||||||
|
"title": "@gotags: yaml:\"default\""
|
||||||
},
|
},
|
||||||
"min": {
|
"min": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "int64"
|
"format": "int64",
|
||||||
|
"title": "@gotags: yaml:\"min\""
|
||||||
},
|
},
|
||||||
"max": {
|
"max": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "int64"
|
"format": "int64",
|
||||||
|
"title": "@gotags: yaml:\"max\""
|
||||||
},
|
},
|
||||||
"step": {
|
"step": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "int64"
|
"format": "int64",
|
||||||
|
"title": "@gotags: yaml:\"step\""
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"placeholder\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -848,13 +870,16 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"value": {
|
"value": {
|
||||||
"$ref": "#/definitions/v0ListOptionValue"
|
"$ref": "#/definitions/v0ListOptionValue",
|
||||||
|
"title": "@gotags: yaml:\"value\""
|
||||||
},
|
},
|
||||||
"default": {
|
"default": {
|
||||||
"type": "boolean"
|
"type": "boolean",
|
||||||
|
"title": "@gotags: yaml:\"default\""
|
||||||
},
|
},
|
||||||
"displayValue": {
|
"displayValue": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"display_value\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -862,11 +887,13 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"stringValue": {
|
"stringValue": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"string_value\""
|
||||||
},
|
},
|
||||||
"intValue": {
|
"intValue": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "int64"
|
"format": "int64",
|
||||||
|
"title": "@gotags: yaml:\"int_value\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -956,7 +983,8 @@
|
|||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/definitions/v0ListOption"
|
"$ref": "#/definitions/v0ListOption"
|
||||||
}
|
},
|
||||||
|
"title": "@gotags: yaml:\"options\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -964,10 +992,12 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"operation": {
|
"operation": {
|
||||||
"$ref": "#/definitions/v0PermissionOperation"
|
"$ref": "#/definitions/v0PermissionOperation",
|
||||||
|
"title": "@gotags: yaml:\"operation\""
|
||||||
},
|
},
|
||||||
"constraint": {
|
"constraint": {
|
||||||
"$ref": "#/definitions/PermissionConstraint"
|
"$ref": "#/definitions/PermissionConstraint",
|
||||||
|
"title": "@gotags: yaml:\"constraint\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1066,37 +1096,48 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"id\""
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"name\""
|
||||||
},
|
},
|
||||||
"displayName": {
|
"displayName": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"display_name\""
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"description\""
|
||||||
},
|
},
|
||||||
"intValue": {
|
"intValue": {
|
||||||
"$ref": "#/definitions/v0Int"
|
"$ref": "#/definitions/v0Int",
|
||||||
|
"title": "@gotags: yaml:\"int_value\""
|
||||||
},
|
},
|
||||||
"stringValue": {
|
"stringValue": {
|
||||||
"$ref": "#/definitions/v0String"
|
"$ref": "#/definitions/v0String",
|
||||||
|
"title": "@gotags: yaml:\"string_value\""
|
||||||
},
|
},
|
||||||
"boolValue": {
|
"boolValue": {
|
||||||
"$ref": "#/definitions/v0Bool"
|
"$ref": "#/definitions/v0Bool",
|
||||||
|
"title": "@gotags: yaml:\"bool_value\""
|
||||||
},
|
},
|
||||||
"singleChoiceValue": {
|
"singleChoiceValue": {
|
||||||
"$ref": "#/definitions/v0SingleChoiceList"
|
"$ref": "#/definitions/v0SingleChoiceList",
|
||||||
|
"title": "@gotags: yaml:\"single_choice_value\""
|
||||||
},
|
},
|
||||||
"multiChoiceValue": {
|
"multiChoiceValue": {
|
||||||
"$ref": "#/definitions/v0MultiChoiceList"
|
"$ref": "#/definitions/v0MultiChoiceList",
|
||||||
|
"title": "@gotags: yaml:\"multi_choice_value\""
|
||||||
},
|
},
|
||||||
"permissionValue": {
|
"permissionValue": {
|
||||||
"$ref": "#/definitions/v0Permission"
|
"$ref": "#/definitions/v0Permission",
|
||||||
|
"title": "@gotags: yaml:\"permission_value\""
|
||||||
},
|
},
|
||||||
"resource": {
|
"resource": {
|
||||||
"$ref": "#/definitions/v0Resource"
|
"$ref": "#/definitions/v0Resource",
|
||||||
|
"title": "@gotags: yaml:\"resource\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1107,7 +1148,8 @@
|
|||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/definitions/v0ListOption"
|
"$ref": "#/definitions/v0ListOption"
|
||||||
}
|
},
|
||||||
|
"title": "@gotags: yaml:\"options\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1115,21 +1157,26 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"default": {
|
"default": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"default\""
|
||||||
},
|
},
|
||||||
"required": {
|
"required": {
|
||||||
"type": "boolean"
|
"type": "boolean",
|
||||||
|
"title": "@gotags: yaml:\"required\""
|
||||||
},
|
},
|
||||||
"minLength": {
|
"minLength": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int32"
|
"format": "int32",
|
||||||
|
"title": "@gotags: yaml:\"min_length\""
|
||||||
},
|
},
|
||||||
"maxLength": {
|
"maxLength": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int32"
|
"format": "int32",
|
||||||
|
"title": "@gotags: yaml:\"max_length\""
|
||||||
},
|
},
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"title": "@gotags: yaml:\"placeholder\""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user