Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency typescript to ~3.2.0 #1465

Merged
merged 3 commits into from Dec 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -97,6 +97,6 @@
"server-destroy": "^1.0.1",
"source-map-support": "^0.5.5",
"tmp": "^0.0.33",
"typescript": "~3.1.0"
"typescript": "~3.2.0"
}
}
145 changes: 0 additions & 145 deletions src/apis/index.ts
Expand Up @@ -13,8 +13,6 @@

/*! THIS FILE IS AUTO-GENERATED */

import {getAPI, ServiceOptions} from 'googleapis-common';

import * as abusiveexperiencereport from './abusiveexperiencereport';
import * as acceleratedmobilepageurl from './acceleratedmobilepageurl';
import * as accesscontextmanager from './accesscontextmanager';
Expand Down Expand Up @@ -450,147 +448,4 @@ export class GeneratedAPIs {
youtube = youtube.youtube;
youtubeAnalytics = youtubeAnalytics.youtubeAnalytics;
youtubereporting = youtubereporting.youtubereporting;
constructor() {
this.abusiveexperiencereport = this.abusiveexperiencereport.bind(this);
this.acceleratedmobilepageurl = this.acceleratedmobilepageurl.bind(this);
this.accesscontextmanager = this.accesscontextmanager.bind(this);
this.adexchangebuyer = this.adexchangebuyer.bind(this);
this.adexchangebuyer2 = this.adexchangebuyer2.bind(this);
this.adexperiencereport = this.adexperiencereport.bind(this);
this.admin = this.admin.bind(this);
this.adsense = this.adsense.bind(this);
this.adsensehost = this.adsensehost.bind(this);
this.alertcenter = this.alertcenter.bind(this);
this.analytics = this.analytics.bind(this);
this.analyticsreporting = this.analyticsreporting.bind(this);
this.androiddeviceprovisioning = this.androiddeviceprovisioning.bind(this);
this.androidenterprise = this.androidenterprise.bind(this);
this.androidmanagement = this.androidmanagement.bind(this);
this.androidpublisher = this.androidpublisher.bind(this);
this.appengine = this.appengine.bind(this);
this.appsactivity = this.appsactivity.bind(this);
this.appstate = this.appstate.bind(this);
this.bigquery = this.bigquery.bind(this);
this.bigquerydatatransfer = this.bigquerydatatransfer.bind(this);
this.binaryauthorization = this.binaryauthorization.bind(this);
this.blogger = this.blogger.bind(this);
this.books = this.books.bind(this);
this.calendar = this.calendar.bind(this);
this.chat = this.chat.bind(this);
this.civicinfo = this.civicinfo.bind(this);
this.classroom = this.classroom.bind(this);
this.cloudasset = this.cloudasset.bind(this);
this.cloudbilling = this.cloudbilling.bind(this);
this.cloudbuild = this.cloudbuild.bind(this);
this.clouddebugger = this.clouddebugger.bind(this);
this.clouderrorreporting = this.clouderrorreporting.bind(this);
this.cloudfunctions = this.cloudfunctions.bind(this);
this.cloudiot = this.cloudiot.bind(this);
this.cloudkms = this.cloudkms.bind(this);
this.cloudprofiler = this.cloudprofiler.bind(this);
this.cloudresourcemanager = this.cloudresourcemanager.bind(this);
this.cloudsearch = this.cloudsearch.bind(this);
this.cloudshell = this.cloudshell.bind(this);
this.cloudtasks = this.cloudtasks.bind(this);
this.cloudtrace = this.cloudtrace.bind(this);
this.composer = this.composer.bind(this);
this.compute = this.compute.bind(this);
this.container = this.container.bind(this);
this.content = this.content.bind(this);
this.customsearch = this.customsearch.bind(this);
this.dataflow = this.dataflow.bind(this);
this.dataproc = this.dataproc.bind(this);
this.datastore = this.datastore.bind(this);
this.deploymentmanager = this.deploymentmanager.bind(this);
this.dfareporting = this.dfareporting.bind(this);
this.dialogflow = this.dialogflow.bind(this);
this.digitalassetlinks = this.digitalassetlinks.bind(this);
this.discovery = this.discovery.bind(this);
this.dlp = this.dlp.bind(this);
this.dns = this.dns.bind(this);
this.doubleclickbidmanager = this.doubleclickbidmanager.bind(this);
this.doubleclicksearch = this.doubleclicksearch.bind(this);
this.drive = this.drive.bind(this);
this.file = this.file.bind(this);
this.firebasedynamiclinks = this.firebasedynamiclinks.bind(this);
this.firebasehosting = this.firebasehosting.bind(this);
this.firebaserules = this.firebaserules.bind(this);
this.firestore = this.firestore.bind(this);
this.fitness = this.fitness.bind(this);
this.fusiontables = this.fusiontables.bind(this);
this.games = this.games.bind(this);
this.gamesConfiguration = this.gamesConfiguration.bind(this);
this.gamesManagement = this.gamesManagement.bind(this);
this.genomics = this.genomics.bind(this);
this.gmail = this.gmail.bind(this);
this.groupsmigration = this.groupsmigration.bind(this);
this.groupssettings = this.groupssettings.bind(this);
this.iam = this.iam.bind(this);
this.iamcredentials = this.iamcredentials.bind(this);
this.iap = this.iap.bind(this);
this.identitytoolkit = this.identitytoolkit.bind(this);
this.indexing = this.indexing.bind(this);
this.jobs = this.jobs.bind(this);
this.kgsearch = this.kgsearch.bind(this);
this.language = this.language.bind(this);
this.licensing = this.licensing.bind(this);
this.logging = this.logging.bind(this);
this.manufacturers = this.manufacturers.bind(this);
this.mirror = this.mirror.bind(this);
this.ml = this.ml.bind(this);
this.monitoring = this.monitoring.bind(this);
this.oauth2 = this.oauth2.bind(this);
this.oslogin = this.oslogin.bind(this);
this.pagespeedonline = this.pagespeedonline.bind(this);
this.partners = this.partners.bind(this);
this.people = this.people.bind(this);
this.playcustomapp = this.playcustomapp.bind(this);
this.plus = this.plus.bind(this);
this.plusDomains = this.plusDomains.bind(this);
this.poly = this.poly.bind(this);
this.proximitybeacon = this.proximitybeacon.bind(this);
this.pubsub = this.pubsub.bind(this);
this.redis = this.redis.bind(this);
this.replicapool = this.replicapool.bind(this);
this.replicapoolupdater = this.replicapoolupdater.bind(this);
this.reseller = this.reseller.bind(this);
this.runtimeconfig = this.runtimeconfig.bind(this);
this.safebrowsing = this.safebrowsing.bind(this);
this.script = this.script.bind(this);
this.searchconsole = this.searchconsole.bind(this);
this.servicebroker = this.servicebroker.bind(this);
this.serviceconsumermanagement = this.serviceconsumermanagement.bind(this);
this.servicecontrol = this.servicecontrol.bind(this);
this.servicemanagement = this.servicemanagement.bind(this);
this.servicenetworking = this.servicenetworking.bind(this);
this.serviceusage = this.serviceusage.bind(this);
this.sheets = this.sheets.bind(this);
this.siteVerification = this.siteVerification.bind(this);
this.slides = this.slides.bind(this);
this.sourcerepo = this.sourcerepo.bind(this);
this.spanner = this.spanner.bind(this);
this.speech = this.speech.bind(this);
this.sqladmin = this.sqladmin.bind(this);
this.storage = this.storage.bind(this);
this.storagetransfer = this.storagetransfer.bind(this);
this.streetviewpublish = this.streetviewpublish.bind(this);
this.surveys = this.surveys.bind(this);
this.tagmanager = this.tagmanager.bind(this);
this.tasks = this.tasks.bind(this);
this.testing = this.testing.bind(this);
this.texttospeech = this.texttospeech.bind(this);
this.toolresults = this.toolresults.bind(this);
this.tpu = this.tpu.bind(this);
this.translate = this.translate.bind(this);
this.urlshortener = this.urlshortener.bind(this);
this.vault = this.vault.bind(this);
this.videointelligence = this.videointelligence.bind(this);
this.vision = this.vision.bind(this);
this.webfonts = this.webfonts.bind(this);
this.webmasters = this.webmasters.bind(this);
this.websecurityscanner = this.websecurityscanner.bind(this);
this.youtube = this.youtube.bind(this);
this.youtubeAnalytics = this.youtubeAnalytics.bind(this);
this.youtubereporting = this.youtubereporting.bind(this);
}
}
2 changes: 1 addition & 1 deletion src/generator/generator.ts
Expand Up @@ -185,7 +185,7 @@ export class Generator {
*/
private log(...args: string[]) {
if (this.options && this.options.debug) {
console.log.apply(this, arguments);
console.log(...args);
}
}

Expand Down
7 changes: 0 additions & 7 deletions src/generator/templates/index.njk
Expand Up @@ -13,8 +13,6 @@

/*! THIS FILE IS AUTO-GENERATED */

import { ServiceOptions, getAPI } from 'googleapis-common';

{% for apiName, api in apis %}
import * as {{ apiName }} from './{{ apiName }}';
{% endfor %}
Expand All @@ -34,9 +32,4 @@ export class GeneratedAPIs {
{% for apiName, api in apis %}
{{ apiName }} = {{ apiName }}.{{ apiName }};
{% endfor %}
constructor() {
{% for apiName, api in apis %}
this.{{ apiName }} = this.{{ apiName }}.bind(this);
{% endfor %}
}
}