Archived
1
0

Orgas: export jq filtering outside gen.sh code (simplification)

This commit is contained in:
2020-02-07 13:51:32 +01:00
parent 86224fef7f
commit 9f9feb2a93
7 changed files with 39 additions and 31 deletions

6
orgas/filters/libraries Normal file
View File

@ -0,0 +1,6 @@
.[] | {
name,
pid,
code,
organisation: .organisation."$ref"
}

View File

@ -0,0 +1,5 @@
.[] | {
name,
pid,
code
}

View File

@ -0,0 +1,5 @@
.[] | {
pid,
name,
organisation: .organisation."$ref"
}

9
orgas/filters/users Normal file
View File

@ -0,0 +1,9 @@
.[] | {
email,
first_name,
last_name,
barcode,
roles,
library: .library."$ref",
pt: .patron_type."$ref"
}