@ -450,6 +450,100 @@ func (x *GetShortcutResponse) GetShortcut() *Shortcut {
return nil
}
type CreateShortcutRequest struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Shortcut * Shortcut ` protobuf:"bytes,1,opt,name=shortcut,proto3" json:"shortcut,omitempty" `
}
func ( x * CreateShortcutRequest ) Reset ( ) {
* x = CreateShortcutRequest { }
if protoimpl . UnsafeEnabled {
mi := & file_api_v2_shortcut_service_proto_msgTypes [ 6 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * CreateShortcutRequest ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * CreateShortcutRequest ) ProtoMessage ( ) { }
func ( x * CreateShortcutRequest ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v2_shortcut_service_proto_msgTypes [ 6 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use CreateShortcutRequest.ProtoReflect.Descriptor instead.
func ( * CreateShortcutRequest ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_api_v2_shortcut_service_proto_rawDescGZIP ( ) , [ ] int { 6 }
}
func ( x * CreateShortcutRequest ) GetShortcut ( ) * Shortcut {
if x != nil {
return x . Shortcut
}
return nil
}
type CreateShortcutResponse struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Shortcut * Shortcut ` protobuf:"bytes,1,opt,name=shortcut,proto3" json:"shortcut,omitempty" `
}
func ( x * CreateShortcutResponse ) Reset ( ) {
* x = CreateShortcutResponse { }
if protoimpl . UnsafeEnabled {
mi := & file_api_v2_shortcut_service_proto_msgTypes [ 7 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * CreateShortcutResponse ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * CreateShortcutResponse ) ProtoMessage ( ) { }
func ( x * CreateShortcutResponse ) ProtoReflect ( ) protoreflect . Message {
mi := & file_api_v2_shortcut_service_proto_msgTypes [ 7 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use CreateShortcutResponse.ProtoReflect.Descriptor instead.
func ( * CreateShortcutResponse ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_api_v2_shortcut_service_proto_rawDescGZIP ( ) , [ ] int { 7 }
}
func ( x * CreateShortcutResponse ) GetShortcut ( ) * Shortcut {
if x != nil {
return x . Shortcut
}
return nil
}
var File_api_v2_shortcut_service_proto protoreflect . FileDescriptor
var file_api_v2_shortcut_service_proto_rawDesc = [ ] byte {
@ -506,40 +600,58 @@ var file_api_v2_shortcut_service_proto_rawDesc = []byte{
0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x12 , 0x32 , 0x0a , 0x08 , 0x73 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 ,
0x75 , 0x74 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x16 , 0x2e , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 ,
0x2e , 0x61 , 0x70 , 0x69 , 0x2e , 0x76 , 0x32 , 0x2e , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 ,
0x52 , 0x08 , 0x73 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x2a , 0x50 , 0x0a , 0x0a , 0x56 , 0x69 ,
0x73 , 0x69 , 0x62 , 0x69 , 0x6c , 0x69 , 0x74 , 0x79 , 0x12 , 0x1a , 0x0a , 0x16 , 0x56 , 0x49 , 0x53 , 0x49 ,
0x42 , 0x49 , 0x4c , 0x49 , 0x54 , 0x59 , 0x5f , 0x55 , 0x4e , 0x53 , 0x50 , 0x45 , 0x43 , 0x49 , 0x46 , 0x49 ,
0x45 , 0x44 , 0x10 , 0x00 , 0x12 , 0x0b , 0x0a , 0x07 , 0x50 , 0x52 , 0x49 , 0x56 , 0x41 , 0x54 , 0x45 , 0x10 ,
0x01 , 0x12 , 0x0d , 0x0a , 0x09 , 0x57 , 0x4f , 0x52 , 0x4b , 0x53 , 0x50 , 0x41 , 0x43 , 0x45 , 0x10 , 0x02 ,
0x12 , 0x0a , 0x0a , 0x06 , 0x50 , 0x55 , 0x42 , 0x4c , 0x49 , 0x43 , 0x10 , 0x03 , 0x32 , 0x83 , 0x02 , 0x0a ,
0x0f , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x53 , 0x65 , 0x72 , 0x76 , 0x69 , 0x63 , 0x65 ,
0x12 , 0x73 , 0x0a , 0x0d , 0x4c , 0x69 , 0x73 , 0x74 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 ,
0x73 , 0x12 , 0x22 , 0x2e , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x61 , 0x70 , 0x69 , 0x2e , 0x76 , 0x32 ,
0x2e , 0x4c , 0x69 , 0x73 , 0x74 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x73 , 0x52 , 0x65 ,
0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x23 , 0x2e , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x61 , 0x70 ,
0x69 , 0x2e , 0x76 , 0x32 , 0x2e , 0x4c , 0x69 , 0x73 , 0x74 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 ,
0x74 , 0x73 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x22 , 0x19 , 0x82 , 0xd3 , 0xe4 , 0x93 ,
0x02 , 0x13 , 0x12 , 0x11 , 0x2f , 0x61 , 0x70 , 0x69 , 0x2f , 0x76 , 0x32 , 0x2f , 0x73 , 0x68 , 0x6f , 0x72 ,
0x74 , 0x63 , 0x75 , 0x74 , 0x73 , 0x12 , 0x7b , 0x0a , 0x0b , 0x47 , 0x65 , 0x74 , 0x53 , 0x68 , 0x6f , 0x72 ,
0x74 , 0x63 , 0x75 , 0x74 , 0x12 , 0x20 , 0x2e , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x61 , 0x70 , 0x69 ,
0x2e , 0x76 , 0x32 , 0x2e , 0x47 , 0x65 , 0x74 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x52 ,
0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x21 , 0x2e , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x61 ,
0x70 , 0x69 , 0x2e , 0x76 , 0x32 , 0x2e , 0x47 , 0x65 , 0x74 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 ,
0x74 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x22 , 0x27 , 0xda , 0x41 , 0x04 , 0x6e , 0x61 ,
0x6d , 0x65 , 0x82 , 0xd3 , 0xe4 , 0x93 , 0x02 , 0x1a , 0x12 , 0x18 , 0x2f , 0x61 , 0x70 , 0x69 , 0x2f , 0x76 ,
0x32 , 0x2f , 0x73 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x73 , 0x2f , 0x7b , 0x6e , 0x61 , 0x6d ,
0x65 , 0x7d , 0x42 , 0xab , 0x01 , 0x0a , 0x10 , 0x63 , 0x6f , 0x6d , 0x2e , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 ,
0x2e , 0x61 , 0x70 , 0x69 , 0x2e , 0x76 , 0x32 , 0x42 , 0x14 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 ,
0x74 , 0x53 , 0x65 , 0x72 , 0x76 , 0x69 , 0x63 , 0x65 , 0x50 , 0x72 , 0x6f , 0x74 , 0x6f , 0x50 , 0x01 , 0x5a ,
0x2f , 0x67 , 0x69 , 0x74 , 0x68 , 0x75 , 0x62 , 0x2e , 0x63 , 0x6f , 0x6d , 0x2f , 0x62 , 0x6f , 0x6f , 0x6a ,
0x61 , 0x63 , 0x6b , 0x2f , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2f , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x2f ,
0x67 , 0x65 , 0x6e , 0x2f , 0x61 , 0x70 , 0x69 , 0x2f , 0x76 , 0x32 , 0x3b , 0x61 , 0x70 , 0x69 , 0x76 , 0x32 ,
0xa2 , 0x02 , 0x03 , 0x53 , 0x41 , 0x58 , 0xaa , 0x02 , 0x0c , 0x53 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x41 ,
0x70 , 0x69 , 0x2e , 0x56 , 0x32 , 0xca , 0x02 , 0x0c , 0x53 , 0x6c , 0x61 , 0x73 , 0x68 , 0x5c , 0x41 , 0x70 ,
0x69 , 0x5c , 0x56 , 0x32 , 0xe2 , 0x02 , 0x18 , 0x53 , 0x6c , 0x61 , 0x73 , 0x68 , 0x5c , 0x41 , 0x70 , 0x69 ,
0x5c , 0x56 , 0x32 , 0x5c , 0x47 , 0x50 , 0x42 , 0x4d , 0x65 , 0x74 , 0x61 , 0x64 , 0x61 , 0x74 , 0x61 , 0xea ,
0x02 , 0x0e , 0x53 , 0x6c , 0x61 , 0x73 , 0x68 , 0x3a , 0x3a , 0x41 , 0x70 , 0x69 , 0x3a , 0x3a , 0x56 , 0x32 ,
0x62 , 0x06 , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x33 ,
0x52 , 0x08 , 0x73 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x22 , 0x4b , 0x0a , 0x15 , 0x43 , 0x72 ,
0x65 , 0x61 , 0x74 , 0x65 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x52 , 0x65 , 0x71 , 0x75 ,
0x65 , 0x73 , 0x74 , 0x12 , 0x32 , 0x0a , 0x08 , 0x73 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x18 ,
0x01 , 0x20 , 0x01 , 0x28 , 0x0b , 0x32 , 0x16 , 0x2e , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x61 , 0x70 ,
0x69 , 0x2e , 0x76 , 0x32 , 0x2e , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x52 , 0x08 , 0x73 ,
0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x22 , 0x4c , 0x0a , 0x16 , 0x43 , 0x72 , 0x65 , 0x61 , 0x74 ,
0x65 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 ,
0x65 , 0x12 , 0x32 , 0x0a , 0x08 , 0x73 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x18 , 0x01 , 0x20 ,
0x01 , 0x28 , 0x0b , 0x32 , 0x16 , 0x2e , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x61 , 0x70 , 0x69 , 0x2e ,
0x76 , 0x32 , 0x2e , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x52 , 0x08 , 0x73 , 0x68 , 0x6f ,
0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x2a , 0x50 , 0x0a , 0x0a , 0x56 , 0x69 , 0x73 , 0x69 , 0x62 , 0x69 , 0x6c ,
0x69 , 0x74 , 0x79 , 0x12 , 0x1a , 0x0a , 0x16 , 0x56 , 0x49 , 0x53 , 0x49 , 0x42 , 0x49 , 0x4c , 0x49 , 0x54 ,
0x59 , 0x5f , 0x55 , 0x4e , 0x53 , 0x50 , 0x45 , 0x43 , 0x49 , 0x46 , 0x49 , 0x45 , 0x44 , 0x10 , 0x00 , 0x12 ,
0x0b , 0x0a , 0x07 , 0x50 , 0x52 , 0x49 , 0x56 , 0x41 , 0x54 , 0x45 , 0x10 , 0x01 , 0x12 , 0x0d , 0x0a , 0x09 ,
0x57 , 0x4f , 0x52 , 0x4b , 0x53 , 0x50 , 0x41 , 0x43 , 0x45 , 0x10 , 0x02 , 0x12 , 0x0a , 0x0a , 0x06 , 0x50 ,
0x55 , 0x42 , 0x4c , 0x49 , 0x43 , 0x10 , 0x03 , 0x32 , 0x86 , 0x03 , 0x0a , 0x0f , 0x53 , 0x68 , 0x6f , 0x72 ,
0x74 , 0x63 , 0x75 , 0x74 , 0x53 , 0x65 , 0x72 , 0x76 , 0x69 , 0x63 , 0x65 , 0x12 , 0x73 , 0x0a , 0x0d , 0x4c ,
0x69 , 0x73 , 0x74 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x73 , 0x12 , 0x22 , 0x2e , 0x73 ,
0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x61 , 0x70 , 0x69 , 0x2e , 0x76 , 0x32 , 0x2e , 0x4c , 0x69 , 0x73 , 0x74 ,
0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x73 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 , 0x74 ,
0x1a , 0x23 , 0x2e , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x61 , 0x70 , 0x69 , 0x2e , 0x76 , 0x32 , 0x2e ,
0x4c , 0x69 , 0x73 , 0x74 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x73 , 0x52 , 0x65 , 0x73 ,
0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x22 , 0x19 , 0x82 , 0xd3 , 0xe4 , 0x93 , 0x02 , 0x13 , 0x12 , 0x11 , 0x2f ,
0x61 , 0x70 , 0x69 , 0x2f , 0x76 , 0x32 , 0x2f , 0x73 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x73 ,
0x12 , 0x7b , 0x0a , 0x0b , 0x47 , 0x65 , 0x74 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x12 ,
0x20 , 0x2e , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x61 , 0x70 , 0x69 , 0x2e , 0x76 , 0x32 , 0x2e , 0x47 ,
0x65 , 0x74 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x52 , 0x65 , 0x71 , 0x75 , 0x65 , 0x73 ,
0x74 , 0x1a , 0x21 , 0x2e , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x61 , 0x70 , 0x69 , 0x2e , 0x76 , 0x32 ,
0x2e , 0x47 , 0x65 , 0x74 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x52 , 0x65 , 0x73 , 0x70 ,
0x6f , 0x6e , 0x73 , 0x65 , 0x22 , 0x27 , 0xda , 0x41 , 0x04 , 0x6e , 0x61 , 0x6d , 0x65 , 0x82 , 0xd3 , 0xe4 ,
0x93 , 0x02 , 0x1a , 0x12 , 0x18 , 0x2f , 0x61 , 0x70 , 0x69 , 0x2f , 0x76 , 0x32 , 0x2f , 0x73 , 0x68 , 0x6f ,
0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x73 , 0x2f , 0x7b , 0x6e , 0x61 , 0x6d , 0x65 , 0x7d , 0x12 , 0x80 , 0x01 ,
0x0a , 0x0e , 0x43 , 0x72 , 0x65 , 0x61 , 0x74 , 0x65 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 ,
0x12 , 0x23 , 0x2e , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x61 , 0x70 , 0x69 , 0x2e , 0x76 , 0x32 , 0x2e ,
0x43 , 0x72 , 0x65 , 0x61 , 0x74 , 0x65 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x52 , 0x65 ,
0x71 , 0x75 , 0x65 , 0x73 , 0x74 , 0x1a , 0x24 , 0x2e , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x61 , 0x70 ,
0x69 , 0x2e , 0x76 , 0x32 , 0x2e , 0x43 , 0x72 , 0x65 , 0x61 , 0x74 , 0x65 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 ,
0x63 , 0x75 , 0x74 , 0x52 , 0x65 , 0x73 , 0x70 , 0x6f , 0x6e , 0x73 , 0x65 , 0x22 , 0x23 , 0x82 , 0xd3 , 0xe4 ,
0x93 , 0x02 , 0x1d , 0x3a , 0x08 , 0x73 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x22 , 0x11 , 0x2f ,
0x61 , 0x70 , 0x69 , 0x2f , 0x76 , 0x32 , 0x2f , 0x73 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x73 ,
0x42 , 0xab , 0x01 , 0x0a , 0x10 , 0x63 , 0x6f , 0x6d , 0x2e , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x61 ,
0x70 , 0x69 , 0x2e , 0x76 , 0x32 , 0x42 , 0x14 , 0x53 , 0x68 , 0x6f , 0x72 , 0x74 , 0x63 , 0x75 , 0x74 , 0x53 ,
0x65 , 0x72 , 0x76 , 0x69 , 0x63 , 0x65 , 0x50 , 0x72 , 0x6f , 0x74 , 0x6f , 0x50 , 0x01 , 0x5a , 0x2f , 0x67 ,
0x69 , 0x74 , 0x68 , 0x75 , 0x62 , 0x2e , 0x63 , 0x6f , 0x6d , 0x2f , 0x62 , 0x6f , 0x6f , 0x6a , 0x61 , 0x63 ,
0x6b , 0x2f , 0x73 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2f , 0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x2f , 0x67 , 0x65 ,
0x6e , 0x2f , 0x61 , 0x70 , 0x69 , 0x2f , 0x76 , 0x32 , 0x3b , 0x61 , 0x70 , 0x69 , 0x76 , 0x32 , 0xa2 , 0x02 ,
0x03 , 0x53 , 0x41 , 0x58 , 0xaa , 0x02 , 0x0c , 0x53 , 0x6c , 0x61 , 0x73 , 0x68 , 0x2e , 0x41 , 0x70 , 0x69 ,
0x2e , 0x56 , 0x32 , 0xca , 0x02 , 0x0c , 0x53 , 0x6c , 0x61 , 0x73 , 0x68 , 0x5c , 0x41 , 0x70 , 0x69 , 0x5c ,
0x56 , 0x32 , 0xe2 , 0x02 , 0x18 , 0x53 , 0x6c , 0x61 , 0x73 , 0x68 , 0x5c , 0x41 , 0x70 , 0x69 , 0x5c , 0x56 ,
0x32 , 0x5c , 0x47 , 0x50 , 0x42 , 0x4d , 0x65 , 0x74 , 0x61 , 0x64 , 0x61 , 0x74 , 0x61 , 0xea , 0x02 , 0x0e ,
0x53 , 0x6c , 0x61 , 0x73 , 0x68 , 0x3a , 0x3a , 0x41 , 0x70 , 0x69 , 0x3a , 0x3a , 0x56 , 0x32 , 0x62 , 0x06 ,
0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x33 ,
}
var (
@ -555,32 +667,38 @@ func file_api_v2_shortcut_service_proto_rawDescGZIP() []byte {
}
var file_api_v2_shortcut_service_proto_enumTypes = make ( [ ] protoimpl . EnumInfo , 1 )
var file_api_v2_shortcut_service_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 6 )
var file_api_v2_shortcut_service_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 8 )
var file_api_v2_shortcut_service_proto_goTypes = [ ] interface { } {
( Visibility ) ( 0 ) , // 0: slash.api.v2.Visibility
( * Shortcut ) ( nil ) , // 1: slash.api.v2.Shortcut
( * OpenGraphMetadata ) ( nil ) , // 2: slash.api.v2.OpenGraphMetadata
( * ListShortcutsRequest ) ( nil ) , // 3: slash.api.v2.ListShortcutsRequest
( * ListShortcutsResponse ) ( nil ) , // 4: slash.api.v2.ListShortcutsResponse
( * GetShortcutRequest ) ( nil ) , // 5: slash.api.v2.GetShortcutRequest
( * GetShortcutResponse ) ( nil ) , // 6: slash.api.v2.GetShortcutResponse
( RowStatus ) ( 0 ) , // 7: slash.api.v2.RowStatus
( Visibility ) ( 0 ) , // 0: slash.api.v2.Visibility
( * Shortcut ) ( nil ) , // 1: slash.api.v2.Shortcut
( * OpenGraphMetadata ) ( nil ) , // 2: slash.api.v2.OpenGraphMetadata
( * ListShortcutsRequest ) ( nil ) , // 3: slash.api.v2.ListShortcutsRequest
( * ListShortcutsResponse ) ( nil ) , // 4: slash.api.v2.ListShortcutsResponse
( * GetShortcutRequest ) ( nil ) , // 5: slash.api.v2.GetShortcutRequest
( * GetShortcutResponse ) ( nil ) , // 6: slash.api.v2.GetShortcutResponse
( * CreateShortcutRequest ) ( nil ) , // 7: slash.api.v2.CreateShortcutRequest
( * CreateShortcutResponse ) ( nil ) , // 8: slash.api.v2.CreateShortcutResponse
( RowStatus ) ( 0 ) , // 9: slash.api.v2.RowStatus
}
var file_api_v2_shortcut_service_proto_depIdxs = [ ] int32 {
7 , // 0: slash.api.v2.Shortcut.row_status:type_name -> slash.api.v2.RowStatus
0 , // 1: slash.api.v2.Shortcut.visibility:type_name -> slash.api.v2.Visibility
2 , // 2: slash.api.v2.Shortcut.og_metadata:type_name -> slash.api.v2.OpenGraphMetadata
1 , // 3: slash.api.v2.ListShortcutsResponse.shortcuts:type_name -> slash.api.v2.Shortcut
1 , // 4: slash.api.v2.GetShortcutResponse.shortcut:type_name -> slash.api.v2.Shortcut
3 , // 5: slash.api.v2.ShortcutService.ListShortcuts:input_type -> slash.api.v2.ListShortcutsRequest
5 , // 6: slash.api.v2.ShortcutService.GetShortcut:input_type -> slash.api.v2.GetShortcutRequest
4 , // 7: slash.api.v2.ShortcutService.ListShortcuts:output_type -> slash.api.v2.ListShortcutsResponse
6 , // 8: slash.api.v2.ShortcutService.GetShortcut:output_type -> slash.api.v2.GetShortcutResponse
7 , // [7:9] is the sub-list for method output_type
5 , // [5:7] is the sub-list for method input_type
5 , // [5:5] is the sub-list for extension type_name
5 , // [5:5] is the sub-list for extension extendee
0 , // [0:5] is the sub-list for field type_name
9 , // 0: slash.api.v2.Shortcut.row_status:type_name -> slash.api.v2.RowStatus
0 , // 1: slash.api.v2.Shortcut.visibility:type_name -> slash.api.v2.Visibility
2 , // 2: slash.api.v2.Shortcut.og_metadata:type_name -> slash.api.v2.OpenGraphMetadata
1 , // 3: slash.api.v2.ListShortcutsResponse.shortcuts:type_name -> slash.api.v2.Shortcut
1 , // 4: slash.api.v2.GetShortcutResponse.shortcut:type_name -> slash.api.v2.Shortcut
1 , // 5: slash.api.v2.CreateShortcutRequest.shortcut:type_name -> slash.api.v2.Shortcut
1 , // 6: slash.api.v2.CreateShortcutResponse.shortcut:type_name -> slash.api.v2.Shortcut
3 , // 7: slash.api.v2.ShortcutService.ListShortcuts:input_type -> slash.api.v2.ListShortcutsRequest
5 , // 8: slash.api.v2.ShortcutService.GetShortcut:input_type -> slash.api.v2.GetShortcutRequest
7 , // 9: slash.api.v2.ShortcutService.CreateShortcut:input_type -> slash.api.v2.CreateShortcutRequest
4 , // 10: slash.api.v2.ShortcutService.ListShortcuts:output_type -> slash.api.v2.ListShortcutsResponse
6 , // 11: slash.api.v2.ShortcutService.GetShortcut:output_type -> slash.api.v2.GetShortcutResponse
8 , // 12: slash.api.v2.ShortcutService.CreateShortcut:output_type -> slash.api.v2.CreateShortcutResponse
10 , // [10:13] is the sub-list for method output_type
7 , // [7:10] is the sub-list for method input_type
7 , // [7:7] is the sub-list for extension type_name
7 , // [7:7] is the sub-list for extension extendee
0 , // [0:7] is the sub-list for field type_name
}
func init ( ) { file_api_v2_shortcut_service_proto_init ( ) }
@ -662,6 +780,30 @@ func file_api_v2_shortcut_service_proto_init() {
return nil
}
}
file_api_v2_shortcut_service_proto_msgTypes [ 6 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * CreateShortcutRequest ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_api_v2_shortcut_service_proto_msgTypes [ 7 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * CreateShortcutResponse ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
}
type x struct { }
out := protoimpl . TypeBuilder {
@ -669,7 +811,7 @@ func file_api_v2_shortcut_service_proto_init() {
GoPackagePath : reflect . TypeOf ( x { } ) . PkgPath ( ) ,
RawDescriptor : file_api_v2_shortcut_service_proto_rawDesc ,
NumEnums : 1 ,
NumMessages : 6 ,
NumMessages : 8 ,
NumExtensions : 0 ,
NumServices : 1 ,
} ,