mirror of
				https://github.com/usememos/memos.git
				synced 2025-10-30 00:06:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			356 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			356 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
| syntax = "proto3";
 | |
| 
 | |
| package memos.api.v1;
 | |
| 
 | |
| option go_package = "gen/api/v1";
 | |
| 
 | |
| message MemoRelation {
 | |
|   // The name of memo.
 | |
|   // Format: "memos/{uid}"
 | |
|   string memo = 1;
 | |
| 
 | |
|   // The name of related memo.
 | |
|   // Format: "memos/{uid}"
 | |
|   string related_memo = 2;
 | |
| 
 | |
|   enum Type {
 | |
|     TYPE_UNSPECIFIED = 0;
 | |
|     REFERENCE = 1;
 | |
|     COMMENT = 2;
 | |
|   }
 | |
|   Type type = 3;
 | |
| }
 |