Refactor /.autogen (#3551)
* Create patreon.jq * Create check_pr.jq * Rename check_pr.jq to .autogen/check_pr.jq * Create next_url.jq * Update autogen.sh * Rename autogen.sh to update_readme_patreon.sh
This commit is contained in:
parent
a6dc0f3684
commit
e16906afc3
4 changed files with 47 additions and 3 deletions
39
.autogen/patreon.jq
Normal file
39
.autogen/patreon.jq
Normal file
|
@ -0,0 +1,39 @@
|
|||
(
|
||||
.data |
|
||||
map(
|
||||
select(
|
||||
.relationships
|
||||
.currently_entitled_tiers
|
||||
.data[]
|
||||
)
|
||||
) |
|
||||
map(
|
||||
.relationships
|
||||
.user
|
||||
.data
|
||||
.id
|
||||
)
|
||||
) as $data |
|
||||
.included |
|
||||
map(
|
||||
select(
|
||||
.id as $id |
|
||||
$data |
|
||||
contains(
|
||||
[
|
||||
$id
|
||||
]
|
||||
)
|
||||
)
|
||||
) |
|
||||
map(
|
||||
.attributes |
|
||||
[
|
||||
.full_name,
|
||||
.thumb_url,
|
||||
.url
|
||||
] |
|
||||
@tsv
|
||||
) |
|
||||
.[] |
|
||||
@text
|
Loading…
Add table
Add a link
Reference in a new issue