diff --git a/.dprint.jsonc b/.dprint.jsonc index 3daae9b01fc644..cc90a8f5ebe1f5 100644 --- a/.dprint.jsonc +++ b/.dprint.jsonc @@ -28,7 +28,6 @@ "./types/react-native", "./types/recurly__recurly-js", "./types/sawtooth-sdk", - "./types/three", "./types/webextension-polyfill", "./types/winrt-uwp", "./types/vscode", diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 2dc4bbd2ab2803..399e53eeb4b72b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -289,6 +289,7 @@ /types/apptimize__apptimize-web-sdk/ @innovation-team @rlbaxter /types/arangodb/ @pluma /types/arbiter/ @arash16 +/types/arc4/ @hofmmaxi /types/arcgis-rest-api/ @JeffJacobson /types/arcgis-to-geojson-utils/ @JeffJacobson /types/architect/ @greuze @@ -320,6 +321,7 @@ /types/array-sort/ @DanielMSchmidt /types/array-unique/ @CSLTech /types/array.from/ @ExE-Boss +/types/array.prototype.every/ @ljharb /types/array.prototype.flat/ @kylejlin @ljharb /types/array.prototype.flatmap/ @hallettj @ljharb /types/arrayify-stream/ @joachimvh @@ -405,7 +407,7 @@ /types/aws-greengrass-core-sdk/ @ozxcorp @lummish /types/aws-iot-device-sdk/ @niik @mlamp /types/aws-kcl/ @vshlos @foqal -/types/aws-lambda/ @darbio @skarum @StefH @buggy @y13i @wwwy3y3 @OrthoDex @MichaelMarner @daniel-cottone @kostya-misura @coderbyheart @palmithor @daniloraisi @simonbuchan @Haydabase @repl-chris @aneilbaboo @jeznag @louislarry @dpapukchiev @ohookins @trevor-leach @jagregory @dalen @loikg @skyzenr @redlickigrzegorz @juancarbonel @pwmcintyre @alex-bolenok-centralreach @marianzange @apepper @apalumbo @SachinShekhar @ivanmartos @zach-anthony @savnik @bboure @jamesorlakin @aphex @joeykilpatrick @lmanerich +/types/aws-lambda/ @darbio @skarum @StefH @buggy @wwwy3y3 @OrthoDex @MichaelMarner @daniel-cottone @kostya-misura @coderbyheart @palmithor @daniloraisi @simonbuchan @Haydabase @repl-chris @aneilbaboo @jeznag @louislarry @dpapukchiev @ohookins @trevor-leach @jagregory @dalen @loikg @skyzenr @redlickigrzegorz @juancarbonel @pwmcintyre @alex-bolenok-centralreach @marianzange @apepper @apalumbo @SachinShekhar @ivanmartos @zach-anthony @savnik @bboure @jamesorlakin @aphex @joeykilpatrick @lmanerich /types/aws-lambda-fastify/ @kentakang /types/aws-lambda-http-server/ @ElayGelbart /types/aws-param-store/ @jasonthomasgray @nathanoertel @@ -478,11 +480,6 @@ /types/barco-eventmaster/ @k-yle /types/barcode/ @pvomhoff /types/baretest/ @roryokane -/types/barnard59/ @tpluscode @BenjaminHofstetter -/types/barnard59-base/ @tpluscode @BenjaminHofstetter -/types/barnard59-core/ @tpluscode @BenjaminHofstetter -/types/barnard59-graph-store/ @tpluscode @BenjaminHofstetter -/types/barnard59-validate-shacl/ @tpluscode @cristianvasquez @BenjaminHofstetter /types/base-64/ @dolanmiu /types/base16/ @alechill @Methuselah96 /types/base32-encoding/ @BendingBender @@ -883,6 +880,7 @@ /types/chrome-apps/ @niikoo @AdamLay @mzsm @RReverser @pyle @matthewkimber @otiai10 @rreverser @sreimer15 /types/chrome-location/ @IngyuTae /types/chrome-remote-interface/ @kazarmy @westy92 +/types/chrome-webstore-upload/ @Granga /types/chromecast-api/ @SteffoSpieler @daniel0611 /types/chromecast-caf-receiver/ @Serabe @brandonrisell @marcoreni /types/chromecast-caf-sender/ @samuelmaddock @@ -1749,72 +1747,72 @@ /types/email-templates/ @cyrilschumacher @gurisko @blankstar85 @vesse @qqilihq @peterblazejewicz @ksewo /types/emailjs-mime-codec/ @nicu-chiciuc /types/emartech__cls-adapter/ @lexwebb -/types/ember/ @chriskrycho @jamescdavis @wagenet @gitKrystan -/types/ember/v2/ @bttf @dwickern @chriskrycho @theroncross @mfeckie @alexlafroscia @mike-north -/types/ember/v3/ @bttf @dwickern @chriskrycho @theroncross @mfeckie @alexlafroscia @mike-north @BryanCrotaz @jamescdavis @gitKrystan +/types/ember/ @jamescdavis @wagenet @gitKrystan +/types/ember/v2/ @gitKrystan @jamescdavis @wagenet +/types/ember/v3/ @gitKrystan @jamescdavis @wagenet /types/ember-changeset-validations/ @elenagolovko -/types/ember-cli-fastboot/ @hmajoros @dfreeman @chriskrycho @jamescdavis -/types/ember-data/ @dwickern @mike-north @chriskrycho @jamescdavis @runspired @wagenet @gitKrystan -/types/ember-data/v2/ @dwickern @mike-north @chriskrycho -/types/ember-data/v3/ @dwickern @mike-north @chriskrycho @jamescdavis @gitKrystan -/types/ember-data__adapter/ @chriskrycho @gitKrystan @jamescdavis @runspired @wagenet -/types/ember-data__adapter/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember-data__model/ @jamescdavis @chriskrycho @gitKrystan -/types/ember-data__model/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember-data__serializer/ @chriskrycho @gitKrystan @jamescdavis @runspired @wagenet -/types/ember-data__serializer/v3/ @chriskrycho @gitKrystan @jamescdavis @mike-north -/types/ember-data__store/ @chriskrycho @gitKrystan @jamescdavis @runspired @wagenet -/types/ember-data__store/v3/ @chriskrycho @gitKrystan @jamescdavis @mike-north -/types/ember-feature-flags/ @dfreeman @chriskrycho @jamescdavis -/types/ember-feature-flags/v3/ @tansongyang @mike-north @chriskrycho @jamescdavis @dfreeman -/types/ember-mocha/ @simonihmig @dfreeman @chriskrycho @jamescdavis -/types/ember-modal-dialog/ @dfreeman @chriskrycho @jamescdavis +/types/ember-cli-fastboot/ @hmajoros @gitKrystan @jamescdavis @wagenet +/types/ember-data/ @runspired @gitKrystan @jamescdavis @wagenet +/types/ember-data/v2/ @gitKrystan @jamescdavis @wagenet +/types/ember-data/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember-data__adapter/ @gitKrystan @jamescdavis @wagenet +/types/ember-data__adapter/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember-data__model/ @gitKrystan @jamescdavis @wagenet +/types/ember-data__model/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember-data__serializer/ @gitKrystan @jamescdavis @runspired @wagenet +/types/ember-data__serializer/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember-data__store/ @gitKrystan @jamescdavis @runspired @wagenet +/types/ember-data__store/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember-feature-flags/ @gitKrystan @jamescdavis @wagenet +/types/ember-feature-flags/v3/ @tansongyang @gitKrystan @jamescdavis @wagenet +/types/ember-mocha/ @simonihmig @gitKrystan @jamescdavis @wagenet +/types/ember-modal-dialog/ @gitKrystan @jamescdavis @wagenet /types/ember-modal-dialog/v2/ @tansongyang @mike-north /types/ember-modal-service/ @elenagolovko /types/ember-task-scheduler/ @elenagolovko -/types/ember-test-helpers/ @dwickern @mike-north @chriskrycho @jamescdavis @gitKrystan +/types/ember-test-helpers/ @gitKrystan @jamescdavis @wagenet /types/ember-test-helpers/v0/ @dwickern @mike-north -/types/ember-testing-helpers/ @chriskrycho @jamescdavis @dfreeman @mike-north +/types/ember-testing-helpers/ @gitKrystan @jamescdavis @wagenet /types/ember-useragent/ @camerondubas -/types/ember__application/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__application/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__array/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__array/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__component/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__component/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__controller/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__controller/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__debug/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__debug/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__destroyable/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__destroyable/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__engine/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__engine/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__error/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__error/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__helper/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__modifier/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__object/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__object/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__ordered-set/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__ordered-set/v3/ @chriskrycho @mike-north @gitKrystan @jamescdavis -/types/ember__owner/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__polyfills/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__polyfills/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__routing/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__routing/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__runloop/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__runloop/v3/ @mike-north @scalvert @chriskrycho @gitKrystan @jamescdavis -/types/ember__service/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__service/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__string/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__string/v2/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__template/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__template/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__test/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__test/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis -/types/ember__utils/ @chriskrycho @gitKrystan @jamescdavis @wagenet -/types/ember__utils/v3/ @mike-north @chriskrycho @gitKrystan @jamescdavis +/types/ember__application/ @gitKrystan @jamescdavis @wagenet +/types/ember__application/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__array/ @gitKrystan @jamescdavis @wagenet +/types/ember__array/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__component/ @gitKrystan @jamescdavis @wagenet +/types/ember__component/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__controller/ @gitKrystan @jamescdavis @wagenet +/types/ember__controller/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__debug/ @gitKrystan @jamescdavis @wagenet +/types/ember__debug/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__destroyable/ @gitKrystan @jamescdavis @wagenet +/types/ember__destroyable/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__engine/ @gitKrystan @jamescdavis @wagenet +/types/ember__engine/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__error/ @gitKrystan @jamescdavis @wagenet +/types/ember__error/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__helper/ @gitKrystan @jamescdavis @wagenet +/types/ember__modifier/ @gitKrystan @jamescdavis @wagenet +/types/ember__object/ @gitKrystan @jamescdavis @wagenet +/types/ember__object/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__ordered-set/ @gitKrystan @jamescdavis @wagenet +/types/ember__ordered-set/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__owner/ @gitKrystan @jamescdavis @wagenet +/types/ember__polyfills/ @gitKrystan @jamescdavis @wagenet +/types/ember__polyfills/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__routing/ @gitKrystan @jamescdavis @wagenet +/types/ember__routing/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__runloop/ @gitKrystan @jamescdavis @wagenet +/types/ember__runloop/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__service/ @gitKrystan @jamescdavis @wagenet +/types/ember__service/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__string/ @gitKrystan @jamescdavis @wagenet +/types/ember__string/v2/ @gitKrystan @jamescdavis @wagenet +/types/ember__template/ @gitKrystan @jamescdavis @wagenet +/types/ember__template/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__test/ @gitKrystan @jamescdavis @wagenet +/types/ember__test/v3/ @gitKrystan @jamescdavis @wagenet +/types/ember__utils/ @gitKrystan @jamescdavis @wagenet +/types/ember__utils/v3/ @gitKrystan @jamescdavis @wagenet /types/emilbayes__capped-array/ @BendingBender /types/emissary/ @vvakame /types/emmetio__implicit-tag/ @rfverbruggen @@ -2800,6 +2798,7 @@ /types/get-installed-path/ @JamieMagee /types/get-intrinsic/ @ljharb @ExE-Boss /types/get-node-dimensions/ @vincekovacs +/types/get-package-type/ @coreyfarrell @ljharb /types/get-params/ @Methuselah96 /types/get-pixels/ @donmccurdy /types/get-res/ @satyarohith @@ -2915,7 +2914,7 @@ /types/google.feeds/ @RodneyJT /types/google.fonts/ @danmarshall /types/google.geolocation/ @vbortone -/types/google.maps/ @amuramoto @wangela +/types/google.maps/ @kwnevarez @wangela /types/google.picker/ @grapswiz @chivesrs /types/google.script.client-side/ @clomie /types/google.visualization/ @danludwig @gmoore-sjcorg @danmana @mlcheng @IvanBisultanov @glebm @shrujalshah28 @dckorben @martin-badin @@ -3258,7 +3257,7 @@ /types/html5-to-pdf/ @samalexander /types/html5plus/ @dcloudio /types/html_codesniffer/ @peterblazejewicz -/types/htmlbars-inline-precompile/ @dfreeman @jamescdavis @chriskrycho +/types/htmlbars-inline-precompile/ @gitKrystan @jamescdavis @wagenet /types/htmlhint/ @alan-agius4 @martin-badin /types/htmlparser2/ @staticfunction @LinusU @johandavidson @paambaati /types/htmltojsx/ @basarat @@ -3309,6 +3308,7 @@ /types/hystrixjs/ @igorsechyn /types/i18n/ @SomaticIT @FindQ @martin-badin /types/i18n-abide/ @smbell +/types/i18n-iso-countries-regions/ @haykelmahfoudhi /types/i18n-js/ @ypresto /types/i18next-fs-backend/ @quantumlyy @favna /types/i18next-ko/ @dwaxweiler @@ -3681,7 +3681,7 @@ /types/jquery-maskmoney/ @AndersonFriaca /types/jquery-match-height/ @kbytesys /types/jquery-migrate/ @peterblazejewicz -/types/jquery-mockjax/ @laszlojakab @vladeck @hasaki +/types/jquery-mockjax/ @laszlojakab @hasaki /types/jquery-monthpicker/ @doberkofler /types/jquery-mouse-exit/ @AndersonFriaca /types/jquery-mousewheel/ @xt0rted @@ -3814,7 +3814,6 @@ /types/jsdom/ @leonard-thieu @palmfjord @ExE-Boss /types/jsdom-global/ @maxbogus /types/jsdom-screenshot/ @Tismas -/types/jsen/ @vladeck /types/jsend/ @CaselIT /types/jsesc/ @Bartvds @Lyanbin @vpzomtrrfrt @BendingBender /types/jsfl/ @soywiz @@ -4233,6 +4232,7 @@ /types/leaflet.wms/ @antoniovlx /types/leakage/ @atd-schubert /types/leapmotionts/ @logotype +/types/leb128/ @remcohaszing /types/ledgerhq__hw-app-btc/ @gregdhill /types/ledgerhq__hw-transport/ @danwbyrne /types/ledgerhq__hw-transport-node-hid/ @danwbyrne @@ -4739,6 +4739,7 @@ /types/mapbox__tile-cover/ @jeffbdye /types/mapbox__tilebelt/ @DenisCarriere /types/mapbox__vector-tile/ @webberig @HarelM +/types/mapboxgl-spiderifier/ @bewithjonam @lancegliser /types/mapnik/ @ipv4sec @edgarjeremy /types/mapsjs/ @davismj /types/maptalks/ @yanyu510 @aheadweb @@ -5096,7 +5097,7 @@ /types/mvdan-sh/ @JounQin @Rossil2012 /types/myanmar-phonenumber/ @HtetOoWaiYan /types/mysql/ @wjohnsto @kpping @jdmunro @sedenardi -/types/mysql-import/ @bengry +/types/mysql-import/ @bengry @doubutsunokarada /types/mysql-query-util/ @uchennaemeruche /types/mz/ @ThomasHickman @ExE-Boss /types/n3/ @phreed @rubensworks @LaurensRietveld @joachimvh @AlexeyMz @jeswr @@ -5108,6 +5109,7 @@ /types/nano-equal/ @1cheese /types/nanoajax/ @nathancahill /types/nanoassert/ @yoursunny @BendingBender +/types/nanobench/ @EvanHahn /types/nanographql/ @cdaringe /types/nanoid-dictionary/ @kenelm007 @kripod /types/nanomsg/ @toebeann @titan @@ -5445,6 +5447,7 @@ /types/object-merge/ @OpenByteDev /types/object-path/ @pocesar @BendingBender /types/object-refs/ @3fd +/types/object.entries/ @ljharb /types/object.fromentries/ @ariofrio /types/object.getownpropertydescriptors/ @VitorLuizC @ljharb @ExE-Boss /types/object.groupby/ @chilldriven @ljharb @@ -6088,7 +6091,7 @@ /types/quicksettings/ @janizde /types/quill/ @sumitkm @guillaume-ro-fr @43081j @AnielloFalcone @mhamri @TheLand @AmeerHamoodi /types/quixote/ @greybax -/types/qunit/ @waratuman @mike-north @sechel @chriskrycho @gitKrystan @jamescdavis @Krinkle +/types/qunit/ @waratuman @sechel @gitKrystan @jamescdavis @wagenet @Krinkle /types/qunit/v1/ @diullei /types/quoted-printable/ @pushplay /types/quotesy/ @natesilva @@ -6143,7 +6146,7 @@ /types/raven/ @scttcper @1999 @shreyjain1994 /types/raven-for-redux/ @chiubaka /types/rax/ @solojiang @chenjun1011 @imsobear -/types/raygun4js/ @krishnakapadia @BenjaminHarding @xt0rted +/types/raygun4js/ @Hamish-taylor /types/rbac-a/ @tlaziuk /types/rbush/ @danvk @cmslewis /types/rc/ @DanielRosenwasser @BendingBender @kusyka911 @pulsovi @@ -6167,6 +6170,7 @@ /types/rdfjs__express-handler/ @tpluscode /types/rdfjs__fetch/ @tpluscode /types/rdfjs__fetch-lite/ @tpluscode @jeswr +/types/rdfjs__formats/ @tpluscode /types/rdfjs__formats-common/ @tpluscode /types/rdfjs__namespace/ @thewilkybarkid @jeswr @tpluscode /types/rdfjs__parser-jsonld/ @thewilkybarkid @tpluscode @@ -6177,6 +6181,7 @@ /types/rdfjs__serializer-jsonld-ext/ @thewilkybarkid /types/rdfjs__serializer-ntriples/ @tpluscode /types/rdfjs__serializer-rdfjs/ @tpluscode @BenjaminHofstetter +/types/rdfjs__serializer-turtle/ @tpluscode /types/rdfjs__sink-map/ @tpluscode @jeswr /types/rdfjs__term-map/ @tpluscode @jeswr /types/rdfjs__term-set/ @tpluscode @jeswr @@ -6464,7 +6469,7 @@ /types/react-native-base64/ @seongjoojin @markyao6275 /types/react-native-bluetooth-serial/ @RodrigoAWeber /types/react-native-button/ @mkchung -/types/react-native-calendar-picker/ @automatensalat +/types/react-native-calendar-picker/ @automatensalat @tranjog /types/react-native-calendars/ @Tyler-Zhang @DavidNorena @FabianMeul /types/react-native-canvas/ @hmajid2301 /types/react-native-channel-plugin/ @hahnlee @@ -6676,6 +6681,7 @@ /types/react-signature-canvas/ @ksocha /types/react-simple-maps/ @thepocp @pronebird @komenank /types/react-simple-oauth2-login/ @kostassite +/types/react-simple-tooltip/ @classdome /types/react-size-reporter/ @MattiasMartens /types/react-sizes/ @janKir @micahstubbs /types/react-slick/ @GiedriusGrabauskas @r3nya @Shannor @@ -6738,6 +6744,7 @@ /types/react-tracking/ @alloy @damassi @chenasraf /types/react-transition-group/ @LKay @Epskampie @ybiquitous @bengry /types/react-transition-group/v1/ @LKay +/types/react-tree-graph/ @PCOffline /types/react-treeview/ @janslow /types/react-truncate/ @mattvperry /types/react-twemoji/ @smallpence @@ -7063,7 +7070,7 @@ /types/rsocket-websocket-client/ @adrianhopebailie @olegdokuka @brycematheson1234 /types/rsocket-websocket-server/ @adrianhopebailie @olegdokuka /types/rss/ @secondwtq -/types/rsvp/ @chriskrycho @mike-north +/types/rsvp/ @gitKrystan @jamescdavis @wagenet /types/rsync/ @philippstucki /types/rtl-detect/ @imprevo /types/rtlcss/ @peterblazejewicz @@ -7291,7 +7298,7 @@ /types/server/ @sant123 @iddan @DazSanchez /types/server-destroy/ @gyszalai @xapdkop /types/server-timing-header/ @peterblazejewicz -/types/serverless/ @hassankhan @JonathanWilbur @a-pavlenko @fredericbarthelet @bryan-hunter @thomasaribart @G-Rath @AbdullahAli @fargito @bacarybruno +/types/serverless/ @hassankhan @JonathanWilbur @a-pavlenko @fredericbarthelet @bryan-hunter @thomasaribart @G-Rath @AbdullahAli @fargito @bacarybruno @domazet93 /types/serverless-jest-plugin/ @Gaelan /types/serverless-step-functions/ @zirkelc @ebisbe /types/serverless-tencent-scf/ @yaozulv @@ -7691,6 +7698,7 @@ /types/string-similarity/v1/ @ragtime /types/string-template/ @TonyPythoneer /types/string.prototype.matchall/ @peterblazejewicz +/types/string.prototype.trim/ @ljharb /types/string_score/ @marcinporebski /types/stringify-author/ @manuth /types/stringify-object/ @peterblazejewicz @@ -7942,6 +7950,7 @@ /types/through2/v0/ @Bartvds /types/through2-concurrent/ @Alorel /types/through2-map/ @LucasHill +/types/throw-empty/ @ChocolateLoverRaj /types/thumbsupply/ @MagiCzOOz /types/thunderbird-webext-browser/ @JimDanner /types/thunky/ @BendingBender @@ -8414,7 +8423,7 @@ /types/wake_on_lan/ @SrTobi /types/walk/ @poppa /types/walk-asyncgen/ @PythonCoderAS -/types/wallabyjs/ @andrewconnell +/types/wallabyjs/ @andrewconnell @boneskull /types/wallop/ @leemcd56 /types/wampy/ @KSDaemon /types/wanakana/ @chooban @peterblazejewicz @@ -8620,6 +8629,7 @@ /types/wordpress__wordcount/ @dsifford /types/words-to-time-converter/ @peterblazejewicz /types/wordwrap/ @ark120202 +/types/wordwrapjs/ @stoyan-karev /types/workbox-sw/ @wessberg @JasonHK /types/workbox-sw/v3/ @wessberg /types/worker-plugin/ @arturovt @peterblazejewicz diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 171ffb585d541c..0a18ef16ca7e82 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,13 +1,65 @@ name: CI -on: pull_request + +on: + push: + branches: + - master + pull_request: + branches: + - master + schedule: + # 12PM UTC -> 4AM Pacific + - cron: '0 12 * * *' + workflow_dispatch: permissions: contents: read +concurrency: + # If in a PR, use the ref (refs/pull/) so outdated PR runs are cancelled. + # Otherwise, run_id is unique so all other events will never be cancelled. + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }} + cancel-in-progress: true + jobs: + setup-matrix: + runs-on: ubuntu-latest + if: github.repository == 'DefinitelyTyped/DefinitelyTyped' + + outputs: + matrix: ${{ steps.matrix.outputs.matrix }} + + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + with: + # Need this to be able to inquire about origin/master + filter: blob:none # https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/ + fetch-depth: 0 # Default is 1; need to set to 0 to get the benefits of blob:none. + - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + with: + node-version: '20' + + - uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 + + - id: matrix + run: | + if [ "${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}" == "true" ]; then + TESTS=all + else + TESTS=$(pnpm ls --depth -1 --parseable --filter '...@types/**[HEAD^1]' | wc -) + fi + MATRIX=$(node ./scripts/get-ci-matrix $TESTS) + echo $MATRIX + echo "matrix=$MATRIX" >> "$GITHUB_OUTPUT" + test: runs-on: ubuntu-latest if: github.repository == 'DefinitelyTyped/DefinitelyTyped' + needs: setup-matrix + + strategy: + matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }} + fail-fast: false steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -35,19 +87,68 @@ jobs: echo "store=$(pnpm store path)" >> $GITHUB_OUTPUT - name: Restore pnpm cache - uses: actions/cache/restore@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: ${{ steps.pnpm-cache.outputs.store }} key: ${{ runner.os }}-pnpm-store-cache- restore-keys: ${{ runner.os }}-pnpm-store-cache- - run: ./scripts/pnpm-install.sh + name: pnpm install (filtered) + if: ${{ !(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }} + + - run: pnpm install name: pnpm install + if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} - run: pnpm ls - # Run tests - - run: pnpm run test-all + - run: pnpm run test-all --diffBase HEAD^1 --shardCount ${{ matrix.shardCount }} --shardId ${{ matrix.shardId }} + if: ${{ !(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }} + + - run: pnpm dtslint-runner --path . --selection all --onlyTestTsNext --shardCount ${{ matrix.shardCount }} --shardId ${{ matrix.shardId }} + if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} + + - name: Get suggestions dir + id: suggestions-dir + run: echo "path=$(node ./scripts/get-suggestions-dir.js)" >> "$GITHUB_OUTPUT" + if: ${{ github.event_name == 'pull_request' }} + + - name: Upload suggestions + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0 + with: + name: suggestions_${{ matrix.shardId }}_${{ matrix.shardCount }} + if-no-files-found: ignore + path: ${{ steps.suggestions-dir.outputs.path }} + retention-days: 1 + if: ${{ github.event_name == 'pull_request' }} + + dangerbot: + runs-on: ubuntu-latest + if: github.repository == 'DefinitelyTyped/DefinitelyTyped' && github.event_name == 'pull_request' + + needs: + - test + + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + with: + node-version: '20' + + - uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # v2.4.0 + with: + run_install: | + - args: [--filter, ., --filter, '{./scripts}...'] + + - name: Get suggestions dir + id: suggestions-dir + run: echo "path=$(node ./scripts/get-suggestions-dir.js)" >> "$GITHUB_OUTPUT" + + - uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1 + with: + path: ${{ steps.suggestions-dir.outputs.path }} + merge-multiple: true - name: 'Run Danger' env: diff --git a/.github/workflows/format-and-commit.yml b/.github/workflows/format-and-commit.yml index ee7ab72a4a47e9..22a8a0308d0d8e 100644 --- a/.github/workflows/format-and-commit.yml +++ b/.github/workflows/format-and-commit.yml @@ -31,7 +31,7 @@ jobs: id: date run: echo "date=$(/bin/date -u "+%Y-%m-%d")" >> $GITHUB_OUTPUT - - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: # dprint caches info about the files in the repo to skip formatting them. # However, since package.json and .dprint.jsonc don't change very often, diff --git a/.github/workflows/ghostbuster.yml b/.github/workflows/ghostbuster.yml index 92c04764a29153..2b5905e530cc39 100644 --- a/.github/workflows/ghostbuster.yml +++ b/.github/workflows/ghostbuster.yml @@ -34,7 +34,7 @@ jobs: run_install: | - args: [--filter, ., --filter, '{./scripts}...'] - - run: node ./scripts/ghostbuster.js + - run: node ./scripts/ghostbuster.js > ${{ runner.temp }}/comment.md env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN_API_READ }} @@ -51,7 +51,7 @@ jobs: fi - if: ${{ inputs.skipPR != 'true' }} - uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2 + uses: peter-evans/create-pull-request@b1ddad2c994a25fbc81a28b3ec0e368bb2021c50 # v6.0.0 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: 'Remove contributors with deleted accounts #no-publishing-comment' @@ -61,7 +61,4 @@ jobs: branch-suffix: short-commit-hash delete-branch: true title: Remove contributors with deleted accounts - body: | - Generated from [.github/workflows/ghostbuster.yml](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/.github/workflows/ghostbuster.yml) - - Some of these users may have simply changed their usernames; you may want do a bit of searching and ping them to see if they still want to be owners. + body-path: ${{ runner.temp }}/comment.md diff --git a/.github/workflows/pnpm-cache.yml b/.github/workflows/pnpm-cache.yml index d5d8f9b19a3812..98aead6176bb6a 100644 --- a/.github/workflows/pnpm-cache.yml +++ b/.github/workflows/pnpm-cache.yml @@ -26,7 +26,7 @@ jobs: run: pnpm install - name: Save pnpm cache - uses: actions/cache/save@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + uses: actions/cache/save@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 with: path: ${{ steps.pnpm-cache.outputs.store }} key: ${{ runner.os }}-pnpm-store-cache-${{ steps.pnpm-cache.outputs.date }} diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 00000000000000..49788caacfe66b --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +pnpm lint-staged --config .lintstagedrc.json --allow-empty diff --git a/.lintstagedrc.json b/.lintstagedrc.json new file mode 100644 index 00000000000000..02f6d081d02b22 --- /dev/null +++ b/.lintstagedrc.json @@ -0,0 +1 @@ +{ "*": "pnpm dprint fmt --allow-no-files" } diff --git a/README.md b/README.md index 5f0eb0676c8e56..4a9250b1ffebbf 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,10 @@ At the very least, you may want to `git clean -fdx` the repo (or `node ./scripts This section tracks the health of the repository and publishing process. It may be helpful for contributors experiencing any issues with their PRs and packages. -* Most recent build [type-checked/linted](https://github.com/microsoft/DefinitelyTyped-tools/tree/master/packages/dtslint) cleanly: [![Build Status](https://dev.azure.com/definitelytyped/DefinitelyTyped/_apis/build/status/DefinitelyTyped.DefinitelyTyped?branchName=master)](https://dev.azure.com/definitelytyped/DefinitelyTyped/_build/latest?definitionId=1&branchName=master) -* All packages are type-checking/linting cleanly on typescript@next: [![Build status](https://dev.azure.com/definitelytyped/DefinitelyTyped/_apis/build/status/Nightly%20dtslint)](https://dev.azure.com/definitelytyped/DefinitelyTyped/_build/latest?definitionId=8) +* Most recent build [type-checked/linted](https://github.com/microsoft/DefinitelyTyped-tools/tree/master/packages/dtslint) cleanly: [![Build status](https://github.com/DefinitelyTyped/DefinitelyTyped/actions/workflows/CI.yml/badge.svg?branch=master&event=push) +](https://github.com/DefinitelyTyped/DefinitelyTyped/actions/workflows/CI.yml?query=branch%3Amaster+event%3Apush) +* All packages are type-checking/linting cleanly on typescript@next: [![Build status](https://github.com/DefinitelyTyped/DefinitelyTyped/actions/workflows/CI.yml/badge.svg?branch=master&event=schedule) +](https://github.com/DefinitelyTyped/DefinitelyTyped/actions/workflows/CI.yml?query=branch%3Amaster+event%3Aschedule) * All packages are being [published to npm](https://github.com/microsoft/DefinitelyTyped-tools/tree/master/packages/publisher) in under an hour and a half: [![Publish Status](https://dev.azure.com/definitelytyped/DefinitelyTyped/_apis/build/status/DefinitelyTyped.types-publisher-watchdog?branchName=master)](https://dev.azure.com/definitelytyped/DefinitelyTyped/_build/latest?definitionId=5&branchName=master) * [typescript-bot](https://github.com/typescript-bot) has been active on Definitely Typed [![Activity Status](https://dev.azure.com/definitelytyped/DefinitelyTyped/_apis/build/status/DefinitelyTyped.typescript-bot-watchdog?branchName=master)](https://dev.azure.com/definitelytyped/DefinitelyTyped/_build/latest?definitionId=6&branchName=master) * Current [infrastructure status updates](https://github.com/DefinitelyTyped/DefinitelyTyped/issues/44317) @@ -149,14 +151,13 @@ We use a bot to let a large number of pull requests to DefinitelyTyped be handle You can clone the entire repository [as per usual](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository), but it's large and includes a massive directory of type packages. This will take some time to clone and may be unnecessarily unwieldy. -For a more manageable clone that includes _only_ the type packages relevant to you, you can use git's [`sparse-checkout`](https://git-scm.com/docs/git-sparse-checkout), [`--filter`](https://git-scm.com/docs/git-rev-list#Documentation/git-rev-list.txt---filterltfilter-specgt) and [`--depth`](https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---depthltdepthgt) features. This will reduce clone time and improve git performance. +For a more manageable clone that includes _only_ the type packages relevant to you, you can use git's [`sparse-checkout`](https://git-scm.com/docs/git-sparse-checkout) and [`--filter`](https://git-scm.com/docs/git-rev-list#Documentation/git-rev-list.txt---filterltfilter-specgt) features. This will reduce clone time and improve git performance. >:warning: This requires minimum [git version 2.27.0](https://git-scm.com/downloads), which is likely newer than the default on most machines. More complicated procedures are available in older versions, but not covered by this guide. -1. `git clone --sparse --filter=blob:none --depth=1 ` +1. `git clone --sparse --filter=blob:none ` - `--sparse` initializes the sparse-checkout file so the working directory starts with only the files in the root of the repository. - - `--filter=blob:none` will exclude files, fetching them only as needed. - - `--depth=1` will further improve clone speed by truncating commit history, but it may cause issues as summarized [here](https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/). + - `--filter=blob:none` will including all commit history but exclude files, fetching them only as needed. 2. `git sparse-checkout add types/ types/ ...` @@ -219,14 +220,99 @@ This script uses [dtslint](https://github.com/microsoft/DefinitelyTyped-tools/tr Once you have all your changes ready, use `pnpm run test-all` to see how your changes affect other modules. +##### @arethetypeswrong/cli (`attw`) checks + +dtslint includes module format and `package.json` configuration checks from [@arethetypeswrong/cli](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/packages/cli). The checks run only if a SemVer-major-compatible implementation package can be found on npm to compare against the DefinitelyTyped package. (DefinitelyTyped packages marked as `"nonNpm": true` in their `package.json` are skipped.) + +Many packages currently fail the `attw` checks and need to be fixed. To allow us to make incremental progress, failed `attw` checks do not fail the `dtslint` run when the package is listed in `failingPackages` in [`attw.json`](./attw.json), but they will still be reported in the `pnpm test my-package` output. If you fix the package, remove it from `failingPackages` so that `attw` checks can start failing `dtslint` runs. + +All problems reported by `attw` have documentation linked in the output. Some rules of thumb to help avoid problems: + +- The `package.json` in the DefinitelyTyped package must have matching `type` and `exports` fields if the implementation package uses them in its `package.json`. For example, if an implementation `package.json` looks like: + + ```json + { + "name": "my-package", + "version": "1.0.1", + "type": "module", + "main": "dist/cjs/index.cjs", + "exports": { + ".": { + "import": "./dist/esm/index.js", + "require": "./dist/cjs/index.cjs" + }, + "./subpath": { + "import": "./dist/esm/subpath.js", + "require": "./dist/cjs/subpath.cjs" + } + } + } + ``` + + then the DefinitelyTyped `package.json` should look something like: + + ```json5 + { + "name": "@types/my-package", + "version": "1.0.9999", + "type": "module", + "types": "index.d.ts", + "exports": { + ".": { + "import": "./index.d.ts", + "require": "./index.d.cts" + }, + "./subpath": { + "import": "./subpath.d.ts", + "require": "./subpath.d.cts" + } + } + } + ``` + + Notice that each `exports` subpath is reflected, and each JavaScript file has a corresponding declaration file with a matching file extension—a `.d.ts` file types a `.js` file, not a `.mjs` or `.cjs` file! + +- When the implementation package uses `module.exports = ...`, the DefinitelyTyped package should use `export =`, not `export default`. (Alternatively, if the `module.exports` is just an object of named properties, the DefinitelyTyped package can use a series of named exports.) The most common obstacle to correcting this problem is confusion about how to export types in addition to the primary export. For example, assume these types are incorrectly using `export default`: + + ```ts + export interface Options { + // ... + } + export default function doSomething(options: Options): void; + ``` + + Changing the `export default` to an `export =` creates an error: + + ```ts + export interface Options { + // ... + } + declare function doSomething(options: Options): void; + export = doSomething; + // ^^^^^^^^^^^^^^^^^ + // Error: An export assignment cannot be used in a module with other exported elements. + ``` + + To fix this, move the types inside a namespace with the same name as the function: + + ```ts + declare namespace doSomething { + export interface Options { + // ... + } + } + declare function doSomething(options: doSomething.Options): void; + export = doSomething; + ``` + +If you need help fixing a problem, please ask in the DefinitelyTyped channel on the [TypeScript Community Discord server](https://discord.gg/typescript). + #### Naming If you are adding typings for an npm package, create a directory with the same name. -If the package you are adding typings for is not on npm, make sure the name you choose for it does not conflict with the name of a package on npm. +If the package you are adding typings for is not on npm, set `"nonNpm": true` in the `package.json`, and make sure the name you choose for it does not conflict with the name of a package on npm. (You can use `npm info ` to check for the existence of the `` package.) -If a non-npm package conflicts with an existing npm package try adding -browser to the end of the name to get `-browser`. - #### `-tests.ts` There should be a `-tests.ts` file, which is considered your test file, along with any `*.ts` files it imports. @@ -488,6 +574,8 @@ Then they are wrong and we've not noticed yet. You can help by submitting a pull Yes, using [dprint](https://dprint.dev). We recommend using a [dprint extension for your editor](https://dprint.dev/install/#editor-extensions). +Alternatively, you can enable a git hook which will format your code automatically. Run `pnpm run setup-hooks`. Then, when you commit, `dprint fmt` command will be executed on changed files. If you take advantage of [partial clone](#partial-clone), make sure to call `git sparse-checkout add .husky` to check out the git hooks before running the `setup-hooks` script. + Pull requests do not require correct formatting to be merged. Any unformatted code will be automatically reformatted after being merged. @@ -648,6 +736,13 @@ Another package may select this version by specifying: Also, `/// ` will not work with path mapping, so dependencies must use `import`. +#### How do breaking type changes work if type declaration packages closely track the library package's version? + +`@types` packages always type packages of the same version, so `@types/foo@5.4.x` are for `foo@5.4.x`. +As a consequence, all changes, breaking or not, are published as patch revisions, unless paired with a major/minor bump to change the package version being targeted (coincidentally or not). + +When it comes to breaking changes, DT maintainers consider the popularity of the package, the upsides of the proposed breaking change, the effort that will be required for users to fix their code, and whether the change could reasonably be delayed until it can be synced with a major bump of the upstream library. + #### How do I write definitions for packages that can be used globally and as a module? The TypeScript handbook contains excellent [general information about writing definitions](https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html) and also [this example definition file](https://www.typescriptlang.org/docs/handbook/declaration-files/templates/global-modifying-module-d-ts.html) which shows how to create a definition using ES6-style module syntax, while also specifying objects made available to the global scope. This technique is demonstrated practically in the [definition for `big.js`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/big.js/index.d.ts), which is a library that can be loaded globally via script tag on a web page or imported via require or ES6-style imports. diff --git a/attw.json b/attw.json new file mode 100644 index 00000000000000..dda4e1ce6409bf --- /dev/null +++ b/attw.json @@ -0,0 +1,2152 @@ +{ + "ignoreRules": [ + "no-resolution", + "cjs-only-exports-default", + "unexpected-module-syntax" + ], + "failingPackages": [ + "3box", + "absolute-url", + "absolute", + "acc-wizard", + "activex-access", + "activex-adodb", + "activex-adox", + "activex-dao", + "activex-diskquota", + "activex-excel", + "activex-faxcomexlib", + "activex-infopath", + "activex-interop", + "activex-iwshruntimelibrary", + "activex-libreoffice", + "activex-msforms", + "activex-mshtml", + "activex-msxml2", + "activex-office", + "activex-outlook", + "activex-powerpoint", + "activex-scripting", + "activex-shdocvw", + "activex-shell", + "activex-stdole", + "activex-vbide", + "activex-wia", + "activex-word", + "add2home", + "af-utils__react-table", + "af-utils__react-virtual-headless", + "af-utils__react-virtual-list", + "ahoy.js", + "akamai-edgeworkers", + "akumina-core", + "akumina-core/v4", + "alcides", + "ali-oss", + "alipayjssdk", + "allure-js-commons", + "alpinejs__anchor", + "alpinejs__collapse", + "alpinejs__focus", + "alpinejs__intersect", + "alpinejs__mask", + "alpinejs__morph", + "alpinejs__persist", + "alpinejs", + "amap-js-api-arrival-range", + "amap-js-api-autocomplete", + "amap-js-api-city-search", + "amap-js-api-control-bar", + "amap-js-api-district-search", + "amap-js-api-driving", + "amap-js-api-geocoder", + "amap-js-api-geolocation", + "amap-js-api-heatmap", + "amap-js-api-indoor-map", + "amap-js-api-line-search", + "amap-js-api-map-type", + "amap-js-api-map3d", + "amap-js-api-overview", + "amap-js-api-place-search", + "amap-js-api-riding", + "amap-js-api-scale", + "amap-js-api-station-search", + "amap-js-api-tool-bar", + "amap-js-api-transfer", + "amap-js-api", + "amap-js-sdk", + "amcharts", + "amplifier", + "amplify-deferred", + "amplify", + "amqplib", + "angular-agility", + "angular-animate", + "angular-aria", + "angular-bootstrap-calendar", + "angular-dialog-service", + "angular-gridster", + "angular-httpi", + "angular-idle", + "angular-material", + "angular-meteor", + "angular-notifications", + "angular-notify", + "angular-odata-resources", + "angular-q-spread", + "angular-resource", + "angular-route", + "angular-scenario", + "angular-ui-notification", + "angular-ui-router", + "angular-ui-tree", + "angular.throttle", + "angularfire", + "angularlocalstorage", + "ansicolors", + "antlr4", + "aos", + "apca-w3", + "apigee-access", + "apollo-upload-client", + "app-module-path", + "app-root-dir", + "appframework", + "apple-mapkit-js-browser", + "apple-music-api", + "apple-signin-api", + "applepayjs", + "appletvjs", + "arangodb", + "arbiter", + "arcgis-rest-api", + "architect", + "array-sort", + "artillery", + "assertsharp", + "async-polling", + "async-retry", + "atlaskit__layer", + "atmosphere.js", + "atom", + "atpl", + "atvlegacycontentkit", + "auth0.widget", + "awesome-notifications", + "aws-cloudfront-function", + "aws-lambda", + "aws-sdk2-types", + "aws-synthetics-puppeteer", + "axios-cancel", + "azdata", + "azure-mobile-services-client", + "azure-sb", + "babel-plugin-syntax-jsx", + "babel-types", + "babylon-walk", + "backbone.localstorage", + "backgrid", + "backstopjs", + "baidu-app", + "baidumap-web-sdk", + "balanced-match", + "barnard59-base", + "barnard59-core", + "barnard59-graph-store", + "barnard59-validate-shacl", + "barnard59", + "bbcode-to-react", + "behavior3", + "better-curry", + "better-scroll", + "beyonk__gdpr-cookie-consent-banner", + "bezier-js", + "bgiframe", + "bidirectional-map", + "big.js", + "bigint", + "bignum", + "bitcoin-computer__lib", + "blazor__javascript-interop", + "blissfuljs", + "bluebird-global", + "bmapgl-browser", + "boolify-string", + "boom/v3", + "boom/v4", + "bootstrap-colorpicker", + "bootstrap-datepicker", + "bootstrap-maxlength", + "bootstrap-switch", + "bootstrap-touchspin", + "bootstrap-treeview", + "bootstrap.paginator", + "bootstrap.timepicker", + "bootstrap.v3.datetimepicker", + "bootstrap.v3.datetimepicker/v3", + "bounce.js", + "box2d", + "brainhubeu__react-carousel", + "bramus__pagination-sequence", + "breeze", + "browserify", + "bundle-id", + "bundle-name", + "bunyan-blackhole", + "bwip-js", + "byte-size", + "call-bind", + "calq", + "cannon", + "canvasjs", + "carbon__layout", + "carbon__motion", + "carbon__themes", + "carbon__type", + "casperjs", + "catbox/v7", + "chai-datetime", + "chai", + "channel-io", + "chartjs-plugin-colorschemes", + "chartjs-plugin-doughnutlabel-rebourne", + "chayns", + "chess.js", + "chessboardjs", + "chocolatechipjs", + "chrome-apps", + "chrome-webstore-upload", + "chromecast-caf-receiver", + "chromecast-caf-sender", + "chui", + "cldr", + "clearbladejs-client", + "clearbladejs-node", + "clearbladejs-server", + "clmtrackr", + "closure-compiler", + "cloudflare-apps", + "cloudflare-turnstile", + "cloudfour__simple-svg-placeholder", + "cloudinary-uploadwidget-browser", + "clownface", + "cls-hooked", + "cobe", + "code", + "colab", + "collectionsjs", + "color/v0", + "com.wikitude.phonegap.wikitudeplugin", + "combine-reducers", + "commangular", + "compose-function", + "conditional", + "configs-overload", + "configstore", + "connect-flash", + "consolidate", + "consumer-data-standards", + "content-type", + "contextjs", + "cookiebot-sdk", + "cookieclicker", + "cordova-ionic", + "cordova-plugin-background-mode", + "cordova-plugin-canvascamera", + "cordova-plugin-email-composer", + "cordova-plugin-ibeacon", + "cordova-plugin-mapsforge", + "cordova-plugin-ms-adal", + "core-js", + "cornerstone-core", + "countdown", + "country-flag-icons", + "country-list/v1", + "cradle", + "crc", + "createjs-lib", + "critters-webpack-plugin", + "crossfilter", + "crossroads", + "cryptiles", + "crypto-ld", + "cryptojs", + "css-declaration-sorter", + "css-font-loading-module", + "css-modules", + "css-tree", + "css", + "csso", + "csurf", + "culori", + "curtainsjs", + "custom-functions-runtime", + "cybozulabs-md5", + "cyclonedx", + "cypress-cucumber-preprocessor", + "d3-array", + "d3-axis", + "d3-box", + "d3-brush", + "d3-chord", + "d3-color", + "d3-contour", + "d3-delaunay", + "d3-dispatch", + "d3-drag", + "d3-dsv", + "d3-ease", + "d3-fetch", + "d3-force", + "d3-format", + "d3-geo", + "d3-hierarchy", + "d3-indirections", + "d3-interpolate", + "d3-path", + "d3-polygon", + "d3-quadtree", + "d3-random", + "d3-scale-chromatic", + "d3-scale", + "d3-selection", + "d3-shape", + "d3-time-format", + "d3-time", + "d3-timer", + "d3-tip", + "d3-transition", + "d3-zoom", + "d3.slider", + "d3", + "dadata-api", + "data-driven", + "dateformat", + "daum-postcode", + "db-migrate-base", + "db-migrate-pg", + "debug", + "decorum", + "deep-freeze", + "deezer-sdk", + "default-browser-id", + "default-gateway", + "deku", + "delaunator", + "delowar__react-circle-progressbar", + "deoxxa-content-type", + "deployjava", + "desmos", + "devexpress-aspnetcore-bootstrap", + "devexpress-web", + "devexpress-web/v161", + "devexpress-web/v162", + "devexpress-web/v171", + "devexpress-web/v172", + "devexpress-web/v181", + "devexpress-web/v182", + "devexpress-web/v191", + "devexpress-web/v192", + "devexpress-web/v201", + "df-visible", + "dhtmlxgantt", + "dhtmlxscheduler", + "dialogify-browser", + "diff", + "digital-goods-browser", + "doccookies", + "dock-spawn", + "documentdb-server", + "documentdb-session", + "documentdb", + "dom-background-sync", + "dom-chromium-installation-events", + "dom-inputevent", + "dom-mediacapture-record", + "dom-mediacapture-transform", + "dom-navigation-preload", + "dom-navigation", + "dom-screen-wake-lock", + "dom-serial", + "dom-speech-recognition", + "dom-to-image", + "dom-trust-token", + "dom-view-transitions", + "dom-webcodecs", + "domurl", + "dotenv-flow", + "double-ended-queue", + "doubleclick-gpt", + "dplayer", + "draggabilly", + "drawflow", + "dropbox-chooser", + "dropboxjs", + "dts-bundle", + "duo_web_sdk", + "durandal", + "durandal/v1", + "dvtng-jss", + "dw-bxslider-4", + "dwt", + "dygraphs", + "dymo-label-framework", + "dynatable", + "dynmap", + "easy-api-request", + "easy-jsend", + "easy-speech", + "easy-xapi-utils", + "easy-xapi", + "ebongarde-root", + "editorjs__header", + "egg.js", + "ej.web.all", + "ejs-locals", + "elasticsearch", + "email-prompt", + "email-templates", + "ember__application", + "ember__array", + "ember__component", + "ember__controller", + "ember__debug", + "ember__destroyable", + "ember__destroyable/v3", + "ember__engine", + "ember__error", + "ember__error/v3", + "ember__helper", + "ember__modifier", + "ember__object", + "ember__ordered-set", + "ember__ordered-set/v3", + "ember__owner", + "ember__polyfills", + "ember__polyfills/v3", + "ember__routing", + "ember__runloop", + "ember__service", + "ember__string/v2", + "ember__template", + "ember__template/v3", + "ember__test", + "ember__utils", + "ember__utils/v3", + "ember-changeset-validations", + "ember-data__adapter", + "ember-data__adapter/v3", + "ember-data__model", + "ember-data__model/v3", + "ember-data__serializer", + "ember-data__serializer/v3", + "ember-data__store", + "ember-data__store/v3", + "ember-data", + "ember-data/v2", + "ember-data/v3", + "ember-feature-flags", + "ember-feature-flags/v3", + "ember-task-scheduler", + "ember-test-helpers", + "ember-test-helpers/v0", + "ember-testing-helpers", + "ember", + "ember/v1", + "ember/v2", + "ember/v3", + "emissary", + "emscripten", + "encoding-down", + "engine-check", + "epub", + "eq.js", + "error-cause", + "error-subclass", + "es-get-iterator", + "es6-weak-map", + "esbuild-copy-static-files", + "esbuild-plugin-import-map", + "eslint__eslintrc", + "eslint-utils", + "espruino", + "estree-jsx", + "estree", + "eth-sig-util", + "evaporate", + "event-to-promise", + "express-async-wrap", + "express-brute-memcached", + "express-pino-logger", + "express-serve-static-core", + "express-simple-locale", + "express-socket.io-session", + "express-status-monitor", + "express-wechat-access", + "extensible-duck", + "extjs", + "extract-files", + "eyevinn-iaf", + "facebook-instant-games", + "facebook-js-sdk", + "facebook-pixel", + "falcor-http-datasource", + "famous", + "fancade-editor", + "fancybox", + "farbtastic", + "fast-levenshtein", + "favico.js", + "fbt", + "feather-route-matcher", + "featherlight", + "feathersjs__authentication-client", + "feathersjs__authentication-jwt", + "feathersjs__authentication-local", + "feathersjs__authentication-oauth1", + "feathersjs__authentication-oauth2", + "feathersjs__authentication", + "feathersjs__configuration", + "feathersjs__express", + "feathersjs__primus-client", + "feathersjs__primus", + "feathersjs__rest-client", + "feathersjs__socketio-client", + "fetch-meta-tags", + "fetch.io", + "ffi", + "ffmpeg__libav-core", + "ffmpeg-static", + "ffmpeg", + "fhir", + "fibjs", + "figma", + "filemaker-webviewer", + "filesystem", + "filewriter", + "final-form-set-field-data", + "finch", + "find-unused-sass-variables", + "firefox-webext-browser", + "firemonkey-browser", + "flashpoint-launcher", + "flight", + "flipsnap", + "float-equal", + "flot", + "flowdoc", + "flowjs", + "fm-websync", + "fontkit", + "fontoxml", + "forge-viewer", + "formidable", + "formidable/v1", + "formol", + "foundation", + "frctl__fractal", + "frecency", + "frida-gum", + "friendly-errors-webpack-plugin", + "fs-extra", + "fslightbox-react", + "ftdomdelegate", + "fuzzy-finder", + "gae.channel.api", + "gamequery", + "gandi-livedns", + "gapi.analytics", + "gapi.auth2", + "gapi.calendar", + "gapi.client.abusiveexperiencereport-v1", + "gapi.client.acceleratedmobilepageurl-v1", + "gapi.client.accessapproval-v1", + "gapi.client.accesscontextmanager-v1", + "gapi.client.accesscontextmanager-v1beta", + "gapi.client.acmedns-v1", + "gapi.client.adexchangebuyer2-v2beta1", + "gapi.client.adexperiencereport-v1", + "gapi.client.admin-datatransfer_v1", + "gapi.client.admin-directory_v1", + "gapi.client.admin-reports_v1", + "gapi.client.admob-v1", + "gapi.client.admob-v1beta", + "gapi.client.adsense-v2", + "gapi.client.adsensehost-v4.1", + "gapi.client.advisorynotifications-v1", + "gapi.client.alertcenter-v1beta1", + "gapi.client.analytics-v3", + "gapi.client.analyticsadmin-v1alpha", + "gapi.client.analyticsadmin-v1beta", + "gapi.client.analyticsdata-v1beta", + "gapi.client.analyticshub-v1", + "gapi.client.analyticshub-v1beta1", + "gapi.client.analyticsreporting-v4", + "gapi.client.androiddeviceprovisioning-v1", + "gapi.client.androidenterprise-v1", + "gapi.client.androidmanagement-v1", + "gapi.client.androidpublisher-v3", + "gapi.client.apigateway-v1", + "gapi.client.apigateway-v1beta", + "gapi.client.apigeeregistry-v1", + "gapi.client.apikeys-v2", + "gapi.client.appengine-v1", + "gapi.client.appengine-v1alpha", + "gapi.client.appengine-v1beta", + "gapi.client.area120tables-v1alpha1", + "gapi.client.artifactregistry-v1", + "gapi.client.artifactregistry-v1beta1", + "gapi.client.artifactregistry-v1beta2", + "gapi.client.assuredworkloads-v1", + "gapi.client.assuredworkloads-v1beta1", + "gapi.client.authorizedbuyersmarketplace-v1", + "gapi.client.baremetalsolution-v2", + "gapi.client.batch-v1", + "gapi.client.beyondcorp-v1", + "gapi.client.beyondcorp-v1alpha", + "gapi.client.bigquery-v2", + "gapi.client.bigqueryconnection-v1beta1", + "gapi.client.bigquerydatatransfer-v1", + "gapi.client.bigqueryreservation-v1", + "gapi.client.bigtableadmin-v2", + "gapi.client.billingbudgets-v1", + "gapi.client.billingbudgets-v1beta1", + "gapi.client.binaryauthorization-v1", + "gapi.client.binaryauthorization-v1beta1", + "gapi.client.blogger-v2", + "gapi.client.blogger-v3", + "gapi.client.books-v1", + "gapi.client.businessprofileperformance-v1", + "gapi.client.calendar-v3", + "gapi.client.certificatemanager-v1", + "gapi.client.chat-v1", + "gapi.client.chromemanagement-v1", + "gapi.client.chromepolicy-v1", + "gapi.client.chromeuxreport-v1", + "gapi.client.civicinfo-v2", + "gapi.client.classroom-v1", + "gapi.client.cloudasset-v1", + "gapi.client.cloudasset-v1beta1", + "gapi.client.cloudasset-v1p1beta1", + "gapi.client.cloudasset-v1p5beta1", + "gapi.client.cloudasset-v1p7beta1", + "gapi.client.cloudbilling-v1", + "gapi.client.cloudbilling-v1beta", + "gapi.client.cloudbuild-v1", + "gapi.client.cloudchannel-v1", + "gapi.client.clouddeploy-v1", + "gapi.client.clouderrorreporting-v1beta1", + "gapi.client.cloudfunctions-v1", + "gapi.client.cloudfunctions-v2", + "gapi.client.cloudfunctions-v2alpha", + "gapi.client.cloudfunctions-v2beta", + "gapi.client.cloudidentity-v1", + "gapi.client.cloudidentity-v1beta1", + "gapi.client.cloudiot-v1", + "gapi.client.cloudkms-v1", + "gapi.client.cloudprofiler-v2", + "gapi.client.cloudresourcemanager-v1", + "gapi.client.cloudresourcemanager-v1beta1", + "gapi.client.cloudresourcemanager-v2", + "gapi.client.cloudresourcemanager-v2beta1", + "gapi.client.cloudresourcemanager-v3", + "gapi.client.cloudscheduler-v1", + "gapi.client.cloudscheduler-v1beta1", + "gapi.client.cloudsearch-v1", + "gapi.client.cloudshell-v1", + "gapi.client.cloudsupport-v2beta", + "gapi.client.cloudtasks-v2", + "gapi.client.cloudtasks-v2beta2", + "gapi.client.cloudtasks-v2beta3", + "gapi.client.cloudtrace-v1", + "gapi.client.cloudtrace-v2", + "gapi.client.cloudtrace-v2beta1", + "gapi.client.composer-v1", + "gapi.client.composer-v1beta1", + "gapi.client.compute-alpha", + "gapi.client.compute-beta", + "gapi.client.compute-v1", + "gapi.client.connectors-v1", + "gapi.client.connectors-v2", + "gapi.client.contactcenteraiplatform-v1alpha1", + "gapi.client.contactcenterinsights-v1", + "gapi.client.container-v1", + "gapi.client.container-v1beta1", + "gapi.client.containeranalysis-v1", + "gapi.client.containeranalysis-v1alpha1", + "gapi.client.containeranalysis-v1beta1", + "gapi.client.content-v2.1", + "gapi.client.contentwarehouse-v1", + "gapi.client.customsearch-v1", + "gapi.client.datacatalog-v1", + "gapi.client.datacatalog-v1beta1", + "gapi.client.dataflow-v1b3", + "gapi.client.dataform-v1beta1", + "gapi.client.datafusion-v1", + "gapi.client.datafusion-v1beta1", + "gapi.client.datalabeling-v1beta1", + "gapi.client.datalineage-v1", + "gapi.client.datamigration-v1", + "gapi.client.datamigration-v1beta1", + "gapi.client.datapipelines-v1", + "gapi.client.dataplex-v1", + "gapi.client.dataproc-v1", + "gapi.client.datastore-v1", + "gapi.client.datastore-v1beta1", + "gapi.client.datastore-v1beta3", + "gapi.client.datastream-v1", + "gapi.client.datastream-v1alpha1", + "gapi.client.deploymentmanager-alpha", + "gapi.client.deploymentmanager-v2", + "gapi.client.deploymentmanager-v2beta", + "gapi.client.dfareporting-v3.5", + "gapi.client.dfareporting-v4", + "gapi.client.dialogflow-v2", + "gapi.client.dialogflow-v2beta1", + "gapi.client.dialogflow-v3", + "gapi.client.dialogflow-v3beta1", + "gapi.client.digitalassetlinks-v1", + "gapi.client.discovery-v1", + "gapi.client.discoveryengine-v1alpha", + "gapi.client.discoveryengine-v1beta", + "gapi.client.displayvideo-v1", + "gapi.client.displayvideo-v2", + "gapi.client.dlp-v2", + "gapi.client.dns-v1", + "gapi.client.dns-v1beta2", + "gapi.client.docs-v1", + "gapi.client.documentai-v1", + "gapi.client.documentai-v1beta2", + "gapi.client.documentai-v1beta3", + "gapi.client.domains-v1", + "gapi.client.domains-v1alpha2", + "gapi.client.domains-v1beta1", + "gapi.client.domainsrdap-v1", + "gapi.client.doubleclickbidmanager-v1.1", + "gapi.client.doubleclickbidmanager-v2", + "gapi.client.doubleclicksearch-v2", + "gapi.client.drive-v2", + "gapi.client.drive-v3", + "gapi.client.driveactivity-v2", + "gapi.client.drivelabels-v2", + "gapi.client.drivelabels-v2beta", + "gapi.client.essentialcontacts-v1", + "gapi.client.eventarc-v1", + "gapi.client.eventarc-v1beta1", + "gapi.client.factchecktools-v1alpha1", + "gapi.client.fcm-v1", + "gapi.client.fcmdata-v1beta1", + "gapi.client.file-v1", + "gapi.client.file-v1beta1", + "gapi.client.firebase-v1beta1", + "gapi.client.firebaseappcheck-v1", + "gapi.client.firebaseappcheck-v1beta", + "gapi.client.firebaseappdistribution-v1", + "gapi.client.firebasedatabase-v1beta", + "gapi.client.firebasedynamiclinks-v1", + "gapi.client.firebasehosting-v1", + "gapi.client.firebasehosting-v1beta1", + "gapi.client.firebaseml-v1", + "gapi.client.firebaseml-v1beta2", + "gapi.client.firebaserules-v1", + "gapi.client.firebasestorage-v1beta", + "gapi.client.firestore-v1", + "gapi.client.firestore-v1beta1", + "gapi.client.firestore-v1beta2", + "gapi.client.fitness-v1", + "gapi.client.forms-v1", + "gapi.client.games_configuration-v1configuration", + "gapi.client.games_management-v1management", + "gapi.client.games-v1", + "gapi.client.gameservices-v1", + "gapi.client.gameservices-v1beta", + "gapi.client.genomics-v2alpha1", + "gapi.client.gkebackup-v1", + "gapi.client.gkehub-v1", + "gapi.client.gkehub-v1alpha", + "gapi.client.gkehub-v1alpha2", + "gapi.client.gkehub-v1beta", + "gapi.client.gkehub-v1beta1", + "gapi.client.gkehub-v2alpha", + "gapi.client.gmail-v1", + "gapi.client.gmailpostmastertools-v1", + "gapi.client.gmailpostmastertools-v1beta1", + "gapi.client.googleads-v10", + "gapi.client.googleads-v11", + "gapi.client.googleads-v12", + "gapi.client.googleads-v13", + "gapi.client.googleads-v4", + "gapi.client.googleads-v5", + "gapi.client.googleads-v6", + "gapi.client.googleads-v7", + "gapi.client.googleads-v8", + "gapi.client.googleads-v9", + "gapi.client.groupsmigration-v1", + "gapi.client.groupssettings-v1", + "gapi.client.healthcare-v1", + "gapi.client.healthcare-v1beta1", + "gapi.client.homegraph-v1", + "gapi.client.iam-v1", + "gapi.client.iam-v2", + "gapi.client.iam-v2beta", + "gapi.client.iamcredentials-v1", + "gapi.client.iap-v1", + "gapi.client.iap-v1beta1", + "gapi.client.identitytoolkit-v1", + "gapi.client.identitytoolkit-v2", + "gapi.client.identitytoolkit-v3", + "gapi.client.ids-v1", + "gapi.client.indexing-v3", + "gapi.client.integrations-v1alpha", + "gapi.client.jobs-v3", + "gapi.client.jobs-v3p1beta1", + "gapi.client.jobs-v4", + "gapi.client.keep-v1", + "gapi.client.kgsearch-v1", + "gapi.client.kmsinventory-v1", + "gapi.client.language-v1", + "gapi.client.language-v1beta2", + "gapi.client.libraryagent-v1", + "gapi.client.licensing-v1", + "gapi.client.lifesciences-v2beta", + "gapi.client.localservices-v1", + "gapi.client.logging-v2", + "gapi.client.managedidentities-v1", + "gapi.client.managedidentities-v1alpha1", + "gapi.client.managedidentities-v1beta1", + "gapi.client.manufacturers-v1", + "gapi.client.memcache-v1", + "gapi.client.memcache-v1beta2", + "gapi.client.metastore-v1", + "gapi.client.metastore-v1alpha", + "gapi.client.metastore-v1beta", + "gapi.client.migrationcenter-v1alpha1", + "gapi.client.ml-v1", + "gapi.client.monitoring-v1", + "gapi.client.monitoring-v3", + "gapi.client.mybusinessaccountmanagement-v1", + "gapi.client.mybusinessbusinesscalls-v1", + "gapi.client.mybusinessbusinessinformation-v1", + "gapi.client.mybusinesslodging-v1", + "gapi.client.mybusinessnotifications-v1", + "gapi.client.mybusinessplaceactions-v1", + "gapi.client.mybusinessqanda-v1", + "gapi.client.mybusinessverifications-v1", + "gapi.client.networkconnectivity-v1", + "gapi.client.networkconnectivity-v1alpha1", + "gapi.client.networkmanagement-v1", + "gapi.client.networkmanagement-v1beta1", + "gapi.client.networksecurity-v1", + "gapi.client.networksecurity-v1beta1", + "gapi.client.networkservices-v1", + "gapi.client.networkservices-v1beta1", + "gapi.client.notebooks-v1", + "gapi.client.notebooks-v2", + "gapi.client.oauth2-v2", + "gapi.client.ondemandscanning-v1", + "gapi.client.ondemandscanning-v1beta1", + "gapi.client.orgpolicy-v2", + "gapi.client.osconfig-v1", + "gapi.client.osconfig-v1alpha", + "gapi.client.osconfig-v1beta", + "gapi.client.oslogin-v1", + "gapi.client.oslogin-v1alpha", + "gapi.client.oslogin-v1beta", + "gapi.client.pagespeedonline-v5", + "gapi.client.paymentsresellersubscription-v1", + "gapi.client.people-v1", + "gapi.client.playcustomapp-v1", + "gapi.client.playdeveloperreporting-v1alpha1", + "gapi.client.playdeveloperreporting-v1beta1", + "gapi.client.playintegrity-v1", + "gapi.client.policyanalyzer-v1", + "gapi.client.policyanalyzer-v1beta1", + "gapi.client.policysimulator-v1", + "gapi.client.policysimulator-v1alpha", + "gapi.client.policysimulator-v1beta", + "gapi.client.policytroubleshooter-v1", + "gapi.client.policytroubleshooter-v1beta", + "gapi.client.poly-v1", + "gapi.client.privateca-v1", + "gapi.client.privateca-v1beta1", + "gapi.client.prod_tt_sasportal-v1alpha1", + "gapi.client.publicca-v1alpha1", + "gapi.client.publicca-v1beta1", + "gapi.client.pubsub-v1", + "gapi.client.pubsub-v1beta1a", + "gapi.client.pubsub-v1beta2", + "gapi.client.pubsublite-v1", + "gapi.client.readerrevenuesubscriptionlinking-v1", + "gapi.client.realtimebidding-v1", + "gapi.client.realtimebidding-v1alpha", + "gapi.client.recaptchaenterprise-v1", + "gapi.client.recommendationengine-v1beta1", + "gapi.client.recommender-v1", + "gapi.client.recommender-v1beta1", + "gapi.client.redis-v1", + "gapi.client.redis-v1beta1", + "gapi.client.reseller-v1", + "gapi.client.resourcesettings-v1", + "gapi.client.retail-v2", + "gapi.client.retail-v2alpha", + "gapi.client.retail-v2beta", + "gapi.client.run-v1", + "gapi.client.run-v2", + "gapi.client.runtimeconfig-v1", + "gapi.client.runtimeconfig-v1beta1", + "gapi.client.safebrowsing-v4", + "gapi.client.sasportal-v1alpha1", + "gapi.client.script-v1", + "gapi.client.searchads360-v0", + "gapi.client.searchconsole-v1", + "gapi.client.secretmanager-v1", + "gapi.client.secretmanager-v1beta1", + "gapi.client.securitycenter-v1", + "gapi.client.securitycenter-v1beta1", + "gapi.client.securitycenter-v1beta2", + "gapi.client.serviceconsumermanagement-v1", + "gapi.client.serviceconsumermanagement-v1beta1", + "gapi.client.servicecontrol-v1", + "gapi.client.servicecontrol-v2", + "gapi.client.servicedirectory-v1", + "gapi.client.servicedirectory-v1beta1", + "gapi.client.servicemanagement-v1", + "gapi.client.servicenetworking-v1", + "gapi.client.servicenetworking-v1beta", + "gapi.client.serviceusage-v1", + "gapi.client.serviceusage-v1beta1", + "gapi.client.sheets-v4", + "gapi.client.site_verification-v1", + "gapi.client.slides-v1", + "gapi.client.smartdevicemanagement-v1", + "gapi.client.sourcerepo-v1", + "gapi.client.spanner-v1", + "gapi.client.speech-v1", + "gapi.client.speech-v1p1beta1", + "gapi.client.sqladmin-v1", + "gapi.client.sqladmin-v1beta4", + "gapi.client.storage-v1", + "gapi.client.storagetransfer-v1", + "gapi.client.streetviewpublish-v1", + "gapi.client.sts-v1", + "gapi.client.sts-v1beta", + "gapi.client.tagmanager-v1", + "gapi.client.tagmanager-v2", + "gapi.client.tasks-v1", + "gapi.client.testing-v1", + "gapi.client.texttospeech-v1", + "gapi.client.texttospeech-v1beta1", + "gapi.client.toolresults-v1beta3", + "gapi.client.tpu-v1", + "gapi.client.tpu-v1alpha1", + "gapi.client.tpu-v2", + "gapi.client.tpu-v2alpha1", + "gapi.client.trafficdirector-v2", + "gapi.client.transcoder-v1", + "gapi.client.translate-v2", + "gapi.client.translate-v3", + "gapi.client.translate-v3beta1", + "gapi.client.travelimpactmodel-v1", + "gapi.client.vault-v1", + "gapi.client.verifiedaccess-v1", + "gapi.client.verifiedaccess-v2", + "gapi.client.versionhistory-v1", + "gapi.client.videointelligence-v1", + "gapi.client.videointelligence-v1beta2", + "gapi.client.videointelligence-v1p1beta1", + "gapi.client.videointelligence-v1p2beta1", + "gapi.client.videointelligence-v1p3beta1", + "gapi.client.vision-v1", + "gapi.client.vision-v1p1beta1", + "gapi.client.vision-v1p2beta1", + "gapi.client.vmmigration-v1", + "gapi.client.vmmigration-v1alpha1", + "gapi.client.vpcaccess-v1", + "gapi.client.vpcaccess-v1beta1", + "gapi.client.webfonts-v1", + "gapi.client.webrisk-v1", + "gapi.client.websecurityscanner-v1", + "gapi.client.websecurityscanner-v1alpha", + "gapi.client.websecurityscanner-v1beta", + "gapi.client.workflowexecutions-v1", + "gapi.client.workflowexecutions-v1beta", + "gapi.client.workflows-v1", + "gapi.client.workflows-v1beta", + "gapi.client.workloadmanager-v1", + "gapi.client.workstations-v1beta", + "gapi.client.youtube_analytics-v2", + "gapi.client.youtube-v3", + "gapi.client.youtubereporting-v1", + "gapi.client", + "gapi.drive", + "gapi.pagespeedonline", + "gapi.people", + "gapi.plus", + "gapi.translate", + "gapi.urlshortener", + "gapi.youtube", + "gapi.youtubeanalytics", + "gaugejs", + "generic-functions", + "gensync", + "gently", + "geodesy", + "geojson", + "geometry-dom", + "gestalt-datepicker", + "get-emoji", + "get-folder-size", + "get-sass-vars", + "get-symbol-description", + "git", + "github-label-sync", + "gldatepicker", + "glidejs__glide", + "glidejs", + "glue", + "glue/v4", + "go", + "golang-wasm-exec", + "google__maps", + "google-ads-scripts", + "google-adwords-scripts", + "google-apps-script-oauth2", + "google-closure-compiler", + "google-cloud__datastore", + "google-drive-realtime-api", + "google-earth", + "google-libphonenumber", + "google-one-tap", + "google-publisher-tag", + "google.accounts", + "google.analytics", + "google.feeds", + "google.fonts", + "google.geolocation", + "google.maps", + "google.picker", + "google.script.client-side", + "google.visualization", + "googlefc", + "googlemaps.infobubble", + "googlepay", + "googletag", + "gorilla-engine", + "graphql-resolve-batch", + "graphql-upload", + "greasemonkey", + "greasemonkey/v3", + "grecaptcha", + "grecaptcha/v0", + "gregorian-calendar", + "growing-io", + "gsi", + "gtag.js", + "guacamole-common-js", + "guid", + "gulp-angular-templatecache", + "gulp-changed", + "gulp-cheerio", + "gulp-coffeeify", + "gulp-dtsm", + "gulp-espower", + "gulp-help-doc", + "gulp-imagemin", + "gulp-jasmine-browser", + "gulp-load-plugins", + "gulp-minify-css", + "gulp-mocha", + "gulp-ng-annotate", + "gulp-remember", + "gulp-sourcemaps", + "gulp-task-listing", + "gun", + "h2o2", + "hafas-client", + "hapi__catbox-memory", + "hapi__catbox", + "hapi__shot", + "hapi", + "hapi/v12", + "hapi/v15", + "hapi/v16", + "hapi/v17", + "hapi/v8", + "har-format", + "hard-source-webpack-plugin", + "has-ansi", + "has-package-exports", + "hasher", + "hashset", + "hashtable", + "hast", + "hast/v2", + "hasura", + "haxball-headless-browser", + "headroom", + "hellosign-embedded", + "hellosign-sdk", + "heredatalens", + "heremaps", + "heroku-logger", + "hexo-bunyan", + "highlightjs", + "hl7", + "hmscore__react-native-hms-push", + "hoek", + "hookrouter", + "html-escaper", + "html-minifier-terser", + "html-to-draftjs", + "html-to-text", + "html-webpack-plugin", + "html5plus", + "htmlbars-inline-precompile", + "htmltojsx", + "hubspot-pace", + "hummer-env", + "hyperscript", + "hypertext-application-language", + "i18next-fs-backend", + "i18next-sprintf-postprocessor", + "iab-vpaid", + "ibm_db", + "ibm-mobilefirst", + "identicon.js", + "iltorb", + "image-blob-reduce", + "imagemagick", + "imagemapster", + "imagemin-svgo", + "imagemin-upng", + "imagemin-webp", + "imagemin", + "imgur-rest-api", + "inboxsdk", + "inert/v4", + "ineum", + "inherits", + "iniparser", + "input-moment", + "inputmask", + "inquirer-autocomplete-prompt", + "inquirer", + "intercom-web", + "intercomjs", + "intl-unofficial-duration-unit-format", + "invity-api", + "ion-rangeslider/v1", + "ioredis-mock", + "iost-contract", + "ipaiva", + "iput", + "is-gif", + "is-touch-device", + "is", + "iscroll/v4", + "isomorphic-fetch", + "istanbul-middleware", + "itemsjs", + "itowns", + "ix.js", + "jackrabbit", + "jade", + "jake", + "jasmine-enzyme", + "jasmine-jquery", + "jasmine", + "jasmine/v1", + "java-applet", + "javascript-astar", + "javascript-bignum", + "javascript-time-ago", + "jcof", + "jdataview", + "jee-jsf", + "jest", + "jfp", + "jitsi-meet", + "jpm", + "jqgrid", + "jquery-alertable", + "jquery-backstretch", + "jquery-cropbox", + "jquery-deferred", + "jquery-deparam", + "jquery-fullscreen", + "jquery-galleria", + "jquery-handsontable", + "jquery-jcrop", + "jquery-monthpicker", + "jquery-timeentry", + "jquery-toastmessage-plugin", + "jquery-truncate-html", + "jquery-urlparam", + "jquery.address", + "jquery.are-you-sure", + "jquery.autosize", + "jquery.base64", + "jquery.bbq", + "jquery.blockui", + "jquery.bootstrap.wizard", + "jquery.cleditor", + "jquery.clientsidelogging", + "jquery.color", + "jquery.colorbox", + "jquery.colorpicker", + "jquery.contextmenu", + "jquery.customselect", + "jquery.cycle", + "jquery.dropotron", + "jquery.dynatree", + "jquery.elang", + "jquery.fancytree", + "jquery.fileupload", + "jquery.filtertable", + "jquery.finger", + "jquery.flagstrap", + "jquery.form", + "jquery.fullscreen", + "jquery.gridster", + "jquery.highlight-bartaz", + "jquery.jnotify", + "jquery.joyride", + "jquery.jsignature", + "jquery.leanmodal", + "jquery.livestampjs", + "jquery.menuaim", + "jquery.mmenu", + "jquery.notify", + "jquery.notifybar", + "jquery.noty", + "jquery.pjax", + "jquery.placeholder", + "jquery.pnotify", + "jquery.postmessage", + "jquery.prettyphoto", + "jquery.qrcode", + "jquery.rowgrid", + "jquery.simplemodal", + "jquery.simplepagination", + "jquery.simulate", + "jquery.sortelements", + "jquery.stickem", + "jquery.superlink", + "jquery.tagsmanager", + "jquery.tile", + "jquery.timeago", + "jquery.timepicker", + "jquery.timer", + "jquery.tinycarousel", + "jquery.tinyscrollbar", + "jquery.tipsy", + "jquery.tools", + "jquery.total-storage", + "jquery.ui.datetimepicker", + "jquery.ui.layout", + "jquery.uniform", + "jquery.validation", + "jquery.watermark", + "jquery.window", + "jquery/v1", + "jquery/v2", + "jquerymobile", + "jqueryui", + "js-clipper", + "js-schema", + "js-url", + "js-worker-search", + "js.spec", + "jsbn", + "jsdeferred", + "jsfl", + "jsftp", + "jslib-html5-camera-photo", + "json-editor", + "json-merge-patch", + "json-patch", + "json-pointer", + "json-schema-faker", + "json-schema", + "json2csv__formatters", + "json2csv__node", + "json2csv__plainjs", + "json2csv__transforms", + "json2csv__whatwg", + "json2csv", + "jsoneditor-for-react", + "jsoneditor", + "jsoneditoronline", + "jsonpath-plus", + "jsonstream", + "jsqrcode", + "jstorage", + "jsum", + "justifiedgallery", + "jwplayer", + "jxon", + "k6", + "kahoot.js-updated", + "kakao-js-sdk", + "kakao-pixel", + "kakaomaps", + "kamailio-kemi", + "kap-plugin", + "katex", + "keccak", + "keen-tracking", + "keep-network__tbtc.js", + "kendo-ui", + "kik-browser", + "kineticjs", + "knockback", + "knockout-amd-helpers", + "knockout-postbox", + "knockout-secure-binding", + "knockout.deferred.updates", + "knockout.editables", + "knockout.es5", + "knockout.kogrid", + "knockout.mapper", + "knockout.mapping", + "knockout.projections", + "knockout.rx", + "knockout.validation", + "knockout.viewmodel", + "knockstrap", + "knuddels-userapp-backend-api", + "knuddels-userapps-api", + "knuddels-webapp-frontend-api", + "koa-proxy", + "koa-router", + "koa-sslify", + "koa", + "kolite", + "konami.js", + "kos-core", + "kss", + "kythe", + "lab", + "latlon-geohash", + "lazypipe", + "leadfoot", + "leaflet-areaselect", + "leaflet-curve", + "leaflet-editable/v0", + "leaflet-gpx", + "leaflet-label", + "leaflet-offline", + "leaflet.awesome-markers/v0", + "leaflet.pm", + "leapmotionts", + "ledgerhq__hw-transport-u2f", + "lestate", + "level-sublevel", + "leveldown", + "lightpick", + "line-reader", + "lint-staged", + "lls", + "loadable__webpack-plugin", + "localizejs-library", + "locutus", + "lodash-es", + "logg", + "login-with-amazon-sdk-browser", + "loopback-boot", + "lowlight", + "ltx", + "luxon", + "macaca-circular-json", + "magic-number", + "magicmirror-module", + "maildev", + "mapbox__mapbox-sdk", + "mapbox__s3urls", + "mapbox", + "mapboxgl-spiderifier", + "mapsjs", + "markdown-it-lazy-headers", + "markdown-it-source-map", + "markitup", + "marv", + "maskedinput", + "material-ui-pagination", + "material-ui-phone-number", + "material-ui", + "mathjax", + "maxmsp", + "mcustomscrollbar", + "mdast", + "mdx", + "megajs", + "mem-cache", + "memdown", + "mercadopago-sdk-js", + "merge-img", + "merge-stream", + "mergerino", + "messenger", + "metascraper", + "meteor-accounts-phone", + "meteor-collection-hooks", + "meteor-dburles-collection-helpers", + "meteor-jboulhous-dev", + "meteor-percolate-migrations", + "meteor-persistent-session", + "meteor-prime8consulting-oauth2", + "meteor-publish-composite", + "meteor-roles", + "meteor-sjobs", + "method-override", + "mfiles", + "micromodal", + "microservice-utilities", + "microsoft-ajax", + "microsoft-graph", + "microsoft-live-connect", + "microsoft-sdk-soap", + "microsoftteams", + "milliseconds", + "mimetext", + "mimos", + "mina", + "minapp-env", + "minify", + "miniprogram-wxs", + "miniprogram", + "mithril-global", + "mixpanel-browser", + "mixpanel", + "mixto", + "ml-classify-text", + "mobile-messaging-cordova", + "modular-scale", + "module-deps", + "mojang-gametest", + "mojang-minecraft-server-admin", + "mojang-minecraft-ui", + "mojang-minecraft", + "mojang-net", + "moment-business", + "moment-precise-range-plugin", + "mongoose-autopopulate", + "mongoose-deep-populate", + "mongoose-promise", + "mongoose-sequence", + "motor-hat", + "mpv-script", + "ms.macro", + "msgpack", + "mu2", + "mudder", + "multer", + "multiavatar__multiavatar", + "multiparty", + "musickit-js", + "musicmatch", + "mysql-import", + "name-initials", + "natural-drag-animation-rbdnd", + "natural-sort", + "naver-whale", + "navermaps", + "nedb-logger", + "neo4j", + "nes", + "netease-captcha", + "netlify-auth-providers", + "new-relic-browser", + "next-nprogress", + "ng-command", + "ng-facebook", + "ng-flow", + "ng-grid", + "ng-i18next", + "ngbootbox", + "ngprogress-lite", + "ngreact", + "ngtoaster", + "ngwysiwyg", + "nlcst", + "nlcst/v1", + "noble-mac", + "node_redis", + "node-fetch-cache", + "node-fibers", + "node-mysql-wrapper", + "node-osc", + "node-replicate", + "node-sass-middleware", + "node-timecodes", + "node-uuid", + "node-xmpp-client", + "nodegit", + "nodemailer/v3", + "nodeunit", + "noisejs", + "nomnom", + "noteflight-client", + "notie", + "notify", + "notifyjs-browser", + "nova-editor-node", + "nova-editor", + "npm", + "npmcli__ci-detect", + "nunjucks-date", + "nw.gui", + "nw.js", + "oauth.js", + "object.groupby", + "obs-studio", + "office-js-preview", + "office-js", + "office-runtime", + "offscreencanvas", + "oidc-provider", + "oidc-token-manager", + "omit-empty", + "onflow__flow-js-testing", + "onscan.js", + "opencc-js", + "openfin", + "openfin/v50", + "openjscad", + "openlayers/v2", + "openlayers/v3", + "openrct2", + "openssi-websdk", + "opentok", + "openui5", + "openurl", + "optimist", + "oracledb/v3", + "osmtogeojson", + "ovenplayer", + "paddle-js-browser", + "page-flip", + "pagedjs-cli", + "pako", + "paralleljs", + "parcel-env", + "parse-listing", + "parse-torrent-file", + "parse/v1", + "passport-discord", + "passport-github2", + "passport-saml", + "passport-strategy", + "passport-vkontakte", + "passport", + "pathfinding", + "paypal-cordova-plugin", + "payu-emea-sdk", + "pebblekitjs", + "pendo-io-browser", + "pexrtc", + "phantom", + "phoenix", + "phonegap-facebook-plugin", + "phonegap-nfc", + "phonegap-plugin-barcodescanner", + "phonegap", + "photoshop", + "pi-spi", + "pino-multi-stream", + "pinterest-sdk", + "piwik-tracker", + "places", + "plaid-link", + "playerframework", + "playmusic", + "plupload", + "plv8-internal", + "podium", + "polylabel", + "polyline", + "polymer", + "poool-access", + "popcorn", + "postcss-functions", + "postcss-js", + "postcss-use", + "posterus", + "pouch-redux-middleware", + "pouchdb-http", + "preact-i18n", + "precise", + "preloadjs", + "pretty-proptypes", + "prismic-dom", + "progressjs", + "promise-fn-retry", + "promise-pg", + "promise-pool", + "promise-sftp", + "proper-url-join", + "proposal-relative-indexing-method", + "pump", + "purl", + "q-retry", + "qlik-engineapi", + "qlik-visualizationextensions", + "query-string-params", + "quicksettings", + "quill", + "qunit/v1", + "rabbit.js", + "radium", + "radius", + "ramda", + "random-string", + "rangy", + "raphael", + "rappid", + "rasa-webchat", + "raty", + "raven", + "raygun4js", + "rbac-a", + "rbush", + "rc-switch", + "rc-tooltip", + "rdf-ext", + "rdf-transform-triple-to-quad", + "rdf-utils-dataset", + "rdfjs__data-model", + "rdfjs__dataset", + "rdfjs__environment", + "rdfjs__express-handler", + "rdfjs__fetch-lite", + "rdfjs__fetch", + "rdfjs__formats-common", + "rdfjs__formats", + "rdfjs__namespace", + "rdfjs__parser-jsonld", + "rdfjs__parser-n3", + "rdfjs__prefix-map", + "rdfjs__score", + "rdfjs__serializer-jsonld-ext", + "rdfjs__serializer-jsonld", + "rdfjs__serializer-ntriples", + "rdfjs__serializer-rdfjs", + "rdfjs__serializer-turtle", + "rdfjs__sink-map", + "rdfjs__term-map", + "rdfjs__term-set", + "rdfjs__traverser", + "react-add-to-calendar", + "react-amplitude", + "react-anchor-link-smooth-scroll", + "react-animals", + "react-animate-on-scroll", + "react-animated-modal", + "react-aria-modal", + "react-avatar-editor", + "react-better-password", + "react-bootstrap-range-slider", + "react-cache", + "react-calendar-heatmap", + "react-canvas-draw", + "react-coinhive", + "react-color", + "react-column-resizer", + "react-command-palette", + "react-compass", + "react-cookiebot", + "react-custom-scroll", + "react-cytoscapejs", + "react-date-range/v0", + "react-document-meta", + "react-document-title", + "react-dom", + "react-dual-listbox", + "react-dynamic-number", + "react-email-editor", + "react-embed-gist", + "react-fa", + "react-facebook-login-component", + "react-facebook-login", + "react-flags-select", + "react-geosuggest", + "react-github-button", + "react-google-maps-loader", + "react-google-places-suggest", + "react-gtm-module", + "react-highcharts", + "react-highlight-words", + "react-highlight.js", + "react-highlight", + "react-hint", + "react-holder", + "react-howler", + "react-html5-camera-photo", + "react-icofont", + "react-icon-base", + "react-image-gallery", + "react-imgpro", + "react-infinite", + "react-input-mask", + "react-input-mask/v1", + "react-inspector", + "react-instantsearch-dom", + "react-instantsearch-native", + "react-instantsearch", + "react-js-table-with-csv-dl", + "react-jsonschema-form", + "react-key-handler", + "react-leaflet-markercluster", + "react-leaflet-markercluster/v2", + "react-linkify", + "react-loadable-visibility", + "react-mailchimp-subscribe", + "react-maskedinput", + "react-native-bcrypt", + "react-native-bluetooth-serial", + "react-native-dotenv", + "react-native-google-signin", + "react-native-honeywell-scanner", + "react-native-huawei-protected-apps", + "react-native-material-ui", + "react-native-modalbox", + "react-native-modern-datepicker", + "react-native-multi-slider", + "react-native-orientation", + "react-native-qrcode", + "react-native-scrollable-tab-view", + "react-native-signature-capture", + "react-native-svg-animated-linear-gradient", + "react-native-toast-native", + "react-native", + "react-native/v0.63", + "react-native/v0.64", + "react-native/v0.65", + "react-native/v0.66", + "react-native/v0.67", + "react-native/v0.68", + "react-native/v0.69", + "react-native/v0.70", + "react-native/v0.71", + "react-no-ssr", + "react-notifications-component", + "react-onsenui", + "react-outside-click-handler", + "react-paginate", + "react-paginate/v5", + "react-payment-inputs", + "react-phone-number-input", + "react-pie-menu", + "react-plyr", + "react-pointable", + "react-recaptcha-v3", + "react-recompose", + "react-responsive-spritesheet", + "react-responsive", + "react-router-navigation-core", + "react-router-navigation", + "react-router-redux", + "react-rte", + "react-s-alert", + "react-scrollspy", + "react-show-more", + "react-sidebar", + "react-signature-canvas", + "react-simple-tooltip", + "react-sortable-tree-theme-file-explorer", + "react-sortable-tree", + "react-spinner", + "react-splitter-layout", + "react-sticky-el", + "react-svg-radar-chart", + "react-swf", + "react-switch-case", + "react-syntax-highlighter", + "react-tag-autocomplete", + "react-tag-autocomplete/v5", + "react-tag-input", + "react-tap-event-plugin", + "react-text-mask", + "react-text-truncate", + "react-touch", + "react-transition-group", + "react-twitter-auth", + "react-type-animation", + "react-typical", + "react-typing-effect", + "react-typist", + "react-user-tour", + "react-widgets-moment", + "react-window-size", + "react-world-flags", + "react-youtube-embed", + "read-package-tree", + "readline-transform", + "readmore-js", + "recharts-scale", + "recompose", + "recurly__recurly-js", + "redux-cablecar", + "redux-form/v7", + "redux-localstorage-debounce", + "redux-localstorage", + "redux-mock-store/v0", + "redux-persist-transform-encrypt", + "redux-storage", + "remote-git-tags", + "remotedev-serialize", + "request-promise", + "request", + "require-hacker", + "resize-observer-browser", + "resolve", + "rest", + "restful.js", + "restify-plugins", + "resx", + "rewire", + "rickshaw", + "riderize__passport-strava-oauth2", + "riot-api-nodejs", + "riot-games-api", + "riotjs", + "rison", + "rn-fetch-blob", + "rocksdb", + "roll-a-die", + "rollup-plugin-json", + "rollup-plugin-node-globals", + "rollup-plugin-progress", + "rollup-plugin-svelte-svg", + "rollup-plugin-url", + "rosbag", + "rosie", + "route-parser", + "routie", + "royalslider", + "run-sequence", + "rx-jquery", + "rx-node", + "s3-uploader", + "safari-extension-content", + "safari-extension", + "sammy", + "sane", + "sarif", + "sat", + "satnav", + "scaleway-functions", + "schluessel", + "scorm-browser", + "screeps-arena", + "scriptable-ios", + "scriptjs", + "scrollbooster", + "scroller", + "scrollreveal", + "scrolltofixed", + "segment-analytics", + "semantic-release", + "sencha_touch", + "sequelize", + "sequelize/v3", + "sequencify", + "serverless", + "servicenow-london", + "servicenow", + "sfdx-faye", + "shakacode__recompose", + "sharepoint", + "shexj", + "short-hash", + "shortid", + "shot/v3", + "siema", + "sigmajs", + "signalfx-collect", + "signalr/v1", + "simpl-schema", + "simple-cw-node", + "simple-oauth2/v1", + "simple-oauth2/v2", + "simple-react-lightbox", + "simple-url-cache", + "simple-xml", + "simpleddp", + "sinon", + "sipml", + "siren-parser", + "six-runtime", + "sketchapp", + "ski", + "sleep", + "slice-ansi", + "smallwei__avue", + "smart-fox-server", + "snapchat-lens-studio", + "snowpack-env", + "socket.io.users", + "solid-auth-client", + "soundjs", + "space-pen", + "spectrum", + "sphere-engine-browser", + "sphere-engine-browser/v1", + "splitpanes/v1", + "spotify-web-playback-sdk", + "spreedly-iframe-browser", + "srtparsejs", + "stampit", + "stamplay-js-sdk", + "standard-version", + "steam", + "stream-meter", + "stream-series", + "stream-to-array/v0", + "string-similarity/v1", + "stringify-object", + "strip-final-newline", + "stripe-v2", + "stripe-v3", + "stripejs", + "stronghold-pay-js", + "struct", + "styled-components-react-native", + "styled-components", + "styled-components/v3", + "styled-react-modal", + "stylenames", + "stylis", + "succinct", + "suitescript", + "supertest-as-promised", + "svg-arc-to-cubic-bezier", + "svg-baker-runtime", + "svg-injector", + "svg-maps__common", + "svgdom", + "svgjs.draggable", + "svgjs.resize", + "swagger-express-middleware", + "swagger-schema-official", + "swagger2openapi", + "swig", + "swipe", + "swipeview", + "switchery", + "swiz", + "sylvester", + "systemjs", + "tableau-js-api", + "tableau", + "tadashi__koa-jwt-authz", + "tampermonkey", + "tap", + "tape", + "tasker-js-runner", + "taskkill", + "tdweb", + "tea-merge", + "teechart", + "telegram-web-app", + "tern", + "tether-shepherd", + "text-encoding", + "three", + "throttle-debounce", + "thunderbird-webext-browser", + "timed-cache", + "timelinejs", + "timezone-js", + "tinajs__tina-redux", + "titanium", + "tizen-accessory", + "to-markdown", + "to-title-case-gouch", + "tooltipster", + "topojson-specification", + "topojson", + "torrent-stream", + "tpdirect", + "trayballoon", + "trie-prefix-tree", + "trim", + "tryghost__content-api", + "twine-sugarcube", + "twitch-browser", + "twitch-ext", + "twitter-for-web", + "typography", + "tz-format", + "uglify-es", + "uikit", + "umami-browser", + "umbraco", + "underscore-ko", + "underscore.string", + "underscore", + "unescape-js", + "ungap__structured-clone", + "uni-app", + "unist", + "unist/v2", + "unity-webapi", + "unpaginated", + "update-notifier", + "url-format-lax", + "url-join/v0", + "url-parse-lax", + "url-regex-safe", + "url-state", + "urlparser", + "urlrouter", + "usage", + "use-combined-reducers", + "use-global-hook", + "use-persisted-state", + "use-sync-external-store", + "user-event", + "utils-merge", + "uuid/v2", + "uuid/v3", + "uws", + "valdr-message", + "valerie-browser", + "vanillajs-datepicker", + "vast-client", + "vast-client/v2", + "venn", + "verovio", + "vertx3-eventbus-client", + "video.js", + "videojs-contrib-quality-levels", + "viewporter", + "vimeo", + "vinyl-paths", + "vis", + "vision", + "vision/v4", + "vk-openapi", + "vmap", + "vortex-web-client", + "vscode-notebook-renderer", + "vscode-webview", + "vscode", + "vue-chartkick", + "vue-datetime", + "vue-json-compare", + "vue-ls", + "vue-markdown", + "vue-scroll-up", + "vue-select", + "vue-splitpane", + "vue-tel-input", + "vue2-datepicker", + "vue2-editor", + "w3c-css-typed-object-model-level-1", + "w3c-generic-sensor", + "w3c-image-capture", + "w3c-web-hid", + "w3c-web-nfc", + "w3c-web-serial", + "w3c-web-usb", + "wait-please", + "waitme", + "wallabyjs", + "wampy", + "weapp-api", + "web-app-manifest", + "web-ie11", + "web-locks-api", + "webappsec-credential-management", + "webassembly-web-api", + "webcl", + "webcrypto", + "webgl-ext", + "webgl2-compute", + "webgl2", + "webidl2", + "webos-service", + "webpack-env", + "webrtc", + "webscopeio__react-textarea-autocomplete", + "webscreens-window-placement", + "websql", + "webvr-api", + "webxr", + "wechat-miniprogram-xmly", + "wechat-miniprogram", + "wegame-api", + "weixin-app", + "wepy-redux", + "when", + "why-did-you-update", + "wicg-entries-api", + "wicg-file-system-access", + "wicg-js-self-profiling", + "wicg-mediasession", + "wicg-web-app-launch", + "wiiu", + "winbox", + "windows-script-host", + "winjs/v1", + "winjs/v2", + "winrt-uwp", + "winrt", + "winston-dynamodb", + "wistia-player-browser", + "wnumb", + "wonder.js", + "woosmap.map", + "wordpress__admin", + "wordpress__custom-templated-path-webpack-plugin", + "wordpress__customize-browser", + "wordpress__library-export-default-webpack-plugin", + "wordwrapjs", + "workerb-api", + "workgrid-core", + "workgrid-toolbar", + "wrap-ansi", + "wreck", + "wreck/v7", + "wrench", + "write-file-webpack-plugin", + "wx-js-sdk-browser", + "wx-js-sdk-dt", + "xast", + "xast/v1", + "xelib", + "xk6-sql-browser", + "xmldom", + "xmltojson", + "xmpp__jid", + "xrm", + "xrm/v6", + "xrm/v7", + "xrm/v8", + "xsockets", + "xss-filters", + "yandex-maps", + "yandex-metrika-tag", + "yandex-money-sdk", + "yargs-parser", + "yargs-parser/v20", + "yargs/v16", + "yargs/v16", + "yawn-yaml", + "ydn-db", + "yelp-fusion-plus", + "youtube-dl", + "youtube-player", + "youtube", + "zchat-browser", + "zedit__upf", + "zeit__next-typescript", + "zengin-code", + "zip.js", + "zmq", + "zumly", + "zwjsbridge", + "zwlog-browser" + ] +} diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 90551d4bdc8a62..4518b718503be0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,4 +1,8 @@ -# Learn more at: https://aka.ms/yaml +trigger: + - master + +pr: none + jobs: - job: npmRunTest pool: @@ -8,36 +12,10 @@ jobs: timeoutInMinutes: 360 steps: - - task: UseNode@1 - displayName: Use Node 20 - inputs: - version: 20.x - checkLatest: true - - - script: | - npm install -g $(jq -r '.packageManager' < package.json) - pnpm --version - displayName: 'Setup pnpm' - - - script: ./scripts/pnpm-install.sh - displayName: 'pnpm install' - - - script: pnpm ls - displayName: 'pnpm ls' + - checkout: self + fetchDepth: 1 + fetchTags: false - script: | - if [[ $BUILD_REASON == "Schedule" ]]; then git config --global user.email "types@microsoft.com" && git config --global user.name "TypeScript Bot" && pnpm run update-codeowners; fi - git checkout -- . - - pnpm run test-all - - displayName: 'pnpm run test-all' - - - task: PublishPipelineArtifact@1 - condition: eq(variables['System.debug'], 'true') - inputs: - targetPath: '$(Pipeline.Workspace)' - publishLocation: 'pipeline' - -trigger: - - master + echo "Disabled" + displayName: 'Do nothing' diff --git a/dangerfile.ts b/dangerfile.ts index dab5f6a10e3ec8..5ce227986e2a94 100644 --- a/dangerfile.ts +++ b/dangerfile.ts @@ -2,8 +2,8 @@ import fs = require("fs"); import os = require("os"); import path = require("path"); import cp = require("child_process"); +import { suggestionsDir } from "@definitelytyped/utils"; import { danger, fail, markdown } from "danger"; -const suggestionsDir = [os.homedir(), ".dts", "suggestions"].join("/"); const lines: string[] = []; const missingProperty = /module exports a property named '(.+?)', which is missing/; diff --git a/notNeededPackages.json b/notNeededPackages.json index ffac773cfccfc8..61757ec2cf9899 100644 --- a/notNeededPackages.json +++ b/notNeededPackages.json @@ -312,6 +312,26 @@ "libraryName": "badgen", "asOfVersion": "2.7.1" }, + "barnard59": { + "libraryName": "barnard59", + "asOfVersion": "4.4.0" + }, + "barnard59-base": { + "libraryName": "barnard59-base", + "asOfVersion": "2.3.0" + }, + "barnard59-core": { + "libraryName": "barnard59-core", + "asOfVersion": "5.3.0" + }, + "barnard59-graph-store": { + "libraryName": "barnard59-graph-store", + "asOfVersion": "5.1.0" + }, + "barnard59-validate-shacl": { + "libraryName": "barnard59-shacl", + "asOfVersion": "1.3.0" + }, "base-x": { "libraryName": "base-x", "asOfVersion": "3.0.6" diff --git a/package.json b/package.json index 613281ee62e3ae..08e95885ad4cad 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "bugs": { "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" }, - "packageManager": "pnpm@8.10.2", + "packageManager": "pnpm@8.15.1", "engines": { "pnpm": ">=8.9.2", "node": ">=7.8.0" @@ -25,7 +25,8 @@ "clean-node-modules": "node scripts/clean-node-modules.js", "test": "node --enable-source-maps node_modules/@definitelytyped/dtslint/ types", "lint": "node --enable-source-maps node_modules/@definitelytyped/dtslint/ types", - "prettier": "prettier" + "prettier": "prettier", + "setup-hooks": "husky install" }, "devDependencies": { "@definitelytyped/definitions-parser": "latest", @@ -39,16 +40,12 @@ "danger": "^11.2.3", "dprint": "^0.45.0", "eslint-plugin-jsdoc": "^44.2.7", + "husky": "^8.0.3", + "lint-staged": "^15.2.0", "remark-cli": "^11.0.0", "remark-gfm": "^3.0.0", "remark-validate-links": "^12.0.0", "typescript": "next" }, - "type": "module", - "husky": { - "hooks": { - "_comment": "This will remove husky from when we started migrating to use prettier", - "pre-commit": "npm uninstall husky" - } - } + "type": "module" } diff --git a/scripts/get-ci-matrix.js b/scripts/get-ci-matrix.js new file mode 100644 index 00000000000000..f8847560812f0a --- /dev/null +++ b/scripts/get-ci-matrix.js @@ -0,0 +1,29 @@ +const arg = process.argv[2]; + +const maxJobs = 8; + +let shardCount; + +if (arg === "all") { + shardCount = maxJobs; +} else { + const testCount = Number.parseInt(arg); + const testsPerJob = 250; + + // Attempt to spawn as many jobs as needed to have only 250 tests per job, + // up to 8 concurrent jobs. + shardCount = Math.ceil(testCount / testsPerJob); + shardCount = Math.min(shardCount, maxJobs); + shardCount = Math.max(shardCount, 1); +} + +const include = []; + +for (let i = 0; i < shardCount; i++) { + include.push({ + shardId: i + 1, + shardCount, + }); +} + +console.log(JSON.stringify({ include })); diff --git a/scripts/get-suggestions-dir.js b/scripts/get-suggestions-dir.js new file mode 100644 index 00000000000000..8d17cbe991b2a2 --- /dev/null +++ b/scripts/get-suggestions-dir.js @@ -0,0 +1,3 @@ +import { suggestionsDir } from "@definitelytyped/utils"; + +console.log(suggestionsDir); diff --git a/scripts/ghostbuster.js b/scripts/ghostbuster.js index 7894f0052efbde..6118025a83ef62 100644 --- a/scripts/ghostbuster.js +++ b/scripts/ghostbuster.js @@ -39,7 +39,7 @@ function bust(packageJsonPath, info, ghosts) { /** @param {Owner} c */ const isGhost = c => c.githubUsername && ghosts.has(c.githubUsername.toLowerCase()); if (info.owners.some(isGhost)) { - console.log(`Found one or more deleted accounts in ${packageJsonPath}. Patching...`); + console.error(`Found one or more deleted accounts in ${packageJsonPath}. Patching...`); const parsed = JSON.parse(info.raw); parsed.owners = info.owners.filter(c => !isGhost(c)); const newContent = JSON.stringify(parsed, undefined, 4); @@ -65,7 +65,7 @@ function recurse(dir, fn) { function getAllPackageJsons() { /** @type {Record} */ const headers = {}; - console.log("Reading headers..."); + console.error("Reading headers..."); recurse(new URL("../types/", import.meta.url), subpath => { const index = new URL("package.json", subpath); if (existsSync(index)) { @@ -86,9 +86,9 @@ function getAllPackageJsons() { * @param {Set} users */ async function fetchGhosts(users) { - console.log("Checking for deleted accounts..."); + console.error("Checking for deleted accounts..."); const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN }); - const maxPageSize = 2000; + const maxPageSize = 500; const pages = Math.ceil(users.size / maxPageSize); const userArray = Array.from(users); /** @type string[] */ @@ -154,11 +154,42 @@ process.on("unhandledRejection", err => { ); const ghosts = await fetchGhosts(users); if (!ghosts.size) { - console.log("No ghosts found"); + console.error("No ghosts found"); return; } + const renames = []; + for (const oldName of ghosts) { + try { + const result = await fetch(`https://github.com/${oldName}/DefinitelyTyped`, { method: "HEAD" }); + const url = new URL(result.url); + const newName = url.pathname.split("/")[1].toLowerCase(); + if (newName !== oldName) { + renames.push(`@${newName}`); + } + } catch { + // ignore + } + } + for (const indexPath in packageJsons) { bust(indexPath, packageJsons[indexPath], ghosts); } + + console.log( + "Generated from [.github/workflows/ghostbuster.yml](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/.github/workflows/ghostbuster.yml)", + ); + console.log(); + console.log( + "Some of these users may have simply changed their usernames; you may want do a bit of searching and ping them to see if they still want to be owners.", + ); + + if (renames.length) { + console.log(); + console.log( + `Hey ${ + renames.join(", ") + }, if you'd still like to be an owner for these types, please feel free (but no pressure) to add your new account name back to \`package.json\`. Thanks!`, + ); + } })(); diff --git a/types/acc-wizard/.eslintrc.json b/types/acc-wizard/.eslintrc.json index 1c7489360e7ede..5bf67bfd516c0d 100644 --- a/types/acc-wizard/.eslintrc.json +++ b/types/acc-wizard/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/acc-wizard/package.json b/types/acc-wizard/package.json index a5c3fc50b99098..93788144356afe 100644 --- a/types/acc-wizard/package.json +++ b/types/acc-wizard/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/acc-wizard", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "acc-wizard", "projects": [ "https://github.com/sathomas/acc-wizard" ], diff --git a/types/add2home/.eslintrc.json b/types/add2home/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/add2home/.eslintrc.json +++ b/types/add2home/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/add2home/package.json b/types/add2home/package.json index 6e0887dba66997..345530554cfa29 100644 --- a/types/add2home/package.json +++ b/types/add2home/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/add2home", "version": "2.0.9999", + "nonNpm": true, + "nonNpmDescription": "add2home", "projects": [ "http://cubiq.org/add-to-home-screen" ], diff --git a/types/akumina-core/.eslintrc.json b/types/akumina-core/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/akumina-core/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/akumina-core/v4/.eslintrc.json b/types/akumina-core/v4/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/akumina-core/v4/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/ali-app/tsconfig.json b/types/ali-app/tsconfig.json index f96de8907cba45..583e5939165ac0 100644 --- a/types/ali-app/tsconfig.json +++ b/types/ali-app/tsconfig.json @@ -17,8 +17,5 @@ "files": [ "index.d.ts", "ali-app-tests.ts" - ], - "exclude": [ - ".prettierrc" ] } diff --git a/types/amap-js-api/.eslintrc.json b/types/amap-js-api/.eslintrc.json index 3accbf9293bc8c..9b6fd3e0f09a7d 100644 --- a/types/amap-js-api/.eslintrc.json +++ b/types/amap-js-api/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/no-single-element-tuple-type": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/no-empty-interface": "off" } } diff --git a/types/amcharts/.eslintrc.json b/types/amcharts/.eslintrc.json index 01ad6d65a9c9e6..79ee5b5a1a5836 100644 --- a/types/amcharts/.eslintrc.json +++ b/types/amcharts/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/no-single-element-tuple-type": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/no-single-element-tuple-type": "off" } } diff --git a/types/amplifier/.eslintrc.json b/types/amplifier/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/amplifier/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/amplify-deferred/.eslintrc.json b/types/amplify-deferred/.eslintrc.json index d9f431a28057fe..0ccf472f671db3 100644 --- a/types/amplify-deferred/.eslintrc.json +++ b/types/amplify-deferred/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/amplify/.eslintrc.json b/types/amplify/.eslintrc.json index d9f431a28057fe..0ccf472f671db3 100644 --- a/types/amplify/.eslintrc.json +++ b/types/amplify/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/angular-agility/.eslintrc.json b/types/angular-agility/.eslintrc.json index d6a98828561f5a..045b5fa4a57b72 100644 --- a/types/angular-agility/.eslintrc.json +++ b/types/angular-agility/.eslintrc.json @@ -1,6 +1,7 @@ { "rules": { "@definitelytyped/dt-header": "off", + "@definitelytyped/no-type-only-packages": "off", "@definitelytyped/strict-export-declare-modifiers": "off", "@typescript-eslint/naming-convention": "off" } diff --git a/types/angular-bootstrap-lightbox/.eslintrc.json b/types/angular-bootstrap-lightbox/.eslintrc.json index f45ec9d2370d02..22c12fd9d8e0dc 100644 --- a/types/angular-bootstrap-lightbox/.eslintrc.json +++ b/types/angular-bootstrap-lightbox/.eslintrc.json @@ -1,5 +1,6 @@ { "rules": { + "@definitelytyped/no-type-only-packages": "off", "@definitelytyped/strict-export-declare-modifiers": "off", "@typescript-eslint/naming-convention": "off" } diff --git a/types/angular-clipboard/.eslintrc.json b/types/angular-clipboard/.eslintrc.json index f73edfbbe5b880..3ab4ea590b1bc1 100644 --- a/types/angular-clipboard/.eslintrc.json +++ b/types/angular-clipboard/.eslintrc.json @@ -1,5 +1,6 @@ { "rules": { - "@definitelytyped/dt-header": "off" + "@definitelytyped/dt-header": "off", + "@definitelytyped/no-type-only-packages": "off" } } diff --git a/types/angular-dialog-service/.eslintrc.json b/types/angular-dialog-service/.eslintrc.json index d35573b5b1c72b..c47b3f50daa904 100644 --- a/types/angular-dialog-service/.eslintrc.json +++ b/types/angular-dialog-service/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/naming-convention": "off" } } diff --git a/types/angular-environment/.eslintrc.json b/types/angular-environment/.eslintrc.json index f73edfbbe5b880..3ab4ea590b1bc1 100644 --- a/types/angular-environment/.eslintrc.json +++ b/types/angular-environment/.eslintrc.json @@ -1,5 +1,6 @@ { "rules": { - "@definitelytyped/dt-header": "off" + "@definitelytyped/dt-header": "off", + "@definitelytyped/no-type-only-packages": "off" } } diff --git a/types/angular-file-upload/.eslintrc.json b/types/angular-file-upload/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/angular-file-upload/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/angular-httpi/.eslintrc.json b/types/angular-httpi/.eslintrc.json index c737de27eb73f5..b998f99b964396 100644 --- a/types/angular-httpi/.eslintrc.json +++ b/types/angular-httpi/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/no-unnecessary-generics": "off", - "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/strict-export-declare-modifiers": "off" } } diff --git a/types/angular-httpi/package.json b/types/angular-httpi/package.json index d0fdbc81fd524d..2743ff71be0cf0 100644 --- a/types/angular-httpi/package.json +++ b/types/angular-httpi/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/angular-httpi", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "angular-httpi", "projects": [ "https://github.com/bennadel/httpi" ], diff --git a/types/angular-idle/.eslintrc.json b/types/angular-idle/.eslintrc.json index db1b55b94d5980..d2f42ca8616c8e 100644 --- a/types/angular-idle/.eslintrc.json +++ b/types/angular-idle/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/triple-slash-reference": "off", "@typescript-eslint/naming-convention": "off" } diff --git a/types/angular-idle/package.json b/types/angular-idle/package.json index e704a8d77461be..afc8ed4cd92d0a 100644 --- a/types/angular-idle/package.json +++ b/types/angular-idle/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/angular-idle", "version": "1.1.9999", + "nonNpm": true, + "nonNpmDescription": "angular-idle", "projects": [ "http://hackedbychinese.github.io/ng-idle/" ], diff --git a/types/angular-meteor/.eslintrc.json b/types/angular-meteor/.eslintrc.json index 053ee689f5a348..da17ceeaad7471 100644 --- a/types/angular-meteor/.eslintrc.json +++ b/types/angular-meteor/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/no-unnecessary-generics": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/naming-convention": "off" diff --git a/types/angular-modal/.eslintrc.json b/types/angular-modal/.eslintrc.json index 76c2bad0111d08..b026ac4c970fdb 100644 --- a/types/angular-modal/.eslintrc.json +++ b/types/angular-modal/.eslintrc.json @@ -1,6 +1,7 @@ { "rules": { "@definitelytyped/dt-header": "off", + "@definitelytyped/no-type-only-packages": "off", "@definitelytyped/no-unnecessary-generics": "off", "@definitelytyped/strict-export-declare-modifiers": "off", "@typescript-eslint/ban-types": "off" diff --git a/types/angular-notify/.eslintrc.json b/types/angular-notify/.eslintrc.json index db1b55b94d5980..d2f42ca8616c8e 100644 --- a/types/angular-notify/.eslintrc.json +++ b/types/angular-notify/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/triple-slash-reference": "off", "@typescript-eslint/naming-convention": "off" } diff --git a/types/angular-spinner/.eslintrc.json b/types/angular-spinner/.eslintrc.json index d6a98828561f5a..045b5fa4a57b72 100644 --- a/types/angular-spinner/.eslintrc.json +++ b/types/angular-spinner/.eslintrc.json @@ -1,6 +1,7 @@ { "rules": { "@definitelytyped/dt-header": "off", + "@definitelytyped/no-type-only-packages": "off", "@definitelytyped/strict-export-declare-modifiers": "off", "@typescript-eslint/naming-convention": "off" } diff --git a/types/angular-strap/.eslintrc.json b/types/angular-strap/.eslintrc.json index 7cb0a6457407b1..524e5d557a841b 100644 --- a/types/angular-strap/.eslintrc.json +++ b/types/angular-strap/.eslintrc.json @@ -1,6 +1,7 @@ { "rules": { - "@typescript-eslint/no-empty-interface": "off", - "@typescript-eslint/naming-convention": "off" + "@definitelytyped/no-type-only-packages": "off", + "@typescript-eslint/naming-convention": "off", + "@typescript-eslint/no-empty-interface": "off" } } diff --git a/types/angular-toasty/.eslintrc.json b/types/angular-toasty/.eslintrc.json index c9780e77c3bdf5..7ec811ca2f8b66 100644 --- a/types/angular-toasty/.eslintrc.json +++ b/types/angular-toasty/.eslintrc.json @@ -1,6 +1,7 @@ { "rules": { "@definitelytyped/dt-header": "off", + "@definitelytyped/no-type-only-packages": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/naming-convention": "off" } diff --git a/types/angular-ui-router/.eslintrc.json b/types/angular-ui-router/.eslintrc.json index 2bcb88e6719257..2c352d49ef9f99 100644 --- a/types/angular-ui-router/.eslintrc.json +++ b/types/angular-ui-router/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@definitelytyped/no-duplicate-imports": "off", "@typescript-eslint/naming-convention": "off", diff --git a/types/angular-ui-tree/.eslintrc.json b/types/angular-ui-tree/.eslintrc.json index d35573b5b1c72b..54d843ba7ee6d9 100644 --- a/types/angular-ui-tree/.eslintrc.json +++ b/types/angular-ui-tree/.eslintrc.json @@ -1,7 +1,7 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", + "@definitelytyped/no-type-only-packages": "off", "@typescript-eslint/naming-convention": "off" } } diff --git a/types/angular.throttle/.eslintrc.json b/types/angular.throttle/.eslintrc.json index adbb80516c05a3..3ac6662857cb68 100644 --- a/types/angular.throttle/.eslintrc.json +++ b/types/angular.throttle/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/triple-slash-reference": "off", "@typescript-eslint/naming-convention": "off" diff --git a/types/angular.throttle/package.json b/types/angular.throttle/package.json index 8f3ed792105f0b..9ce22b293a4b43 100644 --- a/types/angular.throttle/package.json +++ b/types/angular.throttle/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/angular.throttle", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "angular.throttle", "projects": [ "https://github.com/BaggersIO/angular.throttle" ], diff --git a/types/angularfire/.eslintrc.json b/types/angularfire/.eslintrc.json index 1c7489360e7ede..f9ee900262ddf7 100644 --- a/types/angularfire/.eslintrc.json +++ b/types/angularfire/.eslintrc.json @@ -1,7 +1,7 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", + "@definitelytyped/no-type-only-packages": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/angularlocalstorage/.eslintrc.json b/types/angularlocalstorage/.eslintrc.json index db1b55b94d5980..d2f42ca8616c8e 100644 --- a/types/angularlocalstorage/.eslintrc.json +++ b/types/angularlocalstorage/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/triple-slash-reference": "off", "@typescript-eslint/naming-convention": "off" } diff --git a/types/angularlocalstorage/package.json b/types/angularlocalstorage/package.json index 90d22a3642a2ee..a25bd80c1747b7 100644 --- a/types/angularlocalstorage/package.json +++ b/types/angularlocalstorage/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/angularlocalstorage", "version": "0.1.9999", + "nonNpm": true, + "nonNpmDescription": "angularlocalstorage", "projects": [ "https://github.com/agrublev/angularLocalStorage" ], diff --git a/types/annyang/.eslintrc.json b/types/annyang/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/annyang/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/app-root-dir/.eslintrc.json b/types/app-root-dir/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/app-root-dir/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/appframework/.eslintrc.json b/types/appframework/.eslintrc.json index 7efd1fbf4325fe..8ed536043c4296 100644 --- a/types/appframework/.eslintrc.json +++ b/types/appframework/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/prefer-declare-function": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/appframework/package.json b/types/appframework/package.json index f0bc7112ea9dfd..1efa5d26199eb3 100644 --- a/types/appframework/package.json +++ b/types/appframework/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/appframework", "version": "2.0.9999", + "nonNpm": true, + "nonNpmDescription": "appframework", "projects": [ "http://app-framework-software.intel.com/" ], diff --git a/types/apple-music-api/.eslintrc.json b/types/apple-music-api/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/apple-music-api/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/applepayjs/.eslintrc.json b/types/applepayjs/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/applepayjs/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/applepayjs/package.json b/types/applepayjs/package.json index c30ce63ce2dd44..f138e50bc41995 100644 --- a/types/applepayjs/package.json +++ b/types/applepayjs/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/applepayjs", "version": "14.0.9999", + "nonNpm": true, + "nonNpmDescription": "applepayjs", "projects": [ "https://developer.apple.com/reference/applepayjs" ], diff --git a/types/appletvjs/.eslintrc.json b/types/appletvjs/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/appletvjs/.eslintrc.json +++ b/types/appletvjs/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/appletvjs/package.json b/types/appletvjs/package.json index 980233f52b2544..7b5395c26710da 100644 --- a/types/appletvjs/package.json +++ b/types/appletvjs/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/appletvjs", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "appletvjs", "projects": [ "https://developer.apple.com/library/prerelease/tvos/documentation/TVMLJS/Reference/TVJSFrameworkReference/index.html" ], diff --git a/types/arbiter/.eslintrc.json b/types/arbiter/.eslintrc.json index 80bcb245cf48b6..ac0f657c33df9c 100644 --- a/types/arbiter/.eslintrc.json +++ b/types/arbiter/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/strict-export-declare-modifiers": "off" } } diff --git a/types/barnard59-base/.npmignore b/types/arc4/.npmignore similarity index 100% rename from types/barnard59-base/.npmignore rename to types/arc4/.npmignore diff --git a/types/arc4/arc4-tests.ts b/types/arc4/arc4-tests.ts new file mode 100644 index 00000000000000..064bf587d75f8d --- /dev/null +++ b/types/arc4/arc4-tests.ts @@ -0,0 +1,25 @@ +import arc4 = require("arc4"); +import { lodash, normal } from "arc4"; + +const cipher = arc4("arc4", "secret_key"); +const d = cipher.encodeString("ciao"); +const e = cipher.decodeString(d); + +cipher.change("foo"); +cipher.change([30, 31]); +cipher.change(Buffer.from("foo")); + +cipher.encodeString("string", "utf8", "base64"); + +cipher.encodeArray([49, 50, 51]); + +cipher.encodeBuffer(Buffer.from("ciao")); + +cipher.decodeString("string", "utf8", "base64"); + +cipher.decodeArray([49, 50, 51]); + +cipher.decodeBuffer(Buffer.from("ciao")); + +const cipher2 = normal("rc4+", [1, 2, 3]); +const cipher3 = lodash("vmpc", Buffer.from("hello")); diff --git a/types/arc4/index.d.ts b/types/arc4/index.d.ts new file mode 100644 index 00000000000000..b5e63664dcadc7 --- /dev/null +++ b/types/arc4/index.d.ts @@ -0,0 +1,117 @@ +/// + +type ArcAlgorithm = "arc4" | "rc4+" | "rc4a" | "vmpc"; + +type AlgoToClass = T extends "arc4" ? Arc4 + : T extends "rc4+" ? Rc4p + : T extends "rc4a" ? Rc4a + : T extends "vmpc" ? Vmpc + : never; + +declare function arc4( + algorithm: T, + password: string | any[] | Buffer, + lodash?: boolean, +): AlgoToClass; + +declare class Arc4 { + constructor(key: string | any[] | Buffer); + change(key: string | any[] | Buffer): void; + codeString(str: string): string; + encodeString(str: string, input_encoding?: BufferEncoding, output_encoding?: BufferEncoding): string; + decodeString(str: string, input_encoding?: BufferEncoding, output_encoding?: BufferEncoding): string; + encodeArray(arr: any[]): any[]; + decodeArray(arr: any[]): any[]; + encodeBuffer(buf: Buffer): Buffer; + decodeBuffer(buf: Buffer): Buffer; + encode( + boh: string | any[] | Buffer, + input_encoding?: BufferEncoding, + output_encoding?: BufferEncoding, + ): string | any[] | Buffer; + decode( + boh: string | any[] | Buffer, + input_encoding?: BufferEncoding, + output_encoding?: BufferEncoding, + ): string | any[] | Buffer; +} + +declare class Rc4p { + constructor(key: string | any[] | Buffer); + change(key: string | any[] | Buffer): void; + codeString(str: string): string; + encodeString(str: string, input_encoding?: BufferEncoding, output_encoding?: BufferEncoding): string; + decodeString(str: string, input_encoding?: BufferEncoding, output_encoding?: BufferEncoding): string; + encodeArray(arr: any[]): any[]; + decodeArray(arr: any[]): any[]; + encodeBuffer(buf: Buffer): Buffer; + decodeBuffer(buf: Buffer): Buffer; + encode( + boh: string | any[] | Buffer, + input_encoding?: BufferEncoding, + output_encoding?: BufferEncoding, + ): string | any[] | Buffer; + decode( + boh: string | any[] | Buffer, + input_encoding?: BufferEncoding, + output_encoding?: BufferEncoding, + ): string | any[] | Buffer; +} + +declare class Rc4a { + constructor(key: string | any[] | Buffer); + change(key: string | any[] | Buffer): void; + codeString(str: string): string; + encodeString(str: string, input_encoding?: BufferEncoding, output_encoding?: BufferEncoding): string; + decodeString(str: string, input_encoding?: BufferEncoding, output_encoding?: BufferEncoding): string; + encodeArray(arr: any[]): any[]; + decodeArray(arr: any[]): any[]; + encodeBuffer(buf: Buffer): Buffer; + decodeBuffer(buf: Buffer): Buffer; + encode( + boh: string | any[] | Buffer, + input_encoding?: BufferEncoding, + output_encoding?: BufferEncoding, + ): string | any[] | Buffer; + decode( + boh: string | any[] | Buffer, + input_encoding?: BufferEncoding, + output_encoding?: BufferEncoding, + ): string | any[] | Buffer; +} + +declare class Vmpc { + constructor(key: string | any[] | Buffer); + change(key: string | any[] | Buffer): void; + codeString(str: string): string; + encodeString(str: string, input_encoding?: BufferEncoding, output_encoding?: BufferEncoding): string; + decodeString(str: string, input_encoding?: BufferEncoding, output_encoding?: BufferEncoding): string; + encodeArray(arr: any[]): any[]; + decodeArray(arr: any[]): any[]; + encodeBuffer(buf: Buffer): Buffer; + decodeBuffer(buf: Buffer): Buffer; + encode( + boh: string | any[] | Buffer, + input_encoding?: BufferEncoding, + output_encoding?: BufferEncoding, + ): string | any[] | Buffer; + decode( + boh: string | any[] | Buffer, + input_encoding?: BufferEncoding, + output_encoding?: BufferEncoding, + ): string | any[] | Buffer; +} + +declare namespace arc4 { + function normal( + algorithm: T, + password: string | any[] | Buffer, + ): AlgoToClass; + + function lodash( + algorithm: T, + password: string | any[] | Buffer, + ): AlgoToClass; +} + +export = arc4; diff --git a/types/arc4/package.json b/types/arc4/package.json new file mode 100644 index 00000000000000..071eb72d49196b --- /dev/null +++ b/types/arc4/package.json @@ -0,0 +1,20 @@ +{ + "private": true, + "name": "@types/arc4", + "version": "3.4.9999", + "projects": [ + "https://github.com/hex7c0/arc4" + ], + "devDependencies": { + "@types/arc4": "workspace:." + }, + "dependencies": { + "@types/node": "*" + }, + "owners": [ + { + "name": "Maximilian Hofmann", + "githubUsername": "hofmmaxi" + } + ] +} diff --git a/types/arc4/tsconfig.json b/types/arc4/tsconfig.json new file mode 100644 index 00000000000000..62c7806d0cd8b0 --- /dev/null +++ b/types/arc4/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es5" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "arc4-tests.ts" + ] +} diff --git a/types/arcgis-rest-api/.eslintrc.json b/types/arcgis-rest-api/.eslintrc.json index 0ccf472f671db3..0fa63f9ca92b75 100644 --- a/types/arcgis-rest-api/.eslintrc.json +++ b/types/arcgis-rest-api/.eslintrc.json @@ -1,5 +1,6 @@ { "rules": { + "@definitelytyped/no-type-only-packages": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/barnard59-core/.npmignore b/types/array.prototype.every/.npmignore similarity index 100% rename from types/barnard59-core/.npmignore rename to types/array.prototype.every/.npmignore diff --git a/types/array.prototype.every/array.prototype.every-tests.ts b/types/array.prototype.every/array.prototype.every-tests.ts new file mode 100644 index 00000000000000..f2a1b66c9e903b --- /dev/null +++ b/types/array.prototype.every/array.prototype.every-tests.ts @@ -0,0 +1,29 @@ +import every = require("array.prototype.every"); +import "array.prototype.every/auto"; +import implementation = require("array.prototype.every/implementation"); +import getPolyfill = require("array.prototype.every/polyfill"); +import shim = require("array.prototype.every/shim"); + +const predicate = (x: any, i: number) => i > 1; + +every([1, 2], predicate); // $ExpectType boolean + +// `getPolyfill` returns an implementation +getPolyfill() === Array.prototype.every; // $ExpectType boolean + +["foo"].every(predicate); // $ExpectType boolean + +// `shim` installs an implementation in `Array` prototype and returns it +shim() === Array.prototype.every; // $ExpectType boolean + +(function(...args: unknown[]): void { + // $ExpectType boolean + every(arguments, function() { + return true; + }); +})(1, 2, "3"); + +// `getPolyfill`, `implementation`, and `shim` are properties of the `every` function. +const _getPolyfill: typeof getPolyfill = every.getPolyfill; +const _implementation: typeof implementation = every.implementation; +const _shim: typeof shim = every.shim; diff --git a/types/array.prototype.every/auto.d.ts b/types/array.prototype.every/auto.d.ts new file mode 100644 index 00000000000000..59886cc193f668 --- /dev/null +++ b/types/array.prototype.every/auto.d.ts @@ -0,0 +1,7 @@ +interface ReadonlyArray { + every( + this: T[] | IArguments, + callbackfn: (value: T, index?: number, array?: T[]) => boolean, + thisArg?: unknown, + ): boolean; +} diff --git a/types/array.prototype.every/implementation.d.ts b/types/array.prototype.every/implementation.d.ts new file mode 100644 index 00000000000000..fc6140be160b7b --- /dev/null +++ b/types/array.prototype.every/implementation.d.ts @@ -0,0 +1,7 @@ +declare function every( + this: T[] | IArguments, + callbackfn: (value: T, index?: number, array?: T[]) => boolean, + thisArg?: unknown, +): boolean; + +export = every; diff --git a/types/array.prototype.every/index.d.ts b/types/array.prototype.every/index.d.ts new file mode 100644 index 00000000000000..b1f1e111db776a --- /dev/null +++ b/types/array.prototype.every/index.d.ts @@ -0,0 +1,17 @@ +import implementation = require("./implementation"); + +type Implementation = typeof implementation; + +interface Every { + ( + array: T[] | IArguments, + callbackfn: (value: T, index: number, array: T[]) => boolean, + thisArg?: unknown, + ): boolean; + getPolyfill(): Implementation; + implementation: Implementation; + shim(): Implementation; +} + +declare const every: Every; +export = every; diff --git a/types/array.prototype.every/package.json b/types/array.prototype.every/package.json new file mode 100644 index 00000000000000..75de45c7c6d562 --- /dev/null +++ b/types/array.prototype.every/package.json @@ -0,0 +1,17 @@ +{ + "private": true, + "name": "@types/array.prototype.every", + "version": "1.1.9999", + "projects": [ + "https://github.com/es-shims/Array.prototype.every#readme" + ], + "devDependencies": { + "@types/array.prototype.every": "workspace:." + }, + "owners": [ + { + "name": "Jordan Harband", + "githubUsername": "ljharb" + } + ] +} diff --git a/types/array.prototype.every/polyfill.d.ts b/types/array.prototype.every/polyfill.d.ts new file mode 100644 index 00000000000000..8bee5b267a0412 --- /dev/null +++ b/types/array.prototype.every/polyfill.d.ts @@ -0,0 +1,4 @@ +import implementation = require("./implementation"); + +declare function getPolyfill(): typeof implementation; +export = getPolyfill; diff --git a/types/array.prototype.every/shim.d.ts b/types/array.prototype.every/shim.d.ts new file mode 100644 index 00000000000000..1bc8b971372795 --- /dev/null +++ b/types/array.prototype.every/shim.d.ts @@ -0,0 +1,4 @@ +import implementation = require("./implementation"); + +declare function shim(): typeof implementation; +export = shim; diff --git a/types/array.prototype.every/tsconfig.json b/types/array.prototype.every/tsconfig.json new file mode 100644 index 00000000000000..296c3921516f99 --- /dev/null +++ b/types/array.prototype.every/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "auto.d.ts", + "polyfill.d.ts", + "implementation.d.ts", + "shim.d.ts", + "array.prototype.every-tests.ts" + ] +} diff --git a/types/artillery/.eslintrc.json b/types/artillery/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/artillery/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/async-retry/.eslintrc.json b/types/async-retry/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/async-retry/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/atmosphere.js/.eslintrc.json b/types/atmosphere.js/.eslintrc.json index e3b68f53c7c89b..857e77140fb3cd 100644 --- a/types/atmosphere.js/.eslintrc.json +++ b/types/atmosphere.js/.eslintrc.json @@ -3,7 +3,6 @@ "@definitelytyped/dt-header": "off", "@definitelytyped/no-declare-current-package": "off", "@definitelytyped/no-single-declare-module": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/atom/package.json b/types/atom/package.json index c17157a1104ba4..452161cce2706f 100644 --- a/types/atom/package.json +++ b/types/atom/package.json @@ -2,7 +2,7 @@ "private": true, "name": "@types/atom", "version": "1.40.9999", - "nonNpm": true, + "nonNpm": "conflict", "nonNpmDescription": "Atom", "projects": [ "https://github.com/atom/atom" diff --git a/types/auth0.widget/.eslintrc.json b/types/auth0.widget/.eslintrc.json index c7309c55fa0c48..ad17350352f9eb 100644 --- a/types/auth0.widget/.eslintrc.json +++ b/types/auth0.widget/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/no-misused-new": "off" } diff --git a/types/auth0.widget/package.json b/types/auth0.widget/package.json index cbd063ecf7760d..75924ca338e2f9 100644 --- a/types/auth0.widget/package.json +++ b/types/auth0.widget/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/auth0.widget", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "auth0.widget", "projects": [ "http://auth0.com" ], diff --git a/types/aws-cloudfront-function/.eslintrc.json b/types/aws-cloudfront-function/.eslintrc.json index 603c79ec316965..4c387a7c50e573 100644 --- a/types/aws-cloudfront-function/.eslintrc.json +++ b/types/aws-cloudfront-function/.eslintrc.json @@ -1,5 +1,5 @@ { "rules": { - "@definitelytyped/npm-naming": "off" + "@definitelytyped/no-type-only-packages": "off" } } diff --git a/types/aws-lambda/.eslintrc.json b/types/aws-lambda/.eslintrc.json index efd71c1a6c0e5f..0f7b7412939420 100644 --- a/types/aws-lambda/.eslintrc.json +++ b/types/aws-lambda/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/npm-naming": "off", "@typescript-eslint/no-empty-interface": "off" } } diff --git a/types/aws-lambda/package.json b/types/aws-lambda/package.json index 581bac5acdf4c6..1a6041377042c3 100644 --- a/types/aws-lambda/package.json +++ b/types/aws-lambda/package.json @@ -26,10 +26,6 @@ "name": "Rich Buggy", "githubUsername": "buggy" }, - { - "name": "Yoriki Yamaguchi", - "githubUsername": "y13i" - }, { "name": "wwwy3y3", "githubUsername": "wwwy3y3" @@ -134,10 +130,6 @@ "name": "Marian Zange", "githubUsername": "marianzange" }, - { - "name": "Alexander Pepper", - "githubUsername": "apepper" - }, { "name": "Alessandro Palumbo", "githubUsername": "apalumbo" diff --git a/types/azdata/.eslintrc.json b/types/azdata/.eslintrc.json index cb0e0ea8938bbd..f54fbe06846818 100644 --- a/types/azdata/.eslintrc.json +++ b/types/azdata/.eslintrc.json @@ -4,7 +4,6 @@ "@definitelytyped/no-declare-current-package": "off", "@definitelytyped/strict-export-declare-modifiers": "off", "@definitelytyped/no-single-declare-module": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/naming-convention": "off", "@typescript-eslint/explicit-member-accessibility": "off", diff --git a/types/azure-mobile-services-client/.eslintrc.json b/types/azure-mobile-services-client/.eslintrc.json index 52db66b413be58..b13b2ef53a8952 100644 --- a/types/azure-mobile-services-client/.eslintrc.json +++ b/types/azure-mobile-services-client/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/naming-convention": "off", "@typescript-eslint/no-misused-new": "off" diff --git a/types/azure-mobile-services-client/package.json b/types/azure-mobile-services-client/package.json index a541191f644428..38dc3ee4db1d98 100644 --- a/types/azure-mobile-services-client/package.json +++ b/types/azure-mobile-services-client/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/azure-mobile-services-client", "version": "1.0.9999", + "nonNpm": true, + "nonNpmDescription": "azure-mobile-services-client", "projects": [ "http://www.windowsazure.com/en-us/develop/mobile/" ], diff --git a/types/babel__plugin-transform-runtime/.eslintrc.json b/types/babel__plugin-transform-runtime/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/babel__plugin-transform-runtime/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/babel__preset-env/.eslintrc.json b/types/babel__preset-env/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/babel__preset-env/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/babylon-walk/.eslintrc.json b/types/babylon-walk/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/babylon-walk/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/backbone.localstorage/.eslintrc.json b/types/backbone.localstorage/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/backbone.localstorage/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/backgrid/.eslintrc.json b/types/backgrid/.eslintrc.json index afd6dd79e976cb..74747947dd2149 100644 --- a/types/backgrid/.eslintrc.json +++ b/types/backgrid/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/export-just-namespace": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/export-just-namespace": "off" } } diff --git a/types/barnard59-base/.eslintrc.json b/types/barnard59-base/.eslintrc.json deleted file mode 100644 index 79ee5b5a1a5836..00000000000000 --- a/types/barnard59-base/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/no-single-element-tuple-type": "off" - } -} diff --git a/types/barnard59-base/barnard59-base-tests.ts b/types/barnard59-base/barnard59-base-tests.ts deleted file mode 100644 index 0cb62caad43313..00000000000000 --- a/types/barnard59-base/barnard59-base-tests.ts +++ /dev/null @@ -1,136 +0,0 @@ -import { - combine, - concat, - filter, - flatten, - glob, - jsonParse, - jsonStringify, - limit, - map, - nul, - offset, - stdout, - toString, -} from "barnard59-base"; -import { object as concatObject } from "barnard59-base/concat"; -import forEach from "barnard59-base/forEach"; -import { Callback } from "barnard59-base/map"; -import * as toReadable from "barnard59-base/toReadable"; -import Pipeline from "barnard59-core/lib/Pipeline"; -import { Duplex, Readable, Transform, Writable } from "readable-stream"; -import * as stream from "stream"; - -function testCombine() { - // prettier-ignore - const a: stream.Readable = {}; - // prettier-ignore - const b: stream.Readable = {}; - // prettier-ignore - const c: stream.Writable = {}; - - const combinedDuplex: stream.Duplex = combine([a, b, c]); - const combineSingle: stream.Readable = combine([a]); - - const combinedWithOpts: stream.Duplex = combine([a, b, c], { - allowHalfOpen: true, - }); -} - -function testConcat() { - // prettier-ignore - const streams: stream[] = {}; - - let concatenated: Readable; - - concatenated = concat(...streams); - concatenated = concat.object(...streams); - concatenated = concatObject(...streams); -} - -function testFilter() { - interface Foo { - bar: string; - } - - const filtered: stream.Transform = filter(function filterFunc(chunk) { - return chunk.bar === this.variables.get("baz"); - }); - - const filteredAsync: stream.Transform = filter(async function filterFunc(chunk) { - return chunk.bar === this.variables.get("baz"); - }); -} - -function testFlatten() { - const flattened: stream.Transform = flatten(); -} - -function testForEach() { - // prettier-ignore - const pipeline: Pipeline = {}; - - let loop: Duplex = forEach(pipeline); - loop = forEach(pipeline, "foo"); -} - -function testGlob() { - let globbed: Readable = glob({ - pattern: "foo/**/bar", - }); - - globbed = glob({ - pattern: "*.foo", - absolute: true, - }); -} - -function testJson() { - const parsed: stream.Transform = jsonParse(); - const stringified: stream.Transform = jsonStringify(); -} - -function testLimit() { - const limited: stream.Transform = limit(5); -} - -function testMap() { - interface Foo { - bar: number; - } - - const syncMap: Callback = function mapFunc(chunk, _) { - const baz: number = this.variables.get("baz"); - - return chunk.bar * baz; - }; - - const mapped: stream.Transform = map(syncMap); - - const lazyMapped: stream.Transform = map(async function mapFunc(chunk, _) { - const baz: number = this.variables.get("baz"); - - return chunk.bar * baz; - }); -} - -function testNul() { - const nulled: Writable = nul(); -} - -function testOffset() { - const offsetted: stream.Transform = offset(10); -} - -function testStdOut() { - const transform: stream.Transform = stdout(); -} - -function testToReadable() { - const fromString: Readable = toReadable.string("foo"); - const fromObject: Readable = toReadable.object({}); -} - -function testToString() { - const stream: Transform = toString(); -} diff --git a/types/barnard59-base/combine.d.ts b/types/barnard59-base/combine.d.ts deleted file mode 100644 index 68d3eb32171ccd..00000000000000 --- a/types/barnard59-base/combine.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import * as stream from "stream"; - -type FirstOrDuplex = T[1] extends never ? stream.Duplex : First; - -export default function combine( - streams: [T] | stream[], - options?: stream.DuplexOptions, -): FirstOrDuplex; - -export {}; diff --git a/types/barnard59-base/concat.d.ts b/types/barnard59-base/concat.d.ts deleted file mode 100644 index d338f4d4b2e5d7..00000000000000 --- a/types/barnard59-base/concat.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { Readable } from "readable-stream"; -import { Stream } from "stream"; - -declare class ConcatStream extends Readable { - streams: Stream[]; - objectMode: boolean; -} - -export function object(...streams: Stream[]): ConcatStream; - -interface Factory { - (...streams: Stream[]): ConcatStream; - object: typeof object; -} - -declare const factory: Factory; - -export default factory; diff --git a/types/barnard59-base/filter.d.ts b/types/barnard59-base/filter.d.ts deleted file mode 100644 index a43fe07c71a364..00000000000000 --- a/types/barnard59-base/filter.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Context } from "barnard59-core"; -import * as stream from "stream"; - -export interface Filter { - (this: Context, chunk: T, encoding: string): boolean | Promise; -} - -// eslint-disable-next-line @definitelytyped/no-unnecessary-generics -export default function filter(func: Filter): stream.Transform; diff --git a/types/barnard59-base/flatten.d.ts b/types/barnard59-base/flatten.d.ts deleted file mode 100644 index 8786edd20f8a67..00000000000000 --- a/types/barnard59-base/flatten.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as stream from "stream"; - -export default function flatten(): stream.Transform; diff --git a/types/barnard59-base/forEach.d.ts b/types/barnard59-base/forEach.d.ts deleted file mode 100644 index 422bf97dd98948..00000000000000 --- a/types/barnard59-base/forEach.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import Pipeline from "barnard59-core/lib/Pipeline"; -import { Duplex } from "readable-stream"; - -export default function forEach(pipeline: Pipeline, variable?: string): Duplex; -export {}; diff --git a/types/barnard59-base/glob.d.ts b/types/barnard59-base/glob.d.ts deleted file mode 100644 index 0344529ec605fe..00000000000000 --- a/types/barnard59-base/glob.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import * as G from "glob"; -import { Readable } from "readable-stream"; - -interface Options extends G.IOptions { - pattern: string; -} - -export default function glob(arg: Options): Readable; -export {}; diff --git a/types/barnard59-base/index.d.ts b/types/barnard59-base/index.d.ts deleted file mode 100644 index f142f25f57c4ee..00000000000000 --- a/types/barnard59-base/index.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/// - -import { Writable } from "readable-stream"; - -export { default as combine } from "./combine"; -export { default as concat, object as concatObject } from "./concat"; -export { default as filter } from "./filter"; -export { default as flatten } from "./flatten"; -export { default as glob } from "./glob"; -export { parse as jsonParse, stringify as jsonStringify } from "./json"; -export { default as limit } from "./limit"; -export { default as map } from "./map"; -export function nul(): Writable; -export { default as offset } from "./offset"; -export { default as stdout } from "./stdout"; -export { default as toString } from "./toString"; diff --git a/types/barnard59-base/json.d.ts b/types/barnard59-base/json.d.ts deleted file mode 100644 index 088cc2d07bc5aa..00000000000000 --- a/types/barnard59-base/json.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import * as stream from "stream"; - -export function parse(): stream.Transform; -export function stringify(): stream.Transform; diff --git a/types/barnard59-base/limit.d.ts b/types/barnard59-base/limit.d.ts deleted file mode 100644 index 081de2619623a6..00000000000000 --- a/types/barnard59-base/limit.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as stream from "stream"; - -export default function limit(limit: number): stream.Transform; diff --git a/types/barnard59-base/map.d.ts b/types/barnard59-base/map.d.ts deleted file mode 100644 index 90668d67fca0f5..00000000000000 --- a/types/barnard59-base/map.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Context } from "barnard59-core"; -import * as stream from "stream"; - -export interface Callback { - (this: Context, chunk: From, encoding: string): Promise | To; -} - -// eslint-disable-next-line @definitelytyped/no-unnecessary-generics -export default function map( - cb: Callback, -): stream.Transform; diff --git a/types/barnard59-base/offset.d.ts b/types/barnard59-base/offset.d.ts deleted file mode 100644 index d3d2db394c4e0c..00000000000000 --- a/types/barnard59-base/offset.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as stream from "stream"; - -export default function offset(offset: number): stream.Transform; diff --git a/types/barnard59-base/package.json b/types/barnard59-base/package.json deleted file mode 100644 index 8ca00b169ece16..00000000000000 --- a/types/barnard59-base/package.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "private": true, - "name": "@types/barnard59-base", - "version": "1.0.9999", - "projects": [ - "https://github.com/zazuko/barnard59-base" - ], - "dependencies": { - "@types/barnard59-core": "*", - "@types/glob": "~7.2.0", - "@types/node": "*", - "@types/readable-stream": "*" - }, - "devDependencies": { - "@types/barnard59-base": "workspace:." - }, - "owners": [ - { - "name": "Tomasz Pluskiewicz", - "githubUsername": "tpluscode" - }, - { - "name": "Benjamin Hofstetter", - "githubUsername": "BenjaminHofstetter" - } - ] -} diff --git a/types/barnard59-base/stdout.d.ts b/types/barnard59-base/stdout.d.ts deleted file mode 100644 index 45930e3ed8553c..00000000000000 --- a/types/barnard59-base/stdout.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as stream from "stream"; - -export default function factory(): stream.Transform; diff --git a/types/barnard59-base/toReadable.d.ts b/types/barnard59-base/toReadable.d.ts deleted file mode 100644 index e8871ecaaf903b..00000000000000 --- a/types/barnard59-base/toReadable.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Readable } from "readable-stream"; - -export function string(str: string): Readable; -export function object(obj: unknown): Readable; diff --git a/types/barnard59-base/toString.d.ts b/types/barnard59-base/toString.d.ts deleted file mode 100644 index 8cc704824377ec..00000000000000 --- a/types/barnard59-base/toString.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Transform } from "readable-stream"; - -export default function factor(): Transform; diff --git a/types/barnard59-base/tsconfig.json b/types/barnard59-base/tsconfig.json deleted file mode 100644 index bd99fb381d254c..00000000000000 --- a/types/barnard59-base/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "barnard59-base-tests.ts" - ] -} diff --git a/types/barnard59-core/barnard59-core-tests.ts b/types/barnard59-core/barnard59-core-tests.ts deleted file mode 100644 index 9e6a41d776dbde..00000000000000 --- a/types/barnard59-core/barnard59-core-tests.ts +++ /dev/null @@ -1,138 +0,0 @@ -import { createPipeline, defaultLogger, PipelineStep, run, VariableMap } from "barnard59-core"; -import Pipeline, { Context } from "barnard59-core/lib/Pipeline"; -import Step from "barnard59-core/lib/Step"; -import StreamObject from "barnard59-core/lib/StreamObject"; -import { GraphPointer } from "clownface"; -import { LoaderRegistry } from "rdf-loaders-registry"; -import * as Stream from "readable-stream"; -import { Logger } from "winston"; - -function testCreatePipeline() { - const ptr: GraphPointer = {}; - const loaderRegistry: LoaderRegistry = {}; - const logger: Logger = {}; - - let pipeline: Pipeline; - - pipeline = createPipeline(ptr); - pipeline = createPipeline(ptr, { basePath: "" }); - pipeline = createPipeline(ptr, { - basePath: "", - loaderRegistry, - context: {}, - logger, - variables: new Map(), - }); -} - -function testDefaultLogger() { - let logger: Logger; - - logger = defaultLogger(); - logger = defaultLogger({}); - - const level: "error" | "info" | "debug" = "error"; - logger = defaultLogger({ - level, - }); - - logger = defaultLogger({ - console: true, - }); - - logger = defaultLogger({ - errorFilename: "./err.log", - }); - - logger = defaultLogger({ - filename: "pipeline.log", - }); -} - -async function testRun() { - const pipeline: Pipeline = {}; - - await run(pipeline); - await run(pipeline, { - end: true, - }); - await run(pipeline, { - resume: true, - }); -} - -declare module "barnard59-core" { - interface Variables { - foo: string; - bar: number; - } -} - -function testAugmentedVariables(variables: VariableMap) { - variables.set("foo", "bar"); - // @ts-expect-error - variables.set("foo", {}); - - const foo: string = variables.get("foo"); - const bar: number = variables.get("bar"); - // @ts-expect-error - const notBar: string = variables.get("bar"); -} - -function testPipeline() { - let basePath: string; - let children: StreamObject[]; - let context: Context; - let loaderRegistry: LoaderRegistry; - let logger: Logger; - let ptr: GraphPointer; - let variables: VariableMap; - let stream: Stream.Readable | Stream.Writable; - - const pipeline: Pipeline = {}; - - ({ - basePath, - children, - context, - logger, - ptr, - variables, - stream, - loaderRegistry, - } = pipeline); -} - -function testStep() { - let basePath: string; - let children: StreamObject[]; - let context: Context; - let loaderRegistry: LoaderRegistry; - let logger: Logger; - let ptr: GraphPointer; - let variables: VariableMap; - let args: unknown[] | Record; - let operation: unknown; - let stream: Stream.Readable | Stream.Writable; - - const step: Step = {}; - - ({ - basePath, - children, - context, - logger, - ptr, - variables, - stream, - args, - operation, - loaderRegistry, - } = step); - - basePath = context.basePath; -} - -function testStepFactory(this: Context, pipelineStep: PipelineStep) { - return this.createPipeline(pipelineStep.pipeline.ptr); -} diff --git a/types/barnard59-core/index.d.ts b/types/barnard59-core/index.d.ts deleted file mode 100644 index 91fbe1be1334ee..00000000000000 --- a/types/barnard59-core/index.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Readable } from "readable-stream"; -import { Logger } from "winston"; -import LoaderRegistry = require("rdf-loaders-registry"); -import Pipeline from "./lib/Pipeline.js"; -export { default as createPipeline } from "./lib/factory/pipeline.js"; -export { default as run } from "./lib/run.js"; -export { Context, VariableMap, Variables } from "./lib/StreamObject.js"; - -interface DefaultLogger { - console?: boolean; - errorFilename?: string | null; - filename?: string | null; - level?: "error" | "info" | "debug"; -} - -declare function defaultLogger(arg?: DefaultLogger): Logger; - -declare const defaultLoaderRegistry: LoaderRegistry; - -export { defaultLoaderRegistry, defaultLogger }; - -/** - * This interface represents a pipeline loaded as step argument - */ -export interface PipelineStep extends Readable { - pipeline: Pipeline; -} diff --git a/types/barnard59-core/lib/Pipeline.d.ts b/types/barnard59-core/lib/Pipeline.d.ts deleted file mode 100644 index fc195ad465b316..00000000000000 --- a/types/barnard59-core/lib/Pipeline.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import * as stream from "readable-stream"; -import StreamObject from "./StreamObject.js"; - -export { Context } from "./StreamObject.js"; - -export default class Pipeline extends StreamObject { - readable: boolean; - readableObjectMode: boolean; - writable: boolean; - writableObjectMode: boolean; - onInit: () => void; - init: () => void; - stream: stream.Readable | stream.Writable; - - get firstChild(): StreamObject; - get lastChild(): StreamObject; - - destroy(err: Error): void; - finish(): stream["push"]; -} - -export {}; diff --git a/types/barnard59-core/lib/Step.d.ts b/types/barnard59-core/lib/Step.d.ts deleted file mode 100644 index 2455b798b8f772..00000000000000 --- a/types/barnard59-core/lib/Step.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import * as stream from "readable-stream"; -import StreamObject from "./StreamObject.js"; - -export default class Step extends StreamObject { - args: unknown[] | Record; - operation: unknown; - stream: stream.Readable | stream.Writable; -} - -export {}; diff --git a/types/barnard59-core/lib/StreamObject.d.ts b/types/barnard59-core/lib/StreamObject.d.ts deleted file mode 100644 index 5b9164c2339f61..00000000000000 --- a/types/barnard59-core/lib/StreamObject.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { GraphPointer } from "clownface"; -import { LoaderRegistry } from "rdf-loaders-registry"; -import * as stream from "readable-stream"; -import { Logger } from "winston"; -import { CreatePipelineArgs } from "./factory/pipeline.js"; -import Pipeline from "./Pipeline.js"; - -// eslint-disable-next-line @typescript-eslint/no-empty-interface -export interface Variables {} - -type Keys = keyof Variables extends never ? string : keyof Variables; - -interface TypedMap extends Map { - // eslint-disable-next-line @definitelytyped/no-unnecessary-generics - get(key: K): Variables[typeof key]; - // eslint-disable-next-line @definitelytyped/no-unnecessary-generics - set(key: K, value: Variables[typeof key] | undefined): this; -} - -export type VariableMap = keyof Variables extends never ? Map : TypedMap; - -export interface Context { - logger: Logger; - variables: VariableMap; - basePath: string; - createPipeline(ptr: GraphPointer, arg?: Partial): Pipeline; -} - -export default class StreamObject { - basePath: string; - children: StreamObject[]; - context: Context; - loaderRegistry: LoaderRegistry; - logger: Logger; - ptr: GraphPointer; - variables: VariableMap; - stream?: stream.Readable | stream.Writable; -} - -export {}; diff --git a/types/barnard59-core/lib/factory/pipeline.d.ts b/types/barnard59-core/lib/factory/pipeline.d.ts deleted file mode 100644 index 2bc504b60f8c1d..00000000000000 --- a/types/barnard59-core/lib/factory/pipeline.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { GraphPointer } from "clownface"; -import { LoaderRegistry } from "rdf-loaders-registry"; -import { Logger } from "winston"; -import { VariableMap } from "../.."; -import Pipeline from "../Pipeline"; - -export interface CreatePipelineArgs { - basePath: string; - context?: unknown; - loaderRegistry?: LoaderRegistry; - logger?: Logger; - variables?: VariableMap; -} - -export default function createPipeline(ptr: GraphPointer, arg?: CreatePipelineArgs): Pipeline; -export {}; diff --git a/types/barnard59-core/lib/run.d.ts b/types/barnard59-core/lib/run.d.ts deleted file mode 100644 index e97a447c66e507..00000000000000 --- a/types/barnard59-core/lib/run.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import Pipeline from "./Pipeline.js"; - -interface Run { - end?: boolean; - resume?: boolean; -} - -export default function run(pipeline: Pipeline, opts?: Run): Promise; -export {}; diff --git a/types/barnard59-core/package.json b/types/barnard59-core/package.json deleted file mode 100644 index 6213eb3cefbb0e..00000000000000 --- a/types/barnard59-core/package.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "private": true, - "name": "@types/barnard59-core", - "version": "1.0.9999", - "type": "module", - "projects": [ - "https://github.com/zazuko/barnard59-core" - ], - "dependencies": { - "@types/clownface": "*", - "@types/node": "*", - "@types/rdf-loaders-registry": "^0.3.0", - "@types/readable-stream": "*", - "rdf-js": "^4.0.2", - "winston": "^3.3.3" - }, - "devDependencies": { - "@types/barnard59-core": "workspace:." - }, - "owners": [ - { - "name": "tpluscode", - "githubUsername": "tpluscode" - }, - { - "name": "Benjamin Hofstetter", - "githubUsername": "BenjaminHofstetter" - } - ] -} diff --git a/types/barnard59-core/tsconfig.json b/types/barnard59-core/tsconfig.json deleted file mode 100644 index 9dd11c1ae8fb21..00000000000000 --- a/types/barnard59-core/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "barnard59-core-tests.ts" - ] -} diff --git a/types/barnard59-graph-store/barnard59-graph-store-tests.ts b/types/barnard59-graph-store/barnard59-graph-store-tests.ts deleted file mode 100644 index 3a479758c686a5..00000000000000 --- a/types/barnard59-graph-store/barnard59-graph-store-tests.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { get, post, put } from "barnard59-graph-store"; -import { DefaultGraph, NamedNode, Stream } from "rdf-js"; -import { Writable } from "readable-stream"; - -const endpoint = "foo"; -const user = "user"; -const password = "password"; - -function testGet() { - const anonDefaultGraph: Stream = get({ - endpoint, - }); - - const defaultGraph: DefaultGraph = {}; - const anonDefaultGraph2: Stream = get({ - endpoint, - graph: defaultGraph, - }); - - const auth: Stream = get({ - endpoint, - graph: "graph", - user, - password, - }); - - const graph: NamedNode = {}; - const auth2: Stream = get({ - endpoint, - graph, - user, - password, - }); -} - -function testPost() { - const anon: Writable = post({ - endpoint, - }); - - const auth: Writable = post({ - endpoint, - user, - password, - }); - - const limited: Writable = post({ - endpoint, - maxQuadsPerRequest: 4000, - }); -} - -function testPut() { - const anon: Writable = put({ - endpoint, - }); - - const auth: Writable = put({ - endpoint, - user, - password, - }); - - const limited: Writable = put({ - endpoint, - maxQuadsPerRequest: 4000, - }); -} diff --git a/types/barnard59-graph-store/get.d.ts b/types/barnard59-graph-store/get.d.ts deleted file mode 100644 index 2f4cad7b272cda..00000000000000 --- a/types/barnard59-graph-store/get.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { DefaultGraph, NamedNode, Stream } from "rdf-js"; - -interface Options { - user?: string; - password?: string; - endpoint: string; - graph?: DefaultGraph | NamedNode | string; -} - -export default function get(arg: Options): Stream; -export {}; diff --git a/types/barnard59-graph-store/index.d.ts b/types/barnard59-graph-store/index.d.ts deleted file mode 100644 index b67382d36cd2f9..00000000000000 --- a/types/barnard59-graph-store/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export { default as get } from "./get"; -export { default as post } from "./post"; -export { default as put } from "./put"; diff --git a/types/barnard59-graph-store/package.json b/types/barnard59-graph-store/package.json deleted file mode 100644 index 3bd447187504bd..00000000000000 --- a/types/barnard59-graph-store/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "private": true, - "name": "@types/barnard59-graph-store", - "version": "1.0.9999", - "projects": [ - "https://github.com/zazuko/barnard59-graph-store" - ], - "dependencies": { - "@types/readable-stream": "*", - "rdf-js": "^4.0.2" - }, - "devDependencies": { - "@types/barnard59-graph-store": "workspace:." - }, - "owners": [ - { - "name": "Tomasz Pluskiewicz", - "githubUsername": "tpluscode" - }, - { - "name": "Benjamin Hofstetter", - "githubUsername": "BenjaminHofstetter" - } - ] -} diff --git a/types/barnard59-graph-store/post.d.ts b/types/barnard59-graph-store/post.d.ts deleted file mode 100644 index 20d5accc9df4a1..00000000000000 --- a/types/barnard59-graph-store/post.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Writable } from "readable-stream"; - -interface Options { - user?: string; - password?: string; - endpoint: string; - maxQuadsPerRequest?: number; -} - -export default function post(arg: Options): Writable; -export {}; diff --git a/types/barnard59-graph-store/put.d.ts b/types/barnard59-graph-store/put.d.ts deleted file mode 100644 index f13afdf27c5a30..00000000000000 --- a/types/barnard59-graph-store/put.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Writable } from "readable-stream"; - -interface Options { - user?: string; - password?: string; - endpoint: string; - maxQuadsPerRequest?: number; -} - -export default function put(arg: Options): Writable; -export {}; diff --git a/types/barnard59-graph-store/tsconfig.json b/types/barnard59-graph-store/tsconfig.json deleted file mode 100644 index 257b9b5cef2fbc..00000000000000 --- a/types/barnard59-graph-store/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "barnard59-graph-store-tests.ts" - ] -} diff --git a/types/barnard59-validate-shacl/barnard59-validate-shacl-tests.ts b/types/barnard59-validate-shacl/barnard59-validate-shacl-tests.ts deleted file mode 100644 index 5cca9a60e0b8f4..00000000000000 --- a/types/barnard59-validate-shacl/barnard59-validate-shacl-tests.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { NamedNode } from "@rdfjs/types"; -import { shacl } from "barnard59-validate-shacl"; -import { ValidationError } from "barnard59-validate-shacl/lib/errors"; -import { Duplex, Readable } from "stream"; - -const shape: Readable = {}; -const shViolation: NamedNode = {}; - -async function test() { - // shape only - let step: Duplex = await shacl(shape); - - // minimal options - step = await shacl({ - shape, - }); - - // full options - step = await shacl({ - shape, - maxErrors: 0, - onViolation({ context, data, report }): boolean { - const arg = context.variables.get("arg"); - - if (data.size === 0) { - return false; - } - - if (!report.conforms) { - return report.results.some(r => shViolation.equals(r.severity)); - } - - return false; - }, - }); -} - -const validationError: ValidationError = {}; -const error: Error = validationError; -// $ExpectType ValidationReport>> -const report = validationError.report; -// $ExpectType DatasetCore -const dataGraph = validationError.dataGraph; -// $ExpectType DatasetCore -const shapesGraph = validationError.shapesGraph; diff --git a/types/barnard59-validate-shacl/index.d.ts b/types/barnard59-validate-shacl/index.d.ts deleted file mode 100644 index 9431d1c55a417e..00000000000000 --- a/types/barnard59-validate-shacl/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./validate"; diff --git a/types/barnard59-validate-shacl/lib/errors.d.ts b/types/barnard59-validate-shacl/lib/errors.d.ts deleted file mode 100644 index 591b6dcd0fdb3b..00000000000000 --- a/types/barnard59-validate-shacl/lib/errors.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { DatasetCore } from "rdf-js"; -import ValidationReport = require("rdf-validate-shacl/src/validation-report"); - -export interface ValidationError extends Error { - report: ValidationReport; - shapesGraph: DatasetCore; - dataGraph: DatasetCore; -} diff --git a/types/barnard59-validate-shacl/package.json b/types/barnard59-validate-shacl/package.json deleted file mode 100644 index c45be94b931ff8..00000000000000 --- a/types/barnard59-validate-shacl/package.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "private": true, - "name": "@types/barnard59-validate-shacl", - "version": "0.3.9999", - "projects": [ - "https://github.com/zazuko/barnard59-validate-shacl" - ], - "dependencies": { - "@rdfjs/types": "*", - "@types/barnard59-core": "*", - "@types/rdf-validate-shacl": "*", - "rdf-js": "^4.0.2" - }, - "devDependencies": { - "@types/barnard59-validate-shacl": "workspace:." - }, - "owners": [ - { - "name": "tpluscode", - "githubUsername": "tpluscode" - }, - { - "name": "cristianvasquez", - "githubUsername": "cristianvasquez" - }, - { - "name": "Benjamin Hofstetter", - "githubUsername": "BenjaminHofstetter" - } - ] -} diff --git a/types/barnard59-validate-shacl/tsconfig.json b/types/barnard59-validate-shacl/tsconfig.json deleted file mode 100644 index 7281d143f41f96..00000000000000 --- a/types/barnard59-validate-shacl/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "barnard59-validate-shacl-tests.ts" - ] -} diff --git a/types/barnard59-validate-shacl/validate.d.ts b/types/barnard59-validate-shacl/validate.d.ts deleted file mode 100644 index cbdbdcaf9f53c2..00000000000000 --- a/types/barnard59-validate-shacl/validate.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { DatasetCore } from "@rdfjs/types"; -import ValidationReport = require("rdf-validate-shacl/src/validation-report"); -import { Context } from "barnard59-core/lib/Pipeline"; -import { Duplex, Readable } from "stream"; - -export interface OnViolation { - context: Context; - data: DatasetCore; - report: ValidationReport; -} - -interface Options { - shape: Readable; - maxErrors?: number; - onViolation?(arg: OnViolation): boolean; -} - -export function shacl(arg: Readable | Options): Promise; -export {}; diff --git a/types/barnard59/barnard59-tests.ts b/types/barnard59/barnard59-tests.ts deleted file mode 100644 index c7de30c166d9a7..00000000000000 --- a/types/barnard59/barnard59-tests.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { DatasetCore, NamedNode } from "@rdfjs/types"; -import { findPipeline, runner } from "barnard59"; -import Pipeline from "barnard59-core/lib/Pipeline"; -import { GraphPointer } from "clownface"; -import { Logger } from "winston"; - -function testCreate() { - const dataset: DatasetCore = {}; - const iri: NamedNode = {}; - let pipleine: GraphPointer; - - pipleine = findPipeline(dataset); - pipleine = findPipeline(dataset, "http://foo.bar/pipeline"); - pipleine = findPipeline(dataset, iri); -} - -async function testRunner() { - let finished: Promise; - let pipeline: Pipeline; - const logger: Logger = {}; - const pointer: GraphPointer = {}; - - ({ finished, pipeline } = await runner(pointer)); - ({ finished, pipeline } = await runner(pointer, { - basePath: "", - logger, - outputStream: process.stdout, - })); - ({ finished, pipeline } = await runner(pointer, { - basePath: "", - logger, - outputStream: process.stdout, - level: "debug", - variables: new Map(), - })); -} diff --git a/types/barnard59/findPipeline.d.ts b/types/barnard59/findPipeline.d.ts deleted file mode 100644 index 8a49f756084fcc..00000000000000 --- a/types/barnard59/findPipeline.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { DatasetCore, NamedNode } from "@rdfjs/types"; -import { GraphPointer } from "clownface"; - -export default function findPipeline(dataset: DatasetCore, iri?: NamedNode | string): GraphPointer; diff --git a/types/barnard59/index.d.ts b/types/barnard59/index.d.ts deleted file mode 100644 index bda3b69df38678..00000000000000 --- a/types/barnard59/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { default as findPipeline } from "./findPipeline"; -export { default as runner } from "./runner"; diff --git a/types/barnard59/package.json b/types/barnard59/package.json deleted file mode 100644 index 1b3e487bfda77b..00000000000000 --- a/types/barnard59/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "private": true, - "name": "@types/barnard59", - "version": "1.0.9999", - "projects": [ - "https://github.com/zazuko/barnard59" - ], - "dependencies": { - "@rdfjs/types": "*", - "@types/barnard59-core": "*", - "@types/clownface": "*", - "rdf-js": "^4.0.2", - "winston": "^3.3.3" - }, - "devDependencies": { - "@types/barnard59": "workspace:." - }, - "owners": [ - { - "name": "tpluscode", - "githubUsername": "tpluscode" - }, - { - "name": "Benjamin Hofstetter", - "githubUsername": "BenjaminHofstetter" - } - ] -} diff --git a/types/barnard59/runner.d.ts b/types/barnard59/runner.d.ts deleted file mode 100644 index cf2ce49452d8e7..00000000000000 --- a/types/barnard59/runner.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { VariableMap } from "barnard59-core"; -import Pipeline from "barnard59-core/lib/Pipeline"; -import { GraphPointer } from "clownface"; -import { Writable } from "stream"; -import { Logger } from "winston"; - -interface Runner { - finished: Promise; - pipeline: Pipeline; -} - -interface Create { - basePath: string; - outputStream: Writable; - variables?: VariableMap; - logger?: Logger; - level?: "error" | "info" | "debug"; -} - -export default function create(ptr: GraphPointer, args?: Create): Promise; -export {}; diff --git a/types/barnard59/tsconfig.json b/types/barnard59/tsconfig.json deleted file mode 100644 index 47194e071c0241..00000000000000 --- a/types/barnard59/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "noImplicitAny": true, - "noImplicitThis": true, - "strictFunctionTypes": true, - "strictNullChecks": true, - "types": [], - "noEmit": true, - "forceConsistentCasingInFileNames": true - }, - "files": [ - "index.d.ts", - "barnard59-tests.ts" - ] -} diff --git a/types/basic-auth/index.d.ts b/types/basic-auth/index.d.ts index 99ed47eacbbd9d..01dadfbb583c54 100644 --- a/types/basic-auth/index.d.ts +++ b/types/basic-auth/index.d.ts @@ -2,7 +2,7 @@ interface Request { headers?: { - authorization?: string; + authorization?: string | undefined; }; } diff --git a/types/better-sqlite3/index.d.ts b/types/better-sqlite3/index.d.ts index 84bd42a8866566..204a7c031b7eb3 100644 --- a/types/better-sqlite3/index.d.ts +++ b/types/better-sqlite3/index.d.ts @@ -84,8 +84,8 @@ declare namespace BetterSqlite3 { } interface DatabaseConstructor { - new(filename: string | Buffer, options?: Database.Options): Database; - (filename: string, options?: Database.Options): Database; + new(filename?: string | Buffer, options?: Database.Options): Database; + (filename?: string, options?: Database.Options): Database; prototype: Database; SqliteError: typeof SqliteError; diff --git a/types/bgiframe/.eslintrc.json b/types/bgiframe/.eslintrc.json index 9813a48ac1df16..cc1c22ea5aaf45 100644 --- a/types/bgiframe/.eslintrc.json +++ b/types/bgiframe/.eslintrc.json @@ -1,6 +1,6 @@ { "rules": { - "@definitelytyped/npm-naming": "off", + "@definitelytyped/no-type-only-packages": "off", "@typescript-eslint/naming-convention": "off" } } diff --git a/types/bgiframe/package.json b/types/bgiframe/package.json index a1e6cc3069a077..4086bd54d6a015 100644 --- a/types/bgiframe/package.json +++ b/types/bgiframe/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/bgiframe", "version": "1.0.9999", + "nonNpm": true, + "nonNpmDescription": "bgiframe", "projects": [ "https://github.com/sumegizoltan/BgiFrame" ], diff --git a/types/barnard59-graph-store/.npmignore b/types/big-sparse-array/.npmignore similarity index 100% rename from types/barnard59-graph-store/.npmignore rename to types/big-sparse-array/.npmignore diff --git a/types/big-sparse-array/big-sparse-array-tests.ts b/types/big-sparse-array/big-sparse-array-tests.ts new file mode 100644 index 00000000000000..656c324810e22d --- /dev/null +++ b/types/big-sparse-array/big-sparse-array-tests.ts @@ -0,0 +1,9 @@ +import BigSparseArray = require("big-sparse-array"); + +const b = new BigSparseArray(); + +// $ExpectType undefined | string +b.get(123); + +// $ExpectType string +b.set(456, "foo"); diff --git a/types/big-sparse-array/index.d.ts b/types/big-sparse-array/index.d.ts new file mode 100644 index 00000000000000..6ab26b4acaafd2 --- /dev/null +++ b/types/big-sparse-array/index.d.ts @@ -0,0 +1,13 @@ +declare class BigSparseArray { + /** + * Insert a new value at an index. `index` must be a integer. + */ + set(index: number, value: T): T; + + /** + * Get a value out. Returns `undefined` if the value could not be found. + */ + get(index: number): undefined | T; +} + +export = BigSparseArray; diff --git a/types/big-sparse-array/package.json b/types/big-sparse-array/package.json new file mode 100644 index 00000000000000..992b8c8d5c740f --- /dev/null +++ b/types/big-sparse-array/package.json @@ -0,0 +1,17 @@ +{ + "private": true, + "name": "@types/big-sparse-array", + "version": "1.0.9999", + "projects": [ + "https://github.com/mafintosh/big-sparse-array" + ], + "devDependencies": { + "@types/big-sparse-array": "workspace:." + }, + "owners": [ + { + "name": "Evan Hahn", + "githubUsername": "EvanHahn" + } + ] +} diff --git a/types/big-sparse-array/tsconfig.json b/types/big-sparse-array/tsconfig.json new file mode 100644 index 00000000000000..79c5a4876ae497 --- /dev/null +++ b/types/big-sparse-array/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "big-sparse-array-tests.ts" + ] +} diff --git a/types/bigint/.eslintrc.json b/types/bigint/.eslintrc.json index eaf0236b45a52b..1f7ba987af8f79 100644 --- a/types/bigint/.eslintrc.json +++ b/types/bigint/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/naming-convention": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/ban-types": "off" diff --git a/types/blip-sdk/.eslintrc.json b/types/blip-sdk/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/blip-sdk/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/bluebird-global/.eslintrc.json b/types/bluebird-global/.eslintrc.json index 4e5f8fa32255df..cfa66f53329b18 100644 --- a/types/bluebird-global/.eslintrc.json +++ b/types/bluebird-global/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/no-unnecessary-generics": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/bootstrap-maxlength/.eslintrc.json b/types/bootstrap-maxlength/.eslintrc.json index d0441fac2a22df..12dc0523ec6ea8 100644 --- a/types/bootstrap-maxlength/.eslintrc.json +++ b/types/bootstrap-maxlength/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/bootstrap-treeview/.eslintrc.json b/types/bootstrap-treeview/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/bootstrap-treeview/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/bootstrap-treeview/bootstrap-treeview-tests.ts b/types/bootstrap-treeview/bootstrap-treeview-tests.ts index 687687fe08e497..53a2e2188fa02c 100644 --- a/types/bootstrap-treeview/bootstrap-treeview-tests.ts +++ b/types/bootstrap-treeview/bootstrap-treeview-tests.ts @@ -53,6 +53,8 @@ $("#tree").treeview({ data, levels: 5, backColor: "green", + checkedIcon: "", + uncheckedIcon: "", }); // Treeview functions. diff --git a/types/bootstrap-treeview/index.d.ts b/types/bootstrap-treeview/index.d.ts index 18cd8206d86d92..16fcec87d947d3 100644 --- a/types/bootstrap-treeview/index.d.ts +++ b/types/bootstrap-treeview/index.d.ts @@ -44,7 +44,7 @@ interface BootstrapTreeViewOptions { showCheckbox?: boolean | undefined; showIcon?: boolean | undefined; showTags?: boolean | undefined; - uncheckedIcon?: boolean | undefined; + uncheckedIcon?: string | undefined; onNodeSelected?(event: any, node: BootstrapTreeViewNodeData): void; onNodeChecked?(event: any, node: BootstrapTreeViewNodeData): void; diff --git a/types/bootstrap-treeview/package.json b/types/bootstrap-treeview/package.json index 438256c68c2367..8fecebff375bb0 100644 --- a/types/bootstrap-treeview/package.json +++ b/types/bootstrap-treeview/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/bootstrap-treeview", - "version": "1.20.9999", + "version": "1.21.9999", "projects": [ "https://github.com/jonmiles/bootstrap-treeview" ], diff --git a/types/bootstrap.paginator/.eslintrc.json b/types/bootstrap.paginator/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/bootstrap.paginator/.eslintrc.json +++ b/types/bootstrap.paginator/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/bootstrap.paginator/package.json b/types/bootstrap.paginator/package.json index e18324a2501e81..8c9332d262a772 100644 --- a/types/bootstrap.paginator/package.json +++ b/types/bootstrap.paginator/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/bootstrap.paginator", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "bootstrap.paginator", "projects": [ "https://github.com/lyonlai/bootstrap-paginator" ], diff --git a/types/bootstrap.timepicker/.eslintrc.json b/types/bootstrap.timepicker/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/bootstrap.timepicker/.eslintrc.json +++ b/types/bootstrap.timepicker/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/bootstrap.timepicker/package.json b/types/bootstrap.timepicker/package.json index a5cb514d59ec72..1872c80fb65d8a 100644 --- a/types/bootstrap.timepicker/package.json +++ b/types/bootstrap.timepicker/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/bootstrap.timepicker", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "bootstrap.timepicker", "projects": [ "https://github.com/jdewit/bootstrap-timepicker" ], diff --git a/types/bootstrap.v3.datetimepicker/package.json b/types/bootstrap.v3.datetimepicker/package.json index 599b0ada055ead..a37386e3222952 100644 --- a/types/bootstrap.v3.datetimepicker/package.json +++ b/types/bootstrap.v3.datetimepicker/package.json @@ -3,6 +3,8 @@ "name": "@types/bootstrap.v3.datetimepicker", "version": "4.17.9999", "nonNpm": true, + "nonNpmDescription": "bootstrap.v3.datetimepicker", + "nonNpm": true, "nonNpmDescription": "Bootstrap 3 Datepicker", "projects": [ "http://eonasdan.github.io/bootstrap-datetimepicker" diff --git a/types/bootstrap.v3.datetimepicker/v3/package.json b/types/bootstrap.v3.datetimepicker/v3/package.json index 0f4bfe5cfc748a..d121743f2917d9 100644 --- a/types/bootstrap.v3.datetimepicker/v3/package.json +++ b/types/bootstrap.v3.datetimepicker/v3/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/bootstrap.v3.datetimepicker", "version": "3.0.9999", + "nonNpm": true, + "nonNpmDescription": "bootstrap.v3.datetimepicker", "projects": [ "http://eonasdan.github.io/bootstrap-datetimepicker" ], diff --git a/types/breeze/.eslintrc.json b/types/breeze/.eslintrc.json index 0a11d50dd9bdbf..38ea301fa3e3f3 100644 --- a/types/breeze/.eslintrc.json +++ b/types/breeze/.eslintrc.json @@ -5,7 +5,6 @@ "@definitelytyped/no-declare-current-package": "off", "@definitelytyped/strict-export-declare-modifiers": "off", "@definitelytyped/no-single-declare-module": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/naming-convention": "off" diff --git a/types/bun/package.json b/types/bun/package.json index c0898c26ae8bc6..0235ef2d6f63c8 100644 --- a/types/bun/package.json +++ b/types/bun/package.json @@ -6,7 +6,7 @@ "https://bun.sh" ], "dependencies": { - "bun-types": "1.0.21" + "bun-types": "1.0.25" }, "devDependencies": { "@types/bun": "workspace:." diff --git a/types/bun/tsconfig.json b/types/bun/tsconfig.json index 6f79ccdcbb737e..741ed69a89e071 100644 --- a/types/bun/tsconfig.json +++ b/types/bun/tsconfig.json @@ -9,5 +9,9 @@ "types": [], "noUnusedLocals": true, "noEmit": true - } + }, + "files": [ + "index.d.ts", + "bun-tests.ts" + ] } diff --git a/types/bunyan-blackhole/.eslintrc.json b/types/bunyan-blackhole/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/bunyan-blackhole/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/cannon/.eslintrc.json b/types/cannon/.eslintrc.json index e527d9d126a8aa..2aad8fd12324ec 100644 --- a/types/cannon/.eslintrc.json +++ b/types/cannon/.eslintrc.json @@ -3,7 +3,6 @@ "@definitelytyped/no-declare-current-package": "off", "@definitelytyped/strict-export-declare-modifiers": "off", "@definitelytyped/no-single-declare-module": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/prefer-namespace": "off", "@typescript-eslint/naming-convention": "off" diff --git a/types/canvasjs/.eslintrc.json b/types/canvasjs/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/canvasjs/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/carbon__pictograms-react/carbon__pictograms-react-tests.tsx b/types/carbon__pictograms-react/carbon__pictograms-react-tests.tsx index 2f6d5916d42e4a..077db5ea6ad6c1 100644 --- a/types/carbon__pictograms-react/carbon__pictograms-react-tests.tsx +++ b/types/carbon__pictograms-react/carbon__pictograms-react-tests.tsx @@ -9,6 +9,7 @@ import { AppModernization, AudioData, Backpack, + BentoBoxTray, Bluepages, ClientFinancing_01, CloudPakForApplications, @@ -69,3 +70,4 @@ import * as React from "react"; ; // $ExpectType Element ; // $ExpectType Element ; // $ExpectType Element +; // $ExpectType Element diff --git a/types/carbon__pictograms-react/es/analyze--code/index.d.ts b/types/carbon__pictograms-react/es/analyze--code/index.d.ts new file mode 100644 index 00000000000000..49492e75109baa --- /dev/null +++ b/types/carbon__pictograms-react/es/analyze--code/index.d.ts @@ -0,0 +1 @@ +export { AnalyzeCode as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/bento-box-tray/index.d.ts b/types/carbon__pictograms-react/es/bento-box-tray/index.d.ts new file mode 100644 index 00000000000000..3657c4887868b4 --- /dev/null +++ b/types/carbon__pictograms-react/es/bento-box-tray/index.d.ts @@ -0,0 +1 @@ +export { BentoBoxTray as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/cics--configuration-manager-for-z-os/index.d.ts b/types/carbon__pictograms-react/es/cics--configuration-manager-for-z-os/index.d.ts new file mode 100644 index 00000000000000..f0aade93477146 --- /dev/null +++ b/types/carbon__pictograms-react/es/cics--configuration-manager-for-z-os/index.d.ts @@ -0,0 +1 @@ +export { CicsConfigurationManagerForZOs as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/cics--deployment-assistant/index.d.ts b/types/carbon__pictograms-react/es/cics--deployment-assistant/index.d.ts new file mode 100644 index 00000000000000..0f6e6188760ca7 --- /dev/null +++ b/types/carbon__pictograms-react/es/cics--deployment-assistant/index.d.ts @@ -0,0 +1 @@ +export { CicsDeploymentAssistant as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/cics--explorer/index.d.ts b/types/carbon__pictograms-react/es/cics--explorer/index.d.ts new file mode 100644 index 00000000000000..5c1183e7297745 --- /dev/null +++ b/types/carbon__pictograms-react/es/cics--explorer/index.d.ts @@ -0,0 +1 @@ +export { CicsExplorer as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/cics--interdependency-analyzer-for-z-os/index.d.ts b/types/carbon__pictograms-react/es/cics--interdependency-analyzer-for-z-os/index.d.ts new file mode 100644 index 00000000000000..36325f190b497c --- /dev/null +++ b/types/carbon__pictograms-react/es/cics--interdependency-analyzer-for-z-os/index.d.ts @@ -0,0 +1 @@ +export { CicsInterdependencyAnalyzerForZOs as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/cics--performance-analyzer-for-z-os/index.d.ts b/types/carbon__pictograms-react/es/cics--performance-analyzer-for-z-os/index.d.ts new file mode 100644 index 00000000000000..ef1295c6462790 --- /dev/null +++ b/types/carbon__pictograms-react/es/cics--performance-analyzer-for-z-os/index.d.ts @@ -0,0 +1 @@ +export { CicsPerformanceAnalyzerForZOs as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/cics--transaction-gateway/index.d.ts b/types/carbon__pictograms-react/es/cics--transaction-gateway/index.d.ts new file mode 100644 index 00000000000000..d70e171b53efed --- /dev/null +++ b/types/carbon__pictograms-react/es/cics--transaction-gateway/index.d.ts @@ -0,0 +1 @@ +export { CicsTransactionGateway as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/cics--transaction-server-for-z-os/index.d.ts b/types/carbon__pictograms-react/es/cics--transaction-server-for-z-os/index.d.ts new file mode 100644 index 00000000000000..a19da99d0bce70 --- /dev/null +++ b/types/carbon__pictograms-react/es/cics--transaction-server-for-z-os/index.d.ts @@ -0,0 +1 @@ +export { CicsTransactionServerForZOs as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/cics--tx/index.d.ts b/types/carbon__pictograms-react/es/cics--tx/index.d.ts new file mode 100644 index 00000000000000..9f1a9b15daee26 --- /dev/null +++ b/types/carbon__pictograms-react/es/cics--tx/index.d.ts @@ -0,0 +1 @@ +export { CicsTx as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/cics--vsam-recovery-for-z-os/index.d.ts b/types/carbon__pictograms-react/es/cics--vsam-recovery-for-z-os/index.d.ts new file mode 100644 index 00000000000000..638d0dd8f01150 --- /dev/null +++ b/types/carbon__pictograms-react/es/cics--vsam-recovery-for-z-os/index.d.ts @@ -0,0 +1 @@ +export { CicsVsamRecoveryForZOs as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/cics--vsam-transparency-for-z-os/index.d.ts b/types/carbon__pictograms-react/es/cics--vsam-transparency-for-z-os/index.d.ts new file mode 100644 index 00000000000000..ca2deb975ff883 --- /dev/null +++ b/types/carbon__pictograms-react/es/cics--vsam-transparency-for-z-os/index.d.ts @@ -0,0 +1 @@ +export { CicsVsamTransparencyForZOs as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/do-not-step/index.d.ts b/types/carbon__pictograms-react/es/do-not-step/index.d.ts new file mode 100644 index 00000000000000..bb811059b3036c --- /dev/null +++ b/types/carbon__pictograms-react/es/do-not-step/index.d.ts @@ -0,0 +1 @@ +export { DoNotStep as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/football--field/index.d.ts b/types/carbon__pictograms-react/es/football--field/index.d.ts new file mode 100644 index 00000000000000..a20a0d39aecf59 --- /dev/null +++ b/types/carbon__pictograms-react/es/football--field/index.d.ts @@ -0,0 +1 @@ +export { FootballField as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/football--goal-post/index.d.ts b/types/carbon__pictograms-react/es/football--goal-post/index.d.ts new file mode 100644 index 00000000000000..f16ac29f20dd26 --- /dev/null +++ b/types/carbon__pictograms-react/es/football--goal-post/index.d.ts @@ -0,0 +1 @@ +export { FootballGoalPost as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/football/index.d.ts b/types/carbon__pictograms-react/es/football/index.d.ts new file mode 100644 index 00000000000000..7c3900b3c80788 --- /dev/null +++ b/types/carbon__pictograms-react/es/football/index.d.ts @@ -0,0 +1 @@ +export { Football as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/glass-bottle-and-metal-can/index.d.ts b/types/carbon__pictograms-react/es/glass-bottle-and-metal-can/index.d.ts new file mode 100644 index 00000000000000..1f57bd6f383cfe --- /dev/null +++ b/types/carbon__pictograms-react/es/glass-bottle-and-metal-can/index.d.ts @@ -0,0 +1 @@ +export { GlassBottleAndMetalCan as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/golf--bag/index.d.ts b/types/carbon__pictograms-react/es/golf--bag/index.d.ts new file mode 100644 index 00000000000000..4a6dc8d5a1bf62 --- /dev/null +++ b/types/carbon__pictograms-react/es/golf--bag/index.d.ts @@ -0,0 +1 @@ +export { GolfBag as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/golf--ball/index.d.ts b/types/carbon__pictograms-react/es/golf--ball/index.d.ts new file mode 100644 index 00000000000000..f283087fe804c5 --- /dev/null +++ b/types/carbon__pictograms-react/es/golf--ball/index.d.ts @@ -0,0 +1 @@ +export { GolfBall as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/golf--club/index.d.ts b/types/carbon__pictograms-react/es/golf--club/index.d.ts new file mode 100644 index 00000000000000..b0c94a6fef3d4d --- /dev/null +++ b/types/carbon__pictograms-react/es/golf--club/index.d.ts @@ -0,0 +1 @@ +export { GolfClub as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/golf--hole/index.d.ts b/types/carbon__pictograms-react/es/golf--hole/index.d.ts new file mode 100644 index 00000000000000..90412eb4a1b17e --- /dev/null +++ b/types/carbon__pictograms-react/es/golf--hole/index.d.ts @@ -0,0 +1 @@ +export { GolfHole as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/gramophone/index.d.ts b/types/carbon__pictograms-react/es/gramophone/index.d.ts new file mode 100644 index 00000000000000..0b0f9258b38ae0 --- /dev/null +++ b/types/carbon__pictograms-react/es/gramophone/index.d.ts @@ -0,0 +1 @@ +export { Gramophone as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/ibm--z-and-cloud-modernization-stack/index.d.ts b/types/carbon__pictograms-react/es/ibm--z-and-cloud-modernization-stack/index.d.ts new file mode 100644 index 00000000000000..e113d2cfb1489f --- /dev/null +++ b/types/carbon__pictograms-react/es/ibm--z-and-cloud-modernization-stack/index.d.ts @@ -0,0 +1 @@ +export { IbmZAndCloudModernizationStack as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/index.d.ts b/types/carbon__pictograms-react/es/index.d.ts index 31764dcf4080db..7aa9595742d73f 100644 --- a/types/carbon__pictograms-react/es/index.d.ts +++ b/types/carbon__pictograms-react/es/index.d.ts @@ -36,6 +36,7 @@ export { AmsterdamFarm } from "../"; export { AmsterdamWindmill } from "../"; export { Analytics } from "../"; export { Analyze } from "../"; +export { AnalyzeCode } from "../"; export { AnalyzesData } from "../"; export { AnalyzingContainers } from "../"; export { AnonymousUsers } from "../"; @@ -83,6 +84,7 @@ export { BareMetal } from "../"; export { Bee } from "../"; export { BeijingMunicipal } from "../"; export { BeijingTower } from "../"; +export { BentoBoxTray } from "../"; export { BerlinBrandenburgGate } from "../"; export { BerlinCathedral } from "../"; export { BerlinTower } from "../"; @@ -164,6 +166,16 @@ export { ChipCircuit } from "../"; export { ChipCredit } from "../"; export { ChipDebit } from "../"; export { ChooseHowToGetStarted } from "../"; +export { CicsConfigurationManagerForZOs } from "../"; +export { CicsDeploymentAssistant } from "../"; +export { CicsExplorer } from "../"; +export { CicsInterdependencyAnalyzerForZOs } from "../"; +export { CicsPerformanceAnalyzerForZOs } from "../"; +export { CicsTransactionGateway } from "../"; +export { CicsTransactionServerForZOs } from "../"; +export { CicsTx } from "../"; +export { CicsVsamRecoveryForZOs } from "../"; +export { CicsVsamTransparencyForZOs } from "../"; export { CirclePacking } from "../"; export { ClientFinancing_01 } from "../"; export { ClientFinancing_02 } from "../"; @@ -334,6 +346,7 @@ export { DistributionLedger } from "../"; export { Dna } from "../"; export { DoNot } from "../"; export { DoNot_02 } from "../"; +export { DoNotStep } from "../"; export { Docker } from "../"; export { Doctor } from "../"; export { DoctorPatient } from "../"; @@ -447,6 +460,9 @@ export { Flower_02 } from "../"; export { FocusOnCode } from "../"; export { Fog } from "../"; export { Folder } from "../"; +export { Football } from "../"; +export { FootballField } from "../"; +export { FootballGoalPost } from "../"; export { Forecasting } from "../"; export { Forklift } from "../"; export { FountainDrinking } from "../"; @@ -459,6 +475,7 @@ export { Gear } from "../"; export { GeographicFlexibility } from "../"; export { GetAheadOfRiskAndCompliance } from "../"; export { Gift } from "../"; +export { GlassBottleAndMetalCan } from "../"; export { GlobalAnalytics } from "../"; export { GlobalAssetsAndRecovery_01 } from "../"; export { GlobalAssetsAndRecovery_02 } from "../"; @@ -480,10 +497,15 @@ export { Globe } from "../"; export { GlobeLocations } from "../"; export { GoLanguage } from "../"; export { Goals } from "../"; +export { GolfBag } from "../"; +export { GolfBall } from "../"; +export { GolfClub } from "../"; +export { GolfHole } from "../"; export { GovernUsersAndIdentities } from "../"; export { Government_01 } from "../"; export { Government_02 } from "../"; export { GpuComputing } from "../"; +export { Gramophone } from "../"; export { GraphicDesign } from "../"; export { GraphicIntensiveWorkloads } from "../"; export { GreenEnergy } from "../"; @@ -544,6 +566,7 @@ export { IbmIx } from "../"; export { IbmRpa } from "../"; export { IbmZ } from "../"; export { IbmZPartition } from "../"; +export { IbmZAndCloudModernizationStack } from "../"; export { IbmZAndLinuxoneMultiFrame } from "../"; export { IbmZAndLinuxoneSingleFrame } from "../"; export { IbmZ16 } from "../"; @@ -599,6 +622,7 @@ export { Library } from "../"; export { LiftAndShift } from "../"; export { Lightning } from "../"; export { Link } from "../"; +export { Liquids } from "../"; export { ListBullet } from "../"; export { ListCheckbox } from "../"; export { Literature } from "../"; @@ -627,6 +651,7 @@ export { MadridSkyscrapers } from "../"; export { MadridStatue } from "../"; export { Magnify } from "../"; export { MailVerse } from "../"; +export { MainframeQualitiesOfService } from "../"; export { ManageApplicationsAnywhere } from "../"; export { ManagedHosting_01 } from "../"; export { ManagedHosting_02 } from "../"; @@ -648,6 +673,7 @@ export { MedicalCharts } from "../"; export { MedicalStaff } from "../"; export { Melbourne } from "../"; export { Memory } from "../"; +export { MetalCan } from "../"; export { Meter } from "../"; export { MexicoCityAngelOfIndependence } from "../"; export { MexicoCityMuseoSoumaya } from "../"; @@ -758,6 +784,7 @@ export { PhpLanguage } from "../"; export { PillBottle_01 } from "../"; export { Pills } from "../"; export { PlanningAnalytics } from "../"; +export { Plastics } from "../"; export { PlatformAsAService } from "../"; export { PlayerFlow } from "../"; export { PliLanguage } from "../"; @@ -901,6 +928,7 @@ export { Silence } from "../"; export { Singapore } from "../"; export { SingleSignOn } from "../"; export { Slack } from "../"; +export { SliceCode } from "../"; export { Slider } from "../"; export { SmallComponentsMakingALargerWhole } from "../"; export { SmallToMediumBusinessSmb } from "../"; @@ -922,9 +950,11 @@ export { Speech } from "../"; export { SpeechToText } from "../"; export { Speedometer } from "../"; export { Sports } from "../"; +export { Spotlight } from "../"; export { Sprout } from "../"; export { Spss } from "../"; export { StackLimitation } from "../"; +export { Stage } from "../"; export { Stairs } from "../"; export { StairsDown } from "../"; export { StairsPlanView } from "../"; @@ -943,6 +973,7 @@ export { StorageAreaNetworks } from "../"; export { StorageForDataAndAi } from "../"; export { StorageForResiliency } from "../"; export { StorageProduct } from "../"; +export { StorageSystems } from "../"; export { Strategy } from "../"; export { StrategyAndRisk } from "../"; export { StrategyDirect } from "../"; @@ -1002,6 +1033,9 @@ export { TemperatureHigh } from "../"; export { TemperatureLow } from "../"; export { TemporaryBadge } from "../"; export { Tennis } from "../"; +export { TennisBall } from "../"; +export { TennisNet } from "../"; +export { TennisRacquet } from "../"; export { TestTubes } from "../"; export { TextData } from "../"; export { TextEquivalent } from "../"; @@ -1104,6 +1138,9 @@ export { WasteElectronic } from "../"; export { WatsonLogo } from "../"; export { Watsonx } from "../"; export { WatsonxAi } from "../"; +export { WatsonxCodeAssistant } from "../"; +export { WatsonxCodeAssistantForZ } from "../"; +export { WatsonxCodeAssistantForZRefactor } from "../"; export { WatsonxData } from "../"; export { WatsonxGovernance } from "../"; export { Weather } from "../"; @@ -1113,6 +1150,7 @@ export { Websites } from "../"; export { Websphere } from "../"; export { WeddingCake } from "../"; export { Wheat } from "../"; +export { Whistle } from "../"; export { Wifi } from "../"; export { WindPower } from "../"; export { Windows } from "../"; diff --git a/types/carbon__pictograms-react/es/liquids/index.d.ts b/types/carbon__pictograms-react/es/liquids/index.d.ts new file mode 100644 index 00000000000000..889e142b45724d --- /dev/null +++ b/types/carbon__pictograms-react/es/liquids/index.d.ts @@ -0,0 +1 @@ +export { Liquids as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/mainframe-qualities-of-service/index.d.ts b/types/carbon__pictograms-react/es/mainframe-qualities-of-service/index.d.ts new file mode 100644 index 00000000000000..3aba5efafe6f4a --- /dev/null +++ b/types/carbon__pictograms-react/es/mainframe-qualities-of-service/index.d.ts @@ -0,0 +1 @@ +export { MainframeQualitiesOfService as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/metal-can/index.d.ts b/types/carbon__pictograms-react/es/metal-can/index.d.ts new file mode 100644 index 00000000000000..3ae5e198bba93f --- /dev/null +++ b/types/carbon__pictograms-react/es/metal-can/index.d.ts @@ -0,0 +1 @@ +export { MetalCan as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/plastics/index.d.ts b/types/carbon__pictograms-react/es/plastics/index.d.ts new file mode 100644 index 00000000000000..a18400847550b9 --- /dev/null +++ b/types/carbon__pictograms-react/es/plastics/index.d.ts @@ -0,0 +1 @@ +export { Plastics as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/slice-code/index.d.ts b/types/carbon__pictograms-react/es/slice-code/index.d.ts new file mode 100644 index 00000000000000..1c2ef23da86b24 --- /dev/null +++ b/types/carbon__pictograms-react/es/slice-code/index.d.ts @@ -0,0 +1 @@ +export { SliceCode as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/spotlight/index.d.ts b/types/carbon__pictograms-react/es/spotlight/index.d.ts new file mode 100644 index 00000000000000..33ba51495548d6 --- /dev/null +++ b/types/carbon__pictograms-react/es/spotlight/index.d.ts @@ -0,0 +1 @@ +export { Spotlight as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/stage/index.d.ts b/types/carbon__pictograms-react/es/stage/index.d.ts new file mode 100644 index 00000000000000..7a1f54017fff9a --- /dev/null +++ b/types/carbon__pictograms-react/es/stage/index.d.ts @@ -0,0 +1 @@ +export { Stage as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/storage--systems/index.d.ts b/types/carbon__pictograms-react/es/storage--systems/index.d.ts new file mode 100644 index 00000000000000..59c92f74fba0f0 --- /dev/null +++ b/types/carbon__pictograms-react/es/storage--systems/index.d.ts @@ -0,0 +1 @@ +export { StorageSystems as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/tennis--ball/index.d.ts b/types/carbon__pictograms-react/es/tennis--ball/index.d.ts new file mode 100644 index 00000000000000..a9110aa803a0b6 --- /dev/null +++ b/types/carbon__pictograms-react/es/tennis--ball/index.d.ts @@ -0,0 +1 @@ +export { TennisBall as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/tennis--net/index.d.ts b/types/carbon__pictograms-react/es/tennis--net/index.d.ts new file mode 100644 index 00000000000000..e98f719a924e99 --- /dev/null +++ b/types/carbon__pictograms-react/es/tennis--net/index.d.ts @@ -0,0 +1 @@ +export { TennisNet as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/tennis--racquet/index.d.ts b/types/carbon__pictograms-react/es/tennis--racquet/index.d.ts new file mode 100644 index 00000000000000..79ad06fcc25a1d --- /dev/null +++ b/types/carbon__pictograms-react/es/tennis--racquet/index.d.ts @@ -0,0 +1 @@ +export { TennisRacquet as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/watsonx--code-assistant-for-z-refactor/index.d.ts b/types/carbon__pictograms-react/es/watsonx--code-assistant-for-z-refactor/index.d.ts new file mode 100644 index 00000000000000..dd5fe649ccf07a --- /dev/null +++ b/types/carbon__pictograms-react/es/watsonx--code-assistant-for-z-refactor/index.d.ts @@ -0,0 +1 @@ +export { WatsonxCodeAssistantForZRefactor as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/watsonx--code-assistant-for-z/index.d.ts b/types/carbon__pictograms-react/es/watsonx--code-assistant-for-z/index.d.ts new file mode 100644 index 00000000000000..d44242499690d4 --- /dev/null +++ b/types/carbon__pictograms-react/es/watsonx--code-assistant-for-z/index.d.ts @@ -0,0 +1 @@ +export { WatsonxCodeAssistantForZ as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/watsonx--code-assistant/index.d.ts b/types/carbon__pictograms-react/es/watsonx--code-assistant/index.d.ts new file mode 100644 index 00000000000000..d7b7b8b7ff3c78 --- /dev/null +++ b/types/carbon__pictograms-react/es/watsonx--code-assistant/index.d.ts @@ -0,0 +1 @@ +export { WatsonxCodeAssistant as default } from "../../"; diff --git a/types/carbon__pictograms-react/es/whistle/index.d.ts b/types/carbon__pictograms-react/es/whistle/index.d.ts new file mode 100644 index 00000000000000..d8c88261d286fe --- /dev/null +++ b/types/carbon__pictograms-react/es/whistle/index.d.ts @@ -0,0 +1 @@ +export { Whistle as default } from "../../"; diff --git a/types/carbon__pictograms-react/index.d.ts b/types/carbon__pictograms-react/index.d.ts index cd7f17f7fd8c2a..ed7035ee50776e 100644 --- a/types/carbon__pictograms-react/index.d.ts +++ b/types/carbon__pictograms-react/index.d.ts @@ -1,4 +1,4 @@ -/** 1135 pictograms in total */ +/** 1173 pictograms in total */ export interface CarbonPictogramProps extends Omit< @@ -60,6 +60,7 @@ export const AmsterdamFarm: CarbonPictogramType; export const AmsterdamWindmill: CarbonPictogramType; export const Analytics: CarbonPictogramType; export const Analyze: CarbonPictogramType; +export const AnalyzeCode: CarbonPictogramType; export const AnalyzesData: CarbonPictogramType; export const AnalyzingContainers: CarbonPictogramType; export const AnonymousUsers: CarbonPictogramType; @@ -107,6 +108,7 @@ export const BareMetal: CarbonPictogramType; export const Bee: CarbonPictogramType; export const BeijingMunicipal: CarbonPictogramType; export const BeijingTower: CarbonPictogramType; +export const BentoBoxTray: CarbonPictogramType; export const BerlinBrandenburgGate: CarbonPictogramType; export const BerlinCathedral: CarbonPictogramType; export const BerlinTower: CarbonPictogramType; @@ -188,6 +190,16 @@ export const ChipCircuit: CarbonPictogramType; export const ChipCredit: CarbonPictogramType; export const ChipDebit: CarbonPictogramType; export const ChooseHowToGetStarted: CarbonPictogramType; +export const CicsConfigurationManagerForZOs: CarbonPictogramType; +export const CicsDeploymentAssistant: CarbonPictogramType; +export const CicsExplorer: CarbonPictogramType; +export const CicsInterdependencyAnalyzerForZOs: CarbonPictogramType; +export const CicsPerformanceAnalyzerForZOs: CarbonPictogramType; +export const CicsTransactionGateway: CarbonPictogramType; +export const CicsTransactionServerForZOs: CarbonPictogramType; +export const CicsTx: CarbonPictogramType; +export const CicsVsamRecoveryForZOs: CarbonPictogramType; +export const CicsVsamTransparencyForZOs: CarbonPictogramType; export const CirclePacking: CarbonPictogramType; export const ClientFinancing_01: CarbonPictogramType; export const ClientFinancing_02: CarbonPictogramType; @@ -358,6 +370,7 @@ export const DistributionLedger: CarbonPictogramType; export const Dna: CarbonPictogramType; export const DoNot: CarbonPictogramType; export const DoNot_02: CarbonPictogramType; +export const DoNotStep: CarbonPictogramType; export const Docker: CarbonPictogramType; export const Doctor: CarbonPictogramType; export const DoctorPatient: CarbonPictogramType; @@ -471,6 +484,9 @@ export const Flower_02: CarbonPictogramType; export const FocusOnCode: CarbonPictogramType; export const Fog: CarbonPictogramType; export const Folder: CarbonPictogramType; +export const Football: CarbonPictogramType; +export const FootballField: CarbonPictogramType; +export const FootballGoalPost: CarbonPictogramType; export const Forecasting: CarbonPictogramType; export const Forklift: CarbonPictogramType; export const FountainDrinking: CarbonPictogramType; @@ -483,6 +499,7 @@ export const Gear: CarbonPictogramType; export const GeographicFlexibility: CarbonPictogramType; export const GetAheadOfRiskAndCompliance: CarbonPictogramType; export const Gift: CarbonPictogramType; +export const GlassBottleAndMetalCan: CarbonPictogramType; export const GlobalAnalytics: CarbonPictogramType; export const GlobalAssetsAndRecovery_01: CarbonPictogramType; export const GlobalAssetsAndRecovery_02: CarbonPictogramType; @@ -504,10 +521,15 @@ export const Globe: CarbonPictogramType; export const GlobeLocations: CarbonPictogramType; export const GoLanguage: CarbonPictogramType; export const Goals: CarbonPictogramType; +export const GolfBag: CarbonPictogramType; +export const GolfBall: CarbonPictogramType; +export const GolfClub: CarbonPictogramType; +export const GolfHole: CarbonPictogramType; export const GovernUsersAndIdentities: CarbonPictogramType; export const Government_01: CarbonPictogramType; export const Government_02: CarbonPictogramType; export const GpuComputing: CarbonPictogramType; +export const Gramophone: CarbonPictogramType; export const GraphicDesign: CarbonPictogramType; export const GraphicIntensiveWorkloads: CarbonPictogramType; export const GreenEnergy: CarbonPictogramType; @@ -576,6 +598,7 @@ export const IbmZ: CarbonPictogramType; * This icon should no longer be used */ export const IbmZPartition: CarbonPictogramType; +export const IbmZAndCloudModernizationStack: CarbonPictogramType; /** * @deprecated * This icon has been replaced by `IbmZ16MultiFrame` @@ -639,6 +662,7 @@ export const Library: CarbonPictogramType; export const LiftAndShift: CarbonPictogramType; export const Lightning: CarbonPictogramType; export const Link: CarbonPictogramType; +export const Liquids: CarbonPictogramType; export const ListBullet: CarbonPictogramType; export const ListCheckbox: CarbonPictogramType; export const Literature: CarbonPictogramType; @@ -667,6 +691,7 @@ export const MadridSkyscrapers: CarbonPictogramType; export const MadridStatue: CarbonPictogramType; export const Magnify: CarbonPictogramType; export const MailVerse: CarbonPictogramType; +export const MainframeQualitiesOfService: CarbonPictogramType; export const ManageApplicationsAnywhere: CarbonPictogramType; export const ManagedHosting_01: CarbonPictogramType; export const ManagedHosting_02: CarbonPictogramType; @@ -688,6 +713,7 @@ export const MedicalCharts: CarbonPictogramType; export const MedicalStaff: CarbonPictogramType; export const Melbourne: CarbonPictogramType; export const Memory: CarbonPictogramType; +export const MetalCan: CarbonPictogramType; export const Meter: CarbonPictogramType; export const MexicoCityAngelOfIndependence: CarbonPictogramType; export const MexicoCityMuseoSoumaya: CarbonPictogramType; @@ -798,6 +824,7 @@ export const PhpLanguage: CarbonPictogramType; export const PillBottle_01: CarbonPictogramType; export const Pills: CarbonPictogramType; export const PlanningAnalytics: CarbonPictogramType; +export const Plastics: CarbonPictogramType; export const PlatformAsAService: CarbonPictogramType; export const PlayerFlow: CarbonPictogramType; export const PliLanguage: CarbonPictogramType; @@ -941,6 +968,7 @@ export const Silence: CarbonPictogramType; export const Singapore: CarbonPictogramType; export const SingleSignOn: CarbonPictogramType; export const Slack: CarbonPictogramType; +export const SliceCode: CarbonPictogramType; export const Slider: CarbonPictogramType; export const SmallComponentsMakingALargerWhole: CarbonPictogramType; export const SmallToMediumBusinessSmb: CarbonPictogramType; @@ -962,9 +990,11 @@ export const Speech: CarbonPictogramType; export const SpeechToText: CarbonPictogramType; export const Speedometer: CarbonPictogramType; export const Sports: CarbonPictogramType; +export const Spotlight: CarbonPictogramType; export const Sprout: CarbonPictogramType; export const Spss: CarbonPictogramType; export const StackLimitation: CarbonPictogramType; +export const Stage: CarbonPictogramType; export const Stairs: CarbonPictogramType; export const StairsDown: CarbonPictogramType; export const StairsPlanView: CarbonPictogramType; @@ -983,6 +1013,7 @@ export const StorageAreaNetworks: CarbonPictogramType; export const StorageForDataAndAi: CarbonPictogramType; export const StorageForResiliency: CarbonPictogramType; export const StorageProduct: CarbonPictogramType; +export const StorageSystems: CarbonPictogramType; export const Strategy: CarbonPictogramType; export const StrategyAndRisk: CarbonPictogramType; export const StrategyDirect: CarbonPictogramType; @@ -1042,6 +1073,9 @@ export const TemperatureHigh: CarbonPictogramType; export const TemperatureLow: CarbonPictogramType; export const TemporaryBadge: CarbonPictogramType; export const Tennis: CarbonPictogramType; +export const TennisBall: CarbonPictogramType; +export const TennisNet: CarbonPictogramType; +export const TennisRacquet: CarbonPictogramType; export const TestTubes: CarbonPictogramType; export const TextData: CarbonPictogramType; export const TextEquivalent: CarbonPictogramType; @@ -1141,9 +1175,16 @@ export const WashingtonDc: CarbonPictogramType; export const WashingtonDcCapitol: CarbonPictogramType; export const WashingtonDcMonument: CarbonPictogramType; export const WasteElectronic: CarbonPictogramType; +/** + * @deprecated + * This pictogram should no longer be used, as it represents the old avatar for the Watson brand, which is retired since the watsonx brand launch. + */ export const WatsonLogo: CarbonPictogramType; export const Watsonx: CarbonPictogramType; export const WatsonxAi: CarbonPictogramType; +export const WatsonxCodeAssistant: CarbonPictogramType; +export const WatsonxCodeAssistantForZ: CarbonPictogramType; +export const WatsonxCodeAssistantForZRefactor: CarbonPictogramType; export const WatsonxData: CarbonPictogramType; export const WatsonxGovernance: CarbonPictogramType; export const Weather: CarbonPictogramType; @@ -1153,6 +1194,7 @@ export const Websites: CarbonPictogramType; export const Websphere: CarbonPictogramType; export const WeddingCake: CarbonPictogramType; export const Wheat: CarbonPictogramType; +export const Whistle: CarbonPictogramType; export const Wifi: CarbonPictogramType; export const WindPower: CarbonPictogramType; export const Windows: CarbonPictogramType; diff --git a/types/carbon__pictograms-react/lib/analyze--code/index.d.ts b/types/carbon__pictograms-react/lib/analyze--code/index.d.ts new file mode 100644 index 00000000000000..94e7b1cf8827c7 --- /dev/null +++ b/types/carbon__pictograms-react/lib/analyze--code/index.d.ts @@ -0,0 +1,3 @@ +import { AnalyzeCode } from "../../"; + +export = AnalyzeCode; diff --git a/types/carbon__pictograms-react/lib/bento-box-tray/index.d.ts b/types/carbon__pictograms-react/lib/bento-box-tray/index.d.ts new file mode 100644 index 00000000000000..9e490b700bdc1e --- /dev/null +++ b/types/carbon__pictograms-react/lib/bento-box-tray/index.d.ts @@ -0,0 +1,3 @@ +import { BentoBoxTray } from "../../"; + +export = BentoBoxTray; diff --git a/types/carbon__pictograms-react/lib/cics--configuration-manager-for-z-os/index.d.ts b/types/carbon__pictograms-react/lib/cics--configuration-manager-for-z-os/index.d.ts new file mode 100644 index 00000000000000..2799de671d3259 --- /dev/null +++ b/types/carbon__pictograms-react/lib/cics--configuration-manager-for-z-os/index.d.ts @@ -0,0 +1,3 @@ +import { CicsConfigurationManagerForZOs } from "../../"; + +export = CicsConfigurationManagerForZOs; diff --git a/types/carbon__pictograms-react/lib/cics--deployment-assistant/index.d.ts b/types/carbon__pictograms-react/lib/cics--deployment-assistant/index.d.ts new file mode 100644 index 00000000000000..4e8ca0ac45ca6c --- /dev/null +++ b/types/carbon__pictograms-react/lib/cics--deployment-assistant/index.d.ts @@ -0,0 +1,3 @@ +import { CicsDeploymentAssistant } from "../../"; + +export = CicsDeploymentAssistant; diff --git a/types/carbon__pictograms-react/lib/cics--explorer/index.d.ts b/types/carbon__pictograms-react/lib/cics--explorer/index.d.ts new file mode 100644 index 00000000000000..12ac6e46577efa --- /dev/null +++ b/types/carbon__pictograms-react/lib/cics--explorer/index.d.ts @@ -0,0 +1,3 @@ +import { CicsExplorer } from "../../"; + +export = CicsExplorer; diff --git a/types/carbon__pictograms-react/lib/cics--interdependency-analyzer-for-z-os/index.d.ts b/types/carbon__pictograms-react/lib/cics--interdependency-analyzer-for-z-os/index.d.ts new file mode 100644 index 00000000000000..0b3826504442c3 --- /dev/null +++ b/types/carbon__pictograms-react/lib/cics--interdependency-analyzer-for-z-os/index.d.ts @@ -0,0 +1,3 @@ +import { CicsInterdependencyAnalyzerForZOs } from "../../"; + +export = CicsInterdependencyAnalyzerForZOs; diff --git a/types/carbon__pictograms-react/lib/cics--performance-analyzer-for-z-os/index.d.ts b/types/carbon__pictograms-react/lib/cics--performance-analyzer-for-z-os/index.d.ts new file mode 100644 index 00000000000000..57543fbdd1d4f7 --- /dev/null +++ b/types/carbon__pictograms-react/lib/cics--performance-analyzer-for-z-os/index.d.ts @@ -0,0 +1,3 @@ +import { CicsPerformanceAnalyzerForZOs } from "../../"; + +export = CicsPerformanceAnalyzerForZOs; diff --git a/types/carbon__pictograms-react/lib/cics--transaction-gateway/index.d.ts b/types/carbon__pictograms-react/lib/cics--transaction-gateway/index.d.ts new file mode 100644 index 00000000000000..4bd15ff81b6251 --- /dev/null +++ b/types/carbon__pictograms-react/lib/cics--transaction-gateway/index.d.ts @@ -0,0 +1,3 @@ +import { CicsTransactionGateway } from "../../"; + +export = CicsTransactionGateway; diff --git a/types/carbon__pictograms-react/lib/cics--transaction-server-for-z-os/index.d.ts b/types/carbon__pictograms-react/lib/cics--transaction-server-for-z-os/index.d.ts new file mode 100644 index 00000000000000..d344913cad8032 --- /dev/null +++ b/types/carbon__pictograms-react/lib/cics--transaction-server-for-z-os/index.d.ts @@ -0,0 +1,3 @@ +import { CicsTransactionServerForZOs } from "../../"; + +export = CicsTransactionServerForZOs; diff --git a/types/carbon__pictograms-react/lib/cics--tx/index.d.ts b/types/carbon__pictograms-react/lib/cics--tx/index.d.ts new file mode 100644 index 00000000000000..5a6c6e9fa5faeb --- /dev/null +++ b/types/carbon__pictograms-react/lib/cics--tx/index.d.ts @@ -0,0 +1,3 @@ +import { CicsTx } from "../../"; + +export = CicsTx; diff --git a/types/carbon__pictograms-react/lib/cics--vsam-recovery-for-z-os/index.d.ts b/types/carbon__pictograms-react/lib/cics--vsam-recovery-for-z-os/index.d.ts new file mode 100644 index 00000000000000..d53107c8dd1181 --- /dev/null +++ b/types/carbon__pictograms-react/lib/cics--vsam-recovery-for-z-os/index.d.ts @@ -0,0 +1,3 @@ +import { CicsVsamRecoveryForZOs } from "../../"; + +export = CicsVsamRecoveryForZOs; diff --git a/types/carbon__pictograms-react/lib/cics--vsam-transparency-for-z-os/index.d.ts b/types/carbon__pictograms-react/lib/cics--vsam-transparency-for-z-os/index.d.ts new file mode 100644 index 00000000000000..1fce7925ba1167 --- /dev/null +++ b/types/carbon__pictograms-react/lib/cics--vsam-transparency-for-z-os/index.d.ts @@ -0,0 +1,3 @@ +import { CicsVsamTransparencyForZOs } from "../../"; + +export = CicsVsamTransparencyForZOs; diff --git a/types/carbon__pictograms-react/lib/do-not-step/index.d.ts b/types/carbon__pictograms-react/lib/do-not-step/index.d.ts new file mode 100644 index 00000000000000..6a4e333343623e --- /dev/null +++ b/types/carbon__pictograms-react/lib/do-not-step/index.d.ts @@ -0,0 +1,3 @@ +import { DoNotStep } from "../../"; + +export = DoNotStep; diff --git a/types/carbon__pictograms-react/lib/football--field/index.d.ts b/types/carbon__pictograms-react/lib/football--field/index.d.ts new file mode 100644 index 00000000000000..1385eb348eec75 --- /dev/null +++ b/types/carbon__pictograms-react/lib/football--field/index.d.ts @@ -0,0 +1,3 @@ +import { FootballField } from "../../"; + +export = FootballField; diff --git a/types/carbon__pictograms-react/lib/football--goal-post/index.d.ts b/types/carbon__pictograms-react/lib/football--goal-post/index.d.ts new file mode 100644 index 00000000000000..d27193c3d572f5 --- /dev/null +++ b/types/carbon__pictograms-react/lib/football--goal-post/index.d.ts @@ -0,0 +1,3 @@ +import { FootballGoalPost } from "../../"; + +export = FootballGoalPost; diff --git a/types/carbon__pictograms-react/lib/football/index.d.ts b/types/carbon__pictograms-react/lib/football/index.d.ts new file mode 100644 index 00000000000000..a3f5a0efb4dfa4 --- /dev/null +++ b/types/carbon__pictograms-react/lib/football/index.d.ts @@ -0,0 +1,3 @@ +import { Football } from "../../"; + +export = Football; diff --git a/types/carbon__pictograms-react/lib/glass-bottle-and-metal-can/index.d.ts b/types/carbon__pictograms-react/lib/glass-bottle-and-metal-can/index.d.ts new file mode 100644 index 00000000000000..d6fa21dcf97f6b --- /dev/null +++ b/types/carbon__pictograms-react/lib/glass-bottle-and-metal-can/index.d.ts @@ -0,0 +1,3 @@ +import { GlassBottleAndMetalCan } from "../../"; + +export = GlassBottleAndMetalCan; diff --git a/types/carbon__pictograms-react/lib/golf--bag/index.d.ts b/types/carbon__pictograms-react/lib/golf--bag/index.d.ts new file mode 100644 index 00000000000000..3a702ca2a53a98 --- /dev/null +++ b/types/carbon__pictograms-react/lib/golf--bag/index.d.ts @@ -0,0 +1,3 @@ +import { GolfBag } from "../../"; + +export = GolfBag; diff --git a/types/carbon__pictograms-react/lib/golf--ball/index.d.ts b/types/carbon__pictograms-react/lib/golf--ball/index.d.ts new file mode 100644 index 00000000000000..7f53d808f3c2a1 --- /dev/null +++ b/types/carbon__pictograms-react/lib/golf--ball/index.d.ts @@ -0,0 +1,3 @@ +import { GolfBall } from "../../"; + +export = GolfBall; diff --git a/types/carbon__pictograms-react/lib/golf--club/index.d.ts b/types/carbon__pictograms-react/lib/golf--club/index.d.ts new file mode 100644 index 00000000000000..3540c99928422a --- /dev/null +++ b/types/carbon__pictograms-react/lib/golf--club/index.d.ts @@ -0,0 +1,3 @@ +import { GolfClub } from "../../"; + +export = GolfClub; diff --git a/types/carbon__pictograms-react/lib/golf--hole/index.d.ts b/types/carbon__pictograms-react/lib/golf--hole/index.d.ts new file mode 100644 index 00000000000000..c0c89209e586aa --- /dev/null +++ b/types/carbon__pictograms-react/lib/golf--hole/index.d.ts @@ -0,0 +1,3 @@ +import { GolfHole } from "../../"; + +export = GolfHole; diff --git a/types/carbon__pictograms-react/lib/gramophone/index.d.ts b/types/carbon__pictograms-react/lib/gramophone/index.d.ts new file mode 100644 index 00000000000000..8ee9b07af36106 --- /dev/null +++ b/types/carbon__pictograms-react/lib/gramophone/index.d.ts @@ -0,0 +1,3 @@ +import { Gramophone } from "../../"; + +export = Gramophone; diff --git a/types/carbon__pictograms-react/lib/ibm--z-and-cloud-modernization-stack/index.d.ts b/types/carbon__pictograms-react/lib/ibm--z-and-cloud-modernization-stack/index.d.ts new file mode 100644 index 00000000000000..b84aaf6d5a383f --- /dev/null +++ b/types/carbon__pictograms-react/lib/ibm--z-and-cloud-modernization-stack/index.d.ts @@ -0,0 +1,3 @@ +import { IbmZAndCloudModernizationStack } from "../../"; + +export = IbmZAndCloudModernizationStack; diff --git a/types/carbon__pictograms-react/lib/index.d.ts b/types/carbon__pictograms-react/lib/index.d.ts index 31764dcf4080db..7aa9595742d73f 100644 --- a/types/carbon__pictograms-react/lib/index.d.ts +++ b/types/carbon__pictograms-react/lib/index.d.ts @@ -36,6 +36,7 @@ export { AmsterdamFarm } from "../"; export { AmsterdamWindmill } from "../"; export { Analytics } from "../"; export { Analyze } from "../"; +export { AnalyzeCode } from "../"; export { AnalyzesData } from "../"; export { AnalyzingContainers } from "../"; export { AnonymousUsers } from "../"; @@ -83,6 +84,7 @@ export { BareMetal } from "../"; export { Bee } from "../"; export { BeijingMunicipal } from "../"; export { BeijingTower } from "../"; +export { BentoBoxTray } from "../"; export { BerlinBrandenburgGate } from "../"; export { BerlinCathedral } from "../"; export { BerlinTower } from "../"; @@ -164,6 +166,16 @@ export { ChipCircuit } from "../"; export { ChipCredit } from "../"; export { ChipDebit } from "../"; export { ChooseHowToGetStarted } from "../"; +export { CicsConfigurationManagerForZOs } from "../"; +export { CicsDeploymentAssistant } from "../"; +export { CicsExplorer } from "../"; +export { CicsInterdependencyAnalyzerForZOs } from "../"; +export { CicsPerformanceAnalyzerForZOs } from "../"; +export { CicsTransactionGateway } from "../"; +export { CicsTransactionServerForZOs } from "../"; +export { CicsTx } from "../"; +export { CicsVsamRecoveryForZOs } from "../"; +export { CicsVsamTransparencyForZOs } from "../"; export { CirclePacking } from "../"; export { ClientFinancing_01 } from "../"; export { ClientFinancing_02 } from "../"; @@ -334,6 +346,7 @@ export { DistributionLedger } from "../"; export { Dna } from "../"; export { DoNot } from "../"; export { DoNot_02 } from "../"; +export { DoNotStep } from "../"; export { Docker } from "../"; export { Doctor } from "../"; export { DoctorPatient } from "../"; @@ -447,6 +460,9 @@ export { Flower_02 } from "../"; export { FocusOnCode } from "../"; export { Fog } from "../"; export { Folder } from "../"; +export { Football } from "../"; +export { FootballField } from "../"; +export { FootballGoalPost } from "../"; export { Forecasting } from "../"; export { Forklift } from "../"; export { FountainDrinking } from "../"; @@ -459,6 +475,7 @@ export { Gear } from "../"; export { GeographicFlexibility } from "../"; export { GetAheadOfRiskAndCompliance } from "../"; export { Gift } from "../"; +export { GlassBottleAndMetalCan } from "../"; export { GlobalAnalytics } from "../"; export { GlobalAssetsAndRecovery_01 } from "../"; export { GlobalAssetsAndRecovery_02 } from "../"; @@ -480,10 +497,15 @@ export { Globe } from "../"; export { GlobeLocations } from "../"; export { GoLanguage } from "../"; export { Goals } from "../"; +export { GolfBag } from "../"; +export { GolfBall } from "../"; +export { GolfClub } from "../"; +export { GolfHole } from "../"; export { GovernUsersAndIdentities } from "../"; export { Government_01 } from "../"; export { Government_02 } from "../"; export { GpuComputing } from "../"; +export { Gramophone } from "../"; export { GraphicDesign } from "../"; export { GraphicIntensiveWorkloads } from "../"; export { GreenEnergy } from "../"; @@ -544,6 +566,7 @@ export { IbmIx } from "../"; export { IbmRpa } from "../"; export { IbmZ } from "../"; export { IbmZPartition } from "../"; +export { IbmZAndCloudModernizationStack } from "../"; export { IbmZAndLinuxoneMultiFrame } from "../"; export { IbmZAndLinuxoneSingleFrame } from "../"; export { IbmZ16 } from "../"; @@ -599,6 +622,7 @@ export { Library } from "../"; export { LiftAndShift } from "../"; export { Lightning } from "../"; export { Link } from "../"; +export { Liquids } from "../"; export { ListBullet } from "../"; export { ListCheckbox } from "../"; export { Literature } from "../"; @@ -627,6 +651,7 @@ export { MadridSkyscrapers } from "../"; export { MadridStatue } from "../"; export { Magnify } from "../"; export { MailVerse } from "../"; +export { MainframeQualitiesOfService } from "../"; export { ManageApplicationsAnywhere } from "../"; export { ManagedHosting_01 } from "../"; export { ManagedHosting_02 } from "../"; @@ -648,6 +673,7 @@ export { MedicalCharts } from "../"; export { MedicalStaff } from "../"; export { Melbourne } from "../"; export { Memory } from "../"; +export { MetalCan } from "../"; export { Meter } from "../"; export { MexicoCityAngelOfIndependence } from "../"; export { MexicoCityMuseoSoumaya } from "../"; @@ -758,6 +784,7 @@ export { PhpLanguage } from "../"; export { PillBottle_01 } from "../"; export { Pills } from "../"; export { PlanningAnalytics } from "../"; +export { Plastics } from "../"; export { PlatformAsAService } from "../"; export { PlayerFlow } from "../"; export { PliLanguage } from "../"; @@ -901,6 +928,7 @@ export { Silence } from "../"; export { Singapore } from "../"; export { SingleSignOn } from "../"; export { Slack } from "../"; +export { SliceCode } from "../"; export { Slider } from "../"; export { SmallComponentsMakingALargerWhole } from "../"; export { SmallToMediumBusinessSmb } from "../"; @@ -922,9 +950,11 @@ export { Speech } from "../"; export { SpeechToText } from "../"; export { Speedometer } from "../"; export { Sports } from "../"; +export { Spotlight } from "../"; export { Sprout } from "../"; export { Spss } from "../"; export { StackLimitation } from "../"; +export { Stage } from "../"; export { Stairs } from "../"; export { StairsDown } from "../"; export { StairsPlanView } from "../"; @@ -943,6 +973,7 @@ export { StorageAreaNetworks } from "../"; export { StorageForDataAndAi } from "../"; export { StorageForResiliency } from "../"; export { StorageProduct } from "../"; +export { StorageSystems } from "../"; export { Strategy } from "../"; export { StrategyAndRisk } from "../"; export { StrategyDirect } from "../"; @@ -1002,6 +1033,9 @@ export { TemperatureHigh } from "../"; export { TemperatureLow } from "../"; export { TemporaryBadge } from "../"; export { Tennis } from "../"; +export { TennisBall } from "../"; +export { TennisNet } from "../"; +export { TennisRacquet } from "../"; export { TestTubes } from "../"; export { TextData } from "../"; export { TextEquivalent } from "../"; @@ -1104,6 +1138,9 @@ export { WasteElectronic } from "../"; export { WatsonLogo } from "../"; export { Watsonx } from "../"; export { WatsonxAi } from "../"; +export { WatsonxCodeAssistant } from "../"; +export { WatsonxCodeAssistantForZ } from "../"; +export { WatsonxCodeAssistantForZRefactor } from "../"; export { WatsonxData } from "../"; export { WatsonxGovernance } from "../"; export { Weather } from "../"; @@ -1113,6 +1150,7 @@ export { Websites } from "../"; export { Websphere } from "../"; export { WeddingCake } from "../"; export { Wheat } from "../"; +export { Whistle } from "../"; export { Wifi } from "../"; export { WindPower } from "../"; export { Windows } from "../"; diff --git a/types/carbon__pictograms-react/lib/liquids/index.d.ts b/types/carbon__pictograms-react/lib/liquids/index.d.ts new file mode 100644 index 00000000000000..79bd8276aee949 --- /dev/null +++ b/types/carbon__pictograms-react/lib/liquids/index.d.ts @@ -0,0 +1,3 @@ +import { Liquids } from "../../"; + +export = Liquids; diff --git a/types/carbon__pictograms-react/lib/mainframe-qualities-of-service/index.d.ts b/types/carbon__pictograms-react/lib/mainframe-qualities-of-service/index.d.ts new file mode 100644 index 00000000000000..fef6b6db0c8568 --- /dev/null +++ b/types/carbon__pictograms-react/lib/mainframe-qualities-of-service/index.d.ts @@ -0,0 +1,3 @@ +import { MainframeQualitiesOfService } from "../../"; + +export = MainframeQualitiesOfService; diff --git a/types/carbon__pictograms-react/lib/metal-can/index.d.ts b/types/carbon__pictograms-react/lib/metal-can/index.d.ts new file mode 100644 index 00000000000000..70446dc76c3f85 --- /dev/null +++ b/types/carbon__pictograms-react/lib/metal-can/index.d.ts @@ -0,0 +1,3 @@ +import { MetalCan } from "../../"; + +export = MetalCan; diff --git a/types/carbon__pictograms-react/lib/plastics/index.d.ts b/types/carbon__pictograms-react/lib/plastics/index.d.ts new file mode 100644 index 00000000000000..de2bd1ef6b8914 --- /dev/null +++ b/types/carbon__pictograms-react/lib/plastics/index.d.ts @@ -0,0 +1,3 @@ +import { Plastics } from "../../"; + +export = Plastics; diff --git a/types/carbon__pictograms-react/lib/slice-code/index.d.ts b/types/carbon__pictograms-react/lib/slice-code/index.d.ts new file mode 100644 index 00000000000000..36f388e1f4773a --- /dev/null +++ b/types/carbon__pictograms-react/lib/slice-code/index.d.ts @@ -0,0 +1,3 @@ +import { SliceCode } from "../../"; + +export = SliceCode; diff --git a/types/carbon__pictograms-react/lib/spotlight/index.d.ts b/types/carbon__pictograms-react/lib/spotlight/index.d.ts new file mode 100644 index 00000000000000..f1df960ce67807 --- /dev/null +++ b/types/carbon__pictograms-react/lib/spotlight/index.d.ts @@ -0,0 +1,3 @@ +import { Spotlight } from "../../"; + +export = Spotlight; diff --git a/types/carbon__pictograms-react/lib/stage/index.d.ts b/types/carbon__pictograms-react/lib/stage/index.d.ts new file mode 100644 index 00000000000000..c5056294a38164 --- /dev/null +++ b/types/carbon__pictograms-react/lib/stage/index.d.ts @@ -0,0 +1,3 @@ +import { Stage } from "../../"; + +export = Stage; diff --git a/types/carbon__pictograms-react/lib/storage--systems/index.d.ts b/types/carbon__pictograms-react/lib/storage--systems/index.d.ts new file mode 100644 index 00000000000000..95555f4fc17eb5 --- /dev/null +++ b/types/carbon__pictograms-react/lib/storage--systems/index.d.ts @@ -0,0 +1,3 @@ +import { StorageSystems } from "../../"; + +export = StorageSystems; diff --git a/types/carbon__pictograms-react/lib/tennis--ball/index.d.ts b/types/carbon__pictograms-react/lib/tennis--ball/index.d.ts new file mode 100644 index 00000000000000..59c463f65d5ed4 --- /dev/null +++ b/types/carbon__pictograms-react/lib/tennis--ball/index.d.ts @@ -0,0 +1,3 @@ +import { TennisBall } from "../../"; + +export = TennisBall; diff --git a/types/carbon__pictograms-react/lib/tennis--net/index.d.ts b/types/carbon__pictograms-react/lib/tennis--net/index.d.ts new file mode 100644 index 00000000000000..f66c933ee9c46c --- /dev/null +++ b/types/carbon__pictograms-react/lib/tennis--net/index.d.ts @@ -0,0 +1,3 @@ +import { TennisNet } from "../../"; + +export = TennisNet; diff --git a/types/carbon__pictograms-react/lib/tennis--racquet/index.d.ts b/types/carbon__pictograms-react/lib/tennis--racquet/index.d.ts new file mode 100644 index 00000000000000..995c2c5ba78216 --- /dev/null +++ b/types/carbon__pictograms-react/lib/tennis--racquet/index.d.ts @@ -0,0 +1,3 @@ +import { TennisRacquet } from "../../"; + +export = TennisRacquet; diff --git a/types/carbon__pictograms-react/lib/watsonx--code-assistant-for-z-refactor/index.d.ts b/types/carbon__pictograms-react/lib/watsonx--code-assistant-for-z-refactor/index.d.ts new file mode 100644 index 00000000000000..8e939dd32e99fc --- /dev/null +++ b/types/carbon__pictograms-react/lib/watsonx--code-assistant-for-z-refactor/index.d.ts @@ -0,0 +1,3 @@ +import { WatsonxCodeAssistantForZRefactor } from "../../"; + +export = WatsonxCodeAssistantForZRefactor; diff --git a/types/carbon__pictograms-react/lib/watsonx--code-assistant-for-z/index.d.ts b/types/carbon__pictograms-react/lib/watsonx--code-assistant-for-z/index.d.ts new file mode 100644 index 00000000000000..0d96fa14d2c6aa --- /dev/null +++ b/types/carbon__pictograms-react/lib/watsonx--code-assistant-for-z/index.d.ts @@ -0,0 +1,3 @@ +import { WatsonxCodeAssistantForZ } from "../../"; + +export = WatsonxCodeAssistantForZ; diff --git a/types/carbon__pictograms-react/lib/watsonx--code-assistant/index.d.ts b/types/carbon__pictograms-react/lib/watsonx--code-assistant/index.d.ts new file mode 100644 index 00000000000000..a9c9fc6208ea15 --- /dev/null +++ b/types/carbon__pictograms-react/lib/watsonx--code-assistant/index.d.ts @@ -0,0 +1,3 @@ +import { WatsonxCodeAssistant } from "../../"; + +export = WatsonxCodeAssistant; diff --git a/types/carbon__pictograms-react/lib/whistle/index.d.ts b/types/carbon__pictograms-react/lib/whistle/index.d.ts new file mode 100644 index 00000000000000..1d32706c86c6c2 --- /dev/null +++ b/types/carbon__pictograms-react/lib/whistle/index.d.ts @@ -0,0 +1,3 @@ +import { Whistle } from "../../"; + +export = Whistle; diff --git a/types/channel-io/channel-io-tests.ts b/types/channel-io/channel-io-tests.ts index 75379cc6ff45b4..619b1342f3d971 100644 --- a/types/channel-io/channel-io-tests.ts +++ b/types/channel-io/channel-io-tests.ts @@ -1,17 +1,13 @@ // https://developers.channel.io/docs/web-channel-io#boot -ChannelIO( - "boot", - { - pluginKey: "YOUR_PLUGIN_KEY", - }, - function onBoot(error, user) { - if (error) { - console.error(error); - } else { - console.log("boot success", user); - } - }, -); +ChannelIO("boot", { + pluginKey: "YOUR_PLUGIN_KEY", +}, function onBoot(error, user) { + if (error) { + console.error(error); + } else { + console.log("boot success", user); + } +}); // https://developers.channel.io/docs/web-channel-io#shutdown ChannelIO("shutdown"); @@ -19,63 +15,38 @@ ChannelIO("shutdown"); // https://developers.channel.io/docs/web-channel-io#showmessenger ChannelIO("showMessenger"); -// https://developers.channel.io/docs/web-channel-io#show -ChannelIO("show"); - // https://developers.channel.io/docs/web-channel-io#hidemessenger ChannelIO("hideMessenger"); -// https://developers.channel.io/docs/web-channel-io#hide -ChannelIO("hide"); - -// https://developers.channel.io/docs/web-channel-io#lounge -ChannelIO("lounge"); - // https://developers.channel.io/docs/web-channel-io#openchat -ChannelIO("openChat", 132); -ChannelIO("openChat", "132"); -ChannelIO("openChat", undefined, "something"); +ChannelIO("openChat"); +ChannelIO("openChat", undefined, "Text here"); +ChannelIO("openChat", "123"); + +// https://developers.channel.io/docs/web-channelio#opensupportbot +ChannelIO("openSupportBot", "123"); +ChannelIO("openSupportBot", "123", "Text here"); // https://developers.channel.io/docs/web-channel-io#track ChannelIO("track", "OrderRequest"); ChannelIO("track", "Order", { - price: 100, - currency: "USD", -}); - -// https://developers.channel.io/docs/web-channel-io#onboot -ChannelIO("onBoot", user => { - // YOUR CODE... + "price": 100, + "currency": "USD", }); // https://developers.channel.io/docs/web-channel-io#onshowmessenger -ChannelIO("onShowMessenger", () => { - // YOUR CODE... -}); - -// https://developers.channel.io/docs/web-channel-io#onshow -ChannelIO("onShow", () => { - // YOUR CODE... +ChannelIO("onShowMessenger", function onShowMessenger() { + console.log("Messenger is shown."); }); // https://developers.channel.io/docs/web-channel-io#onhidemessenger -ChannelIO("onHideMessenger", () => { - // YOUR CODE... -}); - -// https://developers.channel.io/docs/web-channel-io#onhide -ChannelIO("onHide", () => { - // YOUR CODE... +ChannelIO("onHideMessenger", function onHideMessenger() { + console.log("Messenger is hidden."); }); // https://developers.channel.io/docs/web-channel-io#onbadgechanged -ChannelIO("onBadgeChanged", unreadCount => { - // YOUR CODE... -}); - -// https://developers.channel.io/docs/web-channel-io#onchangebadge -ChannelIO("onChangeBadge", unreadCount => { - // YOUR CODE... +ChannelIO("onBadgeChanged", function onBadgeChanged(unread, alert) { + console.log(`Unread count: ${unread}, Alert count: ${alert}.`); }); // https://developers.channel.io/docs/web-channel-io#onchatcreated @@ -89,60 +60,47 @@ ChannelIO("onFollowUpChanged", profile => { }); // https://developers.channel.io/docs/web-channel-io#oncreatechat -ChannelIO("onCreateChat", () => { - // YOUR CODE... +ChannelIO("onChatCreated", function onChatCreated() { + console.log("New Chat is created."); }); -// https://developers.channel.io/docs/web-channel-io#onprofilechanged -ChannelIO("onProfileChanged", profile => { - // YOUR CODE... -}); - -// https://developers.channel.io/docs/web-channel-io#onchangeprofile -ChannelIO("onChangeProfile", profile => { - // YOUR CODE... +// https://developers.channel.io/docs/web-channelio#onfollowupchanged +ChannelIO("onFollowUpChanged", function onFollowUpChanged(profile) { + console.log("User changed profile", profile); }); // https://developers.channel.io/docs/web-channel-io#onurlclicked -ChannelIO("onUrlClicked", url => { - // YOUR CODE... -}); - -// https://developers.channel.io/docs/web-channel-io#onclickredirect -ChannelIO("onClickRedirect", url => { - // YOUR CODE... +ChannelIO("onUrlClicked", function onUrlClicked(url) { + console.log(`User clicked URL: ${url}`); }); // https://developers.channel.io/docs/web-channel-io#clearcallbacks ChannelIO("clearCallbacks"); // https://developers.channel.io/docs/web-channel-io#updateuser -ChannelIO( - "updateUser", - { - language: "ko", - tags: ["a", "b"], // replace - profile: { - email: "email@email.com", - mobileNumber: "+18004424000", - name: "name", - }, - profileOnce: { - email: "email@email.com", - mobileNumber: "+18004424000", - name: "name", - }, - unsubscribeEmail: true, - unsubscribeTexting: true, +const userObject = { + language: "ko", + tags: ["a", "b"] as const, + profile: { + email: "test@email.com", + mobileNumber: "+821012345678", + name: "test name", }, - function onUpdateUser(error, user) { - if (error) { - console.error(error); - } else { - console.log("updateUser success", user); - } + profileOnce: { + customerType: "vip", + registeredAt: "2022-11-22", }, -); + unsubscribeEmail: false, + unsubscribeTexting: true, +}; + +ChannelIO("updateUser", userObject, function onUpdateUser(error, user) { + if (error) { + console.error(error); + } else { + console.log("updateUser success", user); + } +}); // https://developers.channel.io/docs/web-channel-io#addtags ChannelIO("addTags", ["tag1", "tag2"], function onAddTags(error, user) { @@ -163,34 +121,37 @@ ChannelIO("removeTags", ["tag1", "tag2"], function onRemoveTags(error, user) { }); // https://developers.channel.io/docs/web-channel-io#setpage -ChannelIO("setPage", "page"); +ChannelIO("setPage", "https://example.com/product"); // https://developers.channel.io/docs/web-channel-io#resetpage ChannelIO("resetPage"); -// https://developers.channel.io/docs/web-channel-io#resetpage -ChannelIO("showChannelButton"); - // https://developers.channel.io/docs/web-channel-io#showchannelbutton ChannelIO("showChannelButton"); // https://developers.channel.io/docs/web-channel-io#hidechannelbutton ChannelIO("hideChannelButton"); +// https://developers.channel.io/docs/web-channelio#setappearance +ChannelIO("setAppearance", "dark"); + +// https://developers.channel.io/docs/web-user-object#example const user: ChannelIO.User = { - id: "USER_ID", - memberId: "MEMBER_ID", - name: "USER_NAME", - avatarUrl: "AVATAR_URL", - alert: 0, - profile: { - name: "USER_NAME", - mobileNumber: "MOBILE_NUMBER", - CUSTOM_VALUE_1: "VALUE_1", - CUSTOM_VALUE_2: "VALUE_2", + "id": "USER_ID", + "memberId": "MEMBER_ID", + "name": "USER_NAME", + "avatarUrl": "AVATAR_URL", + "unread": 5, + "alert": 3, + "profile": { + "name": "USER_NAME", + "email": "USER_EMAIL", + "mobileNumber": "+821012345678", + "CUSTOM_VALUE_1": "VALUE_1", + "CUSTOM_VALUE_2": "VALUE_2", }, - unsubscribeEmail: true, - unsubscribeTexting: true, - tags: ["TAG_1", "TAG_2"], - language: "LANGUAGE", + "unsubscribeEmail": true, + "unsubscribeTexting": true, + "tags": ["tag1", "tag2"], + "language": "ko", }; diff --git a/types/channel-io/index.d.ts b/types/channel-io/index.d.ts index 30b71387d5519c..2d41204dd5518e 100644 --- a/types/channel-io/index.d.ts +++ b/types/channel-io/index.d.ts @@ -6,107 +6,124 @@ declare namespace ChannelIO { type: string; } + type Appearance = "light" | "dark" | "system"; + /** - * An object that contains information for ChannelIO boot - * * @see https://developers.channel.io/docs/web-boot-option */ interface BootOption { /** - * Channel plugin's key + * Your channel's {@link https://developers.channel.io/docs/sdk#get-a-plugin-key | plugin key}. * - * @see https://developers.channel.io/docs/web-boot-option#pluginkey-require + * @see https://developers.channel.io/docs/web-boot-option#pluginkey */ pluginKey: string; + /** - * member (user) identification id used by your company + * The ID of the {@link https://developers.channel.io/docs/glossary#member-user | member user}. * - * @see https://developers.channel.io/docs/web-boot-option#memberid-optional + * @see https://developers.channel.io/docs/web-boot-option#memberid */ memberId?: string | undefined; + /** - * Css selector for custom button. Use it with `hideChannelButtonOnBoot` set to `true` + * The {@link https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors | CSS Selector} to select a custom launcher. + * Use this option to {@link https://developers.channel.io/docs/web-customization | customize} the default chat button. * - * @see https://developers.channel.io/docs/web-boot-option#customlauncherselector-optional + * @see https://developers.channel.io/docs/web-boot-option#customlauncherselector */ customLauncherSelector?: string | undefined; + /** - * Flag to decide whether to hide the default button. + * Determines whether to hide the default chat button on boot. + * The default value is `false`. * - * @see https://developers.channel.io/docs/web-boot-option#hidechannelbuttononboot-optional + * @see https://developers.channel.io/docs/web-boot-option#hidechannelbuttononboot */ hideChannelButtonOnBoot?: boolean | undefined; + /** - * Custom plugin button's z-index + * Sets the {@link https://developer.mozilla.org/en-US/docs/Web/CSS/z-index | z-index} for SDK elements, such as the chat button, {@link https://developers.channel.io/docs/glossary#messenger | messenger}, and marketing pop-ups. + * The default value is `10000000`. * - * @see https://developers.channel.io/docs/web-boot-option#zindex-optional + * @see https://developers.channel.io/docs/web-boot-option#zindex */ zIndex?: number | undefined; + /** - * Set default language. Only (en, ko, ja) available. - * It does not change for users who have already been created. + * Sets the default language. + * This affects text display and sets the {@link User.language | `language`} for new users. Existing user `language` settings will not change. * - * @see https://developers.channel.io/docs/web-boot-option#language-optional + * @see https://developers.channel.io/docs/web-boot-option#language */ language?: string | undefined; + /** - * Whether to send default events (usually PageView). - * Default value is `true` + * Determines whether to track the default {@link https://developers.channel.io/docs/event | event}(PageView). + * The default value is `true`. * - * @see https://developers.channel.io/docs/web-boot-option#trackdefaultevent-optional + * @see https://developers.channel.io/docs/web-boot-option#trackdefaultevent */ trackDefaultEvent?: boolean | undefined; + /** - * Flag to decide whether to track UTM source and referrer or not. - * Default value is `true` + * Determines whether to track the {@link https://support.google.com/analytics/answer/1033863 | UTM source} and {@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer | referrer}. + * The default value is true. * - * @see https://developers.channel.io/docs/web-boot-option#trackutmsource-optional + * @see https://developers.channel.io/docs/web-boot-option#trackutmsource */ trackUtmSource?: boolean | undefined; + /** - * Profile object contains user information. - * If this property is present, it will be used when boot is get called + * Sets the user’s {@link User.profile | profile}. * - * @see https://developers.channel.io/docs/web-boot-option#profile-optional + * @see https://developers.channel.io/docs/web-boot-option#profile */ profile?: Profile; + /** - * Set chat ux. Only (newTab, iframe) available. - * - * @see https://developers.channel.io/docs/web-boot-option#mobilemessengermode-optional - */ - mobileMessengerMode?: string | undefined; - /** - * a value of whether or not to accept marketing - * - * @deprecated Recommend to use unsubscribeEmail and unsubscribeTexting instead. - * @see https://developers.channel.io/docs/web-boot-option#unsubscribed-optional - */ - unsubscribed?: boolean | undefined; - /** - * a value of whether or not to accept marketing email + * Set whether to unsubscribe marketing emails for the user. + * The default value is `false`. * * @see https://developers.channel.io/docs/web-boot-option#unsubscribeemail */ unsubscribeEmail?: boolean | undefined; + /** - * a value of whether or not to accept marketing SMS + * Set whether to unsubscribe marketing SMS for the user. + * The default value is `false`. * * @see https://developers.channel.io/docs/web-boot-option#unsubscribetexting */ unsubscribeTexting?: boolean | undefined; + /** - * the hashed value of `memberId` using SHA256 + * Set the hashed value of the {@link memberId} using {@link https://en.wikipedia.org/wiki/HMAC | HMAC}-{@link https://en.wikipedia.org/wiki/SHA-2 | SHA256}. * - * @see https://developers.channel.io/docs/web-boot-option#memberhash-optional + * @see https://developers.channel.io/docs/web-boot-option#memberhash */ memberHash?: string | undefined; + /** - * Set whether to hide marketing and message notification pop-up + * Determines whether to hide marketing and message alarm pop-ups. + * The default value is `false`. * - * @see https://developers.channel.io/docs/web-boot-option#hidepopup-optional + * @see https://developers.channel.io/docs/web-boot-option#hidepopup */ hidePopup?: boolean | undefined; + + /** + * Set the initial theme appearance. + * The default value is `null`. + * + * `"light"`: Use the light theme. + * `"dark"`: Use the dark theme. + * `"system"`: Follow the system theme. + * `null`: Follow the {@link https://developers.channel.io/docs/glossary#desk | desk}’s theme setting. + * + * @see https://developers.channel.io/docs/web-boot-option#appearance + */ + appearance?: Appearance | null; } type CallbackParams = [error: null, data: T] | [error: APIError, data: null]; @@ -119,9 +136,20 @@ declare namespace ChannelIO { * @see https://developers.channel.io/docs/web-channel-io#onfollowupchanged */ interface FollowUpProfile { - name: string; - email: string; - mobileNumber: string; + /** + * The name of a user. + */ + name: string | null; + + /** + * The email of a user. + */ + email: string | null; + + /** + * The mobile number of a user. It follows {@link https://en.wikipedia.org/wiki/E.164 | E.164} format. + */ + mobileNumber: string | null; } type Profile = Partial>; @@ -130,225 +158,372 @@ declare namespace ChannelIO { interface CommandSignature { /** - * Boot up channel plugin(button) to make it ready to use + * Initialize for the SDK. + * The {@link https://developers.channel.io/docs/glossary#channel-button | Channel button} appears, and features like the marketing pop-up are ready to use. + * + * For more details, see {@link https://developers.channel.io/docs/glossary#boot | boot}. + * + * @param bootOption - A {@link BootOption | boot option} to initialize the SDK. + * @param callback - Callback function executed after boot. If boot fails, the callback receives an error object as the first argument and null as the second argument. If boot succeeds, the callback receives null as the first argument and a {@link User | user object} as the second argument. + * + * @example + * ```javascript + * ChannelIO('boot', { + * pluginKey: 'YOUR_PLUGIN_KEY' + * }, function onBoot(error, user) { + * if (error) { + * console.error(error); + * } else { + * console.log('boot success', user); + * } + * }); + * ``` * - * @param option - a Boot Option object contains informations to initialize Channel IO plugin - * @param callback - a callback function which will be called after boot. * @see https://developers.channel.io/docs/web-channel-io#boot */ - boot: (option: BootOption, callback?: (...params: CallbackParams) => void) => void; + boot: (bootOption: BootOption, callback?: (...params: CallbackParams) => void) => void; + /** - * Shutdown channel plugin + * Stops all SDK operations and initializes internal data. * * @see https://developers.channel.io/docs/web-channel-io#shutdown */ shutdown: () => void; + /** - * Show plugin messenger + * Shows the {@link https://developers.channel.io/docs/glossary#messenger | messenger}. * * @see https://developers.channel.io/docs/web-channel-io#showmessenger */ showMessenger: () => void; + /** - * Show plugin messenger - * - * @deprecated Recommend to use showMessenger instead. - * @see https://developers.channel.io/docs/web-channel-io#showmessenger - */ - show: () => void; - /** - * Hide plugin messenger + * Hides the {@link https://developers.channel.io/docs/glossary#messenger | messenger}. * * @see https://developers.channel.io/docs/web-channel-io#hidemessenger */ hideMessenger: () => void; + /** - * Hide plugin messenger + * Opens a chat. * - * @deprecated Recommend to use hideMessenger instead. - * @see https://developers.channel.io/docs/web-channel-io#hide - */ - hide: () => void; - /** - * Go to the lounge view. + * - If `chatId` is `undefined`, a new chat is opened. If the `message` argument is provided, it appears in the input field. If the support bot is active, it will be triggered. + * - If a chat corresponding to `chatId` exists, it is opened and the `message` argument is ignored. If the chat does not exist, an error page is displayed. * - * @deprecated lounge API won't work in all mobile environments. - * @see https://developers.channel.io/docs/web-channel-io#lounge - */ - lounge: () => void; - /** - * Open a chat with the given chat id and message. - * If the given chat id exists, appropriate chat will be opened. - * If not, lounge will be opened. - * In this case, the message will be ignored. - * If chat id is empty and message is given, new chat will be opened and the given message will be put in the input box. - * In this case, if the support bot is enable, support bot will run. - * if chat id and message is both empty, new chat will be opened. + * @param chatId - The chat ID. + * @param message - The message to be inputted in the input field when a new chat opens. + * + * @example + * ```javascript + * // Opens a new chat. + * ChannelIO('openChat'); + * + * // Opens a new chat with 'Text here' in the message field. + * // If the support bot is active, it's triggered before the message appears. + * ChannelIO('openChat', undefined, 'Text here'); + * + * // Opens a chat with ID '123' or displays an error page if it doesn't exist. + * ChannelIO('openChat', '123'); + * ```` * - * @param chatId - The id of the chat - * @param message - The message which will be put in the input box on messenger when new chat is opened * @see https://developers.channel.io/docs/web-channel-io#openchat */ openChat: (chatId?: string | number, message?: string) => void; + /** - * Track an event + * Opens a chat and initiates a specific support bot. + * If a support bot with the provided `supportBotId` exists, it will be triggered. If `supportBotId` is not provided or invalid, an error page is displayed. + * If a `message` argument is provided, it will be inputted in the chat field after the support bot's operation completes. * - * @param eventName - name of event, its length should be less than 30 - * @param eventProperty - an object contains key/value information - * @see https://developers.channel.io/docs/web-channel-io#track + * @param supportBotId - The ID of the support bot. + * @param message - The message to be inputted in the input field after the support bot's operation. + * + * @example + * ```javascript + * // Triggers the support bot with ID '123'. Displays an error if it doesn't exist. + * ChannelIO('openSupportBot', '123'); + * + * // Triggers the support bot with ID '123' and inputs 'Text here' after completion. + * // Displays an error if the bot doesn't exist. + * ChannelIO('openSupportBot', '123', 'Text here'); + * ``` + * + * @see https://developers.channel.io/docs/web-channelio#opensupportbot */ - track: (eventName: string, eventProperty?: string | Profile) => void; + openSupportBot: (supportBotId: string, message?: string) => void; + /** - * Register a callback function when boot was completed. - * Returns a user if `boot` was succeeded. - * `user` is `undefined` when `boot` failed. + * Tracks an {@link https://developers.channel.io/docs/event | event}. + * + * - If you track a new event that has not been created before, it will be created. + * - It may take a few minutes to a few hours for the event to be visible at the {@link https://developers.channel.io/docs/glossary#desk | desk}. + * + * @param eventName - The name of the event. A maximum of 30 characters is allowed. + * @param eventProperty - The property of the event. + * + * ```javascript + * // Tracks an event named 'OrderRequest'. + * ChannelIO('track', 'OrderRequest'); * - * @deprecated Recommend to use boot callback instead. - * @see https://developers.channel.io/docs/web-channel-io#onboot + * // Tracks an event named 'Order' with additional properties. + * ChannelIO('track', 'Order', { + * "price": 100, + * "currency": 'USD' + * }); + * ``` + * + * @see https://developers.channel.io/docs/web-channel-io#track */ - onBoot: (callback: (user: User | undefined) => void) => void; + track: (eventName: string, eventProperty?: string | Profile) => void; + /** - * Register a callback function when the chat list is shown. + * Registers a callback that is invoked when the {@link https://developers.channel.io/docs/glossary#messenger | messenger} is shown. + * + * @param callback - Callback function invoked when the messenger is shown. + * + * @example + * ```javascript + * ChannelIO('onShowMessenger', function onShowMessenger() { + * console.log('Messenger is shown.'); + * }); + * ``` * * @see https://developers.channel.io/docs/web-channel-io#onshowmessenger */ onShowMessenger: (callback: () => void) => void; /** - * Register a callback function when the chat list is shown. + * Registers a callback that is invoked when the {@link https://developers.channel.io/docs/glossary#messenger | messenger} is hidden. * - * @deprecated Recommend to use onShowMessenger instead. - * @see https://developers.channel.io/docs/web-channel-io#onshow - */ - onShow: (callback: () => void) => void; - /** - * Register a callback function when the chat list is hidden. + * @param callback - Callback function invoked when the messenger is hidden. + * + * @example + * ```javascript + * ChannelIO('onHideMessenger', function onHideMessenger() { + * console.log('Messenger is hidden.'); + * }); + * ``` * * @see https://developers.channel.io/docs/web-channel-io#onhidemessenger */ onHideMessenger: (callback: () => void) => void; + /** - * Register a callback function when the chat list is hidden. + * Registers a callback that is invoked when there is a change in the count of messages that the user has not yet read. * - * @deprecated Recommend to use onHideMessenger instead. - * @see https://developers.channel.io/docs/web-channel-io#onhide - */ - onHide: (callback: () => void) => void; - /** - * Register a callback when `unreadCount` is changed. + * @param callback - Callback function invoked when there is a change in the count of messages that the user has not yet read. The callback receives two arguments: `unread` (the total number of unread notifications, displayed as a red dot on the {@link https://developers.channel.io/docs/glossary#channel-button | channel button}) and `alert` (the number of important unread notifications, displayed as a number on the {@link https://developers.channel.io/docs/glossary#channel-button | channel button}). + * + * @example + * ```javascript + * ChannelIO('onBadgeChanged', function onBadgeChanged(unread, alert) { + * console.log(`Unread count: ${unread}, Alert count: ${alert}.`); + * }); + * ``` * * @see https://developers.channel.io/docs/web-channel-io#onbadgechanged */ - onBadgeChanged: (callback: (unreadCount: number) => void) => void; + onBadgeChanged: (callback: (unread: number, alert: number) => void) => void; + /** - * Register a callback when `unreadCount` is changed. + * Registers a callback that is invoked when a chat is created. * - * @see https://developers.channel.io/docs/web-channel-io#onchangebadge - */ - onChangeBadge: (callback: (unreadCount: number) => void) => void; - /** - * Register a callback when a user success to create a chat. + * @param callback - Callback function invoked when a new chat is created. + * + * @example + * ```javascript + * ChannelIO('onChatCreated', function onChatCreated() { + * console.log('New Chat is created.'); + * }); + * ``` * * @see https://developers.channel.io/docs/web-channel-io#onchatcreated */ onChatCreated: (callback: () => void) => void; + /** - * Register a callback when a user success to change their profile in the settings page or the follow-up form. - * `profile` is an object of the user's profile includes following fields: - * - `name` - * - `email` - * - `mobileNumber` + * Registers a callback that is invoked when there are changes to the user's profile. + * + * @param callback - Callback function invoked when the user's profile is updated. The callback receives the updated profile object as an argument. + * + * @example + * ```javascript + * ChannelIO('onFollowUpChanged', function onFollowUpChanged(profile) { + * console.log('User changed profile', profile); + * }); + * ``` * * @see https://developers.channel.io/docs/web-channel-io#onfollowupchanged */ onFollowUpChanged: (callback: (profile: FollowUpProfile) => void) => void; + /** - * @deprecated Recommend to use onChatCreated instead. - */ - onCreateChat: (callback: () => void) => void; - /** - * Register a callback when a user success to change their profile in the settings page and chats. - * `profile` is an object of the user's profile. + * Registers a callback that is invoked when the user clicks a link. This includes following links. + * - Link button or Link text in marketing pop-ups + * - Link button or Link text sent by managers in chat * - * @see https://developers.channel.io/docs/web-channel-io#onchangeprofile - */ - onProfileChanged: (callback: (profile: Profile) => void) => void; - /** - * Register a callback when a user success to change their profile in the settings page and chats. - * `profile` is an object of the user's profile. + * @param callback - Callback function invoked when a link is clicked. It receives the URL of the clicked link as an argument. * - * @deprecated Recommend to use onProfileChanged instead. - * @see https://developers.channel.io/docs/web-channel-io#onchangeprofile - */ - onChangeProfile: (callback: (profile: Profile) => void) => void; - /** - * Register a callback when a user clicks redirect images or buttons. - * We pass the redirect url to a function. + * @example + * ```javascript + * ChannelIO('onUrlClicked', function onUrlClicked(url) { + * console.log(`User clicked URL: ${url}`); + * }); + * ``` * * @see https://developers.channel.io/docs/web-channel-io#onurlclicked */ onUrlClicked: (callback: (url: string) => void) => void; + /** - * Register a callback when a user clicks redirect images or buttons. - * We pass the redirect url to a function. - * - * @deprecated Recommend to use onUrlClicked instead. - * @see https://developers.channel.io/docs/web-channel-io#onclickredirect - */ - onClickRedirect: (callback: (url: string) => void) => void; - /** - * Clear all callbacks registered. + * Clears all callbacks registered by following APIs. + * - {@link onShowMessenger} + * - {@link onHideMessenger} + * - {@link onBadgeChanged} + * - {@link onFollowUpChanged} + * - {@link onChatCreated} + * - {@link onUrlClicked} * * @see https://developers.channel.io/docs/web-channel-io#clearcallbacks */ clearCallbacks: (callback?: () => void) => void; + /** - * Update user information. + * Update a user’s information. + * + * @param userObject - An object containing the user’s information to be updated. + * @param callback - Callback function invoked after the update. If the update fails, the callback receives an error object as the first argument and null as the second argument. If the update succeeds, the callback receives null as the first argument and an updated {@link User | user object} at the second argument. + * + * @example + * ```javascript + * const userObject = { + * language: 'ko', + * tags: ['a', 'b'], + * profile: { + * email: 'test@email.com', + * mobileNumber: '+821012345678', + * name: 'test name', + * }, + * profileOnce: { + * customerType: 'vip', + * registeredAt: '2022-11-22' + * }, + * unsubscribeEmail: false, + * unsubscribeTexting: true + * }; + * + * ChannelIO('updateUser', userObject, function onUpdateUser(error, user) { + * if (error) { + * console.error(error); + * } else { + * console.log('updateUser success', user); + * } + * }); + * ``` * * @see https://developers.channel.io/docs/web-channel-io#updateuser */ - updateUser: (profile: Partial, callback?: (...params: CallbackParams) => void) => void; + updateUser: ( + userObject: Partial, + callback?: (...params: CallbackParams) => void, + ) => void; + /** - * Add tags. + * Adds a user’s tags. + * + * @param tags - An array of tags to add. A maximum of 10 tags is allowed. Tags are always in lowercase. + * @param callback - Callback function invoked after adding tags. If the addition fails, the callback receives an error object as the first argument and null as the second argument. If the addition succeeds, the callback receives null as the first argument and an updated {@link User | user object} as the second argument. + * + * @example + * ```javascript + * ChannelIO('addTags', ['tag1', 'tag2'], function onAddTags(error, user) { + * if (error) { + * console.error(error); + * } else { + * console.log('addTags success', user); + * } + * }); + * ``` * - * @param tags - Tags to be added. Duplicate values are maintained. Combined tag list cannot exceed 10. Null or empty list is not allowed. Always lower case. * @see https://developers.channel.io/docs/web-channel-io#addtags */ addTags: (tags: Tags, callback?: (...params: CallbackParams) => void) => void; + /** - * Remove tags. + * Removes a user’s tags. + * + * @param tags - An array of tags to remove. If the corresponding tag does not exist, it will be ignored. Passing `null` or an empty array is not allowed. + * @param callback - Callback function invoked after removing tags. If the removal fails, the callback receives an error object as the first argument and null as the second argument. If the removal succeeds, the callback receives null as the first argument and an updated {@link User | user object} as the second argument. + * + * @example + * ``` + * ChannelIO('removeTags', ['tag1', 'tag2'], function onRemoveTags(error, user) { + * if (error) { + * console.error(error); + * } else { + * console.log('removeTags success', user); + * } + * }); + * ``` * - * @param tags Tags to be erased. If there is no match tag value, it is ignored. Null or empty list is not allowed. * @see https://developers.channel.io/docs/web-channel-io#removetags */ removeTags: (tags: Tags, callback?: (...params: CallbackParams) => void) => void; + /** - * Set page to be used instead of canonical url . - * setPage with null or undefined is different from resetPage. (that will send page data with null) + * Set the {@link https://developers.channel.io/docs/page | page}. + * Page can be used instead of {@link https://developers.channel.io/docs/canonical-url | canonical URL}. + * + * @param page - The value of the page to set. + * + * @example + * ``` + * ChannelIO('setPage', 'https://example.com/product'); + * ``` * - * @param page - Page data to replace default page value * @see https://developers.channel.io/docs/web-channel-io#setpage */ setPage: (page: string | null | undefined) => void; + /** - * Reset page data customized by developer. - * If you call resetPage, page data will fill with canonical url . + * Reset the `page` value set by {@link setPage}. + * When `resetPage` is used, the {@link https://developers.channel.io/docs/canonical-url | canonical URL} will be used as the page value. * * @see https://developers.channel.io/docs/web-channel-io#resetpage */ resetPage: () => void; + /** - * Show channel button. + * Show the {@link https://developers.channel.io/docs/glossary#channel-button | channel button}. * * @see https://developers.channel.io/docs/web-channel-io#showchannelbutton */ showChannelButton: () => void; + /** - * Hide channel button. + * Hides the {@link https://developers.channel.io/docs/glossary#channel-button | channel button}. * * @see https://developers.channel.io/docs/web-channel-io#hidechannelbutton */ hideChannelButton: () => void; + + /** + * Set the appearance of the theme. + * + * - `‘light’`: Uses the light theme. + * - `‘dark’`: Uses the dark theme. + * - `‘system’`: Follows the system theme. + * - `null`: Follows the theme setting from the {@link https://developers.channel.io/docs/glossary#desk | desk}. + * + * @param appearance - The appearance setting for the theme. + * + * @example + * ```javascript + * ChannelIO('setAppearance', 'dark'); + * ``` + * + * @see https://developers.channel.io/docs/web-channelio#setappearance + */ + setAppearance: (appearance: Appearance | null) => void; } interface Singleton { @@ -357,110 +532,156 @@ declare namespace ChannelIO { >; } - type Tags = [string, ...string[]]; + type Tags = readonly [string, ...string[]]; /** * @see https://developers.channel.io/docs/web-channel-io#updateuser */ interface UpdateUserOption { /** - * Set user's language. - * When language is 'ko' or 'ja', interface is change to these languages. - * Else case, interface language is set to english. - * When set invalid language, user's language field is set to null + * Sets the user’s language. UI text changes to the specified language if `language` is `‘ko’` or `‘ja’`. Otherwise, UI text defaults to English. */ language: string; + /** - * Tags to overwrite. - * Max 10 tags are allowed. - * Set null to reset. - * Empty list is not allowed. + * Sets the user’s tags. A maximum of 10 tags are allowed. Passing `null` resets all tags. Empty arrays are not allowed. */ tags: Tags | null; + /** - * Profile map to overwrite. - * Set null to reset. - * Set null for profile value to reset profile value. - * Empty map is not allowed. - * Always lower case. + * Sets the user’s profile. Passing null resets the entire profile. To reset a specific field in the profile object, pass null for that field. Empty objects are not allowed, and field names should follow {@link https://en.wikipedia.org/wiki/Camel_case | Camel Case}. For mobileNumber, follow {@link https://en.wikipedia.org/wiki/E.164 | e.164} format. */ profile: Profile | null; + /** - * Map of profile to be added if there is no each profile values. + * Sets the user’s profile with fields that have no existing values. */ profileOnce: Profile | null; + /** - * Terminates the user's marketing email subscription. + * Sets whether the user is subscribed to marketing emails. Subscription is terminated if set to `true`. */ unsubscribeEmail: boolean; + /** - * Terminates the user's marketing SMS subscription. + * Sets whether the user is subscribed to marketing SMS. Subscription is terminated if set to `true`. */ unsubscribeTexting: boolean; } /** - * An object that contains information about user + * @example + * ```javascript + * { + * "id": "USER_ID", + * "memberId": "MEMBER_ID", + * "name": "USER_NAME", + * "avatarUrl": "AVATAR_URL", + * "unread": 5, + * "alert": 3, + * "profile": { + * "name": "USER_NAME", + * "email": "USER_EMAIL", + * "mobileNumber": "+821012345678", + * "CUSTOM_VALUE_1": "VALUE_1", + * "CUSTOM_VALUE_2": "VALUE_2" + * }, + * "unsubscribeEmail": true, + * "unsubscribeTexting": true, + * "tags": ["tag1", "tag2"], + * "language": "ko" + * } + * ``` * * @see https://developers.channel.io/docs/web-user-object */ interface User { /** - * a user id used inside channel + * The user's ID. * * @see https://developers.channel.io/docs/web-user-object#id */ id: string; + /** - * member (user) identification id used by your company + * The ID used for recognizing a {@link https://developers.channel.io/docs/glossary#member-user | member user}. + * If {@link BootOption.memberId | memberId} is specified in the boot option, the user is considered a member user. * * @see https://developers.channel.io/docs/web-user-object#memberid */ memberId: string; + /** - * a user name + * The name of a user. + * Set via {@link CommandSignature.updateUser | updateUser}. * * @see https://developers.channel.io/docs/web-user-object#name */ name: string; + /** - * user's avatar url if exist + * The URL of the user's avatar image. * * @see https://developers.channel.io/docs/web-user-object#avatarurl */ avatarUrl: string; + + /** + * The total count of unread notifications for the user. + * It includes the number of `alert`. It is displayed as a red dot on the {@link https://developers.channel.io/docs/glossary#channel-button | channel button}. + * + * @see https://developers.channel.io/docs/web-user-object#unread + */ + unread: number; + /** - * user's alert count + * The count of important unread notifications for the user. + * It is displayed as a number on the {@link https://developers.channel.io/docs/glossary#channel-button | channel button}. * * @see https://developers.channel.io/docs/web-user-object#alert */ alert: number; + /** - * an object contains user's key/value profile information + * A user’s profile information. + * Set via {@link CommandSignature.updateUser | updateUser} or the {@link BootOption.profile | profile} of boot option. * * @see https://developers.channel.io/docs/web-user-object#profile */ profile: Record; + /** - * a value of whether or not to accept marketing email + * Indicates whether the user has opted out of marketing emails. + * Set via {@link CommandSignature.updateUser | updateUser} or {@link BootOption.unsubscribeEmail | unsubscribeEmail} of boot option. * * @see https://developers.channel.io/docs/web-user-object#unsubscribeemail */ unsubscribeEmail: boolean; + /** - * a value of whether or not to accept marketing SMS + * Indicates whether the user has opted out of marketing SMS. + * Set via {@link CommandSignature.updateUser | updateUser} or {@link BootOption.unsubscribeTexting | unsubscribeTexting} of boot option. * * @see https://developers.channel.io/docs/web-user-object#unsubscribetexting */ unsubscribeTexting: boolean; + /** - * user tags + * A list of tags associated with the user. + * All tags are in lowercase. + * Set via {@link CommandSignature.updateUser | updateUser}, {@link CommandSignature.addTags | addTags}, and {@link CommandSignature.removeTags | removeTags}. * * @see https://developers.channel.io/docs/web-user-object#tags */ - tags: string[]; + tags: readonly string[]; + /** - * user's language + * The user's language setting. + * Used for translation purposes. + * Set via {@link CommandSignature.updateUser | updateUser} and {@link BootOption.language | language} of boot option. + * + * Following 32 languages supported. + * : 'de'(German), 'hi'(Hindi), 'no'(Norwegian), 'ru'(Russian), 'fi'(Finnish), 'pt'(Portuguese), 'hr'(Croatian), 'fr'(French), 'hu'(Hungarian), 'uk'(Ukrainian), 'sk'(Slovak), 'ca'(Catalan), 'sv'(Swedish), 'ko'(Korean), 'id'(Indonesian), 'ms'(Malay), 'el'(Greek), 'en'(English), 'it'(Italian), 'es'(Spanish), 'he'(Hebrew), 'zh'(Chinese), 'cs'(Czech), 'ar'(Arabic), 'vi'(Vietnamese),'th'(Thai), 'ja'(Japanese), 'pl'(Polish), 'ro'(Romanian), 'da'(Danish), 'nl'(Dutch), 'tr'(Turkish) * * @see https://developers.channel.io/docs/web-user-object#language */ diff --git a/types/chessboardjs/.eslintrc.json b/types/chessboardjs/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/chessboardjs/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/chocolatechipjs/.eslintrc.json b/types/chocolatechipjs/.eslintrc.json index 8ef8462cef30b7..a9228253c2ccbb 100644 --- a/types/chocolatechipjs/.eslintrc.json +++ b/types/chocolatechipjs/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/no-any-union": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/adjacent-overload-signatures": "off", "@typescript-eslint/ban-types": "off" } diff --git a/types/chocolatechipjs/package.json b/types/chocolatechipjs/package.json index ebdb3d843f1efe..f72c2ac16df116 100644 --- a/types/chocolatechipjs/package.json +++ b/types/chocolatechipjs/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/chocolatechipjs", "version": "4.0.9999", + "nonNpm": true, + "nonNpmDescription": "chocolatechipjs", "projects": [ "https://github.com/chocolatechipui/ChocolateChipJS" ], diff --git a/types/chrome-apps/.eslintrc.json b/types/chrome-apps/.eslintrc.json index d0476c08c56ec3..9d1bc8d82745e0 100644 --- a/types/chrome-apps/.eslintrc.json +++ b/types/chrome-apps/.eslintrc.json @@ -5,7 +5,6 @@ "@definitelytyped/no-unnecessary-generics": "off", "@definitelytyped/no-single-element-tuple-type": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/naming-convention": "off", diff --git a/types/chrome-apps/package.json b/types/chrome-apps/package.json index b7a4db1f766c57..aaf0b4605dc0f5 100644 --- a/types/chrome-apps/package.json +++ b/types/chrome-apps/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/chrome-apps", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "chrome-apps", "projects": [ "http://developer.chrome.com/apps/" ], diff --git a/types/chrome/index.d.ts b/types/chrome/index.d.ts index d4362dfa32bd2b..b932d771b916a7 100644 --- a/types/chrome/index.d.ts +++ b/types/chrome/index.d.ts @@ -5394,6 +5394,86 @@ declare namespace chrome.input.ime { export var onReset: InputResetEvent; } +/** + * Use chrome.instanceID to access the Instance ID service. + * Permissions: "gcm" + * @since Chrome 44. + */ +declare namespace chrome.instanceID { + export interface TokenRefreshEvent extends chrome.events.Event<() => void> {} + + /** + * Resets the app instance identifier and revokes all tokens associated with it. + * + * The `deleteID()` method doesn't return any value, but can be used with a callback or asynchronously, + * with a Promise (MV3 only). + */ + export function deleteID(): Promise; + export function deleteID(callback: () => void): void; + + interface DeleteTokenParams { + /** + * Identifies the entity that is authorized to access resources associated with this Instance ID. + * It can be a project ID from Google developer console. + */ + authorizedEntity: string; + /** + * Identifies authorized actions that the authorized entity can take. + * In other words, the scope that is used to obtain the token. + * E.g. for sending GCM messages, `GCM` scope should be used. + */ + scope: string; + } + /** + * Revoked a granted token. + * + * The `deleteToken()` method doesn't return any value, but can be used with a callback or + * asynchronously, with a Promise (MV3 only). + */ + export function deleteToken(deleteTokenParams: DeleteTokenParams): Promise; + export function deleteToken( + deleteTokenParams: DeleteTokenParams, + callback: () => void, + ): void; + + /** + * Retrieves the time when the InstanceID has been generated. + * + * @return The time when the Instance ID has been generated, represented in milliseconds since the epoch. + * It can return via a callback or asynchronously, with a Promise (MV3 only). + */ + export function getCreationTime(): Promise; + export function getCreationTime(callback: (creationTime: number) => void): void; + + /** + * Retrieves an identifier for the app instance. + * The same ID will be returned as long as the application identity has not been revoked or expired. + * + * @return An Instance ID assigned to the app instance. Can be returned by a callback or a Promise (MV3 only). + */ + export function getID(): Promise; + export function getID(callback: (instanceID: string) => void): void; + + interface GetTokenParams extends DeleteTokenParams { + /** + * Allows including a small number of string key/value pairs that will be associated with the token + * and may be used in processing the request. + * + * @deprecated Since Chrome 89. `options` are deprecated and will be ignored. + */ + options?: { [key: string]: string }; + } + /** + * Return a token that allows the authorized entity to access the service defined by scope. + * + * @return A token assigned by the requested service. Can be returned by a callback or a Promise (MV3 only). + */ + export function getToken(getTokenParams: GetTokenParams): Promise; + export function getToken(getTokenParams: GetTokenParams, callback: (token: string) => void): void; + + export var onTokenRefresh: TokenRefreshEvent; +} + //////////////////// // LoginState //////////////////// @@ -6265,7 +6345,7 @@ declare namespace chrome.permissions { permissions?: string[] | undefined; /** * Optional. - * List of origin permissions. Anything listed here must be a subset of a host that appears in the optional_permissions list in the manifest. For example, if http://*.example.com/ or http://* appears in optional_permissions, you can request an origin of http://help.example.com/. Any path is ignored. + * List of origin permissions. Anything listed here must be a subset of a host that appears in the optional host permission list in the manifest (optional_permissions in MV2, optional_host_permissions in MV3). For example, if http://*.example.com/ or http://* appears in the optional permissions, you can request an origin of http://help.example.com/. Any path is ignored. */ origins?: string[] | undefined; } @@ -6298,12 +6378,12 @@ declare namespace chrome.permissions { */ export function getAll(callback: (permissions: Permissions) => void): void; /** - * Requests access to the specified permissions. These permissions must be defined in the optional_permissions field of the manifest. If there are any problems requesting the permissions, runtime.lastError will be set. + * Requests access to the specified permissions. These permissions must be defined in the optional_permissions or optional_host_permissions (MV3 only) fields of the manifest. If there are any problems requesting the permissions, runtime.lastError will be set. * @return A Promise that resolves with boolean: True if the user granted the specified permissions. */ export function request(permissions: Permissions): Promise; /** - * Requests access to the specified permissions. These permissions must be defined in the optional_permissions field of the manifest. If there are any problems requesting the permissions, runtime.lastError will be set. + * Requests access to the specified permissions. These permissions must be defined in the optional_permissions or optional_host_permissions (MV3 only) fields of the manifest. If there are any problems requesting the permissions, runtime.lastError will be set. * Parameter granted: True if the user granted the specified permissions. */ export function request(permissions: Permissions, callback?: (granted: boolean) => void): void; @@ -6957,6 +7037,14 @@ declare namespace chrome.runtime { export type PlatformArch = "arm" | "arm64" | "x86-32" | "x86-64" | "mips" | "mips64"; /** https://developer.chrome.com/docs/extensions/reference/runtime/#type-PlatformNaclArch */ export type PlatformNaclArch = "arm" | "x86-32" | "x86-64" | "mips" | "mips64"; + /** https://developer.chrome.com/docs/extensions/reference/api/runtime#type-ContextFilter */ + export enum ContextType { + TAB = "TAB", + POPUP = "POPUP", + BACKGROUND = "BACKGROUND", + OFFSCREEN_DOCUMENT = "OFFSCREEN_DOCUMENT", + SIDE_PANEL = "SIDE_PANEL", + } /** https://developer.chrome.com/docs/extensions/reference/runtime/#type-OnInstalledReason */ export enum OnInstalledReason { INSTALL = "install", @@ -6970,6 +7058,22 @@ declare namespace chrome.runtime { message?: string | undefined; } + /** + * A filter to match against certain extension contexts. Matching contexts must match all specified filters; any filter that is not specified matches all available contexts. Thus, a filter of `{}` will match all available contexts. + * @since Chrome 114. + */ + export interface ContextFilter { + contextIds?: string[] | undefined; + contextTypes?: ContextType[] | undefined; + documentIds?: string[] | undefined; + documentOrigins?: string[] | undefined; + documentUrls?: string[] | undefined; + frameIds?: number[] | undefined; + incognito?: boolean | undefined; + tabIds?: number[] | undefined; + windowIds?: number[] | undefined; + } + export interface ConnectInfo { name?: string | undefined; includeTlsChannelId?: boolean | undefined; @@ -6993,6 +7097,40 @@ declare namespace chrome.runtime { id?: string | undefined; } + /** + * A context hosting extension content. + * @since Chrome 114. + */ + export interface ExtensionContext { + /** A unique identifier for this context */ + contextId: string; + /** The type of context this corresponds to. */ + contextType: ContextType; + /** + * Optional. + * A UUID for the document associated with this context, or undefined if this context is hosted not in a document. + */ + documentId?: string | undefined; + /** + * Optional. + * The origin of the document associated with this context, or undefined if the context is not hosted in a document. + */ + documentOrigin?: string | undefined; + /** + * Optional. + * The URL of the document associated with this context, or undefined if the context is not hosted in a document. + */ + documentUrl?: string | undefined; + /** The ID of the frame for this context, or -1 if this context is not hosted in a frame. */ + frameId: number; + /** Whether the context is associated with an incognito profile. */ + incognito: boolean; + /** The ID of the tab for this context, or -1 if this context is not hosted in a tab. */ + tabId: number; + /** The ID of the window for this context, or -1 if this context is not hosted in a window. */ + windowId: number; + } + export interface MessageOptions { /** Whether the TLS channel ID will be passed into onMessageExternal for processes that are listening for the connection event. */ includeTlsChannelId?: boolean | undefined; @@ -7466,6 +7604,7 @@ declare namespace chrome.runtime { }; host_permissions?: string[] | undefined; optional_permissions?: ManifestPermissions[] | undefined; + optional_host_permissions?: string[] | undefined; permissions?: ManifestPermissions[] | undefined; web_accessible_resources?: Array<{ resources: string[]; matches: string[] }> | undefined; } @@ -7492,6 +7631,21 @@ declare namespace chrome.runtime { export function connectNative(application: string): Port; /** Retrieves the JavaScript 'window' object for the background page running inside the current extension/app. If the background page is an event page, the system will ensure it is loaded before calling the callback. If there is no background page, an error is set. */ export function getBackgroundPage(callback: (backgroundPage?: Window) => void): void; + /** + * Fetches information about active contexts associated with this extension + * @since Chrome 116 MV3. + * @return Provides the matching context, if any via callback or returned as a `Promise` (MV3 only). + * @param filter A filter to find matching contexts. A context matches if it matches all specified fields in the filter. Any unspecified field in the filter matches all contexts. + */ + export function getContexts(filter: ContextFilter): Promise; + /** + * Fetches information about active contexts associated with this extension + * @since Chrome 116 MV3. + * @return Provides the matching context, if any via callback or returned as a `Promise` (MV3 only). + * @param filter A filter to find matching contexts. A context matches if it matches all specified fields in the filter. Any unspecified field in the filter matches all contexts. + * @param callback Called with results + */ + export function getContexts(filter: ContextFilter, callback: (contexts: ExtensionContext[]) => void): void; /** * Returns details about the app or extension from the manifest. The object returned is a serialization of the full manifest file. * @return The manifest details. @@ -7725,16 +7879,29 @@ declare namespace chrome.scripting { /* The JavaScript world for a script to execute within. */ export type ExecutionWorld = "ISOLATED" | "MAIN"; - export interface InjectionResult { - /* The frame associated with the injection. */ + export interface InjectionResult { + /** + * The document associated with the injection. + * @since Chrome 106. + */ + documentId: string; + /** + * The frame associated with the injection. + * @since Chrome 90. + */ frameId: number; /* The result of the script execution. */ - result: T; + result?: T | undefined; } export interface InjectionTarget { /* Whether the script should inject into all frames within the tab. Defaults to false. This must not be true if frameIds is specified. */ allFrames?: boolean | undefined; + /** + * The IDs of specific documentIds to inject into. This must not be set if frameIds is set. + * @since Chrome 106. + */ + documentIds?: string[] | undefined; /* The IDs of specific frames to inject into. */ frameIds?: number[] | undefined; /* The ID of the tab into which to inject. */ diff --git a/types/chrome/test/index.ts b/types/chrome/test/index.ts index d6c436de0610ae..33c7f223227630 100644 --- a/types/chrome/test/index.ts +++ b/types/chrome/test/index.ts @@ -540,6 +540,7 @@ function testGetManifest() { manifest.host_permissions; // $ExpectType string[] | undefined manifest.optional_permissions; // $ExpectType ManifestPermissions[] | undefined + manifest.optional_host_permissions; // $ExpectType string[] | undefined manifest.permissions; // $ExpectType ManifestPermissions[] | undefined manifest.web_accessible_resources = [{ matches: ["https://*/*"], resources: ["resource.js"] }]; @@ -1561,6 +1562,13 @@ function testStorageForPromise() { ); } +// https://developer.chrome.com/docs/extensions/reference/api/runtime#method-getContexts +function testRunTimeGetContexts() { + const options = { incognito: true, tabIds: [1, 2, 3] }; + + chrome.runtime.getContexts(options); +} + // https://developer.chrome.com/docs/extensions/reference/runtime/#method-sendMessage function testRuntimeSendMessage() { const options = { includeTlsChannelId: true }; @@ -2209,3 +2217,23 @@ function testSidePanelAPI() { console.log("Behavior set successfully using promise."); }); } + +function testInstanceID() { + chrome.instanceID.deleteID(); // $ExpectType Promise + chrome.instanceID.deleteID(() => void 0); // $ExpectType void + + const deleteTokenParams = { authorizedEntity: "", scope: "" }; + chrome.instanceID.deleteToken(deleteTokenParams); // $ExpectType Promise + chrome.instanceID.deleteToken(deleteTokenParams, () => void 0); // $ExpectType void + + chrome.instanceID.getCreationTime(); // $ExpectType Promise + chrome.instanceID.getCreationTime((creationTime: number) => void 0); // $ExpectType void + + chrome.instanceID.getID(); // $ExpectType Promise + chrome.instanceID.getID((id: string) => void 0); // $ExpectType void + + chrome.instanceID.getToken({ authorizedEntity: "", scope: "" }); // $ExpectType Promise + chrome.instanceID.getToken({ authorizedEntity: "", scope: "" }, (token: string) => void 0); // $ExpectType void + + chrome.instanceID.onTokenRefresh.addListener(() => void 0); +} diff --git a/types/chui/.eslintrc.json b/types/chui/.eslintrc.json index ca09b586000420..3fd6d735e5cdd0 100644 --- a/types/chui/.eslintrc.json +++ b/types/chui/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/no-empty-interface": "off" } diff --git a/types/clearbladejs-client/tsconfig.json b/types/clearbladejs-client/tsconfig.json index a7c035823b14de..3a4d9421acd468 100644 --- a/types/clearbladejs-client/tsconfig.json +++ b/types/clearbladejs-client/tsconfig.json @@ -16,9 +16,5 @@ "files": [ "index.d.ts", "clearbladejs-client-tests.ts" - ], - "exclude": [ - "**/clearbladejs-node/*", - "**/clearbladejs-server/*" ] } diff --git a/types/clearbladejs-node/tsconfig.json b/types/clearbladejs-node/tsconfig.json index 5763ced0ee4c3d..529b289c635141 100644 --- a/types/clearbladejs-node/tsconfig.json +++ b/types/clearbladejs-node/tsconfig.json @@ -16,9 +16,5 @@ "files": [ "index.d.ts", "clearbladejs-node-tests.ts" - ], - "exclude": [ - "**/clearbladejs-client/*", - "**/clearbladejs-server/*" ] } diff --git a/types/clearbladejs-server/tsconfig.json b/types/clearbladejs-server/tsconfig.json index ad8b93c7d124b9..0e2047c47c6bb2 100644 --- a/types/clearbladejs-server/tsconfig.json +++ b/types/clearbladejs-server/tsconfig.json @@ -16,9 +16,5 @@ "files": [ "index.d.ts", "clearbladejs-server-tests.ts" - ], - "exclude": [ - "**/clearbladejs-client/*", - "**/clearbladejs-node/*" ] } diff --git a/types/clevertap-web-sdk/clevertap-web-sdk-tests.ts b/types/clevertap-web-sdk/clevertap-web-sdk-tests.ts index 431a480e2dc2ae..1837d5a7448dd8 100644 --- a/types/clevertap-web-sdk/clevertap-web-sdk-tests.ts +++ b/types/clevertap-web-sdk/clevertap-web-sdk-tests.ts @@ -117,6 +117,8 @@ clevertap.getInboxMessageForId("1687446482_1687781900740"); clevertap.deleteInboxMessage("1687446482_1687781900740"); // Mark Message as Read. Message id should be a String clevertap.markReadInboxMessage("1687446482_1687781900740"); +// Mark Messages as Read.The method takes and array fo message Ids. Message id should be a String +clevertap.markReadInboxMessagesForIds(["1688382277_1706170861769"]); // Mark all messages as read clevertap.markReadAllInboxMessage(); diff --git a/types/clevertap-web-sdk/clevertap.d.ts b/types/clevertap-web-sdk/clevertap.d.ts index ecaccdb3a6d71b..c7892ac89fdd77 100644 --- a/types/clevertap-web-sdk/clevertap.d.ts +++ b/types/clevertap-web-sdk/clevertap.d.ts @@ -128,6 +128,7 @@ declare class CleverTap { notificationCallback: (arg: notificationCallbackData) => any; raiseNotificationClicked: () => void; markReadAllInboxMessage: () => void; + markReadInboxMessagesForIds: (messageIds: string[]) => void; markReadInboxMessage: (messageId: string) => void; deleteInboxMessage: (messageId: string) => void; getInboxMessageForId: (messageId: string) => void; diff --git a/types/cloudflare/cloudflare-tests.ts b/types/cloudflare/cloudflare-tests.ts index aa0c2acd3d67ac..3ebf45322bf26f 100644 --- a/types/cloudflare/cloudflare-tests.ts +++ b/types/cloudflare/cloudflare-tests.ts @@ -76,6 +76,13 @@ cf.dnsRecords.browse("123", { content: "irrelevant", }); +cf.dnsRecords.browse("123").then((response) => { + if (response.result !== null) { + // $ExpectType string + response.result[0].id; + } +}); + cf.dnsRecords.browse("123", { // @ts-expect-error invalid: "invalid", diff --git a/types/cloudflare/index.d.ts b/types/cloudflare/index.d.ts index 648688d12395f7..6f07ec21b44762 100644 --- a/types/cloudflare/index.d.ts +++ b/types/cloudflare/index.d.ts @@ -61,10 +61,12 @@ declare namespace Cloudflare { } type DnsRecord = DnsRecordWithPriority | DnsRecordWithoutPriority | SrvDnsRecord; - type DnsRecordByType = RecordType extends "MX" | "URI" ? DnsRecordWithPriority - : RecordType extends "SRV" ? SrvDnsRecord - : RecordType extends Exclude ? DnsRecordWithoutPriority - : DnsRecord; + type ExistingDnsRecordByType = + & (RecordType extends "MX" | "URI" ? DnsRecordWithPriority + : RecordType extends "SRV" ? SrvDnsRecord + : RecordType extends Exclude ? DnsRecordWithoutPriority + : DnsRecord) + & { id: string }; interface DNSRecords { edit(zone_id: string, id: string, record: DnsRecord): ResponseObjectPromise; @@ -95,7 +97,7 @@ declare namespace Cloudflare { } interface DnsRecordsBrowseResponse { - result: Array> | null; + result: Array> | null; result_info: { page: number; per_page: number; diff --git a/types/cls-hooked/.eslintrc.json b/types/cls-hooked/.eslintrc.json index d9f431a28057fe..0ccf472f671db3 100644 --- a/types/cls-hooked/.eslintrc.json +++ b/types/cls-hooked/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/colab/.eslintrc.json b/types/colab/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/colab/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/com.wikitude.phonegap.wikitudeplugin/.eslintrc.json b/types/com.wikitude.phonegap.wikitudeplugin/.eslintrc.json index 01ad6d65a9c9e6..79ee5b5a1a5836 100644 --- a/types/com.wikitude.phonegap.wikitudeplugin/.eslintrc.json +++ b/types/com.wikitude.phonegap.wikitudeplugin/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/no-single-element-tuple-type": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/no-single-element-tuple-type": "off" } } diff --git a/types/commangular/.eslintrc.json b/types/commangular/.eslintrc.json index b9940a28d50632..afebcfe2b7c293 100644 --- a/types/commangular/.eslintrc.json +++ b/types/commangular/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/prefer-namespace": "off", "@typescript-eslint/naming-convention": "off" diff --git a/types/commangular/package.json b/types/commangular/package.json index 8a3853efc81bf7..7a417193143614 100644 --- a/types/commangular/package.json +++ b/types/commangular/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/commangular", "version": "0.9.9999", + "nonNpm": true, + "nonNpmDescription": "commangular", "projects": [ "http://commangular.org" ], diff --git a/types/connect-mongodb-session/tsconfig.json b/types/connect-mongodb-session/tsconfig.json index aea0bf983fc92e..b602c76a96f417 100644 --- a/types/connect-mongodb-session/tsconfig.json +++ b/types/connect-mongodb-session/tsconfig.json @@ -15,8 +15,5 @@ "files": [ "connect-mongodb-session-tests.ts", "index.d.ts" - ], - "exclude": [ - "node_modules" ] } diff --git a/types/consumer-data-standards/banking/index.d.ts b/types/consumer-data-standards/banking/index.d.ts index 7d7162e25c8bb5..2872b841abb897 100644 --- a/types/consumer-data-standards/banking/index.d.ts +++ b/types/consumer-data-standards/banking/index.d.ts @@ -4217,7 +4217,7 @@ export interface BankingScheduledPaymentToV2 { crn?: string | null; [k: string]: unknown; }; - digitalWallet: { + digitalWallet?: { /** * The identifier of the digital wallet (dependent on type) */ @@ -4848,6 +4848,22 @@ export interface MetaPaginated { } /* These are the schema definitions stipulated by the Data Standards Body for the banking api. */ +export interface MetaPaginatedTransaction { + /** + * The total number of pages in the full set. See [pagination](#pagination). + */ + totalPages: number; + /** + * The total number of records in the full set. See [pagination](#pagination). + */ + totalRecords: number; + [k: string]: unknown; + /** + * true if "text" query parameter is not supported + */ + isQueryParamUnsupported?: boolean | null; +} +/* These are the schema definitions stipulated by the Data Standards Body for the banking api. */ export interface RequestAccountIds { data: { accountIds: string[]; @@ -8201,6 +8217,10 @@ export interface ResponseBankingTransactionList { */ totalRecords: number; [k: string]: unknown; + /** + * true if "text" query parameter is not supported + */ + isQueryParamUnsupported?: boolean | null; }; [k: string]: unknown; } diff --git a/types/consumer-data-standards/energy/index.d.ts b/types/consumer-data-standards/energy/index.d.ts index c8cb036d511135..7597c8ede8d9c5 100644 --- a/types/consumer-data-standards/energy/index.d.ts +++ b/types/consumer-data-standards/energy/index.d.ts @@ -6535,15 +6535,15 @@ export interface EnergyInvoiceGasUsageCharges { */ totalGenerationCredits: string; /** - * The total GST for all electricity usage charges. If absent then zero is assumed + * The total GST for all gas usage charges. If absent then zero is assumed */ totalGst?: string | null; /** - * The aggregate total of any once off charges arising from electricity usage for the period covered by the invoice (exclusive of GST) + * The aggregate total of any once off charges arising from gas usage for the period covered by the invoice (exclusive of GST) */ totalOnceOffCharges: string; /** - * The aggregate total of any once off discounts or credits arising from electricity usage for the period covered by the invoice (exclusive of GST) + * The aggregate total of any once off discounts or credits arising from gas usage for the period covered by the invoice (exclusive of GST) */ totalOnceOffDiscounts: string; /** diff --git a/types/content-type/.eslintrc.json b/types/content-type/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/content-type/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/contextjs/.eslintrc.json b/types/contextjs/.eslintrc.json index b7be2eb1c01407..0cb2a3c3906217 100644 --- a/types/contextjs/.eslintrc.json +++ b/types/contextjs/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/export-just-namespace": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/export-just-namespace": "off" } } diff --git a/types/cookieconsent/.eslintrc.json b/types/cookieconsent/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/cookieconsent/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/cookies/cookies-tests.ts b/types/cookies/cookies-tests.ts index 49280c7380c4ba..5540bd33ce6988 100644 --- a/types/cookies/cookies-tests.ts +++ b/types/cookies/cookies-tests.ts @@ -31,7 +31,13 @@ const server = http.createServer((req, res) => { // sameSite option .set("samesite", "same", { sameSite: "lax" }) .set("samesite", "same", { sameSite: "strict" }) - .set("samesite", "same", { sameSite: false }); + .set("samesite", "same", { sameSite: false }) + // priority option + .set("priority", "low", { priority: "low" }) + .set("priority", "medium", { priority: "low" }) + .set("priority", "high", { priority: "high" }) + // partitioned option + .set("partitioned", "partitioned", { partitioned: true }); res.writeHead(302, { Location: "/" }); res.end("Now let's check."); diff --git a/types/cookies/index.d.ts b/types/cookies/index.d.ts index 05fe639cf954a0..57758f13413a34 100644 --- a/types/cookies/index.d.ts +++ b/types/cookies/index.d.ts @@ -96,6 +96,18 @@ declare namespace Cookies { * the Set-Cookie header when setting this cookie. */ overwrite?: boolean | undefined; + /** + * a string indicating the cookie priority. + * This can be set to 'low', 'medium', or 'high'. + */ + priority?: "low" | "medium" | "high" | undefined; + /** + * a boolean indicating whether to partition the cookie in Chrome + * for the CHIPS Update (false by default). If this is true, + * Cookies from embedded sites will be partitioned + * and only readable from the same top level site from which it was created. + */ + partitioned?: boolean | undefined; } type CookieAttr = SetOption; @@ -115,6 +127,8 @@ declare namespace Cookies { httpOnly: boolean; sameSite: boolean; overwrite: boolean; + priority: boolean; + partitioned: boolean; toString(): string; toHeader(): string; diff --git a/types/cookies/package.json b/types/cookies/package.json index 898aec39d46ba9..58c804f6765977 100644 --- a/types/cookies/package.json +++ b/types/cookies/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/cookies", - "version": "0.7.9999", + "version": "0.9.9999", "projects": [ "https://github.com/pillarjs/cookies" ], diff --git a/types/cordova-ionic/.eslintrc.json b/types/cordova-ionic/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/cordova-ionic/.eslintrc.json +++ b/types/cordova-ionic/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/cordova-ionic/package.json b/types/cordova-ionic/package.json index 3d38e72a429803..c9f7d287c2e5ec 100644 --- a/types/cordova-ionic/package.json +++ b/types/cordova-ionic/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/cordova-ionic", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "cordova-ionic", "projects": [ "https://github.com/driftyco" ], diff --git a/types/cordova-plugin-ibeacon/.eslintrc.json b/types/cordova-plugin-ibeacon/.eslintrc.json index 2c2f25520ea9c0..dac7dc1509e198 100644 --- a/types/cordova-plugin-ibeacon/.eslintrc.json +++ b/types/cordova-plugin-ibeacon/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/no-misused-new": "off" } } diff --git a/types/cordova-plugin-mapsforge/.eslintrc.json b/types/cordova-plugin-mapsforge/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/cordova-plugin-mapsforge/.eslintrc.json +++ b/types/cordova-plugin-mapsforge/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/cordova-plugin-mapsforge/package.json b/types/cordova-plugin-mapsforge/package.json index c727ba3e9a38dd..755c2516c5059d 100644 --- a/types/cordova-plugin-mapsforge/package.json +++ b/types/cordova-plugin-mapsforge/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/cordova-plugin-mapsforge", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "cordova-plugin-mapsforge", "projects": [ "https://github.com/afsuarez/mapsforge-cordova-plugin" ], diff --git a/types/createjs-lib/.eslintrc.json b/types/createjs-lib/.eslintrc.json index d0441fac2a22df..12dc0523ec6ea8 100644 --- a/types/createjs-lib/.eslintrc.json +++ b/types/createjs-lib/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/createjs-lib/package.json b/types/createjs-lib/package.json index 90a555b60d12c2..dc3d7a31f1f96b 100644 --- a/types/createjs-lib/package.json +++ b/types/createjs-lib/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/createjs-lib", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "createjs-lib", "projects": [ "http://www.createjs.com/" ], diff --git a/types/crypto-js/index.d.ts b/types/crypto-js/index.d.ts index 278793701e8688..18a80a16d4afc7 100644 --- a/types/crypto-js/index.d.ts +++ b/types/crypto-js/index.d.ts @@ -633,7 +633,21 @@ declare global { * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]); * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6); */ - create(words?: number[], sigBytes?: number): WordArray; + create( + words?: + | number[] + | ArrayBuffer + | Uint8Array + | Int8Array + | Uint8ClampedArray + | Int16Array + | Uint16Array + | Int32Array + | Uint32Array + | Float32Array + | Float64Array, + sigBytes?: number, + ): WordArray; /** * Creates a word array filled with random bytes. * diff --git a/types/cryptojs/.eslintrc.json b/types/cryptojs/.eslintrc.json index 96b377f13356d6..6b319d8c0c5386 100644 --- a/types/cryptojs/.eslintrc.json +++ b/types/cryptojs/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/naming-convention": "off" diff --git a/types/css-font-loading-module/.eslintrc.json b/types/css-font-loading-module/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/css-font-loading-module/.eslintrc.json +++ b/types/css-font-loading-module/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/css-font-loading-module/package.json b/types/css-font-loading-module/package.json index 4ad2b943891df5..e0c272e7656f90 100644 --- a/types/css-font-loading-module/package.json +++ b/types/css-font-loading-module/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/css-font-loading-module", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "css-font-loading-module", "projects": [ "https://drafts.csswg.org/css-font-loading/" ], diff --git a/types/css-modules/.eslintrc.json b/types/css-modules/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/css-modules/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/cybozulabs-md5/.eslintrc.json b/types/cybozulabs-md5/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/cybozulabs-md5/.eslintrc.json +++ b/types/cybozulabs-md5/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/cybozulabs-md5/package.json b/types/cybozulabs-md5/package.json index 1d3e3b66648538..11095574e3a331 100644 --- a/types/cybozulabs-md5/package.json +++ b/types/cybozulabs-md5/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/cybozulabs-md5", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "cybozulabs-md5", "projects": [ "http://labs.cybozu.co.jp/blog/mitsunari/2007/07/md5js_1.html" ], diff --git a/types/cyclonedx/.eslintrc.json b/types/cyclonedx/.eslintrc.json index 7801781a770adc..5e8c124a90c6ce 100644 --- a/types/cyclonedx/.eslintrc.json +++ b/types/cyclonedx/.eslintrc.json @@ -1,3 +1,8 @@ { - "ignorePatterns": ["cyclonedx-tests.json"] + "ignorePatterns": [ + "cyclonedx-tests.json" + ], + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } } diff --git a/types/d3-indirections/.eslintrc.json b/types/d3-indirections/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/d3-indirections/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/d3-tip/.eslintrc.json b/types/d3-tip/.eslintrc.json index c737de27eb73f5..b998f99b964396 100644 --- a/types/d3-tip/.eslintrc.json +++ b/types/d3-tip/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/no-unnecessary-generics": "off", - "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/strict-export-declare-modifiers": "off" } } diff --git a/types/d3.slider/.eslintrc.json b/types/d3.slider/.eslintrc.json index 80bcb245cf48b6..ac0f657c33df9c 100644 --- a/types/d3.slider/.eslintrc.json +++ b/types/d3.slider/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/strict-export-declare-modifiers": "off" } } diff --git a/types/d3.slider/package.json b/types/d3.slider/package.json index 4aaeeacb137ce7..77c04d1265a5ff 100644 --- a/types/d3.slider/package.json +++ b/types/d3.slider/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/d3.slider", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "d3.slider", "projects": [ "https://github.com/MasterMaps/d3-slider" ], diff --git a/types/dadata-api/.eslintrc.json b/types/dadata-api/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/dadata-api/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/decorum/.eslintrc.json b/types/decorum/.eslintrc.json index b4eca871bd5df0..dd00f5dd1d0123 100644 --- a/types/decorum/.eslintrc.json +++ b/types/decorum/.eslintrc.json @@ -3,7 +3,6 @@ "@definitelytyped/dt-header": "off", "@definitelytyped/export-just-namespace": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@definitelytyped/no-duplicate-imports": "off", "@typescript-eslint/naming-convention": "off", diff --git a/types/deep-freeze/.eslintrc.json b/types/deep-freeze/.eslintrc.json index d9f431a28057fe..0ccf472f671db3 100644 --- a/types/deep-freeze/.eslintrc.json +++ b/types/deep-freeze/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/deoxxa-content-type/.eslintrc.json b/types/deoxxa-content-type/.eslintrc.json index 85b959fd198d9d..e814d8fbd491d4 100644 --- a/types/deoxxa-content-type/.eslintrc.json +++ b/types/deoxxa-content-type/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/no-single-declare-module": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/no-single-declare-module": "off" } } diff --git a/types/deoxxa-content-type/package.json b/types/deoxxa-content-type/package.json index aeb3267cef811c..680a54df962ece 100644 --- a/types/deoxxa-content-type/package.json +++ b/types/deoxxa-content-type/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/deoxxa-content-type", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "deoxxa-content-type", "projects": [ "https://github.com/deoxxa/content-type" ], diff --git a/types/deployjava/.eslintrc.json b/types/deployjava/.eslintrc.json index 1c7489360e7ede..5bf67bfd516c0d 100644 --- a/types/deployjava/.eslintrc.json +++ b/types/deployjava/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/deployjava/package.json b/types/deployjava/package.json index 3b047754643745..bd11209c3fb4c4 100644 --- a/types/deployjava/package.json +++ b/types/deployjava/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/deployjava", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "deployjava", "projects": [ "https://www.java.com/js/deployJava.txt" ], diff --git a/types/desmos/.eslintrc.json b/types/desmos/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/desmos/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/devexpress-web/.eslintrc.json b/types/devexpress-web/.eslintrc.json index 76eef43735c718..f978262240d923 100644 --- a/types/devexpress-web/.eslintrc.json +++ b/types/devexpress-web/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/no-any-union": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/prefer-namespace": "off", "@typescript-eslint/naming-convention": "off" diff --git a/types/devexpress-web/package.json b/types/devexpress-web/package.json index 8ed01e551c42dc..8991b94535eb16 100644 --- a/types/devexpress-web/package.json +++ b/types/devexpress-web/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/devexpress-web", "version": "202.5.9999", + "nonNpm": true, + "nonNpmDescription": "devexpress-web", "projects": [ "https://devexpress.com/" ], diff --git a/types/devexpress-web/v161/package.json b/types/devexpress-web/v161/package.json index 5e5a5c682b79a0..e481f483fd747f 100644 --- a/types/devexpress-web/v161/package.json +++ b/types/devexpress-web/v161/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/devexpress-web", "version": "161.12.9999", + "nonNpm": true, + "nonNpmDescription": "devexpress-web", "projects": [ "http://devexpress.com/" ], diff --git a/types/devexpress-web/v162/package.json b/types/devexpress-web/v162/package.json index df1472c8b9cb13..8fb759097d06d8 100644 --- a/types/devexpress-web/v162/package.json +++ b/types/devexpress-web/v162/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/devexpress-web", "version": "162.8.9999", + "nonNpm": true, + "nonNpmDescription": "devexpress-web", "projects": [ "http://devexpress.com/" ], diff --git a/types/devexpress-web/v171/package.json b/types/devexpress-web/v171/package.json index 6887e2367b571c..35c7ead4127365 100644 --- a/types/devexpress-web/v171/package.json +++ b/types/devexpress-web/v171/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/devexpress-web", "version": "171.4.9999", + "nonNpm": true, + "nonNpmDescription": "devexpress-web", "projects": [ "http://devexpress.com/" ], diff --git a/types/devexpress-web/v172/package.json b/types/devexpress-web/v172/package.json index 93ca41b7bc3b3b..c8143ec937b6c3 100644 --- a/types/devexpress-web/v172/package.json +++ b/types/devexpress-web/v172/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/devexpress-web", "version": "172.6.9999", + "nonNpm": true, + "nonNpmDescription": "devexpress-web", "projects": [ "http://devexpress.com/" ], diff --git a/types/devexpress-web/v181/package.json b/types/devexpress-web/v181/package.json index f7be089759aba7..5fa62e0f49fae4 100644 --- a/types/devexpress-web/v181/package.json +++ b/types/devexpress-web/v181/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/devexpress-web", "version": "181.7.9999", + "nonNpm": true, + "nonNpmDescription": "devexpress-web", "projects": [ "http://devexpress.com/" ], diff --git a/types/devexpress-web/v182/package.json b/types/devexpress-web/v182/package.json index 1b2c8bad34db37..a2063cf04d6974 100644 --- a/types/devexpress-web/v182/package.json +++ b/types/devexpress-web/v182/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/devexpress-web", "version": "182.3.9999", + "nonNpm": true, + "nonNpmDescription": "devexpress-web", "projects": [ "http://devexpress.com/" ], diff --git a/types/devexpress-web/v191/package.json b/types/devexpress-web/v191/package.json index 30e1dd5a1e986c..166bfd5ee81bc4 100644 --- a/types/devexpress-web/v191/package.json +++ b/types/devexpress-web/v191/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/devexpress-web", "version": "191.6.9999", + "nonNpm": true, + "nonNpmDescription": "devexpress-web", "projects": [ "https://devexpress.com/" ], diff --git a/types/devexpress-web/v192/package.json b/types/devexpress-web/v192/package.json index c12c7a5e44b568..48c342c3568e9f 100644 --- a/types/devexpress-web/v192/package.json +++ b/types/devexpress-web/v192/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/devexpress-web", "version": "192.3.9999", + "nonNpm": true, + "nonNpmDescription": "devexpress-web", "projects": [ "https://devexpress.com/" ], diff --git a/types/devexpress-web/v201/.eslintrc.json b/types/devexpress-web/v201/.eslintrc.json index 76eef43735c718..f978262240d923 100644 --- a/types/devexpress-web/v201/.eslintrc.json +++ b/types/devexpress-web/v201/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/no-any-union": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/prefer-namespace": "off", "@typescript-eslint/naming-convention": "off" diff --git a/types/devexpress-web/v201/package.json b/types/devexpress-web/v201/package.json index bd64da9a20b2b1..8d2fc301466b28 100644 --- a/types/devexpress-web/v201/package.json +++ b/types/devexpress-web/v201/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/devexpress-web", "version": "201.5.9999", + "nonNpm": true, + "nonNpmDescription": "devexpress-web", "projects": [ "https://devexpress.com/" ], diff --git a/types/df-visible/.eslintrc.json b/types/df-visible/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/df-visible/.eslintrc.json +++ b/types/df-visible/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/df-visible/package.json b/types/df-visible/package.json index 6b6964360ea2f3..a4bf84a85bccb6 100644 --- a/types/df-visible/package.json +++ b/types/df-visible/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/df-visible", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "df-visible", "projects": [ "https://github.com/customd/jquery-visible" ], diff --git a/types/dhtmlxgantt/.eslintrc.json b/types/dhtmlxgantt/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/dhtmlxgantt/.eslintrc.json +++ b/types/dhtmlxgantt/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/dhtmlxgantt/package.json b/types/dhtmlxgantt/package.json index 1043b99b14c661..7bfce0fd977927 100644 --- a/types/dhtmlxgantt/package.json +++ b/types/dhtmlxgantt/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/dhtmlxgantt", "version": "6.0.9999", + "nonNpm": true, + "nonNpmDescription": "dhtmlxgantt", "projects": [ "https://dhtmlx.com/docs/products/dhtmlxGantt" ], diff --git a/types/dhtmlxscheduler/.eslintrc.json b/types/dhtmlxscheduler/.eslintrc.json index 8bbd364fd0262b..a25a4ebc5a8858 100644 --- a/types/dhtmlxscheduler/.eslintrc.json +++ b/types/dhtmlxscheduler/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/adjacent-overload-signatures": "off", "@typescript-eslint/ban-types": "off" } diff --git a/types/dhtmlxscheduler/package.json b/types/dhtmlxscheduler/package.json index d4983526c223e0..7063edc6ecb24f 100644 --- a/types/dhtmlxscheduler/package.json +++ b/types/dhtmlxscheduler/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/dhtmlxscheduler", "version": "4.3.9999", + "nonNpm": true, + "nonNpmDescription": "dhtmlxscheduler", "projects": [ "http://dhtmlx.com/docs/products/dhtmlxScheduler" ], diff --git a/types/difflib/difflib-tests.ts b/types/difflib/difflib-tests.ts index b5fb5ddd983680..20c2f7c0a4ebe0 100644 --- a/types/difflib/difflib-tests.ts +++ b/types/difflib/difflib-tests.ts @@ -1,6 +1,7 @@ import { contextDiff, Differ, SequenceMatcher, unifiedDiff } from "difflib"; -const sequenceMatcher = new SequenceMatcher(null, ["first", "second"], ["third", "fourth"]); +const isJunk = (x: string) => false; +const sequenceMatcher = new SequenceMatcher(isJunk, ["first", "second"], ["third", "fourth"]); // $ExpectType ((char: string) => boolean) | undefined const setSeqs = sequenceMatcher.setSeqs(["five", "six"], ["seven", "eight"]); // $ExpectType null | undefined diff --git a/types/difflib/index.d.ts b/types/difflib/index.d.ts index 31c3cefe24d4aa..a04a52ccadc652 100644 --- a/types/difflib/index.d.ts +++ b/types/difflib/index.d.ts @@ -1,5 +1,5 @@ export class SequenceMatcher { - constructor(isjunk: (() => boolean) | null, left: T, right: T, autojunk?: boolean); + constructor(isjunk: ((char: string) => boolean) | null, left: T, right: T, autojunk?: boolean); setSeqs(left: T, right: T): ((char: string) => boolean) | undefined; setSeq1(left: T): null | undefined; setSeq2(right: T): ((char: string) => boolean) | undefined; diff --git a/types/dns-packet/index.d.ts b/types/dns-packet/index.d.ts index c3d3b13563f512..a702adf324f5b0 100644 --- a/types/dns-packet/index.d.ts +++ b/types/dns-packet/index.d.ts @@ -347,6 +347,7 @@ export const RECURSION_DESIRED: number; export const RECURSION_AVAILABLE: number; export const AUTHENTIC_DATA: number; export const CHECKING_DISABLED: number; +export const DNSSEC_OK: number; export function encode(package: Packet, buf?: Buffer, offset?: number): Buffer; export namespace encode { diff --git a/types/doccookies/.eslintrc.json b/types/doccookies/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/doccookies/.eslintrc.json +++ b/types/doccookies/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/doccookies/package.json b/types/doccookies/package.json index 7d969110f828cf..6e7f68060fed6d 100644 --- a/types/doccookies/package.json +++ b/types/doccookies/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/doccookies", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "doccookies", "projects": [ "https://developer.mozilla.org/en-US/docs/Web/API/document.cookie" ], diff --git a/types/dock-spawn/.eslintrc.json b/types/dock-spawn/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/dock-spawn/.eslintrc.json +++ b/types/dock-spawn/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/dock-spawn/package.json b/types/dock-spawn/package.json index 27c29b86a74fa3..50bd88f08ede30 100644 --- a/types/dock-spawn/package.json +++ b/types/dock-spawn/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/dock-spawn", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "dock-spawn", "projects": [ "https://github.com/coderespawn/dock-spawn" ], diff --git a/types/documentdb-server/.eslintrc.json b/types/documentdb-server/.eslintrc.json index b8c893eed11a89..156f3f22ccbb28 100644 --- a/types/documentdb-server/.eslintrc.json +++ b/types/documentdb-server/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/no-unnecessary-generics": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/adjacent-overload-signatures": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/naming-convention": "off" diff --git a/types/documentdb-server/package.json b/types/documentdb-server/package.json index 19c2df485c0c6e..36a7eabe533f9f 100644 --- a/types/documentdb-server/package.json +++ b/types/documentdb-server/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/documentdb-server", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "documentdb-server", "projects": [ "http://azure.github.io/azure-documentdb-js-server/" ], diff --git a/types/dropbox-chooser/.eslintrc.json b/types/dropbox-chooser/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/dropbox-chooser/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/dropbox-chooser/package.json b/types/dropbox-chooser/package.json index bde3ee6d7a2dc9..2a022dc96ea0fb 100644 --- a/types/dropbox-chooser/package.json +++ b/types/dropbox-chooser/package.json @@ -2,7 +2,7 @@ "private": true, "name": "@types/dropbox-chooser", "version": "1.0.9999", - "nonNpm": true, + "nonNpm": "conflict", "nonNpmDescription": "Dropbox Chooser", "projects": [ "https://www.dropbox.com/developers/chooser" diff --git a/types/dropboxjs/.eslintrc.json b/types/dropboxjs/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/dropboxjs/.eslintrc.json +++ b/types/dropboxjs/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/dropboxjs/package.json b/types/dropboxjs/package.json index 2792937c1245a9..ade1764065087c 100644 --- a/types/dropboxjs/package.json +++ b/types/dropboxjs/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/dropboxjs", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "dropboxjs", "projects": [ "https://github.com/dropbox/dropbox-js" ], diff --git a/types/duo_web_sdk/.eslintrc.json b/types/duo_web_sdk/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/duo_web_sdk/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/duo_web_sdk/package.json b/types/duo_web_sdk/package.json index 494f61be1081b8..817a0770ff2042 100644 --- a/types/duo_web_sdk/package.json +++ b/types/duo_web_sdk/package.json @@ -2,7 +2,7 @@ "private": true, "name": "@types/duo_web_sdk", "version": "2.7.9999", - "nonNpm": true, + "nonNpm": "conflict", "nonNpmDescription": "duo_web_sdk-browser", "projects": [ "https://github.com/duosecurity/duo_web_sdk" diff --git a/types/dvtng-jss/.eslintrc.json b/types/dvtng-jss/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/dvtng-jss/.eslintrc.json +++ b/types/dvtng-jss/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/dvtng-jss/package.json b/types/dvtng-jss/package.json index 9a3029d6fd05ab..f96eaedef92a73 100644 --- a/types/dvtng-jss/package.json +++ b/types/dvtng-jss/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/dvtng-jss", "version": "0.6.9999", + "nonNpm": true, + "nonNpmDescription": "dvtng-jss", "projects": [ "https://github.com/Box9/jss" ], diff --git a/types/dw-bxslider-4/.eslintrc.json b/types/dw-bxslider-4/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/dw-bxslider-4/.eslintrc.json +++ b/types/dw-bxslider-4/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/dw-bxslider-4/package.json b/types/dw-bxslider-4/package.json index c5a15c2b2a68c3..4a3992674e9dbf 100644 --- a/types/dw-bxslider-4/package.json +++ b/types/dw-bxslider-4/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/dw-bxslider-4", "version": "4.2.9999", + "nonNpm": true, + "nonNpmDescription": "dw-bxslider-4", "projects": [ "https://github.com/stevenwanderski/bxslider-4" ], diff --git a/types/dxf/Utils.d.ts b/types/dxf/Utils.d.ts index 0ba8f3a961706d..17f2bf7b87f54b 100644 --- a/types/dxf/Utils.d.ts +++ b/types/dxf/Utils.d.ts @@ -6,9 +6,12 @@ export interface ParsedContent { export type UtilVertex = [number, number]; +// [ref](https://github.com/bjnortier/vecks/blob/master/src/Box2.js) export interface Box { min: Common.Point2D; max: Common.Point2D; valid: boolean; + width: number; + heigh: number; expandByPoint(point: UtilVertex): void; } diff --git a/types/dymo-label-framework/.eslintrc.json b/types/dymo-label-framework/.eslintrc.json index d35573b5b1c72b..c47b3f50daa904 100644 --- a/types/dymo-label-framework/.eslintrc.json +++ b/types/dymo-label-framework/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/naming-convention": "off" } } diff --git a/types/dymo-label-framework/package.json b/types/dymo-label-framework/package.json index 697dd44e86e96e..6059100ca574de 100644 --- a/types/dymo-label-framework/package.json +++ b/types/dymo-label-framework/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/dymo-label-framework", "version": "1.2.9999", + "nonNpm": true, + "nonNpmDescription": "dymo-label-framework", "projects": [ "http://www.labelwriter.com/software/dls/sdk/docs/DYMOLabelFrameworkJavaScriptHelp/index.html" ], diff --git a/types/dynatable/.eslintrc.json b/types/dynatable/.eslintrc.json index 1c7489360e7ede..5bf67bfd516c0d 100644 --- a/types/dynatable/.eslintrc.json +++ b/types/dynatable/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/edtr-io__mathquill/.eslintrc.json b/types/edtr-io__mathquill/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/edtr-io__mathquill/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/elm/.eslintrc.json b/types/elm/.eslintrc.json index 0ebb8df7a60887..028c514e7f92e5 100644 --- a/types/elm/.eslintrc.json +++ b/types/elm/.eslintrc.json @@ -1,6 +1,6 @@ { "rules": { - "@definitelytyped/npm-naming": "off", + "@definitelytyped/no-type-only-packages": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/no-empty-interface": "off" } diff --git a/types/ember-cli-fastboot/package.json b/types/ember-cli-fastboot/package.json index 4cc712a5c14fa3..66537b687d96d5 100644 --- a/types/ember-cli-fastboot/package.json +++ b/types/ember-cli-fastboot/package.json @@ -17,16 +17,16 @@ "githubUsername": "hmajoros" }, { - "name": "Dan Freeman", - "githubUsername": "dfreeman" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" + "name": "Krystan HuffMenne", + "githubUsername": "gitKrystan" }, { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember-data/package.json b/types/ember-data/package.json index 07a3c889343cfb..426ce05ab18872 100644 --- a/types/ember-data/package.json +++ b/types/ember-data/package.json @@ -20,32 +20,20 @@ }, "owners": [ { - "name": "Derek Wickern", - "githubUsername": "dwickern" - }, - { - "name": "Mike North", - "githubUsername": "mike-north" + "name": "Chris Thoburn", + "githubUsername": "runspired" }, { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" + "name": "Krystan HuffMenne", + "githubUsername": "gitKrystan" }, { "name": "James C. Davis", "githubUsername": "jamescdavis" }, - { - "name": "Chris Thoburn", - "githubUsername": "runspired" - }, { "name": "Peter Wagenet", "githubUsername": "wagenet" - }, - { - "name": "Krystan HuffMenne", - "githubUsername": "gitKrystan" } ] } diff --git a/types/ember-data/v2/package.json b/types/ember-data/v2/package.json index 67af1077725bf5..b397ddd4589ba2 100644 --- a/types/ember-data/v2/package.json +++ b/types/ember-data/v2/package.json @@ -14,16 +14,16 @@ }, "owners": [ { - "name": "Derek Wickern", - "githubUsername": "dwickern" + "name": "Krystan HuffMenne", + "githubUsername": "gitKrystan" }, { - "name": "Mike North", - "githubUsername": "mike-north" + "name": "James C. Davis", + "githubUsername": "jamescdavis" }, { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember-data/v3/package.json b/types/ember-data/v3/package.json index a6b1fa430f0de6..b3095734a307e7 100644 --- a/types/ember-data/v3/package.json +++ b/types/ember-data/v3/package.json @@ -22,24 +22,16 @@ }, "owners": [ { - "name": "Derek Wickern", - "githubUsername": "dwickern" - }, - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" + "name": "Krystan HuffMenne", + "githubUsername": "gitKrystan" }, { "name": "James C. Davis", "githubUsername": "jamescdavis" }, { - "name": "Krystan HuffMenne", - "githubUsername": "gitKrystan" + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember-data__adapter/package.json b/types/ember-data__adapter/package.json index 42a391a34c4cfd..2c77197f5d8634 100644 --- a/types/ember-data__adapter/package.json +++ b/types/ember-data__adapter/package.json @@ -17,10 +17,6 @@ "@types/jquery": "*" }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -29,10 +25,6 @@ "name": "James C. Davis", "githubUsername": "jamescdavis" }, - { - "name": "Chris Thoburn", - "githubUsername": "runspired" - }, { "name": "Peter Wagenet", "githubUsername": "wagenet" diff --git a/types/ember-data__adapter/v3/package.json b/types/ember-data__adapter/v3/package.json index 40ef8f9f6c4d11..bc64b70d6e8c7d 100644 --- a/types/ember-data__adapter/v3/package.json +++ b/types/ember-data__adapter/v3/package.json @@ -17,14 +17,6 @@ "@types/jquery": "*" }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -32,6 +24,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember-data__model/package.json b/types/ember-data__model/package.json index da3e1e3d80daad..9e5cc60bcd9256 100644 --- a/types/ember-data__model/package.json +++ b/types/ember-data__model/package.json @@ -15,16 +15,16 @@ }, "owners": [ { - "name": "James C. Davis", - "githubUsername": "jamescdavis" + "name": "Krystan HuffMenne", + "githubUsername": "gitKrystan" }, { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" + "name": "James C. Davis", + "githubUsername": "jamescdavis" }, { - "name": "Krystan HuffMenne", - "githubUsername": "gitKrystan" + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember-data__model/v3/package.json b/types/ember-data__model/v3/package.json index 5a590531f50aa8..613ecb89a13f89 100644 --- a/types/ember-data__model/v3/package.json +++ b/types/ember-data__model/v3/package.json @@ -14,14 +14,6 @@ "@types/rsvp": "*" }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -29,6 +21,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember-data__serializer/package.json b/types/ember-data__serializer/package.json index 42af39e62b68e7..a69ad128a107ea 100644 --- a/types/ember-data__serializer/package.json +++ b/types/ember-data__serializer/package.json @@ -15,10 +15,6 @@ "@types/ember__object": "*" }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember-data__serializer/v3/package.json b/types/ember-data__serializer/v3/package.json index 08ff648d59a7ff..d6901bb5b3ce75 100644 --- a/types/ember-data__serializer/v3/package.json +++ b/types/ember-data__serializer/v3/package.json @@ -15,10 +15,6 @@ "@types/ember__object": "^3" }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -28,8 +24,8 @@ "githubUsername": "jamescdavis" }, { - "name": "Mike North", - "githubUsername": "mike-north" + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember-data__store/package.json b/types/ember-data__store/package.json index 41a2940f2551f7..7e7f6481534820 100644 --- a/types/ember-data__store/package.json +++ b/types/ember-data__store/package.json @@ -14,10 +14,6 @@ "@types/ember__array": "*" }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember-data__store/v3/package.json b/types/ember-data__store/v3/package.json index e946f3ad028e80..0831d73b1def9b 100644 --- a/types/ember-data__store/v3/package.json +++ b/types/ember-data__store/v3/package.json @@ -14,10 +14,6 @@ "@types/ember__array": "*" }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -27,8 +23,8 @@ "githubUsername": "jamescdavis" }, { - "name": "Mike North", - "githubUsername": "mike-north" + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember-feature-flags/package.json b/types/ember-feature-flags/package.json index 8a30038999d479..d9a7abd365eacf 100644 --- a/types/ember-feature-flags/package.json +++ b/types/ember-feature-flags/package.json @@ -13,16 +13,16 @@ }, "owners": [ { - "name": "Dan Freeman", - "githubUsername": "dfreeman" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" + "name": "Krystan HuffMenne", + "githubUsername": "gitKrystan" }, { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember-feature-flags/v3/package.json b/types/ember-feature-flags/v3/package.json index ddb2df662d8bdf..90db929ab5488d 100644 --- a/types/ember-feature-flags/v3/package.json +++ b/types/ember-feature-flags/v3/package.json @@ -17,20 +17,16 @@ "githubUsername": "tansongyang" }, { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" + "name": "Krystan HuffMenne", + "githubUsername": "gitKrystan" }, { "name": "James C. Davis", "githubUsername": "jamescdavis" }, { - "name": "Dan Freeman", - "githubUsername": "dfreeman" + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember-mocha/package.json b/types/ember-mocha/package.json index c29cda86eb4ce1..069d2e1ae6cfda 100644 --- a/types/ember-mocha/package.json +++ b/types/ember-mocha/package.json @@ -21,16 +21,16 @@ "githubUsername": "simonihmig" }, { - "name": "Dan Freeman", - "githubUsername": "dfreeman" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" + "name": "Krystan HuffMenne", + "githubUsername": "gitKrystan" }, { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember-modal-dialog/package.json b/types/ember-modal-dialog/package.json index c1a69cb6eb7d47..c353708ecac208 100644 --- a/types/ember-modal-dialog/package.json +++ b/types/ember-modal-dialog/package.json @@ -13,16 +13,16 @@ }, "owners": [ { - "name": "Dan Freeman", - "githubUsername": "dfreeman" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" + "name": "Krystan HuffMenne", + "githubUsername": "gitKrystan" }, { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember-test-helpers/.eslintrc.json b/types/ember-test-helpers/.eslintrc.json index a1cc6469029690..d4b4143db59043 100644 --- a/types/ember-test-helpers/.eslintrc.json +++ b/types/ember-test-helpers/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/no-declare-current-package": "off", - "@definitelytyped/npm-naming": "off", "no-duplicate-imports": "off" } } diff --git a/types/ember-test-helpers/package.json b/types/ember-test-helpers/package.json index 1f1a9e85586cc3..a2890805b4e180 100644 --- a/types/ember-test-helpers/package.json +++ b/types/ember-test-helpers/package.json @@ -17,24 +17,16 @@ }, "owners": [ { - "name": "Derek Wickern", - "githubUsername": "dwickern" - }, - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" + "name": "Krystan HuffMenne", + "githubUsername": "gitKrystan" }, { "name": "James C. Davis", "githubUsername": "jamescdavis" }, { - "name": "Krystan HuffMenne", - "githubUsername": "gitKrystan" + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember-testing-helpers/.eslintrc.json b/types/ember-testing-helpers/.eslintrc.json index 404e6392df6d19..59d00d648a54de 100644 --- a/types/ember-testing-helpers/.eslintrc.json +++ b/types/ember-testing-helpers/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/no-unnecessary-generics": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/ember-testing-helpers/package.json b/types/ember-testing-helpers/package.json index f03dfa1f3e5944..668c15b4b55beb 100644 --- a/types/ember-testing-helpers/package.json +++ b/types/ember-testing-helpers/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/ember-testing-helpers", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "ember-testing-helpers", "projects": [ "https://github.com/emberjs/ember.js/tree/master/packages/ember-testing/lib/helpers" ], @@ -14,20 +16,16 @@ }, "owners": [ { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" + "name": "Krystan HuffMenne", + "githubUsername": "gitKrystan" }, { "name": "James C. Davis", "githubUsername": "jamescdavis" }, { - "name": "Dan Freeman", - "githubUsername": "dfreeman" - }, - { - "name": "Mike North", - "githubUsername": "mike-north" + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember/.eslintrc.json b/types/ember/.eslintrc.json index 3accbf9293bc8c..9b6fd3e0f09a7d 100644 --- a/types/ember/.eslintrc.json +++ b/types/ember/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/no-single-element-tuple-type": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/no-empty-interface": "off" } } diff --git a/types/ember/package.json b/types/ember/package.json index 13784ec168594b..e3fa9b45cb4857 100644 --- a/types/ember/package.json +++ b/types/ember/package.json @@ -30,10 +30,6 @@ "@types/htmlbars-inline-precompile": "*" }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "James C. Davis", "githubUsername": "jamescdavis" diff --git a/types/ember/v2/package.json b/types/ember/v2/package.json index 68f6e6dc694e6c..3d5cf2cb7aaaef 100644 --- a/types/ember/v2/package.json +++ b/types/ember/v2/package.json @@ -15,32 +15,16 @@ }, "owners": [ { - "name": "bttf", - "githubUsername": "bttf" + "name": "Krystan HuffMenne", + "githubUsername": "gitKrystan" }, { - "name": "Derek Wickern", - "githubUsername": "dwickern" + "name": "James C. Davis", + "githubUsername": "jamescdavis" }, { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, - { - "name": "Theron Cross", - "githubUsername": "theroncross" - }, - { - "name": "Martin Feckie", - "githubUsername": "mfeckie" - }, - { - "name": "Alex LaFroscia", - "githubUsername": "alexlafroscia" - }, - { - "name": "Mike North", - "githubUsername": "mike-north" + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember/v3/.eslintrc.json b/types/ember/v3/.eslintrc.json index 3accbf9293bc8c..9b6fd3e0f09a7d 100644 --- a/types/ember/v3/.eslintrc.json +++ b/types/ember/v3/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/no-single-element-tuple-type": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/no-empty-interface": "off" } } diff --git a/types/ember/v3/package.json b/types/ember/v3/package.json index 26f7d87fb67460..f43bb3ec6070d1 100644 --- a/types/ember/v3/package.json +++ b/types/ember/v3/package.json @@ -31,44 +31,16 @@ }, "owners": [ { - "name": "bttf", - "githubUsername": "bttf" - }, - { - "name": "Derek Wickern", - "githubUsername": "dwickern" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, - { - "name": "Theron Cross", - "githubUsername": "theroncross" - }, - { - "name": "Martin Feckie", - "githubUsername": "mfeckie" - }, - { - "name": "Alex LaFroscia", - "githubUsername": "alexlafroscia" - }, - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Bryan Crotaz", - "githubUsername": "BryanCrotaz" + "name": "Krystan HuffMenne", + "githubUsername": "gitKrystan" }, { "name": "James C. Davis", "githubUsername": "jamescdavis" }, { - "name": "Krystan HuffMenne", - "githubUsername": "gitKrystan" + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__application/package.json b/types/ember__application/package.json index b3edf78648f0f1..9c9eb0504ca920 100644 --- a/types/ember__application/package.json +++ b/types/ember__application/package.json @@ -21,10 +21,6 @@ "@types/htmlbars-inline-precompile": "*" }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__application/v3/package.json b/types/ember__application/v3/package.json index c316b28fa3b973..627ca05efced57 100644 --- a/types/ember__application/v3/package.json +++ b/types/ember__application/v3/package.json @@ -17,14 +17,6 @@ "@types/htmlbars-inline-precompile": "*" }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -32,6 +24,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__array/package.json b/types/ember__array/package.json index a98b7a8ba36fcb..323a597f78d4e7 100644 --- a/types/ember__array/package.json +++ b/types/ember__array/package.json @@ -15,10 +15,6 @@ "@types/ember__array": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__array/v3/package.json b/types/ember__array/v3/package.json index de0334f050edd2..1d811d6d445f80 100644 --- a/types/ember__array/v3/package.json +++ b/types/ember__array/v3/package.json @@ -14,14 +14,6 @@ "@types/ember__array": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -29,6 +21,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__component/package.json b/types/ember__component/package.json index b135be5d0594b9..fab53f2367328c 100644 --- a/types/ember__component/package.json +++ b/types/ember__component/package.json @@ -16,10 +16,6 @@ "@types/htmlbars-inline-precompile": "*" }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__component/v3/package.json b/types/ember__component/v3/package.json index 1fdb718ebc098a..ee3df7470baa19 100644 --- a/types/ember__component/v3/package.json +++ b/types/ember__component/v3/package.json @@ -16,14 +16,6 @@ "@types/htmlbars-inline-precompile": "*" }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -31,6 +23,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__controller/package.json b/types/ember__controller/package.json index 66e1d2653d93af..e9b26f6f05220b 100644 --- a/types/ember__controller/package.json +++ b/types/ember__controller/package.json @@ -15,10 +15,6 @@ "@types/ember__owner": "*" }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__controller/v3/package.json b/types/ember__controller/v3/package.json index 4cc114c51a7cd3..713d117232c9bb 100644 --- a/types/ember__controller/v3/package.json +++ b/types/ember__controller/v3/package.json @@ -14,14 +14,6 @@ "@types/ember__controller": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -29,6 +21,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__debug/package.json b/types/ember__debug/package.json index d4fcb373138cb6..1cd68c26171f54 100644 --- a/types/ember__debug/package.json +++ b/types/ember__debug/package.json @@ -15,10 +15,6 @@ "@types/ember__debug": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__debug/v3/package.json b/types/ember__debug/v3/package.json index 04dba4d0ae721b..eb1ff4357aa2c7 100644 --- a/types/ember__debug/v3/package.json +++ b/types/ember__debug/v3/package.json @@ -15,14 +15,6 @@ "@types/ember__debug": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -30,6 +22,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__destroyable/package.json b/types/ember__destroyable/package.json index f76796fd9f1487..6aef7dc7c9bade 100644 --- a/types/ember__destroyable/package.json +++ b/types/ember__destroyable/package.json @@ -11,10 +11,6 @@ "@types/ember__destroyable": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__destroyable/v3/package.json b/types/ember__destroyable/v3/package.json index aa3bbef4d7874a..a704dcc239f9ec 100644 --- a/types/ember__destroyable/v3/package.json +++ b/types/ember__destroyable/v3/package.json @@ -11,14 +11,6 @@ "@types/ember__destroyable": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -26,6 +18,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__engine/package.json b/types/ember__engine/package.json index 9b9192a7bcbabc..de36c5fb6b2f5b 100644 --- a/types/ember__engine/package.json +++ b/types/ember__engine/package.json @@ -15,10 +15,6 @@ "@types/ember__engine": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__engine/v3/package.json b/types/ember__engine/v3/package.json index c4d940c2e8368d..1610639684c729 100644 --- a/types/ember__engine/v3/package.json +++ b/types/ember__engine/v3/package.json @@ -14,14 +14,6 @@ "@types/ember__engine": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -29,6 +21,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__error/package.json b/types/ember__error/package.json index 1e3181f7317bfc..7ef01612288eb5 100644 --- a/types/ember__error/package.json +++ b/types/ember__error/package.json @@ -11,10 +11,6 @@ "@types/ember__error": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__error/v3/package.json b/types/ember__error/v3/package.json index 282b601a2de745..600c4d74d26305 100644 --- a/types/ember__error/v3/package.json +++ b/types/ember__error/v3/package.json @@ -11,14 +11,6 @@ "@types/ember__error": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -26,6 +18,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__helper/ember__helper-tests.ts b/types/ember__helper/ember__helper-tests.ts index 8da6ab000bfa4f..2eb700010acc2b 100644 --- a/types/ember__helper/ember__helper-tests.ts +++ b/types/ember__helper/ember__helper-tests.ts @@ -1,7 +1,10 @@ -import { array, concat, fn, get, hash } from "@ember/helper"; +import { array, capabilities, concat, fn, get, hash, invokeHelper, setHelperManager } from "@ember/helper"; array; // $ExpectType ArrayHelper concat; // $ExpectType ConcatHelper fn; // $ExpectType FnHelper get; // $ExpectType GetHelper hash; // $ExpectType HashHelper +invokeHelper; // $ExpectType (context: object, definition: object, computeArgs?: ((context: object) => Partial) | undefined) => Cache +capabilities; // $ExpectType (factory: ManagerFactory>, obj: T) => T +setHelperManager; // $ExpectType (factory: ManagerFactory>, obj: T) => T diff --git a/types/ember__helper/index.d.ts b/types/ember__helper/index.d.ts index 9871d049c7d2e7..2f907ddac076bf 100644 --- a/types/ember__helper/index.d.ts +++ b/types/ember__helper/index.d.ts @@ -1,5 +1,8 @@ import { Opaque } from "ember/-private/type-utils"; +import { helperCapabilities, setHelperManager as glimmerSetHelperManager } from "@glimmer/manager"; +import { invokeHelper as glimmerInvokeHelper } from "@glimmer/runtime"; + // In normal TypeScript, these helpers are essentially opaque tokens // that just need to be importable. Declaring them with unique interfaces // like this, however, gives tools like Glint (that DO have a richer @@ -45,3 +48,311 @@ export const get: GetHelper; * @see https://api.emberjs.com/ember/4.1/classes/Ember.Templates.helpers/methods/hash?anchor=hash */ export const hash: HashHelper; + +/** + `capabilities` returns a capabilities configuration which can be used to modify + the behavior of the manager. Manager capabilities _must_ be provided using the + `capabilities` function, as the underlying implementation can change over time. + + The first argument to capabilities is a version string, which is the version of + Ember that the capabilities were defined in. Ember can add new versions at any + time, and these may have entirely different behaviors, but it will not remove + old versions until the next major version. + + ```js + capabilities('3.23'); + ``` + + The second argument is an object of capabilities and boolean values indicating + whether they are enabled or disabled. + + ```js + capabilities('3.23', { + hasValue: true, + hasDestructor: true, + }); + ``` + + If no value is specified, then the default value will be used. + + ### `3.23` capabilities + + #### `hasDestroyable` + + - Default value: false + + Determines if the helper has a destroyable to include in the destructor + hierarchy. If enabled, the `getDestroyable` hook will be called, and its result + will be associated with the destroyable parent block. + + #### `hasValue` + + - Default value: false + + Determines if the helper has a value which can be used externally. The helper's + `getValue` hook will be run whenever the value of the helper is accessed if this + capability is enabled. + + @method capabilities + @for @ember/helper + @static + @param {String} managerApiVersion The version of capabilities that are being used + @param options The capabilities values + @return {Capabilities} The capabilities object instance +*/ +export const capabilities: typeof helperCapabilities; +/** + Sets the helper manager for an object or function. + + ```js + setHelperManager((owner) => new ClassHelperManager(owner), Helper) + ``` + + When a value is used as a helper in a template, the helper manager is looked up + on the object by walking up its prototype chain and finding the first helper + manager. This manager then receives the value and can create and manage an + instance of a helper from it. This provides a layer of indirection that allows + users to design high-level helper APIs, without Ember needing to worry about the + details. High-level APIs can be experimented with and iterated on while the + core of Ember helpers remains stable, and new APIs can be introduced gradually + over time to existing code bases. + + `setHelperManager` receives two arguments: + + 1. A factory function, which receives the `owner` and returns an instance of a + helper manager. + 2. A helper definition, which is the object or function to associate the factory function with. + + The first time the object is looked up, the factory function will be called to + create the helper manager. It will be cached, and in subsequent lookups the + cached helper manager will be used instead. + + Only one helper manager is guaranteed to exist per `owner` and per usage of + `setHelperManager`, so many helpers will end up using the same instance of the + helper manager. As such, you should only store state that is related to the + manager itself. If you want to store state specific to a particular helper + definition, you should assign a unique helper manager to that helper. In + general, most managers should either be stateless, or only have the `owner` they + were created with as state. + + Helper managers must fulfill the following interface (This example uses + [TypeScript interfaces](https://www.typescriptlang.org/docs/handbook/interfaces.html) + for precision, you do not need to write helper managers using TypeScript): + + ```ts + interface HelperManager { + capabilities: HelperCapabilities; + + createHelper(definition: HelperDefinition, args: TemplateArgs): HelperStateBucket; + + getValue?(bucket: HelperStateBucket): unknown; + + runEffect?(bucket: HelperStateBucket): void; + + getDestroyable?(bucket: HelperStateBucket): object; + } + ``` + + The capabilities property _must_ be provided using the `capabilities()` function + imported from the same module as `setHelperManager`: + + ```js + import { capabilities } from '@ember/helper'; + + class MyHelperManager { + capabilities = capabilities('3.21.0', { hasValue: true }); + + // ...snip... + } + ``` + + Below is a description of each of the methods on the interface and their + functions. + + #### `createHelper` + + `createHelper` is a required hook on the HelperManager interface. The hook is + passed the definition of the helper that is currently being created, and is + expected to return a _state bucket_. This state bucket is what represents the + current state of the helper, and will be passed to the other lifecycle hooks at + appropriate times. It is not necessarily related to the definition of the + helper itself - for instance, you could return an object _containing_ an + instance of the helper: + + ```js + class MyManager { + createHelper(Definition, args) { + return { + instance: new Definition(args); + }; + } + } + ``` + + This allows the manager to store metadata that it doesn't want to expose to the + user. + + This hook is _not_ autotracked - changes to tracked values used within this hook + will _not_ result in a call to any of the other lifecycle hooks. This is because + it is unclear what should happen if it invalidates, and rather than make a + decision at this point, the initial API is aiming to allow as much expressivity + as possible. This could change in the future with changes to capabilities and + their behaviors. + + If users do want to autotrack some values used during construction, they can + either create the instance of the helper in `runEffect` or `getValue`, or they + can use the `cache` API to autotrack the `createHelper` hook themselves. This + provides maximum flexibility and expressiveness to manager authors. + + This hook has the following timing semantics: + + **Always** + - called as discovered during DOM construction + - called in definition order in the template + + #### `getValue` + + `getValue` is an optional hook that should return the value of the helper. This + is the value that is returned from the helper and passed into the template. + + This hook is called when the value is requested from the helper (e.g. when the + template is rendering and the helper value is needed). The hook is autotracked, + and will rerun whenever any tracked values used inside of it are updated. + Otherwise it does not rerun. + + > Note: This means that arguments which are not _consumed_ within the hook will + > not trigger updates. + + This hook is only called for helpers with the `hasValue` capability enabled. + This hook has the following timing semantics: + + **Always** + - called the first time the helper value is requested + - called after autotracked state has changed + + **Never** + - called if the `hasValue` capability is disabled + + #### `runEffect` + + `runEffect` is an optional hook that should run the effect that the helper is + applying, setting it up or updating it. + + This hook is scheduled to be called some time after render and prior to paint. + There is not a guaranteed, 1-to-1 relationship between a render pass and this + hook firing. For instance, multiple render passes could occur, and the hook may + only trigger once. It may also never trigger if it was dirtied in one render + pass and then destroyed in the next. + + The hook is autotracked, and will rerun whenever any tracked values used inside + of it are updated. Otherwise it does not rerun. + + The hook is also run during a time period where state mutations are _disabled_ + in Ember. Any tracked state mutation will throw an error during this time, + including changes to tracked properties, changes made using `Ember.set`, updates + to computed properties, etc. This is meant to prevent infinite rerenders and + other antipatterns. + + This hook is only called for helpers with the `hasScheduledEffect` capability + enabled. This hook is also not called in SSR currently, though this could be + added as a capability in the future. It has the following timing semantics: + + **Always** + - called after the helper was first created, if the helper has not been + destroyed since creation + - called after autotracked state has changed, if the helper has not been + destroyed during render + + **Never** + - called if the `hasScheduledEffect` capability is disabled + - called in SSR + + #### `getDestroyable` + + `getDestroyable` is an optional hook that users can use to register a + destroyable object for the helper. This destroyable will be registered to the + containing block or template parent, and will be destroyed when it is destroyed. + See the [Destroyables RFC](https://github.com/emberjs/rfcs/blob/master/text/0580-destroyables.md) + for more details. + + `getDestroyable` is only called if the `hasDestroyable` capability is enabled. + + This hook has the following timing semantics: + + **Always** + - called immediately after the `createHelper` hook is called + + **Never** + - called if the `hasDestroyable` capability is disabled + + @method setHelperManager + @for @ember/helper + @static + @param {Function} factory A factory function which receives an optional owner, and returns a helper manager + @param {object} definition The definition to associate the manager factory with + @return {object} The definition passed into setHelperManager +*/ +export const setHelperManager: typeof glimmerSetHelperManager; +/** + The `invokeHelper` function can be used to create a helper instance in + JavaScript. + + To access a helper's value you have to use `getValue` from + `@glimmer/tracking/primitives/cache`. + + ```js + // app/components/data-loader.js + import Component from '@glimmer/component'; + import { getValue } from '@glimmer/tracking/primitives/cache'; + import Helper from '@ember/component/helper'; + import { invokeHelper } from '@ember/helper'; + + class PlusOne extends Helper { + compute([number]) { + return number + 1; + } + } + + export default class PlusOneComponent extends Component { + plusOne = invokeHelper(this, PlusOne, () => { + return { + positional: [this.args.number], + }; + }); + + get value() { + return getValue(this.plusOne); + } + } + ``` + ```js + {{this.value}} + ``` + + It receives three arguments: + + * `context`: The parent context of the helper. When the parent is torn down and + removed, the helper will be as well. + * `definition`: The definition of the helper. + * `computeArgs`: An optional function that produces the arguments to the helper. + The function receives the parent context as an argument, and must return an + object with a `positional` property that is an array and/or a `named` + property that is an object. + + And it returns a Cache instance that contains the most recent value of the + helper. You can access the helper using `getValue()` like any other cache. The + cache is also destroyable, and using the `destroy()` function on it will cause + the helper to be torn down. + + Note that using `getValue()` on helpers that have scheduled effects will not + trigger the effect early. Effects will continue to run at their scheduled time. + + @method invokeHelper + @for @ember/helper + @static + @param {object} context The parent context of the helper + @param {object} definition The helper definition + @param {Function} computeArgs An optional function that produces args + @returns +*/ +export const invokeHelper: typeof glimmerInvokeHelper; diff --git a/types/ember__helper/package.json b/types/ember__helper/package.json index be754350d011bf..318b198596e195 100644 --- a/types/ember__helper/package.json +++ b/types/ember__helper/package.json @@ -8,16 +8,14 @@ "https://github.com/emberjs/ember.js" ], "dependencies": { + "@glimmer/manager": ">= 0.83.0", + "@glimmer/runtime": ">= 0.83.0", "@types/ember": "*" }, "devDependencies": { "@types/ember__helper": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__modifier/package.json b/types/ember__modifier/package.json index bcdc22d4f98e12..4a9271924cbc9e 100644 --- a/types/ember__modifier/package.json +++ b/types/ember__modifier/package.json @@ -15,10 +15,6 @@ "@types/ember__modifier": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__object/package.json b/types/ember__object/package.json index 1250b13436d873..4ee796e02ef09a 100644 --- a/types/ember__object/package.json +++ b/types/ember__object/package.json @@ -15,10 +15,6 @@ "@types/ember__object": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__object/v3/package.json b/types/ember__object/v3/package.json index 4477e90ff1222f..a59dd4b2907b01 100644 --- a/types/ember__object/v3/package.json +++ b/types/ember__object/v3/package.json @@ -15,14 +15,6 @@ "@types/ember__object": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -30,6 +22,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__ordered-set/package.json b/types/ember__ordered-set/package.json index 508f1d8ae63546..f2b053705b29be 100644 --- a/types/ember__ordered-set/package.json +++ b/types/ember__ordered-set/package.json @@ -9,10 +9,6 @@ "@types/ember__ordered-set": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__ordered-set/v3/package.json b/types/ember__ordered-set/v3/package.json index 63df1958215994..7235915ad287c8 100644 --- a/types/ember__ordered-set/v3/package.json +++ b/types/ember__ordered-set/v3/package.json @@ -9,14 +9,6 @@ "@types/ember__ordered-set": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, - { - "name": "Mike North", - "githubUsername": "mike-north" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -24,6 +16,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__owner/package.json b/types/ember__owner/package.json index abef0e5bb7acd2..a45b7ff3e3bbdd 100644 --- a/types/ember__owner/package.json +++ b/types/ember__owner/package.json @@ -13,10 +13,6 @@ "@types/ember__owner": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__polyfills/package.json b/types/ember__polyfills/package.json index 0b08672d19c254..651f7a642d5ca5 100644 --- a/types/ember__polyfills/package.json +++ b/types/ember__polyfills/package.json @@ -11,10 +11,6 @@ "@types/ember__polyfills": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__polyfills/v3/package.json b/types/ember__polyfills/v3/package.json index 079c74b8657c19..abde79fa979d55 100644 --- a/types/ember__polyfills/v3/package.json +++ b/types/ember__polyfills/v3/package.json @@ -11,14 +11,6 @@ "@types/ember__polyfills": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -26,6 +18,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__routing/package.json b/types/ember__routing/package.json index fd8741963fffa5..e91fb1009891dd 100644 --- a/types/ember__routing/package.json +++ b/types/ember__routing/package.json @@ -18,10 +18,6 @@ "@types/ember__routing": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__routing/test/router-service.ts b/types/ember__routing/test/router-service.ts index 9688bf27b3b979..e3fd719b90662e 100644 --- a/types/ember__routing/test/router-service.ts +++ b/types/ember__routing/test/router-service.ts @@ -89,6 +89,11 @@ transition.to.metadata; // @ts-expect-error transition.to.metadata = "foo"; +// $ExpectType string | null | undefined +transition.targetName; +// @ts-expect-error +transition.targetName = "foo"; + // NOTE: we cannot check the validity of invocations with just route name and // query params beyond that the second argument is an object of some sort, // because TS will always resolve it to the `models` variant if the diff --git a/types/ember__routing/transition.d.ts b/types/ember__routing/transition.d.ts index df802b7b1a2927..9485ab3a54e2f1 100644 --- a/types/ember__routing/transition.d.ts +++ b/types/ember__routing/transition.d.ts @@ -36,6 +36,10 @@ export default interface Transition extends Partial> { * It's important to note that a `RouteInfo` is a linked list and this property is simply the leafmost route. */ readonly to: RouteInfo | RouteInfoWithAttributes; + /** + * The targetName is the route name of the destination route. + */ + readonly targetName: string | null | undefined; /** * Aborts the Transition. Note you can also implicitly abort a transition * by initiating another transition while a previous one is underway. diff --git a/types/ember__routing/v3/package.json b/types/ember__routing/v3/package.json index 065ff814b8f7bb..c2c784a874d1c7 100644 --- a/types/ember__routing/v3/package.json +++ b/types/ember__routing/v3/package.json @@ -18,14 +18,6 @@ "@types/ember__routing": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -33,6 +25,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__runloop/package.json b/types/ember__runloop/package.json index 0c371beaa01532..c157e2fbd3fb5f 100644 --- a/types/ember__runloop/package.json +++ b/types/ember__runloop/package.json @@ -15,10 +15,6 @@ "@types/ember__runloop": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__runloop/v3/package.json b/types/ember__runloop/v3/package.json index 171003f0042d2a..051c943f162f2d 100644 --- a/types/ember__runloop/v3/package.json +++ b/types/ember__runloop/v3/package.json @@ -12,18 +12,6 @@ "@types/ember__runloop": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Steve Calvert", - "githubUsername": "scalvert" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -31,6 +19,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__service/package.json b/types/ember__service/package.json index de34839c1c86ac..651604051b1384 100644 --- a/types/ember__service/package.json +++ b/types/ember__service/package.json @@ -14,10 +14,6 @@ "@types/ember__service": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__service/v3/package.json b/types/ember__service/v3/package.json index a2d4c409d005e0..d8ffb94d4fc4b0 100644 --- a/types/ember__service/v3/package.json +++ b/types/ember__service/v3/package.json @@ -14,14 +14,6 @@ "@types/ember__service": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -29,6 +21,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__string/package.json b/types/ember__string/package.json index 67096a50491cca..74722574618708 100644 --- a/types/ember__string/package.json +++ b/types/ember__string/package.json @@ -2,7 +2,7 @@ "private": true, "name": "@types/ember__string", "version": "3.0.9999", - "nonNpm": true, + "nonNpm": "conflict", "nonNpmDescription": "@ember/string", "projects": [ "https://www.npmjs.com/package/@ember/string" @@ -11,10 +11,6 @@ "@types/ember__string": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__string/v2/package.json b/types/ember__string/v2/package.json index b3d109952e2f1d..d2d231b05eb7fb 100644 --- a/types/ember__string/v2/package.json +++ b/types/ember__string/v2/package.json @@ -2,7 +2,7 @@ "private": true, "name": "@types/ember__string", "version": "2.0.9999", - "nonNpm": true, + "nonNpm": "conflict", "nonNpmDescription": "@ember/string", "projects": [ "https://www.npmjs.com/package/@ember/string" @@ -14,14 +14,6 @@ "@types/ember__string": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -29,6 +21,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__template/package.json b/types/ember__template/package.json index f573ec63da7e88..84098d8e30ae45 100644 --- a/types/ember__template/package.json +++ b/types/ember__template/package.json @@ -11,10 +11,6 @@ "@types/ember__template": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__template/v3/package.json b/types/ember__template/v3/package.json index 57155575be933b..5a1e5033d672c5 100644 --- a/types/ember__template/v3/package.json +++ b/types/ember__template/v3/package.json @@ -11,14 +11,6 @@ "@types/ember__template": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -26,6 +18,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__test/package.json b/types/ember__test/package.json index 9d8b1d5062fe66..9d1c8d94d2bb8a 100644 --- a/types/ember__test/package.json +++ b/types/ember__test/package.json @@ -14,10 +14,6 @@ "@types/ember__test": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__test/v3/package.json b/types/ember__test/v3/package.json index 9de5aefb590364..506b9c42dbec28 100644 --- a/types/ember__test/v3/package.json +++ b/types/ember__test/v3/package.json @@ -14,14 +14,6 @@ "@types/ember__test": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -29,6 +21,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/ember__utils/package.json b/types/ember__utils/package.json index abfec3d8961057..9a4252e0737130 100644 --- a/types/ember__utils/package.json +++ b/types/ember__utils/package.json @@ -14,10 +14,6 @@ "@types/ember__utils": "workspace:." }, "owners": [ - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" diff --git a/types/ember__utils/v3/package.json b/types/ember__utils/v3/package.json index 812c042ef9a012..da763e191c8415 100644 --- a/types/ember__utils/v3/package.json +++ b/types/ember__utils/v3/package.json @@ -11,14 +11,6 @@ "@types/ember__utils": "workspace:." }, "owners": [ - { - "name": "Mike North", - "githubUsername": "mike-north" - }, - { - "name": "Chris Krycho", - "githubUsername": "chriskrycho" - }, { "name": "Krystan HuffMenne", "githubUsername": "gitKrystan" @@ -26,6 +18,10 @@ { "name": "James C. Davis", "githubUsername": "jamescdavis" + }, + { + "name": "Peter Wagenet", + "githubUsername": "wagenet" } ] } diff --git a/types/emscripten/.eslintrc.json b/types/emscripten/.eslintrc.json index b3141b3e2fe6e7..fbde7d1bc5a75b 100644 --- a/types/emscripten/.eslintrc.json +++ b/types/emscripten/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/no-empty-interface": "off" } } diff --git a/types/engine-check/.eslintrc.json b/types/engine-check/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/engine-check/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/es6-weak-map/.eslintrc.json b/types/es6-weak-map/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/es6-weak-map/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/espruino/.eslintrc.json b/types/espruino/.eslintrc.json index a0d818c65177c0..2421d37ce83cbd 100644 --- a/types/espruino/.eslintrc.json +++ b/types/espruino/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/naming-convention": "off", "@typescript-eslint/no-misused-new": "off", "@typescript-eslint/ban-types": "off" diff --git a/types/estree-jsx/.eslintrc.json b/types/estree-jsx/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/estree-jsx/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/estree-jsx/package.json b/types/estree-jsx/package.json index 0071d805906167..183b7747e0ace1 100644 --- a/types/estree-jsx/package.json +++ b/types/estree-jsx/package.json @@ -2,7 +2,7 @@ "private": true, "name": "@types/estree-jsx", "version": "1.0.9999", - "nonNpm": true, + "nonNpm": "conflict", "nonNpmDescription": "estree-jsx", "projects": [ "https://github.com/facebook/jsx" diff --git a/types/estree/.eslintrc.json b/types/estree/.eslintrc.json index 0075181ee4f2f3..028c514e7f92e5 100644 --- a/types/estree/.eslintrc.json +++ b/types/estree/.eslintrc.json @@ -1,5 +1,6 @@ { "rules": { + "@definitelytyped/no-type-only-packages": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/no-empty-interface": "off" } diff --git a/types/eventsource/.eslintrc.json b/types/eventsource/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/eventsource/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/express-serve-static-core/.eslintrc.json b/types/express-serve-static-core/.eslintrc.json index fbf7446cec0677..524e5d557a841b 100644 --- a/types/express-serve-static-core/.eslintrc.json +++ b/types/express-serve-static-core/.eslintrc.json @@ -1,7 +1,7 @@ { "rules": { - "@definitelytyped/npm-naming": "off", - "@typescript-eslint/no-empty-interface": "off", - "@typescript-eslint/naming-convention": "off" + "@definitelytyped/no-type-only-packages": "off", + "@typescript-eslint/naming-convention": "off", + "@typescript-eslint/no-empty-interface": "off" } } diff --git a/types/express-serve-static-core/express-serve-static-core-tests.ts b/types/express-serve-static-core/express-serve-static-core-tests.ts index 1956f8a6389b3f..21f6bb8ef89063 100644 --- a/types/express-serve-static-core/express-serve-static-core-tests.ts +++ b/types/express-serve-static-core/express-serve-static-core-tests.ts @@ -223,6 +223,25 @@ app.route("/").post((req, res) => { }); // Cookies +app.get("setCookie", (req, res) => { + res.cookie("key", "value", { + maxAge: 86400, + signed: true, + httpOnly: false, + secure: true, + domain: "example.com", + sameSite: "lax", + priority: "high", + }); + res.cookie("key", "value", { + // @ts-expect-error + priority: "random", + }); + res.cookie("key", "value", { + // @ts-expect-error + sameSite: "whatever", + }); +}); app.get("/clearcookie", (req, res) => { res.clearCookie("auth"); // $ExpectType Response, number> res.clearCookie("auth", { diff --git a/types/express-serve-static-core/index.d.ts b/types/express-serve-static-core/index.d.ts index 6685b8e9913152..5cc36f5760c806 100644 --- a/types/express-serve-static-core/index.d.ts +++ b/types/express-serve-static-core/index.d.ts @@ -327,16 +327,37 @@ export interface IRoute { export interface Router extends IRouter {} +/** + * Options passed down into `res.cookie` + * @link https://expressjs.com/en/api.html#res.cookie + */ export interface CookieOptions { + /** Convenient option for setting the expiry time relative to the current time in **milliseconds**. */ maxAge?: number | undefined; + /** Indicates if the cookie should be signed. */ signed?: boolean | undefined; + /** Expiry date of the cookie in GMT. If not specified or set to 0, creates a session cookie. */ expires?: Date | undefined; + /** Flags the cookie to be accessible only by the web server. */ httpOnly?: boolean | undefined; + /** Path for the cookie. Defaults to “/”. */ path?: string | undefined; + /** Domain name for the cookie. Defaults to the domain name of the app. */ domain?: string | undefined; + /** Marks the cookie to be used with HTTPS only. */ secure?: boolean | undefined; + /** A synchronous function used for cookie value encoding. Defaults to encodeURIComponent. */ encode?: ((val: string) => string) | undefined; + /** + * Value of the “SameSite” Set-Cookie attribute. + * @link https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00#section-4.1.1. + */ sameSite?: boolean | "lax" | "strict" | "none" | undefined; + /** + * Value of the “Priority” Set-Cookie attribute. + * @link https://datatracker.ietf.org/doc/html/draft-west-cookie-priority-00#section-4.3 + */ + priority?: "low" | "medium" | "high"; } export interface ByteRange { @@ -423,7 +444,7 @@ export interface Request< * // Accept: text/*, application/json * req.accepts('image/png'); * req.accepts('png'); - * // => undefined + * // => false * * // Accept: text/*;q=.5, application/json * req.accepts(['html', 'json']); diff --git a/types/express-wechat-access/.eslintrc.json b/types/express-wechat-access/.eslintrc.json index d9f431a28057fe..0ccf472f671db3 100644 --- a/types/express-wechat-access/.eslintrc.json +++ b/types/express-wechat-access/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/extjs/.eslintrc.json b/types/extjs/.eslintrc.json index d15a11db6c67a6..6052192c14f4e7 100644 --- a/types/extjs/.eslintrc.json +++ b/types/extjs/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/naming-convention": "off" diff --git a/types/eyevinn-iaf/.eslintrc.json b/types/eyevinn-iaf/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/eyevinn-iaf/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/facebook-instant-games/.eslintrc.json b/types/facebook-instant-games/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/facebook-instant-games/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/facebook-js-sdk/.eslintrc.json b/types/facebook-js-sdk/.eslintrc.json index b9029d4f2d6fe5..0ef1734492af0c 100644 --- a/types/facebook-js-sdk/.eslintrc.json +++ b/types/facebook-js-sdk/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/no-unnecessary-generics": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/no-empty-interface": "off" } } diff --git a/types/facebook-pixel/.eslintrc.json b/types/facebook-pixel/.eslintrc.json index 4559bd4a8869d4..5882680ad57e8a 100644 --- a/types/facebook-pixel/.eslintrc.json +++ b/types/facebook-pixel/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/prefer-namespace": "off" } } diff --git a/types/facebook-pixel/package.json b/types/facebook-pixel/package.json index cf73379f85fb96..d61f5fcd67378a 100644 --- a/types/facebook-pixel/package.json +++ b/types/facebook-pixel/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/facebook-pixel", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "facebook-pixel", "projects": [ "https://developers.facebook.com/docs/ads-for-websites/tag-api/" ], diff --git a/types/fancybox/package.json b/types/fancybox/package.json index 5cf023b2f0f319..a6d81b5d2feddf 100644 --- a/types/fancybox/package.json +++ b/types/fancybox/package.json @@ -2,7 +2,7 @@ "private": true, "name": "@types/fancybox", "version": "3.5.9999", - "nonNpm": true, + "nonNpm": "conflict", "nonNpmDescription": "fancyBox", "projects": [ "https://github.com/fancyapps/fancyBox" diff --git a/types/farbtastic/.eslintrc.json b/types/farbtastic/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/farbtastic/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/farbtastic/package.json b/types/farbtastic/package.json index cec5cbcdbd8722..4f5911b3cad30b 100644 --- a/types/farbtastic/package.json +++ b/types/farbtastic/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/farbtastic", "version": "2.0.9999", + "nonNpm": true, + "nonNpmDescription": "farbtastic", "projects": [ "https://github.com/mattfarina/farbtastic" ], diff --git a/types/featherlight/.eslintrc.json b/types/featherlight/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/featherlight/.eslintrc.json +++ b/types/featherlight/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/feflow__cli/.eslintrc.json b/types/feflow__cli/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/feflow__cli/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/ffi/.eslintrc.json b/types/ffi/.eslintrc.json index d9f431a28057fe..0ccf472f671db3 100644 --- a/types/ffi/.eslintrc.json +++ b/types/ffi/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/ffmpeg/.eslintrc.json b/types/ffmpeg/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/ffmpeg/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/fhir/.eslintrc.json b/types/fhir/.eslintrc.json index 3df3fe1814c270..4d648c6ccfc2a2 100644 --- a/types/fhir/.eslintrc.json +++ b/types/fhir/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/prefer-namespace": "off", "@typescript-eslint/no-empty-interface": "off" } diff --git a/types/fhir/package.json b/types/fhir/package.json index 53fe5778f249bf..bad25c499b4366 100644 --- a/types/fhir/package.json +++ b/types/fhir/package.json @@ -2,7 +2,7 @@ "private": true, "name": "@types/fhir", "version": "0.0.9999", - "nonNpm": true, + "nonNpm": "conflict", "nonNpmDescription": "FHIR", "projects": [ "http://hl7.org/fhir/index.html" diff --git a/types/fibjs/.eslintrc.json b/types/fibjs/.eslintrc.json index 4361c7400575d5..d8095d3d6fc218 100644 --- a/types/fibjs/.eslintrc.json +++ b/types/fibjs/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/strict-export-declare-modifiers": "off", "@definitelytyped/no-single-declare-module": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/prefer-namespace": "off" } diff --git a/types/figma/.eslintrc.json b/types/figma/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/figma/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/filewriter/.eslintrc.json b/types/filewriter/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/filewriter/.eslintrc.json +++ b/types/filewriter/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/filewriter/package.json b/types/filewriter/package.json index 2ba1f9090dd48b..f919f253d123d0 100644 --- a/types/filewriter/package.json +++ b/types/filewriter/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/filewriter", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "filewriter", "projects": [ "http://www.w3.org/TR/file-writer-api/" ], diff --git a/types/finch/.eslintrc.json b/types/finch/.eslintrc.json index 2b105821edf1f6..39233e1b130c38 100644 --- a/types/finch/.eslintrc.json +++ b/types/finch/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/no-declare-current-package": "off", - "@definitelytyped/no-single-declare-module": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/no-single-declare-module": "off" } } diff --git a/types/flight/.eslintrc.json b/types/flight/.eslintrc.json index d0441fac2a22df..12dc0523ec6ea8 100644 --- a/types/flight/.eslintrc.json +++ b/types/flight/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/flowdoc/.eslintrc.json b/types/flowdoc/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/flowdoc/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/flowjs/.eslintrc.json b/types/flowjs/.eslintrc.json index 01ad6d65a9c9e6..79ee5b5a1a5836 100644 --- a/types/flowjs/.eslintrc.json +++ b/types/flowjs/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/no-single-element-tuple-type": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/no-single-element-tuple-type": "off" } } diff --git a/types/fm-websync/.eslintrc.json b/types/fm-websync/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/fm-websync/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/fontoxml/.eslintrc.json b/types/fontoxml/.eslintrc.json index 2322ccc9f0e158..045b5fa4a57b72 100644 --- a/types/fontoxml/.eslintrc.json +++ b/types/fontoxml/.eslintrc.json @@ -1,8 +1,8 @@ { "rules": { "@definitelytyped/dt-header": "off", + "@definitelytyped/no-type-only-packages": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/naming-convention": "off" } } diff --git a/types/fontoxml/package.json b/types/fontoxml/package.json index 31379425c822aa..8c371b3ebc270e 100644 --- a/types/fontoxml/package.json +++ b/types/fontoxml/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/fontoxml", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "fontoxml", "projects": [ "http://www.fontoxml.com/" ], diff --git a/types/foundation/.eslintrc.json b/types/foundation/.eslintrc.json index 1c7489360e7ede..5bf67bfd516c0d 100644 --- a/types/foundation/.eslintrc.json +++ b/types/foundation/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/freedom/.eslintrc.json b/types/freedom/.eslintrc.json index a25a4ebc5a8858..2a0a7d79568a77 100644 --- a/types/freedom/.eslintrc.json +++ b/types/freedom/.eslintrc.json @@ -1,6 +1,7 @@ { "rules": { "@definitelytyped/dt-header": "off", + "@definitelytyped/no-type-only-packages": "off", "@typescript-eslint/adjacent-overload-signatures": "off", "@typescript-eslint/ban-types": "off" } diff --git a/types/friendly-errors-webpack-plugin/.eslintrc.json b/types/friendly-errors-webpack-plugin/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/friendly-errors-webpack-plugin/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gae.channel.api/.eslintrc.json b/types/gae.channel.api/.eslintrc.json index d0441fac2a22df..12dc0523ec6ea8 100644 --- a/types/gae.channel.api/.eslintrc.json +++ b/types/gae.channel.api/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/gae.channel.api/package.json b/types/gae.channel.api/package.json index 7bf90a4ccd62a8..732fdf2b2dcf65 100644 --- a/types/gae.channel.api/package.json +++ b/types/gae.channel.api/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gae.channel.api", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "gae.channel.api", "projects": [ "https://developers.google.com/appengine/docs/java/channel/javascript" ], diff --git a/types/gamedig/.eslintrc.json b/types/gamedig/.eslintrc.json deleted file mode 100644 index 79ee5b5a1a5836..00000000000000 --- a/types/gamedig/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/no-single-element-tuple-type": "off" - } -} diff --git a/types/gamedig/gamedig-tests.ts b/types/gamedig/gamedig-tests.ts index b3788c696ba272..9dd9acf6900191 100644 --- a/types/gamedig/gamedig-tests.ts +++ b/types/gamedig/gamedig-tests.ts @@ -1,81 +1,60 @@ -import Gamedig = require("gamedig"); -import GameResolver = require("gamedig/lib/GameResolver"); +import gamedig = require("gamedig"); // direct usage from import -Gamedig.query( +gamedig.GameDig.query( { type: "tf2", host: "127.0.0.1", port: 27015, - maxAttempts: 1, + maxRetries: 1, socketTimeout: 2000, attemptTimeout: 10000, givenPortOnly: true, + portCache: true, ipFamily: 0, debug: false, requestRules: true, + requestRulesRequired: true, + requestPlayersRequired: true, }, - (error, state) => { + (error: any, state: gamedig.QueryResult) => { if (error) throw error; - const { name, map, password, maxplayers, players, bots, connect, ping } = state; + const { name, map, password, maxplayers, players, bots, connect, ping, queryPort, numplayers } = state; }, ); // usage from instance -const gamedig = new Gamedig(); -gamedig.query( +const gd = new gamedig.GameDig(); +gd.query( { type: "tf2", host: "127.0.0.1", port: 27015, - maxAttempts: 1, + maxRetries: 1, socketTimeout: 2000, attemptTimeout: 10000, givenPortOnly: true, + portCache: true, ipFamily: 0, debug: false, requestRules: true, + requestRulesRequired: true, + requestPlayersRequired: true, }, - (error, state) => { + (error: any, state: gamedig.QueryResult) => { if (error) throw error; - const { name, map, password, maxplayers, players, bots, connect, ping } = state; + const { name, map, password, maxplayers, players, bots, connect, ping, queryPort, numplayers } = state; }, ); -const gameResolver = new GameResolver(); +// get the list of games +for (const type in gamedig.games) { + const name = `${gamedig.games[type].name} (${gamedig.games[type].release_year})`; +} -const gamesByKey: Map< - Gamedig.Type, - { - keys: string[]; - pretty: string; - options: { - protocol: string; - port?: number; - port_query_offset?: number; - port_query?: number; - }; - extra: { - doc_notes?: string; - }; - } -> = gameResolver.gamesByKey; -const games: [ - { - keys: string[]; - pretty: string; - options: { - protocol: string; - port?: number; - port_query_offset?: number; - port_query?: number; - }; - extra: { - doc_notes?: string; - }; - }, -] = gameResolver.games; -gameResolver.lookup("tf2"); -gameResolver.printReadme(); +// get the list of protocols +for (const type in gamedig.protocols) { + const name = `protocol-${type}`; +} diff --git a/types/gamedig/index.d.ts b/types/gamedig/index.d.ts index 2e22134fe62c3c..e2f67053d97f36 100644 --- a/types/gamedig/index.d.ts +++ b/types/gamedig/index.d.ts @@ -1,325 +1,88 @@ -declare class Gamedig { - constructor(runnerOpts?: { listenUdpPort?: number | undefined }); - query(options: Gamedig.QueryOptions): Promise; - query(options: Gamedig.QueryOptions, callback: (error: Error, state: Gamedig.QueryResult) => void): void; +export class GameDig { + constructor(runnerOpts?: { listenUdpPort?: number }); + query(options: QueryOptions): Promise; + query(options: QueryOptions, callback: (error: Error, state: QueryResult) => void): void; - static query(options: Gamedig.QueryOptions): Promise; - static query(options: Gamedig.QueryOptions, callback: (error: Error, state: Gamedig.QueryResult) => void): void; - static getInstance(): Gamedig; + static query(options: QueryOptions): Promise; + static query(options: QueryOptions, callback: (error: Error, state: QueryResult) => void): void; + static getInstance(): GameDig; } -declare namespace Gamedig { - type Type = - | "7d2d" - | "ageofchivalry" - | "aoe2" - | "alienarena" - | "alienswarm" - | "arkse" - | "assettocorsa" - | "atlas" - | "avp2" - | "avp2010" - | "americasarmy" - | "americasarmy2" - | "americasarmy3" - | "americasarmypg" - | "arcasimracing" - | "arma" - | "arma2" - | "arma2oa" - | "armacwa" - | "armar" - | "arma3" - | "armagetron" - | "baldursgate" - | "barotrauma" - | "bat1944" - | "bf1942" - | "bfv" - | "bf2" - | "bf2142" - | "bfbc2" - | "bf3" - | "bf4" - | "bfh" - | "breach" - | "breed" - | "brink" - | "buildandshoot" - | "cod" - | "coduo" - | "cod2" - | "cod3" - | "cod4" - | "codwaw" - | "codmw2" - | "codmw3" - | "callofjuarez" - | "chaser" - | "chrome" - | "codenameeagle" - | "commandos3" - | "cacrenegade" - | "conanexiles" - | "contagion" - | "contactjack" - | "cs15" - | "cs16" - | "cs2d" - | "cscz" - | "css" - | "csgo" - | "crossracing" - | "crysis" - | "crysiswars" - | "crysis2" - | "daikatana" - | "dmomam" - | "darkesthour" - | "daysofwar" - | "dayz" - | "dayzmod" - | "deadlydozenpt" - | "dh2005" - | "descent3" - | "deusex" - | "devastation" - | "dinodday" - | "dirttrackracing2" - | "discord" - | "dnl" - | "dod" - | "dods" - | "doi" - | "doom3" - | "dota2" - | "drakan" - | "empyrion" - | "etqw" - | "fear" - | "f12002" - | "f1c9902" - | "farcry" - | "farcry2" - | "fortressforever" - | "operationflashpoint" - | "flashpoint" - | "flashpointresistance" - | "ffow" - | "fivem" - | "forrest" - | "garrysmod" - | "graw" - | "graw2" - | "giantscitizenkabuto" - | "globaloperations" - | "geneshift" - | "mutantfactions" - | "ges" - | "gore" - | "groundbreach" - | "gunmanchronicles" - | "hldm" - | "hldms" - | "hl2dm" - | "halo" - | "halo2" - | "heretic2" - | "hexen2" - | "hidden" - | "hll" - | "had2" - | "homefront" - | "homeworld2" - | "hurtworld" - | "igi2" - | "il2" - | "insurgency" - | "insurgencysandstorm" - | "ironstorm" - | "jamesbondnightfire" - | "jc2mp" - | "jc3mp" - | "killingfloor" - | "killingfloor2" - | "kingpin" - | "kisspc" - | "kspdmp" - | "kzmod" - | "left4dead" - | "left4dead2" - | "m2mp" - | "m2o" - | "medievalengineers" - | "mohaa" - | "mohsh" - | "mohbt" - | "mohpa" - | "mohab" - | "moh2010" - | "mohwf" - | "minecraft" - | "minecraftping" - | "minecraftpe" - | "minecraftbe" - | "mnc" - | "mordhau" - | "mtavc" - | "mtasa" - | "mumble" - | "mumbleping" - | "nascarthunder2004" - | "netpanzer" - | "nmrih" - | "ns" - | "ns2" - | "nfshp2" - | "nab" - | "nwn" - | "nwn2" - | "nexuiz" - | "nitrofamily" - | "nolf" - | "nolf2" - | "nucleardawn" - | "openarena" - | "openttd" - | "painkiller" - | "pixark" - | "ps" - | "postal2" - | "prey" - | "primalcarnage" - | "prbf2" - | "przomboid" - | "quake1" - | "quake2" - | "quake3" - | "quake4" - | "quakelive" - | "ragdollkungfu" - | "r6" - | "r6roguespear" - | "r6ravenshield" - | "rallisportchallenge" - | "rallymasters" - | "redorchestra" - | "redorchestraost" - | "redorchestra2" - | "redline" - | "rtcw" - | "rfactor" - | "ricochet" - | "riseofnations" - | "rs2" - | "rune" - | "rust" - | "samp" - | "savage2" - | "spaceengineers" - | "ss" - | "ss2" - | "shatteredhorizon" - | "ship" - | "shogo" - | "shootmania" - | "sin" - | "sinep" - | "soldat" - | "sof" - | "sof2" - | "stalker" - | "stbc" - | "stvef" - | "stvef2" - | "squad" - | "swbf" - | "swbf2" - | "swjk" - | "swjk2" - | "swrc" - | "starbound" - | "starmade" - | "starsiege" - | "suicidesurvival" - | "swat4" - | "svencoop" - | "synergy" - | "tacticalops" - | "takeonhelicopters" - | "teamfactor" - | "tfc" - | "tf2" - | "teamspeak2" - | "teamspeak3" - | "terminus" - | "terraria" - | "tshock" - | "thps3" - | "thps4" - | "thu2" - | "towerunite" - | "trackmania2" - | "trackmaniaforever" - | "tremulous" - | "tribes1" - | "tribesvengeance" - | "tron20" - | "turok2" - | "universalcombat" - | "unreal" - | "unturned" - | "ut" - | "ut2003" - | "ut2004" - | "ut3" - | "urbanterror" - | "v8supercar" - | "valheim" - | "vcmp" - | "ventrilo" - | "vietcong" - | "vietcong2" - | "warsow" - | "wheeloftime" - | "wolfenstein2009" - | "wolfensteinet" - | "xpandrally" - | "zombiemaster" - | "zps"; - interface Player { - name?: string | undefined; - ping?: number | undefined; - score?: number | undefined; - team?: string | undefined; - address?: string | undefined; - raw?: object | undefined; - } +export interface games { + [key: string]: { + name: string; + release_year: number; + options: { + protocol: string; + port?: number; + port_query?: number; + port_query_offset?: number | number[]; + }; + extra?: { + doc_notes?: string; + old_id?: string; + }; + }; +} - interface QueryOptions { - type: Type; - host: string; - port?: number | undefined; - maxAttempts?: number | undefined; - socketTimeout?: number | undefined; - attemptTimeout?: number | undefined; - givenPortOnly?: boolean | undefined; - ipFamily?: 0 | 4 | 6 | undefined; - debug?: boolean | undefined; - requestRules?: boolean | undefined; - } +export interface protocols { + [key: string]: object; +} - interface QueryResult { - name: string; - map: string; - password: boolean; - maxplayers: number; - players: Player[]; - bots: Player[]; - connect: string; - ping: number; - raw?: object | undefined; - } +export interface Player { + name?: string; + raw?: object; + ping?: number; + score?: number; + team?: string; + address?: string; +} + +export interface QueryOptions { + type: string; + host: string; + address?: string; + port?: number; + maxRetries?: number; + socketTimeout?: number; + attemptTimeout?: number; + givenPortOnly?: boolean; + ipFamily?: 0 | 4 | 6; + debug?: boolean; + portCache?: boolean; + stripColors?: boolean; + noBreadthOrder?: boolean; + skipOldIDs?: boolean; + // Valve + requestRules?: boolean; + requestRulesRequired?: boolean; + requestPlayersRequired?: boolean; + // Discord + guildId?: string; + // Nadeo + login?: string; + password?: string; + // Teamspeak 3 + teamspeakQueryPort?: number; + // Terraria + token?: string; +} + +export interface QueryResult { + name: string; + map: string; + password: boolean; + numplayers: number; + maxplayers: number; + players: Player[]; + bots: Player[]; + connect: string; + ping: number; + queryPort: number; + raw?: object; } -export = Gamedig; + +export const games: games; +export const protocols: protocols; + +export as namespace gamedig; diff --git a/types/gamedig/lib/GameResolver.d.ts b/types/gamedig/lib/GameResolver.d.ts deleted file mode 100644 index 2fc89b06f0dbfd..00000000000000 --- a/types/gamedig/lib/GameResolver.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Type } from "../index"; - -declare class GameResolver { - constructor(); - gamesByKey: Map< - Type, - { - keys: string[]; - pretty: string; - options: { - protocol: string; - port?: number; - port_query_offset?: number; - port_query?: number; - }; - extra: { - doc_notes?: string; - }; - } - >; - games: [ - { - keys: string[]; - pretty: string; - options: { - protocol: string; - port?: number; - port_query_offset?: number; - port_query?: number; - }; - extra: { - doc_notes?: string; - }; - }, - ]; - lookup(type: Type): { - protocol: string; - port?: number; - port_query_offset?: number; - port_query?: number; - }; - printReadme(): void; -} - -export = GameResolver; diff --git a/types/gamedig/package.json b/types/gamedig/package.json index efea9645cc86d4..e02f7fd4bc9f54 100644 --- a/types/gamedig/package.json +++ b/types/gamedig/package.json @@ -1,9 +1,10 @@ { "private": true, "name": "@types/gamedig", - "version": "4.0.9999", + "version": "5.0.9999", + "type": "module", "projects": [ - "https://github.com/sonicsnes/node-gamedig" + "https://github.com/gamedig/node-gamedig" ], "devDependencies": { "@types/gamedig": "workspace:." diff --git a/types/gamequery/.eslintrc.json b/types/gamequery/.eslintrc.json index 26f043ddd6165f..1c9d5a0a19e541 100644 --- a/types/gamequery/.eslintrc.json +++ b/types/gamequery/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/no-misused-new": "off" } } diff --git a/types/gamequery/package.json b/types/gamequery/package.json index 3dc23df157b51a..14013a95e52867 100644 --- a/types/gamequery/package.json +++ b/types/gamequery/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gamequery", "version": "0.7.9999", + "nonNpm": true, + "nonNpmDescription": "gamequery", "projects": [ "http://gamequeryjs.com/" ], diff --git a/types/gandi-livedns/.eslintrc.json b/types/gandi-livedns/.eslintrc.json index b7c95ed6b821e0..3ab4ea590b1bc1 100644 --- a/types/gandi-livedns/.eslintrc.json +++ b/types/gandi-livedns/.eslintrc.json @@ -1,6 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/no-type-only-packages": "off" } } diff --git a/types/gandi-livedns/package.json b/types/gandi-livedns/package.json index 4bb5e006535f17..bacf2f7d4f0a30 100644 --- a/types/gandi-livedns/package.json +++ b/types/gandi-livedns/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gandi-livedns", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "gandi-livedns", "projects": [ "http://doc.livedns.gandi.net/" ], diff --git a/types/gapi.analytics/.eslintrc.json b/types/gapi.analytics/.eslintrc.json index 8f0f45319cfc98..808d7efa936b6d 100644 --- a/types/gapi.analytics/.eslintrc.json +++ b/types/gapi.analytics/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/no-empty-interface": "off" } } diff --git a/types/gapi.analytics/package.json b/types/gapi.analytics/package.json index a2f36594d18a71..64c91bd0dffb61 100644 --- a/types/gapi.analytics/package.json +++ b/types/gapi.analytics/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gapi.analytics", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "gapi.analytics", "projects": [ "https://developers.google.com/analytics/devguides/reporting/core/v4/" ], diff --git a/types/gapi.calendar/.eslintrc.json b/types/gapi.calendar/.eslintrc.json index b92c373804faa0..17972908a92cbb 100644 --- a/types/gapi.calendar/.eslintrc.json +++ b/types/gapi.calendar/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/no-empty-interface": "off" } } diff --git a/types/gapi.calendar/package.json b/types/gapi.calendar/package.json index 0b54efe22b5783..e6bf0f6172ae52 100644 --- a/types/gapi.calendar/package.json +++ b/types/gapi.calendar/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gapi.calendar", "version": "3.0.9999", + "nonNpm": true, + "nonNpmDescription": "gapi.calendar", "projects": [ "https://developers.google.com/google-apps/calendar/" ], diff --git a/types/gapi.client.abusiveexperiencereport-v1/.eslintrc.json b/types/gapi.client.abusiveexperiencereport-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.abusiveexperiencereport-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.acceleratedmobilepageurl-v1/.eslintrc.json b/types/gapi.client.acceleratedmobilepageurl-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.acceleratedmobilepageurl-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.accessapproval-v1/.eslintrc.json b/types/gapi.client.accessapproval-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.accessapproval-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.accesscontextmanager-v1/.eslintrc.json b/types/gapi.client.accesscontextmanager-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.accesscontextmanager-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.accesscontextmanager-v1beta/.eslintrc.json b/types/gapi.client.accesscontextmanager-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.accesscontextmanager-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.acmedns-v1/.eslintrc.json b/types/gapi.client.acmedns-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.acmedns-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.adexchangebuyer2-v2beta1/.eslintrc.json b/types/gapi.client.adexchangebuyer2-v2beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.adexchangebuyer2-v2beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.adexperiencereport-v1/.eslintrc.json b/types/gapi.client.adexperiencereport-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.adexperiencereport-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.admin-datatransfer_v1/.eslintrc.json b/types/gapi.client.admin-datatransfer_v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.admin-datatransfer_v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.admin-directory_v1/.eslintrc.json b/types/gapi.client.admin-directory_v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.admin-directory_v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.admin-reports_v1/.eslintrc.json b/types/gapi.client.admin-reports_v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.admin-reports_v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.admob-v1/.eslintrc.json b/types/gapi.client.admob-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.admob-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.admob-v1beta/.eslintrc.json b/types/gapi.client.admob-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.admob-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.adsense-v2/.eslintrc.json b/types/gapi.client.adsense-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.adsense-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.adsensehost-v4.1/.eslintrc.json b/types/gapi.client.adsensehost-v4.1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.adsensehost-v4.1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.advisorynotifications-v1/.eslintrc.json b/types/gapi.client.advisorynotifications-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.advisorynotifications-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.alertcenter-v1beta1/.eslintrc.json b/types/gapi.client.alertcenter-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.alertcenter-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.analytics-v3/.eslintrc.json b/types/gapi.client.analytics-v3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.analytics-v3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.analyticsadmin-v1alpha/.eslintrc.json b/types/gapi.client.analyticsadmin-v1alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.analyticsadmin-v1alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.analyticsadmin-v1beta/.eslintrc.json b/types/gapi.client.analyticsadmin-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.analyticsadmin-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.analyticsdata-v1beta/.eslintrc.json b/types/gapi.client.analyticsdata-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.analyticsdata-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.analyticshub-v1/.eslintrc.json b/types/gapi.client.analyticshub-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.analyticshub-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.analyticshub-v1beta1/.eslintrc.json b/types/gapi.client.analyticshub-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.analyticshub-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.analyticsreporting-v4/.eslintrc.json b/types/gapi.client.analyticsreporting-v4/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.analyticsreporting-v4/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.androiddeviceprovisioning-v1/.eslintrc.json b/types/gapi.client.androiddeviceprovisioning-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.androiddeviceprovisioning-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.androidenterprise-v1/.eslintrc.json b/types/gapi.client.androidenterprise-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.androidenterprise-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.androidmanagement-v1/.eslintrc.json b/types/gapi.client.androidmanagement-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.androidmanagement-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.androidpublisher-v3/.eslintrc.json b/types/gapi.client.androidpublisher-v3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.androidpublisher-v3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.apigateway-v1/.eslintrc.json b/types/gapi.client.apigateway-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.apigateway-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.apigateway-v1beta/.eslintrc.json b/types/gapi.client.apigateway-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.apigateway-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.apigeeregistry-v1/.eslintrc.json b/types/gapi.client.apigeeregistry-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.apigeeregistry-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.apikeys-v2/.eslintrc.json b/types/gapi.client.apikeys-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.apikeys-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.appengine-v1/.eslintrc.json b/types/gapi.client.appengine-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.appengine-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.appengine-v1alpha/.eslintrc.json b/types/gapi.client.appengine-v1alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.appengine-v1alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.appengine-v1beta/.eslintrc.json b/types/gapi.client.appengine-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.appengine-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.area120tables-v1alpha1/.eslintrc.json b/types/gapi.client.area120tables-v1alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.area120tables-v1alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.artifactregistry-v1/.eslintrc.json b/types/gapi.client.artifactregistry-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.artifactregistry-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.artifactregistry-v1beta1/.eslintrc.json b/types/gapi.client.artifactregistry-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.artifactregistry-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.artifactregistry-v1beta2/.eslintrc.json b/types/gapi.client.artifactregistry-v1beta2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.artifactregistry-v1beta2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.assuredworkloads-v1/.eslintrc.json b/types/gapi.client.assuredworkloads-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.assuredworkloads-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.assuredworkloads-v1beta1/.eslintrc.json b/types/gapi.client.assuredworkloads-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.assuredworkloads-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.authorizedbuyersmarketplace-v1/.eslintrc.json b/types/gapi.client.authorizedbuyersmarketplace-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.authorizedbuyersmarketplace-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.baremetalsolution-v2/.eslintrc.json b/types/gapi.client.baremetalsolution-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.baremetalsolution-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.batch-v1/.eslintrc.json b/types/gapi.client.batch-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.batch-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.beyondcorp-v1/.eslintrc.json b/types/gapi.client.beyondcorp-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.beyondcorp-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.beyondcorp-v1alpha/.eslintrc.json b/types/gapi.client.beyondcorp-v1alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.beyondcorp-v1alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.bigquery-v2/.eslintrc.json b/types/gapi.client.bigquery-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.bigquery-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.bigqueryconnection-v1beta1/.eslintrc.json b/types/gapi.client.bigqueryconnection-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.bigqueryconnection-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.bigquerydatatransfer-v1/.eslintrc.json b/types/gapi.client.bigquerydatatransfer-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.bigquerydatatransfer-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.bigqueryreservation-v1/.eslintrc.json b/types/gapi.client.bigqueryreservation-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.bigqueryreservation-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.bigtableadmin-v2/.eslintrc.json b/types/gapi.client.bigtableadmin-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.bigtableadmin-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.billingbudgets-v1/.eslintrc.json b/types/gapi.client.billingbudgets-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.billingbudgets-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.billingbudgets-v1beta1/.eslintrc.json b/types/gapi.client.billingbudgets-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.billingbudgets-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.binaryauthorization-v1/.eslintrc.json b/types/gapi.client.binaryauthorization-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.binaryauthorization-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.binaryauthorization-v1beta1/.eslintrc.json b/types/gapi.client.binaryauthorization-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.binaryauthorization-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.blogger-v2/.eslintrc.json b/types/gapi.client.blogger-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.blogger-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.blogger-v3/.eslintrc.json b/types/gapi.client.blogger-v3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.blogger-v3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.books-v1/.eslintrc.json b/types/gapi.client.books-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.books-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.businessprofileperformance-v1/.eslintrc.json b/types/gapi.client.businessprofileperformance-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.businessprofileperformance-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.calendar-v3/.eslintrc.json b/types/gapi.client.calendar-v3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.calendar-v3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.certificatemanager-v1/.eslintrc.json b/types/gapi.client.certificatemanager-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.certificatemanager-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.chat-v1/.eslintrc.json b/types/gapi.client.chat-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.chat-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.chromemanagement-v1/.eslintrc.json b/types/gapi.client.chromemanagement-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.chromemanagement-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.chromepolicy-v1/.eslintrc.json b/types/gapi.client.chromepolicy-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.chromepolicy-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.chromeuxreport-v1/.eslintrc.json b/types/gapi.client.chromeuxreport-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.chromeuxreport-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.civicinfo-v2/.eslintrc.json b/types/gapi.client.civicinfo-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.civicinfo-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.classroom-v1/.eslintrc.json b/types/gapi.client.classroom-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.classroom-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudasset-v1/.eslintrc.json b/types/gapi.client.cloudasset-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudasset-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudasset-v1beta1/.eslintrc.json b/types/gapi.client.cloudasset-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudasset-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudasset-v1p1beta1/.eslintrc.json b/types/gapi.client.cloudasset-v1p1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudasset-v1p1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudasset-v1p5beta1/.eslintrc.json b/types/gapi.client.cloudasset-v1p5beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudasset-v1p5beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudasset-v1p7beta1/.eslintrc.json b/types/gapi.client.cloudasset-v1p7beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudasset-v1p7beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudbilling-v1/.eslintrc.json b/types/gapi.client.cloudbilling-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudbilling-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudbilling-v1beta/.eslintrc.json b/types/gapi.client.cloudbilling-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudbilling-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudbuild-v1/.eslintrc.json b/types/gapi.client.cloudbuild-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudbuild-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudchannel-v1/.eslintrc.json b/types/gapi.client.cloudchannel-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudchannel-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.clouddeploy-v1/.eslintrc.json b/types/gapi.client.clouddeploy-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.clouddeploy-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.clouderrorreporting-v1beta1/.eslintrc.json b/types/gapi.client.clouderrorreporting-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.clouderrorreporting-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudfunctions-v1/.eslintrc.json b/types/gapi.client.cloudfunctions-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudfunctions-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudfunctions-v2/.eslintrc.json b/types/gapi.client.cloudfunctions-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudfunctions-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudfunctions-v2alpha/.eslintrc.json b/types/gapi.client.cloudfunctions-v2alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudfunctions-v2alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudfunctions-v2beta/.eslintrc.json b/types/gapi.client.cloudfunctions-v2beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudfunctions-v2beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudidentity-v1/.eslintrc.json b/types/gapi.client.cloudidentity-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudidentity-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudidentity-v1beta1/.eslintrc.json b/types/gapi.client.cloudidentity-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudidentity-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudiot-v1/.eslintrc.json b/types/gapi.client.cloudiot-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudiot-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudkms-v1/.eslintrc.json b/types/gapi.client.cloudkms-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudkms-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudprofiler-v2/.eslintrc.json b/types/gapi.client.cloudprofiler-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudprofiler-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudresourcemanager-v1/.eslintrc.json b/types/gapi.client.cloudresourcemanager-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudresourcemanager-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudresourcemanager-v1beta1/.eslintrc.json b/types/gapi.client.cloudresourcemanager-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudresourcemanager-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudresourcemanager-v2/.eslintrc.json b/types/gapi.client.cloudresourcemanager-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudresourcemanager-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudresourcemanager-v2beta1/.eslintrc.json b/types/gapi.client.cloudresourcemanager-v2beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudresourcemanager-v2beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudresourcemanager-v3/.eslintrc.json b/types/gapi.client.cloudresourcemanager-v3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudresourcemanager-v3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudscheduler-v1/.eslintrc.json b/types/gapi.client.cloudscheduler-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudscheduler-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudscheduler-v1beta1/.eslintrc.json b/types/gapi.client.cloudscheduler-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudscheduler-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudsearch-v1/.eslintrc.json b/types/gapi.client.cloudsearch-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudsearch-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudshell-v1/.eslintrc.json b/types/gapi.client.cloudshell-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudshell-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudsupport-v2beta/.eslintrc.json b/types/gapi.client.cloudsupport-v2beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudsupport-v2beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudtasks-v2/.eslintrc.json b/types/gapi.client.cloudtasks-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudtasks-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudtasks-v2beta2/.eslintrc.json b/types/gapi.client.cloudtasks-v2beta2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudtasks-v2beta2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudtasks-v2beta3/.eslintrc.json b/types/gapi.client.cloudtasks-v2beta3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudtasks-v2beta3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudtrace-v1/.eslintrc.json b/types/gapi.client.cloudtrace-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudtrace-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudtrace-v2/.eslintrc.json b/types/gapi.client.cloudtrace-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudtrace-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.cloudtrace-v2beta1/.eslintrc.json b/types/gapi.client.cloudtrace-v2beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.cloudtrace-v2beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.composer-v1/.eslintrc.json b/types/gapi.client.composer-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.composer-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.composer-v1beta1/.eslintrc.json b/types/gapi.client.composer-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.composer-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.compute-alpha/.eslintrc.json b/types/gapi.client.compute-alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.compute-alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.compute-beta/.eslintrc.json b/types/gapi.client.compute-beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.compute-beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.compute-v1/.eslintrc.json b/types/gapi.client.compute-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.compute-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.connectors-v1/.eslintrc.json b/types/gapi.client.connectors-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.connectors-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.connectors-v2/.eslintrc.json b/types/gapi.client.connectors-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.connectors-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.contactcenteraiplatform-v1alpha1/.eslintrc.json b/types/gapi.client.contactcenteraiplatform-v1alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.contactcenteraiplatform-v1alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.contactcenterinsights-v1/.eslintrc.json b/types/gapi.client.contactcenterinsights-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.contactcenterinsights-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.container-v1/.eslintrc.json b/types/gapi.client.container-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.container-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.container-v1beta1/.eslintrc.json b/types/gapi.client.container-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.container-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.containeranalysis-v1/.eslintrc.json b/types/gapi.client.containeranalysis-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.containeranalysis-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.containeranalysis-v1alpha1/.eslintrc.json b/types/gapi.client.containeranalysis-v1alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.containeranalysis-v1alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.containeranalysis-v1beta1/.eslintrc.json b/types/gapi.client.containeranalysis-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.containeranalysis-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.content-v2.1/.eslintrc.json b/types/gapi.client.content-v2.1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.content-v2.1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.contentwarehouse-v1/.eslintrc.json b/types/gapi.client.contentwarehouse-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.contentwarehouse-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.customsearch-v1/.eslintrc.json b/types/gapi.client.customsearch-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.customsearch-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.datacatalog-v1/.eslintrc.json b/types/gapi.client.datacatalog-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.datacatalog-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.datacatalog-v1beta1/.eslintrc.json b/types/gapi.client.datacatalog-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.datacatalog-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.dataflow-v1b3/.eslintrc.json b/types/gapi.client.dataflow-v1b3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.dataflow-v1b3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.dataform-v1beta1/.eslintrc.json b/types/gapi.client.dataform-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.dataform-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.datafusion-v1/.eslintrc.json b/types/gapi.client.datafusion-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.datafusion-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.datafusion-v1beta1/.eslintrc.json b/types/gapi.client.datafusion-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.datafusion-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.datalabeling-v1beta1/.eslintrc.json b/types/gapi.client.datalabeling-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.datalabeling-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.datalineage-v1/.eslintrc.json b/types/gapi.client.datalineage-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.datalineage-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.datamigration-v1/.eslintrc.json b/types/gapi.client.datamigration-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.datamigration-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.datamigration-v1beta1/.eslintrc.json b/types/gapi.client.datamigration-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.datamigration-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.datapipelines-v1/.eslintrc.json b/types/gapi.client.datapipelines-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.datapipelines-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.dataplex-v1/.eslintrc.json b/types/gapi.client.dataplex-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.dataplex-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.dataproc-v1/.eslintrc.json b/types/gapi.client.dataproc-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.dataproc-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.datastore-v1/.eslintrc.json b/types/gapi.client.datastore-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.datastore-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.datastore-v1beta1/.eslintrc.json b/types/gapi.client.datastore-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.datastore-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.datastore-v1beta3/.eslintrc.json b/types/gapi.client.datastore-v1beta3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.datastore-v1beta3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.datastream-v1/.eslintrc.json b/types/gapi.client.datastream-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.datastream-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.datastream-v1alpha1/.eslintrc.json b/types/gapi.client.datastream-v1alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.datastream-v1alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.deploymentmanager-alpha/.eslintrc.json b/types/gapi.client.deploymentmanager-alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.deploymentmanager-alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.deploymentmanager-v2/.eslintrc.json b/types/gapi.client.deploymentmanager-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.deploymentmanager-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.deploymentmanager-v2beta/.eslintrc.json b/types/gapi.client.deploymentmanager-v2beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.deploymentmanager-v2beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.dfareporting-v3.5/.eslintrc.json b/types/gapi.client.dfareporting-v3.5/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.dfareporting-v3.5/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.dfareporting-v4/.eslintrc.json b/types/gapi.client.dfareporting-v4/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.dfareporting-v4/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.dialogflow-v2/.eslintrc.json b/types/gapi.client.dialogflow-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.dialogflow-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.dialogflow-v2beta1/.eslintrc.json b/types/gapi.client.dialogflow-v2beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.dialogflow-v2beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.dialogflow-v3/.eslintrc.json b/types/gapi.client.dialogflow-v3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.dialogflow-v3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.dialogflow-v3beta1/.eslintrc.json b/types/gapi.client.dialogflow-v3beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.dialogflow-v3beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.digitalassetlinks-v1/.eslintrc.json b/types/gapi.client.digitalassetlinks-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.digitalassetlinks-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.discovery-v1/.eslintrc.json b/types/gapi.client.discovery-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.discovery-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.discoveryengine-v1alpha/.eslintrc.json b/types/gapi.client.discoveryengine-v1alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.discoveryengine-v1alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.discoveryengine-v1beta/.eslintrc.json b/types/gapi.client.discoveryengine-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.discoveryengine-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.displayvideo-v1/.eslintrc.json b/types/gapi.client.displayvideo-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.displayvideo-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.displayvideo-v2/.eslintrc.json b/types/gapi.client.displayvideo-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.displayvideo-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.dlp-v2/.eslintrc.json b/types/gapi.client.dlp-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.dlp-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.dns-v1/.eslintrc.json b/types/gapi.client.dns-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.dns-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.dns-v1beta2/.eslintrc.json b/types/gapi.client.dns-v1beta2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.dns-v1beta2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.docs-v1/.eslintrc.json b/types/gapi.client.docs-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.docs-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.documentai-v1/.eslintrc.json b/types/gapi.client.documentai-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.documentai-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.documentai-v1beta2/.eslintrc.json b/types/gapi.client.documentai-v1beta2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.documentai-v1beta2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.documentai-v1beta3/.eslintrc.json b/types/gapi.client.documentai-v1beta3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.documentai-v1beta3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.domains-v1/.eslintrc.json b/types/gapi.client.domains-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.domains-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.domains-v1alpha2/.eslintrc.json b/types/gapi.client.domains-v1alpha2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.domains-v1alpha2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.domains-v1beta1/.eslintrc.json b/types/gapi.client.domains-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.domains-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.domainsrdap-v1/.eslintrc.json b/types/gapi.client.domainsrdap-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.domainsrdap-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.doubleclickbidmanager-v1.1/.eslintrc.json b/types/gapi.client.doubleclickbidmanager-v1.1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.doubleclickbidmanager-v1.1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.doubleclickbidmanager-v2/.eslintrc.json b/types/gapi.client.doubleclickbidmanager-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.doubleclickbidmanager-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.doubleclicksearch-v2/.eslintrc.json b/types/gapi.client.doubleclicksearch-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.doubleclicksearch-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.drive-v2/.eslintrc.json b/types/gapi.client.drive-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.drive-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.drive-v3/.eslintrc.json b/types/gapi.client.drive-v3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.drive-v3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.driveactivity-v2/.eslintrc.json b/types/gapi.client.driveactivity-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.driveactivity-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.drivelabels-v2/.eslintrc.json b/types/gapi.client.drivelabels-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.drivelabels-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.drivelabels-v2beta/.eslintrc.json b/types/gapi.client.drivelabels-v2beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.drivelabels-v2beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.essentialcontacts-v1/.eslintrc.json b/types/gapi.client.essentialcontacts-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.essentialcontacts-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.eventarc-v1/.eslintrc.json b/types/gapi.client.eventarc-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.eventarc-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.eventarc-v1beta1/.eslintrc.json b/types/gapi.client.eventarc-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.eventarc-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.factchecktools-v1alpha1/.eslintrc.json b/types/gapi.client.factchecktools-v1alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.factchecktools-v1alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.fcm-v1/.eslintrc.json b/types/gapi.client.fcm-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.fcm-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.fcmdata-v1beta1/.eslintrc.json b/types/gapi.client.fcmdata-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.fcmdata-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.file-v1/.eslintrc.json b/types/gapi.client.file-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.file-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.file-v1beta1/.eslintrc.json b/types/gapi.client.file-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.file-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firebase-v1beta1/.eslintrc.json b/types/gapi.client.firebase-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firebase-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firebaseappcheck-v1/.eslintrc.json b/types/gapi.client.firebaseappcheck-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firebaseappcheck-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firebaseappcheck-v1beta/.eslintrc.json b/types/gapi.client.firebaseappcheck-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firebaseappcheck-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firebaseappdistribution-v1/.eslintrc.json b/types/gapi.client.firebaseappdistribution-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firebaseappdistribution-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firebasedatabase-v1beta/.eslintrc.json b/types/gapi.client.firebasedatabase-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firebasedatabase-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firebasedynamiclinks-v1/.eslintrc.json b/types/gapi.client.firebasedynamiclinks-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firebasedynamiclinks-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firebasehosting-v1/.eslintrc.json b/types/gapi.client.firebasehosting-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firebasehosting-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firebasehosting-v1beta1/.eslintrc.json b/types/gapi.client.firebasehosting-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firebasehosting-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firebaseml-v1/.eslintrc.json b/types/gapi.client.firebaseml-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firebaseml-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firebaseml-v1beta2/.eslintrc.json b/types/gapi.client.firebaseml-v1beta2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firebaseml-v1beta2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firebaserules-v1/.eslintrc.json b/types/gapi.client.firebaserules-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firebaserules-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firebasestorage-v1beta/.eslintrc.json b/types/gapi.client.firebasestorage-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firebasestorage-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firestore-v1/.eslintrc.json b/types/gapi.client.firestore-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firestore-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firestore-v1beta1/.eslintrc.json b/types/gapi.client.firestore-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firestore-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.firestore-v1beta2/.eslintrc.json b/types/gapi.client.firestore-v1beta2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.firestore-v1beta2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.fitness-v1/.eslintrc.json b/types/gapi.client.fitness-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.fitness-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.forms-v1/.eslintrc.json b/types/gapi.client.forms-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.forms-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.games-v1/.eslintrc.json b/types/gapi.client.games-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.games-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.games_configuration-v1configuration/.eslintrc.json b/types/gapi.client.games_configuration-v1configuration/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.games_configuration-v1configuration/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.games_management-v1management/.eslintrc.json b/types/gapi.client.games_management-v1management/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.games_management-v1management/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.gameservices-v1/.eslintrc.json b/types/gapi.client.gameservices-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.gameservices-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.gameservices-v1beta/.eslintrc.json b/types/gapi.client.gameservices-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.gameservices-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.genomics-v2alpha1/.eslintrc.json b/types/gapi.client.genomics-v2alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.genomics-v2alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.gkebackup-v1/.eslintrc.json b/types/gapi.client.gkebackup-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.gkebackup-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.gkehub-v1/.eslintrc.json b/types/gapi.client.gkehub-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.gkehub-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.gkehub-v1alpha/.eslintrc.json b/types/gapi.client.gkehub-v1alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.gkehub-v1alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.gkehub-v1alpha2/.eslintrc.json b/types/gapi.client.gkehub-v1alpha2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.gkehub-v1alpha2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.gkehub-v1beta/.eslintrc.json b/types/gapi.client.gkehub-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.gkehub-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.gkehub-v1beta1/.eslintrc.json b/types/gapi.client.gkehub-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.gkehub-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.gkehub-v2alpha/.eslintrc.json b/types/gapi.client.gkehub-v2alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.gkehub-v2alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.gmail-v1/.eslintrc.json b/types/gapi.client.gmail-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.gmail-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.gmailpostmastertools-v1/.eslintrc.json b/types/gapi.client.gmailpostmastertools-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.gmailpostmastertools-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.gmailpostmastertools-v1beta1/.eslintrc.json b/types/gapi.client.gmailpostmastertools-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.gmailpostmastertools-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.googleads-v10/.eslintrc.json b/types/gapi.client.googleads-v10/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.googleads-v10/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.googleads-v11/.eslintrc.json b/types/gapi.client.googleads-v11/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.googleads-v11/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.googleads-v12/.eslintrc.json b/types/gapi.client.googleads-v12/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.googleads-v12/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.googleads-v13/.eslintrc.json b/types/gapi.client.googleads-v13/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.googleads-v13/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.googleads-v4/.eslintrc.json b/types/gapi.client.googleads-v4/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.googleads-v4/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.googleads-v5/.eslintrc.json b/types/gapi.client.googleads-v5/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.googleads-v5/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.googleads-v6/.eslintrc.json b/types/gapi.client.googleads-v6/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.googleads-v6/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.googleads-v7/.eslintrc.json b/types/gapi.client.googleads-v7/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.googleads-v7/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.googleads-v8/.eslintrc.json b/types/gapi.client.googleads-v8/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.googleads-v8/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.googleads-v9/.eslintrc.json b/types/gapi.client.googleads-v9/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.googleads-v9/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.groupsmigration-v1/.eslintrc.json b/types/gapi.client.groupsmigration-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.groupsmigration-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.groupssettings-v1/.eslintrc.json b/types/gapi.client.groupssettings-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.groupssettings-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.healthcare-v1/.eslintrc.json b/types/gapi.client.healthcare-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.healthcare-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.healthcare-v1beta1/.eslintrc.json b/types/gapi.client.healthcare-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.healthcare-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.homegraph-v1/.eslintrc.json b/types/gapi.client.homegraph-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.homegraph-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.iam-v1/.eslintrc.json b/types/gapi.client.iam-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.iam-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.iam-v2/.eslintrc.json b/types/gapi.client.iam-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.iam-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.iam-v2beta/.eslintrc.json b/types/gapi.client.iam-v2beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.iam-v2beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.iamcredentials-v1/.eslintrc.json b/types/gapi.client.iamcredentials-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.iamcredentials-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.iap-v1/.eslintrc.json b/types/gapi.client.iap-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.iap-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.iap-v1beta1/.eslintrc.json b/types/gapi.client.iap-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.iap-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.identitytoolkit-v1/.eslintrc.json b/types/gapi.client.identitytoolkit-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.identitytoolkit-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.identitytoolkit-v2/.eslintrc.json b/types/gapi.client.identitytoolkit-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.identitytoolkit-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.identitytoolkit-v3/.eslintrc.json b/types/gapi.client.identitytoolkit-v3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.identitytoolkit-v3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.ids-v1/.eslintrc.json b/types/gapi.client.ids-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.ids-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.indexing-v3/.eslintrc.json b/types/gapi.client.indexing-v3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.indexing-v3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.integrations-v1alpha/.eslintrc.json b/types/gapi.client.integrations-v1alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.integrations-v1alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.jobs-v3/.eslintrc.json b/types/gapi.client.jobs-v3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.jobs-v3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.jobs-v3p1beta1/.eslintrc.json b/types/gapi.client.jobs-v3p1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.jobs-v3p1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.jobs-v4/.eslintrc.json b/types/gapi.client.jobs-v4/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.jobs-v4/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.keep-v1/.eslintrc.json b/types/gapi.client.keep-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.keep-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.kgsearch-v1/.eslintrc.json b/types/gapi.client.kgsearch-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.kgsearch-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.kmsinventory-v1/.eslintrc.json b/types/gapi.client.kmsinventory-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.kmsinventory-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.language-v1/.eslintrc.json b/types/gapi.client.language-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.language-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.language-v1beta2/.eslintrc.json b/types/gapi.client.language-v1beta2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.language-v1beta2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.libraryagent-v1/.eslintrc.json b/types/gapi.client.libraryagent-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.libraryagent-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.licensing-v1/.eslintrc.json b/types/gapi.client.licensing-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.licensing-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.lifesciences-v2beta/.eslintrc.json b/types/gapi.client.lifesciences-v2beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.lifesciences-v2beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.localservices-v1/.eslintrc.json b/types/gapi.client.localservices-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.localservices-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.logging-v2/.eslintrc.json b/types/gapi.client.logging-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.logging-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.managedidentities-v1/.eslintrc.json b/types/gapi.client.managedidentities-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.managedidentities-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.managedidentities-v1alpha1/.eslintrc.json b/types/gapi.client.managedidentities-v1alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.managedidentities-v1alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.managedidentities-v1beta1/.eslintrc.json b/types/gapi.client.managedidentities-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.managedidentities-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.manufacturers-v1/.eslintrc.json b/types/gapi.client.manufacturers-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.manufacturers-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.memcache-v1/.eslintrc.json b/types/gapi.client.memcache-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.memcache-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.memcache-v1beta2/.eslintrc.json b/types/gapi.client.memcache-v1beta2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.memcache-v1beta2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.metastore-v1/.eslintrc.json b/types/gapi.client.metastore-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.metastore-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.metastore-v1alpha/.eslintrc.json b/types/gapi.client.metastore-v1alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.metastore-v1alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.metastore-v1beta/.eslintrc.json b/types/gapi.client.metastore-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.metastore-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.migrationcenter-v1alpha1/.eslintrc.json b/types/gapi.client.migrationcenter-v1alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.migrationcenter-v1alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.ml-v1/.eslintrc.json b/types/gapi.client.ml-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.ml-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.monitoring-v1/.eslintrc.json b/types/gapi.client.monitoring-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.monitoring-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.monitoring-v3/.eslintrc.json b/types/gapi.client.monitoring-v3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.monitoring-v3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.mybusinessaccountmanagement-v1/.eslintrc.json b/types/gapi.client.mybusinessaccountmanagement-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.mybusinessaccountmanagement-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.mybusinessbusinesscalls-v1/.eslintrc.json b/types/gapi.client.mybusinessbusinesscalls-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.mybusinessbusinesscalls-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.mybusinessbusinessinformation-v1/.eslintrc.json b/types/gapi.client.mybusinessbusinessinformation-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.mybusinessbusinessinformation-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.mybusinesslodging-v1/.eslintrc.json b/types/gapi.client.mybusinesslodging-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.mybusinesslodging-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.mybusinessnotifications-v1/.eslintrc.json b/types/gapi.client.mybusinessnotifications-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.mybusinessnotifications-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.mybusinessplaceactions-v1/.eslintrc.json b/types/gapi.client.mybusinessplaceactions-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.mybusinessplaceactions-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.mybusinessqanda-v1/.eslintrc.json b/types/gapi.client.mybusinessqanda-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.mybusinessqanda-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.mybusinessverifications-v1/.eslintrc.json b/types/gapi.client.mybusinessverifications-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.mybusinessverifications-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.networkconnectivity-v1/.eslintrc.json b/types/gapi.client.networkconnectivity-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.networkconnectivity-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.networkconnectivity-v1alpha1/.eslintrc.json b/types/gapi.client.networkconnectivity-v1alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.networkconnectivity-v1alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.networkmanagement-v1/.eslintrc.json b/types/gapi.client.networkmanagement-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.networkmanagement-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.networkmanagement-v1beta1/.eslintrc.json b/types/gapi.client.networkmanagement-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.networkmanagement-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.networksecurity-v1/.eslintrc.json b/types/gapi.client.networksecurity-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.networksecurity-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.networksecurity-v1beta1/.eslintrc.json b/types/gapi.client.networksecurity-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.networksecurity-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.networkservices-v1/.eslintrc.json b/types/gapi.client.networkservices-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.networkservices-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.networkservices-v1beta1/.eslintrc.json b/types/gapi.client.networkservices-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.networkservices-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.notebooks-v1/.eslintrc.json b/types/gapi.client.notebooks-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.notebooks-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.notebooks-v2/.eslintrc.json b/types/gapi.client.notebooks-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.notebooks-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.oauth2-v2/.eslintrc.json b/types/gapi.client.oauth2-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.oauth2-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.ondemandscanning-v1/.eslintrc.json b/types/gapi.client.ondemandscanning-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.ondemandscanning-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.ondemandscanning-v1beta1/.eslintrc.json b/types/gapi.client.ondemandscanning-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.ondemandscanning-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.orgpolicy-v2/.eslintrc.json b/types/gapi.client.orgpolicy-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.orgpolicy-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.osconfig-v1/.eslintrc.json b/types/gapi.client.osconfig-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.osconfig-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.osconfig-v1alpha/.eslintrc.json b/types/gapi.client.osconfig-v1alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.osconfig-v1alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.osconfig-v1beta/.eslintrc.json b/types/gapi.client.osconfig-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.osconfig-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.oslogin-v1/.eslintrc.json b/types/gapi.client.oslogin-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.oslogin-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.oslogin-v1alpha/.eslintrc.json b/types/gapi.client.oslogin-v1alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.oslogin-v1alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.oslogin-v1beta/.eslintrc.json b/types/gapi.client.oslogin-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.oslogin-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.pagespeedonline-v5/.eslintrc.json b/types/gapi.client.pagespeedonline-v5/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.pagespeedonline-v5/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.paymentsresellersubscription-v1/.eslintrc.json b/types/gapi.client.paymentsresellersubscription-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.paymentsresellersubscription-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.people-v1/.eslintrc.json b/types/gapi.client.people-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.people-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.playcustomapp-v1/.eslintrc.json b/types/gapi.client.playcustomapp-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.playcustomapp-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.playdeveloperreporting-v1alpha1/.eslintrc.json b/types/gapi.client.playdeveloperreporting-v1alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.playdeveloperreporting-v1alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.playdeveloperreporting-v1beta1/.eslintrc.json b/types/gapi.client.playdeveloperreporting-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.playdeveloperreporting-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.playintegrity-v1/.eslintrc.json b/types/gapi.client.playintegrity-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.playintegrity-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.policyanalyzer-v1/.eslintrc.json b/types/gapi.client.policyanalyzer-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.policyanalyzer-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.policyanalyzer-v1beta1/.eslintrc.json b/types/gapi.client.policyanalyzer-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.policyanalyzer-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.policysimulator-v1/.eslintrc.json b/types/gapi.client.policysimulator-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.policysimulator-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.policysimulator-v1alpha/.eslintrc.json b/types/gapi.client.policysimulator-v1alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.policysimulator-v1alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.policysimulator-v1beta/.eslintrc.json b/types/gapi.client.policysimulator-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.policysimulator-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.policytroubleshooter-v1/.eslintrc.json b/types/gapi.client.policytroubleshooter-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.policytroubleshooter-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.policytroubleshooter-v1beta/.eslintrc.json b/types/gapi.client.policytroubleshooter-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.policytroubleshooter-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.poly-v1/.eslintrc.json b/types/gapi.client.poly-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.poly-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.privateca-v1/.eslintrc.json b/types/gapi.client.privateca-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.privateca-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.privateca-v1beta1/.eslintrc.json b/types/gapi.client.privateca-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.privateca-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.prod_tt_sasportal-v1alpha1/.eslintrc.json b/types/gapi.client.prod_tt_sasportal-v1alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.prod_tt_sasportal-v1alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.publicca-v1alpha1/.eslintrc.json b/types/gapi.client.publicca-v1alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.publicca-v1alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.publicca-v1beta1/.eslintrc.json b/types/gapi.client.publicca-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.publicca-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.pubsub-v1/.eslintrc.json b/types/gapi.client.pubsub-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.pubsub-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.pubsub-v1beta1a/.eslintrc.json b/types/gapi.client.pubsub-v1beta1a/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.pubsub-v1beta1a/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.pubsub-v1beta2/.eslintrc.json b/types/gapi.client.pubsub-v1beta2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.pubsub-v1beta2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.pubsublite-v1/.eslintrc.json b/types/gapi.client.pubsublite-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.pubsublite-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.readerrevenuesubscriptionlinking-v1/.eslintrc.json b/types/gapi.client.readerrevenuesubscriptionlinking-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.readerrevenuesubscriptionlinking-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.realtimebidding-v1/.eslintrc.json b/types/gapi.client.realtimebidding-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.realtimebidding-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.realtimebidding-v1alpha/.eslintrc.json b/types/gapi.client.realtimebidding-v1alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.realtimebidding-v1alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.recaptchaenterprise-v1/.eslintrc.json b/types/gapi.client.recaptchaenterprise-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.recaptchaenterprise-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.recommendationengine-v1beta1/.eslintrc.json b/types/gapi.client.recommendationengine-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.recommendationengine-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.recommender-v1/.eslintrc.json b/types/gapi.client.recommender-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.recommender-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.recommender-v1beta1/.eslintrc.json b/types/gapi.client.recommender-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.recommender-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.redis-v1/.eslintrc.json b/types/gapi.client.redis-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.redis-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.redis-v1beta1/.eslintrc.json b/types/gapi.client.redis-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.redis-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.reseller-v1/.eslintrc.json b/types/gapi.client.reseller-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.reseller-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.resourcesettings-v1/.eslintrc.json b/types/gapi.client.resourcesettings-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.resourcesettings-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.retail-v2/.eslintrc.json b/types/gapi.client.retail-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.retail-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.retail-v2alpha/.eslintrc.json b/types/gapi.client.retail-v2alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.retail-v2alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.retail-v2beta/.eslintrc.json b/types/gapi.client.retail-v2beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.retail-v2beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.run-v1/.eslintrc.json b/types/gapi.client.run-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.run-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.run-v2/.eslintrc.json b/types/gapi.client.run-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.run-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.runtimeconfig-v1/.eslintrc.json b/types/gapi.client.runtimeconfig-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.runtimeconfig-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.runtimeconfig-v1beta1/.eslintrc.json b/types/gapi.client.runtimeconfig-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.runtimeconfig-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.safebrowsing-v4/.eslintrc.json b/types/gapi.client.safebrowsing-v4/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.safebrowsing-v4/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.sasportal-v1alpha1/.eslintrc.json b/types/gapi.client.sasportal-v1alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.sasportal-v1alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.script-v1/.eslintrc.json b/types/gapi.client.script-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.script-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.searchads360-v0/.eslintrc.json b/types/gapi.client.searchads360-v0/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.searchads360-v0/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.searchconsole-v1/.eslintrc.json b/types/gapi.client.searchconsole-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.searchconsole-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.secretmanager-v1/.eslintrc.json b/types/gapi.client.secretmanager-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.secretmanager-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.secretmanager-v1beta1/.eslintrc.json b/types/gapi.client.secretmanager-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.secretmanager-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.securitycenter-v1/.eslintrc.json b/types/gapi.client.securitycenter-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.securitycenter-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.securitycenter-v1beta1/.eslintrc.json b/types/gapi.client.securitycenter-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.securitycenter-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.securitycenter-v1beta2/.eslintrc.json b/types/gapi.client.securitycenter-v1beta2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.securitycenter-v1beta2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.serviceconsumermanagement-v1/.eslintrc.json b/types/gapi.client.serviceconsumermanagement-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.serviceconsumermanagement-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.serviceconsumermanagement-v1beta1/.eslintrc.json b/types/gapi.client.serviceconsumermanagement-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.serviceconsumermanagement-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.servicecontrol-v1/.eslintrc.json b/types/gapi.client.servicecontrol-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.servicecontrol-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.servicecontrol-v2/.eslintrc.json b/types/gapi.client.servicecontrol-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.servicecontrol-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.servicedirectory-v1/.eslintrc.json b/types/gapi.client.servicedirectory-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.servicedirectory-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.servicedirectory-v1beta1/.eslintrc.json b/types/gapi.client.servicedirectory-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.servicedirectory-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.servicemanagement-v1/.eslintrc.json b/types/gapi.client.servicemanagement-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.servicemanagement-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.servicenetworking-v1/.eslintrc.json b/types/gapi.client.servicenetworking-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.servicenetworking-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.servicenetworking-v1beta/.eslintrc.json b/types/gapi.client.servicenetworking-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.servicenetworking-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.serviceusage-v1/.eslintrc.json b/types/gapi.client.serviceusage-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.serviceusage-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.serviceusage-v1beta1/.eslintrc.json b/types/gapi.client.serviceusage-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.serviceusage-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.sheets-v4/.eslintrc.json b/types/gapi.client.sheets-v4/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.sheets-v4/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.site_verification-v1/.eslintrc.json b/types/gapi.client.site_verification-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.site_verification-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.slides-v1/.eslintrc.json b/types/gapi.client.slides-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.slides-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.smartdevicemanagement-v1/.eslintrc.json b/types/gapi.client.smartdevicemanagement-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.smartdevicemanagement-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.sourcerepo-v1/.eslintrc.json b/types/gapi.client.sourcerepo-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.sourcerepo-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.spanner-v1/.eslintrc.json b/types/gapi.client.spanner-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.spanner-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.speech-v1/.eslintrc.json b/types/gapi.client.speech-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.speech-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.speech-v1p1beta1/.eslintrc.json b/types/gapi.client.speech-v1p1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.speech-v1p1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.sqladmin-v1/.eslintrc.json b/types/gapi.client.sqladmin-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.sqladmin-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.sqladmin-v1beta4/.eslintrc.json b/types/gapi.client.sqladmin-v1beta4/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.sqladmin-v1beta4/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.storage-v1/.eslintrc.json b/types/gapi.client.storage-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.storage-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.storagetransfer-v1/.eslintrc.json b/types/gapi.client.storagetransfer-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.storagetransfer-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.streetviewpublish-v1/.eslintrc.json b/types/gapi.client.streetviewpublish-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.streetviewpublish-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.sts-v1/.eslintrc.json b/types/gapi.client.sts-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.sts-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.sts-v1beta/.eslintrc.json b/types/gapi.client.sts-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.sts-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.tagmanager-v1/.eslintrc.json b/types/gapi.client.tagmanager-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.tagmanager-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.tagmanager-v2/.eslintrc.json b/types/gapi.client.tagmanager-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.tagmanager-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.tasks-v1/.eslintrc.json b/types/gapi.client.tasks-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.tasks-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.testing-v1/.eslintrc.json b/types/gapi.client.testing-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.testing-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.texttospeech-v1/.eslintrc.json b/types/gapi.client.texttospeech-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.texttospeech-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.texttospeech-v1beta1/.eslintrc.json b/types/gapi.client.texttospeech-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.texttospeech-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.toolresults-v1beta3/.eslintrc.json b/types/gapi.client.toolresults-v1beta3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.toolresults-v1beta3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.tpu-v1/.eslintrc.json b/types/gapi.client.tpu-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.tpu-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.tpu-v1alpha1/.eslintrc.json b/types/gapi.client.tpu-v1alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.tpu-v1alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.tpu-v2/.eslintrc.json b/types/gapi.client.tpu-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.tpu-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.tpu-v2alpha1/.eslintrc.json b/types/gapi.client.tpu-v2alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.tpu-v2alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.trafficdirector-v2/.eslintrc.json b/types/gapi.client.trafficdirector-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.trafficdirector-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.transcoder-v1/.eslintrc.json b/types/gapi.client.transcoder-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.transcoder-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.translate-v2/.eslintrc.json b/types/gapi.client.translate-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.translate-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.translate-v3/.eslintrc.json b/types/gapi.client.translate-v3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.translate-v3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.translate-v3beta1/.eslintrc.json b/types/gapi.client.translate-v3beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.translate-v3beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.travelimpactmodel-v1/.eslintrc.json b/types/gapi.client.travelimpactmodel-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.travelimpactmodel-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.vault-v1/.eslintrc.json b/types/gapi.client.vault-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.vault-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.verifiedaccess-v1/.eslintrc.json b/types/gapi.client.verifiedaccess-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.verifiedaccess-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.verifiedaccess-v2/.eslintrc.json b/types/gapi.client.verifiedaccess-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.verifiedaccess-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.versionhistory-v1/.eslintrc.json b/types/gapi.client.versionhistory-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.versionhistory-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.videointelligence-v1/.eslintrc.json b/types/gapi.client.videointelligence-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.videointelligence-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.videointelligence-v1beta2/.eslintrc.json b/types/gapi.client.videointelligence-v1beta2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.videointelligence-v1beta2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.videointelligence-v1p1beta1/.eslintrc.json b/types/gapi.client.videointelligence-v1p1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.videointelligence-v1p1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.videointelligence-v1p2beta1/.eslintrc.json b/types/gapi.client.videointelligence-v1p2beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.videointelligence-v1p2beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.videointelligence-v1p3beta1/.eslintrc.json b/types/gapi.client.videointelligence-v1p3beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.videointelligence-v1p3beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.vision-v1/.eslintrc.json b/types/gapi.client.vision-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.vision-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.vision-v1p1beta1/.eslintrc.json b/types/gapi.client.vision-v1p1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.vision-v1p1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.vision-v1p2beta1/.eslintrc.json b/types/gapi.client.vision-v1p2beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.vision-v1p2beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.vmmigration-v1/.eslintrc.json b/types/gapi.client.vmmigration-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.vmmigration-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.vmmigration-v1alpha1/.eslintrc.json b/types/gapi.client.vmmigration-v1alpha1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.vmmigration-v1alpha1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.vpcaccess-v1/.eslintrc.json b/types/gapi.client.vpcaccess-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.vpcaccess-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.vpcaccess-v1beta1/.eslintrc.json b/types/gapi.client.vpcaccess-v1beta1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.vpcaccess-v1beta1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.webfonts-v1/.eslintrc.json b/types/gapi.client.webfonts-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.webfonts-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.webrisk-v1/.eslintrc.json b/types/gapi.client.webrisk-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.webrisk-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.websecurityscanner-v1/.eslintrc.json b/types/gapi.client.websecurityscanner-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.websecurityscanner-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.websecurityscanner-v1alpha/.eslintrc.json b/types/gapi.client.websecurityscanner-v1alpha/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.websecurityscanner-v1alpha/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.websecurityscanner-v1beta/.eslintrc.json b/types/gapi.client.websecurityscanner-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.websecurityscanner-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.workflowexecutions-v1/.eslintrc.json b/types/gapi.client.workflowexecutions-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.workflowexecutions-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.workflowexecutions-v1beta/.eslintrc.json b/types/gapi.client.workflowexecutions-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.workflowexecutions-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.workflows-v1/.eslintrc.json b/types/gapi.client.workflows-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.workflows-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.workflows-v1beta/.eslintrc.json b/types/gapi.client.workflows-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.workflows-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.workloadmanager-v1/.eslintrc.json b/types/gapi.client.workloadmanager-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.workloadmanager-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.workstations-v1beta/.eslintrc.json b/types/gapi.client.workstations-v1beta/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.workstations-v1beta/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.youtube-v3/.eslintrc.json b/types/gapi.client.youtube-v3/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.youtube-v3/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.youtube_analytics-v2/.eslintrc.json b/types/gapi.client.youtube_analytics-v2/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.youtube_analytics-v2/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.client.youtubereporting-v1/.eslintrc.json b/types/gapi.client.youtubereporting-v1/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gapi.client.youtubereporting-v1/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gapi.drive/.eslintrc.json b/types/gapi.drive/.eslintrc.json index d31edba7d96660..812eedc260dd4f 100644 --- a/types/gapi.drive/.eslintrc.json +++ b/types/gapi.drive/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/prefer-namespace": "off" } } diff --git a/types/gapi.drive/package.json b/types/gapi.drive/package.json index da0ea0e6c32474..6e00e2b8315017 100644 --- a/types/gapi.drive/package.json +++ b/types/gapi.drive/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gapi.drive", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "gapi.drive", "projects": [ "https://developers.google.com/drive/" ], diff --git a/types/gapi.pagespeedonline/.eslintrc.json b/types/gapi.pagespeedonline/.eslintrc.json index 80bcb245cf48b6..ac0f657c33df9c 100644 --- a/types/gapi.pagespeedonline/.eslintrc.json +++ b/types/gapi.pagespeedonline/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/strict-export-declare-modifiers": "off" } } diff --git a/types/gapi.pagespeedonline/package.json b/types/gapi.pagespeedonline/package.json index 38cceebeeb3509..b7edb522ff315f 100644 --- a/types/gapi.pagespeedonline/package.json +++ b/types/gapi.pagespeedonline/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gapi.pagespeedonline", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "gapi.pagespeedonline", "projects": [ "https://developers.google.com/speed/pagespeed/" ], diff --git a/types/gapi.people/.eslintrc.json b/types/gapi.people/.eslintrc.json index b92c373804faa0..17972908a92cbb 100644 --- a/types/gapi.people/.eslintrc.json +++ b/types/gapi.people/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/no-empty-interface": "off" } } diff --git a/types/gapi.people/package.json b/types/gapi.people/package.json index 01aa8661bc22c4..a901011125e437 100644 --- a/types/gapi.people/package.json +++ b/types/gapi.people/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gapi.people", "version": "1.0.9999", + "nonNpm": true, + "nonNpmDescription": "gapi.people", "projects": [ "https://developers.google.com/people/" ], diff --git a/types/gapi.plus/.eslintrc.json b/types/gapi.plus/.eslintrc.json index 753efa7ab611cf..5805df8e2413ed 100644 --- a/types/gapi.plus/.eslintrc.json +++ b/types/gapi.plus/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/strict-export-declare-modifiers": "off" } } diff --git a/types/gapi.plus/package.json b/types/gapi.plus/package.json index edeca414206409..3fa48caac3c46b 100644 --- a/types/gapi.plus/package.json +++ b/types/gapi.plus/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gapi.plus", "version": "1.0.9999", + "nonNpm": true, + "nonNpmDescription": "gapi.plus", "projects": [ "https://developers.google.com/+/web/people/" ], diff --git a/types/gapi.translate/.eslintrc.json b/types/gapi.translate/.eslintrc.json index 80bcb245cf48b6..ac0f657c33df9c 100644 --- a/types/gapi.translate/.eslintrc.json +++ b/types/gapi.translate/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/strict-export-declare-modifiers": "off" } } diff --git a/types/gapi.translate/package.json b/types/gapi.translate/package.json index a5662e8e47693e..189d7a39dc2c2c 100644 --- a/types/gapi.translate/package.json +++ b/types/gapi.translate/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gapi.translate", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "gapi.translate", "projects": [ "https://developers.google.com/translate/" ], diff --git a/types/gapi.urlshortener/.eslintrc.json b/types/gapi.urlshortener/.eslintrc.json index 80bcb245cf48b6..ac0f657c33df9c 100644 --- a/types/gapi.urlshortener/.eslintrc.json +++ b/types/gapi.urlshortener/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/strict-export-declare-modifiers": "off" } } diff --git a/types/gapi.urlshortener/package.json b/types/gapi.urlshortener/package.json index 5018e7ff044436..b435e70e09a8dc 100644 --- a/types/gapi.urlshortener/package.json +++ b/types/gapi.urlshortener/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gapi.urlshortener", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "gapi.urlshortener", "projects": [ "https://developers.google.com/url-shortener/" ], diff --git a/types/gapi.youtube/.eslintrc.json b/types/gapi.youtube/.eslintrc.json index 753efa7ab611cf..5805df8e2413ed 100644 --- a/types/gapi.youtube/.eslintrc.json +++ b/types/gapi.youtube/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/strict-export-declare-modifiers": "off" } } diff --git a/types/gapi.youtube/package.json b/types/gapi.youtube/package.json index 8096c02aee8de6..02ab67386104c3 100644 --- a/types/gapi.youtube/package.json +++ b/types/gapi.youtube/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gapi.youtube", "version": "3.0.9999", + "nonNpm": true, + "nonNpmDescription": "gapi.youtube", "projects": [ "https://developers.google.com/youtube/v3/" ], diff --git a/types/gapi.youtubeanalytics/.eslintrc.json b/types/gapi.youtubeanalytics/.eslintrc.json index 80bcb245cf48b6..ac0f657c33df9c 100644 --- a/types/gapi.youtubeanalytics/.eslintrc.json +++ b/types/gapi.youtubeanalytics/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/strict-export-declare-modifiers": "off" } } diff --git a/types/gapi.youtubeanalytics/package.json b/types/gapi.youtubeanalytics/package.json index 1fb8bbe1b46d60..5c9b19cb165193 100644 --- a/types/gapi.youtubeanalytics/package.json +++ b/types/gapi.youtubeanalytics/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gapi.youtubeanalytics", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "gapi.youtubeanalytics", "projects": [ "https://developers.google.com/youtube/analytics/" ], diff --git a/types/gatsby-transformer-remark/.eslintrc.json b/types/gatsby-transformer-remark/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/gatsby-transformer-remark/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/gaugejs/.eslintrc.json b/types/gaugejs/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gaugejs/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gaugejs/package.json b/types/gaugejs/package.json index dc8d48ecde3440..8f859d7209f21a 100644 --- a/types/gaugejs/package.json +++ b/types/gaugejs/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gaugejs", "version": "1.3.9999", + "nonNpm": true, + "nonNpmDescription": "gaugejs", "projects": [ "https://github.com/bernii/gauge.js#readme" ], diff --git a/types/geojson/package.json b/types/geojson/package.json index a3e25b8833a2ae..005b35c4b97be3 100644 --- a/types/geojson/package.json +++ b/types/geojson/package.json @@ -2,7 +2,7 @@ "private": true, "name": "@types/geojson", "version": "7946.0.9999", - "nonNpm": true, + "nonNpm": "conflict", "nonNpmDescription": "geojson", "projects": [ "https://geojson.org/" diff --git a/types/geometry-dom/.eslintrc.json b/types/geometry-dom/.eslintrc.json index 80bcb245cf48b6..ac0f657c33df9c 100644 --- a/types/geometry-dom/.eslintrc.json +++ b/types/geometry-dom/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/strict-export-declare-modifiers": "off" } } diff --git a/types/geometry-dom/package.json b/types/geometry-dom/package.json index 7ab72af567a269..f0840261d4f085 100644 --- a/types/geometry-dom/package.json +++ b/types/geometry-dom/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/geometry-dom", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "geometry-dom", "projects": [ "http://www.w3.org/TR/geometry-1/" ], diff --git a/types/barnard59-validate-shacl/.npmignore b/types/get-package-type/.npmignore similarity index 100% rename from types/barnard59-validate-shacl/.npmignore rename to types/get-package-type/.npmignore diff --git a/types/get-package-type/get-package-type-tests.ts b/types/get-package-type/get-package-type-tests.ts new file mode 100644 index 00000000000000..76b7e4fc346d8b --- /dev/null +++ b/types/get-package-type/get-package-type-tests.ts @@ -0,0 +1,7 @@ +import getPackageType = require("get-package-type"); + +getPackageType("package.json").then((packageType) => { + packageType; // $ExpectType PackageType +}); + +getPackageType.sync("package.json"); // $ExpectType PackageType diff --git a/types/get-package-type/index.d.ts b/types/get-package-type/index.d.ts new file mode 100644 index 00000000000000..68af332b3434fd --- /dev/null +++ b/types/get-package-type/index.d.ts @@ -0,0 +1,10 @@ +type PackageType = "module" | "commonjs"; + +interface GetPackageType { + (filename: string): Promise; + sync(filename: string): PackageType; +} + +declare const getPackageType: GetPackageType; + +export = getPackageType; diff --git a/types/get-package-type/package.json b/types/get-package-type/package.json new file mode 100644 index 00000000000000..0ca69901092e29 --- /dev/null +++ b/types/get-package-type/package.json @@ -0,0 +1,21 @@ +{ + "private": true, + "name": "@types/get-package-type", + "version": "0.1.9999", + "projects": [ + "https://github.com/cfware/get-package-type#readme" + ], + "devDependencies": { + "@types/get-package-type": "workspace:." + }, + "owners": [ + { + "name": "Corey Farrell", + "githubUsername": "coreyfarrell" + }, + { + "name": "Jordan Harband", + "githubUsername": "ljharb" + } + ] +} diff --git a/types/get-package-type/tsconfig.json b/types/get-package-type/tsconfig.json new file mode 100644 index 00000000000000..28b48124e87549 --- /dev/null +++ b/types/get-package-type/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "module": "commonjs", + "lib": [ + "es6" + ], + "noImplicitAny": true, + "noImplicitThis": true, + "strictFunctionTypes": true, + "strictNullChecks": true, + "types": [], + "noEmit": true, + "forceConsistentCasingInFileNames": true + }, + "files": [ + "index.d.ts", + "get-package-type-tests.ts" + ] +} diff --git a/types/gldatepicker/.eslintrc.json b/types/gldatepicker/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/gldatepicker/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/gldatepicker/package.json b/types/gldatepicker/package.json index 127b3eea227f3a..6c833d0d96c408 100644 --- a/types/gldatepicker/package.json +++ b/types/gldatepicker/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/gldatepicker", "version": "2.0.9999", + "nonNpm": true, + "nonNpmDescription": "gldatepicker", "projects": [ "http://glad.github.com/glDatePicker/" ], diff --git a/types/glidejs/.eslintrc.json b/types/glidejs/.eslintrc.json index f70fc73619a6c2..c9780e77c3bdf5 100644 --- a/types/glidejs/.eslintrc.json +++ b/types/glidejs/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/naming-convention": "off" } diff --git a/types/go/.eslintrc.json b/types/go/.eslintrc.json index ba4d7ea27528c4..0daa56a637f665 100644 --- a/types/go/.eslintrc.json +++ b/types/go/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/export-just-namespace": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/google-ads-scripts/.eslintrc.json b/types/google-ads-scripts/.eslintrc.json index efd71c1a6c0e5f..0f7b7412939420 100644 --- a/types/google-ads-scripts/.eslintrc.json +++ b/types/google-ads-scripts/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/npm-naming": "off", "@typescript-eslint/no-empty-interface": "off" } } diff --git a/types/google-ads-scripts/package.json b/types/google-ads-scripts/package.json index 12bcb340aaa85e..9c7668e09194c6 100644 --- a/types/google-ads-scripts/package.json +++ b/types/google-ads-scripts/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/google-ads-scripts", "version": "1.0.9999", + "nonNpm": true, + "nonNpmDescription": "google-ads-scripts", "projects": [ "https://developers.google.com/google-ads/scripts" ], diff --git a/types/google-apps-script/google-apps-script.card-service.d.ts b/types/google-apps-script/google-apps-script.card-service.d.ts index c680c5343d20d1..80386c56e92cc5 100644 --- a/types/google-apps-script/google-apps-script.card-service.d.ts +++ b/types/google-apps-script/google-apps-script.card-service.d.ts @@ -544,6 +544,7 @@ declare namespace GoogleAppsScript { */ enum OnClose { NOTHING, + RELOAD, RELOAD_ADD_ON, } /** diff --git a/types/google-apps-script/test/google-apps-script-tests.ts b/types/google-apps-script/test/google-apps-script-tests.ts index 37d530451e72d8..ffeb0c8007f8de 100644 --- a/types/google-apps-script/test/google-apps-script-tests.ts +++ b/types/google-apps-script/test/google-apps-script-tests.ts @@ -363,6 +363,15 @@ CardService.newTimePicker().setTitle(""); // $ExpectType TimePicker CardService.DisplayStyle.PEEK; CardService.DisplayStyle.REPLACE; +CardService.OnClose.NOTHING; +CardService.OnClose.RELOAD; +CardService.OnClose.RELOAD_ADD_ON; + +CardService.newOpenLink(); // $ExpectType OpenLink +CardService.newOpenLink().setOnClose(CardService.OnClose.NOTHING); // $ExpectType OpenLink +CardService.newOpenLink().setOnClose(CardService.OnClose.RELOAD); // $ExpectType OpenLink +CardService.newOpenLink().setOnClose(CardService.OnClose.RELOAD_ADD_ON); // $ExpectType OpenLink + DriveApp.createShortcut("").getTargetId(); DriveApp.createFile("", "").moveTo(DriveApp.getFolderById("")); diff --git a/types/google-drive-realtime-api/.eslintrc.json b/types/google-drive-realtime-api/.eslintrc.json index 8606d1dff59c93..d255e414409ddf 100644 --- a/types/google-drive-realtime-api/.eslintrc.json +++ b/types/google-drive-realtime-api/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/explicit-member-accessibility": "off", diff --git a/types/google-drive-realtime-api/package.json b/types/google-drive-realtime-api/package.json index a0ac233eac33a2..81eba5dea21588 100644 --- a/types/google-drive-realtime-api/package.json +++ b/types/google-drive-realtime-api/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/google-drive-realtime-api", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "google-drive-realtime-api", "projects": [ "https://developers.google.com/google-apps/realtime/" ], diff --git a/types/google-earth/.eslintrc.json b/types/google-earth/.eslintrc.json index d0441fac2a22df..12dc0523ec6ea8 100644 --- a/types/google-earth/.eslintrc.json +++ b/types/google-earth/.eslintrc.json @@ -2,7 +2,6 @@ "rules": { "@definitelytyped/dt-header": "off", "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/google-earth/package.json b/types/google-earth/package.json index a7b23ad59a9bc2..4cd960a5c82118 100644 --- a/types/google-earth/package.json +++ b/types/google-earth/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/google-earth", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "google-earth", "projects": [ "https://developers.google.com/earth/" ], diff --git a/types/google-libphonenumber/.eslintrc.json b/types/google-libphonenumber/.eslintrc.json index 17c54d8cd5e921..aeef0304146290 100644 --- a/types/google-libphonenumber/.eslintrc.json +++ b/types/google-libphonenumber/.eslintrc.json @@ -4,7 +4,6 @@ "@definitelytyped/no-declare-current-package": "off", "@definitelytyped/strict-export-declare-modifiers": "off", "@definitelytyped/no-single-declare-module": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/prefer-namespace": "off" } } diff --git a/types/google-one-tap/.eslintrc.json b/types/google-one-tap/.eslintrc.json deleted file mode 100644 index 603c79ec316965..00000000000000 --- a/types/google-one-tap/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "rules": { - "@definitelytyped/npm-naming": "off" - } -} diff --git a/types/google-publisher-tag/google-publisher-tag-tests.ts b/types/google-publisher-tag/google-publisher-tag-tests.ts index 7994bc154e6eb4..3c64edb5356ded 100644 --- a/types/google-publisher-tag/google-publisher-tag-tests.ts +++ b/types/google-publisher-tag/google-publisher-tag-tests.ts @@ -1,5 +1,5 @@ -// Tests for Google Publisher Tag 1.20231211 -// Synced from: https://github.com/googleads/google-publisher-tag-types/commit/e9b791a4a49d911e5e04660c08dcd2039978813c +// Tests for Google Publisher Tag 1.20240129 +// Synced from: https://github.com/googleads/google-publisher-tag-types/commit/eba15613f5b45d7a7b010727c9f13c651f1e983a // Test for googletag.cmd function test_googletag_cmd() { @@ -629,6 +629,14 @@ function test_googletag_slot_updateTargetingFromMap() { }); } +// Test for googletag.config.AdExpansionConfig +function test_googletag_config_adExpansionConfig() { + // Enable ad slot expansion across the entire page. + googletag.setConfig({ + adExpansion: { enabled: true }, + }); +} + // Test for googletag.config.PrivacyTreatmentsConfig.treatments function test_googletag_config_privacyTreatmentsConfig_treatments() { // Disable personalization across the entire page. diff --git a/types/google-publisher-tag/index.d.ts b/types/google-publisher-tag/index.d.ts index bd630a0af074ff..12447305937943 100644 --- a/types/google-publisher-tag/index.d.ts +++ b/types/google-publisher-tag/index.d.ts @@ -1682,50 +1682,31 @@ declare namespace googletag { type SizeMappingArray = SizeMapping[]; /** - * This is the namespace that GPT uses for enum types. + * Main configuration interface for page-level settings. */ - namespace enums { - /** - * Out-of-page formats supported by GPT. - * - * @see {@link defineOutOfPageSlot} - */ - enum OutOfPageFormat { - /** Anchor format where slot sticks to the top of the viewport. */ - TOP_ANCHOR, - /** Anchor format where slot sticks to the bottom of the viewport. */ - BOTTOM_ANCHOR, - /** Web interstitial creative format. */ - INTERSTITIAL, - /** Rewarded format. */ - REWARDED, - /** Left side rail format. */ - LEFT_SIDE_RAIL, - /** Right side rail format. */ - RIGHT_SIDE_RAIL, - } - + namespace config { /** - * [Traffic sources](https://support.google.com/admanager/answer/11233407) - * supported by GPT. + * Settings to control ad expansion. * - * @see {@link PrivacySettingsConfig.trafficSource} + * @example + * // Enable ad slot expansion across the entire page. + * googletag.setConfig({ + * adExpansion: {enabled: true} + * }); */ - enum TrafficSource { + interface AdExpansionConfig { /** - * Traffic redirected from properties other than owned (acquired or otherwise - * incentivized activity). + * Whether ad expansion is enabled or disabled. + * + * Setting this value overrides the default configured in + * Google Ad Manager. + * + * @see [Expand ads on desktop and tablet](https://support.google.com/admanager/answer/9384852) + * @see [Expand ads on mobile web (partial screen)](https://support.google.com/admanager/answer/9117822) */ - PURCHASED, - /** Direct URL entry, site search, or app download. */ - ORGANIC, + enabled?: boolean; } - } - /** - * Main configuration interface for page-level settings. - */ - namespace config { /** * Main configuration interface for page-level settings. * @@ -1789,6 +1770,11 @@ declare namespace googletag { * Settings to control publisher privacy treatments. */ privacyTreatments?: PrivacyTreatmentsConfig | null; + + /** + * Settings to control ad expansion. + */ + adExpansion?: AdExpansionConfig | null; } /** @@ -1812,6 +1798,66 @@ declare namespace googletag { */ type PrivacyTreatment = "disablePersonalization"; + /** + * Main configuration interface for slot-level settings. + * + * Allows setting multiple features with a single API call for a single slot. + * + * All properties listed below are examples and do not reflect actual features + * that utilize setConfig. For the set of features, see fields within the + * SlotSettingsConfig type below. + * + * Examples: + * - Only features specified in the {@link Slot.setConfig} call are + * modified. + * ``` + * const slot = googletag.defineSlot("/1234567/example", [160, 600]); + * + * // Configure feature alpha. + * slot.setConfig({ + * alpha: {...} + * }); + * + * // Configure feature bravo. Feature alpha is unchanged. + * slot.setConfig({ + * bravo: {...} + * }); + * ``` + * - All settings for a given feature are updated with each call to + * {@link Slot.setConfig}. + * ``` + * // Configure feature charlie to echo = 1, foxtrot = true. + * slot.setConfig({ + * charlie: { + * echo: 1, + * foxtrot: true, + * } + * }); + * + * // Update feature charlie to echo = 2. Since foxtrot was not specified, + * // the value is cleared. + * slot.setConfig({ + * charlie: { + * echo: 2 + * } + * }); + * ``` + * - All settings for a feature can be cleared by passing `null`. + * ``` + * // Configure features delta, golf, and hotel. + * slot.setConfig({ + * delta: {...}, + * golf: {...}, + * hotel: {...}, + * }); + * + * // Feature delta and hotel are cleared, but feature golf remains set. + * slot.setConfig({ + * delta: null, + * hotel: null, + * }); + * ``` + */ interface SlotSettingsConfig { /** * An array of component auctions to be included in an on-device ad auction. @@ -1822,6 +1868,11 @@ declare namespace googletag { * Settings that control interstitial ad slot behavior. */ interstitial?: InterstitialConfig; + + /** + * Settings to control ad expansion. + */ + adExpansion?: AdExpansionConfig; } /** @@ -1940,6 +1991,47 @@ declare namespace googletag { type InterstitialTrigger = "unhideWindow"; } + /** + * This is the namespace that GPT uses for enum types. + */ + namespace enums { + /** + * Out-of-page formats supported by GPT. + * + * @see {@link defineOutOfPageSlot} + */ + enum OutOfPageFormat { + /** Anchor format where slot sticks to the top of the viewport. */ + TOP_ANCHOR, + /** Anchor format where slot sticks to the bottom of the viewport. */ + BOTTOM_ANCHOR, + /** Web interstitial creative format. */ + INTERSTITIAL, + /** Rewarded format. */ + REWARDED, + /** Left side rail format. */ + LEFT_SIDE_RAIL, + /** Right side rail format. */ + RIGHT_SIDE_RAIL, + } + + /** + * [Traffic sources](https://support.google.com/admanager/answer/11233407) + * supported by GPT. + * + * @see {@link PrivacySettingsConfig.trafficSource} + */ + enum TrafficSource { + /** + * Traffic redirected from properties other than owned (acquired or otherwise + * incentivized activity). + */ + PURCHASED, + /** Direct URL entry, site search, or app download. */ + ORGANIC, + } + } + /** * This is the namespace that GPT uses for managing secure signals. */ diff --git a/types/google-publisher-tag/package.json b/types/google-publisher-tag/package.json index 70d938b9a65890..7b9e35e3252bb9 100644 --- a/types/google-publisher-tag/package.json +++ b/types/google-publisher-tag/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@types/google-publisher-tag", - "version": "1.20231211.9999", + "version": "1.20240129.9999", "nonNpm": true, "nonNpmDescription": "Google Publisher Tag", "projects": [ diff --git a/types/google.analytics/.eslintrc.json b/types/google.analytics/.eslintrc.json index 1c7489360e7ede..5bf67bfd516c0d 100644 --- a/types/google.analytics/.eslintrc.json +++ b/types/google.analytics/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off", "@typescript-eslint/ban-types": "off" } } diff --git a/types/google.analytics/package.json b/types/google.analytics/package.json index 3d31d8ed61155f..b0c1489af10e2a 100644 --- a/types/google.analytics/package.json +++ b/types/google.analytics/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/google.analytics", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "google.analytics", "projects": [ "https://developers.google.com/analytics/devguides/collection/gajs/", "https://developers.google.com/analytics/devguides/collection/analyticsjs/method-reference" diff --git a/types/google.feeds/.eslintrc.json b/types/google.feeds/.eslintrc.json index 80bcb245cf48b6..ac0f657c33df9c 100644 --- a/types/google.feeds/.eslintrc.json +++ b/types/google.feeds/.eslintrc.json @@ -1,7 +1,6 @@ { "rules": { "@definitelytyped/dt-header": "off", - "@definitelytyped/strict-export-declare-modifiers": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/strict-export-declare-modifiers": "off" } } diff --git a/types/google.feeds/package.json b/types/google.feeds/package.json index 823cd9d0a26bbb..12a4c4733f7b5a 100644 --- a/types/google.feeds/package.json +++ b/types/google.feeds/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/google.feeds", "version": "0.0.9999", + "nonNpm": true, + "nonNpmDescription": "google.feeds", "projects": [ "https://developers.google.com/feed/" ], diff --git a/types/google.fonts/.eslintrc.json b/types/google.fonts/.eslintrc.json new file mode 100644 index 00000000000000..4c387a7c50e573 --- /dev/null +++ b/types/google.fonts/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@definitelytyped/no-type-only-packages": "off" + } +} diff --git a/types/google.geolocation/.eslintrc.json b/types/google.geolocation/.eslintrc.json index b7c95ed6b821e0..f73edfbbe5b880 100644 --- a/types/google.geolocation/.eslintrc.json +++ b/types/google.geolocation/.eslintrc.json @@ -1,6 +1,5 @@ { "rules": { - "@definitelytyped/dt-header": "off", - "@definitelytyped/npm-naming": "off" + "@definitelytyped/dt-header": "off" } } diff --git a/types/google.geolocation/package.json b/types/google.geolocation/package.json index 10abbaa5c7986c..bf3cb2cbfa5ed8 100644 --- a/types/google.geolocation/package.json +++ b/types/google.geolocation/package.json @@ -2,6 +2,8 @@ "private": true, "name": "@types/google.geolocation", "version": "0.4.9999", + "nonNpm": true, + "nonNpmDescription": "google.geolocation", "projects": [ "https://code.google.com/p/geo-location-javascript/" ], diff --git a/types/google.maps/.eslintrc.json b/types/google.maps/.eslintrc.json index 979afcd8225c90..68689159be5bd9 100644 --- a/types/google.maps/.eslintrc.json +++ b/types/google.maps/.eslintrc.json @@ -2,6 +2,7 @@ "rules": { "@definitelytyped/strict-export-declare-modifiers": "off", "@typescript-eslint/ban-types": "off", - "@typescript-eslint/consistent-type-definitions": "off" + "@typescript-eslint/consistent-type-definitions": "off", + "@typescript-eslint/array-type": "off" } } diff --git a/types/google.maps/google.maps-tests.ts b/types/google.maps/google.maps-tests.ts index fef8e7ac08b182..89929ac62e1fc0 100644 --- a/types/google.maps/google.maps-tests.ts +++ b/types/google.maps/google.maps-tests.ts @@ -1,3 +1,3 @@ // No tests required for generated types -// Synced from: https://github.com/googlemaps/js-types/commit/24378af889c5d168a90dcadd1875e2e5be496c2d +// Synced from: https://github.com/googlemaps/js-types/commit/55149113493dccaaf4775a1f34f247313accdb4f google.maps.Map; diff --git a/types/google.maps/index.d.ts b/types/google.maps/index.d.ts index 1f62e256e4501e..9937580aad0d09 100644 --- a/types/google.maps/index.d.ts +++ b/types/google.maps/index.d.ts @@ -1,7 +1,6 @@ // To report an issue with these types, please open a support ticket at: // https://issuetracker.google.com/savedsearches/558438 -// g3-format-clang // Google Maps JS API Version: 3.55 // tslint:disable:enforce-name-casing // tslint:disable:no-any @@ -48,12 +47,12 @@ declare namespace google.maps { /** * Returns the map on which this layer is displayed. */ - getMap(): google.maps.Map|null; + getMap(): google.maps.Map | null; /** * Renders the layer on the specified map. If map is set to * null, the layer will be removed. */ - setMap(map: google.maps.Map|null): void; + setMap(map: google.maps.Map | null): void; } /** * Available only in the v=beta channel: https://goo.gle/3oAthT3. @@ -61,7 +60,7 @@ declare namespace google.maps { * Used for setting the map's camera options. */ export interface CameraOptions { - center?: google.maps.LatLngLiteral|google.maps.LatLng; + center?: google.maps.LatLngLiteral | google.maps.LatLng; heading?: number; tilt?: number; zoom?: number; @@ -93,16 +92,21 @@ declare namespace google.maps { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(circleOrCircleOptions?: google.maps.Circle|null| - google.maps.CircleLiteral|google.maps.CircleOptions); + constructor( + circleOrCircleOptions?: + | google.maps.Circle + | null + | google.maps.CircleLiteral + | google.maps.CircleOptions, + ); /** * Gets the LatLngBounds of this Circle. */ - getBounds(): google.maps.LatLngBounds|null; + getBounds(): google.maps.LatLngBounds | null; /** * Returns the center of this circle. */ - getCenter(): google.maps.LatLng|null; + getCenter(): google.maps.LatLng | null; /** * Returns whether this circle can be dragged by the user. */ @@ -114,7 +118,7 @@ declare namespace google.maps { /** * Returns the map on which this circle is displayed. */ - getMap(): google.maps.Map|null; + getMap(): google.maps.Map | null; /** * Returns the radius of this circle (in meters). */ @@ -126,7 +130,9 @@ declare namespace google.maps { /** * Sets the center of this circle. */ - setCenter(center: google.maps.LatLng|null|google.maps.LatLngLiteral): void; + setCenter( + center: google.maps.LatLng | null | google.maps.LatLngLiteral, + ): void; /** * If set to true, the user can drag this circle over the map. */ @@ -141,8 +147,8 @@ declare namespace google.maps { * Renders the circle on the specified map. If map is set to * null, the circle will be removed. */ - setMap(map: google.maps.Map|null): void; - setOptions(options: google.maps.CircleOptions|null): void; + setMap(map: google.maps.Map | null): void; + setOptions(options: google.maps.CircleOptions | null): void; /** * Sets the radius of this circle (in meters). */ @@ -159,7 +165,7 @@ declare namespace google.maps { /** * The center of the Circle. */ - center: google.maps.LatLng|google.maps.LatLngLiteral; + center: google.maps.LatLng | google.maps.LatLngLiteral; /** * The radius in meters on the Earth's surface. */ @@ -173,68 +179,68 @@ declare namespace google.maps { /** * The center of the Circle. */ - center?: google.maps.LatLng|google.maps.LatLngLiteral|null; + center?: google.maps.LatLng | google.maps.LatLngLiteral | null; /** * Indicates whether this Circle handles mouse events. * @defaultValue true */ - clickable?: boolean|null; + clickable?: boolean | null; /** * If set to true, the user can drag this circle over the map. * @defaultValue false */ - draggable?: boolean|null; + draggable?: boolean | null; /** * If set to true, the user can edit this circle by dragging * the control points shown at the center and around the circumference of * the circle. * @defaultValue false */ - editable?: boolean|null; + editable?: boolean | null; /** * The fill color. All CSS3 colors are supported except for extended named * colors. */ - fillColor?: string|null; + fillColor?: string | null; /** * The fill opacity between 0.0 and 1.0. */ - fillOpacity?: number|null; + fillOpacity?: number | null; /** * Map on which to display the Circle. */ - map?: google.maps.Map|null; + map?: google.maps.Map | null; /** * The radius in meters on the Earth's surface. */ - radius?: number|null; + radius?: number | null; /** * The stroke color. All CSS3 colors are supported except for extended named * colors. */ - strokeColor?: string|null; + strokeColor?: string | null; /** * The stroke opacity between 0.0 and 1.0. */ - strokeOpacity?: number|null; + strokeOpacity?: number | null; /** * The stroke position. * @defaultValue {@link google.maps.StrokePosition.CENTER} */ - strokePosition?: google.maps.StrokePosition|null; + strokePosition?: google.maps.StrokePosition | null; /** * The stroke width in pixels. */ - strokeWeight?: number|null; + strokeWeight?: number | null; /** * Whether this circle is visible on the map. * @defaultValue true */ - visible?: boolean|null; + visible?: boolean | null; /** * The zIndex compared to other polys. */ - zIndex?: number|null; + zIndex?: number | null; } /** * Access by calling `const {CollisionBehavior} = await @@ -430,9 +436,12 @@ declare namespace google.maps { * cardinal axis. */ fromLatLngAltitude( - latLngAltitude: google.maps.LatLngAltitude| - google.maps.LatLngAltitudeLiteral, - rotations?: Float32Array, scale?: Float32Array): Float64Array; + latLngAltitude: + | google.maps.LatLngAltitude + | google.maps.LatLngAltitudeLiteral, + rotations?: Float32Array, + scale?: Float32Array, + ): Float64Array; getCameraParams(): google.maps.CameraParams; } export interface CoreLibrary { @@ -479,7 +488,7 @@ declare namespace google.maps { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(options?: google.maps.Data.DataOptions|null); + constructor(options?: google.maps.Data.DataOptions | null); /** * Adds a feature to the collection, and returns the added feature.

If * the feature has an ID, it will replace any existing feature in the @@ -491,15 +500,21 @@ declare namespace google.maps { * 1234 will replace a feature with ID '1234', and * vice versa. */ - add(feature?: google.maps.Data.Feature|null| - google.maps.Data.FeatureOptions): google.maps.Data.Feature; + add( + feature?: + | google.maps.Data.Feature + | null + | google.maps.Data.FeatureOptions, + ): google.maps.Data.Feature; /** * Adds GeoJSON features to the collection. Give this method a parsed JSON. * The imported features are returned. Throws an exception if the GeoJSON * could not be imported. */ - addGeoJson(geoJson: object, options?: google.maps.Data.GeoJsonOptions|null): - google.maps.Data.Feature[]; + addGeoJson( + geoJson: object, + options?: google.maps.Data.GeoJsonOptions | null, + ): google.maps.Data.Feature[]; /** * Checks whether the given feature is in the collection. */ @@ -521,7 +536,7 @@ declare namespace google.maps { * "Point", "LineString" or * "Polygon". */ - getControls(): string[]|null; + getControls(): string[] | null; /** * Returns the current drawing mode of the given Data layer. A drawing mode * of null means that the user can interact with the map as @@ -529,23 +544,25 @@ declare namespace google.maps { * null, "Point", "LineString" or * "Polygon". */ - getDrawingMode(): string|null; + getDrawingMode(): string | null; /** * Returns the feature with the given ID, if it exists in the collection. * Otherwise returns undefined.

Note that the IDs * 1234 and '1234' are equivalent. Either can be * used to look up the same feature. */ - getFeatureById(id: number|string): google.maps.Data.Feature|undefined; + getFeatureById(id: number | string): google.maps.Data.Feature | undefined; /** * Returns the map on which the features are displayed. */ - getMap(): google.maps.Map|null; + getMap(): google.maps.Map | null; /** * Gets the style for all features in the collection. */ - getStyle(): (google.maps.Data.StylingFunction)|google.maps.Data.StyleOptions - |null; + getStyle(): + | google.maps.Data.StylingFunction + | google.maps.Data.StyleOptions + | null; /** * Loads GeoJSON from a URL, and adds the features to the collection.

* NOTE: The GeoJSON is fetched using XHR, and may not work cross-domain. If @@ -553,8 +570,10 @@ declare namespace google.maps { * AJAX library, and then call addGeoJson(). */ loadGeoJson( - url: string, options?: google.maps.Data.GeoJsonOptions|null, - callback?: (a: google.maps.Data.Feature[]) => void): void; + url: string, + options?: google.maps.Data.GeoJsonOptions | null, + callback?: (a: google.maps.Data.Feature[]) => void, + ): void; /** * Changes the style of a feature. These changes are applied on top of the * style specified by setStyle(). Style properties set to @@ -562,8 +581,9 @@ declare namespace google.maps { * setStyle(). */ overrideStyle( - feature: google.maps.Data.Feature, - style: google.maps.Data.StyleOptions): void; + feature: google.maps.Data.Feature, + style: google.maps.Data.StyleOptions, + ): void; /** * Removes a feature from the collection. */ @@ -574,7 +594,7 @@ declare namespace google.maps { * setStyle().

If no feature is given, all features have * their style reverted.

*/ - revertStyle(feature?: google.maps.Data.Feature|null): void; + revertStyle(feature?: google.maps.Data.Feature | null): void; /** * Sets the position of the drawing controls on the map. */ @@ -587,7 +607,7 @@ declare namespace google.maps { * "Point", "LineString" or * "Polygon". */ - setControls(controls: string[]|null): void; + setControls(controls: string[] | null): void; /** * Sets the current drawing mode of the given Data layer. A drawing mode of * null means that the user can interact with the map as @@ -595,12 +615,12 @@ declare namespace google.maps { * null, "Point", "LineString" or * "Polygon". */ - setDrawingMode(drawingMode: string|null): void; + setDrawingMode(drawingMode: string | null): void; /** * Renders the features on the specified map. If map is set to * null, the features will be removed from the map. */ - setMap(map: google.maps.Map|null): void; + setMap(map: google.maps.Map | null): void; /** * Sets the style for all features in the collection. Styles specified on a * per-feature basis via overrideStyle() continue to apply. @@ -608,8 +628,12 @@ declare namespace google.maps { * that computes the style for each feature. The function will be called * every time a feature's properties are updated. */ - setStyle(style: (google.maps.Data.StylingFunction)| - google.maps.Data.StyleOptions|null): void; + setStyle( + style: + | google.maps.Data.StylingFunction + | google.maps.Data.StyleOptions + | null, + ): void; /** * Exports the features in the collection to a GeoJSON object. */ @@ -770,20 +794,20 @@ declare namespace google.maps { * google.maps.importLibrary("routes")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(opts?: google.maps.DirectionsRendererOptions|null); + constructor(opts?: google.maps.DirectionsRendererOptions | null); /** * Returns the renderer's current set of directions. */ - getDirections(): google.maps.DirectionsResult|null; + getDirections(): google.maps.DirectionsResult | null; /** * Returns the map on which the DirectionsResult is rendered. */ - getMap(): google.maps.Map|null; + getMap(): google.maps.Map | null; /** * Returns the panel <div> in which the * DirectionsResult is rendered. */ - getPanel(): HTMLElement|null; + getPanel(): HTMLElement | null; /** * Returns the current (zero-based) route index in use by this * DirectionsRenderer object. @@ -795,22 +819,22 @@ declare namespace google.maps { * manner will display the directions on the renderer's designated map * and panel. */ - setDirections(directions: google.maps.DirectionsResult|null): void; + setDirections(directions: google.maps.DirectionsResult | null): void; /** * This method specifies the map on which directions will be rendered. Pass * null to remove the directions from the map. */ - setMap(map: google.maps.Map|null): void; + setMap(map: google.maps.Map | null): void; /** * Change the options settings of this DirectionsRenderer after * initialization. */ - setOptions(options: google.maps.DirectionsRendererOptions|null): void; + setOptions(options: google.maps.DirectionsRendererOptions | null): void; /** * This method renders the directions in a <div>. Pass * null to remove the content from the panel. */ - setPanel(panel: HTMLElement|null): void; + setPanel(panel: HTMLElement | null): void; /** * Set the (zero-based) index of the route in the * DirectionsResult object to render. By default, the first @@ -828,18 +852,18 @@ declare namespace google.maps { * panel, retrieved as a DirectionsResult object from * DirectionsService. */ - directions?: google.maps.DirectionsResult|null; + directions?: google.maps.DirectionsResult | null; /** * If true, allows the user to drag and modify the paths of * routes rendered by this DirectionsRenderer. */ - draggable?: boolean|null; + draggable?: boolean | null; /** * This property indicates whether the renderer should provide a * user-selectable list of routes shown in the directions panel. * @defaultValue false */ - hideRouteList?: boolean|null; + hideRouteList?: boolean | null; /** * The InfoWindow in which to render text information when a * marker is clicked. Existing info window content will be overwritten and @@ -848,54 +872,54 @@ declare namespace google.maps { * This property will be ignored if suppressInfoWindows is set * to true. */ - infoWindow?: google.maps.InfoWindow|null; + infoWindow?: google.maps.InfoWindow | null; /** * Map on which to display the directions. */ - map?: google.maps.Map|null; + map?: google.maps.Map | null; /** * Options for the markers. All markers rendered by the * DirectionsRenderer will use these options. */ - markerOptions?: google.maps.MarkerOptions|null; + markerOptions?: google.maps.MarkerOptions | null; /** * The <div> in which to display the directions steps. */ - panel?: HTMLElement|null; + panel?: HTMLElement | null; /** * Options for the polylines. All polylines rendered by the * DirectionsRenderer will use these options. */ - polylineOptions?: google.maps.PolylineOptions|null; + polylineOptions?: google.maps.PolylineOptions | null; /** * If this option is set to true or the map's center and * zoom were never set, the input map is centered and zoomed to the bounding * box of this set of directions. * @defaultValue false */ - preserveViewport?: boolean|null; + preserveViewport?: boolean | null; /** * The index of the route within the DirectionsResult object. * The default value is 0. */ - routeIndex?: number|null; + routeIndex?: number | null; /** * Suppress the rendering of the BicyclingLayer when bicycling * directions are requested. */ - suppressBicyclingLayer?: boolean|null; + suppressBicyclingLayer?: boolean | null; /** * Suppress the rendering of info windows. */ - suppressInfoWindows?: boolean|null; + suppressInfoWindows?: boolean | null; /** * Suppress the rendering of markers. */ - suppressMarkers?: boolean|null; + suppressMarkers?: boolean | null; /** * Suppress the rendering of polylines. */ - suppressPolylines?: boolean|null; + suppressPolylines?: boolean | null; } /** * A directions query to be sent to the LatLng, or a Place. Required. */ - destination: string|google.maps.LatLng|google.maps.Place| - google.maps.LatLngLiteral; + destination: + | string + | google.maps.LatLng + | google.maps.Place + | google.maps.LatLngLiteral; /** * Settings that apply only to requests where travelMode is * DRIVING. This object will have no effect for other travel @@ -935,7 +962,7 @@ declare namespace google.maps { * href="https://developers.google.com/maps/faq#languagesupport">list of * supported languages. */ - language?: string|null; + language?: string | null; /** * If set to true, the DirectionsService will * attempt to re-order the supplied intermediate waypoints to minimize @@ -948,8 +975,11 @@ declare namespace google.maps { * Location of origin. This can be specified as either a string to be * geocoded, or a LatLng, or a Place. Required. */ - origin: string|google.maps.LatLng|google.maps.Place| - google.maps.LatLngLiteral; + origin: + | string + | google.maps.LatLng + | google.maps.Place + | google.maps.LatLngLiteral; /** * Whether or not route alternatives should be provided. Optional. */ @@ -965,7 +995,7 @@ declare namespace google.maps { * (technically for the entity of "The United Kingdom of Great Britain * and Northern Ireland"). */ - region?: string|null; + region?: string | null; /** * Settings that apply only to requests where travelMode is * TRANSIT. This object will have no effect for other travel modes. @@ -1106,11 +1136,12 @@ declare namespace google.maps { * Issue a directions search request. */ route( - request: google.maps.DirectionsRequest, - callback?: - (a: google.maps.DirectionsResult|null, - b: google.maps.DirectionsStatus) => void): - Promise; + request: google.maps.DirectionsRequest, + callback?: ( + a: google.maps.DirectionsResult | null, + b: google.maps.DirectionsStatus, + ) => void, + ): Promise; } /** * The status returned by the DirectionsService on the completion @@ -1275,8 +1306,11 @@ declare namespace google.maps { * Waypoint location. Can be an address string, a LatLng, or a * Place. Optional. */ - location?: string|google.maps.LatLng|google.maps.LatLngLiteral| - google.maps.Place; + location?: + | string + | google.maps.LatLng + | google.maps.LatLngLiteral + | google.maps.Place; /** * If true, indicates that this waypoint is a stop between the * origin and destination. This has the effect of splitting the route into @@ -1352,8 +1386,12 @@ declare namespace google.maps { * or Place objects, to which to calculate distance and time. * Required. */ - destinations: Array; + destinations: ( + | string + | google.maps.LatLng + | google.maps.LatLngLiteral + | google.maps.Place + )[]; /** * Settings that apply only to requests where travelMode is * DRIVING. This object will have no effect for other travel @@ -1366,14 +1404,18 @@ declare namespace google.maps { * href="https://developers.google.com/maps/faq#languagesupport">list of * supported languages. */ - language?: string|null; + language?: string | null; /** * An array containing origin address strings, or LatLng, or * Place objects, from which to calculate distance and time. * Required. */ - origins: Array; + origins: ( + | string + | google.maps.LatLng + | google.maps.LatLngLiteral + | google.maps.Place + )[]; /** * Region code used as a bias for geocoding requests. The region code * accepts a travelMode is * TRANSIT. This object will have no effect for other travel modes. @@ -1479,11 +1521,12 @@ declare namespace google.maps { * Issues a distance matrix request. */ getDistanceMatrix( - request: google.maps.DistanceMatrixRequest, - callback?: - (a: google.maps.DistanceMatrixResponse|null, - b: google.maps.DistanceMatrixStatus) => void): - Promise; + request: google.maps.DistanceMatrixRequest, + callback?: ( + a: google.maps.DistanceMatrixResponse | null, + b: google.maps.DistanceMatrixStatus, + ) => void, + ): Promise; } /** * The top-level status about the request in general returned by the @@ -1582,7 +1625,7 @@ declare namespace google.maps { /** * The location of this elevation result. */ - location: google.maps.LatLng|null; + location: google.maps.LatLng | null; /** * The distance, in meters, between sample points from which the elevation * was interpolated. This property will be missing if the resolution is not @@ -1607,20 +1650,22 @@ declare namespace google.maps { * returned as distance-based samples along that path. */ getElevationAlongPath( - request: google.maps.PathElevationRequest, - callback?: - (a: google.maps.ElevationResult[]|null, - b: google.maps.ElevationStatus) => void): - Promise; + request: google.maps.PathElevationRequest, + callback?: ( + a: google.maps.ElevationResult[] | null, + b: google.maps.ElevationStatus, + ) => void, + ): Promise; /** * Makes an elevation request for a list of discrete locations. */ getElevationForLocations( - request: google.maps.LocationElevationRequest, - callback?: - (a: google.maps.ElevationResult[]|null, - b: google.maps.ElevationStatus) => void): - Promise; + request: google.maps.LocationElevationRequest, + callback?: ( + a: google.maps.ElevationResult[] | null, + b: google.maps.ElevationStatus, + ) => void, + ): Promise; } /** * The status returned by the ElevationService upon completion of @@ -1690,8 +1735,10 @@ declare namespace google.maps { * @param eventName Observed event. * @param handler Function to handle events. */ - addListener(eventName: string, handler: Function): - google.maps.MapsEventListener; + addListener( + eventName: string, + handler: Function, + ): google.maps.MapsEventListener; /** * Available only in the v=beta channel: https://goo.gle/3oAthT3. * The Dataset ID for this FeatureLayer. Only present if the @@ -1724,8 +1771,10 @@ declare namespace google.maps { * this FeatureLayer is not available, setting style does * nothing and logs an error. */ - style?: google.maps.FeatureStyleOptions|null| - (google.maps.FeatureStyleFunction); + style?: + | google.maps.FeatureStyleOptions + | null + | google.maps.FeatureStyleFunction; } /** * This object is returned from a mouse event on a FeatureLayer. @@ -1736,9 +1785,9 @@ declare namespace google.maps { */ features: google.maps.Feature[]; } - export type FeatureStyleFunction = - (a: google.maps.FeatureStyleFunctionOptions) => - google.maps.FeatureStyleOptions|null|undefined; + export type FeatureStyleFunction = ( + a: google.maps.FeatureStyleFunctionOptions, + ) => google.maps.FeatureStyleOptions | null | undefined; /** * Options passed to a FeatureStyleFunction. */ @@ -1807,7 +1856,7 @@ declare namespace google.maps { LOCALITY = 'LOCALITY', /** * Indicates a postal code as used to address postal mail within the - * country. + * country. Includes zip codes. */ POSTAL_CODE = 'POSTAL_CODE', /** @@ -1823,7 +1872,7 @@ declare namespace google.maps { * Position id. Used to specify the position of the control on the map. * @defaultValue {@link google.maps.ControlPosition.INLINE_END_BLOCK_START} */ - position?: google.maps.ControlPosition|null; + position?: google.maps.ControlPosition | null; } /** * A service for converting between an address and a LatLng. @@ -1837,11 +1886,14 @@ declare namespace google.maps { * Geocode a request. */ geocode( - request: google.maps.GeocoderRequest, - callback?: - ((a: google.maps.GeocoderResult[]|null, - b: google.maps.GeocoderStatus) => void)| - null): Promise; + request: google.maps.GeocoderRequest, + callback?: + | (( + a: google.maps.GeocoderResult[] | null, + b: google.maps.GeocoderStatus, + ) => void) + | null, + ): Promise; } /** * A single address component within a GeocoderResult. A full @@ -1956,11 +2008,11 @@ declare namespace google.maps { * Address to geocode. One, and only one, of address, * location and placeId must be supplied. */ - address?: string|null; + address?: string | null; /** * LatLngBounds within which to search. Optional. */ - bounds?: google.maps.LatLngBounds|google.maps.LatLngBoundsLiteral|null; + bounds?: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral | null; /** * Components are used to restrict results to a specific area. A filter * consists of one or more of: route, locality, @@ -1969,14 +2021,14 @@ declare namespace google.maps { * returned. Filter values support the same methods of spelling correction * and partial matching as other geocoding requests. Optional. */ - componentRestrictions?: google.maps.GeocoderComponentRestrictions|null; + componentRestrictions?: google.maps.GeocoderComponentRestrictions | null; /** * A language identifier for the language in which results should be * returned, when possible. See the list of * supported languages. */ - language?: string|null; + language?: string | null; /** * LatLng (or LatLngLiteral) for which to search. * The geocoder performs a reverse geocode. See address, location and placeId must * be supplied. */ - location?: google.maps.LatLng|google.maps.LatLngLiteral|null; + location?: google.maps.LatLng | google.maps.LatLngLiteral | null; /** * The place ID associated with the location. Place IDs uniquely identify a * place in the Google Places database and on Google Maps. Learn more about @@ -1998,14 +2050,14 @@ declare namespace google.maps { * address, location and placeId must * be supplied. */ - placeId?: string|null; + placeId?: string | null; /** * Country code used to bias the search, specified as a two-character * (non-numeric) Unicode region subtag / CLDR identifier. Optional. See Google Maps Platform * Coverage Details for supported regions. */ - region?: string|null; + region?: string | null; } /** * A Geocoder response returned by the {@link google.maps.Geocoder} containing @@ -2136,17 +2188,18 @@ declare namespace google.maps { * https://developers.google.com/maps/documentation/javascript/libraries. */ constructor( - url: string, - bounds: google.maps.LatLngBounds|null|google.maps.LatLngBoundsLiteral, - opts?: google.maps.GroundOverlayOptions|null); + url: string, + bounds: google.maps.LatLngBounds | null | google.maps.LatLngBoundsLiteral, + opts?: google.maps.GroundOverlayOptions | null, + ); /** * Gets the LatLngBounds of this overlay. */ - getBounds(): google.maps.LatLngBounds|null; + getBounds(): google.maps.LatLngBounds | null; /** * Returns the map on which this ground overlay is displayed. */ - getMap(): google.maps.Map|null; + getMap(): google.maps.Map | null; /** * Returns the opacity of this ground overlay. */ @@ -2159,7 +2212,7 @@ declare namespace google.maps { * Renders the ground overlay on the specified map. If map is set to * null, the overlay is removed. */ - setMap(map: google.maps.Map|null): void; + setMap(map: google.maps.Map | null): void; /** * Sets the opacity of this ground overlay. */ @@ -2173,17 +2226,17 @@ declare namespace google.maps { /** * If true, the ground overlay can receive mouse events. */ - clickable?: boolean|null; + clickable?: boolean | null; /** * The map on which to display the overlay. */ - map?: google.maps.Map|null; + map?: google.maps.Map | null; /** * The opacity of the overlay, expressed as a number between 0 and 1. * Optional. * @defaultValue 1.0 */ - opacity?: number|null; + opacity?: number | null; } /** * A structure representing a Marker icon image. @@ -2194,29 +2247,29 @@ declare namespace google.maps { * location of the marker on the map. By default, the anchor is located * along the center point of the bottom of the image. */ - anchor?: google.maps.Point|null; + anchor?: google.maps.Point | null; /** * The origin of the label relative to the top-left corner of the icon * image, if a label is supplied by the marker. By default, the origin is * located in the center point of the image. */ - labelOrigin?: google.maps.Point|null; + labelOrigin?: google.maps.Point | null; /** * The position of the image within a sprite, if any. By default, the origin * is located at the top left corner of the image (0, 0). */ - origin?: google.maps.Point|null; + origin?: google.maps.Point | null; /** * The size of the entire image after scaling, if any. Use this property to * stretch/shrink an image or a sprite. */ - scaledSize?: google.maps.Size|null; + scaledSize?: google.maps.Size | null; /** * The display size of the sprite or image. When using sprites, you must * specify the sprite size. If the size is not provided, it will be set when * the image loads. */ - size?: google.maps.Size|null; + size?: google.maps.Size | null; /** * The URL of the image or sprite sheet. */ @@ -2238,7 +2291,7 @@ declare namespace google.maps { * href="https://developers.google.com/maps/documentation/places/web-service/place-id">place * IDs in the Places API developer guide. */ - placeId: string|null; + placeId: string | null; } /** * Describes how icons are to be rendered on a line.

If your polyline @@ -2258,7 +2311,7 @@ declare namespace google.maps { /** * The icon to render on the line. */ - icon?: google.maps.Symbol|null; + icon?: google.maps.Symbol | null; /** * The distance from the start of the line at which an icon is to be * rendered. This distance may be expressed as a percentage of line's @@ -2285,8 +2338,10 @@ declare namespace google.maps { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - export class ImageMapType extends google.maps.MVCObject implements - google.maps.MapType { + export class ImageMapType + extends google.maps.MVCObject + implements google.maps.MapType + { /** * This class implements the MapType interface and is provided for rendering * image tiles. @@ -2295,8 +2350,8 @@ declare namespace google.maps { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(opts: google.maps.ImageMapTypeOptions|null); - alt: string|null; + constructor(opts: google.maps.ImageMapTypeOptions | null); + alt: string | null; /** * Returns the opacity level (0 (transparent) to * 1.0) of the ImageMapType tiles. @@ -2308,24 +2363,26 @@ declare namespace google.maps { * @param ownerDocument The document which owns this tile. */ getTile( - tileCoord: google.maps.Point|null, zoom: number, - ownerDocument: Document|null): Element|null; + tileCoord: google.maps.Point | null, + zoom: number, + ownerDocument: Document | null, + ): Element | null; maxZoom: number; minZoom: number; - name: string|null; - projection: google.maps.Projection|null; + name: string | null; + projection: google.maps.Projection | null; radius: number; /** * @param tileDiv Tile to release. */ - releaseTile(tileDiv: Element|null): void; + releaseTile(tileDiv: Element | null): void; /** * Sets the opacity level (0 (transparent) to 1.0) * of the ImageMapType tiles. * @param opacity The new opacity. */ setOpacity(opacity: number): void; - tileSize: google.maps.Size|null; + tileSize: google.maps.Size | null; } /** * This class is used to create a MapType that renders image tiles. @@ -2335,34 +2392,34 @@ declare namespace google.maps { * Alt text to display when this MapType's button is hovered over in the * MapTypeControl. */ - alt?: string|null; + alt?: string | null; /** * Returns a string (URL) for given tile coordinate (x, y) and zoom level. */ - getTileUrl?: ((a: google.maps.Point, b: number) => string | null)|null; + getTileUrl?: ((a: google.maps.Point, b: number) => string | null) | null; /** * The maximum zoom level for the map when displaying this MapType. */ - maxZoom?: number|null; + maxZoom?: number | null; /** * The minimum zoom level for the map when displaying this MapType. * Optional. */ - minZoom?: number|null; + minZoom?: number | null; /** * Name to display in the MapTypeControl. */ - name?: string|null; + name?: string | null; /** * The opacity to apply to the tiles. The opacity should be specified as a * float value between 0 and 1.0, where 0 is fully transparent and 1 is * fully opaque. */ - opacity?: number|null; + opacity?: number | null; /** * The tile size. */ - tileSize?: google.maps.Size|null; + tileSize?: google.maps.Size | null; } /** * An overlay that looks like a bubble and is often connected to a marker. @@ -2381,7 +2438,7 @@ declare namespace google.maps { * google.maps.importLibrary("streetView")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(opts?: google.maps.InfoWindowOptions|null); + constructor(opts?: google.maps.InfoWindowOptions | null); /** * Closes this InfoWindow by removing it from the DOM structure. */ @@ -2393,8 +2450,8 @@ declare namespace google.maps { * InfoWindow that is not visible cannot be focused. */ focus(): void; - getContent(): string|Element|null|Text|undefined; - getPosition(): google.maps.LatLng|null|undefined; + getContent(): string | Element | null | Text | undefined; + getPosition(): google.maps.LatLng | null | undefined; getZIndex(): number; /** * Opens this InfoWindow on the given map. Optionally, an InfoWindow can be @@ -2416,20 +2473,27 @@ declare namespace google.maps { * map or panorama as the anchor (when available). */ open( - options?: google.maps.InfoWindowOpenOptions|null|google.maps.Map| - google.maps.StreetViewPanorama, - anchor?: google.maps.MVCObject|null| - google.maps.marker.AdvancedMarkerElement): void; + options?: + | google.maps.InfoWindowOpenOptions + | null + | google.maps.Map + | google.maps.StreetViewPanorama, + anchor?: + | google.maps.MVCObject + | null + | google.maps.marker.AdvancedMarkerElement, + ): void; /** * @param content The content to be displayed by this InfoWindow. */ - setContent(content?: string|Element|null|Text): void; - setOptions(options?: google.maps.InfoWindowOptions|null): void; + setContent(content?: string | Element | null | Text): void; + setOptions(options?: google.maps.InfoWindowOptions | null): void; /** * @param position The LatLng position at which to display this InfoWindow. */ - setPosition(position?: google.maps.LatLng|null| - google.maps.LatLngLiteral): void; + setPosition( + position?: google.maps.LatLng | null | google.maps.LatLngLiteral, + ): void; /** * @param zIndex The z-index for this InfoWindow. An InfoWindow with a * greater z-index will be displayed in front of all other InfoWindows @@ -2447,12 +2511,14 @@ declare namespace google.maps { * anchor. The InfoWindow will be rendered on the same map or panorama as * the anchor (when available). */ - anchor?: google.maps.MVCObject|null| - google.maps.marker.AdvancedMarkerElement; + anchor?: + | google.maps.MVCObject + | null + | google.maps.marker.AdvancedMarkerElement; /** * The map or panorama on which to render this InfoWindow. */ - map?: google.maps.Map|null|google.maps.StreetViewPanorama; + map?: google.maps.Map | null | google.maps.StreetViewPanorama; /** * Whether or not focus should be moved inside the InfoWindow when it is * opened. When this property is unset or when it is set to @@ -2461,7 +2527,7 @@ declare namespace google.maps { * explicitly set this property to fit your needs as the heuristic is * subject to change and may not work well for all use cases. */ - shouldFocus?: boolean|null; + shouldFocus?: boolean | null; } /** * InfoWindowOptions object used to define the properties that can be set on a @@ -2471,20 +2537,20 @@ declare namespace google.maps { /** * AriaLabel to assign to the InfoWindow. */ - ariaLabel?: string|null; + ariaLabel?: string | null; /** * Content to display in the InfoWindow. This can be an HTML element, a * plain-text string, or a string containing HTML. The InfoWindow will be * sized according to the content. To set an explicit size for the content, * set content to be a HTML element with that size. */ - content?: string|Element|Text|null; + content?: string | Element | Text | null; /** * Disable panning the map to make the InfoWindow fully visible when it * opens. * @defaultValue false */ - disableAutoPan?: boolean|null; + disableAutoPan?: boolean | null; /** * Maximum width of the InfoWindow, regardless of content's width. This * value is only considered if it is set before a call to @@ -2492,7 +2558,7 @@ declare namespace google.maps { * call close(), setOptions(), and then * open(). */ - maxWidth?: number|null; + maxWidth?: number | null; /** * Minimum width of the InfoWindow, regardless of the content's width. * When using this property, it is strongly recommended to set the @@ -2502,19 +2568,19 @@ declare namespace google.maps { * call close(), setOptions(), and then * open(). */ - minWidth?: number|null; + minWidth?: number | null; /** * The offset, in pixels, of the tip of the info window from the point on * the map at whose geographical coordinates the info window is anchored. If * an InfoWindow is opened with an anchor, the pixelOffset will * be calculated from the anchor's anchorPoint property. */ - pixelOffset?: google.maps.Size|null; + pixelOffset?: google.maps.Size | null; /** * The LatLng at which to display this InfoWindow. If the InfoWindow is * opened with an anchor, the anchor's position will be used instead. */ - position?: google.maps.LatLng|google.maps.LatLngLiteral|null; + position?: google.maps.LatLng | google.maps.LatLngLiteral | null; /** * All InfoWindows are displayed on the map in order of their zIndex, with * higher values displaying in front of InfoWindows with lower values. By @@ -2522,28 +2588,19 @@ declare namespace google.maps { * InfoWindows of lower latitudes appearing in front of InfoWindows at * higher latitudes. InfoWindows are always displayed in front of markers. */ - zIndex?: number|null; + zIndex?: number | null; } export interface JourneySharingLibrary { - AutomaticViewportMode: - typeof google.maps.journeySharing.AutomaticViewportMode; - DeliveryVehicleStopState: - typeof google.maps.journeySharing.DeliveryVehicleStopState; - FleetEngineFleetLocationProvider: - typeof google.maps.journeySharing.FleetEngineFleetLocationProvider; - FleetEngineServiceType: - typeof google.maps.journeySharing.FleetEngineServiceType; - FleetEngineShipmentLocationProvider: - typeof google.maps.journeySharing.FleetEngineShipmentLocationProvider; - FleetEngineTripLocationProvider: - typeof google.maps.journeySharing.FleetEngineTripLocationProvider; - FleetEngineVehicleLocationProvider: - typeof google.maps.journeySharing.FleetEngineVehicleLocationProvider; - JourneySharingMapView: - typeof google.maps.journeySharing.JourneySharingMapView; + AutomaticViewportMode: typeof google.maps.journeySharing.AutomaticViewportMode; + DeliveryVehicleStopState: typeof google.maps.journeySharing.DeliveryVehicleStopState; + FleetEngineFleetLocationProvider: typeof google.maps.journeySharing.FleetEngineFleetLocationProvider; + FleetEngineServiceType: typeof google.maps.journeySharing.FleetEngineServiceType; + FleetEngineShipmentLocationProvider: typeof google.maps.journeySharing.FleetEngineShipmentLocationProvider; + FleetEngineTripLocationProvider: typeof google.maps.journeySharing.FleetEngineTripLocationProvider; + FleetEngineVehicleLocationProvider: typeof google.maps.journeySharing.FleetEngineVehicleLocationProvider; + JourneySharingMapView: typeof google.maps.journeySharing.JourneySharingMapView; TripType: typeof google.maps.journeySharing.TripType; - VehicleNavigationStatus: - typeof google.maps.journeySharing.VehicleNavigationStatus; + VehicleNavigationStatus: typeof google.maps.journeySharing.VehicleNavigationStatus; VehicleState: typeof google.maps.journeySharing.VehicleState; VehicleType: typeof google.maps.journeySharing.VehicleType; WaypointType: typeof google.maps.journeySharing.WaypointType; @@ -2575,7 +2632,7 @@ declare namespace google.maps { * The feature's <atom:author>, extracted from the * layer markup (if specified). */ - author: google.maps.KmlAuthor|null; + author: google.maps.KmlAuthor | null; /** * The feature's <description>, extracted from the * layer markup. @@ -2624,20 +2681,20 @@ declare namespace google.maps { * https://developers.google.com/maps/documentation/javascript/libraries. * @param opts Options for this layer. */ - constructor(opts?: google.maps.KmlLayerOptions|null); + constructor(opts?: google.maps.KmlLayerOptions | null); /** * Get the default viewport for the layer being displayed. */ - getDefaultViewport(): google.maps.LatLngBounds|null; + getDefaultViewport(): google.maps.LatLngBounds | null; /** * Get the map on which the KML Layer is being rendered. */ - getMap(): google.maps.Map|null; + getMap(): google.maps.Map | null; /** * Get the metadata associated with this layer, as specified in the layer * markup. */ - getMetadata(): google.maps.KmlLayerMetadata|null; + getMetadata(): google.maps.KmlLayerMetadata | null; /** * Get the status of the layer, set once the requested document has loaded. */ @@ -2654,8 +2711,8 @@ declare namespace google.maps { * Renders the KML Layer on the specified map. If map is set to * null, the layer is removed. */ - setMap(map: google.maps.Map|null): void; - setOptions(options: google.maps.KmlLayerOptions|null): void; + setMap(map: google.maps.Map | null): void; + setOptions(options: google.maps.KmlLayerOptions | null): void; /** * Sets the URL of the KML file to display. */ @@ -2674,7 +2731,7 @@ declare namespace google.maps { * The layer's <atom:author>, extracted from the * layer markup. */ - author: google.maps.KmlAuthor|null; + author: google.maps.KmlAuthor | null; /** * The layer's <description>, extracted from the * layer markup. @@ -2704,35 +2761,35 @@ declare namespace google.maps { * If true, the layer receives mouse events. * @defaultValue true */ - clickable?: boolean|null; + clickable?: boolean | null; /** * The map on which to display the layer. */ - map?: google.maps.Map|null; + map?: google.maps.Map | null; /** * If this option is set to true or if the map's center and * zoom were never set, the input map is centered and zoomed to the bounding * box of the contents of the layer. * @defaultValue false */ - preserveViewport?: boolean|null; + preserveViewport?: boolean | null; /** * Whether to render the screen overlays. * @defaultValue true */ - screenOverlays?: boolean|null; + screenOverlays?: boolean | null; /** * Suppress the rendering of info windows when layer features are clicked. */ - suppressInfoWindows?: boolean|null; + suppressInfoWindows?: boolean | null; /** * The URL of the KML document to display. */ - url?: string|null; + url?: string | null; /** * The z-index of the layer. */ - zIndex?: number|null; + zIndex?: number | null; } /** * The status returned by KmlLayer on the completion of loading a @@ -2790,15 +2847,15 @@ declare namespace google.maps { * A KmlFeatureData object, containing information about the * clicked feature. */ - featureData: google.maps.KmlFeatureData|null; + featureData: google.maps.KmlFeatureData | null; /** * The position at which to anchor an infowindow on the clicked feature. */ - latLng: google.maps.LatLng|null; + latLng: google.maps.LatLng | null; /** * The offset to apply to an infowindow anchored on the clicked feature. */ - pixelOffset: google.maps.Size|null; + pixelOffset: google.maps.Size | null; } /** * A LatLng is a point in geographical coordinates: latitude and @@ -2867,13 +2924,17 @@ declare namespace google.maps { * https://developers.google.com/maps/documentation/javascript/libraries. */ constructor( - latOrLatLngOrLatLngLiteral: number|google.maps.LatLngLiteral| - google.maps.LatLng, - lngOrNoClampNoWrap?: number|boolean|null, noClampNoWrap?: boolean); + latOrLatLngOrLatLngLiteral: + | number + | google.maps.LatLngLiteral + | google.maps.LatLng, + lngOrNoClampNoWrap?: number | boolean | null, + noClampNoWrap?: boolean, + ); /** * Comparison function. */ - equals(other: google.maps.LatLng|null): boolean; + equals(other: google.maps.LatLng | null): boolean; /** * Returns the latitude in degrees. */ @@ -2915,8 +2976,9 @@ declare namespace google.maps { * google.maps.importLibrary("core")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - export class LatLngAltitude implements google.maps.LatLngAltitudeLiteral, - google.maps.LatLngLiteral { + export class LatLngAltitude + implements google.maps.LatLngAltitudeLiteral, google.maps.LatLngLiteral + { /** * A LatLngAltitude is a 3D point in geographical coordinates: * latitude, longitude, and altitude.
  • Latitude ranges between @@ -2943,9 +3005,12 @@ declare namespace google.maps { * longitude wrapping. */ constructor( - value: google.maps.LatLngAltitudeLiteral|google.maps.LatLng| - google.maps.LatLngLiteral, - noClampNoWrap?: boolean); + value: + | google.maps.LatLngAltitudeLiteral + | google.maps.LatLng + | google.maps.LatLngLiteral, + noClampNoWrap?: boolean, + ); /** * Returns the altitude. */ @@ -2954,7 +3019,7 @@ declare namespace google.maps { * Comparison function. * @param other Another LatLngAltitude object. */ - equals(other: google.maps.LatLngAltitude|null): boolean; + equals(other: google.maps.LatLngAltitude | null): boolean; /** * Returns the latitude. */ @@ -3011,25 +3076,31 @@ declare namespace google.maps { * https://developers.google.com/maps/documentation/javascript/libraries. */ constructor( - swOrLatLngBounds?: google.maps.LatLng|null| - google.maps.LatLngLiteral|google.maps.LatLngBounds| - google.maps.LatLngBoundsLiteral, - ne?: google.maps.LatLng|null|google.maps.LatLngLiteral); + swOrLatLngBounds?: + | google.maps.LatLng + | null + | google.maps.LatLngLiteral + | google.maps.LatLngBounds + | google.maps.LatLngBoundsLiteral, + ne?: google.maps.LatLng | null | google.maps.LatLngLiteral, + ); /** * Returns true if the given lat/lng is in this bounds. */ - contains(latLng: google.maps.LatLng|google.maps.LatLngLiteral): boolean; + contains(latLng: google.maps.LatLng | google.maps.LatLngLiteral): boolean; /** * Returns true if this bounds approximately equals the given * bounds. */ - equals(other: google.maps.LatLngBounds|null| - google.maps.LatLngBoundsLiteral): boolean; + equals( + other: google.maps.LatLngBounds | null | google.maps.LatLngBoundsLiteral, + ): boolean; /** * Extends this bounds to contain the given point. */ - extend(point: google.maps.LatLng| - google.maps.LatLngLiteral): google.maps.LatLngBounds; + extend( + point: google.maps.LatLng | google.maps.LatLngLiteral, + ): google.maps.LatLngBounds; /** * Computes the center of this LatLngBounds */ @@ -3046,8 +3117,9 @@ declare namespace google.maps { * Returns true if this bounds shares any points with the other * bounds. */ - intersects(other: google.maps.LatLngBounds| - google.maps.LatLngBoundsLiteral): boolean; + intersects( + other: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral, + ): boolean; /** * Returns if the bounds are empty. */ @@ -3075,8 +3147,9 @@ declare namespace google.maps { /** * Extends this bounds to contain the union of this and the given bounds. */ - union(other: google.maps.LatLngBounds| - google.maps.LatLngBoundsLiteral): google.maps.LatLngBounds; + union( + other: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral, + ): google.maps.LatLngBounds; /** * LatLngBounds for the max bounds of the Earth. These bounds will encompass * the entire globe. @@ -3151,7 +3224,7 @@ declare namespace google.maps { /** * The discrete locations for which to retrieve elevations. */ - locations?: Array|null; + locations?: (google.maps.LatLng | google.maps.LatLngLiteral)[] | null; } /** * An elevation response returned by the {@link google.maps.ElevationService} @@ -3176,7 +3249,7 @@ declare namespace google.maps { * google.maps.importLibrary("core")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(array?: T[]|null); + constructor(array?: T[] | null); /** * Removes all elements from the array. */ @@ -3239,14 +3312,19 @@ declare namespace google.maps { * identifier for this listener that can be used with * google.maps.event.removeListener. */ - addListener(eventName: string, handler: Function): - google.maps.MapsEventListener; + addListener( + eventName: string, + handler: Function, + ): google.maps.MapsEventListener; /** * Binds a View to a Model. */ bindTo( - key: string, target: google.maps.MVCObject, targetKey?: string|null, - noNotify?: boolean): void; + key: string, + target: google.maps.MVCObject, + targetKey?: string | null, + noNotify?: boolean, + ): void; /** * Gets a value. */ @@ -3264,7 +3342,7 @@ declare namespace google.maps { /** * Sets a collection of key-value pairs. */ - setValues(values?: object|null): void; + setValues(values?: object | null): void; /** * Removes a binding. Unbinding will set the unbound property to the current * value. The object will not be notified, as the value has not changed. @@ -3294,7 +3372,7 @@ declare namespace google.maps { * MVCArray corresponding to the ControlPosition * where it should be rendered. */ - controls: Array>; + controls: google.maps.MVCArray[]; /** * An instance of Data, bound to the map. Add features to this * Data object to conveniently display them on this map. @@ -3318,8 +3396,9 @@ declare namespace google.maps { * fitBounds idempotent on the result of getBounds. */ fitBounds( - bounds: google.maps.LatLngBounds|google.maps.LatLngBoundsLiteral, - padding?: number|google.maps.Padding): void; + bounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral, + padding?: number | google.maps.Padding, + ): void; /** * Returns the lat/lng bounds of the current viewport. If more than one copy * of the world is visible, the bounds range in longitude from -180 to 180 @@ -3331,7 +3410,7 @@ declare namespace google.maps { * google.maps.MapCanvasProjection.getVisibleRegion} for getting the exact * visible region of the map's viewport. */ - getBounds(): google.maps.LatLngBounds|undefined; + getBounds(): google.maps.LatLngBounds | undefined; /** * Returns the position displayed at the center of the map. Note that * this {@link google.maps.LatLng} object is not wrapped. See @@ -3339,13 +3418,13 @@ declare namespace google.maps { * center or bounds have not been set then the result is * undefined. */ - getCenter(): google.maps.LatLng|undefined; + getCenter(): google.maps.LatLng | undefined; /** * Returns the clickability of the map icons. A map icon represents a point * of interest, also known as a POI. If the returned value is * true, then the icons are clickable on the map. */ - getClickableIcons(): boolean|undefined; + getClickableIcons(): boolean | undefined; /** * Available only in the v=beta channel: https://goo.gle/3oAthT3. * Returns the FeatureLayer for the specified @@ -3367,27 +3446,28 @@ declare namespace google.maps { * FeatureLayer enabled in the map style), this logs an error, * and the resulting FeatureLayer.isAvailable will be false. */ - getFeatureLayer(featureType: google.maps.FeatureType): - google.maps.FeatureLayer; + getFeatureLayer( + featureType: google.maps.FeatureType, + ): google.maps.FeatureLayer; /** * Returns the compass heading of the map. The heading value is measured in * degrees (clockwise) from cardinal direction North. If the map is not yet * initialized then the result is undefined. */ - getHeading(): number|undefined; + getHeading(): number | undefined; /** * Informs the caller of the current capabilities available to the map based * on the Map ID that was provided. */ getMapCapabilities(): google.maps.MapCapabilities; - getMapTypeId(): string|undefined; + getMapTypeId(): string | undefined; /** * Returns the current Projection. If the map is not yet * initialized then the result is undefined. Listen to the * projection_changed event and check its value to ensure it is * not undefined. */ - getProjection(): google.maps.Projection|undefined; + getProjection(): google.maps.Projection | undefined; /** * Returns the current RenderingType of the map. */ @@ -3407,12 +3487,12 @@ declare namespace google.maps { * 45° imagery. This method does not return the value set by * setTilt. See setTilt for details. */ - getTilt(): number|undefined; + getTilt(): number | undefined; /** * Returns the zoom of the map. If the zoom has not been set then the result * is undefined. */ - getZoom(): number|undefined; + getZoom(): number | undefined; /** * A registry of MapType instances by string ID. */ @@ -3428,7 +3508,7 @@ declare namespace google.maps { * the overlayMapTypes array (overlays with higher index values * are displayed in front of overlays with lower index values). */ - overlayMapTypes: google.maps.MVCArray; + overlayMapTypes: google.maps.MVCArray; /** * Changes the center of the map by the given distance in pixels. If the * distance is less than both the width and height of the map, the @@ -3445,7 +3525,7 @@ declare namespace google.maps { * will be smoothly animated. * @param latLng The new center latitude/longitude of the map. */ - panTo(latLng: google.maps.LatLng|google.maps.LatLngLiteral): void; + panTo(latLng: google.maps.LatLng | google.maps.LatLngLiteral): void; /** * Pans the map by the minimum amount necessary to contain the given * LatLngBounds. It makes no guarantee where on the map the @@ -3458,9 +3538,10 @@ declare namespace google.maps { * padding on all 4 sides. The default value is 0. */ panToBounds( - latLngBounds: google.maps.LatLngBounds|google.maps.LatLngBoundsLiteral, - padding?: number|google.maps.Padding): void; - setCenter(latlng: google.maps.LatLng|google.maps.LatLngLiteral): void; + latLngBounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral, + padding?: number | google.maps.Padding, + ): void; + setCenter(latlng: google.maps.LatLng | google.maps.LatLngLiteral): void; /** * Controls whether the map icons are clickable or not. A map icon * represents a point of interest, also known as a POI. To disable the @@ -3475,7 +3556,7 @@ declare namespace google.maps { */ setHeading(heading: number): void; setMapTypeId(mapTypeId: string): void; - setOptions(options: google.maps.MapOptions|null): void; + setOptions(options: google.maps.MapOptions | null): void; /** * Binds a StreetViewPanorama to the map. This panorama * overrides the default StreetViewPanorama, allowing the map @@ -3483,7 +3564,7 @@ declare namespace google.maps { * to null binds the default embedded panorama back to the map. * @param panorama The panorama to bind to the map. */ - setStreetView(panorama: google.maps.StreetViewPanorama|null): void; + setStreetView(panorama: google.maps.StreetViewPanorama | null): void; /** * For vector maps, sets the angle of incidence of the map. The allowed * values are restricted depending on the zoom level of the map. For raster @@ -3528,34 +3609,37 @@ declare namespace google.maps { * map's container. */ fromContainerPixelToLatLng( - pixel: google.maps.Point|null, - noClampNoWrap?: boolean): google.maps.LatLng|null; + pixel: google.maps.Point | null, + noClampNoWrap?: boolean, + ): google.maps.LatLng | null; /** * Computes the geographical coordinates from pixel coordinates in the div * that holds the draggable map. */ fromDivPixelToLatLng( - pixel: google.maps.Point|null, - noClampNoWrap?: boolean): google.maps.LatLng|null; + pixel: google.maps.Point | null, + noClampNoWrap?: boolean, + ): google.maps.LatLng | null; /** * Computes the pixel coordinates of the given geographical location in the * map's container element. */ - fromLatLngToContainerPixel(latLng: google.maps.LatLng| - google.maps.LatLngLiteral): google.maps.Point - |null; + fromLatLngToContainerPixel( + latLng: google.maps.LatLng | google.maps.LatLngLiteral, + ): google.maps.Point | null; /** * Computes the pixel coordinates of the given geographical location in the * DOM element that holds the draggable map. */ - fromLatLngToDivPixel(latLng: google.maps.LatLng|null| - google.maps.LatLngLiteral): google.maps.Point|null; + fromLatLngToDivPixel( + latLng: google.maps.LatLng | null | google.maps.LatLngLiteral, + ): google.maps.Point | null; /** * The visible region of the map. Returns null if the map has * no size. Returns null if the OverlayView is on a * StreetViewPanorama. */ - getVisibleRegion(): google.maps.VisibleRegion|null; + getVisibleRegion(): google.maps.VisibleRegion | null; /** * The width of the world in pixels in the current zoom level. For * projections with a heading angle of either 90 or 270 degrees, this @@ -3605,8 +3689,10 @@ declare namespace google.maps { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - export class MapElement extends HTMLElement implements - google.maps.MapElementOptions { + export class MapElement + extends HTMLElement + implements google.maps.MapElementOptions + { /** * Available only in the v=beta channel: https://goo.gle/3oAthT3. * @@ -3624,11 +3710,11 @@ declare namespace google.maps { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(); + constructor(options?: google.maps.MapElementOptions); /** * The center latitude/longitude of the map. */ - center: google.maps.LatLng|google.maps.LatLngLiteral|null; + center: google.maps.LatLng | google.maps.LatLngLiteral | null; /** * A reference to the {@link google.maps.Map} that the MapElement uses * internally. @@ -3639,11 +3725,11 @@ declare namespace google.maps { * href="https://developers.google.com/maps/documentation/get-map-id">Map ID * documentation for more information. */ - mapId: string|null; + mapId: string | null; /** * The zoom level of the map. */ - zoom: number|null; + zoom: number | null; } /** * Available only in the v=beta channel: https://goo.gle/3oAthT3. @@ -3655,21 +3741,21 @@ declare namespace google.maps { /** * The initial Map center. */ - center?: google.maps.LatLng|google.maps.LatLngLiteral|null; + center?: google.maps.LatLng | google.maps.LatLngLiteral | null; /** * The Map * ID of the map. This parameter cannot be set or changed after a map is * instantiated. */ - mapId?: string|null; + mapId?: string | null; /** * The initial Map zoom level. Valid zoom values are numbers from zero up to * the supported maximum * zoom level. Larger zoom values correspond to a higher resolution. */ - zoom?: number|null; + zoom?: number | null; } /** * This object is returned from various mouse events on the map and overlays, @@ -3687,11 +3773,11 @@ declare namespace google.maps { * google.maps.MapMouseEvent} "click" may have a * domEvent of type KeyboardEvent). */ - domEvent: MouseEvent|TouchEvent|PointerEvent|KeyboardEvent|Event; + domEvent: MouseEvent | TouchEvent | PointerEvent | KeyboardEvent | Event; /** * The latitude/longitude that was below the cursor when the event occurred. */ - latLng: google.maps.LatLng|null; + latLng: google.maps.LatLng | null; /** * Prevents this event from propagating further. */ @@ -3706,17 +3792,17 @@ declare namespace google.maps { * when tiles have not yet loaded as the user pans. This option can only be * set when the map is initialized. */ - backgroundColor?: string|null; + backgroundColor?: string | null; /** * The initial Map center. */ - center?: google.maps.LatLng|null|google.maps.LatLngLiteral; + center?: google.maps.LatLng | null | google.maps.LatLngLiteral; /** * When false, map icons are not clickable. A map icon * represents a point of interest, also known as a POI. * @defaultValue true */ - clickableIcons?: boolean|null; + clickableIcons?: boolean | null; /** * Size in pixels of the controls appearing on the map. This value must be * supplied directly when creating the Map, updating this value later may @@ -3724,7 +3810,7 @@ declare namespace google.maps { * controls made by the Maps API itself. Does not scale developer created * custom controls. */ - controlSize?: number|null; + controlSize?: number | null; /** * Enables/disables all default UI buttons. May be overridden individually. * Does not disable the keyboard controls, which are separately controlled @@ -3732,14 +3818,14 @@ declare namespace google.maps { * disable gesture controls, which are separately controlled by the {@link * google.maps.MapOptions.gestureHandling} option. */ - disableDefaultUI?: boolean|null; + disableDefaultUI?: boolean | null; /** * Enables/disables zoom and center on double click. Enabled by default. *

    Note: This property is not * recommended. To disable zooming on double click, you can use the * gestureHandling property, and set it to "none". */ - disableDoubleClickZoom?: boolean|null; + disableDoubleClickZoom?: boolean | null; /** * If false, prevents the map from being dragged. Dragging is * enabled by default. @@ -3747,7 +3833,7 @@ declare namespace google.maps { * use the gestureHandling property, and set it to * "none". */ - draggable?: boolean|null; + draggable?: boolean | null; /** * The name or url of the cursor to display when mousing over a draggable * map. This property uses the css cursor attribute to change @@ -3757,7 +3843,7 @@ declare namespace google.maps { * href="http://www.example.com/icon.png">http://www.example.com/icon.png), * auto;'. */ - draggableCursor?: string|null; + draggableCursor?: string | null; /** * The name or url of the cursor to display when the map is being dragged. * This property uses the css cursor attribute to change the @@ -3766,15 +3852,15 @@ declare namespace google.maps { * href="http://www.example.com/icon.png">http://www.example.com/icon.png), * auto;'. */ - draggingCursor?: string|null; + draggingCursor?: string | null; /** * The enabled/disabled state of the Fullscreen control. */ - fullscreenControl?: boolean|null; + fullscreenControl?: boolean | null; /** * The display options for the Fullscreen control. */ - fullscreenControlOptions?: google.maps.FullscreenControlOptions|null; + fullscreenControlOptions?: google.maps.FullscreenControlOptions | null; /** * This setting controls how the API handles gestures on the map. Allowed * values:

    • "cooperative": Scroll events and @@ -3788,13 +3874,13 @@ declare namespace google.maps { * greedy, depending on whether the page is scrollable or in an iframe. *
    */ - gestureHandling?: string|null; + gestureHandling?: string | null; /** * The heading for aerial imagery in degrees measured clockwise from * cardinal direction North. Headings are snapped to the nearest available * angle for which imagery is available. */ - heading?: number|null; + heading?: number | null; /** * Whether the map should allow fractional zoom levels. Listen to * isfractionalzoomenabled_changed to know when the default has @@ -3802,31 +3888,31 @@ declare namespace google.maps { * @defaultValue true for vector maps and false * for raster maps */ - isFractionalZoomEnabled?: boolean|null; + isFractionalZoomEnabled?: boolean | null; /** * If false, prevents the map from being controlled by the * keyboard. Keyboard shortcuts are enabled by default. */ - keyboardShortcuts?: boolean|null; + keyboardShortcuts?: boolean | null; /** * The Map * ID of the map. This parameter cannot be set or changed after a map is * instantiated. */ - mapId?: string|null; + mapId?: string | null; /** * The initial enabled/disabled state of the Map type control. */ - mapTypeControl?: boolean|null; + mapTypeControl?: boolean | null; /** * The initial display options for the Map type control. */ - mapTypeControlOptions?: google.maps.MapTypeControlOptions|null; + mapTypeControlOptions?: google.maps.MapTypeControlOptions | null; /** * The initial Map mapTypeId. Defaults to ROADMAP. */ - mapTypeId?: string|null; + mapTypeId?: string | null; /** * The maximum zoom level which will be displayed on the map. If omitted, or * set to null, the maximum zoom from the current map type is @@ -3835,7 +3921,7 @@ declare namespace google.maps { * href="https://developers.google.com/maps/documentation/javascript/maxzoom">maximum * zoom level. */ - maxZoom?: number|null; + maxZoom?: number | null; /** * The minimum zoom level which will be displayed on the map. If omitted, or * set to null, the minimum zoom from the current map type is @@ -3844,43 +3930,43 @@ declare namespace google.maps { * href="https://developers.google.com/maps/documentation/javascript/maxzoom">maximum * zoom level. */ - minZoom?: number|null; + minZoom?: number | null; /** * If true, do not clear the contents of the Map div. */ - noClear?: boolean|null; + noClear?: boolean | null; /** * The enabled/disabled state of the Pan control.

    * @deprecated The Pan control is deprecated as of September 2015. */ - panControl?: boolean|null; + panControl?: boolean | null; /** * The display options for the Pan control.

    * @deprecated The Pan control is deprecated as of September 2015. */ - panControlOptions?: google.maps.PanControlOptions|null; + panControlOptions?: google.maps.PanControlOptions | null; /** * Defines a boundary that restricts the area of the map accessible to * users. When set, a user can only pan and zoom while the camera view stays * inside the limits of the boundary. */ - restriction?: google.maps.MapRestriction|null; + restriction?: google.maps.MapRestriction | null; /** * The enabled/disabled state of the Rotate control. */ - rotateControl?: boolean|null; + rotateControl?: boolean | null; /** * The display options for the Rotate control. */ - rotateControlOptions?: google.maps.RotateControlOptions|null; + rotateControlOptions?: google.maps.RotateControlOptions | null; /** * The initial enabled/disabled state of the Scale control. */ - scaleControl?: boolean|null; + scaleControl?: boolean | null; /** * The initial display options for the Scale control. */ - scaleControlOptions?: google.maps.ScaleControlOptions|null; + scaleControlOptions?: google.maps.ScaleControlOptions | null; /** * If false, disables zooming on the map using a mouse scroll * wheel. The scrollwheel is enabled by default.

    Note: @@ -3888,31 +3974,31 @@ declare namespace google.maps { * using scrollwheel, you can use the gestureHandling property, * and set it to either "cooperative" or "none". */ - scrollwheel?: boolean|null; + scrollwheel?: boolean | null; /** * A StreetViewPanorama to display when the Street View pegman * is dropped on the map. If no panorama is specified, a default * StreetViewPanorama will be displayed in the map's * div when the pegman is dropped. */ - streetView?: google.maps.StreetViewPanorama|null; + streetView?: google.maps.StreetViewPanorama | null; /** * The initial enabled/disabled state of the Street View Pegman control. * This control is part of the default UI, and should be set to * false when displaying a map type on which the Street View * road overlay should not appear (e.g. a non-Earth map type). */ - streetViewControl?: boolean|null; + streetViewControl?: boolean | null; /** * The initial display options for the Street View Pegman control. */ - streetViewControlOptions?: google.maps.StreetViewControlOptions|null; + streetViewControlOptions?: google.maps.StreetViewControlOptions | null; /** * Styles to apply to each of the default map types. Note that for * satellite/hybrid and terrain * modes, these styles will only apply to labels and geometry. */ - styles?: google.maps.MapTypeStyle[]|null; + styles?: google.maps.MapTypeStyle[] | null; /** * For vector maps, sets the angle of incidence of the map. The allowed * values are restricted depending on the zoom level of the map. For raster @@ -3931,22 +4017,22 @@ declare namespace google.maps { * do not bind() the tilt property; doing so may * yield unpredictable effects. */ - tilt?: number|null; + tilt?: number | null; /** * The initial Map zoom level. Valid zoom values are numbers from zero up to * the supported maximum * zoom level. Larger zoom values correspond to a higher resolution. */ - zoom?: number|null; + zoom?: number | null; /** * The enabled/disabled state of the Zoom control. */ - zoomControl?: boolean|null; + zoomControl?: boolean | null; /** * The display options for the Zoom control. */ - zoomControlOptions?: google.maps.ZoomControlOptions|null; + zoomControlOptions?: google.maps.ZoomControlOptions | null; } export interface MapPanes { /** @@ -3985,7 +4071,7 @@ declare namespace google.maps { * respectively, for example, latLngBounds: {north: northLat, south: * southLat, west: -180, east: 180}. */ - latLngBounds: google.maps.LatLngBounds|google.maps.LatLngBoundsLiteral; + latLngBounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral; /** * Bounds can be made more restrictive by setting the * strictBounds flag to true. This reduces how far @@ -4005,7 +4091,7 @@ declare namespace google.maps { * Alt text to display when this MapType's button is hovered over in the * MapTypeControl. Optional. */ - alt: string|null; + alt: string | null; /** * Returns a tile for the given tile coordinate (x, y) and zoom level. This * tile will be appended to the given ownerDocument. Not available for base @@ -4015,8 +4101,10 @@ declare namespace google.maps { * @param ownerDocument The document which owns this tile. */ getTile( - tileCoord: google.maps.Point|null, zoom: number, - ownerDocument: Document|null): Element|null; + tileCoord: google.maps.Point | null, + zoom: number, + ownerDocument: Document | null, + ): Element | null; /** * The maximum zoom level for the map when displaying this MapType. Required * for base MapTypes, ignored for overlay MapTypes. @@ -4030,12 +4118,12 @@ declare namespace google.maps { /** * Name to display in the MapTypeControl. Optional. */ - name: string|null; + name: string | null; /** * The Projection used to render this MapType. Optional; defaults to * Mercator. */ - projection: google.maps.Projection|null; + projection: google.maps.Projection | null; /** * Radius of the planet for the map, in meters. Optional; defaults to * Earth's equatorial radius of 6378137 meters. @@ -4046,11 +4134,11 @@ declare namespace google.maps { * tile will have already been removed from the document. Optional. * @param tile Tile to release. */ - releaseTile(tile: Element|null): void; + releaseTile(tile: Element | null): void; /** * The dimensions of each tile. Required. */ - tileSize: google.maps.Size|null; + tileSize: google.maps.Size | null; } /** * Options for the rendering of the map type control. @@ -4059,17 +4147,17 @@ declare namespace google.maps { /** * IDs of map types to show in the control. */ - mapTypeIds?: (string)[]|null; + mapTypeIds?: string[] | null; /** * Position id. Used to specify the position of the control on the map. * @defaultValue {@link * google.maps.ControlPosition.BLOCK_START_INLINE_START} */ - position?: google.maps.ControlPosition|null; + position?: google.maps.ControlPosition | null; /** * Style id. Used to select what style of map type control to display. */ - style?: google.maps.MapTypeControlStyle|null; + style?: google.maps.MapTypeControlStyle | null; } /** * Identifiers for common MapTypesControls. @@ -4157,7 +4245,7 @@ declare namespace google.maps { * href="https://developers.google.com/maps/documentation/javascript/style-reference#style-elements">style * reference. */ - elementType?: string|null; + elementType?: string | null; /** * The feature, or group of features, to which a styler should be applied. * Optional. If featureType is not specified, the value is @@ -4166,7 +4254,7 @@ declare namespace google.maps { * href="https://developers.google.com/maps/documentation/javascript/style-reference#style-features">style * reference. */ - featureType?: string|null; + featureType?: string | null; /** * The style rules to apply to the selected map features and elements. The * rules are applied in the order that you specify in this array. For @@ -4234,10 +4322,14 @@ declare namespace google.maps { /** * Identifies the type of error produced by the API. */ - code: google.maps.DirectionsStatus|google.maps.DistanceMatrixStatus| - google.maps.ElevationStatus|google.maps.GeocoderStatus| - google.maps.MaxZoomStatus|google.maps.places.PlacesServiceStatus| - google.maps.StreetViewStatus; + code: + | google.maps.DirectionsStatus + | google.maps.DistanceMatrixStatus + | google.maps.ElevationStatus + | google.maps.GeocoderStatus + | google.maps.MaxZoomStatus + | google.maps.places.PlacesServiceStatus + | google.maps.StreetViewStatus; /** * Represents the network service that responded with the error. */ @@ -4387,11 +4479,11 @@ declare namespace google.maps { * https://developers.google.com/maps/documentation/javascript/libraries. * @param opts Named optional arguments */ - constructor(opts?: google.maps.MarkerOptions|null); + constructor(opts?: google.maps.MarkerOptions | null); /** * Get the currently running animation. */ - getAnimation(): google.maps.Animation|null|undefined; + getAnimation(): google.maps.Animation | null | undefined; /** * Get the clickable status of the {@link google.maps.Marker}. */ @@ -4399,7 +4491,7 @@ declare namespace google.maps { /** * Get the mouse cursor type shown on hover. */ - getCursor(): string|null|undefined; + getCursor(): string | null | undefined; /** * Get the draggable status of the {@link google.maps.Marker}. */ @@ -4408,35 +4500,40 @@ declare namespace google.maps { * Get the icon of the {@link google.maps.Marker}. See {@link * google.maps.MarkerOptions.icon}. */ - getIcon(): string|google.maps.Icon|null|google.maps.Symbol|undefined; + getIcon(): + | string + | google.maps.Icon + | null + | google.maps.Symbol + | undefined; /** * Get the label of the {@link google.maps.Marker}. See {@link * google.maps.MarkerOptions.label}. */ - getLabel(): google.maps.MarkerLabel|null|string|undefined; + getLabel(): google.maps.MarkerLabel | null | string | undefined; /** * Get the map or panaroama the {@link google.maps.Marker} is rendered on. */ - getMap(): google.maps.Map|null|google.maps.StreetViewPanorama; + getMap(): google.maps.Map | null | google.maps.StreetViewPanorama; /** * Get the opacity of the {@link google.maps.Marker}. */ - getOpacity(): number|null|undefined; + getOpacity(): number | null | undefined; /** * Get the position of the {@link google.maps.Marker}. */ - getPosition(): google.maps.LatLng|null|undefined; + getPosition(): google.maps.LatLng | null | undefined; /** * Get the shape of the {@link google.maps.Marker} used for interaction. * See {@link google.maps.MarkerOptions.shape} and {@link * google.maps.MarkerShape}. */ - getShape(): google.maps.MarkerShape|null|undefined; + getShape(): google.maps.MarkerShape | null | undefined; /** * Get the title of the {@link google.maps.Marker} tooltip. See {@link * google.maps.MarkerOptions.title}. */ - getTitle(): string|null|undefined; + getTitle(): string | null | undefined; /** * Get the visibility of the {@link google.maps.Marker}. */ @@ -4445,7 +4542,7 @@ declare namespace google.maps { * Get the zIndex of the {@link google.maps.Marker}. See {@link * google.maps.MarkerOptions.zIndex}. */ - getZIndex(): number|null|undefined; + getZIndex(): number | null | undefined; /** * Start an animation. Any ongoing animation will be cancelled. Currently * supported animations are: {@link google.maps.Animation.BOUNCE}, {@link @@ -4453,7 +4550,7 @@ declare namespace google.maps { * animation to stop. * @param animation The animation to play. */ - setAnimation(animation?: google.maps.Animation|null): void; + setAnimation(animation?: google.maps.Animation | null): void; /** * Set if the {@link google.maps.Marker} is clickable. * @param flag If true, the Marker can be clicked. @@ -4463,55 +4560,56 @@ declare namespace google.maps { * Set the mouse cursor type shown on hover. * @param cursor Mouse cursor type. */ - setCursor(cursor?: string|null): void; + setCursor(cursor?: string | null): void; /** * Set if the {@link google.maps.Marker} is draggable. * @param flag If true, the Marker can be dragged. */ - setDraggable(flag: boolean|null): void; + setDraggable(flag: boolean | null): void; /** * Set the icon for the {@link google.maps.Marker}. See {@link * google.maps.MarkerOptions.icon}. */ - setIcon(icon?: string|google.maps.Icon|null|google.maps.Symbol): void; + setIcon(icon?: string | google.maps.Icon | null | google.maps.Symbol): void; /** * Set the label for the {@link google.maps.Marker}. See {@link * google.maps.MarkerOptions.label}. * @param label The label can either be a character string or a {@link * google.maps.MarkerLabel} object. */ - setLabel(label?: string|google.maps.MarkerLabel|null): void; + setLabel(label?: string | google.maps.MarkerLabel | null): void; /** * Renders the {@link google.maps.Marker} on the specified map or panorama. * If map is set to null, the marker will be removed. */ - setMap(map: google.maps.Map|null|google.maps.StreetViewPanorama): void; + setMap(map: google.maps.Map | null | google.maps.StreetViewPanorama): void; /** * Set the opacity of the {@link google.maps.Marker}. * @param opacity A number between 0.0, transparent, and 1.0, opaque. */ - setOpacity(opacity?: number|null): void; + setOpacity(opacity?: number | null): void; /** * Set the options for the {@link google.maps.Marker}. */ - setOptions(options: google.maps.MarkerOptions|null): void; + setOptions(options: google.maps.MarkerOptions | null): void; /** * Set the postition for the {@link google.maps.Marker}. * @param latlng The new position. */ - setPosition(latlng?: google.maps.LatLng|null| - google.maps.LatLngLiteral): void; + setPosition( + latlng?: google.maps.LatLng | null | google.maps.LatLngLiteral, + ): void; /** * Set the shape of the {@link google.maps.Marker} used for interaction. * See {@link google.maps.MarkerOptions.shape} and {@link * google.maps.MarkerShape}. */ - setShape(shape?: google.maps.MarkerShape|null): void; + setShape(shape?: google.maps.MarkerShape | null): void; /** * Set the title of the {@link google.maps.Marker} tooltip. See {@link * google.maps.MarkerOptions.title}. */ - setTitle(title?: string|null): void; + setTitle(title?: string | null): void; /** * Set if the {@link google.maps.Marker} is visible. * @param visible If true, the Marker is visible @@ -4521,7 +4619,7 @@ declare namespace google.maps { * Set the zIndex of the {@link google.maps.Marker}. See {@link * google.maps.MarkerOptions.zIndex}. */ - setZIndex(zIndex?: number|null): void; + setZIndex(zIndex?: number | null): void; /** * The maximum default z-index that the API will assign to a marker. You may * set a higher z-index to bring a marker to the front. @@ -4574,8 +4672,7 @@ declare namespace google.maps { text: string; } export interface MarkerLibrary { - AdvancedMarkerClickEvent: - typeof google.maps.marker.AdvancedMarkerClickEvent; + AdvancedMarkerClickEvent: typeof google.maps.marker.AdvancedMarkerClickEvent; AdvancedMarkerElement: typeof google.maps.marker.AdvancedMarkerElement; Animation: typeof google.maps.Animation; CollisionBehavior: typeof google.maps.CollisionBehavior; @@ -4591,17 +4688,17 @@ declare namespace google.maps { * The offset from the marker's position to the tip of an InfoWindow * that has been opened with the marker as anchor. */ - anchorPoint?: google.maps.Point|null; + anchorPoint?: google.maps.Point | null; /** * Which animation to play when marker is added to a map. * @defaultValue null */ - animation?: google.maps.Animation|null; + animation?: google.maps.Animation | null; /** * If true, the marker receives mouse and touch events. * @defaultValue true */ - clickable?: boolean|null; + clickable?: boolean | null; /** * Available only in the v=beta channel: https://goo.gle/3oAthT3. * Set a collision behavior for markers on vector maps. @@ -4610,28 +4707,28 @@ declare namespace google.maps { * Use {@link * google.maps.marker.AdvancedMarkerElement.collisionBehavior} instead. */ - collisionBehavior?: string|null; + collisionBehavior?: string | null; /** * If false, disables cross that appears beneath the marker * when dragging. * @defaultValue true */ - crossOnDrag?: boolean|null; + crossOnDrag?: boolean | null; /** * Mouse cursor type to show on hover. * @defaultValue pointer */ - cursor?: string|null; + cursor?: string | null; /** * If true, the marker can be dragged. * @defaultValue false */ - draggable?: boolean|null; + draggable?: boolean | null; /** * Icon for the foreground. If a string is provided, it is treated as though * it were an Icon with the string as url. */ - icon?: string|google.maps.Icon|null|google.maps.Symbol; + icon?: string | google.maps.Icon | null | google.maps.Symbol; /** * Adds a label to the marker. A marker label is a letter or number that * appears inside a marker. The label can either be a string, or a @@ -4642,18 +4739,18 @@ declare namespace google.maps { * currently only used for accessibility text for non-optimized markers. * @defaultValue null */ - label?: string|google.maps.MarkerLabel|null; + label?: string | google.maps.MarkerLabel | null; /** * Map on which to display Marker. The map is required to display the marker * and can be provided with {@link google.maps.Marker.setMap} if not * provided at marker construction. */ - map?: google.maps.Map|null|google.maps.StreetViewPanorama; + map?: google.maps.Map | null | google.maps.StreetViewPanorama; /** * A number between 0.0, transparent, and 1.0, opaque. * @defaultValue 1.0 */ - opacity?: number|null; + opacity?: number | null; /** * Optimization enhances performance by rendering many markers as a single * static element. This is useful in cases where a large number of markers @@ -4661,18 +4758,18 @@ declare namespace google.maps { * href="https://developers.google.com/maps/documentation/javascript/markers#optimize">marker * optimization. */ - optimized?: boolean|null; + optimized?: boolean | null; /** * Sets the marker position. A marker may be constructed but not displayed * until its position is provided - for example, by a user's actions or * choices. A marker position can be provided with {@link * google.maps.Marker.setPosition} if not provided at marker construction. */ - position?: google.maps.LatLng|null|google.maps.LatLngLiteral; + position?: google.maps.LatLng | null | google.maps.LatLngLiteral; /** * Image map region definition used for drag/click. */ - shape?: google.maps.MarkerShape|null; + shape?: google.maps.MarkerShape | null; /** * Rollover text. If provided, an accessibility text (e.g. for use with * screen readers) will be added to the marker with the provided value. @@ -4680,12 +4777,12 @@ declare namespace google.maps { * accessibility text for non-optimized markers. * @defaultValue undefined */ - title?: string|null; + title?: string | null; /** * If true, the marker is visible. * @defaultValue true */ - visible?: boolean|null; + visible?: boolean | null; /** * All markers are displayed on the map in order of their zIndex, with * higher values displaying in front of markers with lower values. By @@ -4693,7 +4790,7 @@ declare namespace google.maps { * screen, with lower markers appearing in front of markers further up the * screen. */ - zIndex?: number|null; + zIndex?: number | null; } /** * This object defines the clickable region of a marker image. The shape @@ -4720,7 +4817,7 @@ declare namespace google.maps { * the coordinates of the upper-left corner of the rectangle and x2,y2 are * the coordinates of the lower-right coordinates of the rectangle. */ - coords: number[]|null; + coords: number[] | null; /** * Describes the shape's type and can be circle, * poly or rect. @@ -4736,7 +4833,7 @@ declare namespace google.maps { * with {@link google.maps.MaxZoomService.getMaxZoomAtLatLng} (it is not * defined when using Promises). */ - status: google.maps.MaxZoomStatus|null; + status: google.maps.MaxZoomStatus | null; /** * The maximum zoom level found at the given LatLng. */ @@ -4759,9 +4856,9 @@ declare namespace google.maps { * passed a MaxZoomResult. */ getMaxZoomAtLatLng( - latlng: google.maps.LatLng|google.maps.LatLngLiteral, - callback?: (a: google.maps.MaxZoomResult) => void): - Promise; + latlng: google.maps.LatLng | google.maps.LatLngLiteral, + callback?: (a: google.maps.MaxZoomResult) => void, + ): Promise; } /** * The status returned by the MaxZoomService on the completion of @@ -4792,7 +4889,7 @@ declare namespace google.maps { * panorama. * @defaultValue {@link google.maps.ControlPosition.INLINE_END_BLOCK_END} */ - position?: google.maps.ControlPosition|null; + position?: google.maps.ControlPosition | null; } /** * You can implement this class if you want to display custom types of overlay @@ -4828,12 +4925,12 @@ declare namespace google.maps { * computationally expensive work in this method. */ draw(): void; - getMap(): google.maps.Map|null|google.maps.StreetViewPanorama; + getMap(): google.maps.Map | null | google.maps.StreetViewPanorama; /** * Returns the panes in which this OverlayView can be rendered. The panes * are not initialized until onAdd is called by the API. */ - getPanes(): google.maps.MapPanes|null; + getPanes(): google.maps.MapPanes | null; /** * Returns the MapCanvasProjection object associated with this * OverlayView. The projection is not initialized until @@ -4856,7 +4953,7 @@ declare namespace google.maps { * @param map The map or panorama. If null, the layer will be * removed. */ - setMap(map: google.maps.Map|null|google.maps.StreetViewPanorama): void; + setMap(map: google.maps.Map | null | google.maps.StreetViewPanorama): void; /** * Stops click, tap, drag, and wheel events on the element from bubbling up * to the map. Use this to prevent map dragging and zooming, as well as map @@ -4895,7 +4992,7 @@ declare namespace google.maps { * Position id. Used to specify the position of the control on the map. * @defaultValue {@link google.maps.ControlPosition.INLINE_END_BLOCK_END} */ - position?: google.maps.ControlPosition|null; + position?: google.maps.ControlPosition | null; } /** * Options for the Custom Pano Provider. @@ -4920,7 +5017,7 @@ declare namespace google.maps { /** * The path along which to collect elevation values. */ - path?: Array|null; + path?: (google.maps.LatLng | google.maps.LatLngLiteral)[] | null; /** * Required. The number of equidistant points along the given path for which * to retrieve elevation data, including the endpoints. The number of @@ -4951,7 +5048,7 @@ declare namespace google.maps { /** * The LatLng of the entity described by this place. */ - location?: google.maps.LatLng|null|google.maps.LatLngLiteral; + location?: google.maps.LatLng | null | google.maps.LatLngLiteral; /** * The place ID of the place (such as a business or point of interest). The * place ID is a unique identifier of a place in the Google Maps database. @@ -5010,8 +5107,7 @@ declare namespace google.maps { AuthorAttribution: typeof google.maps.places.AuthorAttribution; Autocomplete: typeof google.maps.places.Autocomplete; AutocompleteService: typeof google.maps.places.AutocompleteService; - AutocompleteSessionToken: - typeof google.maps.places.AutocompleteSessionToken; + AutocompleteSessionToken: typeof google.maps.places.AutocompleteSessionToken; BusinessStatus: typeof google.maps.places.BusinessStatus; OpeningHours: typeof google.maps.places.OpeningHours; OpeningHoursPeriod: typeof google.maps.places.OpeningHoursPeriod; @@ -5041,7 +5137,7 @@ declare namespace google.maps { /** * Compares two Points */ - equals(other: google.maps.Point|null): boolean; + equals(other: google.maps.Point | null): boolean; /** * Returns a string representation of this Point. */ @@ -5113,7 +5209,7 @@ declare namespace google.maps { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(opts?: google.maps.PolygonOptions|null); + constructor(opts?: google.maps.PolygonOptions | null); /** * Returns whether this shape can be dragged by the user. */ @@ -5125,7 +5221,7 @@ declare namespace google.maps { /** * Returns the map on which this shape is attached. */ - getMap(): google.maps.Map|null; + getMap(): google.maps.Map | null; /** * Retrieves the first path. */ @@ -5152,18 +5248,21 @@ declare namespace google.maps { * Renders this shape on the specified map. If map is set to * null, the shape will be removed. */ - setMap(map: google.maps.Map|null): void; - setOptions(options: google.maps.PolygonOptions|null): void; + setMap(map: google.maps.Map | null): void; + setOptions(options: google.maps.PolygonOptions | null): void; /** * Sets the first path. See PolygonOptions for more details. */ - setPath(path: google.maps.MVCArray| - Array): void; + setPath( + path: + | google.maps.MVCArray + | (google.maps.LatLng | google.maps.LatLngLiteral)[], + ): void; /** * Sets the path for this polygon. */ - setPaths(paths: google.maps.MVCArray|any[]): void; + setPaths(paths: google.maps.MVCArray | any[]): void; /** * Hides this poly if set to false. */ @@ -5178,28 +5277,28 @@ declare namespace google.maps { * Indicates whether this Polygon handles mouse events. * @defaultValue true */ - clickable?: boolean|null; + clickable?: boolean | null; /** * If set to true, the user can drag this shape over the map. * The geodesic property defines the mode of dragging. * @defaultValue false */ - draggable?: boolean|null; + draggable?: boolean | null; /** * If set to true, the user can edit this shape by dragging the * control points shown at the vertices and on each segment. * @defaultValue false */ - editable?: boolean|null; + editable?: boolean | null; /** * The fill color. All CSS3 colors are supported except for extended named * colors. */ - fillColor?: string|null; + fillColor?: string | null; /** * The fill opacity between 0.0 and 1.0 */ - fillOpacity?: number|null; + fillOpacity?: number | null; /** * When true, edges of the polygon are interpreted as geodesic * and will follow the curvature of the Earth. When false, @@ -5208,11 +5307,11 @@ declare namespace google.maps { * as the dimensions are maintained relative to the surface of the earth. * @defaultValue false */ - geodesic?: boolean|null; + geodesic?: boolean | null; /** * Map on which to display Polygon. */ - map?: google.maps.Map|null; + map?: google.maps.Map | null; /** * The ordered sequence of coordinates that designates a closed loop. Unlike * polylines, a polygon may consist of one or more paths. As a result, the @@ -5225,34 +5324,34 @@ declare namespace google.maps { * LatLngs from the MVCArray will automatically * update the polygon on the map. */ - paths?: google.maps.MVCArray|any[]|null; + paths?: google.maps.MVCArray | any[] | null; /** * The stroke color. All CSS3 colors are supported except for extended named * colors. */ - strokeColor?: string|null; + strokeColor?: string | null; /** * The stroke opacity between 0.0 and 1.0 */ - strokeOpacity?: number|null; + strokeOpacity?: number | null; /** * The stroke position. * @defaultValue {@link google.maps.StrokePosition.CENTER} */ - strokePosition?: google.maps.StrokePosition|null; + strokePosition?: google.maps.StrokePosition | null; /** * The stroke width in pixels. */ - strokeWeight?: number|null; + strokeWeight?: number | null; /** * Whether this polygon is visible on the map. * @defaultValue true */ - visible?: boolean|null; + visible?: boolean | null; /** * The zIndex compared to other polys. */ - zIndex?: number|null; + zIndex?: number | null; } /** * A polyline is a linear overlay of connected line segments on the map. @@ -5269,7 +5368,7 @@ declare namespace google.maps { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(opts?: google.maps.PolylineOptions|null); + constructor(opts?: google.maps.PolylineOptions | null); /** * Returns whether this shape can be dragged by the user. */ @@ -5281,7 +5380,7 @@ declare namespace google.maps { /** * Returns the map on which this shape is attached. */ - getMap(): google.maps.Map|null; + getMap(): google.maps.Map | null; /** * Retrieves the path. */ @@ -5304,14 +5403,17 @@ declare namespace google.maps { * Renders this shape on the specified map. If map is set to * null, the shape will be removed. */ - setMap(map: google.maps.Map|null): void; - setOptions(options: google.maps.PolylineOptions|null): void; + setMap(map: google.maps.Map | null): void; + setOptions(options: google.maps.PolylineOptions | null): void; /** * Sets the path. See PolylineOptions for more details. */ - setPath(path: google.maps.MVCArray| - Array): void; + setPath( + path: + | google.maps.MVCArray + | (google.maps.LatLng | google.maps.LatLngLiteral)[], + ): void; /** * Hides this poly if set to false. */ @@ -5326,19 +5428,19 @@ declare namespace google.maps { * Indicates whether this Polyline handles mouse events. * @defaultValue true */ - clickable?: boolean|null; + clickable?: boolean | null; /** * If set to true, the user can drag this shape over the map. * The geodesic property defines the mode of dragging. * @defaultValue false */ - draggable?: boolean|null; + draggable?: boolean | null; /** * If set to true, the user can edit this shape by dragging the * control points shown at the vertices and on each segment. * @defaultValue false */ - editable?: boolean|null; + editable?: boolean | null; /** * When true, edges of the polygon are interpreted as geodesic * and will follow the curvature of the Earth. When false, @@ -5347,15 +5449,15 @@ declare namespace google.maps { * as the dimensions are maintained relative to the surface of the earth. * @defaultValue false */ - geodesic?: boolean|null; + geodesic?: boolean | null; /** * The icons to be rendered along the polyline. */ - icons?: google.maps.IconSequence[]|null; + icons?: google.maps.IconSequence[] | null; /** * Map on which to display Polyline. */ - map?: google.maps.Map|null; + map?: google.maps.Map | null; /** * The ordered sequence of coordinates of the Polyline. This path may be * specified using either a simple array of LatLngs, or an @@ -5364,30 +5466,32 @@ declare namespace google.maps { * or removing LatLngs in the MVCArray will automatically * update the polyline on the map. */ - path?: google.maps.MVCArray| - Array|null; + path?: + | google.maps.MVCArray + | (google.maps.LatLng | google.maps.LatLngLiteral)[] + | null; /** * The stroke color. All CSS3 colors are supported except for extended named * colors. */ - strokeColor?: string|null; + strokeColor?: string | null; /** * The stroke opacity between 0.0 and 1.0. */ - strokeOpacity?: number|null; + strokeOpacity?: number | null; /** * The stroke width in pixels. */ - strokeWeight?: number|null; + strokeWeight?: number | null; /** * Whether this polyline is visible on the map. * @defaultValue true */ - visible?: boolean|null; + visible?: boolean | null; /** * The zIndex compared to other polys. */ - zIndex?: number|null; + zIndex?: number | null; } export interface Projection { /** @@ -5400,8 +5504,9 @@ declare namespace google.maps { * Point. */ fromLatLngToPoint( - latLng: google.maps.LatLng|google.maps.LatLngLiteral, - point?: google.maps.Point): google.maps.Point|null; + latLng: google.maps.LatLng | google.maps.LatLngLiteral, + point?: google.maps.Point, + ): google.maps.Point | null; /** * This interface specifies a function which implements translation from * world coordinates on a map projection to LatLng values. The @@ -5410,8 +5515,10 @@ declare namespace google.maps { * this method, but may return null if the projection cannot * calculate the LatLng. */ - fromPointToLatLng(pixel: google.maps.Point, noClampNoWrap?: boolean): - google.maps.LatLng|null; + fromPointToLatLng( + pixel: google.maps.Point, + noClampNoWrap?: boolean, + ): google.maps.LatLng | null; } /** * A rectangle overlay. @@ -5428,11 +5535,11 @@ declare namespace google.maps { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(opts?: google.maps.RectangleOptions|null); + constructor(opts?: google.maps.RectangleOptions | null); /** * Returns the bounds of this rectangle. */ - getBounds(): google.maps.LatLngBounds|null; + getBounds(): google.maps.LatLngBounds | null; /** * Returns whether this rectangle can be dragged by the user. */ @@ -5444,7 +5551,7 @@ declare namespace google.maps { /** * Returns the map on which this rectangle is displayed. */ - getMap(): google.maps.Map|null; + getMap(): google.maps.Map | null; /** * Returns whether this rectangle is visible on the map. */ @@ -5452,8 +5559,9 @@ declare namespace google.maps { /** * Sets the bounds of this rectangle. */ - setBounds(bounds: google.maps.LatLngBounds|null| - google.maps.LatLngBoundsLiteral): void; + setBounds( + bounds: google.maps.LatLngBounds | null | google.maps.LatLngBoundsLiteral, + ): void; /** * If set to true, the user can drag this rectangle over the * map. @@ -5468,8 +5576,8 @@ declare namespace google.maps { * Renders the rectangle on the specified map. If map is set to * null, the rectangle will be removed. */ - setMap(map: google.maps.Map|null): void; - setOptions(options: google.maps.RectangleOptions|null): void; + setMap(map: google.maps.Map | null): void; + setOptions(options: google.maps.RectangleOptions | null): void; /** * Hides this rectangle if set to false. */ @@ -5483,64 +5591,64 @@ declare namespace google.maps { /** * The bounds. */ - bounds?: google.maps.LatLngBounds|google.maps.LatLngBoundsLiteral|null; + bounds?: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral | null; /** * Indicates whether this Rectangle handles mouse events. * @defaultValue true */ - clickable?: boolean|null; + clickable?: boolean | null; /** * If set to true, the user can drag this rectangle over the * map. * @defaultValue false */ - draggable?: boolean|null; + draggable?: boolean | null; /** * If set to true, the user can edit this rectangle by dragging * the control points shown at the corners and on each edge. * @defaultValue false */ - editable?: boolean|null; + editable?: boolean | null; /** * The fill color. All CSS3 colors are supported except for extended named * colors. */ - fillColor?: string|null; + fillColor?: string | null; /** * The fill opacity between 0.0 and 1.0 */ - fillOpacity?: number|null; + fillOpacity?: number | null; /** * Map on which to display Rectangle. */ - map?: google.maps.Map|null; + map?: google.maps.Map | null; /** * The stroke color. All CSS3 colors are supported except for extended named * colors. */ - strokeColor?: string|null; + strokeColor?: string | null; /** * The stroke opacity between 0.0 and 1.0 */ - strokeOpacity?: number|null; + strokeOpacity?: number | null; /** * The stroke position. * @defaultValue {@link google.maps.StrokePosition.CENTER} */ - strokePosition?: google.maps.StrokePosition|null; + strokePosition?: google.maps.StrokePosition | null; /** * The stroke width in pixels. */ - strokeWeight?: number|null; + strokeWeight?: number | null; /** * Whether this rectangle is visible on the map. * @defaultValue true */ - visible?: boolean|null; + visible?: boolean | null; /** * The zIndex compared to other polys. */ - zIndex?: number|null; + zIndex?: number | null; } /** * Access by calling `const {RenderingType} = await @@ -5568,9 +5676,9 @@ declare namespace google.maps { export interface RotateControlOptions { /** * Position id. Used to specify the position of the control on the map. - * @defaultValue {@link google.maps.ControlPosition.INLINE_START_BLOCK_END} + * @defaultValue {@link google.maps.ControlPosition.INLINE_END_BLOCK_END} */ - position?: google.maps.ControlPosition|null; + position?: google.maps.ControlPosition | null; } export interface RoutesLibrary { DirectionsRenderer: typeof google.maps.DirectionsRenderer; @@ -5592,7 +5700,7 @@ declare namespace google.maps { /** * Style id. Used to select what style of scale control to display. */ - style?: google.maps.ScaleControlStyle|null; + style?: google.maps.ScaleControlStyle | null; } /** * Identifiers for scale control ids. @@ -5643,11 +5751,15 @@ declare namespace google.maps { * https://developers.google.com/maps/documentation/javascript/libraries. */ constructor( - width: number, height: number, widthUnit?: string, heightUnit?: string); + width: number, + height: number, + widthUnit?: string, + heightUnit?: string, + ); /** * Compares two Sizes. */ - equals(other: google.maps.Size|null): boolean; + equals(other: google.maps.Size | null): boolean; /** * The height along the y-axis, in pixels. */ @@ -5669,7 +5781,7 @@ declare namespace google.maps { * Position id. This id is used to specify the position of the control on * the map. The default position is TOP_LEFT. */ - position?: google.maps.ControlPosition|null; + position?: google.maps.ControlPosition | null; } /** * Options for the rendering of the Street View pegman control on the map. @@ -5683,7 +5795,7 @@ declare namespace google.maps { * Street View control will be displayed as part of the navigation controls. * Otherwise, it will be displayed separately. */ - position?: google.maps.ControlPosition|null; + position?: google.maps.ControlPosition | null; /** * Specifies the sources of panoramas to search. This allows a restriction * to search for just official Google panoramas for example. Setting @@ -5692,7 +5804,7 @@ declare namespace google.maps { * supported at this time. * @defaultValue [{@link google.maps.StreetViewSource.DEFAULT}] */ - sources?: Iterable|null; + sources?: Iterable | null; } /** * A layer that illustrates the locations where Street View is available. @@ -5705,12 +5817,12 @@ declare namespace google.maps { /** * Returns the map on which this layer is displayed. */ - getMap(): google.maps.Map|null; + getMap(): google.maps.Map | null; /** * Renders the layer on the specified map. If the map is set to null, the * layer will be removed. */ - setMap(map: google.maps.Map|null): void; + setMap(map: google.maps.Map | null): void; } export interface StreetViewLibrary { InfoWindow: typeof google.maps.InfoWindow; @@ -5729,16 +5841,16 @@ declare namespace google.maps { /** * A localized string describing the link. */ - description: string|null; + description: string | null; /** * The heading of the link. */ - heading: number|null; + heading: number | null; /** * A unique identifier for the panorama. This id is stable within a session * but unstable across sessions. */ - pano: string|null; + pano: string | null; } /** * A representation of a location in the Street View panorama. @@ -5747,11 +5859,11 @@ declare namespace google.maps { /** * A localized string describing the location. */ - description?: string|null; + description?: string | null; /** * The latlng of the panorama. */ - latLng?: google.maps.LatLng|null; + latLng?: google.maps.LatLng | null; /** * A unique identifier for the panorama. This is stable within a session but * unstable across sessions. @@ -5760,7 +5872,7 @@ declare namespace google.maps { /** * Short description of the location. */ - shortDescription?: string|null; + shortDescription?: string | null; } /** * A Street View request to be sent with getPanorama. @@ -5771,32 +5883,32 @@ declare namespace google.maps { /** * Specifies the location where to search for a Street View panorama. */ - location?: google.maps.LatLng|google.maps.LatLngLiteral|null; + location?: google.maps.LatLng | google.maps.LatLngLiteral | null; /** * Sets a preference for which panorama should be found within the radius: * the one nearest to the provided location, or the best one within the * radius. */ - preference?: google.maps.StreetViewPreference|null; + preference?: google.maps.StreetViewPreference | null; /** * Sets a radius in meters in which to search for a panorama. * @defaultValue 50 */ - radius?: number|null; + radius?: number | null; /** * Specifies the source of panoramas to search. This allows a restriction to * search for just outdoor panoramas for example. * @defaultValue {@link google.maps.StreetViewSource.DEFAULT} * @deprecated Use sources instead. */ - source?: google.maps.StreetViewSource|null; + source?: google.maps.StreetViewSource | null; /** * Specifies the sources of panoramas to search. This allows a restriction * to search for just outdoor panoramas for example. Setting multiple * sources will be evaluated as the intersection of those sources. * @defaultValue [{@link google.maps.StreetViewSource.DEFAULT}] */ - sources?: Iterable|null; + sources?: Iterable | null; } /** * A StreetViewPanoRequest is used with the @@ -5806,7 +5918,7 @@ declare namespace google.maps { /** * Specifies the pano ID to search for. */ - pano?: string|null; + pano?: string | null; } /** * Displays the panorama for a given LatLng or panorama ID. A @@ -5830,15 +5942,16 @@ declare namespace google.maps { * https://developers.google.com/maps/documentation/javascript/libraries. */ constructor( - container: HTMLElement, - opts?: google.maps.StreetViewPanoramaOptions|null); + container: HTMLElement, + opts?: google.maps.StreetViewPanoramaOptions | null, + ); /** * Additional controls to attach to the panorama. To add a control to the * panorama, add the control's <div> to the * MVCArray corresponding to the {@link * google.maps.ControlPosition} where it should be rendered. */ - controls: Array>; + controls: google.maps.MVCArray[]; /** * Sets focus on this StreetViewPanorama. You may wish to * consider using this method along with a visible_changed @@ -5850,7 +5963,7 @@ declare namespace google.maps { /** * Returns the set of navigation links for the Street View panorama. */ - getLinks(): Array|null; + getLinks(): (google.maps.StreetViewLink | null)[] | null; /** * Returns the StreetViewLocation of the current panorama. */ @@ -5877,7 +5990,7 @@ declare namespace google.maps { * Returns the current LatLng position for the Street View * panorama. */ - getPosition(): google.maps.LatLng|null; + getPosition(): google.maps.LatLng | null; /** * Returns the current point of view for the Street View panorama. */ @@ -5903,12 +6016,13 @@ declare namespace google.maps { * panoramas. */ registerPanoProvider( - provider: (a: string) => google.maps.StreetViewPanoramaData | null, - opt_options?: google.maps.PanoProviderOptions): void; + provider: (a: string) => google.maps.StreetViewPanoramaData | null, + opt_options?: google.maps.PanoProviderOptions, + ): void; /** * Sets the set of navigation links for the Street View panorama. */ - setLinks(links: Array|null): void; + setLinks(links: (google.maps.StreetViewLink | null)[] | null): void; /** * Sets the state of motion tracker. If true when the user * physically moves the device and the browser supports it, the Street View @@ -5918,7 +6032,7 @@ declare namespace google.maps { /** * Sets a collection of key-value pairs. */ - setOptions(options: google.maps.StreetViewPanoramaOptions|null): void; + setOptions(options: google.maps.StreetViewPanoramaOptions | null): void; /** * Sets the current panorama ID for the Street View panorama. */ @@ -5927,8 +6041,9 @@ declare namespace google.maps { * Sets the current LatLng position for the Street View * panorama. */ - setPosition(latLng: google.maps.LatLng|null| - google.maps.LatLngLiteral): void; + setPosition( + latLng: google.maps.LatLng | null | google.maps.LatLngLiteral, + ): void; /** * Sets the point of view for the Street View panorama. */ @@ -5980,17 +6095,17 @@ declare namespace google.maps { /** * The enabled/disabled state of the address control. */ - addressControl?: boolean|null; + addressControl?: boolean | null; /** * The display options for the address control. */ - addressControlOptions?: google.maps.StreetViewAddressControlOptions|null; + addressControlOptions?: google.maps.StreetViewAddressControlOptions | null; /** * The enabled/disabled state of click-to-go. Not applicable to custom * panoramas. * @defaultValue true */ - clickToGo?: boolean|null; + clickToGo?: boolean | null; /** * Size in pixels of the controls appearing on the panorama. This value must * be supplied directly when creating the Panorama, updating this value @@ -5998,38 +6113,38 @@ declare namespace google.maps { * controls made by the Maps API itself. Does not scale developer created * custom controls. */ - controlSize?: number|null; + controlSize?: number | null; /** * Enables/disables all default UI. May be overridden individually. */ - disableDefaultUI?: boolean|null; + disableDefaultUI?: boolean | null; /** * Enables/disables zoom on double click. * @defaultValue true */ - disableDoubleClickZoom?: boolean|null; + disableDoubleClickZoom?: boolean | null; /** * If true, the close button is displayed. * @defaultValue false */ - enableCloseButton?: boolean|null; + enableCloseButton?: boolean | null; /** * The enabled/disabled state of the fullscreen control. */ - fullscreenControl?: boolean|null; + fullscreenControl?: boolean | null; /** * The display options for the fullscreen control. */ - fullscreenControlOptions?: google.maps.FullscreenControlOptions|null; + fullscreenControlOptions?: google.maps.FullscreenControlOptions | null; /** * The enabled/disabled state of the imagery acquisition date control. * Disabled by default. */ - imageDateControl?: boolean|null; + imageDateControl?: boolean | null; /** * The enabled/disabled state of the links control. */ - linksControl?: boolean|null; + linksControl?: boolean | null; /** * Whether motion tracking is on or off. Enabled by default when the motion * tracking control is present and permission is granted by a user or not @@ -6046,43 +6161,42 @@ declare namespace google.maps { * is denied by a user, the motion tracking control appears disabled with * tracking turned off. */ - motionTracking?: boolean|null; + motionTracking?: boolean | null; /** * The enabled/disabled state of the motion tracking control. Enabled by * default when the device has motion data, so that the control appears on * the map. This is primarily applicable to mobile devices. */ - motionTrackingControl?: boolean|null; + motionTrackingControl?: boolean | null; /** * The display options for the motion tracking control. */ - motionTrackingControlOptions?: google.maps.MotionTrackingControlOptions| - null; + motionTrackingControlOptions?: google.maps.MotionTrackingControlOptions | null; /** * The enabled/disabled state of the pan control. */ - panControl?: boolean|null; + panControl?: boolean | null; /** * The display options for the pan control. */ - panControlOptions?: google.maps.PanControlOptions|null; + panControlOptions?: google.maps.PanControlOptions | null; /** * The panorama ID, which should be set when specifying a custom panorama. */ - pano?: string|null; + pano?: string | null; /** * The LatLng position of the Street View panorama. */ - position?: google.maps.LatLng|null|google.maps.LatLngLiteral; + position?: google.maps.LatLng | null | google.maps.LatLngLiteral; /** * The camera orientation, specified as heading and pitch, for the panorama. */ - pov?: google.maps.StreetViewPov|null; + pov?: google.maps.StreetViewPov | null; /** * If false, disables scrollwheel zooming in Street View. * @defaultValue true */ - scrollwheel?: boolean|null; + scrollwheel?: boolean | null; /** * The display of street names on the panorama. If this value is not * specified, or is set to true, street names are displayed on @@ -6090,24 +6204,24 @@ declare namespace google.maps { * displayed. * @defaultValue true */ - showRoadLabels?: boolean|null; + showRoadLabels?: boolean | null; /** * If true, the Street View panorama is visible on load. */ - visible?: boolean|null; + visible?: boolean | null; /** * The zoom of the panorama, specified as a number. A zoom of 0 gives a 180 * degrees Field of View. */ - zoom?: number|null; + zoom?: number | null; /** * The enabled/disabled state of the zoom control. */ - zoomControl?: boolean|null; + zoomControl?: boolean | null; /** * The display options for the zoom control. */ - zoomControlOptions?: google.maps.ZoomControlOptions|null; + zoomControlOptions?: google.maps.ZoomControlOptions | null; } /** * A point of view object which specifies the camera's orientation at the @@ -6177,12 +6291,14 @@ declare namespace google.maps { * StreetViewPanoramaData is passed to the provided callback. */ getPanorama( - request: google.maps.StreetViewLocationRequest| - google.maps.StreetViewPanoRequest, - callback?: - (a: google.maps.StreetViewPanoramaData|null, - b: google.maps.StreetViewStatus) => void): - Promise; + request: + | google.maps.StreetViewLocationRequest + | google.maps.StreetViewPanoRequest, + callback?: ( + a: google.maps.StreetViewPanoramaData | null, + b: google.maps.StreetViewStatus, + ) => void, + ): Promise; } /** * Identifiers to limit Street View searches to selected sources. These values @@ -6254,8 +6370,12 @@ declare namespace google.maps { * tileY is the y-coordinate of the tile.
    Your custom * method must return the URL for the tile image.
    */ - getTileUrl(pano: string, tileZoom: number, tileX: number, tileY: number): - string; + getTileUrl( + pano: string, + tileZoom: number, + tileX: number, + tileY: number, + ): string; /** * The size (in pixels) at which tiles will be rendered. */ @@ -6294,8 +6414,10 @@ declare namespace google.maps { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - export class StyledMapType extends google.maps.MVCObject implements - google.maps.MapType { + export class StyledMapType + extends google.maps.MVCObject + implements google.maps.MapType + { /** * Creates a MapType with a custom style. * @@ -6304,8 +6426,9 @@ declare namespace google.maps { * https://developers.google.com/maps/documentation/javascript/libraries. */ constructor( - styles: Array|null, - options?: google.maps.StyledMapTypeOptions|null); + styles: (google.maps.MapTypeStyle | null)[] | null, + options?: google.maps.StyledMapTypeOptions | null, + ); alt: string; /** * @param tileCoord Tile coordinates. @@ -6313,18 +6436,20 @@ declare namespace google.maps { * @param ownerDocument The document which owns this tile. */ getTile( - tileCoord: google.maps.Point|null, zoom: number, - ownerDocument: Document|null): Element|null; + tileCoord: google.maps.Point | null, + zoom: number, + ownerDocument: Document | null, + ): Element | null; maxZoom: number; minZoom: number; name: string; - projection: google.maps.Projection|null; + projection: google.maps.Projection | null; radius: number; /** * @param tile Tile to release. */ - releaseTile(tile: Element|null): void; - tileSize: google.maps.Size|null; + releaseTile(tile: Element | null): void; + tileSize: google.maps.Size | null; } /** * This class is used to specify options when creating a @@ -6336,21 +6461,21 @@ declare namespace google.maps { * Text to display when this MapType's button is hovered * over in the map type control. */ - alt?: string|null; + alt?: string | null; /** * The maximum zoom level for the map when displaying this * MapType. Optional. */ - maxZoom?: number|null; + maxZoom?: number | null; /** * The minimum zoom level for the map when displaying this * MapType. Optional. */ - minZoom?: number|null; + minZoom?: number | null; /** * The name to display in the map type control. */ - name?: string|null; + name?: string | null; } /** * Describes a symbol, which consists of a vector path with styling. A symbol @@ -6364,19 +6489,19 @@ declare namespace google.maps { * in the same coordinate system as the symbol's path. * @defaultValue google.maps.Point(0,0) */ - anchor?: google.maps.Point|null; + anchor?: google.maps.Point | null; /** * The symbol's fill color. All CSS3 colors are supported except for * extended named colors. For symbol markers, this defaults to * 'black'. For symbols on polylines, this defaults to the stroke * color of the corresponding polyline. */ - fillColor?: string|null; + fillColor?: string | null; /** * The symbol's fill opacity. * @defaultValue 0 */ - fillOpacity?: number|null; + fillOpacity?: number | null; /** * The origin of the label relative to the origin of the path, if label is * supplied by the marker. The origin is expressed in the same coordinate @@ -6384,14 +6509,14 @@ declare namespace google.maps { * polylines. * @defaultValue google.maps.Point(0,0) */ - labelOrigin?: google.maps.Point|null; + labelOrigin?: google.maps.Point | null; /** * The symbol's path, which is a built-in symbol path, or a custom path * expressed using SVG path * notation. Required. */ - path: google.maps.SymbolPath|string; + path: google.maps.SymbolPath | string; /** * The angle by which to rotate the symbol, expressed clockwise in degrees. * A symbol in an IconSequence where fixedRotation @@ -6399,7 +6524,7 @@ declare namespace google.maps { * which it lies. * @defaultValue 0 */ - rotation?: number|null; + rotation?: number | null; /** * The amount by which the symbol is scaled in size. For symbol markers, * this defaults to 1; after scaling, the symbol may be of any size. For @@ -6407,25 +6532,25 @@ declare namespace google.maps { * polyline; after scaling, the symbol must lie inside a square 22 pixels in * size centered at the symbol's anchor. */ - scale?: number|null; + scale?: number | null; /** * The symbol's stroke color. All CSS3 colors are supported except for * extended named colors. For symbol markers, this defaults to * 'black'. For symbols on a polyline, this defaults to the stroke * color of the polyline. */ - strokeColor?: string|null; + strokeColor?: string | null; /** * The symbol's stroke opacity. For symbol markers, this defaults to 1. * For symbols on a polyline, this defaults to the stroke opacity of the * polyline. */ - strokeOpacity?: number|null; + strokeOpacity?: number | null; /** * The symbol's stroke weight. * @defaultValue The {@link google.maps.Symbol.scale} of the symbol. */ - strokeWeight?: number|null; + strokeWeight?: number | null; } /** * Built-in symbol paths. @@ -6493,17 +6618,17 @@ declare namespace google.maps { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(opts?: google.maps.TrafficLayerOptions|null); + constructor(opts?: google.maps.TrafficLayerOptions | null); /** * Returns the map on which this layer is displayed. */ - getMap(): google.maps.Map|null; + getMap(): google.maps.Map | null; /** * Renders the layer on the specified map. If map is set to * null, the layer will be removed. */ - setMap(map: google.maps.Map|null): void; - setOptions(options: google.maps.TrafficLayerOptions|null): void; + setMap(map: google.maps.Map | null): void; + setOptions(options: google.maps.TrafficLayerOptions | null): void; } /** * TrafficLayerOptions object used to define the properties that can be set on @@ -6515,11 +6640,11 @@ declare namespace google.maps { * automatically. * @defaultValue true */ - autoRefresh?: boolean|null; + autoRefresh?: boolean | null; /** * Map on which to display the traffic layer. */ - map?: google.maps.Map|null; + map?: google.maps.Map | null; } /** * The assumptions to use when predicting duration in traffic. Specified as @@ -6639,12 +6764,12 @@ declare namespace google.maps { /** * Returns the map on which this layer is displayed. */ - getMap(): google.maps.Map|null; + getMap(): google.maps.Map | null; /** * Renders the layer on the specified map. If map is set to * null, the layer will be removed. */ - setMap(map: google.maps.Map|null): void; + setMap(map: google.maps.Map | null): void; } /** * Information about the transit line that operates this transit step. @@ -6653,7 +6778,7 @@ declare namespace google.maps { /** * The transit agency that operates this transit line. */ - agencies: Array|null; + agencies: (google.maps.TransitAgency | null)[] | null; /** * The color commonly used in signage for this transit line, represented as * a hex string. @@ -6728,25 +6853,25 @@ declare namespace google.maps { * Date object measures time in milliseconds since 1 January 1970. If * arrival time is specified, departure time is ignored. */ - arrivalTime?: Date|null; + arrivalTime?: Date | null; /** * The desired departure time for the route, specified as a Date object. The * Date object measures time in milliseconds since 1 January 1970. If * neither departure time nor arrival time is specified, the time is assumed * to be "now". */ - departureTime?: Date|null; + departureTime?: Date | null; /** * One or more preferred modes of transit, such as bus or train. If no * preference is given, the API returns the default best route. */ - modes?: google.maps.TransitMode[]|null; + modes?: google.maps.TransitMode[] | null; /** * A preference that can bias the choice of transit route, such as less * walking. If no preference is given, the API returns the default best * route. */ - routingPreference?: google.maps.TransitRoutePreference|null; + routingPreference?: google.maps.TransitRoutePreference | null; } /** * The valid transit route type that can be specified in a listener.remove(). */ - static removeListener(this: any, listener: google.maps.MapsEventListener): - void; + static removeListener( + this: any, + listener: google.maps.MapsEventListener, + ): void; /** * Triggers the given event. All arguments after eventName are passed as * arguments to the listeners. */ static trigger( - this: any, instance: object, eventName: string, - ...eventArgs: any[]): void; + this: any, + instance: object, + eventName: string, + ...eventArgs: any[] + ): void; } /** * Loads a google.maps namespace, though using the global * namespace is not generally recommended.) */ - export function importLibrary(libraryName: string): - Promise; + export function importLibrary( + libraryName: string, + ): Promise< + | google.maps.CoreLibrary + | google.maps.MapsLibrary + | google.maps.PlacesLibrary + | google.maps.GeocodingLibrary + | google.maps.RoutesLibrary + | google.maps.MarkerLibrary + | google.maps.GeometryLibrary + | google.maps.ElevationLibrary + | google.maps.StreetViewLibrary + | google.maps.JourneySharingLibrary + | google.maps.DrawingLibrary + | google.maps.VisualizationLibrary + >; /** * Google Maps JavaScript API version loaded by the browser. See https://developers.google.com/maps/documentation/javascript/versions @@ -7220,7 +7375,7 @@ declare namespace google.maps.Data { * "LineString" or "Polygon". * @defaultValue null */ - controls?: string[]|null; + controls?: string[] | null; /** * The current drawing mode of the given Data layer. A drawing mode of * null means that the user can interact with the map as @@ -7229,7 +7384,7 @@ declare namespace google.maps.Data { * "Polygon". * @defaultValue null */ - drawingMode?: string|null; + drawingMode?: string | null; /** * When drawing is enabled and a user draws a Geometry (a Point, Line String * or Polygon), this function is called with that Geometry and should return @@ -7238,7 +7393,8 @@ declare namespace google.maps.Data { * that Geometry instead. Defaults to null. */ featureFactory?: - ((a: google.maps.Data.Geometry) => google.maps.Data.Feature)|null; + | ((a: google.maps.Data.Geometry) => google.maps.Data.Feature) + | null; /** * Map on which to display the features in the collection. */ @@ -7247,7 +7403,7 @@ declare namespace google.maps.Data { * Style for all features in the collection. For more details, see the * setStyle() method above. */ - style?: (google.maps.Data.StylingFunction)|google.maps.Data.StyleOptions; + style?: google.maps.Data.StylingFunction | google.maps.Data.StyleOptions; } /** * A feature has a geometry, an id, and a set of properties. @@ -7263,7 +7419,7 @@ declare namespace google.maps.Data { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(options?: google.maps.Data.FeatureOptions|null); + constructor(options?: google.maps.Data.FeatureOptions | null); /** * Repeatedly invokes the given function, passing a property value and name * on each invocation. The order of iteration through the properties is @@ -7273,11 +7429,11 @@ declare namespace google.maps.Data { /** * Returns the feature's geometry. */ - getGeometry(): google.maps.Data.Geometry|null; + getGeometry(): google.maps.Data.Geometry | null; /** * Returns the feature ID. */ - getId(): number|string|undefined; + getId(): number | string | undefined; /** * Returns the value of the requested property, or undefined if * the property does not exist. @@ -7290,8 +7446,13 @@ declare namespace google.maps.Data { /** * Sets the feature's geometry. */ - setGeometry(newGeometry: google.maps.Data.Geometry|null| - google.maps.LatLng|google.maps.LatLngLiteral): void; + setGeometry( + newGeometry: + | google.maps.Data.Geometry + | null + | google.maps.LatLng + | google.maps.LatLngLiteral, + ): void; /** * Sets the value of the specified property. If newValue is * undefined this is equivalent to calling @@ -7313,20 +7474,23 @@ declare namespace google.maps.Data { * LatLng object or LatLngLiteral is given, this * will be converted to a Data.Point geometry. */ - geometry?: google.maps.Data.Geometry|null|google.maps.LatLng| - google.maps.LatLngLiteral; + geometry?: + | google.maps.Data.Geometry + | null + | google.maps.LatLng + | google.maps.LatLngLiteral; /** * Feature ID is optional. If provided, it can be used to look up the * feature in a Data object using the * getFeatureById() method. Note that a feature's ID cannot * be subsequently changed. */ - id?: number|string; + id?: number | string; /** * The feature properties. This is an arbitrary mapping of property names to * values. */ - properties?: object|null; + properties?: object | null; } /** * Optional parameters for importing GeoJSON. @@ -7336,7 +7500,7 @@ declare namespace google.maps.Data { * The name of the Feature property to use as the feature ID. If not * specified, the GeoJSON Feature id will be used. */ - idPropertyName?: string|null; + idPropertyName?: string | null; } /** * A superclass for the various geometry objects. @@ -7374,8 +7538,13 @@ declare namespace google.maps.Data { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(elements: Array); + constructor( + elements: ( + | google.maps.Data.Geometry + | google.maps.LatLng + | google.maps.LatLngLiteral + )[], + ); forEachLatLng(callback: (a: google.maps.LatLng) => void): void; /** * Returns an array of the contained geometry objects. A new array is @@ -7409,7 +7578,7 @@ declare namespace google.maps.Data { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(elements: Array); + constructor(elements: (google.maps.LatLng | google.maps.LatLngLiteral)[]); forEachLatLng(callback: (a: google.maps.LatLng) => void): void; /** * Returns an array of the contained LatLngs. A new array is @@ -7449,7 +7618,7 @@ declare namespace google.maps.Data { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(elements: Array); + constructor(elements: (google.maps.LatLng | google.maps.LatLngLiteral)[]); forEachLatLng(callback: (a: google.maps.LatLng) => void): void; /** * Returns an array of the contained LatLngs. A new array is @@ -7493,8 +7662,12 @@ declare namespace google.maps.Data { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(elements: Array>); + constructor( + elements: ( + | google.maps.Data.LineString + | (google.maps.LatLng | google.maps.LatLngLiteral)[] + )[], + ); forEachLatLng(callback: (a: google.maps.LatLng) => void): void; /** * Returns an array of the contained Data.LineStrings. A new @@ -7528,7 +7701,7 @@ declare namespace google.maps.Data { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(elements: Array); + constructor(elements: (google.maps.LatLng | google.maps.LatLngLiteral)[]); forEachLatLng(callback: (a: google.maps.LatLng) => void): void; /** * Returns an array of the contained LatLngs. A new array is @@ -7562,10 +7735,15 @@ declare namespace google.maps.Data { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(elements: - Array>>); + constructor( + elements: ( + | google.maps.Data.Polygon + | ( + | google.maps.Data.LinearRing + | (google.maps.LatLng | google.maps.LatLngLiteral)[] + )[] + )[], + ); forEachLatLng(callback: (a: google.maps.LatLng) => void): void; /** * Returns an array of the contained Data.Polygons. A new array @@ -7599,7 +7777,7 @@ declare namespace google.maps.Data { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(latLng: google.maps.LatLng|google.maps.LatLngLiteral); + constructor(latLng: google.maps.LatLng | google.maps.LatLngLiteral); forEachLatLng(callback: (a: google.maps.LatLng) => void): void; /** * Returns the contained LatLng. @@ -7633,8 +7811,12 @@ declare namespace google.maps.Data { * google.maps.importLibrary("maps")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(elements: Array>); + constructor( + elements: ( + | google.maps.Data.LinearRing + | (google.maps.LatLng | google.maps.LatLngLiteral)[] + )[], + ); forEachLatLng(callback: (a: google.maps.LatLng) => void): void; /** * Returns an array of the contained Data.LinearRings. A new @@ -7765,7 +7947,7 @@ declare namespace google.maps.Data { * it were an Icon with the string as url. Only * applies to point geometries. */ - icon?: string|google.maps.Icon|google.maps.Symbol; + icon?: string | google.maps.Icon | google.maps.Symbol; /** * The icons to be rendered along a polyline. Only applies to line * geometries. @@ -7775,7 +7957,7 @@ declare namespace google.maps.Data { * Adds a label to the marker. The label can either be a string, or a * MarkerLabel object. Only applies to point geometries. */ - label?: string|google.maps.MarkerLabel; + label?: string | google.maps.MarkerLabel; /** * The marker's opacity between 0.0 and 1.0. Only applies to point * geometries. @@ -7816,8 +7998,9 @@ declare namespace google.maps.Data { */ zIndex?: number; } - export type StylingFunction = (a: google.maps.Data.Feature) => - google.maps.Data.StyleOptions; + export type StylingFunction = ( + a: google.maps.Data.Feature, + ) => google.maps.Data.StyleOptions; } declare namespace google.maps.drawing { /** @@ -7836,12 +8019,12 @@ declare namespace google.maps.drawing { * google.maps.drawing.OverlayType.CIRCLE}, {@link * google.maps.drawing.OverlayType.POLYGON}] */ - drawingModes?: google.maps.drawing.OverlayType[]|null; + drawingModes?: google.maps.drawing.OverlayType[] | null; /** * Position id. Used to specify the position of the control on the map. * @defaultValue {@link google.maps.ControlPosition.TOP_LEFT} */ - position?: google.maps.ControlPosition|null; + position?: google.maps.ControlPosition | null; } /** * Allows users to draw markers, polygons, polylines, rectangles, and circles @@ -7864,17 +8047,17 @@ declare namespace google.maps.drawing { * google.maps.importLibrary("drawing")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - constructor(options?: google.maps.drawing.DrawingManagerOptions|null); + constructor(options?: google.maps.drawing.DrawingManagerOptions | null); /** * Returns the DrawingManager's drawing mode. */ - getDrawingMode(): google.maps.drawing.OverlayType|null; + getDrawingMode(): google.maps.drawing.OverlayType | null; /** * Returns the Map to which the DrawingManager is * attached, which is the Map on which the overlays created * will be placed. */ - getMap(): google.maps.Map|null; + getMap(): google.maps.Map | null; /** * Changes the DrawingManager's drawing mode, which defines * the type of overlay to be added on the map. Accepted values are @@ -7883,16 +8066,16 @@ declare namespace google.maps.drawing { * drawing mode of null means that the user can interact with * the map as normal, and clicks do not draw anything. */ - setDrawingMode(drawingMode: google.maps.drawing.OverlayType|null): void; + setDrawingMode(drawingMode: google.maps.drawing.OverlayType | null): void; /** * Attaches the DrawingManager object to the specified * Map. */ - setMap(map: google.maps.Map|null): void; + setMap(map: google.maps.Map | null): void; /** * Sets the DrawingManager's options. */ - setOptions(options: google.maps.drawing.DrawingManagerOptions|null): void; + setOptions(options: google.maps.drawing.DrawingManagerOptions | null): void; } /** * Options for the drawing manager. @@ -7905,16 +8088,16 @@ declare namespace google.maps.drawing { * property of a new circle is always set to the * DrawingManager's map. */ - circleOptions?: google.maps.CircleOptions|null; + circleOptions?: google.maps.CircleOptions | null; /** * The enabled/disabled state of the drawing control. * @defaultValue true */ - drawingControl?: boolean|null; + drawingControl?: boolean | null; /** * The display options for the drawing control. */ - drawingControlOptions?: google.maps.drawing.DrawingControlOptions|null; + drawingControlOptions?: google.maps.drawing.DrawingControlOptions | null; /** * The DrawingManager's drawing mode, which defines the * type of overlay to be added on the map. Accepted values are @@ -7923,41 +8106,41 @@ declare namespace google.maps.drawing { * drawing mode of null means that the user can interact with * the map as normal, and clicks do not draw anything. */ - drawingMode?: google.maps.drawing.OverlayType|null; + drawingMode?: google.maps.drawing.OverlayType | null; /** * The Map to which the DrawingManager is * attached, which is the Map on which the overlays created * will be placed. */ - map?: google.maps.Map|null; + map?: google.maps.Map | null; /** * Options to apply to any new markers created with this * DrawingManager. The position property is * ignored, and the map property of a new marker is always set * to the DrawingManager's map. */ - markerOptions?: google.maps.MarkerOptions|null; + markerOptions?: google.maps.MarkerOptions | null; /** * Options to apply to any new polygons created with this * DrawingManager. The paths property is ignored, * and the map property of a new polygon is always set to the * DrawingManager's map. */ - polygonOptions?: google.maps.PolygonOptions|null; + polygonOptions?: google.maps.PolygonOptions | null; /** * Options to apply to any new polylines created with this * DrawingManager. The path property is ignored, * and the map property of a new polyline is always set to the * DrawingManager's map. */ - polylineOptions?: google.maps.PolylineOptions|null; + polylineOptions?: google.maps.PolylineOptions | null; /** * Options to apply to any new rectangles created with this * DrawingManager. The bounds property is ignored, * and the map property of a new rectangle is always set to the * DrawingManager's map. */ - rectangleOptions?: google.maps.RectangleOptions|null; + rectangleOptions?: google.maps.RectangleOptions | null; } /** * The properties of an overlaycomplete event on a @@ -7967,8 +8150,13 @@ declare namespace google.maps.drawing { /** * The completed overlay. */ - overlay: google.maps.Marker|null|google.maps.Polygon| - google.maps.Polyline|google.maps.Rectangle|google.maps.Circle; + overlay: + | google.maps.Marker + | null + | google.maps.Polygon + | google.maps.Polyline + | google.maps.Rectangle + | google.maps.Circle; /** * The completed overlay's type. */ @@ -8023,17 +8211,19 @@ declare namespace google.maps.geometry.encoding { * Encodes a sequence of LatLngs into an encoded path string. */ export function encodePath( - path: Array| - google.maps.MVCArray): - string; + path: + | (google.maps.LatLng | google.maps.LatLngLiteral)[] + | google.maps.MVCArray, + ): string; } declare namespace google.maps.geometry.poly { /** * Computes whether the given point lies inside the specified polygon. */ export function containsLocation( - point: google.maps.LatLng|google.maps.LatLngLiteral, - polygon: google.maps.Polygon): boolean; + point: google.maps.LatLng | google.maps.LatLngLiteral, + polygon: google.maps.Polygon, + ): boolean; /** * Computes whether the given point lies on or near to a polyline, or the edge * of a polygon, within a specified tolerance. Returns true when @@ -8042,9 +8232,10 @@ declare namespace google.maps.geometry.poly { * tolerance defaults to 10-9 degrees. */ export function isLocationOnEdge( - point: google.maps.LatLng|google.maps.LatLngLiteral, - poly: google.maps.Polygon|google.maps.Polyline, - tolerance?: number): boolean; + point: google.maps.LatLng | google.maps.LatLngLiteral, + poly: google.maps.Polygon | google.maps.Polyline, + tolerance?: number, + ): boolean; } declare namespace google.maps.geometry.spherical { /** @@ -8058,40 +8249,51 @@ declare namespace google.maps.geometry.spherical { * more north than the northern LatLng. */ export function computeArea( - path: Array| - google.maps.MVCArray| - google.maps.Circle|google.maps.CircleLiteral| - google.maps.LatLngBounds|google.maps.LatLngBoundsLiteral, - radiusOfSphere?: number): number; + path: + | (google.maps.LatLng | google.maps.LatLngLiteral)[] + | google.maps.MVCArray + | google.maps.Circle + | google.maps.CircleLiteral + | google.maps.LatLngBounds + | google.maps.LatLngBoundsLiteral, + radiusOfSphere?: number, + ): number; /** * Returns the distance, in meters, between two LatLngs. You can optionally * specify a custom radius. The radius defaults to the radius of the Earth. */ export function computeDistanceBetween( - from: google.maps.LatLng|google.maps.LatLngLiteral, - to: google.maps.LatLng|google.maps.LatLngLiteral, - radius?: number): number; + from: google.maps.LatLng | google.maps.LatLngLiteral, + to: google.maps.LatLng | google.maps.LatLngLiteral, + radius?: number, + ): number; /** * Returns the heading from one LatLng to another LatLng. Headings are * expressed in degrees clockwise from North within the range [-180,180). */ export function computeHeading( - from: google.maps.LatLng|google.maps.LatLngLiteral, - to: google.maps.LatLng|google.maps.LatLngLiteral): number; + from: google.maps.LatLng | google.maps.LatLngLiteral, + to: google.maps.LatLng | google.maps.LatLngLiteral, + ): number; /** * Returns the length of the given path. */ export function computeLength( - path: Array| - google.maps.MVCArray, - radius?: number): number; + path: + | (google.maps.LatLng | google.maps.LatLngLiteral)[] + | google.maps.MVCArray, + radius?: number, + ): number; /** * Returns the LatLng resulting from moving a distance from an origin in the * specified heading (expressed in degrees clockwise from north). */ export function computeOffset( - from: google.maps.LatLng|google.maps.LatLngLiteral, distance: number, - heading: number, radius?: number): google.maps.LatLng; + from: google.maps.LatLng | google.maps.LatLngLiteral, + distance: number, + heading: number, + radius?: number, + ): google.maps.LatLng; /** * Returns the location of origin when provided with a LatLng destination, * meters travelled and original heading. Headings are expressed in degrees @@ -8099,8 +8301,11 @@ declare namespace google.maps.geometry.spherical { * solution is available. */ export function computeOffsetOrigin( - to: google.maps.LatLng|google.maps.LatLngLiteral, distance: number, - heading: number, radius?: number): google.maps.LatLng|null; + to: google.maps.LatLng | google.maps.LatLngLiteral, + distance: number, + heading: number, + radius?: number, + ): google.maps.LatLng | null; /** * Returns the signed area of a closed path, where counterclockwise is * positive, in the range [-2×pi×radius², 2×pi×radius²]. The computed area @@ -8117,17 +8322,20 @@ declare namespace google.maps.geometry.spherical { * spans 180 degrees. */ export function computeSignedArea( - loop: Array| - google.maps.MVCArray, - radius?: number): number; + loop: + | (google.maps.LatLng | google.maps.LatLngLiteral)[] + | google.maps.MVCArray, + radius?: number, + ): number; /** * Returns the LatLng which lies the given fraction of the way between the * origin LatLng and the destination LatLng. */ export function interpolate( - from: google.maps.LatLng|google.maps.LatLngLiteral, - to: google.maps.LatLng|google.maps.LatLngLiteral, - fraction: number): google.maps.LatLng; + from: google.maps.LatLng | google.maps.LatLngLiteral, + to: google.maps.LatLng | google.maps.LatLngLiteral, + fraction: number, + ): google.maps.LatLng; } declare namespace google.maps.journeySharing { /** @@ -8152,31 +8360,31 @@ declare namespace google.maps.journeySharing { * When provided, the minted token should have a private * DeliveryVehicleId claim for the provided deliveryVehicleId. */ - deliveryVehicleId?: string|null; + deliveryVehicleId?: string | null; /** * When provided, the minted token should have a private TaskId * claim for the provided taskId. */ - taskId?: string|null; + taskId?: string | null; /** * When provided, the minted token should have a private * TrackingId claim for the provided trackingId. */ - trackingId?: string|null; + trackingId?: string | null; /** * When provided, the minted token should have a private TripId * claim for the provided tripId. */ - tripId?: string|null; + tripId?: string | null; /** * When provided, the minted token should have a private * VehicleId claim for the provided vehicleId. */ - vehicleId?: string|null; + vehicleId?: string | null; } - export type AuthTokenFetcher = - (a: google.maps.journeySharing.AuthTokenFetcherOptions) => - Promise; + export type AuthTokenFetcher = ( + a: google.maps.journeySharing.AuthTokenFetcherOptions, + ) => Promise; /** * Options for the auth token fetcher. */ @@ -8223,6 +8431,9 @@ declare namespace google.maps.journeySharing { } /** * PolylineSetup default options. + * @deprecated Polyline setup is deprecated. Use the + * PolylineCustomizationFunction methods for your location + * provider instead. */ export interface DefaultPolylineSetupOptions { /** @@ -8241,16 +8452,15 @@ declare namespace google.maps.journeySharing { /** * Custom delivery vehicle attributes. */ - attributes: {[key: string]: string|null}; + attributes: {[key: string]: string | null}; /** * The location where the current route segment ends. */ - currentRouteSegmentEndPoint: google.maps.LatLngLiteral|null; + currentRouteSegmentEndPoint: google.maps.LatLngLiteral | null; /** * The last reported location of the delivery vehicle. */ - latestVehicleLocationUpdate: - google.maps.journeySharing.VehicleLocationUpdate|null; + latestVehicleLocationUpdate: google.maps.journeySharing.VehicleLocationUpdate | null; /** * In the format * "providers/{provider_id}/deliveryVehicles/{delivery_vehicle_id}". @@ -8269,7 +8479,7 @@ declare namespace google.maps.journeySharing { * The remaining driving duration in the current route segment, in * milliseconds. */ - remainingDurationMillis: number|null; + remainingDurationMillis: number | null; /** * The journey segments assigned to this delivery vehicle, starting from the * vehicle's most recently reported location. This is only populated @@ -8277,8 +8487,7 @@ declare namespace google.maps.journeySharing { * is provided through {@link * google.maps.journeySharing.FleetEngineDeliveryVehicleLocationProvider}. */ - remainingVehicleJourneySegments: - google.maps.journeySharing.VehicleJourneySegment[]; + remainingVehicleJourneySegments: google.maps.journeySharing.VehicleJourneySegment[]; } /** * Parameters specific to marker customization functions that apply options to @@ -8287,13 +8496,24 @@ declare namespace google.maps.journeySharing { * and {@link * google.maps.journeySharing.FleetEngineDeliveryFleetLocationProviderOptions.deliveryVehicleMarkerCustomization}. */ - export interface DeliveryVehicleMarkerCustomizationFunctionParams extends - google.maps.journeySharing.MarkerCustomizationFunctionParams { + export interface DeliveryVehicleMarkerCustomizationFunctionParams + extends google.maps.journeySharing.MarkerCustomizationFunctionParams { /** * The delivery vehicle represented by this marker. */ vehicle: google.maps.journeySharing.DeliveryVehicle; } + /** + * Parameters specific to polyline customization functions for {@link + * google.maps.journeySharing.FleetEngineDeliveryVehicleLocationProvider}. + */ + export interface DeliveryVehiclePolylineCustomizationFunctionParams + extends google.maps.journeySharing.PolylineCustomizationFunctionParams { + /** + * The delivery vehicle traversing through this polyline. + */ + deliveryVehicle: google.maps.journeySharing.DeliveryVehicle; + } /** * DeliveryVehicleStop type */ @@ -8301,11 +8521,11 @@ declare namespace google.maps.journeySharing { /** * The location of the stop. */ - plannedLocation: google.maps.LatLngLiteral|null; + plannedLocation: google.maps.LatLngLiteral | null; /** * The state of the stop. */ - state: google.maps.journeySharing.DeliveryVehicleStopState|null; + state: google.maps.journeySharing.DeliveryVehicleStopState | null; /** * The list of Tasks to be performed at this stop.

    • id: * the ID of the task.
    • extraDurationMillis: the extra time @@ -8347,8 +8567,8 @@ declare namespace google.maps.journeySharing { * google.maps.importLibrary("journeySharing")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - export class FleetEngineDeliveryFleetLocationProvider extends - google.maps.journeySharing.PollingLocationProvider { + export class FleetEngineDeliveryFleetLocationProvider extends google.maps + .journeySharing.PollingLocationProvider { /** * Delivery Fleet Location Provider. * @@ -8357,19 +8577,22 @@ declare namespace google.maps.journeySharing { * https://developers.google.com/maps/documentation/javascript/libraries. * @param options Options to pass to the location provider. */ - constructor(options: google.maps.journeySharing - .FleetEngineDeliveryFleetLocationProviderOptions); + constructor( + options: google.maps.journeySharing.FleetEngineDeliveryFleetLocationProviderOptions, + ); /** * The filter applied when fetching the delivery vehicles. */ - deliveryVehicleFilter?: string|null; + deliveryVehicleFilter?: string | null; /** * The bounds within which to track delivery vehicles. If no bounds are set, * no delivery vehicles will be tracked. To track all delivery vehicles * regardless of location, set bounds equivalent to the entire earth. */ - locationRestriction?: google.maps.LatLngBounds|null| - google.maps.LatLngBoundsLiteral; + locationRestriction?: + | google.maps.LatLngBounds + | null + | google.maps.LatLngBoundsLiteral; /** * This Field is read-only. Threshold for stale vehicle location. If the * last updated location for the vehicle is older than this threshold, the @@ -8385,8 +8608,9 @@ declare namespace google.maps.journeySharing { * Provides JSON Web Tokens for authenticating the client to Fleet Engine. */ authTokenFetcher( - this: any, a: google.maps.journeySharing.AuthTokenFetcherOptions): - Promise; + this: any, + a: google.maps.journeySharing.AuthTokenFetcherOptions, + ): Promise; /** * A filter query to apply when fetching delivery vehicles. This filter is * passed directly to Fleet Engine.

      See or attributes."x y" = * "z". */ - deliveryVehicleFilter: string|null; + deliveryVehicleFilter: string | null; /** * Customization applied to a delivery vehicle marker.

      Use this * field to specify custom styling (such as marker icon) and interactivity @@ -8414,8 +8638,10 @@ declare namespace google.maps.journeySharing { * for a list of supplied parameters and their uses.
    */ deliveryVehicleMarkerCustomization?: - ((a: google.maps.journeySharing - .DeliveryVehicleMarkerCustomizationFunctionParams) => void)|null; + | (( + a: google.maps.journeySharing.DeliveryVehicleMarkerCustomizationFunctionParams, + ) => void) + | null; /** * The latitude/longitude bounds within which to track vehicles immediately * after the location provider is instantiated. If not set, the location @@ -8424,8 +8650,10 @@ declare namespace google.maps.journeySharing { * to set the bounds and begin tracking. To track all delivery vehicles * regardless of location, set bounds equivalent to the entire earth. */ - locationRestriction: google.maps.LatLngBounds|null| - google.maps.LatLngBoundsLiteral; + locationRestriction: + | google.maps.LatLngBounds + | null + | google.maps.LatLngBoundsLiteral; /** * The consumer's project ID from Google Cloud Console. */ @@ -8437,7 +8665,7 @@ declare namespace google.maps.journeySharing { * or Infinity, the threshold will be ignored and the vehicle * location will not be considered stale. */ - staleLocationThresholdMillis: number|null; + staleLocationThresholdMillis: number | null; } /** * The event object passed to the event handler when the {@link @@ -8448,7 +8676,7 @@ declare namespace google.maps.journeySharing { /** * The list of delivery vehicles returned by the query. Unmodifiable. */ - deliveryVehicles: google.maps.journeySharing.DeliveryVehicle[]|null; + deliveryVehicles: google.maps.journeySharing.DeliveryVehicle[] | null; } /** * Delivery Vehicle Location Provider. @@ -8457,8 +8685,8 @@ declare namespace google.maps.journeySharing { * await google.maps.importLibrary("journeySharing")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - export class FleetEngineDeliveryVehicleLocationProvider extends - google.maps.journeySharing.PollingLocationProvider { + export class FleetEngineDeliveryVehicleLocationProvider extends google.maps + .journeySharing.PollingLocationProvider { /** * Delivery Vehicle Location Provider. * @@ -8467,8 +8695,9 @@ declare namespace google.maps.journeySharing { * https://developers.google.com/maps/documentation/javascript/libraries. * @param options Options to pass to the location provider. */ - constructor(options: google.maps.journeySharing - .FleetEngineDeliveryVehicleLocationProviderOptions); + constructor( + options: google.maps.journeySharing.FleetEngineDeliveryVehicleLocationProviderOptions, + ); /** * ID for the vehicle that this location provider observes. Set this field * to track a vehicle. @@ -8477,11 +8706,11 @@ declare namespace google.maps.journeySharing { /** * Optionally allow users to display the task's outcome location. */ - shouldShowOutcomeLocations: boolean|null; + shouldShowOutcomeLocations: boolean | null; /** * Optionally allow users to display fetched tasks. */ - shouldShowTasks: boolean|null; + shouldShowTasks: boolean | null; /** * This Field is read-only. Threshold for stale vehicle location. If the * last updated location for the vehicle is older than this threshold, the @@ -8497,12 +8726,37 @@ declare namespace google.maps.journeySharing { * Options for delivery vehicle location provider. */ export interface FleetEngineDeliveryVehicleLocationProviderOptions { + /** + * Customization applied to the active polyline. An active polyline + * corresponds to a portion of the route the vehicle is currently traversing + * through.

    Use this field to specify custom styling (such as + * polyline color) and interactivity (such as click handling).
    • If + * a {@link google.maps.PolylineOptions} object is specified, the changes + * specified in it are applied to the polyline after the polyline has been + * created, overwriting its default options if they exist.
    • If a + * function is specified, it is invoked once when the polyline is created. + * (On this invocation, the isNew parameter in the function + * parameters object is set to true.) Additionally, this + * function is invoked when the polyline's coordinates change, or when + * the location provider receives data from Fleet Engine, regardless of + * whether the data corresponding to this marker have + * changed.

      See {@link + * google.maps.journeySharing.DeliveryVehicleMarkerCustomizationFunctionParams} + * for a list of supplied parameters and their uses.
    + */ + activePolylineCustomization?: + | (( + a: google.maps.journeySharing.DeliveryVehicleMarkerCustomizationFunctionParams, + ) => void) + | google.maps.PolylineOptions + | null; /** * Provides JSON Web Tokens for authenticating the client to Fleet Engine. */ authTokenFetcher( - this: any, a: google.maps.journeySharing.AuthTokenFetcherOptions): - Promise; + this: any, + a: google.maps.journeySharing.AuthTokenFetcherOptions, + ): Promise; /** * The delivery vehicle ID to track immediately after the location provider * is instantiated. If not specified, the location provider does not start @@ -8510,7 +8764,7 @@ declare namespace google.maps.journeySharing { * google.maps.journeySharing.FleetEngineDeliveryVehicleLocationProvider.deliveryVehicleId} * to set the ID and begin tracking. */ - deliveryVehicleId: string|null; + deliveryVehicleId: string | null; /** * Customization applied to the delivery vehicle marker.

    Use this * field to specify custom styling (such as marker icon) and interactivity @@ -8528,9 +8782,11 @@ declare namespace google.maps.journeySharing { * for a list of supplied parameters and their uses.
*/ deliveryVehicleMarkerCustomization?: - ((a: google.maps.journeySharing - .DeliveryVehicleMarkerCustomizationFunctionParams) => - void)|google.maps.MarkerOptions|null; + | (( + a: google.maps.journeySharing.DeliveryVehicleMarkerCustomizationFunctionParams, + ) => void) + | google.maps.MarkerOptions + | null; /** * Customization applied to a planned stop marker.

Use this field to * specify custom styling (such as marker icon) and interactivity (such as @@ -8548,9 +8804,11 @@ declare namespace google.maps.journeySharing { * for a list of supplied parameters and their uses. */ plannedStopMarkerCustomization?: - ((a: google.maps.journeySharing - .PlannedStopMarkerCustomizationFunctionParams) => - void)|google.maps.MarkerOptions|null; + | (( + a: google.maps.journeySharing.PlannedStopMarkerCustomizationFunctionParams, + ) => void) + | google.maps.MarkerOptions + | null; /** * Minimum time between fetching location updates in milliseconds. If it * takes longer than pollingIntervalMillis to fetch a location @@ -8561,21 +8819,45 @@ declare namespace google.maps.journeySharing { * interval is 5000 milliseconds, the minimum interval. If you set the * polling interval to a lower non-zero value, 5000 is used. */ - pollingIntervalMillis: number|null; + pollingIntervalMillis: number | null; /** * The consumer's project ID from Google Cloud Console. */ projectId: string; + /** + * Customization applied to the remaining polyline. A remaining polyline + * corresponds to a portion of the route the vehicle has not yet started + * traversing through.

Use this field to specify custom styling + * (such as polyline color) and interactivity (such as click + * handling).
  • If a {@link google.maps.PolylineOptions} object is + * specified, the changes specified in it are applied to the polyline after + * the polyline has been created, overwriting its default options if they + * exist.
  • If a function is specified, it is invoked once when the + * polyline is created. (On this invocation, the isNew + * parameter in the function parameters object is set to true.) + * Additionally, this function is invoked when the polyline's + * coordinates change, or when the location provider receives data from + * Fleet Engine, regardless of whether the data corresponding to this marker + * have changed.

    See {@link + * google.maps.journeySharing.DeliveryVehicleMarkerCustomizationFunctionParams} + * for a list of supplied parameters and their uses.
+ */ + remainingPolylineCustomization?: + | (( + a: google.maps.journeySharing.DeliveryVehicleMarkerCustomizationFunctionParams, + ) => void) + | google.maps.PolylineOptions + | null; /** * Boolean to show or hide outcome locations for the fetched tasks. */ - shouldShowOutcomeLocations: boolean|null; + shouldShowOutcomeLocations: boolean | null; /** * Boolean to show or hide tasks. Setting this to false will prevent the * ListTasks endpoint from being called to fetch the tasks. Only the * upcoming vehicle stops will be displayed. */ - shouldShowTasks: boolean|null; + shouldShowTasks: boolean | null; /** * Threshold for stale vehicle location. If the last updated location for * the vehicle is older this threshold, the vehicle will not be displayed. @@ -8583,13 +8865,35 @@ declare namespace google.maps.journeySharing { * Infinity, the threshold will be ignored and the vehicle location * will not be considered stale. */ - staleLocationThresholdMillis: number|null; + staleLocationThresholdMillis: number | null; + /** + * Customization applied to the taken polyline. A taken polyline corresponds + * to a portion of the route the vehicle has already traversed through. + *

Use this field to specify custom styling (such as polyline color) + * and interactivity (such as click handling).
  • If a {@link + * google.maps.PolylineOptions} object is specified, the changes specified + * in it are applied to the polyline after the polyline has been created, + * overwriting its default options if they exist.
  • If a function is + * specified, it is invoked once when the polyline is created. (On this + * invocation, the isNew parameter in the function parameters + * object is set to true.) Additionally, this function is + * invoked when the polyline's coordinates change, or when the location + * provider receives data from Fleet Engine, regardless of whether the data + * corresponding to this marker have changed.

    See {@link + * google.maps.journeySharing.DeliveryVehicleMarkerCustomizationFunctionParams} + * for a list of supplied parameters and their uses.
+ */ + takenPolylineCustomization?: + | (( + a: google.maps.journeySharing.DeliveryVehicleMarkerCustomizationFunctionParams, + ) => void) + | google.maps.PolylineOptions + | null; /** * Filter options to apply when fetching tasks. The options can include * specific vehicle, time, and task status. */ - taskFilterOptions: google.maps.journeySharing.FleetEngineTaskFilterOptions| - null; + taskFilterOptions: google.maps.journeySharing.FleetEngineTaskFilterOptions | null; /** * Customization applied to a task marker. A task marker is rendered at the * planned location of each task assigned to the delivery vehicle. @@ -8607,9 +8911,12 @@ declare namespace google.maps.journeySharing { * google.maps.journeySharing.TaskMarkerCustomizationFunctionParams} for a * list of supplied parameters and their uses. */ - taskMarkerCustomization?: ( - (a: google.maps.journeySharing.TaskMarkerCustomizationFunctionParams) => - void)|google.maps.MarkerOptions|null; + taskMarkerCustomization?: + | (( + a: google.maps.journeySharing.TaskMarkerCustomizationFunctionParams, + ) => void) + | google.maps.MarkerOptions + | null; /** * Customization applied to a task outcome marker. A task outcome marker is * rendered at the actual outcome location of each task assigned to the @@ -8628,8 +8935,10 @@ declare namespace google.maps.journeySharing { * list of supplied parameters and their uses. */ taskOutcomeMarkerCustomization?: - ((a: google.maps.journeySharing - .TaskMarkerCustomizationFunctionParams) => void)|null; + | (( + a: google.maps.journeySharing.TaskMarkerCustomizationFunctionParams, + ) => void) + | null; } /** * The event object passed to the event handler when the {@link @@ -8642,15 +8951,16 @@ declare namespace google.maps.journeySharing { * Unmodifiable. */ completedVehicleJourneySegments: - google.maps.journeySharing.VehicleJourneySegment[]|null; + | google.maps.journeySharing.VehicleJourneySegment[] + | null; /** * The delivery vehicle data structure returned by the update. Unmodifiable. */ - deliveryVehicle: google.maps.journeySharing.DeliveryVehicle|null; + deliveryVehicle: google.maps.journeySharing.DeliveryVehicle | null; /** * The list of tasks served by this delivery vehicle. Unmodifiable. */ - tasks: google.maps.journeySharing.Task[]|null; + tasks: google.maps.journeySharing.Task[] | null; } /** * Available only in the v=beta channel: https://goo.gle/3oAthT3. @@ -8661,8 +8971,8 @@ declare namespace google.maps.journeySharing { * google.maps.importLibrary("journeySharing")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - export class FleetEngineFleetLocationProvider extends - google.maps.journeySharing.PollingLocationProvider { + export class FleetEngineFleetLocationProvider extends google.maps + .journeySharing.PollingLocationProvider { /** * Available only in the v=beta channel: https://goo.gle/3oAthT3. * @@ -8673,15 +8983,18 @@ declare namespace google.maps.journeySharing { * https://developers.google.com/maps/documentation/javascript/libraries. * @param options Options to pass to the location provider. */ - constructor(options: google.maps.journeySharing - .FleetEngineFleetLocationProviderOptions); + constructor( + options: google.maps.journeySharing.FleetEngineFleetLocationProviderOptions, + ); /** * The bounds within which to track vehicles. If no bounds are set, no * vehicles will be tracked. To track all vehicles regardless of location, * set bounds equivalent to the entire earth. */ - locationRestriction?: google.maps.LatLngBounds|null| - google.maps.LatLngBoundsLiteral; + locationRestriction?: + | google.maps.LatLngBounds + | null + | google.maps.LatLngBoundsLiteral; /** * This Field is read-only. Threshold for stale vehicle location. If the * last updated location for the vehicle is older than this threshold, the @@ -8691,7 +9004,7 @@ declare namespace google.maps.journeySharing { /** * The filter applied when fetching the vehicles. */ - vehicleFilter?: string|null; + vehicleFilter?: string | null; } /** * Available only in the v=beta channel: https://goo.gle/3oAthT3. @@ -8703,8 +9016,9 @@ declare namespace google.maps.journeySharing { * Provides JSON Web Tokens for authenticating the client to Fleet Engine. */ authTokenFetcher( - this: any, a: google.maps.journeySharing.AuthTokenFetcherOptions): - Promise; + this: any, + a: google.maps.journeySharing.AuthTokenFetcherOptions, + ): Promise; /** * The latitude/longitude bounds within which to track vehicles immediately * after the location provider is instantiated. If not set, the location @@ -8713,8 +9027,10 @@ declare namespace google.maps.journeySharing { * to set the bounds and begin tracking. To track all vehicles regardless of * location, set bounds equivalent to the entire earth. */ - locationRestriction: google.maps.LatLngBounds|null| - google.maps.LatLngBoundsLiteral; + locationRestriction: + | google.maps.LatLngBounds + | null + | google.maps.LatLngBoundsLiteral; /** * The consumer's project ID from Google Cloud Console. */ @@ -8726,7 +9042,7 @@ declare namespace google.maps.journeySharing { * than zero, or Infinity, the threshold will be ignored and the * vehicle location will not be considered stale. */ - staleLocationThresholdMillis: number|null; + staleLocationThresholdMillis: number | null; /** * A filter query to apply when fetching vehicles. This filter is passed * directly to Fleet Engine.

See
or attributes."x y" = * "z". */ - vehicleFilter: string|null; + vehicleFilter: string | null; /** * Customization applied to a vehicle marker.

Use this field to * specify custom styling (such as marker icon) and interactivity (such as @@ -8754,8 +9070,10 @@ declare namespace google.maps.journeySharing { * a list of supplied parameters and their uses. */ vehicleMarkerCustomization?: - ((a: google.maps.journeySharing - .VehicleMarkerCustomizationFunctionParams) => void)|null; + | (( + a: google.maps.journeySharing.VehicleMarkerCustomizationFunctionParams, + ) => void) + | null; } /** * Available only in the v=beta channel: https://goo.gle/3oAthT3. @@ -8768,7 +9086,7 @@ declare namespace google.maps.journeySharing { /** * The list of vehicles returned by the query. Unmodifiable. */ - vehicles: google.maps.journeySharing.Vehicle[]|null; + vehicles: google.maps.journeySharing.Vehicle[] | null; } /** * Types of Fleet Engine services. @@ -8802,8 +9120,8 @@ declare namespace google.maps.journeySharing { * google.maps.importLibrary("journeySharing")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - export class FleetEngineShipmentLocationProvider extends - google.maps.journeySharing.PollingLocationProvider { + export class FleetEngineShipmentLocationProvider extends google.maps + .journeySharing.PollingLocationProvider { /** * Shipment location provider. * @@ -8812,8 +9130,9 @@ declare namespace google.maps.journeySharing { * https://developers.google.com/maps/documentation/javascript/libraries. * @param options Options for the location provider. */ - constructor(options: google.maps.journeySharing - .FleetEngineShipmentLocationProviderOptions); + constructor( + options: google.maps.journeySharing.FleetEngineShipmentLocationProviderOptions, + ); /** * Explicitly refreshes the tracked location. */ @@ -8828,12 +9147,37 @@ declare namespace google.maps.journeySharing { * Options for shipment location provider. */ export interface FleetEngineShipmentLocationProviderOptions { + /** + * Customization applied to the active polyline. An active polyline + * corresponds to a portion of the route the vehicle is currently traversing + * through.

Use this field to specify custom styling (such as + * polyline color) and interactivity (such as click handling).
  • If + * a {@link google.maps.PolylineOptions} object is specified, the changes + * specified in it are applied to the polyline after the polyline has been + * created, overwriting its default options if they exist.
  • If a + * function is specified, it is invoked once when the polyline is created. + * (On this invocation, the isNew parameter in the function + * parameters object is set to true.) Additionally, this + * function is invoked when the polyline's coordinates change, or when + * the location provider receives data from Fleet Engine, regardless of + * whether the data corresponding to this marker have + * changed.

    See {@link + * google.maps.journeySharing.ShipmentMarkerCustomizationFunctionParams} for + * a list of supplied parameters and their uses.
+ */ + activePolylineCustomization?: + | (( + a: google.maps.journeySharing.ShipmentPolylineCustomizationFunctionParams, + ) => void) + | google.maps.PolylineOptions + | null; /** * Provides JSON Web Tokens for authenticating the client to Fleet Engine. */ authTokenFetcher( - this: any, a: google.maps.journeySharing.AuthTokenFetcherOptions): - Promise; + this: any, + a: google.maps.journeySharing.AuthTokenFetcherOptions, + ): Promise; /** * Customization applied to the delivery vehicle marker.

Use this * field to specify custom styling (such as marker icon) and interactivity @@ -8851,9 +9195,11 @@ declare namespace google.maps.journeySharing { * a list of supplied parameters and their uses. */ deliveryVehicleMarkerCustomization?: - ((a: google.maps.journeySharing - .ShipmentMarkerCustomizationFunctionParams) => - void)|google.maps.MarkerOptions|null; + | (( + a: google.maps.journeySharing.ShipmentMarkerCustomizationFunctionParams, + ) => void) + | google.maps.MarkerOptions + | null; /** * Customization applied to the destination marker.

Use this field * to specify custom styling (such as marker icon) and interactivity (such @@ -8871,9 +9217,11 @@ declare namespace google.maps.journeySharing { * a list of supplied parameters and their uses. */ destinationMarkerCustomization?: - ((a: google.maps.journeySharing - .ShipmentMarkerCustomizationFunctionParams) => - void)|google.maps.MarkerOptions|null; + | (( + a: google.maps.journeySharing.ShipmentMarkerCustomizationFunctionParams, + ) => void) + | google.maps.MarkerOptions + | null; /** * Minimum time between fetching location updates in milliseconds. If it * takes longer than pollingIntervalMillis to fetch a location @@ -8887,11 +9235,58 @@ declare namespace google.maps.journeySharing { * milliseconds. If you set the polling interval to a lower positive value, * 5000 is stored and used. */ - pollingIntervalMillis: number|null; + pollingIntervalMillis: number | null; /** * The consumer's project ID from Google Cloud Console. */ projectId: string; + /** + * Customization applied to the remaining polyline. A remaining polyline + * corresponds to a portion of the route the vehicle has not yet started + * traversing through.

Use this field to specify custom styling + * (such as polyline color) and interactivity (such as click + * handling).
  • If a {@link google.maps.PolylineOptions} object is + * specified, the changes specified in it are applied to the polyline after + * the polyline has been created, overwriting its default options if they + * exist.
  • If a function is specified, it is invoked once when the + * polyline is created. (On this invocation, the isNew + * parameter in the function parameters object is set to true.) + * Additionally, this function is invoked when the polyline's + * coordinates change, or when the location provider receives data from + * Fleet Engine, regardless of whether the data corresponding to this marker + * have changed.

    See {@link + * google.maps.journeySharing.ShipmentMarkerCustomizationFunctionParams} for + * a list of supplied parameters and their uses.
+ */ + remainingPolylineCustomization?: + | (( + a: google.maps.journeySharing.ShipmentPolylineCustomizationFunctionParams, + ) => void) + | google.maps.PolylineOptions + | null; + /** + * Customization applied to the taken polyline. A taken polyline corresponds + * to a portion of the route the vehicle has already traversed through. + *

Use this field to specify custom styling (such as polyline color) + * and interactivity (such as click handling).
  • If a {@link + * google.maps.PolylineOptions} object is specified, the changes specified + * in it are applied to the polyline after the polyline has been created, + * overwriting its default options if they exist.
  • If a function is + * specified, it is invoked once when the polyline is created. (On this + * invocation, the isNew parameter in the function parameters + * object is set to true.) Additionally, this function is + * invoked when the polyline's coordinates change, or when the location + * provider receives data from Fleet Engine, regardless of whether the data + * corresponding to this marker have changed.

    See {@link + * google.maps.journeySharing.ShipmentMarkerCustomizationFunctionParams} for + * a list of supplied parameters and their uses.
+ */ + takenPolylineCustomization?: + | (( + a: google.maps.journeySharing.ShipmentPolylineCustomizationFunctionParams, + ) => void) + | google.maps.PolylineOptions + | null; /** * The tracking ID of the task to track immediately after the location * provider is instantiated. If not specified, the location provider does @@ -8899,7 +9294,7 @@ declare namespace google.maps.journeySharing { * google.maps.journeySharing.FleetEngineShipmentLocationProvider.trackingId} * to set the tracking ID and begin tracking. */ - trackingId: string|null; + trackingId: string | null; } /** * The event object passed to the event handler when the {@link @@ -8910,7 +9305,7 @@ declare namespace google.maps.journeySharing { /** * The task tracking info structure returned by the update. Unmodifiable. */ - taskTrackingInfo: google.maps.journeySharing.TaskTrackingInfo|null; + taskTrackingInfo: google.maps.journeySharing.TaskTrackingInfo | null; } /** * Filtering options for tasks in the Delivery Vehicle Location Provider. @@ -8920,16 +9315,16 @@ declare namespace google.maps.journeySharing { * Exclusive lower bound for the completion time of the task. Used to filter * for tasks that were completed after the specified time. */ - completionTimeFrom: Date|null; + completionTimeFrom: Date | null; /** * Exclusive upper bound for the completion time of the task. Used to filter * for tasks that were completed before the specified time. */ - completionTimeTo: Date|null; + completionTimeTo: Date | null; /** * The state of the task. Valid values are OPEN or CLOSED. */ - state: string|null; + state: string | null; } /** * Trip location provider. @@ -8938,8 +9333,8 @@ declare namespace google.maps.journeySharing { * google.maps.importLibrary("journeySharing")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - export class FleetEngineTripLocationProvider extends - google.maps.journeySharing.PollingLocationProvider { + export class FleetEngineTripLocationProvider extends google.maps + .journeySharing.PollingLocationProvider { /** * Trip location provider. * @@ -8948,8 +9343,9 @@ declare namespace google.maps.journeySharing { * https://developers.google.com/maps/documentation/javascript/libraries. * @param options Options for the location provider. */ - constructor(options: google.maps.journeySharing - .FleetEngineTripLocationProviderOptions); + constructor( + options: google.maps.journeySharing.FleetEngineTripLocationProviderOptions, + ); /** * Explicitly refreshes the tracked location. */ @@ -8964,12 +9360,37 @@ declare namespace google.maps.journeySharing { * Options for trip location provider. */ export interface FleetEngineTripLocationProviderOptions { + /** + * Customization applied to the active polyline. An active polyline + * corresponds to a portion of the route the vehicle is currently traversing + * through.

Use this field to specify custom styling (such as + * polyline color) and interactivity (such as click handling).
  • If + * a {@link google.maps.PolylineOptions} object is specified, the changes + * specified in it are applied to the polyline after the polyline has been + * created, overwriting its default options if they exist.
  • If a + * function is specified, it is invoked once when the polyline is created. + * (On this invocation, the isNew parameter in the function + * parameters object is set to true.) Additionally, this + * function is invoked when the polyline's coordinates change, or when + * the location provider receives data from Fleet Engine, regardless of + * whether the data corresponding to this marker have + * changed.

    See {@link + * google.maps.journeySharing.TripMarkerCustomizationFunctionParams} for a + * list of supplied parameters and their uses.
+ */ + activePolylineCustomization?: + | (( + a: google.maps.journeySharing.TripMarkerCustomizationFunctionParams, + ) => void) + | google.maps.PolylineOptions + | null; /** * Provides JSON Web Tokens for authenticating the client to Fleet Engine. */ authTokenFetcher( - this: any, a: google.maps.journeySharing.AuthTokenFetcherOptions): - Promise; + this: any, + a: google.maps.journeySharing.AuthTokenFetcherOptions, + ): Promise; /** * Customization applied to the destination marker.

Use this field * to specify custom styling (such as marker icon) and interactivity (such @@ -8986,9 +9407,12 @@ declare namespace google.maps.journeySharing { * google.maps.journeySharing.TripMarkerCustomizationFunctionParams} for a * list of supplied parameters and their uses. */ - destinationMarkerCustomization?: ( - (a: google.maps.journeySharing.TripMarkerCustomizationFunctionParams) => - void)|google.maps.MarkerOptions|null; + destinationMarkerCustomization?: + | (( + a: google.maps.journeySharing.TripMarkerCustomizationFunctionParams, + ) => void) + | google.maps.MarkerOptions + | null; /** * Customization applied to the origin marker.

Use this field to * specify custom styling (such as marker icon) and interactivity (such as @@ -9005,9 +9429,12 @@ declare namespace google.maps.journeySharing { * google.maps.journeySharing.TripMarkerCustomizationFunctionParams} for a * list of supplied parameters and their uses. */ - originMarkerCustomization?: ( - (a: google.maps.journeySharing.TripMarkerCustomizationFunctionParams) => - void)|google.maps.MarkerOptions|null; + originMarkerCustomization?: + | (( + a: google.maps.journeySharing.TripMarkerCustomizationFunctionParams, + ) => void) + | google.maps.MarkerOptions + | null; /** * Minimum time between fetching location updates in milliseconds. If it * takes longer than pollingIntervalMillis to fetch a location @@ -9018,11 +9445,58 @@ declare namespace google.maps.journeySharing { * interval is 5000 milliseconds, the minimum interval. If you set the * polling interval to a lower non-zero value, 5000 is used. */ - pollingIntervalMillis: number|null; + pollingIntervalMillis: number | null; /** * The consumer's project ID from Google Cloud Console. */ projectId: string; + /** + * Customization applied to the remaining polyline. A remaining polyline + * corresponds to a portion of the route the vehicle has not yet started + * traversing through.

Use this field to specify custom styling + * (such as polyline color) and interactivity (such as click + * handling).
  • If a {@link google.maps.PolylineOptions} object is + * specified, the changes specified in it are applied to the polyline after + * the polyline has been created, overwriting its default options if they + * exist.
  • If a function is specified, it is invoked once when the + * polyline is created. (On this invocation, the isNew + * parameter in the function parameters object is set to true.) + * Additionally, this function is invoked when the polyline's + * coordinates change, or when the location provider receives data from + * Fleet Engine, regardless of whether the data corresponding to this marker + * have changed.

    See {@link + * google.maps.journeySharing.TripMarkerCustomizationFunctionParams} for a + * list of supplied parameters and their uses.
+ */ + remainingPolylineCustomization?: + | (( + a: google.maps.journeySharing.TripMarkerCustomizationFunctionParams, + ) => void) + | google.maps.PolylineOptions + | null; + /** + * Customization applied to the taken polyline. A taken polyline corresponds + * to a portion of the route the vehicle has already traversed through. + *

Use this field to specify custom styling (such as polyline color) + * and interactivity (such as click handling).
  • If a {@link + * google.maps.PolylineOptions} object is specified, the changes specified + * in it are applied to the polyline after the polyline has been created, + * overwriting its default options if they exist.
  • If a function is + * specified, it is invoked once when the polyline is created. (On this + * invocation, the isNew parameter in the function parameters + * object is set to true.) Additionally, this function is + * invoked when the polyline's coordinates change, or when the location + * provider receives data from Fleet Engine, regardless of whether the data + * corresponding to this marker have changed.

    See {@link + * google.maps.journeySharing.TripMarkerCustomizationFunctionParams} for a + * list of supplied parameters and their uses.
+ */ + takenPolylineCustomization?: + | (( + a: google.maps.journeySharing.TripPolylineCustomizationFunctionParams, + ) => void) + | google.maps.PolylineOptions + | null; /** * The trip ID to track immediately after the location provider is * instantiated. If not specified, the location provider does not start @@ -9030,7 +9504,7 @@ declare namespace google.maps.journeySharing { * google.maps.journeySharing.FleetEngineTripLocationProvider.tripId} to set * the ID and begin tracking. */ - tripId: string|null; + tripId: string | null; /** * Customization applied to the vehicle marker.

Use this field to * specify custom styling (such as marker icon) and interactivity (such as @@ -9047,9 +9521,12 @@ declare namespace google.maps.journeySharing { * google.maps.journeySharing.TripMarkerCustomizationFunctionParams} for a * list of supplied parameters and their uses. */ - vehicleMarkerCustomization?: ( - (a: google.maps.journeySharing.TripMarkerCustomizationFunctionParams) => - void)|google.maps.MarkerOptions|null; + vehicleMarkerCustomization?: + | (( + a: google.maps.journeySharing.TripMarkerCustomizationFunctionParams, + ) => void) + | google.maps.MarkerOptions + | null; /** * Customization applied to a waypoint marker.

Use this field to * specify custom styling (such as marker icon) and interactivity (such as @@ -9067,9 +9544,11 @@ declare namespace google.maps.journeySharing { * for a list of supplied parameters and their uses. */ waypointMarkerCustomization?: - ((a: google.maps.journeySharing - .TripWaypointMarkerCustomizationFunctionParams) => - void)|google.maps.MarkerOptions|null; + | (( + a: google.maps.journeySharing.TripWaypointMarkerCustomizationFunctionParams, + ) => void) + | google.maps.MarkerOptions + | null; } /** * The event object passed to the event handler when the {@link @@ -9080,7 +9559,7 @@ declare namespace google.maps.journeySharing { /** * The trip structure returned by the update. Unmodifiable. */ - trip: google.maps.journeySharing.Trip|null; + trip: google.maps.journeySharing.Trip | null; } /** * Available only in the v=beta channel: https://goo.gle/3oAthT3. @@ -9091,8 +9570,8 @@ declare namespace google.maps.journeySharing { * google.maps.importLibrary("journeySharing")`. See * https://developers.google.com/maps/documentation/javascript/libraries. */ - export class FleetEngineVehicleLocationProvider extends - google.maps.journeySharing.PollingLocationProvider { + export class FleetEngineVehicleLocationProvider extends google.maps + .journeySharing.PollingLocationProvider { /** * Available only in the v=beta channel: https://goo.gle/3oAthT3. * @@ -9103,8 +9582,9 @@ declare namespace google.maps.journeySharing { * https://developers.google.com/maps/documentation/javascript/libraries. * @param options Options to pass to the location provider. */ - constructor(options: google.maps.journeySharing - .FleetEngineVehicleLocationProviderOptions); + constructor( + options: google.maps.journeySharing.FleetEngineVehicleLocationProviderOptions, + ); /** * This Field is read-only. Threshold for stale vehicle location. If the * last updated location for the vehicle is older than this threshold, the @@ -9123,12 +9603,37 @@ declare namespace google.maps.journeySharing { * Options for vehicle location provider. */ export interface FleetEngineVehicleLocationProviderOptions { + /** + * Customization applied to the active polyline. An active polyline + * corresponds to a portion of the route the vehicle is currently traversing + * through.

Use this field to specify custom styling (such as + * polyline color) and interactivity (such as click handling).
  • If + * a {@link google.maps.PolylineOptions} object is specified, the changes + * specified in it are applied to the polyline after the polyline has been + * created, overwriting its default options if they exist.
  • If a + * function is specified, it is invoked once when the polyline is created. + * (On this invocation, the isNew parameter in the function + * parameters object is set to true.) Additionally, this + * function is invoked when the polyline's coordinates change, or when + * the location provider receives data from Fleet Engine, regardless of + * whether the data corresponding to this marker have + * changed.

    See {@link + * google.maps.journeySharing.VehicleMarkerCustomizationFunctionParams} for + * a list of supplied parameters and their uses.
+ */ + activePolylineCustomization?: + | (( + a: google.maps.journeySharing.VehicleMarkerCustomizationFunctionParams, + ) => void) + | google.maps.PolylineOptions + | null; /** * Provides JSON Web Tokens for authenticating the client to Fleet Engine. */ authTokenFetcher( - this: any, a: google.maps.journeySharing.AuthTokenFetcherOptions): - Promise; + this: any, + a: google.maps.journeySharing.AuthTokenFetcherOptions, + ): Promise; /** * Customization applied to the vehicle trip destination marker.

Use * this field to specify custom styling (such as marker icon) and @@ -9146,9 +9651,11 @@ declare namespace google.maps.journeySharing { * for a list of supplied parameters and their uses. */ destinationMarkerCustomization?: - ((a: google.maps.journeySharing - .VehicleWaypointMarkerCustomizationFunctionParams) => - void)|google.maps.MarkerOptions|null; + | (( + a: google.maps.journeySharing.VehicleWaypointMarkerCustomizationFunctionParams, + ) => void) + | google.maps.MarkerOptions + | null; /** * Customization applied to the vehicle trip intermediate destination * markers.

Use this field to specify custom styling (such as marker @@ -9166,9 +9673,11 @@ declare namespace google.maps.journeySharing { * for a list of supplied parameters and their uses. */ intermediateDestinationMarkerCustomization?: - ((a: google.maps.journeySharing - .VehicleWaypointMarkerCustomizationFunctionParams) => - void)|google.maps.MarkerOptions|null; + | (( + a: google.maps.journeySharing.VehicleWaypointMarkerCustomizationFunctionParams, + ) => void) + | google.maps.MarkerOptions + | null; /** * Customization applied to the vehicle trip origin marker.

Use this * field to specify custom styling (such as marker icon) and interactivity @@ -9186,9 +9695,11 @@ declare namespace google.maps.journeySharing { * for a list of supplied parameters and their uses. */ originMarkerCustomization?: - ((a: google.maps.journeySharing - .VehicleWaypointMarkerCustomizationFunctionParams) => - void)|google.maps.MarkerOptions|null; + | (( + a: google.maps.journeySharing.VehicleWaypointMarkerCustomizationFunctionParams, + ) => void) + | google.maps.MarkerOptions + | null; /** * Minimum time between fetching location updates in milliseconds. If it * takes longer than pollingIntervalMillis to fetch a location @@ -9199,11 +9710,35 @@ declare namespace google.maps.journeySharing { * interval is 5000 milliseconds, the minimum interval. If you set the * polling interval to a lower non-zero value, 5000 is used. */ - pollingIntervalMillis: number|null; + pollingIntervalMillis: number | null; /** * The consumer's project ID from Google Cloud Console. */ projectId: string; + /** + * Customization applied to the remaining polyline. A remaining polyline + * corresponds to a portion of the route the vehicle has not yet started + * traversing through.

Use this field to specify custom styling + * (such as polyline color) and interactivity (such as click + * handling).
  • If a {@link google.maps.PolylineOptions} object is + * specified, the changes specified in it are applied to the polyline after + * the polyline has been created, overwriting its default options if they + * exist.
  • If a function is specified, it is invoked once when the + * polyline is created. (On this invocation, the isNew + * parameter in the function parameters object is set to true.) + * Additionally, this function is invoked when the polyline's + * coordinates change, or when the location provider receives data from + * Fleet Engine, regardless of whether the data corresponding to this marker + * have changed.

    See {@link + * google.maps.journeySharing.VehicleMarkerCustomizationFunctionParams} for + * a list of supplied parameters and their uses.
+ */ + remainingPolylineCustomization?: + | (( + a: google.maps.journeySharing.VehicleMarkerCustomizationFunctionParams, + ) => void) + | google.maps.PolylineOptions + | null; /** * Threshold for stale vehicle location. If the last updated location for * the vehicle is older this threshold, the vehicle will not be displayed. @@ -9211,7 +9746,30 @@ declare namespace google.maps.journeySharing { * Infinity, the threshold will be ignored and the vehicle location * will not be considered stale. */ - staleLocationThresholdMillis: number|null; + staleLocationThresholdMillis: number | null; + /** + * Customization applied to the taken polyline. A taken polyline corresponds + * to a portion of the route the vehicle has already traversed through. + *

Use this field to specify custom styling (such as polyline color) + * and interactivity (such as click handling).
  • If a {@link + * google.maps.PolylineOptions} object is specified, the changes specified + * in it are applied to the polyline after the polyline has been created, + * overwriting its default options if they exist.
  • If a function is + * specified, it is invoked once when the polyline is created. (On this + * invocation, the isNew parameter in the function parameters + * object is set to true.) Additionally, this function is + * invoked when the polyline's coordinates change, or when the location + * provider receives data from Fleet Engine, regardless of whether the data + * corresponding to this marker have changed.

    See {@link + * google.maps.journeySharing.VehicleMarkerCustomizationFunctionParams} for + * a list of supplied parameters and their uses.
+ */ + takenPolylineCustomization?: + | (( + a: google.maps.journeySharing.VehicleMarkerCustomizationFunctionParams, + ) => void) + | google.maps.PolylineOptions + | null; /** * The vehicle ID to track immediately after the location provider is * instantiated. If not specified, the location provider does not start @@ -9219,7 +9777,7 @@ declare namespace google.maps.journeySharing { * google.maps.journeySharing.FleetEngineVehicleLocationProvider.vehicleId} * to set the ID and begin tracking. */ - vehicleId: string|null; + vehicleId: string | null; /** * Customization applied to the vehicle marker.

Use this field to * specify custom styling (such as marker icon) and interactivity (such as @@ -9237,9 +9795,11 @@ declare namespace google.maps.journeySharing { * a list of supplied parameters and their uses. */ vehicleMarkerCustomization?: - ((a: google.maps.journeySharing - .VehicleMarkerCustomizationFunctionParams) => - void)|google.maps.MarkerOptions|null; + | (( + a: google.maps.journeySharing.VehicleMarkerCustomizationFunctionParams, + ) => void) + | google.maps.MarkerOptions + | null; } /** * Available only in the v=beta channel: https://goo.gle/3oAthT3. @@ -9252,11 +9812,11 @@ declare namespace google.maps.journeySharing { /** * The list of trips completed by this vehicle. Unmodifiable. */ - trips: google.maps.journeySharing.Trip[]|null; + trips: google.maps.journeySharing.Trip[] | null; /** * The vehicle data structure returned by the update. Unmodifiable. */ - vehicle: google.maps.journeySharing.Vehicle|null; + vehicle: google.maps.journeySharing.Vehicle | null; } /** * The map view. @@ -9274,15 +9834,17 @@ declare namespace google.maps.journeySharing { * https://developers.google.com/maps/documentation/javascript/libraries. * @param options Options for the map view. */ - constructor(options: - google.maps.journeySharing.JourneySharingMapViewOptions); + constructor( + options: google.maps.journeySharing.JourneySharingMapViewOptions, + ); /** * Adds a location provider to the map view. If the location provider is * already added, no action is performed. * @param locationProvider the location provider to add. */ - addLocationProvider(locationProvider: - google.maps.journeySharing.LocationProvider): void; + addLocationProvider( + locationProvider: google.maps.journeySharing.LocationProvider, + ): void; /** * Configures options for an anticipated route polyline. Invoked whenever a * new anticipated route polyline is rendered.

If specifying a @@ -9297,13 +9859,21 @@ declare namespace google.maps.journeySharing { * in different PolylineSetupOptions objects. If polylineOptions or visible * is unset or null, it will be overwritten with the default. Any values set * for polylineOptions.map or polylineOptions.path will be ignored. + * @deprecated Polyline setup is deprecated. Use the + * PolylineCustomizationFunction methods for your location + * provider instead. This field will be removed in the future. */ anticipatedRoutePolylineSetup: - google.maps.journeySharing.PolylineSetupOptions| - ((a: google.maps.journeySharing.DefaultPolylineSetupOptions) => - google.maps.journeySharing.PolylineSetupOptions); + | google.maps.journeySharing.PolylineSetupOptions + | (( + a: google.maps.journeySharing.DefaultPolylineSetupOptions, + ) => google.maps.journeySharing.PolylineSetupOptions); /** * Returns the anticipated route polylines, if any. + * @deprecated getting a list of polylines via the MapView is + * deprecated. Use the PolylineCustomizationFunctions for + * your location provider to receive callbacks when a polyline is added + * to the map or updated. */ anticipatedRoutePolylines: google.maps.Polyline[]; /** @@ -9328,9 +9898,11 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - destinationMarkerSetup: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions); + destinationMarkerSetup: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions); /** * Returns the destination markers, if any. * @deprecated getting a list of markers via the MapView is @@ -9354,7 +9926,7 @@ declare namespace google.maps.journeySharing { * google.maps.journeySharing.JourneySharingMapView.locationProviders} * instead. */ - locationProvider: google.maps.journeySharing.LocationProvider|null; + locationProvider: google.maps.journeySharing.LocationProvider | null; /** * This field is read-only. Sources of tracked locations to be shown in the * tracking map view. To add or remove location providers, use the {@link @@ -9363,7 +9935,7 @@ declare namespace google.maps.journeySharing { * google.maps.journeySharing.JourneySharingMapView.removeLocationProvider} * methods. */ - locationProviders: google.maps.journeySharing.LocationProvider[]|null; + locationProviders: google.maps.journeySharing.LocationProvider[] | null; /** * This Field is read-only. The map object contained in the map view. */ @@ -9391,9 +9963,11 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - originMarkerSetup: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions); + originMarkerSetup: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions); /** * Returns the origin markers, if any. * @deprecated getting a list of markers via the MapView is @@ -9420,16 +9994,19 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - pingMarkerSetup: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions); + pingMarkerSetup: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions); /** * Removes a location provider from the map view. If the location provider * is not already added to the map view, no action is performed. * @param locationProvider the location provider to remove. */ removeLocationProvider( - locationProvider: google.maps.journeySharing.LocationProvider): void; + locationProvider: google.maps.journeySharing.LocationProvider, + ): void; /** * Configures options for a successful task location marker. Invoked * whenever a new successful task marker is rendered.

If specifying @@ -9448,9 +10025,11 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - successfulTaskMarkerSetup: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions); + successfulTaskMarkerSetup: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions); /** * Returns the successful task markers, if any. * @deprecated getting a list of markers via the MapView is @@ -9473,12 +10052,21 @@ declare namespace google.maps.journeySharing { * different PolylineSetupOptions objects.

Any values set for * polylineOptions.map or polylineOptions.path will be ignored. Any unset or * null value will be overwritten with the default. + * @deprecated Polyline setup is deprecated. Use the + * PolylineCustomizationFunction methods for your location + * provider instead. This field will be removed in the future. */ - takenRoutePolylineSetup: google.maps.journeySharing.PolylineSetupOptions| - ((a: google.maps.journeySharing.DefaultPolylineSetupOptions) => - google.maps.journeySharing.PolylineSetupOptions); + takenRoutePolylineSetup: + | google.maps.journeySharing.PolylineSetupOptions + | (( + a: google.maps.journeySharing.DefaultPolylineSetupOptions, + ) => google.maps.journeySharing.PolylineSetupOptions); /** * Returns the taken route polylines, if any. + * @deprecated getting a list of polylines via the MapView is + * deprecated. Use the PolylineCustomizationFunctions for + * your location provider to receive callbacks when a polyline is added + * to the map or updated. */ takenRoutePolylines: google.maps.Polyline[]; /** @@ -9499,9 +10087,11 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - taskOutcomeMarkerSetup: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions); + taskOutcomeMarkerSetup: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions); /** * Returns the task outcome markers, if any. * @deprecated getting a list of markers via the MapView is @@ -9528,9 +10118,11 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - unsuccessfulTaskMarkerSetup: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions); + unsuccessfulTaskMarkerSetup: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions); /** * Returns the unsuccessful task markers, if any. * @deprecated getting a list of markers via the MapView is @@ -9557,9 +10149,11 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - vehicleMarkerSetup: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions); + vehicleMarkerSetup: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions); /** * Returns the vehicle markers, if any. * @deprecated getting a list of markers via the MapView is @@ -9586,9 +10180,11 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - waypointMarkerSetup: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions); + waypointMarkerSetup: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions); /** * Returns the waypoint markers, if any. * @deprecated getting a list of markers via the MapView is @@ -9616,19 +10212,23 @@ declare namespace google.maps.journeySharing { * in different PolylineSetupOptions objects. If polylineOptions or visible * is unset or null, it will be overwritten with the default. Any values set * for polylineOptions.map or polylineOptions.path will be ignored. + * @deprecated Polyline setup is deprecated. Use the + * PolylineCustomizationFunction methods for your location + * provider instead. This field will be removed in the future. */ anticipatedRoutePolylineSetup?: - google.maps.journeySharing.PolylineSetupOptions| - ((a: google.maps.journeySharing.DefaultPolylineSetupOptions) => - google.maps.journeySharing.PolylineSetupOptions)|null; + | google.maps.journeySharing.PolylineSetupOptions + | (( + a: google.maps.journeySharing.DefaultPolylineSetupOptions, + ) => google.maps.journeySharing.PolylineSetupOptions) + | null; /** * Automatic viewport mode. Default value is FIT_ANTICIPATED_ROUTE, which * enables the map view to automatically adjust the viewport to fit vehicle * markers, location markers, and any visible anticipated route polylines. * Set this to NONE to turn off automatic fitting. */ - automaticViewportMode?: google.maps.journeySharing.AutomaticViewportMode| - null; + automaticViewportMode?: google.maps.journeySharing.AutomaticViewportMode | null; /** * Configures options for a destination location marker. Invoked whenever a * new destination marker is rendered.

If specifying a function, the @@ -9647,9 +10247,12 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - destinationMarkerSetup?: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions)|null; + destinationMarkerSetup?: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions) + | null; /** * The DOM element backing the view. Required. */ @@ -9661,16 +10264,16 @@ declare namespace google.maps.journeySharing { * google.maps.journeySharing.JourneySharingMapViewOptions.locationProviders} * instead. */ - locationProvider: google.maps.journeySharing.LocationProvider|null; + locationProvider: google.maps.journeySharing.LocationProvider | null; /** * Sources of tracked locations to be shown in the tracking map view. * Optional. */ - locationProviders: google.maps.journeySharing.LocationProvider[]|null; + locationProviders: google.maps.journeySharing.LocationProvider[] | null; /** * Map options passed into the google.maps.Map constructor. */ - mapOptions?: google.maps.MapOptions|null; + mapOptions?: google.maps.MapOptions | null; /** * Configures options for an origin location marker. Invoked whenever a new * origin marker is rendered.

If specifying a function, the function @@ -9689,9 +10292,12 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - originMarkerSetup?: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions)|null; + originMarkerSetup?: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions) + | null; /** * Configures options for a ping location marker. Invoked whenever a new * ping marker is rendered.

If specifying a function, the function @@ -9710,9 +10316,12 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - pingMarkerSetup?: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions)|null; + pingMarkerSetup?: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions) + | null; /** * Configures options for a successful task location marker. Invoked * whenever a new successful task marker is rendered.

If specifying @@ -9731,9 +10340,12 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - successfulTaskMarkerSetup?: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions)|null; + successfulTaskMarkerSetup?: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions) + | null; /** * Configures options for a taken route polyline. Invoked whenever a new * taken route polyline is rendered.

If specifying a function, the @@ -9748,10 +10360,16 @@ declare namespace google.maps.journeySharing { * different PolylineSetupOptions objects.

Any values set for * polylineOptions.map or polylineOptions.path will be ignored. Any unset or * null value will be overwritten with the default. + * @deprecated Polyline setup is deprecated. Use the + * PolylineCustomizationFunction methods for your location + * provider instead. This field will be removed in the future. */ - takenRoutePolylineSetup?: google.maps.journeySharing.PolylineSetupOptions| - ((a: google.maps.journeySharing.DefaultPolylineSetupOptions) => - google.maps.journeySharing.PolylineSetupOptions)|null; + takenRoutePolylineSetup?: + | google.maps.journeySharing.PolylineSetupOptions + | (( + a: google.maps.journeySharing.DefaultPolylineSetupOptions, + ) => google.maps.journeySharing.PolylineSetupOptions) + | null; /** * Configures options for a task outcome location marker. Invoked whenever a * new task outcome location marker is rendered.

If specifying a @@ -9770,9 +10388,12 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - taskOutcomeMarkerSetup?: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions)|null; + taskOutcomeMarkerSetup?: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions) + | null; /** * Configures options for an unsuccessful task location marker. Invoked * whenever a new unsuccessful task marker is rendered.

If @@ -9791,9 +10412,12 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - unsuccessfulTaskMarkerSetup?: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions)|null; + unsuccessfulTaskMarkerSetup?: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions) + | null; /** * Configures options for a vehicle location marker. Invoked whenever a new * vehicle marker is rendered.

If specifying a function, the @@ -9812,9 +10436,12 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - vehicleMarkerSetup?: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions)|null; + vehicleMarkerSetup?: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions) + | null; /** * Configures options for a waypoint location marker. Invoked whenever a new * waypoint marker is rendered.

If specifying a function, the @@ -9833,9 +10460,12 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. This field will be removed in the future. */ - waypointMarkerSetup?: google.maps.journeySharing.MarkerSetupOptions| - ((a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions)|null; + waypointMarkerSetup?: + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions) + | null; } /** * Parent class of all location providers. @@ -9848,8 +10478,10 @@ declare namespace google.maps.journeySharing { * @param eventName The name of the event to listen for. * @param handler The event handler. */ - addListener(eventName: string, handler: Function): - google.maps.MapsEventListener; + addListener( + eventName: string, + handler: Function, + ): google.maps.MapsEventListener; } /** * Parameters that are common to all marker customization functions. No object @@ -9877,9 +10509,11 @@ declare namespace google.maps.journeySharing { * MarkerCustomizationFunction methods for your location * provider instead. */ - export type MarkerSetup = google.maps.journeySharing.MarkerSetupOptions|( - (a: google.maps.journeySharing.DefaultMarkerSetupOptions) => - google.maps.journeySharing.MarkerSetupOptions); + export type MarkerSetup = + | google.maps.journeySharing.MarkerSetupOptions + | (( + a: google.maps.journeySharing.DefaultMarkerSetupOptions, + ) => google.maps.journeySharing.MarkerSetupOptions); /** * MarkerSetup options. * @deprecated Marker setup is deprecated. Use the @@ -9890,16 +10524,16 @@ declare namespace google.maps.journeySharing { /** * Marker options. */ - markerOptions?: google.maps.MarkerOptions|null; + markerOptions?: google.maps.MarkerOptions | null; } /** * Parameters specific to marker customization functions that apply options to * markers representing planned stops. Used by {@link * google.maps.journeySharing.FleetEngineDeliveryVehicleLocationProviderOptions.plannedStopMarkerCustomization}. */ - export interface PlannedStopMarkerCustomizationFunctionParams extends - google.maps.journeySharing - .DeliveryVehicleMarkerCustomizationFunctionParams { + export interface PlannedStopMarkerCustomizationFunctionParams + extends google.maps.journeySharing + .DeliveryVehicleMarkerCustomizationFunctionParams { /** * The 0-based index of this stop in the list of remaining stops. */ @@ -9908,8 +10542,8 @@ declare namespace google.maps.journeySharing { /** * Parent class of polling location providers. */ - export abstract class PollingLocationProvider extends - google.maps.journeySharing.LocationProvider { + export abstract class PollingLocationProvider extends google.maps + .journeySharing.LocationProvider { /** * True if this location provider is polling. Read only. */ @@ -9940,23 +10574,55 @@ declare namespace google.maps.journeySharing { * was caused by an error. Undefined if the state change was due to normal * operations. */ - error: Error|null; + error: Error | null; + } + /** + * Parameters that are common to all polyline customization functions. No + * object of this class is provided directly to any polyline customization + * function; an object of one of its descendent classes is provided instead. + */ + export interface PolylineCustomizationFunctionParams { + /** + * The default options used to create this set of polylines. + */ + defaultOptions: google.maps.PolylineOptions; + /** + * If true, the list of polylines was newly created, and the polyline + * customization function is being called for the first time. False + * otherwise. + */ + isNew: boolean; + /** + * The list of polylines created. They are arranged sequentially to form the + * rendered route. + */ + polylines: google.maps.Polyline[]; } - export type PolylineSetup = google.maps.journeySharing.PolylineSetupOptions|( - (a: google.maps.journeySharing.DefaultPolylineSetupOptions) => - google.maps.journeySharing.PolylineSetupOptions); + /** + * @deprecated Polyline setup is deprecated. Use the + * PolylineCustomizationFunction methods for your location + * provider instead. + */ + export type PolylineSetup = + | google.maps.journeySharing.PolylineSetupOptions + | (( + a: google.maps.journeySharing.DefaultPolylineSetupOptions, + ) => google.maps.journeySharing.PolylineSetupOptions); /** * PolylineSetup options. + * @deprecated Polyline setup is deprecated. Use the + * PolylineCustomizationFunction methods for your location + * provider instead. */ export interface PolylineSetupOptions { /** * Polyline options. */ - polylineOptions?: google.maps.PolylineOptions|null; + polylineOptions?: google.maps.PolylineOptions | null; /** * Polyline visibility. */ - visible?: boolean|null; + visible?: boolean | null; } /** * Parameters specific to marker customization functions that apply options to @@ -9966,13 +10632,24 @@ declare namespace google.maps.journeySharing { * and {@link * google.maps.journeySharing.FleetEngineShipmentLocationProviderOptions.destinationMarkerCustomization}. */ - export interface ShipmentMarkerCustomizationFunctionParams extends - google.maps.journeySharing.MarkerCustomizationFunctionParams { + export interface ShipmentMarkerCustomizationFunctionParams + extends google.maps.journeySharing.MarkerCustomizationFunctionParams { /** * Information for the task associated with this marker. */ taskTrackingInfo: google.maps.journeySharing.TaskTrackingInfo; } + /** + * Parameters specific to polyline customization functions for {@link + * google.maps.journeySharing.FleetEngineShipmentLocationProvider}. + */ + export interface ShipmentPolylineCustomizationFunctionParams + extends google.maps.journeySharing.PolylineCustomizationFunctionParams { + /** + * Information for the task associated with this polyline. + */ + taskTrackingInfo: google.maps.journeySharing.TaskTrackingInfo; + } /** * The details for a task returned by Fleet Engine. */ @@ -9984,12 +10661,11 @@ declare namespace google.maps.journeySharing { /** * The timestamp of the estimated completion time of the task. */ - estimatedCompletionTime: Date|null; + estimatedCompletionTime: Date | null; /** * Information specific to the last location update. */ - latestVehicleLocationUpdate: - google.maps.journeySharing.VehicleLocationUpdate|null; + latestVehicleLocationUpdate: google.maps.journeySharing.VehicleLocationUpdate | null; /** * The task name in the format * "providers/{provider_id}/tasks/{task_id}". The task_id must be @@ -10001,29 +10677,28 @@ declare namespace google.maps.journeySharing { /** * The outcome of the task. */ - outcome: string|null; + outcome: string | null; /** * The location where the task was completed (from provider). */ - outcomeLocation: google.maps.LatLngLiteral|null; + outcomeLocation: google.maps.LatLngLiteral | null; /** * The setter of the task outcome location ('PROVIDER' or * 'LAST_VEHICLE_LOCATION'). */ - outcomeLocationSource: string|null; + outcomeLocationSource: string | null; /** * The timestamp of when the task's outcome was set (from provider). */ - outcomeTime: Date|null; + outcomeTime: Date | null; /** * The location where the task is to be completed. */ - plannedLocation: google.maps.LatLngLiteral|null; + plannedLocation: google.maps.LatLngLiteral | null; /** * Information about the segments left to be completed for this task. */ - remainingVehicleJourneySegments: - google.maps.journeySharing.VehicleJourneySegment[]; + remainingVehicleJourneySegments: google.maps.journeySharing.VehicleJourneySegment[]; /** * The current execution state of the task. */ @@ -10031,11 +10706,11 @@ declare namespace google.maps.journeySharing { /** * The time window during which the task should be completed. */ - targetTimeWindow: google.maps.journeySharing.TimeWindow|null; + targetTimeWindow: google.maps.journeySharing.TimeWindow | null; /** * The tracking ID of the shipment. */ - trackingId: string|null; + trackingId: string | null; /** * The task type; for example, a break or shipment. */ @@ -10043,7 +10718,7 @@ declare namespace google.maps.journeySharing { /** * The ID of the vehicle performing this task. */ - vehicleId: string|null; + vehicleId: string | null; } /** * TaskInfo type, used by {@link @@ -10053,15 +10728,15 @@ declare namespace google.maps.journeySharing { /** * The extra time it takes to perform the task, in milliseconds. */ - extraDurationMillis: number|null; + extraDurationMillis: number | null; /** * The ID of the task. */ - id: string|null; + id: string | null; /** * The time window during which the task should be completed. */ - targetTimeWindow: google.maps.journeySharing.TimeWindow|null; + targetTimeWindow: google.maps.journeySharing.TimeWindow | null; } /** * Parameters specific to marker customization functions that apply options to @@ -10070,9 +10745,9 @@ declare namespace google.maps.journeySharing { * and {@link * google.maps.journeySharing.FleetEngineDeliveryVehicleLocationProviderOptions.taskOutcomeMarkerCustomization}. */ - export interface TaskMarkerCustomizationFunctionParams extends - google.maps.journeySharing - .DeliveryVehicleMarkerCustomizationFunctionParams { + export interface TaskMarkerCustomizationFunctionParams + extends google.maps.journeySharing + .DeliveryVehicleMarkerCustomizationFunctionParams { /** * The task location represented by this marker. */ @@ -10089,16 +10764,15 @@ declare namespace google.maps.journeySharing { /** * The estimated arrival time to the stop location. */ - estimatedArrivalTime: Date|null; + estimatedArrivalTime: Date | null; /** * The estimated completion time of a Task. */ - estimatedTaskCompletionTime: Date|null; + estimatedTaskCompletionTime: Date | null; /** * Information specific to the last location update. */ - latestVehicleLocationUpdate: - google.maps.journeySharing.VehicleLocationUpdate|null; + latestVehicleLocationUpdate: google.maps.journeySharing.VehicleLocationUpdate | null; /** * The name in the format * "providers/{provider_id}/taskTrackingInfo/{tracking_id}", where @@ -10108,39 +10782,39 @@ declare namespace google.maps.journeySharing { /** * The location where the Task will be completed. */ - plannedLocation: google.maps.LatLng|null; + plannedLocation: google.maps.LatLng | null; /** * The total remaining distance in meters to the VehicleStop of * interest. */ - remainingDrivingDistanceMeters: number|null; + remainingDrivingDistanceMeters: number | null; /** * Indicates the number of stops the vehicle remaining until the task stop * is reached, including the task stop. For example, if the vehicle's * next stop is the task stop, the value will be 1. */ - remainingStopCount: number|null; + remainingStopCount: number | null; /** * A list of points which when connected forms a polyline of the * vehicle's expected route to the location of this task. */ - routePolylinePoints: google.maps.LatLng[]|null; + routePolylinePoints: google.maps.LatLng[] | null; /** * The current execution state of the Task. */ - state: string|null; + state: string | null; /** * The time window during which the task should be completed. */ - targetTimeWindow: google.maps.journeySharing.TimeWindow|null; + targetTimeWindow: google.maps.journeySharing.TimeWindow | null; /** * The outcome of attempting to execute a Task. */ - taskOutcome: string|null; + taskOutcome: string | null; /** * The time when the Task's outcome was set by the provider. */ - taskOutcomeTime: Date|null; + taskOutcomeTime: Date | null; /** * The tracking ID of a Task.