Skip to content

Commit

Permalink
feat(automation): update generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderblue authored Sep 25, 2024
1 parent 60ae986 commit 93a6305
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions .tutone.tmp.yml
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

0 comments on commit 93a6305

Please sign in to comment.