feat(backend): initial data export support
obviously it's missing things that haven't been added yet
This commit is contained in:
		
							parent
							
								
									f0ae648492
								
							
						
					
					
						commit
						903be2709c
					
				
					 15 changed files with 502 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -65,6 +65,9 @@ public readonly struct Snowflake(ulong value) : IEquatable<Snowflake>
 | 
			
		|||
        return true;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public static Snowflake FromInstant(Instant instant) =>
 | 
			
		||||
        new((ulong)(instant.ToUnixTimeMilliseconds() - Epoch) << 22);
 | 
			
		||||
 | 
			
		||||
    public override bool Equals(object? obj) => obj is Snowflake other && Value == other.Value;
 | 
			
		||||
 | 
			
		||||
    public bool Equals(Snowflake other)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue