Structure: make it more generic
* changes `orgas` directory to `by_json` (explain what we do: using JSON
    to geneate schema)
* makes Makefile more generic to permit to generate more SVG files in
the future
			
			
This commit is contained in:
		
							
								
								
									
										6
									
								
								by_json/filters/libraries
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								by_json/filters/libraries
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
.[] | {
 | 
			
		||||
  name,
 | 
			
		||||
  pid,
 | 
			
		||||
  code,
 | 
			
		||||
  organisation: .organisation."$ref"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										5
									
								
								by_json/filters/organisations
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								by_json/filters/organisations
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
.[] | {
 | 
			
		||||
  name,
 | 
			
		||||
  pid,
 | 
			
		||||
  code
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										5
									
								
								by_json/filters/patron_types
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								by_json/filters/patron_types
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
.[] | {
 | 
			
		||||
  pid,
 | 
			
		||||
  name,
 | 
			
		||||
  organisation: .organisation."$ref"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								by_json/filters/users
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								by_json/filters/users
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
.[] | {
 | 
			
		||||
  email,
 | 
			
		||||
  first_name,
 | 
			
		||||
  last_name,
 | 
			
		||||
  barcode,
 | 
			
		||||
  roles,
 | 
			
		||||
  library: .library."$ref",
 | 
			
		||||
  pt: .patron_type."$ref"
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user