Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: remove unused `reaction.proto`
johnnyjoy2a1c0bba6c04
diff --git a/proto/gen/apidocs.swagger.yaml b/proto/gen/apidocs.swagger.yamlindex e2fade861..b12b1f90b 100644--- a/proto/gen/apidocs.swagger.yaml+++ b/proto/gen/apidocs.swagger.yaml@@ -311,16 +311,12 @@ paths:type: integerformat: int32- name: pageToken- description: |-- A page token, received from a previous `ListMemos` call.- Provide this to retrieve the subsequent page.+ description: "A page token, received from a previous `ListMemos` call.\r\nProvide this to retrieve the subsequent page."in: queryrequired: falsetype: string- name: filter- description: |-- Filter is used to filter memos returned in the list.- Format: "creator == 'users/{uid}' && visibilities == ['PUBLIC', 'PROTECTED']"+ description: "Filter is used to filter memos returned in the list.\r\nFormat: \"creator == 'users/{uid}' && visibilities == ['PUBLIC', 'PROTECTED']\""in: queryrequired: falsetype: string@@ -509,9 +505,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: filter- description: |-- Filter is used to filter users returned in the list.- Format: "username == 'frank'"+ description: "Filter is used to filter users returned in the list.\r\nFormat: \"username == 'frank'\""in: queryrequired: falsetype: string@@ -672,9 +666,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The resource name of the workspace setting.- Format: settings/{setting}+ description: "The resource name of the workspace setting.\r\nFormat: settings/{setting}"in: pathrequired: truetype: string@@ -696,9 +688,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: setting.name- description: |-- name is the name of the setting.- Format: settings/{setting}+ description: "name is the name of the setting.\r\nFormat: settings/{setting}"in: pathrequired: truetype: string@@ -734,9 +724,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: identityProvider.name- description: |-- The name of the identityProvider.- Format: identityProviders/{id}+ description: "The name of the identityProvider.\r\nFormat: identityProviders/{id}"in: pathrequired: truetype: string@@ -774,9 +762,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: inbox.name- description: |-- The name of the inbox.- Format: inboxes/{id}+ description: "The name of the inbox.\r\nFormat: inboxes/{id}"in: pathrequired: truetype: string@@ -820,10 +806,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: memo.name- description: |-- The name of the memo.- Format: memos/{id}- id is the system generated id.+ description: "The name of the memo.\r\nFormat: memos/{id}\r\nid is the system generated id."in: pathrequired: truetype: string@@ -841,9 +824,7 @@ paths:$ref: '#/definitions/v1RowStatus'creator:type: string- title: |-- The name of the creator.- Format: users/{id}+ title: "The name of the creator.\r\nFormat: users/{id}"createTime:type: stringformat: date-time@@ -890,9 +871,7 @@ paths:readOnly: trueparent:type: string- title: |-- The name of the parent memo.- Format: memos/{id}+ title: "The name of the parent memo.\r\nFormat: memos/{id}"readOnly: truesnippet:type: string@@ -918,9 +897,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name_1- description: |-- The name of the user.- Format: users/{id}+ description: "The name of the user.\r\nFormat: users/{id}"in: pathrequired: truetype: string@@ -942,9 +919,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name_1- description: |-- The name of the identityProvider to delete.- Format: identityProviders/{id}+ description: "The name of the identityProvider to delete.\r\nFormat: identityProviders/{id}"in: pathrequired: truetype: string@@ -966,9 +941,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name_2- description: |-- The name of the identityProvider to get.- Format: identityProviders/{id}+ description: "The name of the identityProvider to get.\r\nFormat: identityProviders/{id}"in: pathrequired: truetype: string@@ -990,9 +963,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name_2- description: |-- The name of the inbox to delete.- Format: inboxes/{id}+ description: "The name of the inbox to delete.\r\nFormat: inboxes/{id}"in: pathrequired: truetype: string@@ -1014,10 +985,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name_3- description: |-- The name of the resource.- Format: resources/{id}- id is the system generated unique identifier.+ description: "The name of the resource.\r\nFormat: resources/{id}\r\nid is the system generated unique identifier."in: pathrequired: truetype: string@@ -1039,10 +1007,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name_3- description: |-- The name of the resource.- Format: resources/{id}- id is the system generated unique identifier.+ description: "The name of the resource.\r\nFormat: resources/{id}\r\nid is the system generated unique identifier."in: pathrequired: truetype: string@@ -1064,9 +1029,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name_4- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1088,9 +1051,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name_4- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1112,9 +1073,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the activity.- Format: activities/{id}+ description: "The name of the activity.\r\nFormat: activities/{id}"in: pathrequired: truetype: string@@ -1136,9 +1095,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the user.- Format: users/{id}+ description: "The name of the user.\r\nFormat: users/{id}"in: pathrequired: truetype: string@@ -1160,9 +1117,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the user.- Format: users/{id}+ description: "The name of the user.\r\nFormat: users/{id}"in: pathrequired: truetype: string@@ -1183,9 +1138,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the user.- Format: users/{id}+ description: "The name of the user.\r\nFormat: users/{id}"in: pathrequired: truetype: string@@ -1213,9 +1166,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the user.- Format: users/{id}+ description: "The name of the user.\r\nFormat: users/{id}"in: pathrequired: truetype: string@@ -1242,9 +1193,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1265,9 +1214,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1294,9 +1241,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1317,9 +1262,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1346,9 +1289,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1370,9 +1311,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1399,9 +1338,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1423,9 +1360,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the memo.- Format: memos/{id}+ description: "The name of the memo.\r\nFormat: memos/{id}"in: pathrequired: truetype: string@@ -1452,9 +1387,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the user.- Format: users/{id}+ description: "The name of the user.\r\nFormat: users/{id}"in: pathrequired: truetype: string@@ -1477,9 +1410,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: parent- description: |-- The parent, who owns the tags.- Format: memos/{id}. Use "memos/-" to delete all tags.+ description: "The parent, who owns the tags.\r\nFormat: memos/{id}. Use \"memos/-\" to delete all tags."in: pathrequired: truetype: string@@ -1510,9 +1441,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: parent- description: |-- The parent, who owns the tags.- Format: memos/{id}. Use "memos/-" to rename all tags.+ description: "The parent, who owns the tags.\r\nFormat: memos/{id}. Use \"memos/-\" to rename all tags."in: pathrequired: truetype: string@@ -1539,10 +1468,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: resource.name- description: |-- The name of the resource.- Format: resources/{id}- id is the system generated unique identifier.+ description: "The name of the resource.\r\nFormat: resources/{id}\r\nid is the system generated unique identifier."in: pathrequired: truetype: string@@ -1574,9 +1500,7 @@ paths:format: int64memo:type: string- title: |-- The related memo.- Format: memos/{id}+ title: "The related memo.\r\nFormat: memos/{id}"tags:- ResourceService/api/v1/{setting.name}:@@ -1594,9 +1518,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: setting.name- description: |-- The name of the user.- Format: users/{id}+ description: "The name of the user.\r\nFormat: users/{id}"in: pathrequired: truetype: string@@ -1635,9 +1557,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: user.name- description: |-- The name of the user.- Format: users/{id}+ description: "The name of the user.\r\nFormat: users/{id}"in: pathrequired: truetype: string@@ -1693,9 +1613,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the user.- Format: users/{id}+ description: "The name of the user.\r\nFormat: users/{id}"in: pathrequired: truetype: string@@ -1728,10 +1646,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: name- description: |-- The name of the resource.- Format: resources/{id}- id is the system generated unique identifier.+ description: "The name of the resource.\r\nFormat: resources/{id}\r\nid is the system generated unique identifier."in: pathrequired: truetype: string@@ -1924,9 +1839,7 @@ definitions:properties:name:type: string- title: |-- The name of the identityProvider.- Format: identityProviders/{id}+ title: "The name of the identityProvider.\r\nFormat: identityProviders/{id}"type:$ref: '#/definitions/apiv1IdentityProviderType'title:@@ -1962,10 +1875,7 @@ definitions:properties:name:type: string- description: |-- The name of the memo.- Format: memos/{id}- id is the system generated id.+ description: "The name of the memo.\r\nFormat: memos/{id}\r\nid is the system generated id."uid:type: stringdescription: The user defined id of the memo.@@ -1973,9 +1883,7 @@ definitions:$ref: '#/definitions/v1RowStatus'creator:type: string- title: |-- The name of the creator.- Format: users/{id}+ title: "The name of the creator.\r\nFormat: users/{id}"createTime:type: stringformat: date-time@@ -2022,9 +1930,7 @@ definitions:readOnly: trueparent:type: string- title: |-- The name of the parent memo.- Format: memos/{id}+ title: "The name of the parent memo.\r\nFormat: memos/{id}"readOnly: truesnippet:type: string@@ -2057,9 +1963,7 @@ definitions:properties:name:type: string- title: |-- The name of the user.- Format: users/{id}+ title: "The name of the user.\r\nFormat: users/{id}"locale:type: stringdescription: The preferred locale of the user.@@ -2103,10 +2007,7 @@ definitions:weekStartDayOffset:type: integerformat: int32- description: |-- week_start_day_offset is the week start day offset from Sunday.- 0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday- Default is Sunday.+ description: "week_start_day_offset is the week start day offset from Sunday.\r\n0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday\r\nDefault is Sunday."disallowChangeUsername:type: booleandescription: disallow_change_username disallows changing username.@@ -2157,9 +2058,7 @@ definitions:properties:name:type: string- title: |-- name is the name of the setting.- Format: settings/{setting}+ title: "name is the name of the setting.\r\nFormat: settings/{setting}"generalSetting:$ref: '#/definitions/apiv1WorkspaceGeneralSetting'storageSetting:@@ -2174,9 +2073,7 @@ definitions:description: storage_type is the storage type.filepathTemplate:type: string- title: |-- The template of file path.- e.g. assets/{timestamp}_{filename}+ title: "The template of file path.\r\ne.g. assets/{timestamp}_{filename}"uploadSizeLimitMb:type: stringformat: int64@@ -2335,9 +2232,7 @@ definitions:properties:name:type: string- title: |-- The name of the activity.- Format: activities/{id}+ title: "The name of the activity.\r\nFormat: activities/{id}"creatorId:type: integerformat: int32@@ -2480,9 +2375,7 @@ definitions:properties:name:type: string- title: |-- The name of the inbox.- Format: inboxes/{id}+ title: "The name of the inbox.\r\nFormat: inboxes/{id}"sender:type: stringtitle: 'Format: users/{id}'@@ -2556,9 +2449,7 @@ definitions:$ref: '#/definitions/v1Inbox'nextPageToken:type: string- description: |-- A token, which can be sent as `page_token` to retrieve the next page.- If this field is omitted, there are no subsequent pages.+ description: "A token, which can be sent as `page_token` to retrieve the next page.\r\nIf this field is omitted, there are no subsequent pages."v1ListMemoCommentsResponse:type: objectproperties:@@ -2601,9 +2492,7 @@ definitions:$ref: '#/definitions/apiv1Memo'nextPageToken:type: string- description: |-- A token, which can be sent as `page_token` to retrieve the next page.- If this field is omitted, there are no subsequent pages.+ description: "A token, which can be sent as `page_token` to retrieve the next page.\r\nIf this field is omitted, there are no subsequent pages."v1ListNode:type: objectproperties:@@ -2679,14 +2568,10 @@ definitions:properties:memo:$ref: '#/definitions/v1MemoRelationMemo'- title: |-- The name of memo.- Format: "memos/{uid}"+ title: "The name of memo.\r\nFormat: \"memos/{uid}\""relatedMemo:$ref: '#/definitions/v1MemoRelationMemo'- title: |-- The name of related memo.- Format: "memos/{uid}"+ title: "The name of related memo.\r\nFormat: \"memos/{uid}\""type:$ref: '#/definitions/v1MemoRelationType'v1MemoRelationMemo:@@ -2694,9 +2579,7 @@ definitions:properties:name:type: string- title: |-- The name of the memo.- Format: memos/{id}+ title: "The name of the memo.\r\nFormat: memos/{id}"uid:type: stringsnippet:@@ -2870,9 +2753,7 @@ definitions:format: int32creator:type: string- title: |-- The name of the creator.- Format: users/{id}+ title: "The name of the creator.\r\nFormat: users/{id}"contentId:type: stringreactionType:@@ -2889,10 +2770,7 @@ definitions:properties:name:type: string- description: |-- The name of the resource.- Format: resources/{id}- id is the system generated unique identifier.+ description: "The name of the resource.\r\nFormat: resources/{id}\r\nid is the system generated unique identifier."uid:type: stringdescription: The user defined id of the resource.@@ -2914,9 +2792,7 @@ definitions:format: int64memo:type: string- title: |-- The related memo.- Format: memos/{id}+ title: "The related memo.\r\nFormat: memos/{id}"v1RestoreMarkdownNodesRequest:type: objectproperties:@@ -3038,9 +2914,7 @@ definitions:properties:name:type: string- title: |-- The name of the user.- Format: users/{id}+ title: "The name of the user.\r\nFormat: users/{id}"id:type: integerformat: int32@@ -3114,9 +2988,7 @@ definitions:properties:owner:type: string- title: |-- The name of instance owner.- Format: "users/{id}"+ title: "The name of instance owner.\r\nFormat: \"users/{id}\""version:type: stringtitle: version is the current version of instancediff --git a/proto/gen/store/reaction.pb.go b/proto/gen/store/reaction.pb.godeleted file mode 100644index 80aed61f2..000000000--- a/proto/gen/store/reaction.pb.go+++ /dev/null@@ -1,71 +0,0 @@-// Code generated by protoc-gen-go. DO NOT EDIT.-// versions:-// protoc-gen-go v1.35.2-// protoc (unknown)-// source: store/reaction.proto--package store--import (- protoreflect "google.golang.org/protobuf/reflect/protoreflect"- protoimpl "google.golang.org/protobuf/runtime/protoimpl"- reflect "reflect"-)--const (- // Verify that this generated code is sufficiently up-to-date.- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)- // Verify that runtime/protoimpl is sufficiently up-to-date.- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)-)--var File_store_reaction_proto protoreflect.FileDescriptor--var file_store_reaction_proto_rawDesc = []byte{- 0x0a, 0x14, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74,- 0x6f, 0x72, 0x65, 0x42, 0x98, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,- 0x73, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0x0d, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f,- 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,- 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x65,- 0x6d, 0x6f, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x74,- 0x6f, 0x72, 0x65, 0xa2, 0x02, 0x03, 0x4d, 0x53, 0x58, 0xaa, 0x02, 0x0b, 0x4d, 0x65, 0x6d, 0x6f,- 0x73, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x65, 0xca, 0x02, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c,- 0x53, 0x74, 0x6f, 0x72, 0x65, 0xe2, 0x02, 0x17, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x53, 0x74,- 0x6f, 0x72, 0x65, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea,- 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06,- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,-}--var file_store_reaction_proto_goTypes = []any{}-var file_store_reaction_proto_depIdxs = []int32{- 0, // [0:0] is the sub-list for method output_type- 0, // [0:0] is the sub-list for method input_type- 0, // [0:0] is the sub-list for extension type_name- 0, // [0:0] is the sub-list for extension extendee- 0, // [0:0] is the sub-list for field type_name-}--func init() { file_store_reaction_proto_init() }-func file_store_reaction_proto_init() {- if File_store_reaction_proto != nil {- return- }- type x struct{}- out := protoimpl.TypeBuilder{- File: protoimpl.DescBuilder{- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),- RawDescriptor: file_store_reaction_proto_rawDesc,- NumEnums: 0,- NumMessages: 0,- NumExtensions: 0,- NumServices: 0,- },- GoTypes: file_store_reaction_proto_goTypes,- DependencyIndexes: file_store_reaction_proto_depIdxs,- }.Build()- File_store_reaction_proto = out.File- file_store_reaction_proto_rawDesc = nil- file_store_reaction_proto_goTypes = nil- file_store_reaction_proto_depIdxs = nil-}diff --git a/proto/store/reaction.proto b/proto/store/reaction.protodeleted file mode 100644index 5990f042c..000000000--- a/proto/store/reaction.proto+++ /dev/null@@ -1,5 +0,0 @@-syntax = "proto3";--package memos.store;--option go_package = "gen/store";