feat(users/Profpatsch/mailbox-org): add simple request json example
Adds a simple json quasiquoter thingy. Json can be sent to the `/mailfilter?action=update` endpoint. Change-Id: Iba80c2ab69178e431519933c4a01cd68aaa9f637 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7839 Tested-by: BuildkiteCI Autosubmit: Profpatsch <mail@profpatsch.de> Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
		
							parent
							
								
									1a18c25d81
								
							
						
					
					
						commit
						f627ee84b3
					
				
					 5 changed files with 107 additions and 23 deletions
				
			
		|  | @ -5,7 +5,7 @@ let | |||
|   # Add the given nix arguments to the program as ARGLIB_NETENCODE envvar | ||||
|   # | ||||
|   # Calls `netencode.gen.dwim` on the provided nix args value. | ||||
|   with-args = args: prog: depot.nix.writeExecline "${prog.name}-with-args" { } [ | ||||
|   with-args = name: args: prog: depot.nix.writeExecline "${name}-with-args" { } [ | ||||
|     "export" | ||||
|     "ARGLIB_NETENCODE" | ||||
|     (depot.users.Profpatsch.netencode.gen.dwim args) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue