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: buf generate
johnnyjoy503c892abf24
diff --git a/proto/gen/apidocs.swagger.yaml b/proto/gen/apidocs.swagger.yamlindex 74b5da757..3136e502f 100644--- a/proto/gen/apidocs.swagger.yaml+++ b/proto/gen/apidocs.swagger.yaml@@ -305,9 +305,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: parent- description: |-- The parent is the owner of the memos.- If not specified or `users/-`, it will list all memos.+ description: "The parent is the owner of the memos.\r\nIf not specified or `users/-`, it will list all memos."in: queryrequired: falsetype: string@@ -318,16 +316,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: state- description: |-- The state of the memos to list.- Default to `NORMAL`. Set to `ARCHIVED` to list archived memos.+ description: "The state of the memos to list.\r\nDefault to `NORMAL`. Set to `ARCHIVED` to list archived memos."in: queryrequired: falsetype: string@@ -337,16 +331,12 @@ paths:- ARCHIVEDdefault: STATE_UNSPECIFIED- name: sort- description: |-- What field to sort the results by.- Default to display_time.+ description: "What field to sort the results by.\r\nDefault to display_time."in: queryrequired: falsetype: string- name: direction- description: |-- The direction to sort the results by.- Default to DESC.+ description: "The direction to sort the results by.\r\nDefault to DESC."in: queryrequired: falsetype: string@@ -356,16 +346,12 @@ paths:- DESCdefault: DIRECTION_UNSPECIFIED- name: filter- description: |-- Filter is a CEL expression to filter memos.- Refer to `Shortcut.filter`.+ description: "Filter is a CEL expression to filter memos.\r\nRefer to `Shortcut.filter`."in: queryrequired: falsetype: string- name: oldFilter- description: |-- [Deprecated] Old filter contains some specific conditions to filter memos.- Format: "creator == 'users/{user}' && visibilities == ['PUBLIC', 'PROTECTED']"+ description: "[Deprecated] Old filter contains some specific conditions to filter memos.\r\nFormat: \"creator == 'users/{user}' && visibilities == ['PUBLIC', 'PROTECTED']\""in: queryrequired: falsetype: string@@ -410,9 +396,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: id- description: |-- The id of the reaction.- Refer to the `Reaction.id`.+ description: "The id of the reaction.\r\nRefer to the `Reaction.id`."in: pathrequired: truetype: integer@@ -826,17 +810,13 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: memo.name- description: |-- The name of the memo.- Format: memos/{memo}, memo is the user defined id or uuid.+ description: "The name of the memo.\r\nFormat: memos/{memo}, memo is the user defined id or uuid."in: pathrequired: truetype: stringpattern: memos/[^/]+- name: memo- description: |-- The memo to update.- The `name` field is required.+ description: "The memo to update.\r\nThe `name` field is required."in: bodyrequired: trueschema:@@ -846,9 +826,7 @@ paths:$ref: '#/definitions/v1State'creator:type: string- title: |-- The name of the creator.- Format: users/{user}+ title: "The name of the creator.\r\nFormat: users/{user}"createTime:type: stringformat: date-time@@ -896,9 +874,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@@ -907,9 +883,7 @@ paths:location:$ref: '#/definitions/apiv1Location'description: The location of the memo.- title: |-- The memo to update.- The `name` field is required.+ title: "The memo to update.\r\nThe `name` field is required."required:- memotags:@@ -1466,9 +1440,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: parent- description: |-- The parent is the owner of the memos.- If not specified or `users/-`, it will list all memos.+ description: "The parent is the owner of the memos.\r\nIf not specified or `users/-`, it will list all memos."in: pathrequired: truetype: string@@ -1480,16 +1452,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: state- description: |-- The state of the memos to list.- Default to `NORMAL`. Set to `ARCHIVED` to list archived memos.+ description: "The state of the memos to list.\r\nDefault to `NORMAL`. Set to `ARCHIVED` to list archived memos."in: queryrequired: falsetype: string@@ -1499,16 +1467,12 @@ paths:- ARCHIVEDdefault: STATE_UNSPECIFIED- name: sort- description: |-- What field to sort the results by.- Default to display_time.+ description: "What field to sort the results by.\r\nDefault to display_time."in: queryrequired: falsetype: string- name: direction- description: |-- The direction to sort the results by.- Default to DESC.+ description: "The direction to sort the results by.\r\nDefault to DESC."in: queryrequired: falsetype: string@@ -1518,16 +1482,12 @@ paths:- DESCdefault: DIRECTION_UNSPECIFIED- name: filter- description: |-- Filter is a CEL expression to filter memos.- Refer to `Shortcut.filter`.+ description: "Filter is a CEL expression to filter memos.\r\nRefer to `Shortcut.filter`."in: queryrequired: falsetype: string- name: oldFilter- description: |-- [Deprecated] Old filter contains some specific conditions to filter memos.- Format: "creator == 'users/{user}' && visibilities == ['PUBLIC', 'PROTECTED']"+ description: "[Deprecated] Old filter contains some specific conditions to filter memos.\r\nFormat: \"creator == 'users/{user}' && visibilities == ['PUBLIC', 'PROTECTED']\""in: queryrequired: falsetype: string@@ -1665,9 +1625,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@@ -1698,9 +1656,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@@ -1815,9 +1771,7 @@ paths:$ref: '#/definitions/googlerpcStatus'parameters:- name: user.name- description: |-- The name of the user.- Format: users/{id}, id is the system generated auto-incremented id.+ description: "The name of the user.\r\nFormat: users/{id}, id is the system generated auto-incremented id."in: pathrequired: truetype: string@@ -2152,17 +2106,13 @@ definitions:properties:name:type: string- description: |-- The name of the memo.- Format: memos/{memo}, memo is the user defined id or uuid.+ description: "The name of the memo.\r\nFormat: memos/{memo}, memo is the user defined id or uuid."readOnly: truestate:$ref: '#/definitions/v1State'creator:type: string- title: |-- The name of the creator.- Format: users/{user}+ title: "The name of the creator.\r\nFormat: users/{user}"createTime:type: stringformat: date-time@@ -2210,9 +2160,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@@ -2793,9 +2741,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:@@ -3213,9 +3159,7 @@ definitions:properties:name:type: string- description: |-- The name of the user.- Format: users/{id}, id is the system generated auto-incremented id.+ description: "The name of the user.\r\nFormat: users/{id}, id is the system generated auto-incremented id."role:$ref: '#/definitions/UserRole'username:@@ -3264,9 +3208,7 @@ definitions:items:type: stringformat: date-time- description: |-- The timestamps when the memos were displayed.- We should return raw data to the client, and let the client format the data with the user's timezone.+ description: "The timestamps when the memos were displayed.\r\nWe should return raw data to the client, and let the client format the data with the user's timezone."memoTypeStats:$ref: '#/definitions/UserStatsMemoTypeStats'description: The stats of memo types.@@ -3275,9 +3217,7 @@ definitions:additionalProperties:type: integerformat: int32- title: |-- The count of tags.- Format: "tag1": 1, "tag2": 2+ title: "The count of tags.\r\nFormat: \"tag1\": 1, \"tag2\": 2"v1Visibility:type: stringenum: