-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(automation): update generated code
- Loading branch information
1 parent
60ae986
commit 93a6305
Showing
1 changed file
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
log_level: info | ||
cache: | ||
schema_file: schema.json | ||
endpoint: https://api.newrelic.com/graphql | ||
auth: | ||
header: Api-Key | ||
api_key_env_var: NEW_RELIC_API_KEY | ||
generators: | ||
- name: typegen | ||
fileName: types.go | ||
- name: nerdgraphclient | ||
fileName: "{{.PackageName}}_api.go" | ||
packages: | ||
- name: accountmanagement | ||
path: pkg/accountmanagement | ||
import_path: github.com/newrelic/newrelic-client-go/v2/pkg/accountmanagement | ||
generators: | ||
- typegen | ||
- nerdgraphclient | ||
imports: | ||
- github.com/newrelic/newrelic-client-go/v2/pkg/accounts | ||
- github.com/newrelic/newrelic-client-go/v2/pkg/common | ||
- github.com/newrelic/newrelic-client-go/v2/pkg/nrtime | ||
- github.com/newrelic/newrelic-client-go/v2/pkg/users | ||
queries: | ||
- path: | ||
- actor | ||
- organization | ||
- accountManagement | ||
endpoints: | ||
- name: managedAccounts | ||
max_query_field_depth: 2 | ||
mutations: | ||
- name: accountManagementUpdateAccount | ||
max_query_field_depth: 3 | ||
- name: accountManagementCancelAccount | ||
max_query_field_depth: 3 | ||
- name: accountManagementCreateAccount | ||
max_query_field_depth: 2 | ||
- name: usermanagement | ||
path: pkg/usermanagement | ||
import_path: github.com/newrelic/newrelic-client-go/v2/pkg/usermanagement | ||
generators: | ||
- typegen | ||
- nerdgraphclient | ||
imports: | ||
- github.com/newrelic/newrelic-client-go/v2/pkg/accounts | ||
- github.com/newrelic/newrelic-client-go/v2/pkg/common | ||
- github.com/newrelic/newrelic-client-go/v2/pkg/nrtime | ||
- github.com/newrelic/newrelic-client-go/v2/pkg/users | ||
queries: | ||
- path: | ||
- actor | ||
- organization | ||
- userManagement | ||
endpoints: | ||
- name: authenticationDomains | ||
max_query_field_depth: 4 | ||
mutations: | ||
- name: userManagementCreateGroup | ||
max_query_field_depth: 2 | ||
- name: userManagementCreateUser | ||
max_query_field_depth: 1 | ||
types: | ||
- name: ID | ||
field_type_override: string | ||
skip_type_create: true | ||
- name: DateTime | ||
field_type_override: nrtime.DateTime | ||
skip_type_create: true |