test for editing a new caption onto an image
This commit is contained in:
		
							parent
							
								
									8f6bb86b92
								
							
						
					
					
						commit
						2973170e87
					
				
					 4 changed files with 202 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -9,7 +9,7 @@ async function editMessage() {
 | 
			
		|||
	// 3. Send all the things.
 | 
			
		||||
 | 
			
		||||
	// old code lies here
 | 
			
		||||
	let eventPart = 0 // TODO: what to do about eventPart when editing? probably just need to make sure that exactly 1 value of '1' remains in the database?
 | 
			
		||||
	let eventPart = 0 // TODO: what to do about eventPart when editing? probably just need to make sure that exactly 1 value of '0' remains in the database?
 | 
			
		||||
	for (const event of events) {
 | 
			
		||||
		const eventType = event.$type
 | 
			
		||||
		/** @type {Pick<typeof event, Exclude<keyof event, "$type">> & { $type?: string }} */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue