зеркало из https://github.com/mozilla/fxa.git
df7897920d
Because: - We want to lock down our gql queries as part of good security practices. This Commit: - Creates task that extracts existing gql queries from our code - Applies middleware that checks a allowlist of extracted queries. - Creates a 403 if the query is not in the allowlist - Makes all gql parsable by extraction utility. The extraction utility doesn't support string placeholders. e.g. gql` Account { ${ACCOUNT_FIELDS} }` - Moves all the gql in the admin server into .ts files. Again for consistency and extraction utility support. - Cleans up some config references at startup - Adds nx config for extraction & copy tasks |
||
---|---|---|
.. | ||
configs | ||
rules | ||
util | ||
index.js |