Orgas: export jq filtering outside gen.sh code (simplification)
This commit is contained in:
6
orgas/filters/libraries
Normal file
6
orgas/filters/libraries
Normal file
@ -0,0 +1,6 @@
|
||||
.[] | {
|
||||
name,
|
||||
pid,
|
||||
code,
|
||||
organisation: .organisation."$ref"
|
||||
}
|
5
orgas/filters/organisations
Normal file
5
orgas/filters/organisations
Normal file
@ -0,0 +1,5 @@
|
||||
.[] | {
|
||||
name,
|
||||
pid,
|
||||
code
|
||||
}
|
5
orgas/filters/patron_types
Normal file
5
orgas/filters/patron_types
Normal file
@ -0,0 +1,5 @@
|
||||
.[] | {
|
||||
pid,
|
||||
name,
|
||||
organisation: .organisation."$ref"
|
||||
}
|
9
orgas/filters/users
Normal file
9
orgas/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