From 7f7a87c428d25fb55e2a7517d13185d5a1389042 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Thu, 18 Nov 2021 12:58:40 +0000 Subject: [PATCH] delete the generator, moved to m3o (#279) --- .github/workflows/generate.yml | 67 - clients/go/address/address.go | 57 - clients/go/answer/answer.go | 37 - clients/go/cache/cache.go | 113 - clients/go/crypto/crypto.go | 120 - clients/go/currency/currency.go | 103 - clients/go/db/db.go | 173 - clients/go/email/email.go | 41 - clients/go/emoji/emoji.go | 86 - clients/go/evchargers/evchargers.go | 240 - clients/go/event/event.go | 88 - clients/go/file/file.go | 107 - clients/go/forex/forex.go | 85 - clients/go/function/function.go | 151 - clients/go/geocoding/geocoding.go | 64 - clients/go/gifs/gifs.go | 135 - clients/go/google/google.go | 48 - clients/go/helloworld/helloworld.go | 47 - clients/go/holidays/holidays.go | 69 - clients/go/id/id.go | 48 - clients/go/image/image.go | 138 - clients/go/ip/ip.go | 47 - clients/go/location/location.go | 78 - clients/go/m3o.go | 151 - clients/go/mq/mq.go | 51 - clients/go/notes/notes.go | 125 - clients/go/otp/otp.go | 55 - clients/go/postcode/postcode.go | 87 - clients/go/prayer/prayer.go | 69 - clients/go/qr/qr.go | 35 - clients/go/quran/quran.go | 218 - clients/go/routing/routing.go | 129 - clients/go/rss/rss.go | 114 - clients/go/sentiment/sentiment.go | 35 - clients/go/sms/sms.go | 39 - clients/go/spam/spam.go | 47 - clients/go/stock/stock.go | 132 - clients/go/stream/stream.go | 105 - clients/go/sunnah/sunnah.go | 183 - clients/go/thumbnail/thumbnail.go | 35 - clients/go/time/time.go | 73 - clients/go/twitter/twitter.go | 132 - clients/go/url/url.go | 73 - clients/go/user/user.go | 281 - clients/go/vehicle/vehicle.go | 61 - clients/go/weather/weather.go | 132 - clients/go/youtube/youtube.go | 55 - clients/ts/.gitignore | 61 - clients/ts/address/index.ts | 53 - clients/ts/answer/index.ts | 31 - clients/ts/build.js | 91 - clients/ts/cache/index.ts | 107 - clients/ts/crypto/index.ts | 116 - clients/ts/currency/index.ts | 102 - clients/ts/db/index.ts | 113 - clients/ts/email/index.ts | 30 - clients/ts/emoji/index.ts | 74 - clients/ts/evchargers/index.ts | 235 - clients/ts/file/index.ts | 92 - clients/ts/forex/index.ts | 83 - clients/ts/function/index.ts | 146 - clients/ts/geocoding/index.ts | 60 - clients/ts/gifs/index.ts | 129 - clients/ts/helloworld/index.ts | 43 - clients/ts/holidays/index.ts | 64 - clients/ts/id/index.ts | 39 - clients/ts/image/index.ts | 113 - clients/ts/index.ts | 141 - clients/ts/ip/index.ts | 37 - clients/ts/location/index.ts | 75 - clients/ts/notes/index.ts | 120 - clients/ts/otp/index.ts | 51 - clients/ts/package-lock.json | 7044 ----------------- clients/ts/package.json | 83 - clients/ts/postcode/index.ts | 84 - clients/ts/prayer/index.ts | 63 - clients/ts/qr/index.ts | 29 - clients/ts/quran/index.ts | 218 - clients/ts/routing/index.ts | 123 - clients/ts/rss/index.ts | 99 - clients/ts/sentiment/index.ts | 29 - clients/ts/sms/index.ts | 29 - clients/ts/stock/index.ts | 132 - clients/ts/stream/index.ts | 46 - clients/ts/sunnah/index.ts | 183 - clients/ts/thumbnail/index.ts | 29 - clients/ts/time/index.ts | 61 - clients/ts/tsconfig.es.json | 16 - clients/ts/tsconfig.json | 16 - clients/ts/twitter/index.ts | 131 - clients/ts/url/index.ts | 63 - clients/ts/user/index.ts | 233 - clients/ts/vehicle/index.ts | 55 - clients/ts/weather/index.ts | 124 - cmd/clients/README.md | 17 - cmd/clients/example.go | 198 - cmd/clients/gen_test.go | 485 -- cmd/clients/go_template.go | 78 - cmd/clients/main.go | 926 --- cmd/clients/ts/.gitignore | 10 - cmd/clients/ts/build.js | 91 - cmd/clients/ts/package-lock.json | 7044 ----------------- cmd/clients/ts/package.json | 31 - cmd/clients/ts/tsconfig.es.json | 16 - cmd/clients/ts/tsconfig.json | 16 - cmd/clients/ts_template.go | 46 - cmd/skip | 0 .../lookupPostcode/curl/lookupPostcode.sh | 6 - .../lookupPostcode/go/lookupPostcode.go | 17 - .../lookupPostcode/node/lookupPostcode.js | 12 - examples/answer/question/curl/askAQuestion.sh | 6 - examples/answer/question/go/askAQuestion.go | 17 - examples/answer/question/node/askAQuestion.js | 12 - .../cache/decrement/curl/decrementAValue.sh | 7 - .../cache/decrement/go/decrementAValue.go | 18 - .../cache/decrement/node/decrementAValue.js | 13 - examples/cache/delete/curl/deleteAValue.sh | 6 - examples/cache/delete/go/deleteAValue.go | 17 - examples/cache/delete/node/deleteAValue.js | 12 - examples/cache/get/curl/getAValue.sh | 6 - examples/cache/get/go/getAValue.go | 17 - examples/cache/get/node/getAValue.js | 12 - .../cache/increment/curl/incrementAValue.sh | 7 - .../cache/increment/go/incrementAValue.go | 18 - .../cache/increment/node/incrementAValue.js | 13 - examples/cache/set/curl/setAValue.sh | 7 - examples/cache/set/go/setAValue.go | 18 - examples/cache/set/node/setAValue.js | 13 - .../crypto/history/curl/getPreviousClose.sh | 6 - .../crypto/history/go/getPreviousClose.go | 17 - .../crypto/history/node/getPreviousClose.js | 12 - .../crypto/news/curl/getCryptocurrencyNews.sh | 6 - .../crypto/news/go/getCryptocurrencyNews.go | 17 - .../crypto/news/node/getCryptocurrencyNews.js | 12 - .../price/curl/getCryptocurrencyPrice.sh | 6 - .../crypto/price/go/getCryptocurrencyPrice.go | 17 - .../price/node/getCryptocurrencyPrice.js | 12 - .../quote/curl/getACryptocurrencyQuote.sh | 6 - .../quote/go/getACryptocurrencyQuote.go | 17 - .../quote/node/getACryptocurrencyQuote.js | 12 - .../currency/codes/curl/getSupportedCodes.sh | 4 - .../currency/codes/go/getSupportedCodes.go | 15 - .../currency/codes/node/getSupportedCodes.js | 10 - .../convert/curl/convert10UsdToGbp.sh | 8 - .../currency/convert/curl/convertUsdToGbp.sh | 7 - .../currency/convert/go/convert10UsdToGbp.go | 19 - .../currency/convert/go/convertUsdToGbp.go | 18 - .../convert/node/convert10UsdToGbp.js | 14 - .../currency/convert/node/convertUsdToGbp.js | 13 - .../history/curl/historicRatesForACurrency.sh | 7 - .../history/go/historicRatesForACurrency.go | 18 - .../history/node/historicRatesForACurrency.js | 13 - .../currency/rates/curl/getRatesForUsd.sh | 6 - examples/currency/rates/go/getRatesForUsd.go | 17 - .../currency/rates/node/getRatesForUsd.js | 12 - .../db/count/curl/countEntriesInATable.sh | 6 - examples/db/count/go/countEntriesInATable.go | 17 - .../db/count/node/countEntriesInATable.js | 12 - examples/db/create/curl/createARecord.sh | 12 - examples/db/create/go/createARecord.go | 23 - examples/db/create/node/createARecord.js | 18 - examples/db/delete/curl/deleteARecord.sh | 7 - examples/db/delete/go/deleteARecord.go | 18 - examples/db/delete/node/deleteARecord.js | 13 - examples/db/dropTable/curl/dropTable.sh | 6 - examples/db/dropTable/go/dropTable.go | 17 - examples/db/dropTable/node/dropTable.js | 12 - examples/db/listTables/curl/listTables.sh | 4 - examples/db/listTables/go/listTables.go | 15 - examples/db/listTables/node/listTables.js | 10 - examples/db/read/curl/readRecords.sh | 7 - examples/db/read/go/readRecords.go | 18 - examples/db/read/node/readRecords.js | 13 - examples/db/renameTable/curl/renameTable.sh | 7 - examples/db/renameTable/go/renameTable.go | 18 - examples/db/renameTable/node/renameTable.js | 13 - examples/db/truncate/curl/truncateTable.sh | 6 - examples/db/truncate/go/truncateTable.go | 17 - examples/db/truncate/node/truncateTable.js | 12 - examples/db/update/curl/updateARecord.sh | 10 - examples/db/update/go/updateARecord.go | 21 - examples/db/update/node/updateARecord.js | 16 - examples/email/send/curl/sendEmail.sh | 8 - examples/email/send/go/sendEmail.go | 21 - examples/email/send/node/sendEmail.js | 15 - examples/emoji/find/curl/findEmoji.sh | 6 - examples/emoji/find/go/findEmoji.go | 17 - examples/emoji/find/node/findEmoji.js | 12 - .../emoji/flag/curl/getFlagByCountryCode.sh | 6 - .../emoji/flag/go/getFlagByCountryCode.go | 15 - .../emoji/flag/node/getFlagByCountryCode.js | 12 - .../print/curl/printTextIncludingEmoji.sh | 6 - .../emoji/print/go/printTextIncludingEmoji.go | 18 - .../print/node/printTextIncludingEmoji.js | 13 - ...endATextContainingAnEmojiToAnyoneViaSms.sh | 8 - ...endATextContainingAnEmojiToAnyoneViaSms.go | 19 - ...endATextContainingAnEmojiToAnyoneViaSms.js | 14 - .../referenceData/curl/getReferenceData.sh | 4 - .../referenceData/go/getReferenceData.go | 15 - .../referenceData/node/getReferenceData.js | 10 - .../search/curl/searchByBoundingBox.sh | 16 - .../search/curl/searchByLocation.sh | 11 - .../curl/searchWithFiltersFastChargersOnly.sh | 14 - .../search/go/searchByBoundingBox.go | 17 - .../evchargers/search/go/searchByLocation.go | 21 - .../go/searchWithFiltersFastChargersOnly.go | 22 - .../search/node/searchByBoundingBox.js | 22 - .../search/node/searchByLocation.js | 17 - .../node/searchWithFiltersFastChargersOnly.js | 18 - .../event/consume/curl/consumeFromATopic.sh | 6 - .../event/consume/go/consumeFromATopic.go | 17 - .../event/consume/node/consumeFromATopic.js | 12 - .../event/publish/curl/publishAMessage.sh | 11 - examples/event/publish/curl/publishAnEvent.sh | 11 - examples/event/publish/go/publishAMessage.go | 22 - examples/event/publish/go/publishAnEvent.go | 22 - .../event/publish/node/publishAMessage.js | 17 - examples/event/publish/node/publishAnEvent.js | 17 - .../event/read/curl/readEventsOnATopic.sh | 6 - examples/event/read/go/readEventsOnATopic.go | 17 - .../event/read/node/readEventsOnATopic.js | 12 - examples/file/delete/curl/deleteFile.sh | 7 - examples/file/delete/go/deleteFile.go | 18 - examples/file/delete/node/deleteFile.js | 13 - examples/file/list/curl/listFiles.sh | 6 - examples/file/list/go/listFiles.go | 17 - examples/file/list/node/listFiles.js | 12 - examples/file/read/curl/readFile.sh | 7 - examples/file/read/go/readFile.go | 18 - examples/file/read/node/readFile.js | 13 - examples/file/save/curl/saveFile.sh | 10 - examples/file/save/go/saveFile.go | 21 - examples/file/save/node/saveFile.js | 16 - .../forex/history/curl/getPreviousClose.sh | 6 - examples/forex/history/go/getPreviousClose.go | 17 - .../forex/history/node/getPreviousClose.js | 12 - examples/forex/price/curl/getAnFxPrice.sh | 6 - examples/forex/price/go/getAnFxPrice.go | 17 - examples/forex/price/node/getAnFxPrice.js | 12 - examples/forex/quote/curl/getAFxQuote.sh | 6 - examples/forex/quote/go/getAFxQuote.go | 17 - examples/forex/quote/node/getAFxQuote.js | 12 - examples/function/call/curl/callAFunction.sh | 7 - examples/function/call/go/callAFunction.go | 18 - examples/function/call/node/callAFunction.js | 13 - .../function/delete/curl/deleteAFunction.sh | 7 - .../function/delete/go/deleteAFunction.go | 18 - .../function/delete/node/deleteAFunction.js | 13 - .../function/deploy/curl/deployAFunction.sh | 10 - .../function/deploy/go/deployAFunction.go | 21 - .../function/deploy/node/deployAFunction.js | 16 - .../describe/curl/describeFunctionStatus.sh | 7 - .../describe/go/describeFunctionStatus.go | 18 - .../describe/node/describeFunctionStatus.js | 13 - examples/function/list/curl/listFunctions.sh | 4 - examples/function/list/go/listFunctions.go | 15 - examples/function/list/node/listFunctions.js | 10 - .../geocoding/lookup/curl/geocodeAnAddress.sh | 9 - .../geocoding/lookup/go/geocodeAnAddress.go | 20 - .../geocoding/lookup/node/geocodeAnAddress.js | 15 - .../reverse/curl/reverseGeocodeLocation.sh | 7 - .../reverse/go/reverseGeocodeLocation.go | 18 - .../reverse/node/reverseGeocodeLocation.js | 13 - examples/gifs/search/curl/search.sh | 7 - examples/gifs/search/go/search.go | 18 - examples/gifs/search/node/search.js | 13 - .../google/search/curl/searchForVideos.sh | 6 - examples/google/search/go/searchForVideos.go | 17 - .../google/search/node/searchForVideos.js | 12 - .../call/curl/callTheHelloworldService.sh | 6 - .../call/go/callTheHelloworldService.go | 17 - .../call/node/callTheHelloworldService.js | 12 - ...rrentlyTemporarilyNotSupportedInClients.sh | 6 - ...msResponsesFromTheServerUsingWebsockets.sh | 7 - ...rrentlyTemporarilyNotSupportedInClients.go | 17 - ...msResponsesFromTheServerUsingWebsockets.go | 18 - ...rrentlyTemporarilyNotSupportedInClients.js | 12 - ...msResponsesFromTheServerUsingWebsockets.js | 13 - .../holidays/countries/curl/listCountries.sh | 4 - .../holidays/countries/go/listCountries.go | 15 - .../holidays/countries/node/listCountries.js | 10 - examples/holidays/list/curl/getHolidays.sh | 7 - examples/holidays/list/go/getHolidays.go | 17 - examples/holidays/list/node/getHolidays.js | 13 - .../id/generate/curl/generateABigflakeId.sh | 6 - examples/id/generate/curl/generateAShortId.sh | 6 - .../id/generate/curl/generateASnowflakeId.sh | 6 - .../id/generate/curl/generateAUniqueId.sh | 6 - .../id/generate/go/generateABigflakeId.go | 17 - examples/id/generate/go/generateAShortId.go | 17 - .../id/generate/go/generateASnowflakeId.go | 17 - examples/id/generate/go/generateAUniqueId.go | 17 - .../id/generate/node/generateABigflakeId.js | 12 - examples/id/generate/node/generateAShortId.js | 12 - .../id/generate/node/generateASnowflakeId.js | 12 - .../id/generate/node/generateAUniqueId.js | 12 - .../types/curl/listTheTypesOfIdsAvailable.sh | 4 - .../id/types/go/listTheTypesOfIdsAvailable.go | 15 - .../types/node/listTheTypesOfIdsAvailable.js | 10 - ...gTakenFromAUrlAndSavedToAUrlOnMicrosCdn.sh | 8 - ...gTakenFromAUrlAndSavedToAUrlOnMicrosCdn.go | 21 - ...gTakenFromAUrlAndSavedToAUrlOnMicrosCdn.js | 17 - .../delete/curl/deleteAnUploadedImage.sh | 6 - .../image/delete/go/deleteAnUploadedImage.go | 17 - .../delete/node/deleteAnUploadedImage.js | 12 - .../image/resize/curl/base64ToBase64Image.sh | 8 - .../curl/base64ToBase64ImageWithCropping.sh | 12 - .../image/resize/curl/base64ToHostedImage.sh | 10 - .../image/resize/go/base64ToBase64Image.go | 23 - .../go/base64ToBase64ImageWithCropping.go | 27 - .../image/resize/go/base64ToHostedImage.go | 24 - .../image/resize/node/base64ToBase64Image.js | 19 - .../node/base64ToBase64ImageWithCropping.js | 23 - .../image/resize/node/base64ToHostedImage.js | 21 - .../curl/uploadABase64ImageToMicrosCdn.sh | 7 - .../curl/uploadAnImageFromAUrlToMicrosCdn.sh | 7 - .../go/uploadABase64ImageToMicrosCdn.go | 21 - .../go/uploadAnImageFromAUrlToMicrosCdn.go | 21 - .../node/uploadABase64ImageToMicrosCdn.js | 17 - .../node/uploadAnImageFromAUrlToMicrosCdn.js | 16 - examples/ip/lookup/curl/lookupIpInfo.sh | 6 - examples/ip/lookup/go/lookupIpInfo.go | 17 - examples/ip/lookup/node/lookupIpInfo.js | 12 - .../location/read/curl/getLocationById.sh | 6 - examples/location/read/go/getLocationById.go | 17 - .../location/read/node/getLocationById.js | 12 - examples/location/save/curl/saveAnEntity.sh | 14 - examples/location/save/go/saveAnEntity.go | 25 - examples/location/save/node/saveAnEntity.js | 20 - .../search/curl/searchForLocations.sh | 12 - .../location/search/go/searchForLocations.go | 23 - .../search/node/searchForLocations.js | 18 - examples/mq/publish/curl/publishAMessage.sh | 11 - examples/mq/publish/go/publishAMessage.go | 22 - examples/mq/publish/node/publishAMessage.js | 17 - .../mq/subscribe/curl/subscribeToATopic.sh | 6 - examples/mq/subscribe/go/subscribeToATopic.go | 17 - .../mq/subscribe/node/subscribeToATopic.js | 12 - examples/notes/create/curl/createANote.sh | 7 - examples/notes/create/go/createANote.go | 18 - examples/notes/create/node/createANote.js | 13 - examples/notes/delete/curl/deleteANote.sh | 6 - examples/notes/delete/go/deleteANote.go | 17 - examples/notes/delete/node/deleteANote.js | 12 - .../notes/events/curl/subscribeToEvents.sh | 6 - examples/notes/events/go/subscribeToEvents.go | 17 - .../notes/events/node/subscribeToEvents.js | 12 - examples/notes/list/curl/listAllNotes.sh | 4 - examples/notes/list/go/listAllNotes.go | 15 - examples/notes/list/node/listAllNotes.js | 10 - examples/notes/read/curl/readANote.sh | 6 - examples/notes/read/go/readANote.go | 17 - examples/notes/read/node/readANote.js | 12 - examples/notes/update/curl/updateANote.sh | 10 - examples/notes/update/go/updateANote.go | 21 - examples/notes/update/node/updateANote.js | 16 - examples/otp/generate/curl/generateOtp.sh | 6 - examples/otp/generate/go/generateOtp.go | 17 - examples/otp/generate/node/generateOtp.js | 12 - examples/otp/validate/curl/validateOtp.sh | 7 - examples/otp/validate/go/validateOtp.go | 18 - examples/otp/validate/node/validateOtp.js | 13 - .../postcode/lookup/curl/lookupPostcode.sh | 6 - examples/postcode/lookup/go/lookupPostcode.go | 17 - .../postcode/lookup/node/lookupPostcode.js | 12 - .../returnARandomPostcodeAndItsInformation.sh | 4 - .../returnARandomPostcodeAndItsInformation.go | 15 - .../returnARandomPostcodeAndItsInformation.js | 10 - .../returnARandomPostcodeAndItsInformation.sh | 6 - .../returnARandomPostcodeAndItsInformation.go | 17 - .../returnARandomPostcodeAndItsInformation.js | 12 - examples/prayer/times/curl/prayerTimes.sh | 6 - examples/prayer/times/go/prayerTimes.go | 17 - examples/prayer/times/node/prayerTimes.js | 12 - examples/qr/generate/curl/generateAQrCode.sh | 7 - examples/qr/generate/go/generateAQrCode.go | 18 - examples/qr/generate/node/generateAQrCode.js | 13 - examples/quran/chapters/curl/listChapters.sh | 6 - examples/quran/chapters/go/listChapters.go | 17 - examples/quran/chapters/node/listChapters.js | 12 - examples/quran/search/curl/searchTheQuran.sh | 6 - examples/quran/search/go/searchTheQuran.go | 17 - examples/quran/search/node/searchTheQuran.js | 12 - .../quran/summary/curl/getChapterSummary.sh | 6 - .../quran/summary/go/getChapterSummary.go | 17 - .../quran/summary/node/getChapterSummary.js | 12 - .../quran/verses/curl/getVersesOfAChapter.sh | 6 - .../quran/verses/go/getVersesOfAChapter.go | 19 - .../quran/verses/node/getVersesOfAChapter.js | 14 - .../directions/curl/turnByTurnDirections.sh | 13 - .../directions/go/turnByTurnDirections.go | 24 - .../directions/node/turnByTurnDirections.js | 19 - .../routing/eta/curl/etaFromPointAToPointB.sh | 13 - .../routing/eta/go/etaFromPointAToPointB.go | 24 - .../routing/eta/node/etaFromPointAToPointB.js | 19 - .../routing/route/curl/gpsPointsForARoute.sh | 13 - .../routing/route/go/gpsPointsForARoute.go | 24 - .../routing/route/node/gpsPointsForARoute.js | 19 - examples/rss/add/curl/addANewFeed.sh | 8 - examples/rss/add/go/addANewFeed.go | 19 - examples/rss/add/node/addANewFeed.js | 14 - examples/rss/feed/curl/readAFeed.sh | 6 - examples/rss/feed/go/readAFeed.go | 17 - examples/rss/feed/node/readAFeed.js | 12 - examples/rss/list/curl/listRssFeeds.sh | 4 - examples/rss/list/go/listRssFeeds.go | 15 - examples/rss/list/node/listRssFeeds.js | 10 - examples/rss/remove/curl/removeAFeed.sh | 6 - examples/rss/remove/go/removeAFeed.go | 17 - examples/rss/remove/node/removeAFeed.js | 12 - .../analyze/curl/analyzeAPieceOfText.sh | 6 - .../analyze/go/analyzeAPieceOfText.go | 17 - .../analyze/node/analyzeAPieceOfText.js | 12 - examples/sms/send/curl/sendSms.sh | 8 - examples/sms/send/go/sendSms.go | 19 - examples/sms/send/node/sendSms.js | 14 - .../spam/classify/curl/classifyAnEmail.sh | 9 - .../curl/classifyAnEmailUsingTheRawData.sh | 6 - examples/spam/classify/go/classifyAnEmail.go | 19 - .../go/classifyAnEmailUsingTheRawData.go | 15 - .../spam/classify/node/classifyAnEmail.js | 15 - .../node/classifyAnEmailUsingTheRawData.js | 13 - .../stock/history/curl/getHistoricData.sh | 7 - examples/stock/history/go/getHistoricData.go | 18 - .../stock/history/node/getHistoricData.js | 13 - .../stock/orderBook/curl/orderBookHistory.sh | 10 - .../stock/orderBook/go/orderBookHistory.go | 21 - .../stock/orderBook/node/orderBookHistory.js | 16 - examples/stock/price/curl/getAStockPrice.sh | 6 - examples/stock/price/go/getAStockPrice.go | 17 - examples/stock/price/node/getAStockPrice.js | 12 - examples/stock/quote/curl/getAStockQuote.sh | 6 - examples/stock/quote/go/getAStockQuote.go | 17 - examples/stock/quote/node/getAStockQuote.js | 12 - .../createChannel/curl/createChannel.sh | 7 - .../stream/createChannel/go/createChannel.go | 19 - .../createChannel/node/createChannel.js | 14 - .../stream/listChannels/curl/listChannels.sh | 4 - .../stream/listChannels/go/listChannels.go | 15 - .../stream/listChannels/node/listChannels.js | 10 - .../stream/listMessages/curl/listMessages.sh | 6 - .../stream/listMessages/go/listMessages.go | 17 - .../stream/listMessages/node/listMessages.js | 12 - .../stream/sendMessage/curl/sendAMessage.sh | 7 - .../stream/sendMessage/curl/sendMessage.sh | 7 - .../stream/sendMessage/go/sendAMessage.go | 18 - examples/stream/sendMessage/go/sendMessage.go | 18 - .../stream/sendMessage/node/sendAMessage.js | 13 - .../stream/sendMessage/node/sendMessage.js | 13 - .../curl/getTheBooksWithinACollection.sh | 6 - .../books/go/getTheBooksWithinACollection.go | 18 - .../node/getTheBooksWithinACollection.js | 13 - .../chapters/curl/listTheChaptersInABook.sh | 7 - .../chapters/go/listTheChaptersInABook.go | 18 - .../chapters/node/listTheChaptersInABook.js | 13 - .../curl/listAvailableCollections.sh | 4 - .../go/listAvailableCollections.go | 16 - .../node/listAvailableCollections.js | 11 - .../hadiths/curl/listTheHadithsInABook.sh | 7 - .../hadiths/go/listTheHadithsInABook.go | 19 - .../hadiths/node/listTheHadithsInABook.js | 14 - .../screenshot/curl/takeScreenshotOfAUrl.sh | 8 - .../screenshot/go/takeScreenshotOfAUrl.go | 19 - .../screenshot/node/takeScreenshotOfAUrl.js | 14 - ...eturnsCurrentTimeOptionallyWithLocation.sh | 4 - ...eturnsCurrentTimeOptionallyWithLocation.go | 15 - ...eturnsCurrentTimeOptionallyWithLocation.js | 10 - .../getTheTimezoneInfoForASpecificLocation.sh | 6 - .../getTheTimezoneInfoForASpecificLocation.go | 17 - .../getTheTimezoneInfoForASpecificLocation.js | 12 - .../twitter/search/curl/searchForTweets.sh | 6 - examples/twitter/search/go/searchForTweets.go | 17 - .../twitter/search/node/searchForTweets.js | 12 - .../timeline/curl/getATwitterTimeline.sh | 7 - .../timeline/go/getATwitterTimeline.go | 18 - .../timeline/node/getATwitterTimeline.js | 13 - .../curl/getTheCurrentGlobalTrendingTopics.sh | 4 - .../go/getTheCurrentGlobalTrendingTopics.go | 15 - .../node/getTheCurrentGlobalTrendingTopics.js | 10 - .../user/curl/getAUsersTwitterProfile.sh | 6 - .../user/go/getAUsersTwitterProfile.go | 17 - .../user/node/getAUsersTwitterProfile.js | 12 - .../url/list/curl/listYourShortenedUrls.sh | 4 - examples/url/list/go/listYourShortenedUrls.go | 15 - .../url/list/node/listYourShortenedUrls.js | 10 - .../resolveAShortUrlToALongDestinationUrl.sh | 6 - .../resolveAShortUrlToALongDestinationUrl.go | 15 - .../resolveAShortUrlToALongDestinationUrl.js | 12 - examples/url/shorten/curl/shortenALongUrl.sh | 6 - examples/url/shorten/go/shortenALongUrl.go | 15 - examples/url/shorten/node/shortenALongUrl.js | 12 - examples/user/create/curl/createAnAccount.sh | 9 - examples/user/create/go/createAnAccount.go | 20 - examples/user/create/node/createAnAccount.js | 15 - .../user/delete/curl/deleteUserAccount.sh | 6 - examples/user/delete/go/deleteUserAccount.go | 17 - .../user/delete/node/deleteUserAccount.js | 12 - examples/user/login/curl/logAUserIn.sh | 7 - examples/user/login/go/logAUserIn.go | 19 - examples/user/login/node/logAUserIn.js | 14 - examples/user/logout/curl/logAUserOut.sh | 6 - examples/user/logout/go/logAUserOut.go | 17 - examples/user/logout/node/logAUserOut.js | 12 - examples/user/read/curl/readAccountByEmail.sh | 6 - .../read/curl/readAccountByUsernameOrEmail.sh | 6 - examples/user/read/curl/readAnAccountById.sh | 6 - examples/user/read/go/readAccountByEmail.go | 17 - .../read/go/readAccountByUsernameOrEmail.go | 17 - examples/user/read/go/readAnAccountById.go | 17 - examples/user/read/node/readAccountByEmail.js | 12 - .../read/node/readAccountByUsernameOrEmail.js | 12 - examples/user/read/node/readAnAccountById.js | 12 - .../curl/readASessionByTheSessionId.sh | 6 - .../go/readASessionByTheSessionId.go | 17 - .../node/readASessionByTheSessionId.js | 12 - .../user/resetPassword/curl/resetPassword.sh | 9 - .../user/resetPassword/go/resetPassword.go | 20 - .../user/resetPassword/node/resetPassword.js | 15 - .../curl/sendPasswordResetEmail.sh | 9 - .../go/sendPasswordResetEmail.go | 22 - .../node/sendPasswordResetEmail.js | 17 - .../curl/sendVerificationEmail.sh | 11 - .../go/sendVerificationEmail.go | 30 - .../node/sendVerificationEmail.js | 24 - examples/user/update/curl/updateAnAccount.sh | 7 - examples/user/update/go/updateAnAccount.go | 18 - examples/user/update/node/updateAnAccount.js | 13 - .../curl/updateTheAccountPassword.sh | 9 - .../go/updateTheAccountPassword.go | 19 - .../node/updateTheAccountPassword.js | 15 - examples/user/verifyEmail/curl/verifyEmail.sh | 7 - examples/user/verifyEmail/go/verifyEmail.go | 18 - examples/user/verifyEmail/node/verifyEmail.js | 13 - examples/vehicle/lookup/curl/lookupVehicle.sh | 6 - examples/vehicle/lookup/go/lookupVehicle.go | 17 - examples/vehicle/lookup/node/lookupVehicle.js | 12 - .../weather/forecast/curl/forecaseWeather.sh | 7 - .../weather/forecast/curl/forecastWeather.sh | 7 - .../weather/forecast/go/forecaseWeather.go | 17 - .../weather/forecast/go/forecastWeather.go | 18 - .../weather/forecast/node/forecaseWeather.js | 13 - .../weather/forecast/node/forecastWeather.js | 13 - .../weather/now/curl/getCurrentWeather.sh | 6 - examples/weather/now/go/getCurrentWeather.go | 17 - .../weather/now/node/getCurrentWeather.js | 12 - .../youtube/search/curl/searchForVideos.sh | 6 - examples/youtube/search/go/searchForVideos.go | 17 - .../youtube/search/node/searchForVideos.js | 12 - 548 files changed, 30275 deletions(-) delete mode 100644 .github/workflows/generate.yml delete mode 100755 clients/go/address/address.go delete mode 100755 clients/go/answer/answer.go delete mode 100755 clients/go/cache/cache.go delete mode 100755 clients/go/crypto/crypto.go delete mode 100755 clients/go/currency/currency.go delete mode 100755 clients/go/db/db.go delete mode 100755 clients/go/email/email.go delete mode 100755 clients/go/emoji/emoji.go delete mode 100755 clients/go/evchargers/evchargers.go delete mode 100755 clients/go/event/event.go delete mode 100755 clients/go/file/file.go delete mode 100755 clients/go/forex/forex.go delete mode 100755 clients/go/function/function.go delete mode 100755 clients/go/geocoding/geocoding.go delete mode 100755 clients/go/gifs/gifs.go delete mode 100755 clients/go/google/google.go delete mode 100755 clients/go/helloworld/helloworld.go delete mode 100755 clients/go/holidays/holidays.go delete mode 100755 clients/go/id/id.go delete mode 100755 clients/go/image/image.go delete mode 100755 clients/go/ip/ip.go delete mode 100755 clients/go/location/location.go delete mode 100755 clients/go/m3o.go delete mode 100755 clients/go/mq/mq.go delete mode 100755 clients/go/notes/notes.go delete mode 100755 clients/go/otp/otp.go delete mode 100755 clients/go/postcode/postcode.go delete mode 100755 clients/go/prayer/prayer.go delete mode 100755 clients/go/qr/qr.go delete mode 100755 clients/go/quran/quran.go delete mode 100755 clients/go/routing/routing.go delete mode 100755 clients/go/rss/rss.go delete mode 100755 clients/go/sentiment/sentiment.go delete mode 100755 clients/go/sms/sms.go delete mode 100755 clients/go/spam/spam.go delete mode 100755 clients/go/stock/stock.go delete mode 100755 clients/go/stream/stream.go delete mode 100755 clients/go/sunnah/sunnah.go delete mode 100755 clients/go/thumbnail/thumbnail.go delete mode 100755 clients/go/time/time.go delete mode 100755 clients/go/twitter/twitter.go delete mode 100755 clients/go/url/url.go delete mode 100755 clients/go/user/user.go delete mode 100755 clients/go/vehicle/vehicle.go delete mode 100755 clients/go/weather/weather.go delete mode 100755 clients/go/youtube/youtube.go delete mode 100644 clients/ts/.gitignore delete mode 100755 clients/ts/address/index.ts delete mode 100755 clients/ts/answer/index.ts delete mode 100644 clients/ts/build.js delete mode 100755 clients/ts/cache/index.ts delete mode 100755 clients/ts/crypto/index.ts delete mode 100755 clients/ts/currency/index.ts delete mode 100755 clients/ts/db/index.ts delete mode 100755 clients/ts/email/index.ts delete mode 100755 clients/ts/emoji/index.ts delete mode 100755 clients/ts/evchargers/index.ts delete mode 100755 clients/ts/file/index.ts delete mode 100755 clients/ts/forex/index.ts delete mode 100755 clients/ts/function/index.ts delete mode 100755 clients/ts/geocoding/index.ts delete mode 100755 clients/ts/gifs/index.ts delete mode 100755 clients/ts/helloworld/index.ts delete mode 100755 clients/ts/holidays/index.ts delete mode 100755 clients/ts/id/index.ts delete mode 100755 clients/ts/image/index.ts delete mode 100755 clients/ts/index.ts delete mode 100755 clients/ts/ip/index.ts delete mode 100755 clients/ts/location/index.ts delete mode 100755 clients/ts/notes/index.ts delete mode 100755 clients/ts/otp/index.ts delete mode 100644 clients/ts/package-lock.json delete mode 100644 clients/ts/package.json delete mode 100755 clients/ts/postcode/index.ts delete mode 100755 clients/ts/prayer/index.ts delete mode 100755 clients/ts/qr/index.ts delete mode 100755 clients/ts/quran/index.ts delete mode 100755 clients/ts/routing/index.ts delete mode 100755 clients/ts/rss/index.ts delete mode 100755 clients/ts/sentiment/index.ts delete mode 100755 clients/ts/sms/index.ts delete mode 100755 clients/ts/stock/index.ts delete mode 100755 clients/ts/stream/index.ts delete mode 100755 clients/ts/sunnah/index.ts delete mode 100755 clients/ts/thumbnail/index.ts delete mode 100755 clients/ts/time/index.ts delete mode 100644 clients/ts/tsconfig.es.json delete mode 100644 clients/ts/tsconfig.json delete mode 100755 clients/ts/twitter/index.ts delete mode 100755 clients/ts/url/index.ts delete mode 100755 clients/ts/user/index.ts delete mode 100755 clients/ts/vehicle/index.ts delete mode 100755 clients/ts/weather/index.ts delete mode 100644 cmd/clients/README.md delete mode 100644 cmd/clients/example.go delete mode 100644 cmd/clients/gen_test.go delete mode 100644 cmd/clients/go_template.go delete mode 100644 cmd/clients/main.go delete mode 100644 cmd/clients/ts/.gitignore delete mode 100644 cmd/clients/ts/build.js delete mode 100644 cmd/clients/ts/package-lock.json delete mode 100644 cmd/clients/ts/package.json delete mode 100644 cmd/clients/ts/tsconfig.es.json delete mode 100644 cmd/clients/ts/tsconfig.json delete mode 100644 cmd/clients/ts_template.go delete mode 100644 cmd/skip delete mode 100755 examples/address/lookupPostcode/curl/lookupPostcode.sh delete mode 100755 examples/address/lookupPostcode/go/lookupPostcode.go delete mode 100755 examples/address/lookupPostcode/node/lookupPostcode.js delete mode 100755 examples/answer/question/curl/askAQuestion.sh delete mode 100755 examples/answer/question/go/askAQuestion.go delete mode 100755 examples/answer/question/node/askAQuestion.js delete mode 100755 examples/cache/decrement/curl/decrementAValue.sh delete mode 100755 examples/cache/decrement/go/decrementAValue.go delete mode 100755 examples/cache/decrement/node/decrementAValue.js delete mode 100755 examples/cache/delete/curl/deleteAValue.sh delete mode 100755 examples/cache/delete/go/deleteAValue.go delete mode 100755 examples/cache/delete/node/deleteAValue.js delete mode 100755 examples/cache/get/curl/getAValue.sh delete mode 100755 examples/cache/get/go/getAValue.go delete mode 100755 examples/cache/get/node/getAValue.js delete mode 100755 examples/cache/increment/curl/incrementAValue.sh delete mode 100755 examples/cache/increment/go/incrementAValue.go delete mode 100755 examples/cache/increment/node/incrementAValue.js delete mode 100755 examples/cache/set/curl/setAValue.sh delete mode 100755 examples/cache/set/go/setAValue.go delete mode 100755 examples/cache/set/node/setAValue.js delete mode 100755 examples/crypto/history/curl/getPreviousClose.sh delete mode 100755 examples/crypto/history/go/getPreviousClose.go delete mode 100755 examples/crypto/history/node/getPreviousClose.js delete mode 100755 examples/crypto/news/curl/getCryptocurrencyNews.sh delete mode 100755 examples/crypto/news/go/getCryptocurrencyNews.go delete mode 100755 examples/crypto/news/node/getCryptocurrencyNews.js delete mode 100755 examples/crypto/price/curl/getCryptocurrencyPrice.sh delete mode 100755 examples/crypto/price/go/getCryptocurrencyPrice.go delete mode 100755 examples/crypto/price/node/getCryptocurrencyPrice.js delete mode 100755 examples/crypto/quote/curl/getACryptocurrencyQuote.sh delete mode 100755 examples/crypto/quote/go/getACryptocurrencyQuote.go delete mode 100755 examples/crypto/quote/node/getACryptocurrencyQuote.js delete mode 100755 examples/currency/codes/curl/getSupportedCodes.sh delete mode 100755 examples/currency/codes/go/getSupportedCodes.go delete mode 100755 examples/currency/codes/node/getSupportedCodes.js delete mode 100755 examples/currency/convert/curl/convert10UsdToGbp.sh delete mode 100755 examples/currency/convert/curl/convertUsdToGbp.sh delete mode 100755 examples/currency/convert/go/convert10UsdToGbp.go delete mode 100755 examples/currency/convert/go/convertUsdToGbp.go delete mode 100755 examples/currency/convert/node/convert10UsdToGbp.js delete mode 100755 examples/currency/convert/node/convertUsdToGbp.js delete mode 100755 examples/currency/history/curl/historicRatesForACurrency.sh delete mode 100755 examples/currency/history/go/historicRatesForACurrency.go delete mode 100755 examples/currency/history/node/historicRatesForACurrency.js delete mode 100755 examples/currency/rates/curl/getRatesForUsd.sh delete mode 100755 examples/currency/rates/go/getRatesForUsd.go delete mode 100755 examples/currency/rates/node/getRatesForUsd.js delete mode 100755 examples/db/count/curl/countEntriesInATable.sh delete mode 100755 examples/db/count/go/countEntriesInATable.go delete mode 100755 examples/db/count/node/countEntriesInATable.js delete mode 100755 examples/db/create/curl/createARecord.sh delete mode 100755 examples/db/create/go/createARecord.go delete mode 100755 examples/db/create/node/createARecord.js delete mode 100755 examples/db/delete/curl/deleteARecord.sh delete mode 100755 examples/db/delete/go/deleteARecord.go delete mode 100755 examples/db/delete/node/deleteARecord.js delete mode 100755 examples/db/dropTable/curl/dropTable.sh delete mode 100755 examples/db/dropTable/go/dropTable.go delete mode 100755 examples/db/dropTable/node/dropTable.js delete mode 100755 examples/db/listTables/curl/listTables.sh delete mode 100755 examples/db/listTables/go/listTables.go delete mode 100755 examples/db/listTables/node/listTables.js delete mode 100755 examples/db/read/curl/readRecords.sh delete mode 100755 examples/db/read/go/readRecords.go delete mode 100755 examples/db/read/node/readRecords.js delete mode 100755 examples/db/renameTable/curl/renameTable.sh delete mode 100755 examples/db/renameTable/go/renameTable.go delete mode 100755 examples/db/renameTable/node/renameTable.js delete mode 100755 examples/db/truncate/curl/truncateTable.sh delete mode 100755 examples/db/truncate/go/truncateTable.go delete mode 100755 examples/db/truncate/node/truncateTable.js delete mode 100755 examples/db/update/curl/updateARecord.sh delete mode 100755 examples/db/update/go/updateARecord.go delete mode 100755 examples/db/update/node/updateARecord.js delete mode 100755 examples/email/send/curl/sendEmail.sh delete mode 100755 examples/email/send/go/sendEmail.go delete mode 100755 examples/email/send/node/sendEmail.js delete mode 100755 examples/emoji/find/curl/findEmoji.sh delete mode 100755 examples/emoji/find/go/findEmoji.go delete mode 100755 examples/emoji/find/node/findEmoji.js delete mode 100755 examples/emoji/flag/curl/getFlagByCountryCode.sh delete mode 100755 examples/emoji/flag/go/getFlagByCountryCode.go delete mode 100755 examples/emoji/flag/node/getFlagByCountryCode.js delete mode 100755 examples/emoji/print/curl/printTextIncludingEmoji.sh delete mode 100755 examples/emoji/print/go/printTextIncludingEmoji.go delete mode 100755 examples/emoji/print/node/printTextIncludingEmoji.js delete mode 100755 examples/emoji/send/curl/sendATextContainingAnEmojiToAnyoneViaSms.sh delete mode 100755 examples/emoji/send/go/sendATextContainingAnEmojiToAnyoneViaSms.go delete mode 100755 examples/emoji/send/node/sendATextContainingAnEmojiToAnyoneViaSms.js delete mode 100755 examples/evchargers/referenceData/curl/getReferenceData.sh delete mode 100755 examples/evchargers/referenceData/go/getReferenceData.go delete mode 100755 examples/evchargers/referenceData/node/getReferenceData.js delete mode 100755 examples/evchargers/search/curl/searchByBoundingBox.sh delete mode 100755 examples/evchargers/search/curl/searchByLocation.sh delete mode 100755 examples/evchargers/search/curl/searchWithFiltersFastChargersOnly.sh delete mode 100755 examples/evchargers/search/go/searchByBoundingBox.go delete mode 100755 examples/evchargers/search/go/searchByLocation.go delete mode 100755 examples/evchargers/search/go/searchWithFiltersFastChargersOnly.go delete mode 100755 examples/evchargers/search/node/searchByBoundingBox.js delete mode 100755 examples/evchargers/search/node/searchByLocation.js delete mode 100755 examples/evchargers/search/node/searchWithFiltersFastChargersOnly.js delete mode 100755 examples/event/consume/curl/consumeFromATopic.sh delete mode 100755 examples/event/consume/go/consumeFromATopic.go delete mode 100755 examples/event/consume/node/consumeFromATopic.js delete mode 100755 examples/event/publish/curl/publishAMessage.sh delete mode 100755 examples/event/publish/curl/publishAnEvent.sh delete mode 100755 examples/event/publish/go/publishAMessage.go delete mode 100755 examples/event/publish/go/publishAnEvent.go delete mode 100755 examples/event/publish/node/publishAMessage.js delete mode 100755 examples/event/publish/node/publishAnEvent.js delete mode 100755 examples/event/read/curl/readEventsOnATopic.sh delete mode 100755 examples/event/read/go/readEventsOnATopic.go delete mode 100755 examples/event/read/node/readEventsOnATopic.js delete mode 100755 examples/file/delete/curl/deleteFile.sh delete mode 100755 examples/file/delete/go/deleteFile.go delete mode 100755 examples/file/delete/node/deleteFile.js delete mode 100755 examples/file/list/curl/listFiles.sh delete mode 100755 examples/file/list/go/listFiles.go delete mode 100755 examples/file/list/node/listFiles.js delete mode 100755 examples/file/read/curl/readFile.sh delete mode 100755 examples/file/read/go/readFile.go delete mode 100755 examples/file/read/node/readFile.js delete mode 100755 examples/file/save/curl/saveFile.sh delete mode 100755 examples/file/save/go/saveFile.go delete mode 100755 examples/file/save/node/saveFile.js delete mode 100755 examples/forex/history/curl/getPreviousClose.sh delete mode 100755 examples/forex/history/go/getPreviousClose.go delete mode 100755 examples/forex/history/node/getPreviousClose.js delete mode 100755 examples/forex/price/curl/getAnFxPrice.sh delete mode 100755 examples/forex/price/go/getAnFxPrice.go delete mode 100755 examples/forex/price/node/getAnFxPrice.js delete mode 100755 examples/forex/quote/curl/getAFxQuote.sh delete mode 100755 examples/forex/quote/go/getAFxQuote.go delete mode 100755 examples/forex/quote/node/getAFxQuote.js delete mode 100755 examples/function/call/curl/callAFunction.sh delete mode 100755 examples/function/call/go/callAFunction.go delete mode 100755 examples/function/call/node/callAFunction.js delete mode 100755 examples/function/delete/curl/deleteAFunction.sh delete mode 100755 examples/function/delete/go/deleteAFunction.go delete mode 100755 examples/function/delete/node/deleteAFunction.js delete mode 100755 examples/function/deploy/curl/deployAFunction.sh delete mode 100755 examples/function/deploy/go/deployAFunction.go delete mode 100755 examples/function/deploy/node/deployAFunction.js delete mode 100755 examples/function/describe/curl/describeFunctionStatus.sh delete mode 100755 examples/function/describe/go/describeFunctionStatus.go delete mode 100755 examples/function/describe/node/describeFunctionStatus.js delete mode 100755 examples/function/list/curl/listFunctions.sh delete mode 100755 examples/function/list/go/listFunctions.go delete mode 100755 examples/function/list/node/listFunctions.js delete mode 100755 examples/geocoding/lookup/curl/geocodeAnAddress.sh delete mode 100755 examples/geocoding/lookup/go/geocodeAnAddress.go delete mode 100755 examples/geocoding/lookup/node/geocodeAnAddress.js delete mode 100755 examples/geocoding/reverse/curl/reverseGeocodeLocation.sh delete mode 100755 examples/geocoding/reverse/go/reverseGeocodeLocation.go delete mode 100755 examples/geocoding/reverse/node/reverseGeocodeLocation.js delete mode 100755 examples/gifs/search/curl/search.sh delete mode 100755 examples/gifs/search/go/search.go delete mode 100755 examples/gifs/search/node/search.js delete mode 100755 examples/google/search/curl/searchForVideos.sh delete mode 100755 examples/google/search/go/searchForVideos.go delete mode 100755 examples/google/search/node/searchForVideos.js delete mode 100755 examples/helloworld/call/curl/callTheHelloworldService.sh delete mode 100755 examples/helloworld/call/go/callTheHelloworldService.go delete mode 100755 examples/helloworld/call/node/callTheHelloworldService.js delete mode 100755 examples/helloworld/stream/curl/streamsAreCurrentlyTemporarilyNotSupportedInClients.sh delete mode 100755 examples/helloworld/stream/curl/streamsResponsesFromTheServerUsingWebsockets.sh delete mode 100755 examples/helloworld/stream/go/streamsAreCurrentlyTemporarilyNotSupportedInClients.go delete mode 100755 examples/helloworld/stream/go/streamsResponsesFromTheServerUsingWebsockets.go delete mode 100755 examples/helloworld/stream/node/streamsAreCurrentlyTemporarilyNotSupportedInClients.js delete mode 100755 examples/helloworld/stream/node/streamsResponsesFromTheServerUsingWebsockets.js delete mode 100755 examples/holidays/countries/curl/listCountries.sh delete mode 100755 examples/holidays/countries/go/listCountries.go delete mode 100755 examples/holidays/countries/node/listCountries.js delete mode 100755 examples/holidays/list/curl/getHolidays.sh delete mode 100755 examples/holidays/list/go/getHolidays.go delete mode 100755 examples/holidays/list/node/getHolidays.js delete mode 100755 examples/id/generate/curl/generateABigflakeId.sh delete mode 100755 examples/id/generate/curl/generateAShortId.sh delete mode 100755 examples/id/generate/curl/generateASnowflakeId.sh delete mode 100755 examples/id/generate/curl/generateAUniqueId.sh delete mode 100755 examples/id/generate/go/generateABigflakeId.go delete mode 100755 examples/id/generate/go/generateAShortId.go delete mode 100755 examples/id/generate/go/generateASnowflakeId.go delete mode 100755 examples/id/generate/go/generateAUniqueId.go delete mode 100755 examples/id/generate/node/generateABigflakeId.js delete mode 100755 examples/id/generate/node/generateAShortId.js delete mode 100755 examples/id/generate/node/generateASnowflakeId.js delete mode 100755 examples/id/generate/node/generateAUniqueId.js delete mode 100755 examples/id/types/curl/listTheTypesOfIdsAvailable.sh delete mode 100755 examples/id/types/go/listTheTypesOfIdsAvailable.go delete mode 100755 examples/id/types/node/listTheTypesOfIdsAvailable.js delete mode 100755 examples/image/convert/curl/convertAPngImageToAJpegTakenFromAUrlAndSavedToAUrlOnMicrosCdn.sh delete mode 100755 examples/image/convert/go/convertAPngImageToAJpegTakenFromAUrlAndSavedToAUrlOnMicrosCdn.go delete mode 100755 examples/image/convert/node/convertAPngImageToAJpegTakenFromAUrlAndSavedToAUrlOnMicrosCdn.js delete mode 100755 examples/image/delete/curl/deleteAnUploadedImage.sh delete mode 100755 examples/image/delete/go/deleteAnUploadedImage.go delete mode 100755 examples/image/delete/node/deleteAnUploadedImage.js delete mode 100755 examples/image/resize/curl/base64ToBase64Image.sh delete mode 100755 examples/image/resize/curl/base64ToBase64ImageWithCropping.sh delete mode 100755 examples/image/resize/curl/base64ToHostedImage.sh delete mode 100755 examples/image/resize/go/base64ToBase64Image.go delete mode 100755 examples/image/resize/go/base64ToBase64ImageWithCropping.go delete mode 100755 examples/image/resize/go/base64ToHostedImage.go delete mode 100755 examples/image/resize/node/base64ToBase64Image.js delete mode 100755 examples/image/resize/node/base64ToBase64ImageWithCropping.js delete mode 100755 examples/image/resize/node/base64ToHostedImage.js delete mode 100755 examples/image/upload/curl/uploadABase64ImageToMicrosCdn.sh delete mode 100755 examples/image/upload/curl/uploadAnImageFromAUrlToMicrosCdn.sh delete mode 100755 examples/image/upload/go/uploadABase64ImageToMicrosCdn.go delete mode 100755 examples/image/upload/go/uploadAnImageFromAUrlToMicrosCdn.go delete mode 100755 examples/image/upload/node/uploadABase64ImageToMicrosCdn.js delete mode 100755 examples/image/upload/node/uploadAnImageFromAUrlToMicrosCdn.js delete mode 100755 examples/ip/lookup/curl/lookupIpInfo.sh delete mode 100755 examples/ip/lookup/go/lookupIpInfo.go delete mode 100755 examples/ip/lookup/node/lookupIpInfo.js delete mode 100755 examples/location/read/curl/getLocationById.sh delete mode 100755 examples/location/read/go/getLocationById.go delete mode 100755 examples/location/read/node/getLocationById.js delete mode 100755 examples/location/save/curl/saveAnEntity.sh delete mode 100755 examples/location/save/go/saveAnEntity.go delete mode 100755 examples/location/save/node/saveAnEntity.js delete mode 100755 examples/location/search/curl/searchForLocations.sh delete mode 100755 examples/location/search/go/searchForLocations.go delete mode 100755 examples/location/search/node/searchForLocations.js delete mode 100755 examples/mq/publish/curl/publishAMessage.sh delete mode 100755 examples/mq/publish/go/publishAMessage.go delete mode 100755 examples/mq/publish/node/publishAMessage.js delete mode 100755 examples/mq/subscribe/curl/subscribeToATopic.sh delete mode 100755 examples/mq/subscribe/go/subscribeToATopic.go delete mode 100755 examples/mq/subscribe/node/subscribeToATopic.js delete mode 100755 examples/notes/create/curl/createANote.sh delete mode 100755 examples/notes/create/go/createANote.go delete mode 100755 examples/notes/create/node/createANote.js delete mode 100755 examples/notes/delete/curl/deleteANote.sh delete mode 100755 examples/notes/delete/go/deleteANote.go delete mode 100755 examples/notes/delete/node/deleteANote.js delete mode 100755 examples/notes/events/curl/subscribeToEvents.sh delete mode 100755 examples/notes/events/go/subscribeToEvents.go delete mode 100755 examples/notes/events/node/subscribeToEvents.js delete mode 100755 examples/notes/list/curl/listAllNotes.sh delete mode 100755 examples/notes/list/go/listAllNotes.go delete mode 100755 examples/notes/list/node/listAllNotes.js delete mode 100755 examples/notes/read/curl/readANote.sh delete mode 100755 examples/notes/read/go/readANote.go delete mode 100755 examples/notes/read/node/readANote.js delete mode 100755 examples/notes/update/curl/updateANote.sh delete mode 100755 examples/notes/update/go/updateANote.go delete mode 100755 examples/notes/update/node/updateANote.js delete mode 100755 examples/otp/generate/curl/generateOtp.sh delete mode 100755 examples/otp/generate/go/generateOtp.go delete mode 100755 examples/otp/generate/node/generateOtp.js delete mode 100755 examples/otp/validate/curl/validateOtp.sh delete mode 100755 examples/otp/validate/go/validateOtp.go delete mode 100755 examples/otp/validate/node/validateOtp.js delete mode 100755 examples/postcode/lookup/curl/lookupPostcode.sh delete mode 100755 examples/postcode/lookup/go/lookupPostcode.go delete mode 100755 examples/postcode/lookup/node/lookupPostcode.js delete mode 100755 examples/postcode/random/curl/returnARandomPostcodeAndItsInformation.sh delete mode 100755 examples/postcode/random/go/returnARandomPostcodeAndItsInformation.go delete mode 100755 examples/postcode/random/node/returnARandomPostcodeAndItsInformation.js delete mode 100755 examples/postcode/validate/curl/returnARandomPostcodeAndItsInformation.sh delete mode 100755 examples/postcode/validate/go/returnARandomPostcodeAndItsInformation.go delete mode 100755 examples/postcode/validate/node/returnARandomPostcodeAndItsInformation.js delete mode 100755 examples/prayer/times/curl/prayerTimes.sh delete mode 100755 examples/prayer/times/go/prayerTimes.go delete mode 100755 examples/prayer/times/node/prayerTimes.js delete mode 100755 examples/qr/generate/curl/generateAQrCode.sh delete mode 100755 examples/qr/generate/go/generateAQrCode.go delete mode 100755 examples/qr/generate/node/generateAQrCode.js delete mode 100755 examples/quran/chapters/curl/listChapters.sh delete mode 100755 examples/quran/chapters/go/listChapters.go delete mode 100755 examples/quran/chapters/node/listChapters.js delete mode 100755 examples/quran/search/curl/searchTheQuran.sh delete mode 100755 examples/quran/search/go/searchTheQuran.go delete mode 100755 examples/quran/search/node/searchTheQuran.js delete mode 100755 examples/quran/summary/curl/getChapterSummary.sh delete mode 100755 examples/quran/summary/go/getChapterSummary.go delete mode 100755 examples/quran/summary/node/getChapterSummary.js delete mode 100755 examples/quran/verses/curl/getVersesOfAChapter.sh delete mode 100755 examples/quran/verses/go/getVersesOfAChapter.go delete mode 100755 examples/quran/verses/node/getVersesOfAChapter.js delete mode 100755 examples/routing/directions/curl/turnByTurnDirections.sh delete mode 100755 examples/routing/directions/go/turnByTurnDirections.go delete mode 100755 examples/routing/directions/node/turnByTurnDirections.js delete mode 100755 examples/routing/eta/curl/etaFromPointAToPointB.sh delete mode 100755 examples/routing/eta/go/etaFromPointAToPointB.go delete mode 100755 examples/routing/eta/node/etaFromPointAToPointB.js delete mode 100755 examples/routing/route/curl/gpsPointsForARoute.sh delete mode 100755 examples/routing/route/go/gpsPointsForARoute.go delete mode 100755 examples/routing/route/node/gpsPointsForARoute.js delete mode 100755 examples/rss/add/curl/addANewFeed.sh delete mode 100755 examples/rss/add/go/addANewFeed.go delete mode 100755 examples/rss/add/node/addANewFeed.js delete mode 100755 examples/rss/feed/curl/readAFeed.sh delete mode 100755 examples/rss/feed/go/readAFeed.go delete mode 100755 examples/rss/feed/node/readAFeed.js delete mode 100755 examples/rss/list/curl/listRssFeeds.sh delete mode 100755 examples/rss/list/go/listRssFeeds.go delete mode 100755 examples/rss/list/node/listRssFeeds.js delete mode 100755 examples/rss/remove/curl/removeAFeed.sh delete mode 100755 examples/rss/remove/go/removeAFeed.go delete mode 100755 examples/rss/remove/node/removeAFeed.js delete mode 100755 examples/sentiment/analyze/curl/analyzeAPieceOfText.sh delete mode 100755 examples/sentiment/analyze/go/analyzeAPieceOfText.go delete mode 100755 examples/sentiment/analyze/node/analyzeAPieceOfText.js delete mode 100755 examples/sms/send/curl/sendSms.sh delete mode 100755 examples/sms/send/go/sendSms.go delete mode 100755 examples/sms/send/node/sendSms.js delete mode 100755 examples/spam/classify/curl/classifyAnEmail.sh delete mode 100755 examples/spam/classify/curl/classifyAnEmailUsingTheRawData.sh delete mode 100755 examples/spam/classify/go/classifyAnEmail.go delete mode 100755 examples/spam/classify/go/classifyAnEmailUsingTheRawData.go delete mode 100755 examples/spam/classify/node/classifyAnEmail.js delete mode 100755 examples/spam/classify/node/classifyAnEmailUsingTheRawData.js delete mode 100755 examples/stock/history/curl/getHistoricData.sh delete mode 100755 examples/stock/history/go/getHistoricData.go delete mode 100755 examples/stock/history/node/getHistoricData.js delete mode 100755 examples/stock/orderBook/curl/orderBookHistory.sh delete mode 100755 examples/stock/orderBook/go/orderBookHistory.go delete mode 100755 examples/stock/orderBook/node/orderBookHistory.js delete mode 100755 examples/stock/price/curl/getAStockPrice.sh delete mode 100755 examples/stock/price/go/getAStockPrice.go delete mode 100755 examples/stock/price/node/getAStockPrice.js delete mode 100755 examples/stock/quote/curl/getAStockQuote.sh delete mode 100755 examples/stock/quote/go/getAStockQuote.go delete mode 100755 examples/stock/quote/node/getAStockQuote.js delete mode 100755 examples/stream/createChannel/curl/createChannel.sh delete mode 100755 examples/stream/createChannel/go/createChannel.go delete mode 100755 examples/stream/createChannel/node/createChannel.js delete mode 100755 examples/stream/listChannels/curl/listChannels.sh delete mode 100755 examples/stream/listChannels/go/listChannels.go delete mode 100755 examples/stream/listChannels/node/listChannels.js delete mode 100755 examples/stream/listMessages/curl/listMessages.sh delete mode 100755 examples/stream/listMessages/go/listMessages.go delete mode 100755 examples/stream/listMessages/node/listMessages.js delete mode 100755 examples/stream/sendMessage/curl/sendAMessage.sh delete mode 100755 examples/stream/sendMessage/curl/sendMessage.sh delete mode 100755 examples/stream/sendMessage/go/sendAMessage.go delete mode 100755 examples/stream/sendMessage/go/sendMessage.go delete mode 100755 examples/stream/sendMessage/node/sendAMessage.js delete mode 100755 examples/stream/sendMessage/node/sendMessage.js delete mode 100755 examples/sunnah/books/curl/getTheBooksWithinACollection.sh delete mode 100755 examples/sunnah/books/go/getTheBooksWithinACollection.go delete mode 100755 examples/sunnah/books/node/getTheBooksWithinACollection.js delete mode 100755 examples/sunnah/chapters/curl/listTheChaptersInABook.sh delete mode 100755 examples/sunnah/chapters/go/listTheChaptersInABook.go delete mode 100755 examples/sunnah/chapters/node/listTheChaptersInABook.js delete mode 100755 examples/sunnah/collections/curl/listAvailableCollections.sh delete mode 100755 examples/sunnah/collections/go/listAvailableCollections.go delete mode 100755 examples/sunnah/collections/node/listAvailableCollections.js delete mode 100755 examples/sunnah/hadiths/curl/listTheHadithsInABook.sh delete mode 100755 examples/sunnah/hadiths/go/listTheHadithsInABook.go delete mode 100755 examples/sunnah/hadiths/node/listTheHadithsInABook.js delete mode 100755 examples/thumbnail/screenshot/curl/takeScreenshotOfAUrl.sh delete mode 100755 examples/thumbnail/screenshot/go/takeScreenshotOfAUrl.go delete mode 100755 examples/thumbnail/screenshot/node/takeScreenshotOfAUrl.js delete mode 100755 examples/time/now/curl/returnsCurrentTimeOptionallyWithLocation.sh delete mode 100755 examples/time/now/go/returnsCurrentTimeOptionallyWithLocation.go delete mode 100755 examples/time/now/node/returnsCurrentTimeOptionallyWithLocation.js delete mode 100755 examples/time/zone/curl/getTheTimezoneInfoForASpecificLocation.sh delete mode 100755 examples/time/zone/go/getTheTimezoneInfoForASpecificLocation.go delete mode 100755 examples/time/zone/node/getTheTimezoneInfoForASpecificLocation.js delete mode 100755 examples/twitter/search/curl/searchForTweets.sh delete mode 100755 examples/twitter/search/go/searchForTweets.go delete mode 100755 examples/twitter/search/node/searchForTweets.js delete mode 100755 examples/twitter/timeline/curl/getATwitterTimeline.sh delete mode 100755 examples/twitter/timeline/go/getATwitterTimeline.go delete mode 100755 examples/twitter/timeline/node/getATwitterTimeline.js delete mode 100755 examples/twitter/trends/curl/getTheCurrentGlobalTrendingTopics.sh delete mode 100755 examples/twitter/trends/go/getTheCurrentGlobalTrendingTopics.go delete mode 100755 examples/twitter/trends/node/getTheCurrentGlobalTrendingTopics.js delete mode 100755 examples/twitter/user/curl/getAUsersTwitterProfile.sh delete mode 100755 examples/twitter/user/go/getAUsersTwitterProfile.go delete mode 100755 examples/twitter/user/node/getAUsersTwitterProfile.js delete mode 100755 examples/url/list/curl/listYourShortenedUrls.sh delete mode 100755 examples/url/list/go/listYourShortenedUrls.go delete mode 100755 examples/url/list/node/listYourShortenedUrls.js delete mode 100755 examples/url/proxy/curl/resolveAShortUrlToALongDestinationUrl.sh delete mode 100755 examples/url/proxy/go/resolveAShortUrlToALongDestinationUrl.go delete mode 100755 examples/url/proxy/node/resolveAShortUrlToALongDestinationUrl.js delete mode 100755 examples/url/shorten/curl/shortenALongUrl.sh delete mode 100755 examples/url/shorten/go/shortenALongUrl.go delete mode 100755 examples/url/shorten/node/shortenALongUrl.js delete mode 100755 examples/user/create/curl/createAnAccount.sh delete mode 100755 examples/user/create/go/createAnAccount.go delete mode 100755 examples/user/create/node/createAnAccount.js delete mode 100755 examples/user/delete/curl/deleteUserAccount.sh delete mode 100755 examples/user/delete/go/deleteUserAccount.go delete mode 100755 examples/user/delete/node/deleteUserAccount.js delete mode 100755 examples/user/login/curl/logAUserIn.sh delete mode 100755 examples/user/login/go/logAUserIn.go delete mode 100755 examples/user/login/node/logAUserIn.js delete mode 100755 examples/user/logout/curl/logAUserOut.sh delete mode 100755 examples/user/logout/go/logAUserOut.go delete mode 100755 examples/user/logout/node/logAUserOut.js delete mode 100755 examples/user/read/curl/readAccountByEmail.sh delete mode 100755 examples/user/read/curl/readAccountByUsernameOrEmail.sh delete mode 100755 examples/user/read/curl/readAnAccountById.sh delete mode 100755 examples/user/read/go/readAccountByEmail.go delete mode 100755 examples/user/read/go/readAccountByUsernameOrEmail.go delete mode 100755 examples/user/read/go/readAnAccountById.go delete mode 100755 examples/user/read/node/readAccountByEmail.js delete mode 100755 examples/user/read/node/readAccountByUsernameOrEmail.js delete mode 100755 examples/user/read/node/readAnAccountById.js delete mode 100755 examples/user/readSession/curl/readASessionByTheSessionId.sh delete mode 100755 examples/user/readSession/go/readASessionByTheSessionId.go delete mode 100755 examples/user/readSession/node/readASessionByTheSessionId.js delete mode 100755 examples/user/resetPassword/curl/resetPassword.sh delete mode 100755 examples/user/resetPassword/go/resetPassword.go delete mode 100755 examples/user/resetPassword/node/resetPassword.js delete mode 100755 examples/user/sendPasswordResetEmail/curl/sendPasswordResetEmail.sh delete mode 100755 examples/user/sendPasswordResetEmail/go/sendPasswordResetEmail.go delete mode 100755 examples/user/sendPasswordResetEmail/node/sendPasswordResetEmail.js delete mode 100755 examples/user/sendVerificationEmail/curl/sendVerificationEmail.sh delete mode 100755 examples/user/sendVerificationEmail/go/sendVerificationEmail.go delete mode 100755 examples/user/sendVerificationEmail/node/sendVerificationEmail.js delete mode 100755 examples/user/update/curl/updateAnAccount.sh delete mode 100755 examples/user/update/go/updateAnAccount.go delete mode 100755 examples/user/update/node/updateAnAccount.js delete mode 100755 examples/user/updatePassword/curl/updateTheAccountPassword.sh delete mode 100755 examples/user/updatePassword/go/updateTheAccountPassword.go delete mode 100755 examples/user/updatePassword/node/updateTheAccountPassword.js delete mode 100755 examples/user/verifyEmail/curl/verifyEmail.sh delete mode 100755 examples/user/verifyEmail/go/verifyEmail.go delete mode 100755 examples/user/verifyEmail/node/verifyEmail.js delete mode 100755 examples/vehicle/lookup/curl/lookupVehicle.sh delete mode 100755 examples/vehicle/lookup/go/lookupVehicle.go delete mode 100755 examples/vehicle/lookup/node/lookupVehicle.js delete mode 100755 examples/weather/forecast/curl/forecaseWeather.sh delete mode 100755 examples/weather/forecast/curl/forecastWeather.sh delete mode 100755 examples/weather/forecast/go/forecaseWeather.go delete mode 100755 examples/weather/forecast/go/forecastWeather.go delete mode 100755 examples/weather/forecast/node/forecaseWeather.js delete mode 100755 examples/weather/forecast/node/forecastWeather.js delete mode 100755 examples/weather/now/curl/getCurrentWeather.sh delete mode 100755 examples/weather/now/go/getCurrentWeather.go delete mode 100755 examples/weather/now/node/getCurrentWeather.js delete mode 100755 examples/youtube/search/curl/searchForVideos.sh delete mode 100755 examples/youtube/search/go/searchForVideos.go delete mode 100755 examples/youtube/search/node/searchForVideos.js diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml deleted file mode 100644 index 0497c41..0000000 --- a/.github/workflows/generate.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: Generate Clients & Examples -on: [push] - -jobs: - generate: - runs-on: ubuntu-latest - steps: - - name: Set up Go 1.13 - uses: actions/setup-go@v2 - with: - go-version: 1.13 - id: go - - - name: Install Protoc - uses: arduino/setup-protoc@master - - - name: Check out this code - uses: actions/checkout@v2 - with: - path: services - - - name: Check out micro code - uses: actions/checkout@v2 - with: - repository: 'micro/micro' - path: 'micro' - ref: 'master' - - - name: Enable caching - uses: actions/cache@v2 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - - - name: Install protoc gen micro plugin - working-directory: micro/cmd/protoc-gen-micro - run: | - go get -u github.com/golang/protobuf/protoc-gen-go - go install - - - name: Install openapi plugin - working-directory: micro/cmd/protoc-gen-openapi - run: | - go install - - - name: install prettier - working-directory: services - run: | - sudo npm install -g prettier - - - name: Generate clients - working-directory: services - if: github.ref == 'refs/heads/master' - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: | - pwd - cd cmd/clients; - go install; - cd ../..; - clients . - - - uses: EndBug/add-and-commit@v7 - with: - cwd: './services' diff --git a/clients/go/address/address.go b/clients/go/address/address.go deleted file mode 100755 index 7679c0b..0000000 --- a/clients/go/address/address.go +++ /dev/null @@ -1,57 +0,0 @@ -package address - -import ( - "github.com/micro/micro-go/client" -) - -func NewAddressService(token string) *AddressService { - return &AddressService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type AddressService struct { - client *client.Client -} - -// Lookup a list of UK addresses by postcode -func (t *AddressService) LookupPostcode(request *LookupPostcodeRequest) (*LookupPostcodeResponse, error) { - rsp := &LookupPostcodeResponse{} - return rsp, t.client.Call("address", "LookupPostcode", request, rsp) -} - -type LookupPostcodeRequest struct { - // UK postcode e.g SW1A 2AA - Postcode string `json:"postcode"` -} - -type LookupPostcodeResponse struct { - Addresses []Record `json:"addresses"` -} - -type Record struct { - // building name - BuildingName string `json:"buildingName"` - // the county - County string `json:"county"` - // line one of address - LineOne string `json:"lineOne"` - // line two of address - LineTwo string `json:"lineTwo"` - // dependent locality - Locality string `json:"locality"` - // organisation if present - Organisation string `json:"organisation"` - // the postcode - Postcode string `json:"postcode"` - // the premise - Premise string `json:"premise"` - // street name - Street string `json:"street"` - // the complete address - Summary string `json:"summary"` - // post town - Town string `json:"town"` -} diff --git a/clients/go/answer/answer.go b/clients/go/answer/answer.go deleted file mode 100755 index 450219b..0000000 --- a/clients/go/answer/answer.go +++ /dev/null @@ -1,37 +0,0 @@ -package answer - -import ( - "github.com/micro/micro-go/client" -) - -func NewAnswerService(token string) *AnswerService { - return &AnswerService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type AnswerService struct { - client *client.Client -} - -// Ask a question and receive an instant answer -func (t *AnswerService) Question(request *QuestionRequest) (*QuestionResponse, error) { - rsp := &QuestionResponse{} - return rsp, t.client.Call("answer", "Question", request, rsp) -} - -type QuestionRequest struct { - // the question to answer - Query string `json:"query"` -} - -type QuestionResponse struct { - // the answer to your question - Answer string `json:"answer"` - // any related image - Image string `json:"image"` - // a related url - Url string `json:"url"` -} diff --git a/clients/go/cache/cache.go b/clients/go/cache/cache.go deleted file mode 100755 index 849f5c2..0000000 --- a/clients/go/cache/cache.go +++ /dev/null @@ -1,113 +0,0 @@ -package cache - -import ( - "github.com/micro/micro-go/client" -) - -func NewCacheService(token string) *CacheService { - return &CacheService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type CacheService struct { - client *client.Client -} - -// Decrement a value (if it's a number). If key not found it is equivalent to set. -func (t *CacheService) Decrement(request *DecrementRequest) (*DecrementResponse, error) { - rsp := &DecrementResponse{} - return rsp, t.client.Call("cache", "Decrement", request, rsp) -} - -// Delete a value from the cache. If key not found a success response is returned. -func (t *CacheService) Delete(request *DeleteRequest) (*DeleteResponse, error) { - rsp := &DeleteResponse{} - return rsp, t.client.Call("cache", "Delete", request, rsp) -} - -// Get an item from the cache by key. If key is not found, an empty response is returned. -func (t *CacheService) Get(request *GetRequest) (*GetResponse, error) { - rsp := &GetResponse{} - return rsp, t.client.Call("cache", "Get", request, rsp) -} - -// Increment a value (if it's a number). If key not found it is equivalent to set. -func (t *CacheService) Increment(request *IncrementRequest) (*IncrementResponse, error) { - rsp := &IncrementResponse{} - return rsp, t.client.Call("cache", "Increment", request, rsp) -} - -// Set an item in the cache. Overwrites any existing value already set. -func (t *CacheService) Set(request *SetRequest) (*SetResponse, error) { - rsp := &SetResponse{} - return rsp, t.client.Call("cache", "Set", request, rsp) -} - -type DecrementRequest struct { - // The key to decrement - Key string `json:"key"` - // The amount to decrement the value by - Value int64 `json:"value,string"` -} - -type DecrementResponse struct { - // The key decremented - Key string `json:"key"` - // The new value - Value int64 `json:"value,string"` -} - -type DeleteRequest struct { - // The key to delete - Key string `json:"key"` -} - -type DeleteResponse struct { - // Returns "ok" if successful - Status string `json:"status"` -} - -type GetRequest struct { - // The key to retrieve - Key string `json:"key"` -} - -type GetResponse struct { - // The key - Key string `json:"key"` - // Time to live in seconds - Ttl int64 `json:"ttl,string"` - // The value - Value string `json:"value"` -} - -type IncrementRequest struct { - // The key to increment - Key string `json:"key"` - // The amount to increment the value by - Value int64 `json:"value,string"` -} - -type IncrementResponse struct { - // The key incremented - Key string `json:"key"` - // The new value - Value int64 `json:"value,string"` -} - -type SetRequest struct { - // The key to update - Key string `json:"key"` - // Time to live in seconds - Ttl int64 `json:"ttl,string"` - // The value to set - Value string `json:"value"` -} - -type SetResponse struct { - // Returns "ok" if successful - Status string `json:"status"` -} diff --git a/clients/go/crypto/crypto.go b/clients/go/crypto/crypto.go deleted file mode 100755 index bf9f14e..0000000 --- a/clients/go/crypto/crypto.go +++ /dev/null @@ -1,120 +0,0 @@ -package crypto - -import ( - "github.com/micro/micro-go/client" -) - -func NewCryptoService(token string) *CryptoService { - return &CryptoService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type CryptoService struct { - client *client.Client -} - -// Returns the history for the previous close -func (t *CryptoService) History(request *HistoryRequest) (*HistoryResponse, error) { - rsp := &HistoryResponse{} - return rsp, t.client.Call("crypto", "History", request, rsp) -} - -// Get news related to a currency -func (t *CryptoService) News(request *NewsRequest) (*NewsResponse, error) { - rsp := &NewsResponse{} - return rsp, t.client.Call("crypto", "News", request, rsp) -} - -// Get the last price for a given crypto ticker -func (t *CryptoService) Price(request *PriceRequest) (*PriceResponse, error) { - rsp := &PriceResponse{} - return rsp, t.client.Call("crypto", "Price", request, rsp) -} - -// Get the last quote for a given crypto ticker -func (t *CryptoService) Quote(request *QuoteRequest) (*QuoteResponse, error) { - rsp := &QuoteResponse{} - return rsp, t.client.Call("crypto", "Quote", request, rsp) -} - -type Article struct { - // the date published - Date string `json:"date"` - // its description - Description string `json:"description"` - // the source - Source string `json:"source"` - // title of the article - Title string `json:"title"` - // the source url - Url string `json:"url"` -} - -type HistoryRequest struct { - // the crypto symbol e.g BTCUSD - Symbol string `json:"symbol"` -} - -type HistoryResponse struct { - // the close price - Close float64 `json:"close"` - // the date - Date string `json:"date"` - // the peak price - High float64 `json:"high"` - // the low price - Low float64 `json:"low"` - // the open price - Open float64 `json:"open"` - // the crypto symbol - Symbol string `json:"symbol"` - // the volume - Volume float64 `json:"volume"` -} - -type NewsRequest struct { - // cryptocurrency ticker to request news for e.g BTC - Symbol string `json:"symbol"` -} - -type NewsResponse struct { - // list of articles - Articles []Article `json:"articles"` - // symbol requested for - Symbol string `json:"symbol"` -} - -type PriceRequest struct { - // the crypto symbol e.g BTCUSD - Symbol string `json:"symbol"` -} - -type PriceResponse struct { - // the last price - Price float64 `json:"price"` - // the crypto symbol e.g BTCUSD - Symbol string `json:"symbol"` -} - -type QuoteRequest struct { - // the crypto symbol e.g BTCUSD - Symbol string `json:"symbol"` -} - -type QuoteResponse struct { - // the asking price - AskPrice float64 `json:"askPrice"` - // the ask size - AskSize float64 `json:"askSize"` - // the bidding price - BidPrice float64 `json:"bidPrice"` - // the bid size - BidSize float64 `json:"bidSize"` - // the crypto symbol - Symbol string `json:"symbol"` - // the UTC timestamp of the quote - Timestamp string `json:"timestamp"` -} diff --git a/clients/go/currency/currency.go b/clients/go/currency/currency.go deleted file mode 100755 index b456696..0000000 --- a/clients/go/currency/currency.go +++ /dev/null @@ -1,103 +0,0 @@ -package currency - -import ( - "github.com/micro/micro-go/client" -) - -func NewCurrencyService(token string) *CurrencyService { - return &CurrencyService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type CurrencyService struct { - client *client.Client -} - -// Codes returns the supported currency codes for the API -func (t *CurrencyService) Codes(request *CodesRequest) (*CodesResponse, error) { - rsp := &CodesResponse{} - return rsp, t.client.Call("currency", "Codes", request, rsp) -} - -// Convert returns the currency conversion rate between two pairs e.g USD/GBP -func (t *CurrencyService) Convert(request *ConvertRequest) (*ConvertResponse, error) { - rsp := &ConvertResponse{} - return rsp, t.client.Call("currency", "Convert", request, rsp) -} - -// Returns the historic rates for a currency on a given date -func (t *CurrencyService) History(request *HistoryRequest) (*HistoryResponse, error) { - rsp := &HistoryResponse{} - return rsp, t.client.Call("currency", "History", request, rsp) -} - -// Rates returns the currency rates for a given code e.g USD -func (t *CurrencyService) Rates(request *RatesRequest) (*RatesResponse, error) { - rsp := &RatesResponse{} - return rsp, t.client.Call("currency", "Rates", request, rsp) -} - -type Code struct { - // e.g United States Dollar - Currency string `json:"currency"` - // e.g USD - Name string `json:"name"` -} - -type CodesRequest struct { -} - -type CodesResponse struct { - Codes []Code `json:"codes"` -} - -type ConvertRequest struct { - // optional amount to convert e.g 10.0 - Amount float64 `json:"amount"` - // base code to convert from e.g USD - From string `json:"from"` - // target code to convert to e.g GBP - To string `json:"to"` -} - -type ConvertResponse struct { - // converted amount e.g 7.10 - Amount float64 `json:"amount"` - // the base code e.g USD - From string `json:"from"` - // conversion rate e.g 0.71 - Rate float64 `json:"rate"` - // the target code e.g GBP - To string `json:"to"` -} - -type HistoryRequest struct { - // currency code e.g USD - Code string `json:"code"` - // date formatted as YYYY-MM-DD - Date string `json:"date"` -} - -type HistoryResponse struct { - // The code of the request - Code string `json:"code"` - // The date requested - Date string `json:"date"` - // The rate for the day as code:rate - Rates map[string]float64 `json:"rates"` -} - -type RatesRequest struct { - // The currency code to get rates for e.g USD - Code string `json:"code"` -} - -type RatesResponse struct { - // The code requested e.g USD - Code string `json:"code"` - // The rates for the given code as key-value pairs code:rate - Rates map[string]float64 `json:"rates"` -} diff --git a/clients/go/db/db.go b/clients/go/db/db.go deleted file mode 100755 index ce008dd..0000000 --- a/clients/go/db/db.go +++ /dev/null @@ -1,173 +0,0 @@ -package db - -import ( - "github.com/micro/micro-go/client" -) - -func NewDbService(token string) *DbService { - return &DbService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type DbService struct { - client *client.Client -} - -// Count records in a table -func (t *DbService) Count(request *CountRequest) (*CountResponse, error) { - rsp := &CountResponse{} - return rsp, t.client.Call("db", "Count", request, rsp) -} - -// Create a record in the database. Optionally include an "id" field otherwise it's set automatically. -func (t *DbService) Create(request *CreateRequest) (*CreateResponse, error) { - rsp := &CreateResponse{} - return rsp, t.client.Call("db", "Create", request, rsp) -} - -// Delete a record in the database by id. -func (t *DbService) Delete(request *DeleteRequest) (*DeleteResponse, error) { - rsp := &DeleteResponse{} - return rsp, t.client.Call("db", "Delete", request, rsp) -} - -// Drop a table in the DB -func (t *DbService) DropTable(request *DropTableRequest) (*DropTableResponse, error) { - rsp := &DropTableResponse{} - return rsp, t.client.Call("db", "DropTable", request, rsp) -} - -// List tables in the DB -func (t *DbService) ListTables(request *ListTablesRequest) (*ListTablesResponse, error) { - rsp := &ListTablesResponse{} - return rsp, t.client.Call("db", "ListTables", request, rsp) -} - -// Read data from a table. Lookup can be by ID or via querying any field in the record. -func (t *DbService) Read(request *ReadRequest) (*ReadResponse, error) { - rsp := &ReadResponse{} - return rsp, t.client.Call("db", "Read", request, rsp) -} - -// Rename a table -func (t *DbService) RenameTable(request *RenameTableRequest) (*RenameTableResponse, error) { - rsp := &RenameTableResponse{} - return rsp, t.client.Call("db", "RenameTable", request, rsp) -} - -// Truncate the records in a table -func (t *DbService) Truncate(request *TruncateRequest) (*TruncateResponse, error) { - rsp := &TruncateResponse{} - return rsp, t.client.Call("db", "Truncate", request, rsp) -} - -// Update a record in the database. Include an "id" in the record to update. -func (t *DbService) Update(request *UpdateRequest) (*UpdateResponse, error) { - rsp := &UpdateResponse{} - return rsp, t.client.Call("db", "Update", request, rsp) -} - -type CountRequest struct { - // specify the table name - Table string `json:"table"` -} - -type CountResponse struct { - // the number of records in the table - Count int32 `json:"count"` -} - -type CreateRequest struct { - // JSON encoded record or records (can be array or object) - Record map[string]interface{} `json:"record"` - // Optional table name. Defaults to 'default' - Table string `json:"table"` -} - -type CreateResponse struct { - // The id of the record (either specified or automatically created) - Id string `json:"id"` -} - -type DeleteRequest struct { - // id of the record - Id string `json:"id"` - // Optional table name. Defaults to 'default' - Table string `json:"table"` -} - -type DeleteResponse struct { -} - -type DropTableRequest struct { - Table string `json:"table"` -} - -type DropTableResponse struct { -} - -type ListTablesRequest struct { -} - -type ListTablesResponse struct { - // list of tables - Tables []string `json:"tables"` -} - -type ReadRequest struct { - // Read by id. Equivalent to 'id == "your-id"' - Id string `json:"id"` - // Maximum number of records to return. Default limit is 25. - // Maximum limit is 1000. Anything higher will return an error. - Limit int32 `json:"limit"` - Offset int32 `json:"offset"` - // 'asc' (default), 'desc' - Order string `json:"order"` - // field name to order by - OrderBy string `json:"orderBy"` - // Examples: 'age >= 18', 'age >= 18 and verified == true' - // Comparison operators: '==', '!=', '<', '>', '<=', '>=' - // Logical operator: 'and' - // Dot access is supported, eg: 'user.age == 11' - // Accessing list elements is not supported yet. - Query string `json:"query"` - // Optional table name. Defaults to 'default' - Table string `json:"table"` -} - -type ReadResponse struct { - // JSON encoded records - Records []map[string]interface{} `json:"records"` -} - -type RenameTableRequest struct { - // current table name - From string `json:"from"` - // new table name - To string `json:"to"` -} - -type RenameTableResponse struct { -} - -type TruncateRequest struct { - Table string `json:"table"` -} - -type TruncateResponse struct { -} - -type UpdateRequest struct { - // The id of the record. If not specified it is inferred from the 'id' field of the record - Id string `json:"id"` - // record, JSON object - Record map[string]interface{} `json:"record"` - // Optional table name. Defaults to 'default' - Table string `json:"table"` -} - -type UpdateResponse struct { -} diff --git a/clients/go/email/email.go b/clients/go/email/email.go deleted file mode 100755 index fde0871..0000000 --- a/clients/go/email/email.go +++ /dev/null @@ -1,41 +0,0 @@ -package email - -import ( - "github.com/micro/micro-go/client" -) - -func NewEmailService(token string) *EmailService { - return &EmailService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type EmailService struct { - client *client.Client -} - -// Send an email by passing in from, to, subject, and a text or html body -func (t *EmailService) Send(request *SendRequest) (*SendResponse, error) { - rsp := &SendResponse{} - return rsp, t.client.Call("email", "Send", request, rsp) -} - -type SendRequest struct { - // the display name of the sender - From string `json:"from"` - // the html body - HtmlBody string `json:"htmlBody"` - // an optional reply to email address - ReplyTo string `json:"replyTo"` - // the email subject - Subject string `json:"subject"` - // the text body - TextBody string `json:"textBody"` - // the email address of the recipient - To string `json:"to"` -} - -type SendResponse struct { -} diff --git a/clients/go/emoji/emoji.go b/clients/go/emoji/emoji.go deleted file mode 100755 index b66a771..0000000 --- a/clients/go/emoji/emoji.go +++ /dev/null @@ -1,86 +0,0 @@ -package emoji - -import ( - "github.com/micro/micro-go/client" -) - -func NewEmojiService(token string) *EmojiService { - return &EmojiService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type EmojiService struct { - client *client.Client -} - -// Find an emoji by its alias e.g :beer: -func (t *EmojiService) Find(request *FindRequest) (*FindResponse, error) { - rsp := &FindResponse{} - return rsp, t.client.Call("emoji", "Find", request, rsp) -} - -// Get the flag for a country. Requires country code e.g GB for great britain -func (t *EmojiService) Flag(request *FlagRequest) (*FlagResponse, error) { - rsp := &FlagResponse{} - return rsp, t.client.Call("emoji", "Flag", request, rsp) -} - -// Print text and renders the emojis with aliases e.g -// let's grab a :beer: becomes let's grab a 🍺 -func (t *EmojiService) Print(request *PrintRequest) (*PrintResponse, error) { - rsp := &PrintResponse{} - return rsp, t.client.Call("emoji", "Print", request, rsp) -} - -// Send an emoji to anyone via SMS. Messages are sent in the form ' Sent from ' -func (t *EmojiService) Send(request *SendRequest) (*SendResponse, error) { - rsp := &SendResponse{} - return rsp, t.client.Call("emoji", "Send", request, rsp) -} - -type FindRequest struct { - // the alias code e.g :beer: - Alias string `json:"alias"` -} - -type FindResponse struct { - // the unicode emoji 🍺 - Emoji string `json:"emoji"` -} - -type FlagRequest struct { - // country code e.g GB - Code string `json:"code"` -} - -type FlagResponse struct { - // the emoji flag - Flag string `json:"flag"` -} - -type PrintRequest struct { - // text including any alias e.g let's grab a :beer: - Text string `json:"text"` -} - -type PrintResponse struct { - // text with rendered emojis - Text string `json:"text"` -} - -type SendRequest struct { - // the name of the sender from e.g Alice - From string `json:"from"` - // message to send including emoji aliases - Message string `json:"message"` - // phone number to send to (including international dialing code) - To string `json:"to"` -} - -type SendResponse struct { - // whether or not it succeeded - Success bool `json:"success"` -} diff --git a/clients/go/evchargers/evchargers.go b/clients/go/evchargers/evchargers.go deleted file mode 100755 index 1afd641..0000000 --- a/clients/go/evchargers/evchargers.go +++ /dev/null @@ -1,240 +0,0 @@ -package evchargers - -import ( - "github.com/micro/micro-go/client" -) - -func NewEvchargersService(token string) *EvchargersService { - return &EvchargersService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type EvchargersService struct { - client *client.Client -} - -// Retrieve reference data as used by this API and in conjunction with the Search endpoint -func (t *EvchargersService) ReferenceData(request *ReferenceDataRequest) (*ReferenceDataResponse, error) { - rsp := &ReferenceDataResponse{} - return rsp, t.client.Call("evchargers", "ReferenceData", request, rsp) -} - -// Search by giving a coordinate and a max distance, or bounding box and optional filters -func (t *EvchargersService) Search(request *SearchRequest) (*SearchResponse, error) { - rsp := &SearchResponse{} - return rsp, t.client.Call("evchargers", "Search", request, rsp) -} - -type Address struct { - // Any comments about how to access the charger - AccessComments string `json:"accessComments"` - AddressLine1 string `json:"addressLine1"` - AddressLine2 string `json:"addressLine2"` - Country *Country `json:"country"` - CountryId string `json:"countryId"` - LatLng string `json:"latLng"` - Location *Coordinates `json:"location"` - Postcode string `json:"postcode"` - StateOrProvince string `json:"stateOrProvince"` - Title string `json:"title"` - Town string `json:"town"` -} - -type BoundingBox struct { - BottomLeft *Coordinates `json:"bottomLeft"` - TopRight *Coordinates `json:"topRight"` -} - -type ChargerType struct { - Comments string `json:"comments"` - Id string `json:"id"` - // Is this 40KW+ - IsFastChargeCapable bool `json:"isFastChargeCapable"` - Title string `json:"title"` -} - -type CheckinStatusType struct { - Id string `json:"id"` - IsAutomated bool `json:"isAutomated"` - IsPositive bool `json:"isPositive"` - Title string `json:"title"` -} - -type Connection struct { - // The amps offered - Amps float64 `json:"amps"` - ConnectionType *ConnectionType `json:"connectionType"` - // The ID of the connection type - ConnectionTypeId string `json:"connectionTypeId"` - // The current - Current string `json:"current"` - Level *ChargerType `json:"level"` - // The level of charging power available - LevelId string `json:"levelId"` - // The power in KW - Power float64 `json:"power"` - Reference string `json:"reference"` - // The voltage offered - Voltage float64 `json:"voltage"` -} - -type ConnectionType struct { - FormalName string `json:"formalName"` - Id string `json:"id"` - IsDiscontinued bool `json:"isDiscontinued"` - IsObsolete bool `json:"isObsolete"` - Title string `json:"title"` -} - -type Coordinates struct { - Latitude float64 `json:"latitude"` - Longitude float64 `json:"longitude"` -} - -type Country struct { - ContinentCode string `json:"continentCode"` - Id string `json:"id"` - IsoCode string `json:"isoCode"` - Title string `json:"title"` -} - -type CurrentType struct { - Description string `json:"description"` - Id string `json:"id"` - Title string `json:"title"` -} - -type DataProvider struct { - Comments string `json:"comments"` - DataProviderStatusType *DataProviderStatusType `json:"dataProviderStatusType"` - Id string `json:"id"` - // How is this data licensed - License string `json:"license"` - Title string `json:"title"` - Website string `json:"website"` -} - -type DataProviderStatusType struct { - Id string `json:"id"` - IsProviderEnabled bool `json:"isProviderEnabled"` - Title string `json:"title"` -} - -type Operator struct { - Comments string `json:"comments"` - ContactEmail string `json:"contactEmail"` - FaultReportEmail string `json:"faultReportEmail"` - Id string `json:"id"` - // Is this operator a private individual vs a company - IsPrivateIndividual bool `json:"isPrivateIndividual"` - PhonePrimary string `json:"phonePrimary"` - PhoneSecondary string `json:"phoneSecondary"` - Title string `json:"title"` - Website string `json:"website"` -} - -type Poi struct { - // The address - Address *Address `json:"address"` - // The connections available at this charge point - Connections []Connection `json:"connections"` - // The cost of charging - Cost string `json:"cost"` - // The ID of the data provider - DataProviderId string `json:"dataProviderId"` - // The ID of the charger - Id string `json:"id"` - // The number of charging points - NumPoints int64 `json:"numPoints,string"` - // The operator - Operator *Operator `json:"operator"` - // The ID of the operator of the charger - OperatorId string `json:"operatorId"` - // The type of usage - UsageType *UsageType `json:"usageType"` - // The type of usage for this charger point (is it public, membership required, etc) - UsageTypeId string `json:"usageTypeId"` -} - -type ReferenceDataRequest struct { -} - -type ReferenceDataResponse struct { - // The types of charger - ChargerTypes *ChargerType `json:"chargerTypes"` - // The types of checkin status - CheckinStatusTypes *CheckinStatusType `json:"checkinStatusTypes"` - // The types of connection - ConnectionTypes *ConnectionType `json:"connectionTypes"` - // The countries - Countries []Country `json:"countries"` - // The types of current - CurrentTypes *CurrentType `json:"currentTypes"` - // The providers of the charger data - DataProviders *DataProvider `json:"dataProviders"` - // The companies operating the chargers - Operators []Operator `json:"operators"` - // The status of the charger - StatusTypes *StatusType `json:"statusTypes"` - // The status of a submission - SubmissionStatusTypes *SubmissionStatusType `json:"submissionStatusTypes"` - // The different types of usage - UsageTypes *UsageType `json:"usageTypes"` - // The types of user comment - UserCommentTypes *UserCommentType `json:"userCommentTypes"` -} - -type SearchRequest struct { - // Bounding box to search within (top left and bottom right coordinates) - Box *BoundingBox `json:"box"` - // IDs of the connection type - ConnectionTypes string `json:"connectionTypes"` - // Country ID - CountryId string `json:"countryId"` - // Search distance from point in metres, defaults to 5000m - Distance int64 `json:"distance,string"` - // Supported charging levels - Levels []string `json:"levels"` - // Coordinates from which to begin search - Location *Coordinates `json:"location"` - // Maximum number of results to return, defaults to 100 - MaxResults int64 `json:"maxResults,string"` - // Minimum power in KW. Note: data not available for many chargers - MinPower int64 `json:"minPower,string"` - // IDs of the the EV charger operator - Operators []string `json:"operators"` - // Usage of the charge point (is it public, membership required, etc) - UsageTypes string `json:"usageTypes"` -} - -type SearchResponse struct { - Pois []Poi `json:"pois"` -} - -type StatusType struct { - Id string `json:"id"` - IsOperational bool `json:"isOperational"` - Title string `json:"title"` -} - -type SubmissionStatusType struct { - Id string `json:"id"` - IsLive bool `json:"isLive"` - Title string `json:"title"` -} - -type UsageType struct { - Id string `json:"id"` - IsAccessKeyRequired bool `json:"isAccessKeyRequired"` - IsMembershipRequired bool `json:"isMembershipRequired"` - IsPayAtLocation bool `json:"isPayAtLocation"` - Title string `json:"title"` -} - -type UserCommentType struct { - Id string `json:"id"` - Title string `json:"title"` -} diff --git a/clients/go/event/event.go b/clients/go/event/event.go deleted file mode 100755 index bd0963a..0000000 --- a/clients/go/event/event.go +++ /dev/null @@ -1,88 +0,0 @@ -package event - -import ( - "github.com/micro/micro-go/client" -) - -func NewEventService(token string) *EventService { - return &EventService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type EventService struct { - client *client.Client -} - -// Consume events from a given topic. -func (t *EventService) Consume(request *ConsumeRequest) (*ConsumeResponse, error) { - rsp := &ConsumeResponse{} - return rsp, t.client.Call("event", "Consume", request, rsp) -} - -// Publish a event to the event stream. -func (t *EventService) Publish(request *PublishRequest) (*PublishResponse, error) { - rsp := &PublishResponse{} - return rsp, t.client.Call("event", "Publish", request, rsp) -} - -// Read stored events -func (t *EventService) Read(request *ReadRequest) (*ReadResponse, error) { - rsp := &ReadResponse{} - return rsp, t.client.Call("event", "Read", request, rsp) -} - -type ConsumeRequest struct { - // Optional group for the subscription - Group string `json:"group"` - // Optional offset to read from e.g "2006-01-02T15:04:05.999Z07:00" - Offset string `json:"offset"` - // The topic to subscribe to - Topic string `json:"topic"` -} - -type ConsumeResponse struct { - // Unique message id - Id string `json:"id"` - // The next json message on the topic - Message map[string]interface{} `json:"message"` - // Timestamp of publishing - Timestamp string `json:"timestamp"` - // The topic subscribed to - Topic string `json:"topic"` -} - -type Ev struct { - // event id - Id string `json:"id"` - // event message - Message map[string]interface{} `json:"message"` - // event timestamp - Timestamp string `json:"timestamp"` -} - -type PublishRequest struct { - // The json message to publish - Message map[string]interface{} `json:"message"` - // The topic to publish to - Topic string `json:"topic"` -} - -type PublishResponse struct { -} - -type ReadRequest struct { - // number of events to read; default 25 - Limit int32 `json:"limit"` - // offset for the events; default 0 - Offset int32 `json:"offset"` - // topic to read from - Topic string `json:"topic"` -} - -type ReadResponse struct { - // the events - Events []Ev `json:"events"` -} diff --git a/clients/go/file/file.go b/clients/go/file/file.go deleted file mode 100755 index 76ef4c7..0000000 --- a/clients/go/file/file.go +++ /dev/null @@ -1,107 +0,0 @@ -package file - -import ( - "github.com/micro/micro-go/client" -) - -func NewFileService(token string) *FileService { - return &FileService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type FileService struct { - client *client.Client -} - -// Delete a file by project name/path -func (t *FileService) Delete(request *DeleteRequest) (*DeleteResponse, error) { - rsp := &DeleteResponse{} - return rsp, t.client.Call("file", "Delete", request, rsp) -} - -// List files by their project and optionally a path. -func (t *FileService) List(request *ListRequest) (*ListResponse, error) { - rsp := &ListResponse{} - return rsp, t.client.Call("file", "List", request, rsp) -} - -// Read a file by path -func (t *FileService) Read(request *ReadRequest) (*ReadResponse, error) { - rsp := &ReadResponse{} - return rsp, t.client.Call("file", "Read", request, rsp) -} - -// Save a file -func (t *FileService) Save(request *SaveRequest) (*SaveResponse, error) { - rsp := &SaveResponse{} - return rsp, t.client.Call("file", "Save", request, rsp) -} - -type BatchSaveRequest struct { - Files []Record `json:"files"` -} - -type BatchSaveResponse struct { -} - -type DeleteRequest struct { - // Path to the file - Path string `json:"path"` - // The project name - Project string `json:"project"` -} - -type DeleteResponse struct { -} - -type ListRequest struct { - // Defaults to '/', ie. lists all files in a project. - // Supply path to a folder if you want to list - // files inside that folder - // eg. '/docs' - Path string `json:"path"` - // Project, required for listing. - Project string `json:"project"` -} - -type ListResponse struct { - Files []Record `json:"files"` -} - -type ReadRequest struct { - // Path to the file - Path string `json:"path"` - // Project name - Project string `json:"project"` -} - -type ReadResponse struct { - // Returns the file - File *Record `json:"file"` -} - -type Record struct { - // File contents - Content string `json:"content"` - // Time the file was created e.g 2021-05-20T13:37:21Z - Created string `json:"created"` - // Any other associated metadata as a map of key-value pairs - Metadata map[string]string `json:"metadata"` - // Path to file or folder eg. '/documents/text-files/file.txt'. - Path string `json:"path"` - // A custom project to group files - // eg. file-of-mywebsite.com - Project string `json:"project"` - // Time the file was updated e.g 2021-05-20T13:37:21Z - Updated string `json:"updated"` -} - -type SaveRequest struct { - File *Record `json:"file"` -} - -type SaveResponse struct { -} diff --git a/clients/go/forex/forex.go b/clients/go/forex/forex.go deleted file mode 100755 index beecb96..0000000 --- a/clients/go/forex/forex.go +++ /dev/null @@ -1,85 +0,0 @@ -package forex - -import ( - "github.com/micro/micro-go/client" -) - -func NewForexService(token string) *ForexService { - return &ForexService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type ForexService struct { - client *client.Client -} - -// Returns the data for the previous close -func (t *ForexService) History(request *HistoryRequest) (*HistoryResponse, error) { - rsp := &HistoryResponse{} - return rsp, t.client.Call("forex", "History", request, rsp) -} - -// Get the latest price for a given forex ticker -func (t *ForexService) Price(request *PriceRequest) (*PriceResponse, error) { - rsp := &PriceResponse{} - return rsp, t.client.Call("forex", "Price", request, rsp) -} - -// Get the latest quote for the forex -func (t *ForexService) Quote(request *QuoteRequest) (*QuoteResponse, error) { - rsp := &QuoteResponse{} - return rsp, t.client.Call("forex", "Quote", request, rsp) -} - -type HistoryRequest struct { - // the forex symbol e.g GBPUSD - Symbol string `json:"symbol"` -} - -type HistoryResponse struct { - // the close price - Close float64 `json:"close"` - // the date - Date string `json:"date"` - // the peak price - High float64 `json:"high"` - // the low price - Low float64 `json:"low"` - // the open price - Open float64 `json:"open"` - // the forex symbol - Symbol string `json:"symbol"` - // the volume - Volume float64 `json:"volume"` -} - -type PriceRequest struct { - // forex symbol e.g GBPUSD - Symbol string `json:"symbol"` -} - -type PriceResponse struct { - // the last price - Price float64 `json:"price"` - // the forex symbol e.g GBPUSD - Symbol string `json:"symbol"` -} - -type QuoteRequest struct { - // the forex symbol e.g GBPUSD - Symbol string `json:"symbol"` -} - -type QuoteResponse struct { - // the asking price - AskPrice float64 `json:"askPrice"` - // the bidding price - BidPrice float64 `json:"bidPrice"` - // the forex symbol - Symbol string `json:"symbol"` - // the UTC timestamp of the quote - Timestamp string `json:"timestamp"` -} diff --git a/clients/go/function/function.go b/clients/go/function/function.go deleted file mode 100755 index a3799b5..0000000 --- a/clients/go/function/function.go +++ /dev/null @@ -1,151 +0,0 @@ -package function - -import ( - "github.com/micro/micro-go/client" -) - -func NewFunctionService(token string) *FunctionService { - return &FunctionService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type FunctionService struct { - client *client.Client -} - -// Call a function by name -func (t *FunctionService) Call(request *CallRequest) (*CallResponse, error) { - rsp := &CallResponse{} - return rsp, t.client.Call("function", "Call", request, rsp) -} - -// Delete a function by name -func (t *FunctionService) Delete(request *DeleteRequest) (*DeleteResponse, error) { - rsp := &DeleteResponse{} - return rsp, t.client.Call("function", "Delete", request, rsp) -} - -// Deploy a group of functions -func (t *FunctionService) Deploy(request *DeployRequest) (*DeployResponse, error) { - rsp := &DeployResponse{} - return rsp, t.client.Call("function", "Deploy", request, rsp) -} - -// Get the info for a deployed function -func (t *FunctionService) Describe(request *DescribeRequest) (*DescribeResponse, error) { - rsp := &DescribeResponse{} - return rsp, t.client.Call("function", "Describe", request, rsp) -} - -// List all the deployed functions -func (t *FunctionService) List(request *ListRequest) (*ListResponse, error) { - rsp := &ListResponse{} - return rsp, t.client.Call("function", "List", request, rsp) -} - -type CallRequest struct { - // Name of the function - Name string `json:"name"` - // Request body that will be passed to the function - Request map[string]interface{} `json:"request"` -} - -type CallResponse struct { - // Response body that the function returned - Response map[string]interface{} `json:"response"` -} - -type DeleteRequest struct { - // The name of the function - Name string `json:"name"` - // Optional project name - Project string `json:"project"` -} - -type DeleteResponse struct { -} - -type DeployRequest struct { - // entry point, ie. handler name in the source code - // if not provided, defaults to the name parameter - Entrypoint string `json:"entrypoint"` - // environment variables to pass in at runtime - EnvVars map[string]string `json:"envVars"` - // function name - Name string `json:"name"` - // project is used for namespacing your functions - // optional. defaults to "default". - Project string `json:"project"` - // github url to repo - Repo string `json:"repo"` - // runtime/language of the function - // eg: php74, - // nodejs6, nodejs8, nodejs10, nodejs12, nodejs14, nodejs16 - // dotnet3 - // java11 - // ruby26, ruby27 - // go111, go113, go116 - // python37, python38, python39 - Runtime string `json:"runtime"` - // optional subfolder path - Subfolder string `json:"subfolder"` -} - -type DeployResponse struct { -} - -type DescribeRequest struct { - // The name of the function - Name string `json:"name"` - // Optional project name - Project string `json:"project"` -} - -type DescribeResponse struct { - // The function requested - Function *Func `json:"function"` - // The timeout for requests to the function - Timeout string `json:"timeout"` - // The time at which the function was updated - UpdatedAt string `json:"updatedAt"` -} - -type Func struct { - // name of handler in source code - Entrypoint string `json:"entrypoint"` - // function name - // limitation: must be unique across projects - Name string `json:"name"` - // project of function, optional - // defaults to literal "default" - // used to namespace functions - Project string `json:"project"` - // git repo address - Repo string `json:"repo"` - // runtime/language of the function - // eg: php74, - // nodejs6, nodejs8, nodejs10, nodejs12, nodejs14, nodejs16 - // dotnet3 - // java11 - // ruby26, ruby27 - // go111, go113, go116 - // python37, python38, python39 - Runtime string `json:"runtime"` - // eg. ACTIVE, DEPLOY_IN_PROGRESS, OFFLINE etc - Status string `json:"status"` - // subfolder path to entrypoint - Subfolder string `json:"subfolder"` -} - -type ListRequest struct { - // optional project name - Project string `json:"project"` -} - -type ListResponse struct { - // List of functions deployed - Functions []Func `json:"functions"` -} diff --git a/clients/go/geocoding/geocoding.go b/clients/go/geocoding/geocoding.go deleted file mode 100755 index 520dc8f..0000000 --- a/clients/go/geocoding/geocoding.go +++ /dev/null @@ -1,64 +0,0 @@ -package geocoding - -import ( - "github.com/micro/micro-go/client" -) - -func NewGeocodingService(token string) *GeocodingService { - return &GeocodingService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type GeocodingService struct { - client *client.Client -} - -// Lookup returns a geocoded address including normalized address and gps coordinates. All fields are optional, provide more to get more accurate results -func (t *GeocodingService) Lookup(request *LookupRequest) (*LookupResponse, error) { - rsp := &LookupResponse{} - return rsp, t.client.Call("geocoding", "Lookup", request, rsp) -} - -// Reverse lookup an address from gps coordinates -func (t *GeocodingService) Reverse(request *ReverseRequest) (*ReverseResponse, error) { - rsp := &ReverseResponse{} - return rsp, t.client.Call("geocoding", "Reverse", request, rsp) -} - -type Address struct { - City string `json:"city"` - Country string `json:"country"` - LineOne string `json:"lineOne"` - LineTwo string `json:"lineTwo"` - Postcode string `json:"postcode"` -} - -type Location struct { - Latitude float64 `json:"latitude"` - Longitude float64 `json:"longitude"` -} - -type LookupRequest struct { - Address string `json:"address"` - City string `json:"city"` - Country string `json:"country"` - Postcode string `json:"postcode"` -} - -type LookupResponse struct { - Address *Address `json:"address"` - Location *Location `json:"location"` -} - -type ReverseRequest struct { - Latitude float64 `json:"latitude"` - Longitude float64 `json:"longitude"` -} - -type ReverseResponse struct { - Address *Address `json:"address"` - Location *Location `json:"location"` -} diff --git a/clients/go/gifs/gifs.go b/clients/go/gifs/gifs.go deleted file mode 100755 index 674b4d5..0000000 --- a/clients/go/gifs/gifs.go +++ /dev/null @@ -1,135 +0,0 @@ -package gifs - -import ( - "github.com/micro/micro-go/client" -) - -func NewGifsService(token string) *GifsService { - return &GifsService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type GifsService struct { - client *client.Client -} - -// Search for a GIF -func (t *GifsService) Search(request *SearchRequest) (*SearchResponse, error) { - rsp := &SearchResponse{} - return rsp, t.client.Call("gifs", "Search", request, rsp) -} - -type Gif struct { - // URL used for embedding the GIF - EmbedUrl string `json:"embedUrl"` - // The ID of the GIF - Id string `json:"id"` - // The different formats available for this GIF - Images *ImageFormats `json:"images"` - // The content rating for the GIF - Rating string `json:"rating"` - // A short URL for this GIF - ShortUrl string `json:"shortUrl"` - // The slug used in the GIF's URL - Slug string `json:"slug"` - // The page on which this GIF was found - Source string `json:"source"` - // The title for this GIF - Title string `json:"title"` - // The URL for this GIF - Url string `json:"url"` -} - -type ImageFormat struct { - // height - Height int32 `json:"height"` - // size of the MP4 version - Mp4size int32 `json:"mp4size"` - // URL to an MP4 version of the gif - Mp4url string `json:"mp4url"` - // size in bytes - Size int32 `json:"size"` - // URL of the gif - Url string `json:"url"` - // size of the webp version - WebpSize int32 `json:"webpSize"` - // URL to a webp version of the gif - WebpUrl string `json:"webpUrl"` - // width - Width int32 `json:"width"` -} - -type ImageFormats struct { - // A downsized version of the GIF < 2MB - Downsized *ImageFormat `json:"downsized"` - // A downsized version of the GIF < 8MB - DownsizedLarge *ImageFormat `json:"downsizedLarge"` - // A downsized version of the GIF < 5MB - DownsizedMedium *ImageFormat `json:"downsizedMedium"` - // A downsized version of the GIF < 200kb - DownsizedSmall *ImageFormat `json:"downsizedSmall"` - // Static image of the downsized version of the GIF - DownsizedStill *ImageFormat `json:"downsizedStill"` - // Version of the GIF with fixed height of 200 pixels. Good for mobile use - FixedHeight *ImageFormat `json:"fixedHeight"` - // Version of the GIF with fixed height of 200 pixels and number of frames reduced to 6 - FixedHeightDownsampled *ImageFormat `json:"fixedHeightDownsampled"` - // Version of the GIF with fixed height of 100 pixels. Good for mobile keyboards - FixedHeightSmall *ImageFormat `json:"fixedHeightSmall"` - // Static image of the GIF with fixed height of 100 pixels - FixedHeightSmallStill *ImageFormat `json:"fixedHeightSmallStill"` - // Static image of the GIF with fixed height of 200 pixels - FixedHeightStill *ImageFormat `json:"fixedHeightStill"` - // Version of the GIF with fixed width of 200 pixels. Good for mobile use - FixedWidth *ImageFormat `json:"fixedWidth"` - // Version of the GIF with fixed width of 200 pixels and number of frames reduced to 6 - FixedWidthDownsampled *ImageFormat `json:"fixedWidthDownsampled"` - // Version of the GIF with fixed width of 100 pixels. Good for mobile keyboards - FixedWidthSmall *ImageFormat `json:"fixedWidthSmall"` - // Static image of the GIF with fixed width of 100 pixels - FixedWidthSmallStill *ImageFormat `json:"fixedWidthSmallStill"` - // Static image of the GIF with fixed width of 200 pixels - FixedWidthStill *ImageFormat `json:"fixedWidthStill"` - // 15 second version of the GIF looping - Looping *ImageFormat `json:"looping"` - // The original GIF. Good for desktop use - Original *ImageFormat `json:"original"` - // Static image of the original version of the GIF - OriginalStill *ImageFormat `json:"originalStill"` - // mp4 version of the GIF <50kb displaying first 1-2 secs - Preview *ImageFormat `json:"preview"` - // Version of the GIF <50kb displaying first 1-2 secs - PreviewGif *ImageFormat `json:"previewGif"` -} - -type Pagination struct { - // total number returned in this response - Count int32 `json:"count"` - // position in pagination - Offset int32 `json:"offset"` - // total number of results available - TotalCount int32 `json:"totalCount"` -} - -type SearchRequest struct { - // ISO 2 letter language code for regional content - Lang string `json:"lang"` - // Max number of gifs to return. Defaults to 25 - Limit int32 `json:"limit"` - // The start position of results (used with pagination) - Offset int32 `json:"offset"` - // The search term - Query string `json:"query"` - // Apply age related content filter. "g", "pg", "pg-13", or "r". Defaults to "g" - Rating string `json:"rating"` -} - -type SearchResponse struct { - // list of results - Data []Gif `json:"data"` - // information on pagination - Pagination *Pagination `json:"pagination"` -} diff --git a/clients/go/google/google.go b/clients/go/google/google.go deleted file mode 100755 index 87b68ba..0000000 --- a/clients/go/google/google.go +++ /dev/null @@ -1,48 +0,0 @@ -package google - -import ( - "github.com/micro/micro-go/client" -) - -func NewGoogleService(token string) *GoogleService { - return &GoogleService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type GoogleService struct { - client *client.Client -} - -// Search for videos on Google -func (t *GoogleService) Search(request *SearchRequest) (*SearchResponse, error) { - rsp := &SearchResponse{} - return rsp, t.client.Call("google", "Search", request, rsp) -} - -type SearchRequest struct { - // Query to search for - Query string `json:"query"` -} - -type SearchResponse struct { - // List of results for the query - Results []SearchResult `json:"results"` -} - -type SearchResult struct { - // abridged version of this search result’s URL, e.g. www.exampe.com - DisplayUrl string `json:"displayUrl"` - // id of the result - Id string `json:"id"` - // kind of result; "search" - Kind string `json:"kind"` - // the result snippet - Snippet string `json:"snippet"` - // title of the result - Title string `json:"title"` - // the full url for the result - Url string `json:"url"` -} diff --git a/clients/go/helloworld/helloworld.go b/clients/go/helloworld/helloworld.go deleted file mode 100755 index 7ef9dee..0000000 --- a/clients/go/helloworld/helloworld.go +++ /dev/null @@ -1,47 +0,0 @@ -package helloworld - -import ( - "github.com/micro/micro-go/client" -) - -func NewHelloworldService(token string) *HelloworldService { - return &HelloworldService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type HelloworldService struct { - client *client.Client -} - -// Call returns a personalised "Hello $name" response -func (t *HelloworldService) Call(request *CallRequest) (*CallResponse, error) { - rsp := &CallResponse{} - return rsp, t.client.Call("helloworld", "Call", request, rsp) -} - -// Stream returns a stream of "Hello $name" responses -func (t *HelloworldService) Stream(request *StreamRequest) (*StreamResponse, error) { - rsp := &StreamResponse{} - return rsp, t.client.Call("helloworld", "Stream", request, rsp) -} - -type CallRequest struct { - Name string `json:"name"` -} - -type CallResponse struct { - Message string `json:"message"` -} - -type StreamRequest struct { - // the number of messages to send back - Messages int64 `json:"messages,string"` - Name string `json:"name"` -} - -type StreamResponse struct { - Message string `json:"message"` -} diff --git a/clients/go/holidays/holidays.go b/clients/go/holidays/holidays.go deleted file mode 100755 index fb8695b..0000000 --- a/clients/go/holidays/holidays.go +++ /dev/null @@ -1,69 +0,0 @@ -package holidays - -import ( - "github.com/micro/micro-go/client" -) - -func NewHolidaysService(token string) *HolidaysService { - return &HolidaysService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type HolidaysService struct { - client *client.Client -} - -// Get the list of countries that are supported by this API -func (t *HolidaysService) Countries(request *CountriesRequest) (*CountriesResponse, error) { - rsp := &CountriesResponse{} - return rsp, t.client.Call("holidays", "Countries", request, rsp) -} - -// List the holiday dates for a given country and year -func (t *HolidaysService) List(request *ListRequest) (*ListResponse, error) { - rsp := &ListResponse{} - return rsp, t.client.Call("holidays", "List", request, rsp) -} - -type CountriesRequest struct { -} - -type CountriesResponse struct { - Countries []Country `json:"countries"` -} - -type Country struct { - // The 2 letter country code (as defined in ISO 3166-1 alpha-2) - Code string `json:"code"` - // The English name of the country - Name string `json:"name"` -} - -type Holiday struct { - // the country this holiday occurs in - CountryCode string `json:"countryCode"` - // date of the holiday in yyyy-mm-dd format - Date string `json:"date"` - // the local name of the holiday - LocalName string `json:"localName"` - // the name of the holiday in English - Name string `json:"name"` - // the regions within the country that observe this holiday (if not all of them) - Regions []string `json:"regions"` - // the type of holiday Public, Bank, School, Authorities, Optional, Observance - Types []string `json:"types"` -} - -type ListRequest struct { - // The 2 letter country code (as defined in ISO 3166-1 alpha-2) - CountryCode string `json:"countryCode"` - // The year to list holidays for - Year int64 `json:"year,string"` -} - -type ListResponse struct { - Holidays []Holiday `json:"holidays"` -} diff --git a/clients/go/id/id.go b/clients/go/id/id.go deleted file mode 100755 index 95b21d7..0000000 --- a/clients/go/id/id.go +++ /dev/null @@ -1,48 +0,0 @@ -package id - -import ( - "github.com/micro/micro-go/client" -) - -func NewIdService(token string) *IdService { - return &IdService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type IdService struct { - client *client.Client -} - -// Generate a unique ID. Defaults to uuid. -func (t *IdService) Generate(request *GenerateRequest) (*GenerateResponse, error) { - rsp := &GenerateResponse{} - return rsp, t.client.Call("id", "Generate", request, rsp) -} - -// List the types of IDs available. No query params needed. -func (t *IdService) Types(request *TypesRequest) (*TypesResponse, error) { - rsp := &TypesResponse{} - return rsp, t.client.Call("id", "Types", request, rsp) -} - -type GenerateRequest struct { - // type of id e.g uuid, shortid, snowflake (64 bit), bigflake (128 bit) - Type string `json:"type"` -} - -type GenerateResponse struct { - // the unique id generated - Id string `json:"id"` - // the type of id generated - Type string `json:"type"` -} - -type TypesRequest struct { -} - -type TypesResponse struct { - Types []string `json:"types"` -} diff --git a/clients/go/image/image.go b/clients/go/image/image.go deleted file mode 100755 index 6ca06ea..0000000 --- a/clients/go/image/image.go +++ /dev/null @@ -1,138 +0,0 @@ -package image - -import ( - "github.com/micro/micro-go/client" -) - -func NewImageService(token string) *ImageService { - return &ImageService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type ImageService struct { - client *client.Client -} - -// Convert an image from one format (jpeg, png etc.) to an other either on the fly (from base64 to base64), -// or by uploading the conversion result. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -func (t *ImageService) Convert(request *ConvertRequest) (*ConvertResponse, error) { - rsp := &ConvertResponse{} - return rsp, t.client.Call("image", "Convert", request, rsp) -} - -// Delete an image previously uploaded. -func (t *ImageService) Delete(request *DeleteRequest) (*DeleteResponse, error) { - rsp := &DeleteResponse{} - return rsp, t.client.Call("image", "Delete", request, rsp) -} - -// Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters. -// If one of width or height is 0, the image aspect ratio is preserved. -// Optional cropping. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -func (t *ImageService) Resize(request *ResizeRequest) (*ResizeResponse, error) { - rsp := &ResizeResponse{} - return rsp, t.client.Call("image", "Resize", request, rsp) -} - -// Upload an image by either sending a base64 encoded image to this endpoint or a URL. -// To resize an image before uploading, see the Resize endpoint. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -func (t *ImageService) Upload(request *UploadRequest) (*UploadResponse, error) { - rsp := &UploadResponse{} - return rsp, t.client.Call("image", "Upload", request, rsp) -} - -type ConvertRequest struct { - // base64 encoded image to resize, - Base64 string `json:"base64"` - // The image file to convert - File string `json:"file"` - // output name of the image including extension, ie. "cat.png" - Name string `json:"name"` - // make output a URL and not a base64 response - OutputUrl bool `json:"outputUrl"` - // url of the image to resize - Url string `json:"url"` -} - -type ConvertResponse struct { - Base64 string `json:"base64"` - Url string `json:"url"` -} - -type CropOptions struct { - // Crop anchor point: "top", "top left", "top right", - // "left", "center", "right" - // "bottom left", "bottom", "bottom right". - // Optional. Defaults to center. - Anchor string `json:"anchor"` - // height to crop to - Height int32 `json:"height"` - // width to crop to - Width int32 `json:"width"` -} - -type DeleteRequest struct { - // url of the image to delete e.g. https://cdn.m3ocontent.com/micro/images/micro/41e23b39-48dd-42b6-9738-79a313414bb8/cat.jpeg - Url string `json:"url"` -} - -type DeleteResponse struct { -} - -type Point struct { - X int32 `json:"x"` - Y int32 `json:"y"` -} - -type Rectangle struct { - Max *Point `json:"max"` - Min *Point `json:"min"` -} - -type ResizeRequest struct { - // base64 encoded image to resize, - Base64 string `json:"base64"` - // optional crop options - // if provided, after resize, the image - // will be cropped - CropOptions *CropOptions `json:"cropOptions"` - // The image file to resize - File string `json:"file"` - Height int64 `json:"height,string"` - // output name of the image including extension, ie. "cat.png" - Name string `json:"name"` - // make output a URL and not a base64 response - OutputUrl bool `json:"outputUrl"` - // url of the image to resize - Url string `json:"url"` - Width int64 `json:"width,string"` -} - -type ResizeResponse struct { - Base64 string `json:"base64"` - Url string `json:"url"` -} - -type UploadRequest struct { - // Base64 encoded image to upload, - Base64 string `json:"base64"` - // The image file to upload - File string `json:"file"` - // Output name of the image including extension, ie. "cat.png" - Name string `json:"name"` - // URL of the image to upload - Url string `json:"url"` -} - -type UploadResponse struct { - Url string `json:"url"` -} diff --git a/clients/go/ip/ip.go b/clients/go/ip/ip.go deleted file mode 100755 index fe0a9c4..0000000 --- a/clients/go/ip/ip.go +++ /dev/null @@ -1,47 +0,0 @@ -package ip - -import ( - "github.com/micro/micro-go/client" -) - -func NewIpService(token string) *IpService { - return &IpService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type IpService struct { - client *client.Client -} - -// Lookup the geolocation information for an IP address -func (t *IpService) Lookup(request *LookupRequest) (*LookupResponse, error) { - rsp := &LookupResponse{} - return rsp, t.client.Call("ip", "Lookup", request, rsp) -} - -type LookupRequest struct { - // IP to lookup - Ip string `json:"ip"` -} - -type LookupResponse struct { - // Autonomous system number - Asn int32 `json:"asn"` - // Name of the city - City string `json:"city"` - // Name of the continent - Continent string `json:"continent"` - // Name of the country - Country string `json:"country"` - // IP of the query - Ip string `json:"ip"` - // Latitude e.g 52.523219 - Latitude float64 `json:"latitude"` - // Longitude e.g 13.428555 - Longitude float64 `json:"longitude"` - // Timezone e.g Europe/Rome - Timezone string `json:"timezone"` -} diff --git a/clients/go/location/location.go b/clients/go/location/location.go deleted file mode 100755 index 504c25f..0000000 --- a/clients/go/location/location.go +++ /dev/null @@ -1,78 +0,0 @@ -package location - -import ( - "github.com/micro/micro-go/client" -) - -func NewLocationService(token string) *LocationService { - return &LocationService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type LocationService struct { - client *client.Client -} - -// Read an entity by its ID -func (t *LocationService) Read(request *ReadRequest) (*ReadResponse, error) { - rsp := &ReadResponse{} - return rsp, t.client.Call("location", "Read", request, rsp) -} - -// Save an entity's current position -func (t *LocationService) Save(request *SaveRequest) (*SaveResponse, error) { - rsp := &SaveResponse{} - return rsp, t.client.Call("location", "Save", request, rsp) -} - -// Search for entities in a given radius -func (t *LocationService) Search(request *SearchRequest) (*SearchResponse, error) { - rsp := &SearchResponse{} - return rsp, t.client.Call("location", "Search", request, rsp) -} - -type Entity struct { - Id string `json:"id"` - Location *Point `json:"location"` - Type string `json:"type"` -} - -type Point struct { - Latitude float64 `json:"latitude"` - Longitude float64 `json:"longitude"` - Timestamp int64 `json:"timestamp,string"` -} - -type ReadRequest struct { - // the entity id - Id string `json:"id"` -} - -type ReadResponse struct { - Entity *Entity `json:"entity"` -} - -type SaveRequest struct { - Entity *Entity `json:"entity"` -} - -type SaveResponse struct { -} - -type SearchRequest struct { - // Central position to search from - Center *Point `json:"center"` - // Maximum number of entities to return - NumEntities int64 `json:"numEntities,string"` - // radius in meters - Radius float64 `json:"radius"` - // type of entities to filter - Type string `json:"type"` -} - -type SearchResponse struct { - Entities []Entity `json:"entities"` -} diff --git a/clients/go/m3o.go b/clients/go/m3o.go deleted file mode 100755 index fb72cbb..0000000 --- a/clients/go/m3o.go +++ /dev/null @@ -1,151 +0,0 @@ -package services - -import ( - "github.com/micro/services/clients/go/address" - "github.com/micro/services/clients/go/answer" - "github.com/micro/services/clients/go/cache" - "github.com/micro/services/clients/go/crypto" - "github.com/micro/services/clients/go/currency" - "github.com/micro/services/clients/go/db" - "github.com/micro/services/clients/go/email" - "github.com/micro/services/clients/go/emoji" - "github.com/micro/services/clients/go/evchargers" - "github.com/micro/services/clients/go/event" - "github.com/micro/services/clients/go/file" - "github.com/micro/services/clients/go/forex" - "github.com/micro/services/clients/go/function" - "github.com/micro/services/clients/go/geocoding" - "github.com/micro/services/clients/go/gifs" - "github.com/micro/services/clients/go/google" - "github.com/micro/services/clients/go/helloworld" - "github.com/micro/services/clients/go/holidays" - "github.com/micro/services/clients/go/id" - "github.com/micro/services/clients/go/image" - "github.com/micro/services/clients/go/ip" - "github.com/micro/services/clients/go/location" - "github.com/micro/services/clients/go/mq" - "github.com/micro/services/clients/go/notes" - "github.com/micro/services/clients/go/otp" - "github.com/micro/services/clients/go/postcode" - "github.com/micro/services/clients/go/prayer" - "github.com/micro/services/clients/go/qr" - "github.com/micro/services/clients/go/quran" - "github.com/micro/services/clients/go/routing" - "github.com/micro/services/clients/go/rss" - "github.com/micro/services/clients/go/sentiment" - "github.com/micro/services/clients/go/sms" - "github.com/micro/services/clients/go/spam" - "github.com/micro/services/clients/go/stock" - "github.com/micro/services/clients/go/stream" - "github.com/micro/services/clients/go/sunnah" - "github.com/micro/services/clients/go/thumbnail" - "github.com/micro/services/clients/go/time" - "github.com/micro/services/clients/go/twitter" - "github.com/micro/services/clients/go/url" - "github.com/micro/services/clients/go/user" - "github.com/micro/services/clients/go/vehicle" - "github.com/micro/services/clients/go/weather" - "github.com/micro/services/clients/go/youtube" -) - -func NewClient(token string) *Client { - return &Client{ - token: token, - - AddressService: address.NewAddressService(token), - AnswerService: answer.NewAnswerService(token), - CacheService: cache.NewCacheService(token), - CryptoService: crypto.NewCryptoService(token), - CurrencyService: currency.NewCurrencyService(token), - DbService: db.NewDbService(token), - EmailService: email.NewEmailService(token), - EmojiService: emoji.NewEmojiService(token), - EvchargersService: evchargers.NewEvchargersService(token), - EventService: event.NewEventService(token), - FileService: file.NewFileService(token), - ForexService: forex.NewForexService(token), - FunctionService: function.NewFunctionService(token), - GeocodingService: geocoding.NewGeocodingService(token), - GifsService: gifs.NewGifsService(token), - GoogleService: google.NewGoogleService(token), - HelloworldService: helloworld.NewHelloworldService(token), - HolidaysService: holidays.NewHolidaysService(token), - IdService: id.NewIdService(token), - ImageService: image.NewImageService(token), - IpService: ip.NewIpService(token), - LocationService: location.NewLocationService(token), - MqService: mq.NewMqService(token), - NotesService: notes.NewNotesService(token), - OtpService: otp.NewOtpService(token), - PostcodeService: postcode.NewPostcodeService(token), - PrayerService: prayer.NewPrayerService(token), - QrService: qr.NewQrService(token), - QuranService: quran.NewQuranService(token), - RoutingService: routing.NewRoutingService(token), - RssService: rss.NewRssService(token), - SentimentService: sentiment.NewSentimentService(token), - SmsService: sms.NewSmsService(token), - SpamService: spam.NewSpamService(token), - StockService: stock.NewStockService(token), - StreamService: stream.NewStreamService(token), - SunnahService: sunnah.NewSunnahService(token), - ThumbnailService: thumbnail.NewThumbnailService(token), - TimeService: time.NewTimeService(token), - TwitterService: twitter.NewTwitterService(token), - UrlService: url.NewUrlService(token), - UserService: user.NewUserService(token), - VehicleService: vehicle.NewVehicleService(token), - WeatherService: weather.NewWeatherService(token), - YoutubeService: youtube.NewYoutubeService(token), - } -} - -type Client struct { - token string - - AddressService *address.AddressService - AnswerService *answer.AnswerService - CacheService *cache.CacheService - CryptoService *crypto.CryptoService - CurrencyService *currency.CurrencyService - DbService *db.DbService - EmailService *email.EmailService - EmojiService *emoji.EmojiService - EvchargersService *evchargers.EvchargersService - EventService *event.EventService - FileService *file.FileService - ForexService *forex.ForexService - FunctionService *function.FunctionService - GeocodingService *geocoding.GeocodingService - GifsService *gifs.GifsService - GoogleService *google.GoogleService - HelloworldService *helloworld.HelloworldService - HolidaysService *holidays.HolidaysService - IdService *id.IdService - ImageService *image.ImageService - IpService *ip.IpService - LocationService *location.LocationService - MqService *mq.MqService - NotesService *notes.NotesService - OtpService *otp.OtpService - PostcodeService *postcode.PostcodeService - PrayerService *prayer.PrayerService - QrService *qr.QrService - QuranService *quran.QuranService - RoutingService *routing.RoutingService - RssService *rss.RssService - SentimentService *sentiment.SentimentService - SmsService *sms.SmsService - SpamService *spam.SpamService - StockService *stock.StockService - StreamService *stream.StreamService - SunnahService *sunnah.SunnahService - ThumbnailService *thumbnail.ThumbnailService - TimeService *time.TimeService - TwitterService *twitter.TwitterService - UrlService *url.UrlService - UserService *user.UserService - VehicleService *vehicle.VehicleService - WeatherService *weather.WeatherService - YoutubeService *youtube.YoutubeService -} diff --git a/clients/go/mq/mq.go b/clients/go/mq/mq.go deleted file mode 100755 index 45b8191..0000000 --- a/clients/go/mq/mq.go +++ /dev/null @@ -1,51 +0,0 @@ -package mq - -import ( - "github.com/micro/micro-go/client" -) - -func NewMqService(token string) *MqService { - return &MqService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type MqService struct { - client *client.Client -} - -// Publish a message. Specify a topic to group messages for a specific topic. -func (t *MqService) Publish(request *PublishRequest) (*PublishResponse, error) { - rsp := &PublishResponse{} - return rsp, t.client.Call("mq", "Publish", request, rsp) -} - -// Subscribe to messages for a given topic. -func (t *MqService) Subscribe(request *SubscribeRequest) (*SubscribeResponse, error) { - rsp := &SubscribeResponse{} - return rsp, t.client.Call("mq", "Subscribe", request, rsp) -} - -type PublishRequest struct { - // The json message to publish - Message map[string]interface{} `json:"message"` - // The topic to publish to - Topic string `json:"topic"` -} - -type PublishResponse struct { -} - -type SubscribeRequest struct { - // The topic to subscribe to - Topic string `json:"topic"` -} - -type SubscribeResponse struct { - // The next json message on the topic - Message map[string]interface{} `json:"message"` - // The topic subscribed to - Topic string `json:"topic"` -} diff --git a/clients/go/notes/notes.go b/clients/go/notes/notes.go deleted file mode 100755 index e118fb1..0000000 --- a/clients/go/notes/notes.go +++ /dev/null @@ -1,125 +0,0 @@ -package notes - -import ( - "github.com/micro/micro-go/client" -) - -func NewNotesService(token string) *NotesService { - return &NotesService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type NotesService struct { - client *client.Client -} - -// Create a new note -func (t *NotesService) Create(request *CreateRequest) (*CreateResponse, error) { - rsp := &CreateResponse{} - return rsp, t.client.Call("notes", "Create", request, rsp) -} - -// Delete a note -func (t *NotesService) Delete(request *DeleteRequest) (*DeleteResponse, error) { - rsp := &DeleteResponse{} - return rsp, t.client.Call("notes", "Delete", request, rsp) -} - -// Subscribe to notes events -func (t *NotesService) Events(request *EventsRequest) (*EventsResponse, error) { - rsp := &EventsResponse{} - return rsp, t.client.Call("notes", "Events", request, rsp) -} - -// List all the notes -func (t *NotesService) List(request *ListRequest) (*ListResponse, error) { - rsp := &ListResponse{} - return rsp, t.client.Call("notes", "List", request, rsp) -} - -// Read a note -func (t *NotesService) Read(request *ReadRequest) (*ReadResponse, error) { - rsp := &ReadResponse{} - return rsp, t.client.Call("notes", "Read", request, rsp) -} - -// Update a note -func (t *NotesService) Update(request *UpdateRequest) (*UpdateResponse, error) { - rsp := &UpdateResponse{} - return rsp, t.client.Call("notes", "Update", request, rsp) -} - -type CreateRequest struct { - // note text - Text string `json:"text"` - // note title - Title string `json:"title"` -} - -type CreateResponse struct { - // The created note - Note *Note `json:"note"` -} - -type DeleteRequest struct { - // specify the id of the note - Id string `json:"id"` -} - -type DeleteResponse struct { - Note *Note `json:"note"` -} - -type EventsRequest struct { - // optionally specify a note id - Id string `json:"id"` -} - -type EventsResponse struct { - // the event which occured; create, delete, update - Event string `json:"event"` - // the note which the operation occured on - Note *Note `json:"note"` -} - -type ListRequest struct { -} - -type ListResponse struct { - // the list of notes - Notes []Note `json:"notes"` -} - -type Note struct { - // time at which the note was created - Created string `json:"created"` - // unique id for the note, generated if not specified - Id string `json:"id"` - // text within the note - Text string `json:"text"` - // title of the note - Title string `json:"title"` - // time at which the note was updated - Updated string `json:"updated"` -} - -type ReadRequest struct { - // the note id - Id string `json:"id"` -} - -type ReadResponse struct { - // The note - Note *Note `json:"note"` -} - -type UpdateRequest struct { - Note *Note `json:"note"` -} - -type UpdateResponse struct { - Note *Note `json:"note"` -} diff --git a/clients/go/otp/otp.go b/clients/go/otp/otp.go deleted file mode 100755 index 0bb8b62..0000000 --- a/clients/go/otp/otp.go +++ /dev/null @@ -1,55 +0,0 @@ -package otp - -import ( - "github.com/micro/micro-go/client" -) - -func NewOtpService(token string) *OtpService { - return &OtpService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type OtpService struct { - client *client.Client -} - -// Generate an OTP (one time pass) code -func (t *OtpService) Generate(request *GenerateRequest) (*GenerateResponse, error) { - rsp := &GenerateResponse{} - return rsp, t.client.Call("otp", "Generate", request, rsp) -} - -// Validate the OTP code -func (t *OtpService) Validate(request *ValidateRequest) (*ValidateResponse, error) { - rsp := &ValidateResponse{} - return rsp, t.client.Call("otp", "Validate", request, rsp) -} - -type GenerateRequest struct { - // expiration in seconds (default: 60) - Expiry int64 `json:"expiry,string"` - // unique id, email or user to generate an OTP for - Id string `json:"id"` - // number of characters (default: 6) - Size int64 `json:"size,string"` -} - -type GenerateResponse struct { - // one time pass code - Code string `json:"code"` -} - -type ValidateRequest struct { - // one time pass code to validate - Code string `json:"code"` - // unique id, email or user for which the code was generated - Id string `json:"id"` -} - -type ValidateResponse struct { - // returns true if the code is valid for the ID - Success bool `json:"success"` -} diff --git a/clients/go/postcode/postcode.go b/clients/go/postcode/postcode.go deleted file mode 100755 index 31260de..0000000 --- a/clients/go/postcode/postcode.go +++ /dev/null @@ -1,87 +0,0 @@ -package postcode - -import ( - "github.com/micro/micro-go/client" -) - -func NewPostcodeService(token string) *PostcodeService { - return &PostcodeService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type PostcodeService struct { - client *client.Client -} - -// Lookup a postcode to retrieve the related region, county, etc -func (t *PostcodeService) Lookup(request *LookupRequest) (*LookupResponse, error) { - rsp := &LookupResponse{} - return rsp, t.client.Call("postcode", "Lookup", request, rsp) -} - -// Return a random postcode and its related info -func (t *PostcodeService) Random(request *RandomRequest) (*RandomResponse, error) { - rsp := &RandomResponse{} - return rsp, t.client.Call("postcode", "Random", request, rsp) -} - -// Validate a postcode. -func (t *PostcodeService) Validate(request *ValidateRequest) (*ValidateResponse, error) { - rsp := &ValidateResponse{} - return rsp, t.client.Call("postcode", "Validate", request, rsp) -} - -type LookupRequest struct { - // UK postcode e.g SW1A 2AA - Postcode string `json:"postcode"` -} - -type LookupResponse struct { - // country e.g United Kingdom - Country string `json:"country"` - // e.g Westminster - District string `json:"district"` - // e.g 51.50354 - Latitude float64 `json:"latitude"` - // e.g -0.127695 - Longitude float64 `json:"longitude"` - // UK postcode e.g SW1A 2AA - Postcode string `json:"postcode"` - // related region e.g London - Region string `json:"region"` - // e.g St James's - Ward string `json:"ward"` -} - -type RandomRequest struct { -} - -type RandomResponse struct { - // country e.g United Kingdom - Country string `json:"country"` - // e.g Westminster - District string `json:"district"` - // e.g 51.50354 - Latitude float64 `json:"latitude"` - // e.g -0.127695 - Longitude float64 `json:"longitude"` - // UK postcode e.g SW1A 2AA - Postcode string `json:"postcode"` - // related region e.g London - Region string `json:"region"` - // e.g St James's - Ward string `json:"ward"` -} - -type ValidateRequest struct { - // UK postcode e.g SW1A 2AA - Postcode string `json:"postcode"` -} - -type ValidateResponse struct { - // Is the postcode valid (true) or not (false) - Valid bool `json:"valid"` -} diff --git a/clients/go/prayer/prayer.go b/clients/go/prayer/prayer.go deleted file mode 100755 index 1c21c89..0000000 --- a/clients/go/prayer/prayer.go +++ /dev/null @@ -1,69 +0,0 @@ -package prayer - -import ( - "github.com/micro/micro-go/client" -) - -func NewPrayerService(token string) *PrayerService { - return &PrayerService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type PrayerService struct { - client *client.Client -} - -// Get the prayer (salah) times for a location on a given date -func (t *PrayerService) Times(request *TimesRequest) (*TimesResponse, error) { - rsp := &TimesResponse{} - return rsp, t.client.Call("prayer", "Times", request, rsp) -} - -type PrayerTime struct { - // asr time - Asr string `json:"asr"` - // date for prayer times in YYYY-MM-DD format - Date string `json:"date"` - // fajr time - Fajr string `json:"fajr"` - // isha time - Isha string `json:"isha"` - // maghrib time - Maghrib string `json:"maghrib"` - // time of sunrise - Sunrise string `json:"sunrise"` - // zuhr time - Zuhr string `json:"zuhr"` -} - -type TimesRequest struct { - // optional date in YYYY-MM-DD format, otherwise uses today - Date string `json:"date"` - // number of days to request times for - Days int32 `json:"days"` - // optional latitude used in place of location - Latitude float64 `json:"latitude"` - // location to retrieve prayer times for. - // this can be a specific address, city, etc - Location string `json:"location"` - // optional longitude used in place of location - Longitude float64 `json:"longitude"` -} - -type TimesResponse struct { - // date of request - Date string `json:"date"` - // number of days - Days int32 `json:"days"` - // latitude of location - Latitude float64 `json:"latitude"` - // location for the request - Location string `json:"location"` - // longitude of location - Longitude float64 `json:"longitude"` - // prayer times for the given location - Times []PrayerTime `json:"times"` -} diff --git a/clients/go/qr/qr.go b/clients/go/qr/qr.go deleted file mode 100755 index 544b07e..0000000 --- a/clients/go/qr/qr.go +++ /dev/null @@ -1,35 +0,0 @@ -package qr - -import ( - "github.com/micro/micro-go/client" -) - -func NewQrService(token string) *QrService { - return &QrService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type QrService struct { - client *client.Client -} - -// Generate a QR code with a specific text and size -func (t *QrService) Generate(request *GenerateRequest) (*GenerateResponse, error) { - rsp := &GenerateResponse{} - return rsp, t.client.Call("qr", "Generate", request, rsp) -} - -type GenerateRequest struct { - // the size (height and width) in pixels of the generated QR code. Defaults to 256 - Size int64 `json:"size,string"` - // the text to encode as a QR code (URL, phone number, email, etc) - Text string `json:"text"` -} - -type GenerateResponse struct { - // link to the QR code image in PNG format - Qr string `json:"qr"` -} diff --git a/clients/go/quran/quran.go b/clients/go/quran/quran.go deleted file mode 100755 index 3395598..0000000 --- a/clients/go/quran/quran.go +++ /dev/null @@ -1,218 +0,0 @@ -package quran - -import ( - "github.com/micro/micro-go/client" -) - -func NewQuranService(token string) *QuranService { - return &QuranService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type QuranService struct { - client *client.Client -} - -// List the Chapters (surahs) of the Quran -func (t *QuranService) Chapters(request *ChaptersRequest) (*ChaptersResponse, error) { - rsp := &ChaptersResponse{} - return rsp, t.client.Call("quran", "Chapters", request, rsp) -} - -// Search the Quran for any form of query or questions -func (t *QuranService) Search(request *SearchRequest) (*SearchResponse, error) { - rsp := &SearchResponse{} - return rsp, t.client.Call("quran", "Search", request, rsp) -} - -// Get a summary for a given chapter (surah) -func (t *QuranService) Summary(request *SummaryRequest) (*SummaryResponse, error) { - rsp := &SummaryResponse{} - return rsp, t.client.Call("quran", "Summary", request, rsp) -} - -// Lookup the verses (ayahs) for a chapter including -// translation, interpretation and breakdown by individual -// words. -func (t *QuranService) Verses(request *VersesRequest) (*VersesResponse, error) { - rsp := &VersesResponse{} - return rsp, t.client.Call("quran", "Verses", request, rsp) -} - -type Chapter struct { - // The arabic name of the chapter - ArabicName string `json:"arabicName"` - // The complex name of the chapter - ComplexName string `json:"complexName"` - // The id of the chapter as a number e.g 1 - Id int32 `json:"id"` - // The simple name of the chapter - Name string `json:"name"` - // The pages from and to e.g 1, 1 - Pages []int32 `json:"pages"` - // Should the chapter start with bismillah - PrefixBismillah bool `json:"prefixBismillah"` - // The order in which it was revealed - RevelationOrder int32 `json:"revelationOrder"` - // The place of revelation - RevelationPlace string `json:"revelationPlace"` - // The translated name - TranslatedName string `json:"translatedName"` - // The number of verses in the chapter - Verses int32 `json:"verses"` -} - -type ChaptersRequest struct { - // Specify the language e.g en - Language string `json:"language"` -} - -type ChaptersResponse struct { - Chapters []Chapter `json:"chapters"` -} - -type Interpretation struct { - // The unique id of the interpretation - Id int32 `json:"id"` - // The source of the interpretation - Source string `json:"source"` - // The translated text - Text string `json:"text"` -} - -type Result struct { - // The associated arabic text - Text string `json:"text"` - // The related translations to the text - Translations []Translation `json:"translations"` - // The unique verse id across the Quran - VerseId int32 `json:"verseId"` - // The verse key e.g 1:1 - VerseKey string `json:"verseKey"` -} - -type SearchRequest struct { - // The language for translation - Language string `json:"language"` - // The number of results to return - Limit int32 `json:"limit"` - // The pagination number - Page int32 `json:"page"` - // The query to ask - Query string `json:"query"` -} - -type SearchResponse struct { - // The current page - Page int32 `json:"page"` - // The question asked - Query string `json:"query"` - // The results for the query - Results []Result `json:"results"` - // The total pages - TotalPages int32 `json:"totalPages"` - // The total results returned - TotalResults int32 `json:"totalResults"` -} - -type SummaryRequest struct { - // The chapter id e.g 1 - Chapter int32 `json:"chapter"` - // Specify the language e.g en - Language string `json:"language"` -} - -type SummaryResponse struct { - // The chapter id - Chapter int32 `json:"chapter"` - // The source of the summary - Source string `json:"source"` - // The short summary for the chapter - Summary string `json:"summary"` - // The full description for the chapter - Text string `json:"text"` -} - -type Translation struct { - // The unique id of the translation - Id int32 `json:"id"` - // The source of the translation - Source string `json:"source"` - // The translated text - Text string `json:"text"` -} - -type Verse struct { - // The unique id of the verse in the whole book - Id int32 `json:"id"` - // The interpretations of the verse - Interpretations []Interpretation `json:"interpretations"` - // The key of this verse (chapter:verse) e.g 1:1 - Key string `json:"key"` - // The verse number in this chapter - Number int32 `json:"number"` - // The page of the Quran this verse is on - Page int32 `json:"page"` - // The arabic text for this verse - Text string `json:"text"` - // The basic translation of the verse - TranslatedText string `json:"translatedText"` - // The alternative translations for the verse - Translations []Translation `json:"translations"` - // The phonetic transliteration from arabic - Transliteration string `json:"transliteration"` - // The individual words within the verse (Ayah) - Words []Word `json:"words"` -} - -type VersesRequest struct { - // The chapter id to retrieve - Chapter int32 `json:"chapter"` - // Return the interpretation (tafsir) - Interpret bool `json:"interpret"` - // The language of translation - Language string `json:"language"` - // The verses per page - Limit int32 `json:"limit"` - // The page number to request - Page int32 `json:"page"` - // Return alternate translations - Translate bool `json:"translate"` - // Return the individual words with the verses - Words bool `json:"words"` -} - -type VersesResponse struct { - // The chapter requested - Chapter int32 `json:"chapter"` - // The page requested - Page int32 `json:"page"` - // The total pages - TotalPages int32 `json:"totalPages"` - // The verses on the page - Verses []Verse `json:"verses"` -} - -type Word struct { - // The character type e.g word, end - CharType string `json:"charType"` - // The QCF v2 font code - Code string `json:"code"` - // The id of the word within the verse - Id int32 `json:"id"` - // The line number - Line int32 `json:"line"` - // The page number - Page int32 `json:"page"` - // The position of the word - Position int32 `json:"position"` - // The arabic text for this word - Text string `json:"text"` - // The translated text - Translation string `json:"translation"` - // The transliteration text - Transliteration string `json:"transliteration"` -} diff --git a/clients/go/routing/routing.go b/clients/go/routing/routing.go deleted file mode 100755 index a70ad21..0000000 --- a/clients/go/routing/routing.go +++ /dev/null @@ -1,129 +0,0 @@ -package routing - -import ( - "github.com/micro/micro-go/client" -) - -func NewRoutingService(token string) *RoutingService { - return &RoutingService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type RoutingService struct { - client *client.Client -} - -// Turn by turn directions from a start point to an end point including maneuvers and bearings -func (t *RoutingService) Directions(request *DirectionsRequest) (*DirectionsResponse, error) { - rsp := &DirectionsResponse{} - return rsp, t.client.Call("routing", "Directions", request, rsp) -} - -// Get the eta for a route from origin to destination. The eta is an estimated time based on car routes -func (t *RoutingService) Eta(request *EtaRequest) (*EtaResponse, error) { - rsp := &EtaResponse{} - return rsp, t.client.Call("routing", "Eta", request, rsp) -} - -// Retrieve a route as a simple list of gps points along with total distance and estimated duration -func (t *RoutingService) Route(request *RouteRequest) (*RouteResponse, error) { - rsp := &RouteResponse{} - return rsp, t.client.Call("routing", "Route", request, rsp) -} - -type Direction struct { - // distance to travel in meters - Distance float64 `json:"distance"` - // duration to travel in seconds - Duration float64 `json:"duration"` - // human readable instruction - Instruction string `json:"instruction"` - // intersections on route - Intersections []Intersection `json:"intersections"` - // maneuver to take - Maneuver *Maneuver `json:"maneuver"` - // street name or location - Name string `json:"name"` - // alternative reference - Reference string `json:"reference"` -} - -type DirectionsRequest struct { - // The destination of the journey - Destination *Point `json:"destination"` - // The staring point for the journey - Origin *Point `json:"origin"` -} - -type DirectionsResponse struct { - // Turn by turn directions - Directions []Direction `json:"directions"` - // Estimated distance of the route in meters - Distance float64 `json:"distance"` - // Estimated duration of the route in seconds - Duration float64 `json:"duration"` - // The waypoints on the route - Waypoints []Waypoint `json:"waypoints"` -} - -type EtaRequest struct { - // The end point for the eta calculation - Destination *Point `json:"destination"` - // The starting point for the eta calculation - Origin *Point `json:"origin"` - // speed in kilometers - Speed float64 `json:"speed"` - // type of transport. Only "car" is supported currently. - Type string `json:"type"` -} - -type EtaResponse struct { - // eta in seconds - Duration float64 `json:"duration"` -} - -type Intersection struct { - Bearings []float64 `json:"bearings"` - Location *Point `json:"location"` -} - -type Maneuver struct { - Action string `json:"action"` - BearingAfter float64 `json:"bearingAfter"` - BearingBefore float64 `json:"bearingBefore"` - Direction string `json:"direction"` - Location *Point `json:"location"` -} - -type Point struct { - // Lat e.g 52.523219 - Latitude float64 `json:"latitude"` - // Long e.g 13.428555 - Longitude float64 `json:"longitude"` -} - -type RouteRequest struct { - // Point of destination for the trip - Destination *Point `json:"destination"` - // Point of origin for the trip - Origin *Point `json:"origin"` -} - -type RouteResponse struct { - // estimated distance in meters - Distance float64 `json:"distance"` - // estimated duration in seconds - Duration float64 `json:"duration"` - // waypoints on the route - Waypoints []Waypoint `json:"waypoints"` -} - -type Waypoint struct { - // gps point coordinates - Location *Point `json:"location"` - // street name or related reference - Name string `json:"name"` -} diff --git a/clients/go/rss/rss.go b/clients/go/rss/rss.go deleted file mode 100755 index ed37cc4..0000000 --- a/clients/go/rss/rss.go +++ /dev/null @@ -1,114 +0,0 @@ -package rss - -import ( - "github.com/micro/micro-go/client" -) - -func NewRssService(token string) *RssService { - return &RssService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type RssService struct { - client *client.Client -} - -// Add a new RSS feed with a name, url, and category -func (t *RssService) Add(request *AddRequest) (*AddResponse, error) { - rsp := &AddResponse{} - return rsp, t.client.Call("rss", "Add", request, rsp) -} - -// Get an RSS feed by name. If no name is given, all feeds are returned. Default limit is 25 entries. -func (t *RssService) Feed(request *FeedRequest) (*FeedResponse, error) { - rsp := &FeedResponse{} - return rsp, t.client.Call("rss", "Feed", request, rsp) -} - -// List the saved RSS fields -func (t *RssService) List(request *ListRequest) (*ListResponse, error) { - rsp := &ListResponse{} - return rsp, t.client.Call("rss", "List", request, rsp) -} - -// Remove an RSS feed by name -func (t *RssService) Remove(request *RemoveRequest) (*RemoveResponse, error) { - rsp := &RemoveResponse{} - return rsp, t.client.Call("rss", "Remove", request, rsp) -} - -type AddRequest struct { - // category to add e.g news - Category string `json:"category"` - // rss feed name - // eg. a16z - Name string `json:"name"` - // rss feed url - // eg. http://a16z.com/feed/ - Url string `json:"url"` -} - -type AddResponse struct { -} - -type Entry struct { - // article content - Content string `json:"content"` - // data of the entry - Date string `json:"date"` - // the rss feed where it came from - Feed string `json:"feed"` - // unique id of the entry - Id string `json:"id"` - // rss feed url of the entry - Link string `json:"link"` - // article summary - Summary string `json:"summary"` - // title of the entry - Title string `json:"title"` -} - -type Feed struct { - // category of the feed e.g news - Category string `json:"category"` - // unique id - Id string `json:"id"` - // rss feed name - // eg. a16z - Name string `json:"name"` - // rss feed url - // eg. http://a16z.com/feed/ - Url string `json:"url"` -} - -type FeedRequest struct { - // limit entries returned - Limit int64 `json:"limit,string"` - // rss feed name - Name string `json:"name"` - // offset entries - Offset int64 `json:"offset,string"` -} - -type FeedResponse struct { - Entries []Entry `json:"entries"` -} - -type ListRequest struct { -} - -type ListResponse struct { - Feeds []Feed `json:"feeds"` -} - -type RemoveRequest struct { - // rss feed name - // eg. a16z - Name string `json:"name"` -} - -type RemoveResponse struct { -} diff --git a/clients/go/sentiment/sentiment.go b/clients/go/sentiment/sentiment.go deleted file mode 100755 index 21c04e3..0000000 --- a/clients/go/sentiment/sentiment.go +++ /dev/null @@ -1,35 +0,0 @@ -package sentiment - -import ( - "github.com/micro/micro-go/client" -) - -func NewSentimentService(token string) *SentimentService { - return &SentimentService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type SentimentService struct { - client *client.Client -} - -// Analyze and score a piece of text -func (t *SentimentService) Analyze(request *AnalyzeRequest) (*AnalyzeResponse, error) { - rsp := &AnalyzeResponse{} - return rsp, t.client.Call("sentiment", "Analyze", request, rsp) -} - -type AnalyzeRequest struct { - // The language. Defaults to english. - Lang string `json:"lang"` - // The text to analyze - Text string `json:"text"` -} - -type AnalyzeResponse struct { - // The score of the text {positive is 1, negative is 0} - Score float64 `json:"score"` -} diff --git a/clients/go/sms/sms.go b/clients/go/sms/sms.go deleted file mode 100755 index 1d975d2..0000000 --- a/clients/go/sms/sms.go +++ /dev/null @@ -1,39 +0,0 @@ -package sms - -import ( - "github.com/micro/micro-go/client" -) - -func NewSmsService(token string) *SmsService { - return &SmsService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type SmsService struct { - client *client.Client -} - -// Send an SMS. -func (t *SmsService) Send(request *SendRequest) (*SendResponse, error) { - rsp := &SendResponse{} - return rsp, t.client.Call("sms", "Send", request, rsp) -} - -type SendRequest struct { - // who is the message from? The message will be suffixed with "Sent from " - From string `json:"from"` - // the main body of the message to send - Message string `json:"message"` - // the destination phone number including the international dialling code (e.g. +44) - To string `json:"to"` -} - -type SendResponse struct { - // any additional info - Info string `json:"info"` - // will return "ok" if successful - Status string `json:"status"` -} diff --git a/clients/go/spam/spam.go b/clients/go/spam/spam.go deleted file mode 100755 index 99b6e22..0000000 --- a/clients/go/spam/spam.go +++ /dev/null @@ -1,47 +0,0 @@ -package spam - -import ( - "github.com/micro/micro-go/client" -) - -func NewSpamService(token string) *SpamService { - return &SpamService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type SpamService struct { - client *client.Client -} - -// Check whether an email is likely to be spam based on its attributes -func (t *SpamService) Classify(request *ClassifyRequest) (*ClassifyResponse, error) { - rsp := &ClassifyResponse{} - return rsp, t.client.Call("spam", "Classify", request, rsp) -} - -type ClassifyRequest struct { - // The raw body of the email including headers etc per RFC 822. Alternatively, use the other parameters to correctly format the message - EmailBody string `json:"emailBody"` - // The email address it has been sent from - From string `json:"from"` - // the HTML version of the email body - HtmlBody string `json:"htmlBody"` - // The subject of the email - Subject string `json:"subject"` - // the plain text version of the email body - TextBody string `json:"textBody"` - // The email address it is being sent to - To string `json:"to"` -} - -type ClassifyResponse struct { - // The rules that have contributed to this score - Details []string `json:"details"` - // Is it spam? Returns true if its score is > 5 - IsSpam bool `json:"isSpam"` - // The score evaluated for this email. A higher number means it is more likely to be spam - Score float64 `json:"score"` -} diff --git a/clients/go/stock/stock.go b/clients/go/stock/stock.go deleted file mode 100755 index 5d8f0bd..0000000 --- a/clients/go/stock/stock.go +++ /dev/null @@ -1,132 +0,0 @@ -package stock - -import ( - "github.com/micro/micro-go/client" -) - -func NewStockService(token string) *StockService { - return &StockService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type StockService struct { - client *client.Client -} - -// Get the historic open-close for a given day -func (t *StockService) History(request *HistoryRequest) (*HistoryResponse, error) { - rsp := &HistoryResponse{} - return rsp, t.client.Call("stock", "History", request, rsp) -} - -// Get the historic order book and each trade by timestamp -func (t *StockService) OrderBook(request *OrderBookRequest) (*OrderBookResponse, error) { - rsp := &OrderBookResponse{} - return rsp, t.client.Call("stock", "OrderBook", request, rsp) -} - -// Get the last price for a given stock ticker -func (t *StockService) Price(request *PriceRequest) (*PriceResponse, error) { - rsp := &PriceResponse{} - return rsp, t.client.Call("stock", "Price", request, rsp) -} - -// Get the last quote for the stock -func (t *StockService) Quote(request *QuoteRequest) (*QuoteResponse, error) { - rsp := &QuoteResponse{} - return rsp, t.client.Call("stock", "Quote", request, rsp) -} - -type HistoryRequest struct { - // date to retrieve as YYYY-MM-DD - Date string `json:"date"` - // the stock symbol e.g AAPL - Stock string `json:"stock"` -} - -type HistoryResponse struct { - // the close price - Close float64 `json:"close"` - // the date - Date string `json:"date"` - // the peak price - High float64 `json:"high"` - // the low price - Low float64 `json:"low"` - // the open price - Open float64 `json:"open"` - // the stock symbol - Symbol string `json:"symbol"` - // the volume - Volume int32 `json:"volume"` -} - -type Order struct { - // the asking price - AskPrice float64 `json:"askPrice"` - // the ask size - AskSize int32 `json:"askSize"` - // the bidding price - BidPrice float64 `json:"bidPrice"` - // the bid size - BidSize int32 `json:"bidSize"` - // the UTC timestamp of the quote - Timestamp string `json:"timestamp"` -} - -type OrderBookRequest struct { - // the date in format YYYY-MM-dd - Date string `json:"date"` - // optional RFC3339Nano end time e.g 2006-01-02T15:04:05.999999999Z07:00 - End string `json:"end"` - // limit number of prices - Limit int32 `json:"limit"` - // optional RFC3339Nano start time e.g 2006-01-02T15:04:05.999999999Z07:00 - Start string `json:"start"` - // stock to retrieve e.g AAPL - Stock string `json:"stock"` -} - -type OrderBookResponse struct { - // date of the request - Date string `json:"date"` - // list of orders - Orders []Order `json:"orders"` - // the stock symbol - Symbol string `json:"symbol"` -} - -type PriceRequest struct { - // stock symbol e.g AAPL - Symbol string `json:"symbol"` -} - -type PriceResponse struct { - // the last price - Price float64 `json:"price"` - // the stock symbol e.g AAPL - Symbol string `json:"symbol"` -} - -type QuoteRequest struct { - // the stock symbol e.g AAPL - Symbol string `json:"symbol"` -} - -type QuoteResponse struct { - // the asking price - AskPrice float64 `json:"askPrice"` - // the ask size - AskSize int32 `json:"askSize"` - // the bidding price - BidPrice float64 `json:"bidPrice"` - // the bid size - BidSize int32 `json:"bidSize"` - // the stock symbol - Symbol string `json:"symbol"` - // the UTC timestamp of the quote - Timestamp string `json:"timestamp"` -} diff --git a/clients/go/stream/stream.go b/clients/go/stream/stream.go deleted file mode 100755 index 540a8b1..0000000 --- a/clients/go/stream/stream.go +++ /dev/null @@ -1,105 +0,0 @@ -package stream - -import ( - "github.com/micro/micro-go/client" -) - -func NewStreamService(token string) *StreamService { - return &StreamService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type StreamService struct { - client *client.Client -} - -// Create a channel with a given name and description. Channels are created automatically but -// this allows you to specify a description that's persisted for the lifetime of the channel. -func (t *StreamService) CreateChannel(request *CreateChannelRequest) (*CreateChannelResponse, error) { - rsp := &CreateChannelResponse{} - return rsp, t.client.Call("stream", "CreateChannel", request, rsp) -} - -// List all the active channels -func (t *StreamService) ListChannels(request *ListChannelsRequest) (*ListChannelsResponse, error) { - rsp := &ListChannelsResponse{} - return rsp, t.client.Call("stream", "ListChannels", request, rsp) -} - -// List messages for a given channel -func (t *StreamService) ListMessages(request *ListMessagesRequest) (*ListMessagesResponse, error) { - rsp := &ListMessagesResponse{} - return rsp, t.client.Call("stream", "ListMessages", request, rsp) -} - -// Send a message to the stream. -func (t *StreamService) SendMessage(request *SendMessageRequest) (*SendMessageResponse, error) { - rsp := &SendMessageResponse{} - return rsp, t.client.Call("stream", "SendMessage", request, rsp) -} - -type Channel struct { - // description for the channel - Description string `json:"description"` - // last activity time - LastActive string `json:"lastActive"` - // name of the channel - Name string `json:"name"` -} - -type CreateChannelRequest struct { - // description for the channel - Description string `json:"description"` - // name of the channel - Name string `json:"name"` -} - -type CreateChannelResponse struct { -} - -type ListChannelsRequest struct { -} - -type ListChannelsResponse struct { - Channels []Channel `json:"channels"` -} - -type ListMessagesRequest struct { - // The channel to subscribe to - Channel string `json:"channel"` - // number of message to return - Limit int32 `json:"limit"` -} - -type ListMessagesResponse struct { - // The channel subscribed to - Channel string `json:"channel"` - // Messages are chronological order - Messages []Message `json:"messages"` -} - -type Message struct { - // the channel name - Channel string `json:"channel"` - // id of the message - Id string `json:"id"` - // the associated metadata - Metadata map[string]string `json:"metadata"` - // text of the message - Text string `json:"text"` - // time of message creation - Timestamp string `json:"timestamp"` -} - -type SendMessageRequest struct { - // The channel to send to - Channel string `json:"channel"` - // The message text to send - Text string `json:"text"` -} - -type SendMessageResponse struct { -} diff --git a/clients/go/sunnah/sunnah.go b/clients/go/sunnah/sunnah.go deleted file mode 100755 index 4e7ee37..0000000 --- a/clients/go/sunnah/sunnah.go +++ /dev/null @@ -1,183 +0,0 @@ -package sunnah - -import ( - "github.com/micro/micro-go/client" -) - -func NewSunnahService(token string) *SunnahService { - return &SunnahService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type SunnahService struct { - client *client.Client -} - -// Get a list of books from within a collection. A book can contain many chapters -// each with its own hadiths. -func (t *SunnahService) Books(request *BooksRequest) (*BooksResponse, error) { - rsp := &BooksResponse{} - return rsp, t.client.Call("sunnah", "Books", request, rsp) -} - -// Get all the chapters of a given book within a collection. -func (t *SunnahService) Chapters(request *ChaptersRequest) (*ChaptersResponse, error) { - rsp := &ChaptersResponse{} - return rsp, t.client.Call("sunnah", "Chapters", request, rsp) -} - -// Get a list of available collections. A collection is -// a compilation of hadiths collected and written by an author. -func (t *SunnahService) Collections(request *CollectionsRequest) (*CollectionsResponse, error) { - rsp := &CollectionsResponse{} - return rsp, t.client.Call("sunnah", "Collections", request, rsp) -} - -// Hadiths returns a list of hadiths and their corresponding text for a -// given book within a collection. -func (t *SunnahService) Hadiths(request *HadithsRequest) (*HadithsResponse, error) { - rsp := &HadithsResponse{} - return rsp, t.client.Call("sunnah", "Hadiths", request, rsp) -} - -type Book struct { - // arabic name of the book - ArabicName string `json:"arabicName"` - // number of hadiths in the book - Hadiths int32 `json:"hadiths"` - // number of the book e.g 1 - Id int32 `json:"id"` - // name of the book - Name string `json:"name"` -} - -type BooksRequest struct { - // Name of the collection - Collection string `json:"collection"` - // Limit the number of books returned - Limit int32 `json:"limit"` - // The page in the pagination - Page int32 `json:"page"` -} - -type BooksResponse struct { - // A list of books - Books []Book `json:"books"` - // Name of the collection - Collection string `json:"collection"` - // The limit specified - Limit int32 `json:"limit"` - // The page requested - Page int32 `json:"page"` - // The total overall books - Total int32 `json:"total"` -} - -type Chapter struct { - // arabic title - ArabicTitle string `json:"arabicTitle"` - // the book number - Book int32 `json:"book"` - // the chapter id e.g 1 - Id int32 `json:"id"` - // the chapter key e.g 1.00 - Key string `json:"key"` - // title of the chapter - Title string `json:"title"` -} - -type ChaptersRequest struct { - // number of the book - Book int32 `json:"book"` - // name of the collection - Collection string `json:"collection"` - // Limit the number of chapters returned - Limit int32 `json:"limit"` - // The page in the pagination - Page int32 `json:"page"` -} - -type ChaptersResponse struct { - // number of the book - Book int32 `json:"book"` - // The chapters of the book - Chapters []Chapter `json:"chapters"` - // name of the collection - Collection string `json:"collection"` - // Limit the number of chapters returned - Limit int32 `json:"limit"` - // The page in the pagination - Page int32 `json:"page"` - // Total chapters in the book - Total int32 `json:"total"` -} - -type Collection struct { - // Arabic title if available - ArabicTitle string `json:"arabicTitle"` - // Total hadiths in the collection - Hadiths int32 `json:"hadiths"` - // Name of the collection e.g bukhari - Name string `json:"name"` - // An introduction explaining the collection - Summary string `json:"summary"` - // Title of the collection e.g Sahih al-Bukhari - Title string `json:"title"` -} - -type CollectionsRequest struct { - // Number of collections to limit to - Limit int32 `json:"limit"` - // The page in the pagination - Page int32 `json:"page"` -} - -type CollectionsResponse struct { - Collections []Collection `json:"collections"` -} - -type Hadith struct { - // the arabic chapter title - ArabicChapterTitle string `json:"arabicChapterTitle"` - // the arabic text - ArabicText string `json:"arabicText"` - // the chapter id - Chapter int32 `json:"chapter"` - // the chapter key - ChapterKey string `json:"chapterKey"` - // the chapter title - ChapterTitle string `json:"chapterTitle"` - // hadith id - Id int32 `json:"id"` - // hadith text - Text string `json:"text"` -} - -type HadithsRequest struct { - // number of the book - Book int32 `json:"book"` - // name of the collection - Collection string `json:"collection"` - // Limit the number of hadiths - Limit int32 `json:"limit"` - // The page in the pagination - Page int32 `json:"page"` -} - -type HadithsResponse struct { - // number of the book - Book int32 `json:"book"` - // name of the collection - Collection string `json:"collection"` - // The hadiths of the book - Hadiths []Hadith `json:"hadiths"` - // Limit the number of hadiths returned - Limit int32 `json:"limit"` - // The page in the pagination - Page int32 `json:"page"` - // Total hadiths in the book - Total int32 `json:"total"` -} diff --git a/clients/go/thumbnail/thumbnail.go b/clients/go/thumbnail/thumbnail.go deleted file mode 100755 index cb01ea1..0000000 --- a/clients/go/thumbnail/thumbnail.go +++ /dev/null @@ -1,35 +0,0 @@ -package thumbnail - -import ( - "github.com/micro/micro-go/client" -) - -func NewThumbnailService(token string) *ThumbnailService { - return &ThumbnailService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type ThumbnailService struct { - client *client.Client -} - -// Create a thumbnail screenshot by passing in a url, height and width -func (t *ThumbnailService) Screenshot(request *ScreenshotRequest) (*ScreenshotResponse, error) { - rsp := &ScreenshotResponse{} - return rsp, t.client.Call("thumbnail", "Screenshot", request, rsp) -} - -type ScreenshotRequest struct { - // height of the browser window, optional - Height int32 `json:"height"` - Url string `json:"url"` - // width of the browser window. optional - Width int32 `json:"width"` -} - -type ScreenshotResponse struct { - ImageUrl string `json:"imageUrl"` -} diff --git a/clients/go/time/time.go b/clients/go/time/time.go deleted file mode 100755 index 14ad734..0000000 --- a/clients/go/time/time.go +++ /dev/null @@ -1,73 +0,0 @@ -package time - -import ( - "github.com/micro/micro-go/client" -) - -func NewTimeService(token string) *TimeService { - return &TimeService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type TimeService struct { - client *client.Client -} - -// Get the current time -func (t *TimeService) Now(request *NowRequest) (*NowResponse, error) { - rsp := &NowResponse{} - return rsp, t.client.Call("time", "Now", request, rsp) -} - -// Get the timezone info for a specific location -func (t *TimeService) Zone(request *ZoneRequest) (*ZoneResponse, error) { - rsp := &ZoneResponse{} - return rsp, t.client.Call("time", "Zone", request, rsp) -} - -type NowRequest struct { - // optional location, otherwise returns UTC - Location string `json:"location"` -} - -type NowResponse struct { - // the current time as HH:MM:SS - Localtime string `json:"localtime"` - // the location as Europe/London - Location string `json:"location"` - // timestamp as 2006-01-02T15:04:05.999999999Z07:00 - Timestamp string `json:"timestamp"` - // the timezone as BST - Timezone string `json:"timezone"` - // the unix timestamp - Unix int64 `json:"unix,string"` -} - -type ZoneRequest struct { - // location to lookup e.g postcode, city, ip address - Location string `json:"location"` -} - -type ZoneResponse struct { - // the abbreviated code e.g BST - Abbreviation string `json:"abbreviation"` - // country of the timezone - Country string `json:"country"` - // is daylight savings - Dst bool `json:"dst"` - // e.g 51.42 - Latitude float64 `json:"latitude"` - // the local time - Localtime string `json:"localtime"` - // location requested - Location string `json:"location"` - // e.g -0.37 - Longitude float64 `json:"longitude"` - // region of timezone - Region string `json:"region"` - // the timezone e.g Europe/London - Timezone string `json:"timezone"` -} diff --git a/clients/go/twitter/twitter.go b/clients/go/twitter/twitter.go deleted file mode 100755 index 41866d1..0000000 --- a/clients/go/twitter/twitter.go +++ /dev/null @@ -1,132 +0,0 @@ -package twitter - -import ( - "github.com/micro/micro-go/client" -) - -func NewTwitterService(token string) *TwitterService { - return &TwitterService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type TwitterService struct { - client *client.Client -} - -// Search for tweets with a simple query -func (t *TwitterService) Search(request *SearchRequest) (*SearchResponse, error) { - rsp := &SearchResponse{} - return rsp, t.client.Call("twitter", "Search", request, rsp) -} - -// Get the timeline for a given user -func (t *TwitterService) Timeline(request *TimelineRequest) (*TimelineResponse, error) { - rsp := &TimelineResponse{} - return rsp, t.client.Call("twitter", "Timeline", request, rsp) -} - -// Get the current global trending topics -func (t *TwitterService) Trends(request *TrendsRequest) (*TrendsResponse, error) { - rsp := &TrendsResponse{} - return rsp, t.client.Call("twitter", "Trends", request, rsp) -} - -// Get a user's twitter profile -func (t *TwitterService) User(request *UserRequest) (*UserResponse, error) { - rsp := &UserResponse{} - return rsp, t.client.Call("twitter", "User", request, rsp) -} - -type Profile struct { - // the account creation date - CreatedAt string `json:"createdAt"` - // the user description - Description string `json:"description"` - // the follower count - Followers int64 `json:"followers,string"` - // the user id - Id int64 `json:"id,string"` - // The user's profile picture - ImageUrl string `json:"imageUrl"` - // the user's location - Location string `json:"location"` - // display name of the user - Name string `json:"name"` - // if the account is private - Private bool `json:"private"` - // the username - Username string `json:"username"` - // if the account is verified - Verified bool `json:"verified"` -} - -type SearchRequest struct { - // number of tweets to return. default: 20 - Limit int32 `json:"limit"` - // the query to search for - Query string `json:"query"` -} - -type SearchResponse struct { - // the related tweets for the search - Tweets []Tweet `json:"tweets"` -} - -type TimelineRequest struct { - // number of tweets to return. default: 20 - Limit int32 `json:"limit"` - // the username to request the timeline for - Username string `json:"username"` -} - -type TimelineResponse struct { - // The recent tweets for the user - Tweets []Tweet `json:"tweets"` -} - -type Trend struct { - // name of the trend - Name string `json:"name"` - // the volume of tweets in last 24 hours - TweetVolume int64 `json:"tweetVolume,string"` - // the twitter url - Url string `json:"url"` -} - -type TrendsRequest struct { -} - -type TrendsResponse struct { - // a list of trending topics - Trends []Trend `json:"trends"` -} - -type Tweet struct { - // time of tweet - CreatedAt string `json:"createdAt"` - // number of times favourited - FavouritedCount int64 `json:"favouritedCount,string"` - // id of the tweet - Id int64 `json:"id,string"` - // number of times retweeted - RetweetedCount int64 `json:"retweetedCount,string"` - // text of the tweet - Text string `json:"text"` - // username of the person who tweeted - Username string `json:"username"` -} - -type UserRequest struct { - // the username to lookup - Username string `json:"username"` -} - -type UserResponse struct { - // The requested user profile - Profile *Profile `json:"profile"` - // the current user status - Status *Tweet `json:"status"` -} diff --git a/clients/go/url/url.go b/clients/go/url/url.go deleted file mode 100755 index eb07827..0000000 --- a/clients/go/url/url.go +++ /dev/null @@ -1,73 +0,0 @@ -package url - -import ( - "github.com/micro/micro-go/client" -) - -func NewUrlService(token string) *UrlService { - return &UrlService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type UrlService struct { - client *client.Client -} - -// List information on all the shortened URLs that you have created -func (t *UrlService) List(request *ListRequest) (*ListResponse, error) { - rsp := &ListResponse{} - return rsp, t.client.Call("url", "List", request, rsp) -} - -// Proxy returns the destination URL of a short URL. -func (t *UrlService) Proxy(request *ProxyRequest) (*ProxyResponse, error) { - rsp := &ProxyResponse{} - return rsp, t.client.Call("url", "Proxy", request, rsp) -} - -// Shortens a destination URL and returns a full short URL. -func (t *UrlService) Shorten(request *ShortenRequest) (*ShortenResponse, error) { - rsp := &ShortenResponse{} - return rsp, t.client.Call("url", "Shorten", request, rsp) -} - -type ListRequest struct { - // filter by short URL, optional - ShortUrl string `json:"shortUrl"` -} - -type ListResponse struct { - UrlPairs *URLPair `json:"urlPairs"` -} - -type ProxyRequest struct { - // short url ID, without the domain, eg. if your short URL is - // `m3o.one/u/someshorturlid` then pass in `someshorturlid` - ShortUrl string `json:"shortUrl"` -} - -type ProxyResponse struct { - DestinationUrl string `json:"destinationUrl"` -} - -type ShortenRequest struct { - DestinationUrl string `json:"destinationUrl"` -} - -type ShortenResponse struct { - ShortUrl string `json:"shortUrl"` -} - -type URLPair struct { - Created int64 `json:"created,string"` - DestinationUrl string `json:"destinationUrl"` - // HitCount keeps track many times the short URL has been resolved. - // Hitcount only gets saved to disk (database) after every 10th hit, so - // its not intended to be 100% accurate, more like an almost correct estimate. - HitCount int64 `json:"hitCount,string"` - Owner string `json:"owner"` - ShortUrl string `json:"shortUrl"` -} diff --git a/clients/go/user/user.go b/clients/go/user/user.go deleted file mode 100755 index 70e2444..0000000 --- a/clients/go/user/user.go +++ /dev/null @@ -1,281 +0,0 @@ -package user - -import ( - "github.com/micro/micro-go/client" -) - -func NewUserService(token string) *UserService { - return &UserService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type UserService struct { - client *client.Client -} - -// Create a new user account. The email address and username for the account must be unique. -func (t *UserService) Create(request *CreateRequest) (*CreateResponse, error) { - rsp := &CreateResponse{} - return rsp, t.client.Call("user", "Create", request, rsp) -} - -// Delete an account by id -func (t *UserService) Delete(request *DeleteRequest) (*DeleteResponse, error) { - rsp := &DeleteResponse{} - return rsp, t.client.Call("user", "Delete", request, rsp) -} - -// Login using username or email. The response will return a new session for successful login, -// 401 in the case of login failure and 500 for any other error -func (t *UserService) Login(request *LoginRequest) (*LoginResponse, error) { - rsp := &LoginResponse{} - return rsp, t.client.Call("user", "Login", request, rsp) -} - -// Logout a user account -func (t *UserService) Logout(request *LogoutRequest) (*LogoutResponse, error) { - rsp := &LogoutResponse{} - return rsp, t.client.Call("user", "Logout", request, rsp) -} - -// Read an account by id, username or email. Only one need to be specified. -func (t *UserService) Read(request *ReadRequest) (*ReadResponse, error) { - rsp := &ReadResponse{} - return rsp, t.client.Call("user", "Read", request, rsp) -} - -// Read a session by the session id. In the event it has expired or is not found and error is returned. -func (t *UserService) ReadSession(request *ReadSessionRequest) (*ReadSessionResponse, error) { - rsp := &ReadSessionResponse{} - return rsp, t.client.Call("user", "ReadSession", request, rsp) -} - -// Reset password with the code sent by the "SendPasswordResetEmail" endoint. -func (t *UserService) ResetPassword(request *ResetPasswordRequest) (*ResetPasswordResponse, error) { - rsp := &ResetPasswordResponse{} - return rsp, t.client.Call("user", "ResetPassword", request, rsp) -} - -// Send an email with a verification code to reset password. -// Call "ResetPassword" endpoint once user provides the code. -func (t *UserService) SendPasswordResetEmail(request *SendPasswordResetEmailRequest) (*SendPasswordResetEmailResponse, error) { - rsp := &SendPasswordResetEmailResponse{} - return rsp, t.client.Call("user", "SendPasswordResetEmail", request, rsp) -} - -// Send a verification email -// to the user being signed up. Email from will be from 'noreply@email.m3ocontent.com', -// but you can provide the title and contents. -// The verification link will be injected in to the email as a template variable, $micro_verification_link. -// Example: 'Hi there, welcome onboard! Use the link below to verify your email: $micro_verification_link' -// The variable will be replaced with an actual url that will look similar to this: -// 'https://user.m3o.com/user/verify?token=a-verification-token&redirectUrl=your-redir-url' -func (t *UserService) SendVerificationEmail(request *SendVerificationEmailRequest) (*SendVerificationEmailResponse, error) { - rsp := &SendVerificationEmailResponse{} - return rsp, t.client.Call("user", "SendVerificationEmail", request, rsp) -} - -// Update the account password -func (t *UserService) UpdatePassword(request *UpdatePasswordRequest) (*UpdatePasswordResponse, error) { - rsp := &UpdatePasswordResponse{} - return rsp, t.client.Call("user", "UpdatePassword", request, rsp) -} - -// Update the account username or email -func (t *UserService) Update(request *UpdateRequest) (*UpdateResponse, error) { - rsp := &UpdateResponse{} - return rsp, t.client.Call("user", "Update", request, rsp) -} - -// Verify the email address of an account from a token sent in an email to the user. -func (t *UserService) VerifyEmail(request *VerifyEmailRequest) (*VerifyEmailResponse, error) { - rsp := &VerifyEmailResponse{} - return rsp, t.client.Call("user", "VerifyEmail", request, rsp) -} - -type Account struct { - // unix timestamp - Created int64 `json:"created,string"` - // an email address - Email string `json:"email"` - // unique account id - Id string `json:"id"` - // Store any custom data you want about your users in this fields. - Profile map[string]string `json:"profile"` - // unix timestamp - Updated int64 `json:"updated,string"` - // alphanumeric username - Username string `json:"username"` - // date of verification - VerificationDate int64 `json:"verificationDate,string"` - // if the account is verified - Verified bool `json:"verified"` -} - -type CreateRequest struct { - // the email address - Email string `json:"email"` - // optional account id - Id string `json:"id"` - // the user password - Password string `json:"password"` - // optional user profile as map - Profile map[string]string `json:"profile"` - // the username - Username string `json:"username"` -} - -type CreateResponse struct { - Account *Account `json:"account"` -} - -type DeleteRequest struct { - // the account id - Id string `json:"id"` -} - -type DeleteResponse struct { -} - -type LoginRequest struct { - // The email address of the user - Email string `json:"email"` - // The password of the user - Password string `json:"password"` - // The username of the user - Username string `json:"username"` -} - -type LoginResponse struct { - // The session of the logged in user - Session *Session `json:"session"` -} - -type LogoutRequest struct { - // the session id for the user to logout - SessionId string `json:"sessionId"` -} - -type LogoutResponse struct { -} - -type ReadRequest struct { - // the account email - Email string `json:"email"` - // the account id - Id string `json:"id"` - // the account username - Username string `json:"username"` -} - -type ReadResponse struct { - Account *Account `json:"account"` -} - -type ReadSessionRequest struct { - // The unique session id - SessionId string `json:"sessionId"` -} - -type ReadSessionResponse struct { - // the session for the user - Session *Session `json:"session"` -} - -type ResetPasswordRequest struct { - // The code from the verification email - Code string `json:"code"` - // confirm new password - ConfirmPassword string `json:"confirmPassword"` - // the email to reset the password for - Email string `json:"email"` - // the new password - NewPassword string `json:"newPassword"` -} - -type ResetPasswordResponse struct { -} - -type SendPasswordResetEmailRequest struct { - // email address to send reset for - Email string `json:"email"` - // Display name of the sender for the email. Note: the email address will still be 'noreply@email.m3ocontent.com' - FromName string `json:"fromName"` - // subject of the email - Subject string `json:"subject"` - // Text content of the email. Don't forget to include the string '$code' which will be replaced by the real verification link - // HTML emails are not available currently. - TextContent string `json:"textContent"` -} - -type SendPasswordResetEmailResponse struct { -} - -type SendVerificationEmailRequest struct { - // email address to send the verification code - Email string `json:"email"` - FailureRedirectUrl string `json:"failureRedirectUrl"` - // Display name of the sender for the email. Note: the email address will still be 'noreply@email.m3ocontent.com' - FromName string `json:"fromName"` - RedirectUrl string `json:"redirectUrl"` - // subject of the email - Subject string `json:"subject"` - // Text content of the email. Don't forget to include the string '$micro_verification_link' which will be replaced by the real verification link - // HTML emails are not available currently. - TextContent string `json:"textContent"` -} - -type SendVerificationEmailResponse struct { -} - -type Session struct { - // unix timestamp - Created int64 `json:"created,string"` - // unix timestamp - Expires int64 `json:"expires,string"` - // the session id - Id string `json:"id"` - // the associated user id - UserId string `json:"userId"` -} - -type UpdatePasswordRequest struct { - // confirm new password - ConfirmPassword string `json:"confirmPassword"` - // the new password - NewPassword string `json:"newPassword"` - // the old password - OldPassword string `json:"oldPassword"` - // the account id - UserId string `json:"userId"` -} - -type UpdatePasswordResponse struct { -} - -type UpdateRequest struct { - // the new email address - Email string `json:"email"` - // the account id - Id string `json:"id"` - // the user profile as map - Profile map[string]string `json:"profile"` - // the new username - Username string `json:"username"` -} - -type UpdateResponse struct { -} - -type VerifyEmailRequest struct { - // the email address to verify - Email string `json:"email"` - // The token from the verification email - Token string `json:"token"` -} - -type VerifyEmailResponse struct { -} diff --git a/clients/go/vehicle/vehicle.go b/clients/go/vehicle/vehicle.go deleted file mode 100755 index e117d5e..0000000 --- a/clients/go/vehicle/vehicle.go +++ /dev/null @@ -1,61 +0,0 @@ -package vehicle - -import ( - "github.com/micro/micro-go/client" -) - -func NewVehicleService(token string) *VehicleService { - return &VehicleService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type VehicleService struct { - client *client.Client -} - -// Lookup a UK vehicle by it's registration number -func (t *VehicleService) Lookup(request *LookupRequest) (*LookupResponse, error) { - rsp := &LookupResponse{} - return rsp, t.client.Call("vehicle", "Lookup", request, rsp) -} - -type LookupRequest struct { - // the vehicle registration number - Registration string `json:"registration"` -} - -type LookupResponse struct { - // co2 emmissions - Co2emissions float64 `json:"co2emissions"` - // colour of vehicle - Colour string `json:"colour"` - // engine capacity - EngineCapacity int32 `json:"engineCapacity"` - // fuel type e.g petrol, diesel - FuelType string `json:"fuelType"` - // date of last v5 issue - LastV5issued string `json:"lastV5issued"` - // make of vehicle - Make string `json:"make"` - // month of first registration - MonthOfFirstRegistration string `json:"monthOfFirstRegistration"` - // mot expiry - MotExpiry string `json:"motExpiry"` - // mot status - MotStatus string `json:"motStatus"` - // registration number - Registration string `json:"registration"` - // tax due data - TaxDueDate string `json:"taxDueDate"` - // tax status - TaxStatus string `json:"taxStatus"` - // type approvale - TypeApproval string `json:"typeApproval"` - // wheel plan - Wheelplan string `json:"wheelplan"` - // year of manufacture - YearOfManufacture int32 `json:"yearOfManufacture"` -} diff --git a/clients/go/weather/weather.go b/clients/go/weather/weather.go deleted file mode 100755 index 8b6476d..0000000 --- a/clients/go/weather/weather.go +++ /dev/null @@ -1,132 +0,0 @@ -package weather - -import ( - "github.com/micro/micro-go/client" -) - -func NewWeatherService(token string) *WeatherService { - return &WeatherService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type WeatherService struct { - client *client.Client -} - -// Get the weather forecast for the next 1-10 days -func (t *WeatherService) Forecast(request *ForecastRequest) (*ForecastResponse, error) { - rsp := &ForecastResponse{} - return rsp, t.client.Call("weather", "Forecast", request, rsp) -} - -// Get the current weather report for a location by postcode, city, zip code, ip address -func (t *WeatherService) Now(request *NowRequest) (*NowResponse, error) { - rsp := &NowResponse{} - return rsp, t.client.Call("weather", "Now", request, rsp) -} - -type Forecast struct { - // the average temp in celsius - AvgTempC float64 `json:"avgTempC"` - // the average temp in fahrenheit - AvgTempF float64 `json:"avgTempF"` - // chance of rain (percentage) - ChanceOfRain int32 `json:"chanceOfRain"` - // forecast condition - Condition string `json:"condition"` - // date of the forecast - Date string `json:"date"` - // the URL of forecast condition icon. Simply prefix with either http or https to use it - IconUrl string `json:"iconUrl"` - // max temp in celsius - MaxTempC float64 `json:"maxTempC"` - // max temp in fahrenheit - MaxTempF float64 `json:"maxTempF"` - // minimum temp in celsius - MinTempC float64 `json:"minTempC"` - // minimum temp in fahrenheit - MinTempF float64 `json:"minTempF"` - // time of sunrise - Sunrise string `json:"sunrise"` - // time of sunset - Sunset string `json:"sunset"` - // will it rain - WillItRain bool `json:"willItRain"` -} - -type ForecastRequest struct { - // number of days. default 1, max 10 - Days int32 `json:"days"` - // location of the forecase - Location string `json:"location"` -} - -type ForecastResponse struct { - // country of the request - Country string `json:"country"` - // forecast for the next number of days - Forecast []Forecast `json:"forecast"` - // e.g 37.55 - Latitude float64 `json:"latitude"` - // the local time - LocalTime string `json:"localTime"` - // location of the request - Location string `json:"location"` - // e.g -77.46 - Longitude float64 `json:"longitude"` - // region related to the location - Region string `json:"region"` - // timezone of the location - Timezone string `json:"timezone"` -} - -type NowRequest struct { - // location to get weather e.g postcode, city - Location string `json:"location"` -} - -type NowResponse struct { - // cloud cover percentage - Cloud int32 `json:"cloud"` - // the weather condition - Condition string `json:"condition"` - // country of the request - Country string `json:"country"` - // whether its daytime - Daytime bool `json:"daytime"` - // feels like in celsius - FeelsLikeC float64 `json:"feelsLikeC"` - // feels like in fahrenheit - FeelsLikeF float64 `json:"feelsLikeF"` - // the humidity percentage - Humidity int32 `json:"humidity"` - // the URL of the related icon. Simply prefix with either http or https to use it - IconUrl string `json:"iconUrl"` - // e.g 37.55 - Latitude float64 `json:"latitude"` - // the local time - LocalTime string `json:"localTime"` - // location of the request - Location string `json:"location"` - // e.g -77.46 - Longitude float64 `json:"longitude"` - // region related to the location - Region string `json:"region"` - // temperature in celsius - TempC float64 `json:"tempC"` - // temperature in fahrenheit - TempF float64 `json:"tempF"` - // timezone of the location - Timezone string `json:"timezone"` - // wind degree - WindDegree int32 `json:"windDegree"` - // wind direction - WindDirection string `json:"windDirection"` - // wind in kph - WindKph float64 `json:"windKph"` - // wind in mph - WindMph float64 `json:"windMph"` -} diff --git a/clients/go/youtube/youtube.go b/clients/go/youtube/youtube.go deleted file mode 100755 index 31635e3..0000000 --- a/clients/go/youtube/youtube.go +++ /dev/null @@ -1,55 +0,0 @@ -package youtube - -import ( - "github.com/micro/micro-go/client" -) - -func NewYoutubeService(token string) *YoutubeService { - return &YoutubeService{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type YoutubeService struct { - client *client.Client -} - -// Search for videos on YouTube -func (t *YoutubeService) Search(request *SearchRequest) (*SearchResponse, error) { - rsp := &SearchResponse{} - return rsp, t.client.Call("youtube", "Search", request, rsp) -} - -type SearchRequest struct { - // Query to search for - Query string `json:"query"` -} - -type SearchResponse struct { - // List of results for the query - Results []SearchResult `json:"results"` -} - -type SearchResult struct { - // if live broadcast then indicates activity. - // none, upcoming, live, completed - Broadcasting string `json:"broadcasting"` - // the channel id - ChannelId string `json:"channelId"` - // the channel title - ChannelTitle string `json:"channelTitle"` - // the result description - Description string `json:"description"` - // id of the result - Id string `json:"id"` - // kind of result; "video", "channel", "playlist" - Kind string `json:"kind"` - // published at time - PublishedAt string `json:"publishedAt"` - // title of the result - Title string `json:"title"` - // the associated url - Url string `json:"url"` -} diff --git a/clients/ts/.gitignore b/clients/ts/.gitignore deleted file mode 100644 index f26189f..0000000 --- a/clients/ts/.gitignore +++ /dev/null @@ -1,61 +0,0 @@ -node_modules -dist -es -lib -types -tmp -index.js -index.d.ts -esm -.npmrc -esm -index.js -index.d.ts -address -answer -cache -cmd -crypto -currency -db -email -emoji -evchargers -event -file -forex -function -geocoding -gifs -google -helloworld -holidays -id -image -ip -location -mq -notes -otp -pkg -postcode -prayer -qr -quran -routing -rss -sentiment -sms -spam -stock -stream -sunnah -test -thumbnail -time -twitter -url -user -vehicle -weather -youtube diff --git a/clients/ts/address/index.ts b/clients/ts/address/index.ts deleted file mode 100755 index 51ab8cf..0000000 --- a/clients/ts/address/index.ts +++ /dev/null @@ -1,53 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class AddressService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Lookup a list of UK addresses by postcode - lookupPostcode( - request: LookupPostcodeRequest - ): Promise { - return this.client.call( - "address", - "LookupPostcode", - request - ) as Promise; - } -} - -export interface LookupPostcodeRequest { - // UK postcode e.g SW1A 2AA - postcode?: string; -} - -export interface LookupPostcodeResponse { - addresses?: Record[]; -} - -export interface Record { - // building name - buildingName?: string; - // the county - county?: string; - // line one of address - lineOne?: string; - // line two of address - lineTwo?: string; - // dependent locality - locality?: string; - // organisation if present - organisation?: string; - // the postcode - postcode?: string; - // the premise - premise?: string; - // street name - street?: string; - // the complete address - summary?: string; - // post town - town?: string; -} diff --git a/clients/ts/answer/index.ts b/clients/ts/answer/index.ts deleted file mode 100755 index a03c452..0000000 --- a/clients/ts/answer/index.ts +++ /dev/null @@ -1,31 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class AnswerService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Ask a question and receive an instant answer - question(request: QuestionRequest): Promise { - return this.client.call( - "answer", - "Question", - request - ) as Promise; - } -} - -export interface QuestionRequest { - // the question to answer - query?: string; -} - -export interface QuestionResponse { - // the answer to your question - answer?: string; - // any related image - image?: string; - // a related url - url?: string; -} diff --git a/clients/ts/build.js b/clients/ts/build.js deleted file mode 100644 index 2b293ca..0000000 --- a/clients/ts/build.js +++ /dev/null @@ -1,91 +0,0 @@ -const chalk = require('chalk'); -const path = require('path'); -const fs = require('fs'); -const rimraf = require('rimraf'); -const { ncp } = require('ncp'); - -function getTmpEsmDirectories() { - return fs - .readdirSync('./tmp/esm') - .filter(file => fs.statSync(`./tmp/esm/${file}`).isDirectory()); -} - -function log(text) { - console.log(`${chalk.cyan('M3O JS:')} ${text}`); -} - -function writeModulePackageJsonFile(location) { - fs.writeFileSync( - `${location}/package.json`, - `{"module": "./esm/index.js"}`, - 'utf8' - ); -} - -function deleteDirectory(directory) { - return new Promise(resolve => { - rimraf(directory, err => { - resolve(); - }); - }); -} - -function copyAllTmpFolders() { - return new Promise((resolve, reject) => { - // Now copy to root level - ncp(path.join(__dirname, 'tmp'), __dirname, err => { - if (err) { - reject(err); - } else { - resolve(); - } - }); - }); -} - -function moveToLocalEsmFolders() { - return new Promise((resolve, reject) => { - const esmDirs = getTmpEsmDirectories(); - - // Move the files around in tmp... - esmDirs.forEach(dir => { - const currentPath = path.join(__dirname, 'tmp/esm', dir); - - fs.readdirSync(currentPath).forEach(async file => { - const currentFilePath = path.join(currentPath, file); - const newFilePath = path.join(__dirname, 'tmp', dir, 'esm', file); - const esmFolderLocation = path.join(__dirname, 'tmp', dir, 'esm'); - - try { - if (!fs.existsSync(esmFolderLocation)) { - fs.mkdirSync(esmFolderLocation); - } - - fs.renameSync(currentFilePath, newFilePath); - writeModulePackageJsonFile(`./tmp/${dir}`); - await deleteDirectory(`./tmp/esm/${dir}`); - } catch (err) { - reject(err); - } - }); - }); - - log('Moved local esm folders'); - resolve(); - }); -} - -async function build() { - log('Moving to correct folders'); - - try { - await moveToLocalEsmFolders(); - await copyAllTmpFolders(); - writeModulePackageJsonFile('./tmp/esm'); - await deleteDirectory('./tmp'); - } catch (e) { - console.log(e); - } -} - -build(); \ No newline at end of file diff --git a/clients/ts/cache/index.ts b/clients/ts/cache/index.ts deleted file mode 100755 index 8f43b48..0000000 --- a/clients/ts/cache/index.ts +++ /dev/null @@ -1,107 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class CacheService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Decrement a value (if it's a number) - decrement(request: DecrementRequest): Promise { - return this.client.call( - "cache", - "Decrement", - request - ) as Promise; - } - // Delete a value from the cache - delete(request: DeleteRequest): Promise { - return this.client.call( - "cache", - "Delete", - request - ) as Promise; - } - // Get an item from the cache by key - get(request: GetRequest): Promise { - return this.client.call("cache", "Get", request) as Promise; - } - // Increment a value (if it's a number) - increment(request: IncrementRequest): Promise { - return this.client.call( - "cache", - "Increment", - request - ) as Promise; - } - // Set an item in the cache. Overwrites any existing value already set. - set(request: SetRequest): Promise { - return this.client.call("cache", "Set", request) as Promise; - } -} - -export interface DecrementRequest { - // The key to decrement - key?: string; - // The amount to decrement the value by - value?: number; -} - -export interface DecrementResponse { - // The key decremented - key?: string; - // The new value - value?: number; -} - -export interface DeleteRequest { - // The key to delete - key?: string; -} - -export interface DeleteResponse { - // Returns "ok" if successful - status?: string; -} - -export interface GetRequest { - // The key to retrieve - key?: string; -} - -export interface GetResponse { - // The key - key?: string; - // Time to live in seconds - ttl?: number; - // The value - value?: string; -} - -export interface IncrementRequest { - // The key to increment - key?: string; - // The amount to increment the value by - value?: number; -} - -export interface IncrementResponse { - // The key incremented - key?: string; - // The new value - value?: number; -} - -export interface SetRequest { - // The key to update - key?: string; - // Time to live in seconds - ttl?: number; - // The value to set - value?: string; -} - -export interface SetResponse { - // Returns "ok" if successful - status?: string; -} diff --git a/clients/ts/crypto/index.ts b/clients/ts/crypto/index.ts deleted file mode 100755 index c173f65..0000000 --- a/clients/ts/crypto/index.ts +++ /dev/null @@ -1,116 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class CryptoService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Returns the history for the previous close - history(request: HistoryRequest): Promise { - return this.client.call( - "crypto", - "History", - request - ) as Promise; - } - // Get news related to a currency - news(request: NewsRequest): Promise { - return this.client.call("crypto", "News", request) as Promise; - } - // Get the last price for a given crypto ticker - price(request: PriceRequest): Promise { - return this.client.call( - "crypto", - "Price", - request - ) as Promise; - } - // Get the last quote for a given crypto ticker - quote(request: QuoteRequest): Promise { - return this.client.call( - "crypto", - "Quote", - request - ) as Promise; - } -} - -export interface Article { - // the date published - date?: string; - // its description - description?: string; - // the source - source?: string; - // title of the article - title?: string; - // the source url - url?: string; -} - -export interface HistoryRequest { - // the crypto symbol e.g BTCUSD - symbol?: string; -} - -export interface HistoryResponse { - // the close price - close?: number; - // the date - date?: string; - // the peak price - high?: number; - // the low price - low?: number; - // the open price - open?: number; - // the crypto symbol - symbol?: string; - // the volume - volume?: number; -} - -export interface NewsRequest { - // cryptocurrency ticker to request news for e.g BTC - symbol?: string; -} - -export interface NewsResponse { - // list of articles - articles?: Article[]; - // symbol requested for - symbol?: string; -} - -export interface PriceRequest { - // the crypto symbol e.g BTCUSD - symbol?: string; -} - -export interface PriceResponse { - // the last price - price?: number; - // the crypto symbol e.g BTCUSD - symbol?: string; -} - -export interface QuoteRequest { - // the crypto symbol e.g BTCUSD - symbol?: string; -} - -export interface QuoteResponse { - // the asking price - askPrice?: number; - // the ask size - askSize?: number; - // the bidding price - bidPrice?: number; - // the bid size - bidSize?: number; - // the crypto symbol - symbol?: string; - // the UTC timestamp of the quote - timestamp?: string; -} diff --git a/clients/ts/currency/index.ts b/clients/ts/currency/index.ts deleted file mode 100755 index a65b7e2..0000000 --- a/clients/ts/currency/index.ts +++ /dev/null @@ -1,102 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class CurrencyService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Codes returns the supported currency codes for the API - codes(request: CodesRequest): Promise { - return this.client.call( - "currency", - "Codes", - request - ) as Promise; - } - // Convert returns the currency conversion rate between two pairs e.g USD/GBP - convert(request: ConvertRequest): Promise { - return this.client.call( - "currency", - "Convert", - request - ) as Promise; - } - // Returns the historic rates for a currency on a given date - history(request: HistoryRequest): Promise { - return this.client.call( - "currency", - "History", - request - ) as Promise; - } - // Rates returns the currency rates for a given code e.g USD - rates(request: RatesRequest): Promise { - return this.client.call( - "currency", - "Rates", - request - ) as Promise; - } -} - -export interface Code { - // e.g United States Dollar - currency?: string; - // e.g USD - name?: string; -} - -export interface CodesRequest {} - -export interface CodesResponse { - codes?: Code[]; -} - -export interface ConvertRequest { - // optional amount to convert e.g 10.0 - amount?: number; - // base code to convert from e.g USD - from?: string; - // target code to convert to e.g GBP - to?: string; -} - -export interface ConvertResponse { - // converted amount e.g 7.10 - amount?: number; - // the base code e.g USD - from?: string; - // conversion rate e.g 0.71 - rate?: number; - // the target code e.g GBP - to?: string; -} - -export interface HistoryRequest { - // currency code e.g USD - code?: string; - // date formatted as YYYY-MM-DD - date?: string; -} - -export interface HistoryResponse { - // The code of the request - code?: string; - // The date requested - date?: string; - // The rate for the day as code:rate - rates?: { [key: string]: number }; -} - -export interface RatesRequest { - // The currency code to get rates for e.g USD - code?: string; -} - -export interface RatesResponse { - // The code requested e.g USD - code?: string; - // The rates for the given code as key-value pairs code:rate - rates?: { [key: string]: number }; -} diff --git a/clients/ts/db/index.ts b/clients/ts/db/index.ts deleted file mode 100755 index e45daa7..0000000 --- a/clients/ts/db/index.ts +++ /dev/null @@ -1,113 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class DbService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Count records in a table - count(request: CountRequest): Promise { - return this.client.call("db", "Count", request) as Promise; - } - // Create a record in the database. Optionally include an "id" field otherwise it's set automatically. - create(request: CreateRequest): Promise { - return this.client.call("db", "Create", request) as Promise; - } - // Delete a record in the database by id. - delete(request: DeleteRequest): Promise { - return this.client.call("db", "Delete", request) as Promise; - } - // Read data from a table. Lookup can be by ID or via querying any field in the record. - read(request: ReadRequest): Promise { - return this.client.call("db", "Read", request) as Promise; - } - // Truncate the records in a table - truncate(request: TruncateRequest): Promise { - return this.client.call( - "db", - "Truncate", - request - ) as Promise; - } - // Update a record in the database. Include an "id" in the record to update. - update(request: UpdateRequest): Promise { - return this.client.call("db", "Update", request) as Promise; - } -} - -export interface CountRequest { - table?: string; -} - -export interface CountResponse { - count?: number; -} - -export interface CreateRequest { - // JSON encoded record or records (can be array or object) - record?: { [key: string]: any }; - // Optional table name. Defaults to 'default' - table?: string; -} - -export interface CreateResponse { - // The id of the record (either specified or automatically created) - id?: string; -} - -export interface DeleteRequest { - // id of the record - id?: string; - // Optional table name. Defaults to 'default' - table?: string; -} - -export interface DeleteResponse {} - -export interface ReadRequest { - // Read by id. Equivalent to 'id == "your-id"' - id?: string; - // Maximum number of records to return. Default limit is 25. - // Maximum limit is 1000. Anything higher will return an error. - limit?: number; - offset?: number; - // 'asc' (default), 'desc' - order?: string; - // field name to order by - orderBy?: string; - // Examples: 'age >= 18', 'age >= 18 and verified == true' - // Comparison operators: '==', '!=', '<', '>', '<=', '>=' - // Logical operator: 'and' - // Dot access is supported, eg: 'user.age == 11' - // Accessing list elements is not supported yet. - query?: string; - // Optional table name. Defaults to 'default' - table?: string; -} - -export interface ReadResponse { - // JSON encoded records - records?: { [key: string]: any }[]; -} - -export interface TruncateRequest { - // Optional table name. Defaults to 'default' - table?: string; -} - -export interface TruncateResponse { - // The table truncated - table?: string; -} - -export interface UpdateRequest { - // The id of the record. If not specified it is inferred from the 'id' field of the record - id?: string; - // record, JSON object - record?: { [key: string]: any }; - // Optional table name. Defaults to 'default' - table?: string; -} - -export interface UpdateResponse {} diff --git a/clients/ts/email/index.ts b/clients/ts/email/index.ts deleted file mode 100755 index e124f9d..0000000 --- a/clients/ts/email/index.ts +++ /dev/null @@ -1,30 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class EmailService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Send an email by passing in from, to, subject, and a text or html body - send(request: SendRequest): Promise { - return this.client.call("email", "Send", request) as Promise; - } -} - -export interface SendRequest { - // the display name of the sender - from?: string; - // the html body - htmlBody?: string; - // an optional reply to email address - replyTo?: string; - // the email subject - subject?: string; - // the text body - textBody?: string; - // the email address of the recipient - to?: string; -} - -export interface SendResponse {} diff --git a/clients/ts/emoji/index.ts b/clients/ts/emoji/index.ts deleted file mode 100755 index 26b163f..0000000 --- a/clients/ts/emoji/index.ts +++ /dev/null @@ -1,74 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class EmojiService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Find an emoji by its alias e.g :beer: - find(request: FindRequest): Promise { - return this.client.call("emoji", "Find", request) as Promise; - } - // Get the flag for a country. Requires country code e.g GB for great britain - flag(request: FlagRequest): Promise { - return this.client.call("emoji", "Flag", request) as Promise; - } - // Print text and renders the emojis with aliases e.g - // let's grab a :beer: becomes let's grab a 🍺 - print(request: PrintRequest): Promise { - return this.client.call( - "emoji", - "Print", - request - ) as Promise; - } - // Send an emoji to anyone via SMS. Messages are sent in the form ' Sent from ' - send(request: SendRequest): Promise { - return this.client.call("emoji", "Send", request) as Promise; - } -} - -export interface FindRequest { - // the alias code e.g :beer: - alias?: string; -} - -export interface FindResponse { - // the unicode emoji 🍺 - emoji?: string; -} - -export interface FlagRequest { - // country code e.g GB - code?: string; -} - -export interface FlagResponse { - // the emoji flag - flag?: string; -} - -export interface PrintRequest { - // text including any alias e.g let's grab a :beer: - text?: string; -} - -export interface PrintResponse { - // text with rendered emojis - text?: string; -} - -export interface SendRequest { - // the name of the sender from e.g Alice - from?: string; - // message to send including emoji aliases - message?: string; - // phone number to send to (including international dialing code) - to?: string; -} - -export interface SendResponse { - // whether or not it succeeded - success?: boolean; -} diff --git a/clients/ts/evchargers/index.ts b/clients/ts/evchargers/index.ts deleted file mode 100755 index eba94dd..0000000 --- a/clients/ts/evchargers/index.ts +++ /dev/null @@ -1,235 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class EvchargersService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Retrieve reference data as used by this API and in conjunction with the Search endpoint - referenceData(request: ReferenceDataRequest): Promise { - return this.client.call( - "evchargers", - "ReferenceData", - request - ) as Promise; - } - // Search by giving a coordinate and a max distance, or bounding box and optional filters - search(request: SearchRequest): Promise { - return this.client.call( - "evchargers", - "Search", - request - ) as Promise; - } -} - -export interface Address { - // Any comments about how to access the charger - accessComments?: string; - addressLine1?: string; - addressLine2?: string; - country?: { [key: string]: any }; - countryId?: string; - latLng?: string; - location?: Coordinates; - postcode?: string; - stateOrProvince?: string; - title?: string; - town?: string; -} - -export interface BoundingBox { - bottomLeft?: Coordinates; - topRight?: Coordinates; -} - -export interface ChargerType { - comments?: string; - id?: string; - // Is this 40KW+ - isFastChargeCapable?: boolean; - title?: string; -} - -export interface CheckinStatusType { - id?: string; - isAutomated?: boolean; - isPositive?: boolean; - title?: string; -} - -export interface Connection { - // The amps offered - amps?: number; - connectionType?: ConnectionType; - // The ID of the connection type - connectionTypeId?: string; - // The current - current?: string; - level?: ChargerType; - // The level of charging power available - levelId?: string; - // The power in KW - power?: number; - reference?: string; - // The voltage offered - voltage?: number; -} - -export interface ConnectionType { - formalName?: string; - id?: string; - isDiscontinued?: boolean; - isObsolete?: boolean; - title?: string; -} - -export interface Coordinates { - latitude?: number; - longitude?: number; -} - -export interface Country { - continentCode?: string; - id?: string; - isoCode?: string; - title?: string; -} - -export interface CurrentType { - description?: string; - id?: string; - title?: string; -} - -export interface DataProvider { - comments?: string; - dataProviderStatusType?: DataProviderStatusType; - id?: string; - // How is this data licensed - license?: string; - title?: string; - website?: string; -} - -export interface DataProviderStatusType { - id?: string; - isProviderEnabled?: boolean; - title?: string; -} - -export interface Operator { - comments?: string; - contactEmail?: string; - faultReportEmail?: string; - id?: string; - // Is this operator a private individual vs a company - isPrivateIndividual?: boolean; - phonePrimary?: string; - phoneSecondary?: string; - title?: string; - website?: string; -} - -export interface Poi { - // The address - address?: { [key: string]: any }; - // The connections available at this charge point - connections?: Connection[]; - // The cost of charging - cost?: string; - // The ID of the data provider - dataProviderId?: string; - // The ID of the charger - id?: string; - // The number of charging points - numPoints?: number; - // The operator - operator?: { [key: string]: any }; - // The ID of the operator of the charger - operatorId?: string; - // The type of usage - usageType?: UsageType; - // The type of usage for this charger point (is it public, membership required, etc) - usageTypeId?: string; -} - -export interface ReferenceDataRequest {} - -export interface ReferenceDataResponse { - // The types of charger - chargerTypes?: ChargerType; - // The types of checkin status - checkinStatusTypes?: CheckinStatusType; - // The types of connection - connectionTypes?: ConnectionType; - // The countries - countries?: Country[]; - // The types of current - currentTypes?: CurrentType; - // The providers of the charger data - dataProviders?: DataProvider; - // The companies operating the chargers - operators?: Operator[]; - // The status of the charger - statusTypes?: StatusType; - // The status of a submission - submissionStatusTypes?: SubmissionStatusType; - // The different types of usage - usageTypes?: UsageType; - // The types of user comment - userCommentTypes?: UserCommentType; -} - -export interface SearchRequest { - // Bounding box to search within (top left and bottom right coordinates) - box?: BoundingBox; - // IDs of the connection type - connectionTypes?: string; - // Country ID - countryId?: string; - // Search distance from point in metres, defaults to 5000m - distance?: number; - // Supported charging levels - levels?: string[]; - // Coordinates from which to begin search - location?: Coordinates; - // Maximum number of results to return, defaults to 100 - maxResults?: number; - // Minimum power in KW. Note: data not available for many chargers - minPower?: number; - // IDs of the the EV charger operator - operators?: string[]; - // Usage of the charge point (is it public, membership required, etc) - usageTypes?: string; -} - -export interface SearchResponse { - pois?: Poi[]; -} - -export interface StatusType { - id?: string; - isOperational?: boolean; - title?: string; -} - -export interface SubmissionStatusType { - id?: string; - isLive?: boolean; - title?: string; -} - -export interface UsageType { - id?: string; - isAccessKeyRequired?: boolean; - isMembershipRequired?: boolean; - isPayAtLocation?: boolean; - title?: string; -} - -export interface UserCommentType { - id?: string; - title?: string; -} diff --git a/clients/ts/file/index.ts b/clients/ts/file/index.ts deleted file mode 100755 index 1412f3a..0000000 --- a/clients/ts/file/index.ts +++ /dev/null @@ -1,92 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class FileService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Delete a file by project name/path - delete(request: DeleteRequest): Promise { - return this.client.call( - "file", - "Delete", - request - ) as Promise; - } - // List files by their project and optionally a path. - list(request: ListRequest): Promise { - return this.client.call("file", "List", request) as Promise; - } - // Read a file by path - read(request: ReadRequest): Promise { - return this.client.call("file", "Read", request) as Promise; - } - // Save a file - save(request: SaveRequest): Promise { - return this.client.call("file", "Save", request) as Promise; - } -} - -export interface BatchSaveRequest { - files?: Record[]; -} - -export interface BatchSaveResponse {} - -export interface DeleteRequest { - // Path to the file - path?: string; - // The project name - project?: string; -} - -export interface DeleteResponse {} - -export interface ListRequest { - // Defaults to '/', ie. lists all files in a project. - // Supply path to a folder if you want to list - // files inside that folder - // eg. '/docs' - path?: string; - // Project, required for listing. - project?: string; -} - -export interface ListResponse { - files?: Record[]; -} - -export interface ReadRequest { - // Path to the file - path?: string; - // Project name - project?: string; -} - -export interface ReadResponse { - // Returns the file - file?: Record; -} - -export interface Record { - // File contents - content?: string; - // Time the file was created e.g 2021-05-20T13:37:21Z - created?: string; - // Any other associated metadata as a map of key-value pairs - metadata?: { [key: string]: string }; - // Path to file or folder eg. '/documents/text-files/file.txt'. - path?: string; - // A custom project to group files - // eg. file-of-mywebsite.com - project?: string; - // Time the file was updated e.g 2021-05-20T13:37:21Z - updated?: string; -} - -export interface SaveRequest { - file?: Record; -} - -export interface SaveResponse {} diff --git a/clients/ts/forex/index.ts b/clients/ts/forex/index.ts deleted file mode 100755 index b0d22e2..0000000 --- a/clients/ts/forex/index.ts +++ /dev/null @@ -1,83 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class ForexService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Returns the data for the previous close - history(request: HistoryRequest): Promise { - return this.client.call( - "forex", - "History", - request - ) as Promise; - } - // Get the latest price for a given forex ticker - price(request: PriceRequest): Promise { - return this.client.call( - "forex", - "Price", - request - ) as Promise; - } - // Get the latest quote for the forex - quote(request: QuoteRequest): Promise { - return this.client.call( - "forex", - "Quote", - request - ) as Promise; - } -} - -export interface HistoryRequest { - // the forex symbol e.g GBPUSD - symbol?: string; -} - -export interface HistoryResponse { - // the close price - close?: number; - // the date - date?: string; - // the peak price - high?: number; - // the low price - low?: number; - // the open price - open?: number; - // the forex symbol - symbol?: string; - // the volume - volume?: number; -} - -export interface PriceRequest { - // forex symbol e.g GBPUSD - symbol?: string; -} - -export interface PriceResponse { - // the last price - price?: number; - // the forex symbol e.g GBPUSD - symbol?: string; -} - -export interface QuoteRequest { - // the forex symbol e.g GBPUSD - symbol?: string; -} - -export interface QuoteResponse { - // the asking price - askPrice?: number; - // the bidding price - bidPrice?: number; - // the forex symbol - symbol?: string; - // the UTC timestamp of the quote - timestamp?: string; -} diff --git a/clients/ts/function/index.ts b/clients/ts/function/index.ts deleted file mode 100755 index 23eee49..0000000 --- a/clients/ts/function/index.ts +++ /dev/null @@ -1,146 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class FunctionService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Call a function by name - call(request: CallRequest): Promise { - return this.client.call( - "function", - "Call", - request - ) as Promise; - } - // Delete a function by name - delete(request: DeleteRequest): Promise { - return this.client.call( - "function", - "Delete", - request - ) as Promise; - } - // Deploy a group of functions - deploy(request: DeployRequest): Promise { - return this.client.call( - "function", - "Deploy", - request - ) as Promise; - } - // - describe(request: DescribeRequest): Promise { - return this.client.call( - "function", - "Describe", - request - ) as Promise; - } - // List all the deployed functions - list(request: ListRequest): Promise { - return this.client.call( - "function", - "List", - request - ) as Promise; - } -} - -export interface CallRequest { - // Name of the function - name?: string; - // Request body that will be passed to the function - request?: { [key: string]: any }; -} - -export interface CallResponse { - // Response body that the function returned - response?: { [key: string]: any }; -} - -export interface DeleteRequest { - // The name of the function - name?: string; - // Optional project name - project?: string; -} - -export interface DeleteResponse {} - -export interface DeployRequest { - // entry point, ie. handler name in the source code - // if not provided, defaults to the name parameter - entrypoint?: string; - // function name - name?: string; - // project is used for namespacing your functions - // optional. defaults to "default". - project?: string; - // github url to repo - repo?: string; - // runtime/language of the function - // eg: php74, - // nodejs6, nodejs8, nodejs10, nodejs12, nodejs14, nodejs16 - // dotnet3 - // java11 - // ruby26, ruby27 - // go111, go113, go116 - // python37, python38, python39 - runtime?: string; - // optional subfolder path - subfolder?: string; -} - -export interface DeployResponse {} - -export interface DescribeRequest { - // The name of the function - name?: string; - // Optional project name - project?: string; -} - -export interface DescribeResponse { - status?: string; - timeout?: string; - updateTime?: string; -} - -export interface Func { - // name of handler in source code - entrypoint?: string; - // function name - // limitation: must be unique across projects - name?: string; - // project of function, optional - // defaults to literal "default" - // used to namespace functions - project?: string; - // git repo address - repo?: string; - // runtime/language of the function - // eg: php74, - // nodejs6, nodejs8, nodejs10, nodejs12, nodejs14, nodejs16 - // dotnet3 - // java11 - // ruby26, ruby27 - // go111, go113, go116 - // python37, python38, python39 - runtime?: string; - // eg. ACTIVE, DEPLOY_IN_PROGRESS, OFFLINE etc - status?: string; - // subfolder path to entrypoint - subfolder?: string; -} - -export interface ListRequest { - // optional project name - project?: string; -} - -export interface ListResponse { - // List of functions deployed - functions?: Func[]; -} diff --git a/clients/ts/geocoding/index.ts b/clients/ts/geocoding/index.ts deleted file mode 100755 index 36ecc6b..0000000 --- a/clients/ts/geocoding/index.ts +++ /dev/null @@ -1,60 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class GeocodingService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Lookup returns a geocoded address including normalized address and gps coordinates. All fields are optional, provide more to get more accurate results - lookup(request: LookupRequest): Promise { - return this.client.call( - "geocoding", - "Lookup", - request - ) as Promise; - } - // Reverse lookup an address from gps coordinates - reverse(request: ReverseRequest): Promise { - return this.client.call( - "geocoding", - "Reverse", - request - ) as Promise; - } -} - -export interface Address { - city?: string; - country?: string; - lineOne?: string; - lineTwo?: string; - postcode?: string; -} - -export interface Location { - latitude?: number; - longitude?: number; -} - -export interface LookupRequest { - address?: string; - city?: string; - country?: string; - postcode?: string; -} - -export interface LookupResponse { - address?: { [key: string]: any }; - location?: { [key: string]: any }; -} - -export interface ReverseRequest { - latitude?: number; - longitude?: number; -} - -export interface ReverseResponse { - address?: { [key: string]: any }; - location?: { [key: string]: any }; -} diff --git a/clients/ts/gifs/index.ts b/clients/ts/gifs/index.ts deleted file mode 100755 index e2f7bc0..0000000 --- a/clients/ts/gifs/index.ts +++ /dev/null @@ -1,129 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class GifsService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Search for a gif - search(request: SearchRequest): Promise { - return this.client.call( - "gifs", - "Search", - request - ) as Promise; - } -} - -export interface Gif { - // URL used for embedding the GIF - embedUrl?: string; - // The ID of the GIF - id?: string; - // The different formats available for this GIF - images?: ImageFormats; - // The content rating for the GIF - rating?: string; - // A short URL for this GIF - shortUrl?: string; - // The slug used in the GIF's URL - slug?: string; - // The page on which this GIF was found - source?: string; - // The title for this GIF - title?: string; - // The URL for this GIF - url?: string; -} - -export interface ImageFormat { - // height - height?: number; - // size of the MP4 version - mp4Size?: number; - // URL to an MP4 version of the gif - mp4Url?: string; - // size in bytes - size?: number; - // URL of the gif - url?: string; - // size of the webp version - webpSize?: number; - // URL to a webp version of the gif - webpUrl?: string; - // width - width?: number; -} - -export interface ImageFormats { - // A downsized version of the GIF < 2MB - downsized?: ImageFormat; - // A downsized version of the GIF < 8MB - downsizedLarge?: ImageFormat; - // A downsized version of the GIF < 5MB - downsizedMedium?: ImageFormat; - // A downsized version of the GIF < 200kb - downsizedSmall?: ImageFormat; - // Static image of the downsized version of the GIF - downsizedStill?: ImageFormat; - // Version of the GIF with fixed height of 200 pixels. Good for mobile use - fixedHeight?: ImageFormat; - // Version of the GIF with fixed height of 200 pixels and number of frames reduced to 6 - fixedHeightDownsampled?: ImageFormat; - // Version of the GIF with fixed height of 100 pixels. Good for mobile keyboards - fixedHeightSmall?: ImageFormat; - // Static image of the GIF with fixed height of 100 pixels - fixedHeightSmallStill?: ImageFormat; - // Static image of the GIF with fixed height of 200 pixels - fixedHeightStill?: ImageFormat; - // Version of the GIF with fixed width of 200 pixels. Good for mobile use - fixedWidth?: ImageFormat; - // Version of the GIF with fixed width of 200 pixels and number of frames reduced to 6 - fixedWidthDownsampled?: ImageFormat; - // Version of the GIF with fixed width of 100 pixels. Good for mobile keyboards - fixedWidthSmall?: ImageFormat; - // Static image of the GIF with fixed width of 100 pixels - fixedWidthSmallStill?: ImageFormat; - // Static image of the GIF with fixed width of 200 pixels - fixedWidthStill?: ImageFormat; - // 15 second version of the GIF looping - looping?: ImageFormat; - // The original GIF. Good for desktop use - original?: ImageFormat; - // Static image of the original version of the GIF - originalStill?: ImageFormat; - // mp4 version of the GIF <50kb displaying first 1-2 secs - preview?: ImageFormat; - // Version of the GIF <50kb displaying first 1-2 secs - previewGif?: ImageFormat; -} - -export interface Pagination { - // total number returned in this response - count?: number; - // position in pagination - offset?: number; - // total number of results available - totalCount?: number; -} - -export interface SearchRequest { - // ISO 2 letter language code for regional content - lang?: string; - // Max number of gifs to return. Defaults to 25 - limit?: number; - // The start position of results (used with pagination) - offset?: number; - // The search term - query?: string; - // Apply age related content filter. "g", "pg", "pg-13", or "r". Defaults to "g" - rating?: string; -} - -export interface SearchResponse { - // list of results - data?: Gif[]; - // information on pagination - pagination?: { [key: string]: any }; -} diff --git a/clients/ts/helloworld/index.ts b/clients/ts/helloworld/index.ts deleted file mode 100755 index 54144d3..0000000 --- a/clients/ts/helloworld/index.ts +++ /dev/null @@ -1,43 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class HelloworldService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Call returns a personalised "Hello $name" response - call(request: CallRequest): Promise { - return this.client.call( - "helloworld", - "Call", - request - ) as Promise; - } - // Stream returns a stream of "Hello $name" responses - stream(request: StreamRequest): Promise { - return this.client.call( - "helloworld", - "Stream", - request - ) as Promise; - } -} - -export interface CallRequest { - name?: string; -} - -export interface CallResponse { - message?: string; -} - -export interface StreamRequest { - // the number of messages to send back - messages?: number; - name?: string; -} - -export interface StreamResponse { - message?: string; -} diff --git a/clients/ts/holidays/index.ts b/clients/ts/holidays/index.ts deleted file mode 100755 index a9482c2..0000000 --- a/clients/ts/holidays/index.ts +++ /dev/null @@ -1,64 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class HolidaysService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Get the list of countries that are supported by this API - countries(request: CountriesRequest): Promise { - return this.client.call( - "holidays", - "Countries", - request - ) as Promise; - } - // List the holiday dates for a given country and year - list(request: ListRequest): Promise { - return this.client.call( - "holidays", - "List", - request - ) as Promise; - } -} - -export interface CountriesRequest {} - -export interface CountriesResponse { - countries?: Country[]; -} - -export interface Country { - // The 2 letter country code (as defined in ISO 3166-1 alpha-2) - code?: string; - // The English name of the country - name?: string; -} - -export interface Holiday { - // the country this holiday occurs in - countryCode?: string; - // date of the holiday in yyyy-mm-dd format - date?: string; - // the local name of the holiday - localName?: string; - // the name of the holiday in English - name?: string; - // the regions within the country that observe this holiday (if not all of them) - regions?: string[]; - // the type of holiday Public, Bank, School, Authorities, Optional, Observance - types?: string[]; -} - -export interface ListRequest { - // The 2 letter country code (as defined in ISO 3166-1 alpha-2) - countryCode?: string; - // The year to list holidays for - year?: number; -} - -export interface ListResponse { - holidays?: Holiday[]; -} diff --git a/clients/ts/id/index.ts b/clients/ts/id/index.ts deleted file mode 100755 index 28c228e..0000000 --- a/clients/ts/id/index.ts +++ /dev/null @@ -1,39 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class IdService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Generate a unique ID. Defaults to uuid. - generate(request: GenerateRequest): Promise { - return this.client.call( - "id", - "Generate", - request - ) as Promise; - } - // List the types of IDs available. No query params needed. - types(request: TypesRequest): Promise { - return this.client.call("id", "Types", request) as Promise; - } -} - -export interface GenerateRequest { - // type of id e.g uuid, shortid, snowflake (64 bit), bigflake (128 bit) - type?: string; -} - -export interface GenerateResponse { - // the unique id generated - id?: string; - // the type of id generated - type?: string; -} - -export interface TypesRequest {} - -export interface TypesResponse { - types?: string[]; -} diff --git a/clients/ts/image/index.ts b/clients/ts/image/index.ts deleted file mode 100755 index 4267163..0000000 --- a/clients/ts/image/index.ts +++ /dev/null @@ -1,113 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class ImageService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Convert an image from one format (jpeg, png etc.) to an other either on the fly (from base64 to base64), - // or by uploading the conversion result. - convert(request: ConvertRequest): Promise { - return this.client.call( - "image", - "Convert", - request - ) as Promise; - } - // Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters. - // If one of width or height is 0, the image aspect ratio is preserved. - // Optional cropping. - resize(request: ResizeRequest): Promise { - return this.client.call( - "image", - "Resize", - request - ) as Promise; - } - // Upload an image by either sending a base64 encoded image to this endpoint or a URL. - // To resize an image before uploading, see the Resize endpoint. - upload(request: UploadRequest): Promise { - return this.client.call( - "image", - "Upload", - request - ) as Promise; - } -} - -export interface ConvertRequest { - // base64 encoded image to resize, - // ie. "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" - base64?: string; - // output name of the image including extension, ie. "cat.png" - name?: string; - // make output a URL and not a base64 response - outputURL?: boolean; - // url of the image to resize - url?: string; -} - -export interface ConvertResponse { - base64?: string; - url?: string; -} - -export interface CropOptions { - // Crop anchor point: "top", "top left", "top right", - // "left", "center", "right" - // "bottom left", "bottom", "bottom right". - // Optional. Defaults to center. - anchor?: string; - // height to crop to - height?: number; - // width to crop to - width?: number; -} - -export interface Point { - x?: number; - y?: number; -} - -export interface Rectangle { - max?: Point; - min?: Point; -} - -export interface ResizeRequest { - // base64 encoded image to resize, - // ie. "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" - base64?: string; - // optional crop options - // if provided, after resize, the image - // will be cropped - cropOptions?: CropOptions; - height?: number; - // output name of the image including extension, ie. "cat.png" - name?: string; - // make output a URL and not a base64 response - outputURL?: boolean; - // url of the image to resize - url?: string; - width?: number; -} - -export interface ResizeResponse { - base64?: string; - url?: string; -} - -export interface UploadRequest { - // Base64 encoded image to upload, - // ie. "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" - base64?: string; - // Output name of the image including extension, ie. "cat.png" - name?: string; - // URL of the image to upload - url?: string; -} - -export interface UploadResponse { - url?: string; -} diff --git a/clients/ts/index.ts b/clients/ts/index.ts deleted file mode 100755 index 22063d1..0000000 --- a/clients/ts/index.ts +++ /dev/null @@ -1,141 +0,0 @@ -import * as address from "./address"; -import * as answer from "./answer"; -import * as cache from "./cache"; -import * as crypto from "./crypto"; -import * as currency from "./currency"; -import * as db from "./db"; -import * as email from "./email"; -import * as emoji from "./emoji"; -import * as evchargers from "./evchargers"; -import * as event from "./event"; -import * as file from "./file"; -import * as forex from "./forex"; -import * as fx from "./function"; -import * as geocoding from "./geocoding"; -import * as gifs from "./gifs"; -import * as google from "./google"; -import * as helloworld from "./helloworld"; -import * as holidays from "./holidays"; -import * as id from "./id"; -import * as image from "./image"; -import * as ip from "./ip"; -import * as location from "./location"; -import * as mq from "./mq"; -import * as notes from "./notes"; -import * as otp from "./otp"; -import * as postcode from "./postcode"; -import * as prayer from "./prayer"; -import * as qr from "./qr"; -import * as quran from "./quran"; -import * as routing from "./routing"; -import * as rss from "./rss"; -import * as sentiment from "./sentiment"; -import * as sms from "./sms"; -import * as spam from "./spam"; -import * as stock from "./stock"; -import * as stream from "./stream"; -import * as sunnah from "./sunnah"; -import * as thumbnail from "./thumbnail"; -import * as time from "./time"; -import * as twitter from "./twitter"; -import * as url from "./url"; -import * as user from "./user"; -import * as vehicle from "./vehicle"; -import * as weather from "./weather"; -import * as youtube from "./youtube"; - -export class Client { - constructor(token: string) { - this.addressService = new address.AddressService(token); - this.answerService = new answer.AnswerService(token); - this.cacheService = new cache.CacheService(token); - this.cryptoService = new crypto.CryptoService(token); - this.currencyService = new currency.CurrencyService(token); - this.dbService = new db.DbService(token); - this.emailService = new email.EmailService(token); - this.emojiService = new emoji.EmojiService(token); - this.evchargersService = new evchargers.EvchargersService(token); - this.eventService = new event.EventService(token); - this.fileService = new file.FileService(token); - this.forexService = new forex.ForexService(token); - this.functionService = new fx.FunctionService(token); - this.geocodingService = new geocoding.GeocodingService(token); - this.gifsService = new gifs.GifsService(token); - this.googleService = new google.GoogleService(token); - this.helloworldService = new helloworld.HelloworldService(token); - this.holidaysService = new holidays.HolidaysService(token); - this.idService = new id.IdService(token); - this.imageService = new image.ImageService(token); - this.ipService = new ip.IpService(token); - this.locationService = new location.LocationService(token); - this.mqService = new mq.MqService(token); - this.notesService = new notes.NotesService(token); - this.otpService = new otp.OtpService(token); - this.postcodeService = new postcode.PostcodeService(token); - this.prayerService = new prayer.PrayerService(token); - this.qrService = new qr.QrService(token); - this.quranService = new quran.QuranService(token); - this.routingService = new routing.RoutingService(token); - this.rssService = new rss.RssService(token); - this.sentimentService = new sentiment.SentimentService(token); - this.smsService = new sms.SmsService(token); - this.spamService = new spam.SpamService(token); - this.stockService = new stock.StockService(token); - this.streamService = new stream.StreamService(token); - this.sunnahService = new sunnah.SunnahService(token); - this.thumbnailService = new thumbnail.ThumbnailService(token); - this.timeService = new time.TimeService(token); - this.twitterService = new twitter.TwitterService(token); - this.urlService = new url.UrlService(token); - this.userService = new user.UserService(token); - this.vehicleService = new vehicle.VehicleService(token); - this.weatherService = new weather.WeatherService(token); - this.youtubeService = new youtube.YoutubeService(token); - } - - addressService: address.AddressService; - answerService: answer.AnswerService; - cacheService: cache.CacheService; - cryptoService: crypto.CryptoService; - currencyService: currency.CurrencyService; - dbService: db.DbService; - emailService: email.EmailService; - emojiService: emoji.EmojiService; - evchargersService: evchargers.EvchargersService; - eventService: event.EventService; - fileService: file.FileService; - forexService: forex.ForexService; - functionService: fx.FunctionService; - geocodingService: geocoding.GeocodingService; - gifsService: gifs.GifsService; - googleService: google.GoogleService; - helloworldService: helloworld.HelloworldService; - holidaysService: holidays.HolidaysService; - idService: id.IdService; - imageService: image.ImageService; - ipService: ip.IpService; - locationService: location.LocationService; - mqService: mq.MqService; - notesService: notes.NotesService; - otpService: otp.OtpService; - postcodeService: postcode.PostcodeService; - prayerService: prayer.PrayerService; - qrService: qr.QrService; - quranService: quran.QuranService; - routingService: routing.RoutingService; - rssService: rss.RssService; - sentimentService: sentiment.SentimentService; - smsService: sms.SmsService; - spamService: spam.SpamService; - stockService: stock.StockService; - streamService: stream.StreamService; - sunnahService: sunnah.SunnahService; - thumbnailService: thumbnail.ThumbnailService; - timeService: time.TimeService; - twitterService: twitter.TwitterService; - urlService: url.UrlService; - userService: user.UserService; - vehicleService: vehicle.VehicleService; - weatherService: weather.WeatherService; - youtubeService: youtube.YoutubeService; -} diff --git a/clients/ts/ip/index.ts b/clients/ts/ip/index.ts deleted file mode 100755 index cead97f..0000000 --- a/clients/ts/ip/index.ts +++ /dev/null @@ -1,37 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class IpService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Lookup the geolocation information for an IP address - lookup(request: LookupRequest): Promise { - return this.client.call("ip", "Lookup", request) as Promise; - } -} - -export interface LookupRequest { - // IP to lookup - ip?: string; -} - -export interface LookupResponse { - // Autonomous system number - asn?: number; - // Name of the city - city?: string; - // Name of the continent - continent?: string; - // Name of the country - country?: string; - // IP of the query - ip?: string; - // Latitude e.g 52.523219 - latitude?: number; - // Longitude e.g 13.428555 - longitude?: number; - // Timezone e.g Europe/Rome - timezone?: string; -} diff --git a/clients/ts/location/index.ts b/clients/ts/location/index.ts deleted file mode 100755 index 13f8f57..0000000 --- a/clients/ts/location/index.ts +++ /dev/null @@ -1,75 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class LocationService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Read an entity by its ID - read(request: ReadRequest): Promise { - return this.client.call( - "location", - "Read", - request - ) as Promise; - } - // Save an entity's current position - save(request: SaveRequest): Promise { - return this.client.call( - "location", - "Save", - request - ) as Promise; - } - // Search for entities in a given radius - search(request: SearchRequest): Promise { - return this.client.call( - "location", - "Search", - request - ) as Promise; - } -} - -export interface Entity { - id?: string; - location?: Point; - type?: string; -} - -export interface Point { - latitude?: number; - longitude?: number; - timestamp?: number; -} - -export interface ReadRequest { - // the entity id - id?: string; -} - -export interface ReadResponse { - entity?: { [key: string]: any }; -} - -export interface SaveRequest { - entity?: { [key: string]: any }; -} - -export interface SaveResponse {} - -export interface SearchRequest { - // Central position to search from - center?: Point; - // Maximum number of entities to return - numEntities?: number; - // radius in meters - radius?: number; - // type of entities to filter - type?: string; -} - -export interface SearchResponse { - entities?: Entity[]; -} diff --git a/clients/ts/notes/index.ts b/clients/ts/notes/index.ts deleted file mode 100755 index 651fcc6..0000000 --- a/clients/ts/notes/index.ts +++ /dev/null @@ -1,120 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class NotesService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Create a new note - create(request: CreateRequest): Promise { - return this.client.call( - "notes", - "Create", - request - ) as Promise; - } - // Delete a note - delete(request: DeleteRequest): Promise { - return this.client.call( - "notes", - "Delete", - request - ) as Promise; - } - // List all the notes - list(request: ListRequest): Promise { - return this.client.call("notes", "List", request) as Promise; - } - // Read a note - read(request: ReadRequest): Promise { - return this.client.call("notes", "Read", request) as Promise; - } - // Specify the note to events - subscribe(request: SubscribeRequest): Promise { - return this.client.call( - "notes", - "Subscribe", - request - ) as Promise; - } - // Update a note - update(request: UpdateRequest): Promise { - return this.client.call( - "notes", - "Update", - request - ) as Promise; - } -} - -export interface CreateRequest { - // note text - text?: string; - // note title - title?: string; -} - -export interface CreateResponse { - // The created note - note?: { [key: string]: any }; -} - -export interface DeleteRequest { - // specify the id of the note - id?: string; -} - -export interface DeleteResponse { - note?: { [key: string]: any }; -} - -export interface ListRequest {} - -export interface ListResponse { - // the list of notes - notes?: Note[]; -} - -export interface Note { - // time at which the note was created - created?: string; - // unique id for the note, generated if not specified - id?: string; - // text within the note - text?: string; - // title of the note - title?: string; - // time at which the note was updated - updated?: string; -} - -export interface ReadRequest { - // the note id - id?: string; -} - -export interface ReadResponse { - // The note - note?: { [key: string]: any }; -} - -export interface SubscribeRequest { - // optionally specify a note id - id?: string; -} - -export interface SubscribeResponse { - // the event which occured; created, deleted, updated - event?: string; - // the note which the operation occured on - note?: { [key: string]: any }; -} - -export interface UpdateRequest { - note?: { [key: string]: any }; -} - -export interface UpdateResponse { - note?: { [key: string]: any }; -} diff --git a/clients/ts/otp/index.ts b/clients/ts/otp/index.ts deleted file mode 100755 index e00e58b..0000000 --- a/clients/ts/otp/index.ts +++ /dev/null @@ -1,51 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class OtpService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Generate an OTP (one time pass) code - generate(request: GenerateRequest): Promise { - return this.client.call( - "otp", - "Generate", - request - ) as Promise; - } - // Validate the OTP code - validate(request: ValidateRequest): Promise { - return this.client.call( - "otp", - "Validate", - request - ) as Promise; - } -} - -export interface GenerateRequest { - // expiration in seconds (default: 60) - expiry?: number; - // unique id, email or user to generate an OTP for - id?: string; - // number of characters (default: 6) - size?: number; -} - -export interface GenerateResponse { - // one time pass code - code?: string; -} - -export interface ValidateRequest { - // one time pass code to validate - code?: string; - // unique id, email or user for which the code was generated - id?: string; -} - -export interface ValidateResponse { - // returns true if the code is valid for the ID - success?: boolean; -} diff --git a/clients/ts/package-lock.json b/clients/ts/package-lock.json deleted file mode 100644 index acde704..0000000 --- a/clients/ts/package-lock.json +++ /dev/null @@ -1,7044 +0,0 @@ -{ - "name": "@micro/services", - "version": "1.0.1", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "@micro/services", - "version": "1.0.1", - "license": "ISC", - "dependencies": { - "@babel/runtime": "^7.15.4", - "@m3o/m3o-node": "^0.0.24" - }, - "devDependencies": { - "@babel/cli": "^7.8.4", - "@babel/core": "^7.9.0", - "@babel/node": "^7.8.7", - "@babel/plugin-external-helpers": "^7.8.3", - "@babel/plugin-proposal-object-rest-spread": "^7.9.5", - "@babel/plugin-transform-runtime": "^7.9.0", - "@babel/preset-env": "^7.9.5", - "@babel/preset-flow": "^7.9.0", - "@babel/preset-typescript": "^7.9.0", - "@babel/register": "^7.9.0", - "@rollup/plugin-babel": "^5.3.0", - "@rollup/plugin-node-resolve": "^13.0.4", - "@rollup/plugin-replace": "^3.0.0", - "prettier": "^2.4.1", - "rollup": "^2.7.2", - "rollup-plugin-terser": "^7.0.2", - "rollup-plugin-typescript2": "^0.30.0", - "typescript": "^3.5.1" - } - }, - "node_modules/@babel/cli": { - "version": "7.15.7", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.15.7.tgz", - "integrity": "sha512-YW5wOprO2LzMjoWZ5ZG6jfbY9JnkDxuHDwvnrThnuYtByorova/I0HNXJedrUfwuXFQfYOjcqDA4PU3qlZGZjg==", - "dev": true, - "dependencies": { - "commander": "^4.0.1", - "convert-source-map": "^1.1.0", - "fs-readdir-recursive": "^1.1.0", - "glob": "^7.0.0", - "make-dir": "^2.1.0", - "slash": "^2.0.0", - "source-map": "^0.5.0" - }, - "bin": { - "babel": "bin/babel.js", - "babel-external-helpers": "bin/babel-external-helpers.js" - }, - "engines": { - "node": ">=6.9.0" - }, - "optionalDependencies": { - "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3", - "chokidar": "^3.4.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/compat-data": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.15.0.tgz", - "integrity": "sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.15.8.tgz", - "integrity": "sha512-3UG9dsxvYBMYwRv+gS41WKHno4K60/9GPy1CJaH6xy3Elq8CTtvtjT5R5jmNhXfCYLX2mTw+7/aq5ak/gOE0og==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.15.8", - "@babel/generator": "^7.15.8", - "@babel/helper-compilation-targets": "^7.15.4", - "@babel/helper-module-transforms": "^7.15.8", - "@babel/helpers": "^7.15.4", - "@babel/parser": "^7.15.8", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.6", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.1.2", - "semver": "^6.3.0", - "source-map": "^0.5.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/core/node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@babel/core/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/@babel/generator": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", - "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.6", - "jsesc": "^2.5.1", - "source-map": "^0.5.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.15.4.tgz", - "integrity": "sha512-QwrtdNvUNsPCj2lfNQacsGSQvGX8ee1ttrBrcozUP2Sv/jylewBP/8QFe6ZkBsC8T/GYWonNAWJV4aRR9AL2DA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.15.4.tgz", - "integrity": "sha512-P8o7JP2Mzi0SdC6eWr1zF+AEYvrsZa7GSY1lTayjF5XJhVH0kjLYUZPvTMflP7tBgZoe9gIhTa60QwFpqh/E0Q==", - "dev": true, - "dependencies": { - "@babel/helper-explode-assignable-expression": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.4.tgz", - "integrity": "sha512-rMWPCirulnPSe4d+gwdWXLfAXTTBj8M3guAf5xFQJ0nvFY7tfNAFnWdqaHegHlgDZOCT4qvhF3BYlSJag8yhqQ==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-validator-option": "^7.14.5", - "browserslist": "^4.16.6", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.15.4.tgz", - "integrity": "sha512-7ZmzFi+DwJx6A7mHRwbuucEYpyBwmh2Ca0RvI6z2+WLZYCqV0JOaLb+u0zbtmDicebgKBZgqbYfLaKNqSgv5Pw==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-member-expression-to-functions": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.14.5.tgz", - "integrity": "sha512-TLawwqpOErY2HhWbGJ2nZT5wSkR192QpN+nBg1THfBfftrlvOh+WbhrxXCH4q4xJ9Gl16BGPR/48JA+Ryiho/A==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "regexpu-core": "^4.7.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.2.3.tgz", - "integrity": "sha512-RH3QDAfRMzj7+0Nqu5oqgO5q9mFtQEVvCRsi8qCEfzLR9p2BHfn5FzhSB2oj1fF7I2+DcTORkYaQ6aTR9Cofew==", - "dev": true, - "dependencies": { - "@babel/helper-compilation-targets": "^7.13.0", - "@babel/helper-module-imports": "^7.12.13", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/traverse": "^7.13.0", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2", - "semver": "^6.1.2" - }, - "peerDependencies": { - "@babel/core": "^7.4.0-0" - } - }, - "node_modules/@babel/helper-define-polyfill-provider/node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@babel/helper-define-polyfill-provider/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/@babel/helper-explode-assignable-expression": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.15.4.tgz", - "integrity": "sha512-J14f/vq8+hdC2KoWLIQSsGrC9EFBKE4NFts8pfMpymfApds+fPqR30AOUWc4tyr56h9l/GA1Sxv2q3dLZWbQ/g==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", - "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", - "dev": true, - "dependencies": { - "@babel/helper-get-function-arity": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-get-function-arity": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", - "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.15.4.tgz", - "integrity": "sha512-VTy085egb3jUGVK9ycIxQiPbquesq0HUQ+tPO0uv5mPEBZipk+5FkRKiWq5apuyTE9FUrjENB0rCf8y+n+UuhA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.4.tgz", - "integrity": "sha512-cokOMkxC/BTyNP1AlY25HuBWM32iCEsLPI4BHDpJCHHm1FU2E7dKWWIXJgQgSFiu4lp8q3bL1BIKwqkSUviqtA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.15.4.tgz", - "integrity": "sha512-jeAHZbzUwdW/xHgHQ3QmWR4Jg6j15q4w/gCfwZvtqOxoo5DKtLHk8Bsf4c5RZRC7NmLEs+ohkdq8jFefuvIxAA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.15.8.tgz", - "integrity": "sha512-DfAfA6PfpG8t4S6npwzLvTUpp0sS7JrcuaMiy1Y5645laRJIp/LiLGIBbQKaXSInK8tiGNI7FL7L8UvB8gdUZg==", - "dev": true, - "dependencies": { - "@babel/helper-module-imports": "^7.15.4", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-simple-access": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/helper-validator-identifier": "^7.15.7", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz", - "integrity": "sha512-E/z9rfbAOt1vDW1DR7k4SzhzotVV5+qMciWV6LaG1g4jeFrkDlJedjtV4h0i4Q/ITnUu+Pk08M7fczsB9GXBDw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.14.5.tgz", - "integrity": "sha512-/37qQCE3K0vvZKwoK4XU/irIJQdIfCJuhU5eKnNxpFDsOkgFaUAwbv+RYw6eYgsC0E4hS7r5KqGULUogqui0fQ==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.15.4.tgz", - "integrity": "sha512-v53MxgvMK/HCwckJ1bZrq6dNKlmwlyRNYM6ypaRTdXWGOE2c1/SCa6dL/HimhPulGhZKw9W0QhREM583F/t0vQ==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-wrap-function": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-replace-supers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.15.4.tgz", - "integrity": "sha512-/ztT6khaXF37MS47fufrKvIsiQkx1LBRvSJNzRqmbyeZnTwU9qBxXYLaaT/6KaxfKhjs2Wy8kG8ZdsFUuWBjzw==", - "dev": true, - "dependencies": { - "@babel/helper-member-expression-to-functions": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.15.4.tgz", - "integrity": "sha512-UzazrDoIVOZZcTeHHEPYrr1MvTR/K+wgLg6MY6e1CJyaRhbibftF6fR2KU2sFRtI/nERUZR9fBd6aKgBlIBaPg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.15.4.tgz", - "integrity": "sha512-BMRLsdh+D1/aap19TycS4eD1qELGrCBJwzaY9IE8LrpJtJb+H7rQkPIdsfgnMtLBA6DJls7X9z93Z4U8h7xw0A==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", - "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.15.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", - "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz", - "integrity": "sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-wrap-function": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.15.4.tgz", - "integrity": "sha512-Y2o+H/hRV5W8QhIfTpRIBwl57y8PrZt6JM3V8FOo5qarjshHItyH5lXlpMfBfmBefOqSCpKZs/6Dxqp0E/U+uw==", - "dev": true, - "dependencies": { - "@babel/helper-function-name": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.15.4.tgz", - "integrity": "sha512-V45u6dqEJ3w2rlryYYXf6i9rQ5YMNu4FLS6ngs8ikblhu2VdR1AqAd6aJjBzmf2Qzh6KOLqKHxEN9+TFbAkAVQ==", - "dev": true, - "dependencies": { - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.14.5", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/node": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/node/-/node-7.15.8.tgz", - "integrity": "sha512-JbgTCrnx6IUECznEbQ7e2rbVYtrXKixSbEG2bxxbMkV648WdUf3tdc+ZUW2++dvnnAswcpwc76cRwf0xEQqsrw==", - "dev": true, - "dependencies": { - "@babel/register": "^7.15.3", - "commander": "^4.0.1", - "core-js": "^3.16.0", - "node-environment-flags": "^1.0.5", - "regenerator-runtime": "^0.13.4", - "v8flags": "^3.1.1" - }, - "bin": { - "babel-node": "bin/babel-node.js" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/parser": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", - "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", - "dev": true, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.15.4.tgz", - "integrity": "sha512-eBnpsl9tlhPhpI10kU06JHnrYXwg3+V6CaP2idsCXNef0aeslpqyITXQ74Vfk5uHgY7IG7XP0yIH8b42KSzHog==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.15.4", - "@babel/plugin-proposal-optional-chaining": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.13.0" - } - }, - "node_modules/@babel/plugin-external-helpers": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-external-helpers/-/plugin-external-helpers-7.14.5.tgz", - "integrity": "sha512-q/B/hLX+nDGk73Xn529d7Ar4ih17J8pNBbsXafq8oXij0XfFEA/bks+u+6q5q04zO5o/qivjzui6BqzPfYShEg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-async-generator-functions": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.15.8.tgz", - "integrity": "sha512-2Z5F2R2ibINTc63mY7FLqGfEbmofrHU9FitJW1Q7aPaKFhiPvSq6QEt/BoWN5oME3GVyjcRuNNSRbb9LC0CSWA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-remap-async-to-generator": "^7.15.4", - "@babel/plugin-syntax-async-generators": "^7.8.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-class-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.14.5.tgz", - "integrity": "sha512-q/PLpv5Ko4dVc1LYMpCY7RVAAO4uk55qPwrIuJ5QJ8c6cVuAmhu7I/49JOppXL6gXf7ZHzpRVEUZdYoPLM04Gg==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-class-static-block": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.15.4.tgz", - "integrity": "sha512-M682XWrrLNk3chXCjoPUQWOyYsB93B9z3mRyjtqqYJWDf2mfCdIYgDrA11cgNVhAQieaq6F2fn2f3wI0U4aTjA==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-class-static-block": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.12.0" - } - }, - "node_modules/@babel/plugin-proposal-dynamic-import": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.14.5.tgz", - "integrity": "sha512-ExjiNYc3HDN5PXJx+bwC50GIx/KKanX2HiggnIUAYedbARdImiCU4RhhHfdf0Kd7JNXGpsBBBCOm+bBVy3Gb0g==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-export-namespace-from": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.14.5.tgz", - "integrity": "sha512-g5POA32bXPMmSBu5Dx/iZGLGnKmKPc5AiY7qfZgurzrCYgIztDlHFbznSNCoQuv57YQLnQfaDi7dxCtLDIdXdA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-json-strings": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.14.5.tgz", - "integrity": "sha512-NSq2fczJYKVRIsUJyNxrVUMhB27zb7N7pOFGQOhBKJrChbGcgEAqyZrmZswkPk18VMurEeJAaICbfm57vUeTbQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-json-strings": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.14.5.tgz", - "integrity": "sha512-YGn2AvZAo9TwyhlLvCCWxD90Xq8xJ4aSgaX3G5D/8DW94L8aaT+dS5cSP+Z06+rCJERGSr9GxMBZ601xoc2taw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.14.5.tgz", - "integrity": "sha512-gun/SOnMqjSb98Nkaq2rTKMwervfdAoz6NphdY0vTfuzMfryj+tDGb2n6UkDKwez+Y8PZDhE3D143v6Gepp4Hg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-numeric-separator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.14.5.tgz", - "integrity": "sha512-yiclALKe0vyZRZE0pS6RXgjUOt87GWv6FYa5zqj15PvhOGFO69R5DusPlgK/1K5dVnCtegTiWu9UaBSrLLJJBg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-numeric-separator": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-object-rest-spread": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.15.6.tgz", - "integrity": "sha512-qtOHo7A1Vt+O23qEAX+GdBpqaIuD3i9VRrWgCJeq7WO6H2d14EK3q11urj5Te2MAeK97nMiIdRpwd/ST4JFbNg==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-compilation-targets": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-optional-catch-binding": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.14.5.tgz", - "integrity": "sha512-3Oyiixm0ur7bzO5ybNcZFlmVsygSIQgdOa7cTfOYCMY+wEPAYhZAJxi3mixKFCTCKUhQXuCTtQ1MzrpL3WT8ZQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-optional-chaining": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.14.5.tgz", - "integrity": "sha512-ycz+VOzo2UbWNI1rQXxIuMOzrDdHGrI23fRiz/Si2R4kv2XZQ1BK8ccdHwehMKBlcH/joGW/tzrUmo67gbJHlQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.14.5", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-private-methods": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.14.5.tgz", - "integrity": "sha512-838DkdUA1u+QTCplatfq4B7+1lnDa/+QMI89x5WZHBcnNv+47N8QEj2k9I2MUU9xIv8XJ4XvPCviM/Dj7Uwt9g==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-private-property-in-object": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.15.4.tgz", - "integrity": "sha512-X0UTixkLf0PCCffxgu5/1RQyGGbgZuKoI+vXP4iSbJSYwPb7hu06omsFGBvQ9lJEvwgrxHdS8B5nbfcd8GyUNA==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-create-class-features-plugin": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-unicode-property-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.14.5.tgz", - "integrity": "sha512-6axIeOU5LnY471KenAB9vI8I5j7NQ2d652hIYwVyRfgaZT5UpiqFKCuVXCDMSrU+3VFafnu2c5m3lrWIlr6A5Q==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", - "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-dynamic-import": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", - "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-export-namespace-from": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", - "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-flow": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.14.5.tgz", - "integrity": "sha512-9WK5ZwKCdWHxVuU13XNT6X73FGmutAXeor5lGFq6qhOFtMFUF4jkbijuyUdZZlpYq6E2hZeZf/u3959X9wsv0Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.14.5.tgz", - "integrity": "sha512-u6OXzDaIXjEstBRRoBCQ/uKQKlbuaeE5in0RvWdA4pN6AhqxTIwUsnHPU1CFZA/amYObMsuWhYfRl3Ch90HD0Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.14.5.tgz", - "integrity": "sha512-KOnO0l4+tD5IfOdi4x8C1XmEIRWUjNRV8wc6K2vz/3e8yAOoZZvsRXRRIF/yo/MAOFb4QjtAw9xSxMXbSMRy8A==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.14.5.tgz", - "integrity": "sha512-szkbzQ0mNk0rpu76fzDdqSyPu0MuvpXgC+6rz5rpMb5OIRxdmHfQxrktL8CYolL2d8luMCZTR0DpIMIdL27IjA==", - "dev": true, - "dependencies": { - "@babel/helper-module-imports": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-remap-async-to-generator": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.14.5.tgz", - "integrity": "sha512-dtqWqdWZ5NqBX3KzsVCWfQI3A53Ft5pWFCT2eCVUftWZgjc5DpDponbIF1+c+7cSGk2wN0YK7HGL/ezfRbpKBQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.15.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.15.3.tgz", - "integrity": "sha512-nBAzfZwZb4DkaGtOes1Up1nOAp9TDRRFw4XBzBBSG9QK7KVFmYzgj9o9sbPv7TX5ofL4Auq4wZnxCoPnI/lz2Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-classes": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.15.4.tgz", - "integrity": "sha512-Yjvhex8GzBmmPQUvpXRPWQ9WnxXgAFuZSrqOK/eJlOGIXwvv8H3UEdUigl1gb/bnjTrln+e8bkZUYCBt/xYlBg==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.14.5.tgz", - "integrity": "sha512-pWM+E4283UxaVzLb8UBXv4EIxMovU4zxT1OPnpHJcmnvyY9QbPPTKZfEj31EUvG3/EQRbYAGaYEUZ4yWOBC2xg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.14.7.tgz", - "integrity": "sha512-0mDE99nK+kVh3xlc5vKwB6wnP9ecuSj+zQCa/n0voENtP/zymdT4HH6QEb65wjjcbqr1Jb/7z9Qp7TF5FtwYGw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.14.5.tgz", - "integrity": "sha512-loGlnBdj02MDsFaHhAIJzh7euK89lBrGIdM9EAtHFo6xKygCUGuuWe07o1oZVk287amtW1n0808sQM99aZt3gw==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.14.5.tgz", - "integrity": "sha512-iJjbI53huKbPDAsJ8EmVmvCKeeq21bAze4fu9GBQtSLqfvzj2oRuHVx4ZkDwEhg1htQ+5OBZh/Ab0XDf5iBZ7A==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.14.5.tgz", - "integrity": "sha512-jFazJhMBc9D27o9jDnIE5ZErI0R0m7PbKXVq77FFvqFbzvTMuv8jaAwLZ5PviOLSFttqKIW0/wxNSDbjLk0tYA==", - "dev": true, - "dependencies": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-flow-strip-types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.14.5.tgz", - "integrity": "sha512-KhcolBKfXbvjwI3TV7r7TkYm8oNXHNBqGOy6JDVwtecFaRoKYsUUqJdS10q0YDKW1c6aZQgO+Ys3LfGkox8pXA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-flow": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-for-of": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.15.4.tgz", - "integrity": "sha512-DRTY9fA751AFBDh2oxydvVm4SYevs5ILTWLs6xKXps4Re/KG5nfUkr+TdHCrRWB8C69TlzVgA9b3RmGWmgN9LA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.14.5.tgz", - "integrity": "sha512-vbO6kv0fIzZ1GpmGQuvbwwm+O4Cbm2NrPzwlup9+/3fdkuzo1YqOZcXw26+YUJB84Ja7j9yURWposEHLYwxUfQ==", - "dev": true, - "dependencies": { - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.14.5.tgz", - "integrity": "sha512-ql33+epql2F49bi8aHXxvLURHkxJbSmMKl9J5yHqg4PLtdE6Uc48CH1GS6TQvZ86eoB/ApZXwm7jlA+B3kra7A==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.14.5.tgz", - "integrity": "sha512-WkNXxH1VXVTKarWFqmso83xl+2V3Eo28YY5utIkbsmXoItO8Q3aZxN4BTS2k0hz9dGUloHK26mJMyQEYfkn/+Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.14.5.tgz", - "integrity": "sha512-3lpOU8Vxmp3roC4vzFpSdEpGUWSMsHFreTWOMMLzel2gNGfHE5UWIh/LN6ghHs2xurUp4jRFYMUIZhuFbody1g==", - "dev": true, - "dependencies": { - "@babel/helper-module-transforms": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5", - "babel-plugin-dynamic-import-node": "^2.3.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.15.4.tgz", - "integrity": "sha512-qg4DPhwG8hKp4BbVDvX1s8cohM8a6Bvptu4l6Iingq5rW+yRUAhe/YRup/YcW2zCOlrysEWVhftIcKzrEZv3sA==", - "dev": true, - "dependencies": { - "@babel/helper-module-transforms": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-simple-access": "^7.15.4", - "babel-plugin-dynamic-import-node": "^2.3.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.15.4.tgz", - "integrity": "sha512-fJUnlQrl/mezMneR72CKCgtOoahqGJNVKpompKwzv3BrEXdlPspTcyxrZ1XmDTIr9PpULrgEQo3qNKp6dW7ssw==", - "dev": true, - "dependencies": { - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-module-transforms": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-identifier": "^7.14.9", - "babel-plugin-dynamic-import-node": "^2.3.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.14.5.tgz", - "integrity": "sha512-RfPGoagSngC06LsGUYyM9QWSXZ8MysEjDJTAea1lqRjNECE3y0qIJF/qbvJxc4oA4s99HumIMdXOrd+TdKaAAA==", - "dev": true, - "dependencies": { - "@babel/helper-module-transforms": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.14.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.14.9.tgz", - "integrity": "sha512-l666wCVYO75mlAtGFfyFwnWmIXQm3kSH0C3IRnJqWcZbWkoihyAdDhFm2ZWaxWTqvBvhVFfJjMRQ0ez4oN1yYA==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/plugin-transform-new-target": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.14.5.tgz", - "integrity": "sha512-Nx054zovz6IIRWEB49RDRuXGI4Gy0GMgqG0cII9L3MxqgXz/+rgII+RU58qpo4g7tNEx1jG7rRVH4ihZoP4esQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-object-super": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.14.5.tgz", - "integrity": "sha512-MKfOBWzK0pZIrav9z/hkRqIk/2bTv9qvxHzPQc12RcVkMOzpIKnFCNYJip00ssKWYkd8Sf5g0Wr7pqJ+cmtuFg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-replace-supers": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-parameters": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.15.4.tgz", - "integrity": "sha512-9WB/GUTO6lvJU3XQsSr6J/WKvBC2hcs4Pew8YxZagi6GkTdniyqp8On5kqdK8MN0LMeu0mGbhPN+O049NV/9FQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.14.5.tgz", - "integrity": "sha512-r1uilDthkgXW8Z1vJz2dKYLV1tuw2xsbrp3MrZmD99Wh9vsfKoob+JTgri5VUb/JqyKRXotlOtwgu4stIYCmnw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.14.5.tgz", - "integrity": "sha512-NVIY1W3ITDP5xQl50NgTKlZ0GrotKtLna08/uGY6ErQt6VEQZXla86x/CTddm5gZdcr+5GSsvMeTmWA5Ii6pkg==", - "dev": true, - "dependencies": { - "regenerator-transform": "^0.14.2" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.14.5.tgz", - "integrity": "sha512-cv4F2rv1nD4qdexOGsRQXJrOcyb5CrgjUH9PKrrtyhSDBNWGxd0UIitjyJiWagS+EbUGjG++22mGH1Pub8D6Vg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-runtime": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.15.8.tgz", - "integrity": "sha512-+6zsde91jMzzvkzuEA3k63zCw+tm/GvuuabkpisgbDMTPQsIMHllE3XczJFFtEHLjjhKQFZmGQVRdELetlWpVw==", - "dev": true, - "dependencies": { - "@babel/helper-module-imports": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "babel-plugin-polyfill-corejs2": "^0.2.2", - "babel-plugin-polyfill-corejs3": "^0.2.5", - "babel-plugin-polyfill-regenerator": "^0.2.2", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.14.5.tgz", - "integrity": "sha512-xLucks6T1VmGsTB+GWK5Pl9Jl5+nRXD1uoFdA5TSO6xtiNjtXTjKkmPdFXVLGlK5A2/or/wQMKfmQ2Y0XJfn5g==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-spread": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.15.8.tgz", - "integrity": "sha512-/daZ8s2tNaRekl9YJa9X4bzjpeRZLt122cpgFnQPLGUe61PH8zMEBmYqKkW5xF5JUEh5buEGXJoQpqBmIbpmEQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.14.5.tgz", - "integrity": "sha512-Z7F7GyvEMzIIbwnziAZmnSNpdijdr4dWt+FJNBnBLz5mwDFkqIXU9wmBcWWad3QeJF5hMTkRe4dAq2sUZiG+8A==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-template-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.14.5.tgz", - "integrity": "sha512-22btZeURqiepOfuy/VkFr+zStqlujWaarpMErvay7goJS6BWwdd6BY9zQyDLDa4x2S3VugxFb162IZ4m/S/+Gg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.14.5.tgz", - "integrity": "sha512-lXzLD30ffCWseTbMQzrvDWqljvZlHkXU+CnseMhkMNqU1sASnCsz3tSzAaH3vCUXb9PHeUb90ZT1BdFTm1xxJw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-typescript": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.15.8.tgz", - "integrity": "sha512-ZXIkJpbaf6/EsmjeTbiJN/yMxWPFWvlr7sEG1P95Xb4S4IBcrf2n7s/fItIhsAmOf8oSh3VJPDppO6ExfAfKRQ==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-typescript": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.14.5.tgz", - "integrity": "sha512-crTo4jATEOjxj7bt9lbYXcBAM3LZaUrbP2uUdxb6WIorLmjNKSpHfIybgY4B8SRpbf8tEVIWH3Vtm7ayCrKocA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.14.5.tgz", - "integrity": "sha512-UygduJpC5kHeCiRw/xDVzC+wj8VaYSoKl5JNVmbP7MadpNinAm3SvZCxZ42H37KZBKztz46YC73i9yV34d0Tzw==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-env": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.15.8.tgz", - "integrity": "sha512-rCC0wH8husJgY4FPbHsiYyiLxSY8oMDJH7Rl6RQMknbN9oDDHhM9RDFvnGM2MgkbUJzSQB4gtuwygY5mCqGSsA==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-compilation-targets": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.15.4", - "@babel/plugin-proposal-async-generator-functions": "^7.15.8", - "@babel/plugin-proposal-class-properties": "^7.14.5", - "@babel/plugin-proposal-class-static-block": "^7.15.4", - "@babel/plugin-proposal-dynamic-import": "^7.14.5", - "@babel/plugin-proposal-export-namespace-from": "^7.14.5", - "@babel/plugin-proposal-json-strings": "^7.14.5", - "@babel/plugin-proposal-logical-assignment-operators": "^7.14.5", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5", - "@babel/plugin-proposal-numeric-separator": "^7.14.5", - "@babel/plugin-proposal-object-rest-spread": "^7.15.6", - "@babel/plugin-proposal-optional-catch-binding": "^7.14.5", - "@babel/plugin-proposal-optional-chaining": "^7.14.5", - "@babel/plugin-proposal-private-methods": "^7.14.5", - "@babel/plugin-proposal-private-property-in-object": "^7.15.4", - "@babel/plugin-proposal-unicode-property-regex": "^7.14.5", - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-transform-arrow-functions": "^7.14.5", - "@babel/plugin-transform-async-to-generator": "^7.14.5", - "@babel/plugin-transform-block-scoped-functions": "^7.14.5", - "@babel/plugin-transform-block-scoping": "^7.15.3", - "@babel/plugin-transform-classes": "^7.15.4", - "@babel/plugin-transform-computed-properties": "^7.14.5", - "@babel/plugin-transform-destructuring": "^7.14.7", - "@babel/plugin-transform-dotall-regex": "^7.14.5", - "@babel/plugin-transform-duplicate-keys": "^7.14.5", - "@babel/plugin-transform-exponentiation-operator": "^7.14.5", - "@babel/plugin-transform-for-of": "^7.15.4", - "@babel/plugin-transform-function-name": "^7.14.5", - "@babel/plugin-transform-literals": "^7.14.5", - "@babel/plugin-transform-member-expression-literals": "^7.14.5", - "@babel/plugin-transform-modules-amd": "^7.14.5", - "@babel/plugin-transform-modules-commonjs": "^7.15.4", - "@babel/plugin-transform-modules-systemjs": "^7.15.4", - "@babel/plugin-transform-modules-umd": "^7.14.5", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.14.9", - "@babel/plugin-transform-new-target": "^7.14.5", - "@babel/plugin-transform-object-super": "^7.14.5", - "@babel/plugin-transform-parameters": "^7.15.4", - "@babel/plugin-transform-property-literals": "^7.14.5", - "@babel/plugin-transform-regenerator": "^7.14.5", - "@babel/plugin-transform-reserved-words": "^7.14.5", - "@babel/plugin-transform-shorthand-properties": "^7.14.5", - "@babel/plugin-transform-spread": "^7.15.8", - "@babel/plugin-transform-sticky-regex": "^7.14.5", - "@babel/plugin-transform-template-literals": "^7.14.5", - "@babel/plugin-transform-typeof-symbol": "^7.14.5", - "@babel/plugin-transform-unicode-escapes": "^7.14.5", - "@babel/plugin-transform-unicode-regex": "^7.14.5", - "@babel/preset-modules": "^0.1.4", - "@babel/types": "^7.15.6", - "babel-plugin-polyfill-corejs2": "^0.2.2", - "babel-plugin-polyfill-corejs3": "^0.2.5", - "babel-plugin-polyfill-regenerator": "^0.2.2", - "core-js-compat": "^3.16.0", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-flow": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/preset-flow/-/preset-flow-7.14.5.tgz", - "integrity": "sha512-pP5QEb4qRUSVGzzKx9xqRuHUrM/jEzMqdrZpdMA+oUCRgd5zM1qGr5y5+ZgAL/1tVv1H0dyk5t4SKJntqyiVtg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-transform-flow-strip-types": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-modules": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.4.tgz", - "integrity": "sha512-J36NhwnfdzpmH41M1DrnkkgAqhZaqr/NBdPfQ677mLzlaXo+oDiv1deyCDtgAhz8p328otdob0Du7+xgHGZbKg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", - "@babel/plugin-transform-dotall-regex": "^7.4.4", - "@babel/types": "^7.4.4", - "esutils": "^2.0.2" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-typescript": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.15.0.tgz", - "integrity": "sha512-lt0Y/8V3y06Wq/8H/u0WakrqciZ7Fz7mwPDHWUJAXlABL5hiUG42BNlRXiELNjeWjO5rWmnNKlx+yzJvxezHow==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-transform-typescript": "^7.15.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/register": { - "version": "7.15.3", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.15.3.tgz", - "integrity": "sha512-mj4IY1ZJkorClxKTImccn4T81+UKTo4Ux0+OFSV9hME1ooqS9UV+pJ6BjD0qXPK4T3XW/KNa79XByjeEMZz+fw==", - "dev": true, - "dependencies": { - "clone-deep": "^4.0.1", - "find-cache-dir": "^2.0.0", - "make-dir": "^2.1.0", - "pirates": "^4.0.0", - "source-map-support": "^0.5.16" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/runtime": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.15.4.tgz", - "integrity": "sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==", - "dependencies": { - "regenerator-runtime": "^0.13.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/template": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", - "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", - "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4", - "debug": "^4.1.0", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse/node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@babel/traverse/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.14.9", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@m3o/m3o-node": { - "version": "0.0.24", - "resolved": "https://registry.npmjs.org/@m3o/m3o-node/-/m3o-node-0.0.24.tgz", - "integrity": "sha512-W6VqmZUTFodwBUai5uQ9nO4ylIztUXKYPFfZg2qqTv1lHkOYQ0XiJgFVn+SEOlp4GU/JI9OzCt4k1Ui5XaXGdw==", - "dependencies": { - "@types/ws": "^7.2.2", - "axios": "^0.21.1", - "body-parser": "^1.19.0", - "dotenv": "^10.0.0", - "jsonfile": "^6.1.0", - "ws": "^7.2.3" - } - }, - "node_modules/@nicolo-ribaudo/chokidar-2": { - "version": "2.1.8-no-fsevents.3", - "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz", - "integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==", - "dev": true, - "optional": true - }, - "node_modules/@rollup/plugin-babel": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.0.tgz", - "integrity": "sha512-9uIC8HZOnVLrLHxayq/PTzw+uS25E14KPUBh5ktF+18Mjo5yK0ToMMx6epY0uEgkjwJw0aBW4x2horYXh8juWw==", - "dev": true, - "dependencies": { - "@babel/helper-module-imports": "^7.10.4", - "@rollup/pluginutils": "^3.1.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0", - "@types/babel__core": "^7.1.9", - "rollup": "^1.20.0||^2.0.0" - }, - "peerDependenciesMeta": { - "@types/babel__core": { - "optional": true - } - } - }, - "node_modules/@rollup/plugin-node-resolve": { - "version": "13.0.6", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.0.6.tgz", - "integrity": "sha512-sFsPDMPd4gMqnh2gS0uIxELnoRUp5kBl5knxD2EO0778G1oOJv4G1vyT2cpWz75OU2jDVcXhjVUuTAczGyFNKA==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "^3.1.0", - "@types/resolve": "1.17.1", - "builtin-modules": "^3.1.0", - "deepmerge": "^4.2.2", - "is-module": "^1.0.0", - "resolve": "^1.19.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "peerDependencies": { - "rollup": "^2.42.0" - } - }, - "node_modules/@rollup/plugin-replace": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-3.0.0.tgz", - "integrity": "sha512-3c7JCbMuYXM4PbPWT4+m/4Y6U60SgsnDT/cCyAyUKwFHg7pTSfsSQzIpETha3a3ig6OdOKzZz87D9ZXIK3qsDg==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "^3.1.0", - "magic-string": "^0.25.7" - }, - "peerDependencies": { - "rollup": "^1.20.0 || ^2.0.0" - } - }, - "node_modules/@rollup/pluginutils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", - "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", - "dev": true, - "dependencies": { - "@types/estree": "0.0.39", - "estree-walker": "^1.0.1", - "picomatch": "^2.2.2" - }, - "engines": { - "node": ">= 8.0.0" - }, - "peerDependencies": { - "rollup": "^1.20.0||^2.0.0" - } - }, - "node_modules/@types/estree": { - "version": "0.0.39", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", - "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", - "dev": true - }, - "node_modules/@types/node": { - "version": "16.7.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.10.tgz", - "integrity": "sha512-S63Dlv4zIPb8x6MMTgDq5WWRJQe56iBEY0O3SOFA9JrRienkOVDXSXBjjJw6HTNQYSE2JI6GMCR6LVbIMHJVvA==" - }, - "node_modules/@types/resolve": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", - "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/ws": { - "version": "7.4.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", - "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dev": true, - "optional": true, - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "dependencies": { - "follow-redirects": "^1.10.0" - } - }, - "node_modules/babel-plugin-dynamic-import-node": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", - "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", - "dev": true, - "dependencies": { - "object.assign": "^4.1.0" - } - }, - "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.2.2.tgz", - "integrity": "sha512-kISrENsJ0z5dNPq5eRvcctITNHYXWOA4DUZRFYCz3jYCcvTb/A546LIddmoGNMVYg2U38OyFeNosQwI9ENTqIQ==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.13.11", - "@babel/helper-define-polyfill-provider": "^0.2.2", - "semver": "^6.1.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.5.tgz", - "integrity": "sha512-ninF5MQNwAX9Z7c9ED+H2pGt1mXdP4TqzlHKyPIYmJIYz0N+++uwdM7RnJukklhzJ54Q84vA4ZJkgs7lu5vqcw==", - "dev": true, - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.2.2", - "core-js-compat": "^3.16.2" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.2.2.tgz", - "integrity": "sha512-Goy5ghsc21HgPDFtzRkSirpZVW35meGoTmTOb2bxqdl60ghub4xOidgNTHaZfQ2FaxQsKmwvXtOAkcIS4SMBWg==", - "dev": true, - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.2.2" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true, - "optional": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", - "dependencies": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "optional": true, - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browserslist": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.17.4.tgz", - "integrity": "sha512-Zg7RpbZpIJRW3am9Lyckue7PLytvVxxhJj1CaJVlCWENsGEAOlnlt8X0ZxGRPp7Bt9o8tIRM5SEXy4BCPMJjLQ==", - "dev": true, - "dependencies": { - "caniuse-lite": "^1.0.30001265", - "electron-to-chromium": "^1.3.867", - "escalade": "^3.1.1", - "node-releases": "^2.0.0", - "picocolors": "^1.0.0" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "node_modules/builtin-modules": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.2.0.tgz", - "integrity": "sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==", - "dev": true, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001270", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001270.tgz", - "integrity": "sha512-TcIC7AyNWXhcOmv2KftOl1ShFAaHQYcB/EPL/hEyMrcS7ZX0/DvV1aoy6BzV0+16wTpoAyTMGDNAJfSqS/rz7A==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/chokidar": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", - "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", - "dev": true, - "optional": true, - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/clone-deep": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", - "dev": true, - "dependencies": { - "is-plain-object": "^2.0.4", - "kind-of": "^6.0.2", - "shallow-clone": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "node_modules/commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", - "dev": true - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "node_modules/content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/convert-source-map": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", - "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.1.1" - } - }, - "node_modules/core-js": { - "version": "3.18.3", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.18.3.tgz", - "integrity": "sha512-tReEhtMReZaPFVw7dajMx0vlsz3oOb8ajgPoHVYGxr8ErnZ6PcYEvvmjGmXlfpnxpkYSdOQttjB+MvVbCGfvLw==", - "dev": true, - "hasInstallScript": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, - "node_modules/core-js-compat": { - "version": "3.18.3", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.18.3.tgz", - "integrity": "sha512-4zP6/y0a2RTHN5bRGT7PTq9lVt3WzvffTNjqnTKsXhkAYNDTkdCLOIfAdOLcQ/7TDdyRj3c+NeHe1NmF1eDScw==", - "dev": true, - "dependencies": { - "browserslist": "^4.17.3", - "semver": "7.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, - "node_modules/core-js-compat/node_modules/semver": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", - "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, - "dependencies": { - "object-keys": "^1.0.12" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/dotenv": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz", - "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==", - "engines": { - "node": ">=10" - } - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "node_modules/electron-to-chromium": { - "version": "1.3.873", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.873.tgz", - "integrity": "sha512-TiHlCgl2uP26Z0c67u442c0a2MZCWZNCRnPTQDPhVJ4h9G6z2zU0lApD9H0K9R5yFL5SfdaiVsVD2izOY24xBQ==", - "dev": true - }, - "node_modules/es-abstract": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", - "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.1.1", - "get-symbol-description": "^1.0.0", - "has": "^1.0.3", - "has-symbols": "^1.0.2", - "internal-slot": "^1.0.3", - "is-callable": "^1.2.4", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.1", - "is-string": "^1.0.7", - "is-weakref": "^1.0.1", - "object-inspect": "^1.11.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.4", - "string.prototype.trimstart": "^1.0.4", - "unbox-primitive": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/estree-walker": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", - "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", - "dev": true - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "optional": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "dependencies": { - "locate-path": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/follow-redirects": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz", - "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/fs-extra/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "dev": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/fs-extra/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/fs-readdir-recursive": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", - "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", - "dev": true - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "optional": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", - "devOptional": true - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-bigints": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", - "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "dev": true, - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/homedir-polyfill": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", - "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", - "dev": true, - "dependencies": { - "parse-passwd": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", - "dependencies": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "node_modules/internal-slot": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", - "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", - "dev": true, - "dependencies": { - "get-intrinsic": "^1.1.0", - "has": "^1.0.3", - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "dev": true, - "dependencies": { - "has-bigints": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "optional": true, - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-callable": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", - "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-core-module": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", - "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", - "dev": true, - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "optional": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", - "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", - "dev": true - }, - "node_modules/is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-number-object": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", - "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-shared-array-buffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", - "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dev": true, - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-weakref": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.1.tgz", - "integrity": "sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-worker": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", - "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", - "dev": true, - "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^7.0.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/jest-worker/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dev": true, - "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", - "dev": true - }, - "node_modules/magic-string": { - "version": "0.25.7", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.7.tgz", - "integrity": "sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==", - "dev": true, - "dependencies": { - "sourcemap-codec": "^1.4.4" - } - }, - "node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/make-dir/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "node_modules/mime-db": { - "version": "1.49.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", - "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.32", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", - "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", - "dependencies": { - "mime-db": "1.49.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - }, - "node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/node-environment-flags": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz", - "integrity": "sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw==", - "dev": true, - "dependencies": { - "object.getownpropertydescriptors": "^2.0.3", - "semver": "^5.7.0" - } - }, - "node_modules/node-environment-flags/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/node-modules-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz", - "integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/node-releases": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.0.tgz", - "integrity": "sha512-aA87l0flFYMzCHpTM3DERFSYxc6lv/BltdbRTOMZuxZ0cwZCD3mejE5n9vLhSJCN++/eOqr77G1IO5uXxlQYWA==", - "dev": true - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-inspect": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", - "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.getownpropertydescriptors": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.3.tgz", - "integrity": "sha512-VdDoCwvJI4QdC6ndjpqFmoL3/+HxffFBbcJzKi5hwLLqqx3mdbedRpfZDdK0SrOSauj8X4GzBvnDZl4vTN7dOw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - }, - "engines": { - "node": ">= 0.8" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-passwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", - "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true - }, - "node_modules/picomatch": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", - "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/pirates": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz", - "integrity": "sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA==", - "dev": true, - "dependencies": { - "node-modules-regexp": "^1.0.0" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "dependencies": { - "find-up": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/prettier": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.1.tgz", - "integrity": "sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==", - "dev": true, - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "dependencies": { - "safe-buffer": "^5.1.0" - } - }, - "node_modules/raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "dependencies": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "optional": true, - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/regenerate": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", - "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", - "dev": true - }, - "node_modules/regenerate-unicode-properties": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-9.0.0.tgz", - "integrity": "sha512-3E12UeNSPfjrgwjkR81m5J7Aw/T55Tu7nUyZVQYCKEOs+2dkxEY+DpPtZzO4YruuiPb7NkYLVcyJC4+zCbk5pA==", - "dev": true, - "dependencies": { - "regenerate": "^1.4.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" - }, - "node_modules/regenerator-transform": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz", - "integrity": "sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.8.4" - } - }, - "node_modules/regexpu-core": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.8.0.tgz", - "integrity": "sha512-1F6bYsoYiz6is+oz70NWur2Vlh9KWtswuRuzJOfeYUrfPX2o8n74AnUVaOGDbUqVGO9fNHu48/pjJO4sNVwsOg==", - "dev": true, - "dependencies": { - "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^9.0.0", - "regjsgen": "^0.5.2", - "regjsparser": "^0.7.0", - "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/regjsgen": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz", - "integrity": "sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==", - "dev": true - }, - "node_modules/regjsparser": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.7.0.tgz", - "integrity": "sha512-A4pcaORqmNMDVwUjWoTzuhwMGpP+NykpfqAsEgI1FSH/EzC7lrN5TMd+kN8YCovX+jMpu8eaqXgXPCa0g8FQNQ==", - "dev": true, - "dependencies": { - "jsesc": "~0.5.0" - }, - "bin": { - "regjsparser": "bin/parser" - } - }, - "node_modules/regjsparser/node_modules/jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - } - }, - "node_modules/resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dev": true, - "dependencies": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/rollup": { - "version": "2.58.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.58.0.tgz", - "integrity": "sha512-NOXpusKnaRpbS7ZVSzcEXqxcLDOagN6iFS8p45RkoiMqPHDLwJm758UF05KlMoCRbLBTZsPOIa887gZJ1AiXvw==", - "dev": true, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=10.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/rollup-plugin-terser": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", - "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.10.4", - "jest-worker": "^26.2.1", - "serialize-javascript": "^4.0.0", - "terser": "^5.0.0" - }, - "peerDependencies": { - "rollup": "^2.0.0" - } - }, - "node_modules/rollup-plugin-typescript2": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.30.0.tgz", - "integrity": "sha512-NUFszIQyhgDdhRS9ya/VEmsnpTe+GERDMmFo0Y+kf8ds51Xy57nPNGglJY+W6x1vcouA7Au7nsTgsLFj2I0PxQ==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "^4.1.0", - "find-cache-dir": "^3.3.1", - "fs-extra": "8.1.0", - "resolve": "1.20.0", - "tslib": "2.1.0" - }, - "peerDependencies": { - "rollup": ">=1.26.3", - "typescript": ">=2.4.0" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/@rollup/pluginutils": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.1.1.tgz", - "integrity": "sha512-clDjivHqWGXi7u+0d2r2sBi4Ie6VLEAzWMIkvJLnDmxoOhBYOTfzGbOQBA32THHm11/LiJbd01tJUpJsbshSWQ==", - "dev": true, - "dependencies": { - "estree-walker": "^2.0.1", - "picomatch": "^2.2.2" - }, - "engines": { - "node": ">= 8.0.0" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "dev": true - }, - "node_modules/rollup-plugin-typescript2/node_modules/find-cache-dir": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", - "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", - "dev": true, - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/avajs/find-cache-dir?sponsor=1" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, - "node_modules/shallow-clone": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", - "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.20", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.20.tgz", - "integrity": "sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==", - "dev": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/source-map-support/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sourcemap-codec": { - "version": "1.4.8", - "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", - "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", - "dev": true - }, - "node_modules/statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", - "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", - "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/terser": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.9.0.tgz", - "integrity": "sha512-h5hxa23sCdpzcye/7b8YqbE5OwKca/ni0RQz1uRX3tGh8haaGHqcuSqbGRybuAKNdntZ0mDgFNXPJ48xQ2RXKQ==", - "dev": true, - "dependencies": { - "commander": "^2.20.0", - "source-map": "~0.7.2", - "source-map-support": "~0.5.20" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/terser/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "node_modules/terser/node_modules/source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "optional": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==", - "dev": true - }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/typescript": { - "version": "3.9.10", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", - "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/unbox-primitive": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", - "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "has-bigints": "^1.0.1", - "has-symbols": "^1.0.2", - "which-boxed-primitive": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", - "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", - "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", - "dev": true, - "dependencies": { - "unicode-canonical-property-names-ecmascript": "^2.0.0", - "unicode-property-aliases-ecmascript": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", - "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-property-aliases-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", - "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/v8flags": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.2.0.tgz", - "integrity": "sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==", - "dev": true, - "dependencies": { - "homedir-polyfill": "^1.0.1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dev": true, - "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true - }, - "node_modules/ws": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.4.tgz", - "integrity": "sha512-zP9z6GXm6zC27YtspwH99T3qTG7bBFv2VIkeHstMLrLlDJuzA7tQ5ls3OJ1hOGGCzTQPniNJoHXIAOS0Jljohg==", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - } - }, - "dependencies": { - "@babel/cli": { - "version": "7.15.7", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.15.7.tgz", - "integrity": "sha512-YW5wOprO2LzMjoWZ5ZG6jfbY9JnkDxuHDwvnrThnuYtByorova/I0HNXJedrUfwuXFQfYOjcqDA4PU3qlZGZjg==", - "dev": true, - "requires": { - "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3", - "chokidar": "^3.4.0", - "commander": "^4.0.1", - "convert-source-map": "^1.1.0", - "fs-readdir-recursive": "^1.1.0", - "glob": "^7.0.0", - "make-dir": "^2.1.0", - "slash": "^2.0.0", - "source-map": "^0.5.0" - } - }, - "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "requires": { - "@babel/highlight": "^7.14.5" - } - }, - "@babel/compat-data": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.15.0.tgz", - "integrity": "sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA==", - "dev": true - }, - "@babel/core": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.15.8.tgz", - "integrity": "sha512-3UG9dsxvYBMYwRv+gS41WKHno4K60/9GPy1CJaH6xy3Elq8CTtvtjT5R5jmNhXfCYLX2mTw+7/aq5ak/gOE0og==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.15.8", - "@babel/generator": "^7.15.8", - "@babel/helper-compilation-targets": "^7.15.4", - "@babel/helper-module-transforms": "^7.15.8", - "@babel/helpers": "^7.15.4", - "@babel/parser": "^7.15.8", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.6", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.1.2", - "semver": "^6.3.0", - "source-map": "^0.5.0" - }, - "dependencies": { - "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } - } - }, - "@babel/generator": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", - "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", - "dev": true, - "requires": { - "@babel/types": "^7.15.6", - "jsesc": "^2.5.1", - "source-map": "^0.5.0" - } - }, - "@babel/helper-annotate-as-pure": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.15.4.tgz", - "integrity": "sha512-QwrtdNvUNsPCj2lfNQacsGSQvGX8ee1ttrBrcozUP2Sv/jylewBP/8QFe6ZkBsC8T/GYWonNAWJV4aRR9AL2DA==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.15.4.tgz", - "integrity": "sha512-P8o7JP2Mzi0SdC6eWr1zF+AEYvrsZa7GSY1lTayjF5XJhVH0kjLYUZPvTMflP7tBgZoe9gIhTa60QwFpqh/E0Q==", - "dev": true, - "requires": { - "@babel/helper-explode-assignable-expression": "^7.15.4", - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-compilation-targets": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.4.tgz", - "integrity": "sha512-rMWPCirulnPSe4d+gwdWXLfAXTTBj8M3guAf5xFQJ0nvFY7tfNAFnWdqaHegHlgDZOCT4qvhF3BYlSJag8yhqQ==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-validator-option": "^7.14.5", - "browserslist": "^4.16.6", - "semver": "^6.3.0" - } - }, - "@babel/helper-create-class-features-plugin": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.15.4.tgz", - "integrity": "sha512-7ZmzFi+DwJx6A7mHRwbuucEYpyBwmh2Ca0RvI6z2+WLZYCqV0JOaLb+u0zbtmDicebgKBZgqbYfLaKNqSgv5Pw==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-member-expression-to-functions": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4" - } - }, - "@babel/helper-create-regexp-features-plugin": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.14.5.tgz", - "integrity": "sha512-TLawwqpOErY2HhWbGJ2nZT5wSkR192QpN+nBg1THfBfftrlvOh+WbhrxXCH4q4xJ9Gl16BGPR/48JA+Ryiho/A==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "regexpu-core": "^4.7.1" - } - }, - "@babel/helper-define-polyfill-provider": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.2.3.tgz", - "integrity": "sha512-RH3QDAfRMzj7+0Nqu5oqgO5q9mFtQEVvCRsi8qCEfzLR9p2BHfn5FzhSB2oj1fF7I2+DcTORkYaQ6aTR9Cofew==", - "dev": true, - "requires": { - "@babel/helper-compilation-targets": "^7.13.0", - "@babel/helper-module-imports": "^7.12.13", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/traverse": "^7.13.0", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2", - "semver": "^6.1.2" - }, - "dependencies": { - "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } - } - }, - "@babel/helper-explode-assignable-expression": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.15.4.tgz", - "integrity": "sha512-J14f/vq8+hdC2KoWLIQSsGrC9EFBKE4NFts8pfMpymfApds+fPqR30AOUWc4tyr56h9l/GA1Sxv2q3dLZWbQ/g==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-function-name": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", - "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", - "dev": true, - "requires": { - "@babel/helper-get-function-arity": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-get-function-arity": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", - "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-hoist-variables": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.15.4.tgz", - "integrity": "sha512-VTy085egb3jUGVK9ycIxQiPbquesq0HUQ+tPO0uv5mPEBZipk+5FkRKiWq5apuyTE9FUrjENB0rCf8y+n+UuhA==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-member-expression-to-functions": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.4.tgz", - "integrity": "sha512-cokOMkxC/BTyNP1AlY25HuBWM32iCEsLPI4BHDpJCHHm1FU2E7dKWWIXJgQgSFiu4lp8q3bL1BIKwqkSUviqtA==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-module-imports": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.15.4.tgz", - "integrity": "sha512-jeAHZbzUwdW/xHgHQ3QmWR4Jg6j15q4w/gCfwZvtqOxoo5DKtLHk8Bsf4c5RZRC7NmLEs+ohkdq8jFefuvIxAA==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-module-transforms": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.15.8.tgz", - "integrity": "sha512-DfAfA6PfpG8t4S6npwzLvTUpp0sS7JrcuaMiy1Y5645laRJIp/LiLGIBbQKaXSInK8tiGNI7FL7L8UvB8gdUZg==", - "dev": true, - "requires": { - "@babel/helper-module-imports": "^7.15.4", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-simple-access": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/helper-validator-identifier": "^7.15.7", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.6" - } - }, - "@babel/helper-optimise-call-expression": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz", - "integrity": "sha512-E/z9rfbAOt1vDW1DR7k4SzhzotVV5+qMciWV6LaG1g4jeFrkDlJedjtV4h0i4Q/ITnUu+Pk08M7fczsB9GXBDw==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-plugin-utils": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.14.5.tgz", - "integrity": "sha512-/37qQCE3K0vvZKwoK4XU/irIJQdIfCJuhU5eKnNxpFDsOkgFaUAwbv+RYw6eYgsC0E4hS7r5KqGULUogqui0fQ==", - "dev": true - }, - "@babel/helper-remap-async-to-generator": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.15.4.tgz", - "integrity": "sha512-v53MxgvMK/HCwckJ1bZrq6dNKlmwlyRNYM6ypaRTdXWGOE2c1/SCa6dL/HimhPulGhZKw9W0QhREM583F/t0vQ==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-wrap-function": "^7.15.4", - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-replace-supers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.15.4.tgz", - "integrity": "sha512-/ztT6khaXF37MS47fufrKvIsiQkx1LBRvSJNzRqmbyeZnTwU9qBxXYLaaT/6KaxfKhjs2Wy8kG8ZdsFUuWBjzw==", - "dev": true, - "requires": { - "@babel/helper-member-expression-to-functions": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-simple-access": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.15.4.tgz", - "integrity": "sha512-UzazrDoIVOZZcTeHHEPYrr1MvTR/K+wgLg6MY6e1CJyaRhbibftF6fR2KU2sFRtI/nERUZR9fBd6aKgBlIBaPg==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.15.4.tgz", - "integrity": "sha512-BMRLsdh+D1/aap19TycS4eD1qELGrCBJwzaY9IE8LrpJtJb+H7rQkPIdsfgnMtLBA6DJls7X9z93Z4U8h7xw0A==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", - "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.15.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", - "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", - "dev": true - }, - "@babel/helper-validator-option": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz", - "integrity": "sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==", - "dev": true - }, - "@babel/helper-wrap-function": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.15.4.tgz", - "integrity": "sha512-Y2o+H/hRV5W8QhIfTpRIBwl57y8PrZt6JM3V8FOo5qarjshHItyH5lXlpMfBfmBefOqSCpKZs/6Dxqp0E/U+uw==", - "dev": true, - "requires": { - "@babel/helper-function-name": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" - } - }, - "@babel/helpers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.15.4.tgz", - "integrity": "sha512-V45u6dqEJ3w2rlryYYXf6i9rQ5YMNu4FLS6ngs8ikblhu2VdR1AqAd6aJjBzmf2Qzh6KOLqKHxEN9+TFbAkAVQ==", - "dev": true, - "requires": { - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" - } - }, - "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", - "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.14.5", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "@babel/node": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/node/-/node-7.15.8.tgz", - "integrity": "sha512-JbgTCrnx6IUECznEbQ7e2rbVYtrXKixSbEG2bxxbMkV648WdUf3tdc+ZUW2++dvnnAswcpwc76cRwf0xEQqsrw==", - "dev": true, - "requires": { - "@babel/register": "^7.15.3", - "commander": "^4.0.1", - "core-js": "^3.16.0", - "node-environment-flags": "^1.0.5", - "regenerator-runtime": "^0.13.4", - "v8flags": "^3.1.1" - } - }, - "@babel/parser": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", - "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", - "dev": true - }, - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.15.4.tgz", - "integrity": "sha512-eBnpsl9tlhPhpI10kU06JHnrYXwg3+V6CaP2idsCXNef0aeslpqyITXQ74Vfk5uHgY7IG7XP0yIH8b42KSzHog==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.15.4", - "@babel/plugin-proposal-optional-chaining": "^7.14.5" - } - }, - "@babel/plugin-external-helpers": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-external-helpers/-/plugin-external-helpers-7.14.5.tgz", - "integrity": "sha512-q/B/hLX+nDGk73Xn529d7Ar4ih17J8pNBbsXafq8oXij0XfFEA/bks+u+6q5q04zO5o/qivjzui6BqzPfYShEg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-proposal-async-generator-functions": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.15.8.tgz", - "integrity": "sha512-2Z5F2R2ibINTc63mY7FLqGfEbmofrHU9FitJW1Q7aPaKFhiPvSq6QEt/BoWN5oME3GVyjcRuNNSRbb9LC0CSWA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-remap-async-to-generator": "^7.15.4", - "@babel/plugin-syntax-async-generators": "^7.8.4" - } - }, - "@babel/plugin-proposal-class-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.14.5.tgz", - "integrity": "sha512-q/PLpv5Ko4dVc1LYMpCY7RVAAO4uk55qPwrIuJ5QJ8c6cVuAmhu7I/49JOppXL6gXf7ZHzpRVEUZdYoPLM04Gg==", - "dev": true, - "requires": { - "@babel/helper-create-class-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-proposal-class-static-block": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.15.4.tgz", - "integrity": "sha512-M682XWrrLNk3chXCjoPUQWOyYsB93B9z3mRyjtqqYJWDf2mfCdIYgDrA11cgNVhAQieaq6F2fn2f3wI0U4aTjA==", - "dev": true, - "requires": { - "@babel/helper-create-class-features-plugin": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-class-static-block": "^7.14.5" - } - }, - "@babel/plugin-proposal-dynamic-import": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.14.5.tgz", - "integrity": "sha512-ExjiNYc3HDN5PXJx+bwC50GIx/KKanX2HiggnIUAYedbARdImiCU4RhhHfdf0Kd7JNXGpsBBBCOm+bBVy3Gb0g==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" - } - }, - "@babel/plugin-proposal-export-namespace-from": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.14.5.tgz", - "integrity": "sha512-g5POA32bXPMmSBu5Dx/iZGLGnKmKPc5AiY7qfZgurzrCYgIztDlHFbznSNCoQuv57YQLnQfaDi7dxCtLDIdXdA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" - } - }, - "@babel/plugin-proposal-json-strings": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.14.5.tgz", - "integrity": "sha512-NSq2fczJYKVRIsUJyNxrVUMhB27zb7N7pOFGQOhBKJrChbGcgEAqyZrmZswkPk18VMurEeJAaICbfm57vUeTbQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-json-strings": "^7.8.3" - } - }, - "@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.14.5.tgz", - "integrity": "sha512-YGn2AvZAo9TwyhlLvCCWxD90Xq8xJ4aSgaX3G5D/8DW94L8aaT+dS5cSP+Z06+rCJERGSr9GxMBZ601xoc2taw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" - } - }, - "@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.14.5.tgz", - "integrity": "sha512-gun/SOnMqjSb98Nkaq2rTKMwervfdAoz6NphdY0vTfuzMfryj+tDGb2n6UkDKwez+Y8PZDhE3D143v6Gepp4Hg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" - } - }, - "@babel/plugin-proposal-numeric-separator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.14.5.tgz", - "integrity": "sha512-yiclALKe0vyZRZE0pS6RXgjUOt87GWv6FYa5zqj15PvhOGFO69R5DusPlgK/1K5dVnCtegTiWu9UaBSrLLJJBg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-numeric-separator": "^7.10.4" - } - }, - "@babel/plugin-proposal-object-rest-spread": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.15.6.tgz", - "integrity": "sha512-qtOHo7A1Vt+O23qEAX+GdBpqaIuD3i9VRrWgCJeq7WO6H2d14EK3q11urj5Te2MAeK97nMiIdRpwd/ST4JFbNg==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-compilation-targets": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.15.4" - } - }, - "@babel/plugin-proposal-optional-catch-binding": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.14.5.tgz", - "integrity": "sha512-3Oyiixm0ur7bzO5ybNcZFlmVsygSIQgdOa7cTfOYCMY+wEPAYhZAJxi3mixKFCTCKUhQXuCTtQ1MzrpL3WT8ZQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" - } - }, - "@babel/plugin-proposal-optional-chaining": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.14.5.tgz", - "integrity": "sha512-ycz+VOzo2UbWNI1rQXxIuMOzrDdHGrI23fRiz/Si2R4kv2XZQ1BK8ccdHwehMKBlcH/joGW/tzrUmo67gbJHlQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.14.5", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" - } - }, - "@babel/plugin-proposal-private-methods": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.14.5.tgz", - "integrity": "sha512-838DkdUA1u+QTCplatfq4B7+1lnDa/+QMI89x5WZHBcnNv+47N8QEj2k9I2MUU9xIv8XJ4XvPCviM/Dj7Uwt9g==", - "dev": true, - "requires": { - "@babel/helper-create-class-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-proposal-private-property-in-object": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.15.4.tgz", - "integrity": "sha512-X0UTixkLf0PCCffxgu5/1RQyGGbgZuKoI+vXP4iSbJSYwPb7hu06omsFGBvQ9lJEvwgrxHdS8B5nbfcd8GyUNA==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-create-class-features-plugin": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5" - } - }, - "@babel/plugin-proposal-unicode-property-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.14.5.tgz", - "integrity": "sha512-6axIeOU5LnY471KenAB9vI8I5j7NQ2d652hIYwVyRfgaZT5UpiqFKCuVXCDMSrU+3VFafnu2c5m3lrWIlr6A5Q==", - "dev": true, - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.12.13" - } - }, - "@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", - "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-dynamic-import": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", - "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-export-namespace-from": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", - "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.3" - } - }, - "@babel/plugin-syntax-flow": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.14.5.tgz", - "integrity": "sha512-9WK5ZwKCdWHxVuU13XNT6X73FGmutAXeor5lGFq6qhOFtMFUF4jkbijuyUdZZlpYq6E2hZeZf/u3959X9wsv0Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.10.4" - } - }, - "@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.10.4" - } - }, - "@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-typescript": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.14.5.tgz", - "integrity": "sha512-u6OXzDaIXjEstBRRoBCQ/uKQKlbuaeE5in0RvWdA4pN6AhqxTIwUsnHPU1CFZA/amYObMsuWhYfRl3Ch90HD0Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-arrow-functions": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.14.5.tgz", - "integrity": "sha512-KOnO0l4+tD5IfOdi4x8C1XmEIRWUjNRV8wc6K2vz/3e8yAOoZZvsRXRRIF/yo/MAOFb4QjtAw9xSxMXbSMRy8A==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-async-to-generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.14.5.tgz", - "integrity": "sha512-szkbzQ0mNk0rpu76fzDdqSyPu0MuvpXgC+6rz5rpMb5OIRxdmHfQxrktL8CYolL2d8luMCZTR0DpIMIdL27IjA==", - "dev": true, - "requires": { - "@babel/helper-module-imports": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-remap-async-to-generator": "^7.14.5" - } - }, - "@babel/plugin-transform-block-scoped-functions": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.14.5.tgz", - "integrity": "sha512-dtqWqdWZ5NqBX3KzsVCWfQI3A53Ft5pWFCT2eCVUftWZgjc5DpDponbIF1+c+7cSGk2wN0YK7HGL/ezfRbpKBQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-block-scoping": { - "version": "7.15.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.15.3.tgz", - "integrity": "sha512-nBAzfZwZb4DkaGtOes1Up1nOAp9TDRRFw4XBzBBSG9QK7KVFmYzgj9o9sbPv7TX5ofL4Auq4wZnxCoPnI/lz2Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-classes": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.15.4.tgz", - "integrity": "sha512-Yjvhex8GzBmmPQUvpXRPWQ9WnxXgAFuZSrqOK/eJlOGIXwvv8H3UEdUigl1gb/bnjTrln+e8bkZUYCBt/xYlBg==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "globals": "^11.1.0" - } - }, - "@babel/plugin-transform-computed-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.14.5.tgz", - "integrity": "sha512-pWM+E4283UxaVzLb8UBXv4EIxMovU4zxT1OPnpHJcmnvyY9QbPPTKZfEj31EUvG3/EQRbYAGaYEUZ4yWOBC2xg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-destructuring": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.14.7.tgz", - "integrity": "sha512-0mDE99nK+kVh3xlc5vKwB6wnP9ecuSj+zQCa/n0voENtP/zymdT4HH6QEb65wjjcbqr1Jb/7z9Qp7TF5FtwYGw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-dotall-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.14.5.tgz", - "integrity": "sha512-loGlnBdj02MDsFaHhAIJzh7euK89lBrGIdM9EAtHFo6xKygCUGuuWe07o1oZVk287amtW1n0808sQM99aZt3gw==", - "dev": true, - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-duplicate-keys": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.14.5.tgz", - "integrity": "sha512-iJjbI53huKbPDAsJ8EmVmvCKeeq21bAze4fu9GBQtSLqfvzj2oRuHVx4ZkDwEhg1htQ+5OBZh/Ab0XDf5iBZ7A==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-exponentiation-operator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.14.5.tgz", - "integrity": "sha512-jFazJhMBc9D27o9jDnIE5ZErI0R0m7PbKXVq77FFvqFbzvTMuv8jaAwLZ5PviOLSFttqKIW0/wxNSDbjLk0tYA==", - "dev": true, - "requires": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-flow-strip-types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.14.5.tgz", - "integrity": "sha512-KhcolBKfXbvjwI3TV7r7TkYm8oNXHNBqGOy6JDVwtecFaRoKYsUUqJdS10q0YDKW1c6aZQgO+Ys3LfGkox8pXA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-flow": "^7.14.5" - } - }, - "@babel/plugin-transform-for-of": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.15.4.tgz", - "integrity": "sha512-DRTY9fA751AFBDh2oxydvVm4SYevs5ILTWLs6xKXps4Re/KG5nfUkr+TdHCrRWB8C69TlzVgA9b3RmGWmgN9LA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.14.5.tgz", - "integrity": "sha512-vbO6kv0fIzZ1GpmGQuvbwwm+O4Cbm2NrPzwlup9+/3fdkuzo1YqOZcXw26+YUJB84Ja7j9yURWposEHLYwxUfQ==", - "dev": true, - "requires": { - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.14.5.tgz", - "integrity": "sha512-ql33+epql2F49bi8aHXxvLURHkxJbSmMKl9J5yHqg4PLtdE6Uc48CH1GS6TQvZ86eoB/ApZXwm7jlA+B3kra7A==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-member-expression-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.14.5.tgz", - "integrity": "sha512-WkNXxH1VXVTKarWFqmso83xl+2V3Eo28YY5utIkbsmXoItO8Q3aZxN4BTS2k0hz9dGUloHK26mJMyQEYfkn/+Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-modules-amd": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.14.5.tgz", - "integrity": "sha512-3lpOU8Vxmp3roC4vzFpSdEpGUWSMsHFreTWOMMLzel2gNGfHE5UWIh/LN6ghHs2xurUp4jRFYMUIZhuFbody1g==", - "dev": true, - "requires": { - "@babel/helper-module-transforms": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5", - "babel-plugin-dynamic-import-node": "^2.3.3" - } - }, - "@babel/plugin-transform-modules-commonjs": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.15.4.tgz", - "integrity": "sha512-qg4DPhwG8hKp4BbVDvX1s8cohM8a6Bvptu4l6Iingq5rW+yRUAhe/YRup/YcW2zCOlrysEWVhftIcKzrEZv3sA==", - "dev": true, - "requires": { - "@babel/helper-module-transforms": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-simple-access": "^7.15.4", - "babel-plugin-dynamic-import-node": "^2.3.3" - } - }, - "@babel/plugin-transform-modules-systemjs": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.15.4.tgz", - "integrity": "sha512-fJUnlQrl/mezMneR72CKCgtOoahqGJNVKpompKwzv3BrEXdlPspTcyxrZ1XmDTIr9PpULrgEQo3qNKp6dW7ssw==", - "dev": true, - "requires": { - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-module-transforms": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-identifier": "^7.14.9", - "babel-plugin-dynamic-import-node": "^2.3.3" - } - }, - "@babel/plugin-transform-modules-umd": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.14.5.tgz", - "integrity": "sha512-RfPGoagSngC06LsGUYyM9QWSXZ8MysEjDJTAea1lqRjNECE3y0qIJF/qbvJxc4oA4s99HumIMdXOrd+TdKaAAA==", - "dev": true, - "requires": { - "@babel/helper-module-transforms": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.14.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.14.9.tgz", - "integrity": "sha512-l666wCVYO75mlAtGFfyFwnWmIXQm3kSH0C3IRnJqWcZbWkoihyAdDhFm2ZWaxWTqvBvhVFfJjMRQ0ez4oN1yYA==", - "dev": true, - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5" - } - }, - "@babel/plugin-transform-new-target": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.14.5.tgz", - "integrity": "sha512-Nx054zovz6IIRWEB49RDRuXGI4Gy0GMgqG0cII9L3MxqgXz/+rgII+RU58qpo4g7tNEx1jG7rRVH4ihZoP4esQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-object-super": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.14.5.tgz", - "integrity": "sha512-MKfOBWzK0pZIrav9z/hkRqIk/2bTv9qvxHzPQc12RcVkMOzpIKnFCNYJip00ssKWYkd8Sf5g0Wr7pqJ+cmtuFg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-replace-supers": "^7.14.5" - } - }, - "@babel/plugin-transform-parameters": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.15.4.tgz", - "integrity": "sha512-9WB/GUTO6lvJU3XQsSr6J/WKvBC2hcs4Pew8YxZagi6GkTdniyqp8On5kqdK8MN0LMeu0mGbhPN+O049NV/9FQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-property-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.14.5.tgz", - "integrity": "sha512-r1uilDthkgXW8Z1vJz2dKYLV1tuw2xsbrp3MrZmD99Wh9vsfKoob+JTgri5VUb/JqyKRXotlOtwgu4stIYCmnw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-regenerator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.14.5.tgz", - "integrity": "sha512-NVIY1W3ITDP5xQl50NgTKlZ0GrotKtLna08/uGY6ErQt6VEQZXla86x/CTddm5gZdcr+5GSsvMeTmWA5Ii6pkg==", - "dev": true, - "requires": { - "regenerator-transform": "^0.14.2" - } - }, - "@babel/plugin-transform-reserved-words": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.14.5.tgz", - "integrity": "sha512-cv4F2rv1nD4qdexOGsRQXJrOcyb5CrgjUH9PKrrtyhSDBNWGxd0UIitjyJiWagS+EbUGjG++22mGH1Pub8D6Vg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-runtime": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.15.8.tgz", - "integrity": "sha512-+6zsde91jMzzvkzuEA3k63zCw+tm/GvuuabkpisgbDMTPQsIMHllE3XczJFFtEHLjjhKQFZmGQVRdELetlWpVw==", - "dev": true, - "requires": { - "@babel/helper-module-imports": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "babel-plugin-polyfill-corejs2": "^0.2.2", - "babel-plugin-polyfill-corejs3": "^0.2.5", - "babel-plugin-polyfill-regenerator": "^0.2.2", - "semver": "^6.3.0" - } - }, - "@babel/plugin-transform-shorthand-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.14.5.tgz", - "integrity": "sha512-xLucks6T1VmGsTB+GWK5Pl9Jl5+nRXD1uoFdA5TSO6xtiNjtXTjKkmPdFXVLGlK5A2/or/wQMKfmQ2Y0XJfn5g==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-spread": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.15.8.tgz", - "integrity": "sha512-/daZ8s2tNaRekl9YJa9X4bzjpeRZLt122cpgFnQPLGUe61PH8zMEBmYqKkW5xF5JUEh5buEGXJoQpqBmIbpmEQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.15.4" - } - }, - "@babel/plugin-transform-sticky-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.14.5.tgz", - "integrity": "sha512-Z7F7GyvEMzIIbwnziAZmnSNpdijdr4dWt+FJNBnBLz5mwDFkqIXU9wmBcWWad3QeJF5hMTkRe4dAq2sUZiG+8A==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-template-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.14.5.tgz", - "integrity": "sha512-22btZeURqiepOfuy/VkFr+zStqlujWaarpMErvay7goJS6BWwdd6BY9zQyDLDa4x2S3VugxFb162IZ4m/S/+Gg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-typeof-symbol": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.14.5.tgz", - "integrity": "sha512-lXzLD30ffCWseTbMQzrvDWqljvZlHkXU+CnseMhkMNqU1sASnCsz3tSzAaH3vCUXb9PHeUb90ZT1BdFTm1xxJw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-typescript": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.15.8.tgz", - "integrity": "sha512-ZXIkJpbaf6/EsmjeTbiJN/yMxWPFWvlr7sEG1P95Xb4S4IBcrf2n7s/fItIhsAmOf8oSh3VJPDppO6ExfAfKRQ==", - "dev": true, - "requires": { - "@babel/helper-create-class-features-plugin": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-typescript": "^7.14.5" - } - }, - "@babel/plugin-transform-unicode-escapes": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.14.5.tgz", - "integrity": "sha512-crTo4jATEOjxj7bt9lbYXcBAM3LZaUrbP2uUdxb6WIorLmjNKSpHfIybgY4B8SRpbf8tEVIWH3Vtm7ayCrKocA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-unicode-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.14.5.tgz", - "integrity": "sha512-UygduJpC5kHeCiRw/xDVzC+wj8VaYSoKl5JNVmbP7MadpNinAm3SvZCxZ42H37KZBKztz46YC73i9yV34d0Tzw==", - "dev": true, - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/preset-env": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.15.8.tgz", - "integrity": "sha512-rCC0wH8husJgY4FPbHsiYyiLxSY8oMDJH7Rl6RQMknbN9oDDHhM9RDFvnGM2MgkbUJzSQB4gtuwygY5mCqGSsA==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-compilation-targets": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.15.4", - "@babel/plugin-proposal-async-generator-functions": "^7.15.8", - "@babel/plugin-proposal-class-properties": "^7.14.5", - "@babel/plugin-proposal-class-static-block": "^7.15.4", - "@babel/plugin-proposal-dynamic-import": "^7.14.5", - "@babel/plugin-proposal-export-namespace-from": "^7.14.5", - "@babel/plugin-proposal-json-strings": "^7.14.5", - "@babel/plugin-proposal-logical-assignment-operators": "^7.14.5", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5", - "@babel/plugin-proposal-numeric-separator": "^7.14.5", - "@babel/plugin-proposal-object-rest-spread": "^7.15.6", - "@babel/plugin-proposal-optional-catch-binding": "^7.14.5", - "@babel/plugin-proposal-optional-chaining": "^7.14.5", - "@babel/plugin-proposal-private-methods": "^7.14.5", - "@babel/plugin-proposal-private-property-in-object": "^7.15.4", - "@babel/plugin-proposal-unicode-property-regex": "^7.14.5", - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-transform-arrow-functions": "^7.14.5", - "@babel/plugin-transform-async-to-generator": "^7.14.5", - "@babel/plugin-transform-block-scoped-functions": "^7.14.5", - "@babel/plugin-transform-block-scoping": "^7.15.3", - "@babel/plugin-transform-classes": "^7.15.4", - "@babel/plugin-transform-computed-properties": "^7.14.5", - "@babel/plugin-transform-destructuring": "^7.14.7", - "@babel/plugin-transform-dotall-regex": "^7.14.5", - "@babel/plugin-transform-duplicate-keys": "^7.14.5", - "@babel/plugin-transform-exponentiation-operator": "^7.14.5", - "@babel/plugin-transform-for-of": "^7.15.4", - "@babel/plugin-transform-function-name": "^7.14.5", - "@babel/plugin-transform-literals": "^7.14.5", - "@babel/plugin-transform-member-expression-literals": "^7.14.5", - "@babel/plugin-transform-modules-amd": "^7.14.5", - "@babel/plugin-transform-modules-commonjs": "^7.15.4", - "@babel/plugin-transform-modules-systemjs": "^7.15.4", - "@babel/plugin-transform-modules-umd": "^7.14.5", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.14.9", - "@babel/plugin-transform-new-target": "^7.14.5", - "@babel/plugin-transform-object-super": "^7.14.5", - "@babel/plugin-transform-parameters": "^7.15.4", - "@babel/plugin-transform-property-literals": "^7.14.5", - "@babel/plugin-transform-regenerator": "^7.14.5", - "@babel/plugin-transform-reserved-words": "^7.14.5", - "@babel/plugin-transform-shorthand-properties": "^7.14.5", - "@babel/plugin-transform-spread": "^7.15.8", - "@babel/plugin-transform-sticky-regex": "^7.14.5", - "@babel/plugin-transform-template-literals": "^7.14.5", - "@babel/plugin-transform-typeof-symbol": "^7.14.5", - "@babel/plugin-transform-unicode-escapes": "^7.14.5", - "@babel/plugin-transform-unicode-regex": "^7.14.5", - "@babel/preset-modules": "^0.1.4", - "@babel/types": "^7.15.6", - "babel-plugin-polyfill-corejs2": "^0.2.2", - "babel-plugin-polyfill-corejs3": "^0.2.5", - "babel-plugin-polyfill-regenerator": "^0.2.2", - "core-js-compat": "^3.16.0", - "semver": "^6.3.0" - } - }, - "@babel/preset-flow": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/preset-flow/-/preset-flow-7.14.5.tgz", - "integrity": "sha512-pP5QEb4qRUSVGzzKx9xqRuHUrM/jEzMqdrZpdMA+oUCRgd5zM1qGr5y5+ZgAL/1tVv1H0dyk5t4SKJntqyiVtg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-transform-flow-strip-types": "^7.14.5" - } - }, - "@babel/preset-modules": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.4.tgz", - "integrity": "sha512-J36NhwnfdzpmH41M1DrnkkgAqhZaqr/NBdPfQ677mLzlaXo+oDiv1deyCDtgAhz8p328otdob0Du7+xgHGZbKg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", - "@babel/plugin-transform-dotall-regex": "^7.4.4", - "@babel/types": "^7.4.4", - "esutils": "^2.0.2" - } - }, - "@babel/preset-typescript": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.15.0.tgz", - "integrity": "sha512-lt0Y/8V3y06Wq/8H/u0WakrqciZ7Fz7mwPDHWUJAXlABL5hiUG42BNlRXiELNjeWjO5rWmnNKlx+yzJvxezHow==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-transform-typescript": "^7.15.0" - } - }, - "@babel/register": { - "version": "7.15.3", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.15.3.tgz", - "integrity": "sha512-mj4IY1ZJkorClxKTImccn4T81+UKTo4Ux0+OFSV9hME1ooqS9UV+pJ6BjD0qXPK4T3XW/KNa79XByjeEMZz+fw==", - "dev": true, - "requires": { - "clone-deep": "^4.0.1", - "find-cache-dir": "^2.0.0", - "make-dir": "^2.1.0", - "pirates": "^4.0.0", - "source-map-support": "^0.5.16" - } - }, - "@babel/runtime": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.15.4.tgz", - "integrity": "sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==", - "requires": { - "regenerator-runtime": "^0.13.4" - } - }, - "@babel/template": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", - "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4" - } - }, - "@babel/traverse": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", - "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4", - "debug": "^4.1.0", - "globals": "^11.1.0" - }, - "dependencies": { - "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } - } - }, - "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", - "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.14.9", - "to-fast-properties": "^2.0.0" - } - }, - "@m3o/m3o-node": { - "version": "0.0.24", - "resolved": "https://registry.npmjs.org/@m3o/m3o-node/-/m3o-node-0.0.24.tgz", - "integrity": "sha512-W6VqmZUTFodwBUai5uQ9nO4ylIztUXKYPFfZg2qqTv1lHkOYQ0XiJgFVn+SEOlp4GU/JI9OzCt4k1Ui5XaXGdw==", - "requires": { - "@types/ws": "^7.2.2", - "axios": "^0.21.1", - "body-parser": "^1.19.0", - "dotenv": "^10.0.0", - "jsonfile": "^6.1.0", - "ws": "^7.2.3" - } - }, - "@nicolo-ribaudo/chokidar-2": { - "version": "2.1.8-no-fsevents.3", - "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz", - "integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==", - "dev": true, - "optional": true - }, - "@rollup/plugin-babel": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.0.tgz", - "integrity": "sha512-9uIC8HZOnVLrLHxayq/PTzw+uS25E14KPUBh5ktF+18Mjo5yK0ToMMx6epY0uEgkjwJw0aBW4x2horYXh8juWw==", - "dev": true, - "requires": { - "@babel/helper-module-imports": "^7.10.4", - "@rollup/pluginutils": "^3.1.0" - } - }, - "@rollup/plugin-node-resolve": { - "version": "13.0.6", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.0.6.tgz", - "integrity": "sha512-sFsPDMPd4gMqnh2gS0uIxELnoRUp5kBl5knxD2EO0778G1oOJv4G1vyT2cpWz75OU2jDVcXhjVUuTAczGyFNKA==", - "dev": true, - "requires": { - "@rollup/pluginutils": "^3.1.0", - "@types/resolve": "1.17.1", - "builtin-modules": "^3.1.0", - "deepmerge": "^4.2.2", - "is-module": "^1.0.0", - "resolve": "^1.19.0" - } - }, - "@rollup/plugin-replace": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-3.0.0.tgz", - "integrity": "sha512-3c7JCbMuYXM4PbPWT4+m/4Y6U60SgsnDT/cCyAyUKwFHg7pTSfsSQzIpETha3a3ig6OdOKzZz87D9ZXIK3qsDg==", - "dev": true, - "requires": { - "@rollup/pluginutils": "^3.1.0", - "magic-string": "^0.25.7" - } - }, - "@rollup/pluginutils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", - "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", - "dev": true, - "requires": { - "@types/estree": "0.0.39", - "estree-walker": "^1.0.1", - "picomatch": "^2.2.2" - } - }, - "@types/estree": { - "version": "0.0.39", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", - "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", - "dev": true - }, - "@types/node": { - "version": "16.7.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.10.tgz", - "integrity": "sha512-S63Dlv4zIPb8x6MMTgDq5WWRJQe56iBEY0O3SOFA9JrRienkOVDXSXBjjJw6HTNQYSE2JI6GMCR6LVbIMHJVvA==" - }, - "@types/resolve": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", - "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, - "@types/ws": { - "version": "7.4.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", - "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", - "requires": { - "@types/node": "*" - } - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dev": true, - "optional": true, - "requires": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - } - }, - "axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "requires": { - "follow-redirects": "^1.10.0" - } - }, - "babel-plugin-dynamic-import-node": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", - "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", - "dev": true, - "requires": { - "object.assign": "^4.1.0" - } - }, - "babel-plugin-polyfill-corejs2": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.2.2.tgz", - "integrity": "sha512-kISrENsJ0z5dNPq5eRvcctITNHYXWOA4DUZRFYCz3jYCcvTb/A546LIddmoGNMVYg2U38OyFeNosQwI9ENTqIQ==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.13.11", - "@babel/helper-define-polyfill-provider": "^0.2.2", - "semver": "^6.1.1" - } - }, - "babel-plugin-polyfill-corejs3": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.5.tgz", - "integrity": "sha512-ninF5MQNwAX9Z7c9ED+H2pGt1mXdP4TqzlHKyPIYmJIYz0N+++uwdM7RnJukklhzJ54Q84vA4ZJkgs7lu5vqcw==", - "dev": true, - "requires": { - "@babel/helper-define-polyfill-provider": "^0.2.2", - "core-js-compat": "^3.16.2" - } - }, - "babel-plugin-polyfill-regenerator": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.2.2.tgz", - "integrity": "sha512-Goy5ghsc21HgPDFtzRkSirpZVW35meGoTmTOb2bxqdl60ghub4xOidgNTHaZfQ2FaxQsKmwvXtOAkcIS4SMBWg==", - "dev": true, - "requires": { - "@babel/helper-define-polyfill-provider": "^0.2.2" - } - }, - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true, - "optional": true - }, - "body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", - "requires": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" - } - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "optional": true, - "requires": { - "fill-range": "^7.0.1" - } - }, - "browserslist": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.17.4.tgz", - "integrity": "sha512-Zg7RpbZpIJRW3am9Lyckue7PLytvVxxhJj1CaJVlCWENsGEAOlnlt8X0ZxGRPp7Bt9o8tIRM5SEXy4BCPMJjLQ==", - "dev": true, - "requires": { - "caniuse-lite": "^1.0.30001265", - "electron-to-chromium": "^1.3.867", - "escalade": "^3.1.1", - "node-releases": "^2.0.0", - "picocolors": "^1.0.0" - } - }, - "buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "builtin-modules": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.2.0.tgz", - "integrity": "sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==", - "dev": true - }, - "bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" - }, - "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - } - }, - "caniuse-lite": { - "version": "1.0.30001270", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001270.tgz", - "integrity": "sha512-TcIC7AyNWXhcOmv2KftOl1ShFAaHQYcB/EPL/hEyMrcS7ZX0/DvV1aoy6BzV0+16wTpoAyTMGDNAJfSqS/rz7A==", - "dev": true - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "chokidar": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", - "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", - "dev": true, - "optional": true, - "requires": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "fsevents": "~2.3.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - } - }, - "clone-deep": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", - "dev": true, - "requires": { - "is-plain-object": "^2.0.4", - "kind-of": "^6.0.2", - "shallow-clone": "^3.0.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "dev": true - }, - "commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", - "dev": true - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" - }, - "convert-source-map": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", - "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", - "dev": true, - "requires": { - "safe-buffer": "~5.1.1" - } - }, - "core-js": { - "version": "3.18.3", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.18.3.tgz", - "integrity": "sha512-tReEhtMReZaPFVw7dajMx0vlsz3oOb8ajgPoHVYGxr8ErnZ6PcYEvvmjGmXlfpnxpkYSdOQttjB+MvVbCGfvLw==", - "dev": true - }, - "core-js-compat": { - "version": "3.18.3", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.18.3.tgz", - "integrity": "sha512-4zP6/y0a2RTHN5bRGT7PTq9lVt3WzvffTNjqnTKsXhkAYNDTkdCLOIfAdOLcQ/7TDdyRj3c+NeHe1NmF1eDScw==", - "dev": true, - "requires": { - "browserslist": "^4.17.3", - "semver": "7.0.0" - }, - "dependencies": { - "semver": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", - "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", - "dev": true - } - } - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "dev": true - }, - "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, - "requires": { - "object-keys": "^1.0.12" - } - }, - "depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" - }, - "dotenv": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz", - "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==" - }, - "ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "electron-to-chromium": { - "version": "1.3.873", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.873.tgz", - "integrity": "sha512-TiHlCgl2uP26Z0c67u442c0a2MZCWZNCRnPTQDPhVJ4h9G6z2zU0lApD9H0K9R5yFL5SfdaiVsVD2izOY24xBQ==", - "dev": true - }, - "es-abstract": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", - "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.1.1", - "get-symbol-description": "^1.0.0", - "has": "^1.0.3", - "has-symbols": "^1.0.2", - "internal-slot": "^1.0.3", - "is-callable": "^1.2.4", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.1", - "is-string": "^1.0.7", - "is-weakref": "^1.0.1", - "object-inspect": "^1.11.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.4", - "string.prototype.trimstart": "^1.0.4", - "unbox-primitive": "^1.0.1" - } - }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, - "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true - }, - "estree-walker": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", - "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", - "dev": true - }, - "esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true - }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "optional": true, - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "requires": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - } - }, - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "requires": { - "locate-path": "^3.0.0" - } - }, - "follow-redirects": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz", - "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==" - }, - "fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "dev": true, - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "dependencies": { - "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6" - } - }, - "universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true - } - } - }, - "fs-readdir-recursive": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", - "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", - "dev": true - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "optional": true - }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, - "gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true - }, - "get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - } - }, - "get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - } - }, - "glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "optional": true, - "requires": { - "is-glob": "^4.0.1" - } - }, - "globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true - }, - "graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", - "devOptional": true - }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-bigints": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", - "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", - "dev": true - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", - "dev": true - }, - "has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "dev": true, - "requires": { - "has-symbols": "^1.0.2" - } - }, - "homedir-polyfill": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", - "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", - "dev": true, - "requires": { - "parse-passwd": "^1.0.0" - } - }, - "http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", - "requires": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - } - }, - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "internal-slot": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", - "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", - "dev": true, - "requires": { - "get-intrinsic": "^1.1.0", - "has": "^1.0.3", - "side-channel": "^1.0.4" - } - }, - "is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "dev": true, - "requires": { - "has-bigints": "^1.0.1" - } - }, - "is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "optional": true, - "requires": { - "binary-extensions": "^2.0.0" - } - }, - "is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, - "is-callable": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", - "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", - "dev": true - }, - "is-core-module": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", - "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", - "dev": true, - "requires": { - "has": "^1.0.3" - } - }, - "is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true, - "optional": true - }, - "is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "optional": true, - "requires": { - "is-extglob": "^2.1.1" - } - }, - "is-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", - "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", - "dev": true - }, - "is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", - "dev": true - }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "optional": true - }, - "is-number-object": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", - "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "requires": { - "isobject": "^3.0.1" - } - }, - "is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, - "is-shared-array-buffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", - "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", - "dev": true - }, - "is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dev": true, - "requires": { - "has-symbols": "^1.0.2" - } - }, - "is-weakref": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.1.tgz", - "integrity": "sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.0" - } - }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true - }, - "jest-worker": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", - "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", - "dev": true, - "requires": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^7.0.0" - }, - "dependencies": { - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true - }, - "json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dev": true, - "requires": { - "minimist": "^1.2.5" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true - }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, - "lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", - "dev": true - }, - "magic-string": { - "version": "0.25.7", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.7.tgz", - "integrity": "sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==", - "dev": true, - "requires": { - "sourcemap-codec": "^1.4.4" - } - }, - "make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "requires": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" - }, - "merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "mime-db": { - "version": "1.49.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", - "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==" - }, - "mime-types": { - "version": "2.1.32", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", - "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", - "requires": { - "mime-db": "1.49.0" - } - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node-environment-flags": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz", - "integrity": "sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw==", - "dev": true, - "requires": { - "object.getownpropertydescriptors": "^2.0.3", - "semver": "^5.7.0" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "node-modules-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz", - "integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=", - "dev": true - }, - "node-releases": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.0.tgz", - "integrity": "sha512-aA87l0flFYMzCHpTM3DERFSYxc6lv/BltdbRTOMZuxZ0cwZCD3mejE5n9vLhSJCN++/eOqr77G1IO5uXxlQYWA==", - "dev": true - }, - "normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "optional": true - }, - "object-inspect": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", - "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", - "dev": true - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true - }, - "object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - } - }, - "object.getownpropertydescriptors": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.3.tgz", - "integrity": "sha512-VdDoCwvJI4QdC6ndjpqFmoL3/+HxffFBbcJzKi5hwLLqqx3mdbedRpfZDdK0SrOSauj8X4GzBvnDZl4vTN7dOw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - } - }, - "on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "requires": { - "ee-first": "1.1.1" - } - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "requires": { - "wrappy": "1" - } - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "requires": { - "p-limit": "^2.0.0" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true - }, - "parse-passwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", - "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", - "dev": true - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true - }, - "path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true - }, - "picomatch": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", - "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", - "dev": true - }, - "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true - }, - "pirates": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz", - "integrity": "sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA==", - "dev": true, - "requires": { - "node-modules-regexp": "^1.0.0" - } - }, - "pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "requires": { - "find-up": "^3.0.0" - } - }, - "prettier": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.1.tgz", - "integrity": "sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==", - "dev": true - }, - "qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" - }, - "randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "requires": { - "safe-buffer": "^5.1.0" - } - }, - "raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "requires": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - } - }, - "readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "optional": true, - "requires": { - "picomatch": "^2.2.1" - } - }, - "regenerate": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", - "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", - "dev": true - }, - "regenerate-unicode-properties": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-9.0.0.tgz", - "integrity": "sha512-3E12UeNSPfjrgwjkR81m5J7Aw/T55Tu7nUyZVQYCKEOs+2dkxEY+DpPtZzO4YruuiPb7NkYLVcyJC4+zCbk5pA==", - "dev": true, - "requires": { - "regenerate": "^1.4.2" - } - }, - "regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" - }, - "regenerator-transform": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz", - "integrity": "sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw==", - "dev": true, - "requires": { - "@babel/runtime": "^7.8.4" - } - }, - "regexpu-core": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.8.0.tgz", - "integrity": "sha512-1F6bYsoYiz6is+oz70NWur2Vlh9KWtswuRuzJOfeYUrfPX2o8n74AnUVaOGDbUqVGO9fNHu48/pjJO4sNVwsOg==", - "dev": true, - "requires": { - "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^9.0.0", - "regjsgen": "^0.5.2", - "regjsparser": "^0.7.0", - "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.0.0" - } - }, - "regjsgen": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz", - "integrity": "sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==", - "dev": true - }, - "regjsparser": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.7.0.tgz", - "integrity": "sha512-A4pcaORqmNMDVwUjWoTzuhwMGpP+NykpfqAsEgI1FSH/EzC7lrN5TMd+kN8YCovX+jMpu8eaqXgXPCa0g8FQNQ==", - "dev": true, - "requires": { - "jsesc": "~0.5.0" - }, - "dependencies": { - "jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", - "dev": true - } - } - }, - "resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dev": true, - "requires": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" - } - }, - "rollup": { - "version": "2.58.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.58.0.tgz", - "integrity": "sha512-NOXpusKnaRpbS7ZVSzcEXqxcLDOagN6iFS8p45RkoiMqPHDLwJm758UF05KlMoCRbLBTZsPOIa887gZJ1AiXvw==", - "dev": true, - "requires": { - "fsevents": "~2.3.2" - } - }, - "rollup-plugin-terser": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", - "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.10.4", - "jest-worker": "^26.2.1", - "serialize-javascript": "^4.0.0", - "terser": "^5.0.0" - } - }, - "rollup-plugin-typescript2": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.30.0.tgz", - "integrity": "sha512-NUFszIQyhgDdhRS9ya/VEmsnpTe+GERDMmFo0Y+kf8ds51Xy57nPNGglJY+W6x1vcouA7Au7nsTgsLFj2I0PxQ==", - "dev": true, - "requires": { - "@rollup/pluginutils": "^4.1.0", - "find-cache-dir": "^3.3.1", - "fs-extra": "8.1.0", - "resolve": "1.20.0", - "tslib": "2.1.0" - }, - "dependencies": { - "@rollup/pluginutils": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.1.1.tgz", - "integrity": "sha512-clDjivHqWGXi7u+0d2r2sBi4Ie6VLEAzWMIkvJLnDmxoOhBYOTfzGbOQBA32THHm11/LiJbd01tJUpJsbshSWQ==", - "dev": true, - "requires": { - "estree-walker": "^2.0.1", - "picomatch": "^2.2.2" - } - }, - "estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "dev": true - }, - "find-cache-dir": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", - "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", - "dev": true, - "requires": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - } - }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, - "requires": { - "semver": "^6.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true - }, - "pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "requires": { - "find-up": "^4.0.0" - } - } - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - }, - "serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "requires": { - "randombytes": "^2.1.0" - } - }, - "setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, - "shallow-clone": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", - "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", - "dev": true, - "requires": { - "kind-of": "^6.0.2" - } - }, - "side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } - }, - "slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", - "dev": true - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - }, - "source-map-support": { - "version": "0.5.20", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.20.tgz", - "integrity": "sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==", - "dev": true, - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, - "sourcemap-codec": { - "version": "1.4.8", - "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", - "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", - "dev": true - }, - "statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" - }, - "string.prototype.trimend": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", - "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } - }, - "string.prototype.trimstart": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", - "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - }, - "terser": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.9.0.tgz", - "integrity": "sha512-h5hxa23sCdpzcye/7b8YqbE5OwKca/ni0RQz1uRX3tGh8haaGHqcuSqbGRybuAKNdntZ0mDgFNXPJ48xQ2RXKQ==", - "dev": true, - "requires": { - "commander": "^2.20.0", - "source-map": "~0.7.2", - "source-map-support": "~0.5.20" - }, - "dependencies": { - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", - "dev": true - } - } - }, - "to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "dev": true - }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "optional": true, - "requires": { - "is-number": "^7.0.0" - } - }, - "toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" - }, - "tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==", - "dev": true - }, - "type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "requires": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - } - }, - "typescript": { - "version": "3.9.10", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", - "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", - "dev": true - }, - "unbox-primitive": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", - "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "has-bigints": "^1.0.1", - "has-symbols": "^1.0.2", - "which-boxed-primitive": "^1.0.2" - } - }, - "unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", - "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", - "dev": true - }, - "unicode-match-property-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", - "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", - "dev": true, - "requires": { - "unicode-canonical-property-names-ecmascript": "^2.0.0", - "unicode-property-aliases-ecmascript": "^2.0.0" - } - }, - "unicode-match-property-value-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", - "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", - "dev": true - }, - "unicode-property-aliases-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", - "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", - "dev": true - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" - }, - "unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" - }, - "v8flags": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.2.0.tgz", - "integrity": "sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==", - "dev": true, - "requires": { - "homedir-polyfill": "^1.0.1" - } - }, - "which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dev": true, - "requires": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true - }, - "ws": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.4.tgz", - "integrity": "sha512-zP9z6GXm6zC27YtspwH99T3qTG7bBFv2VIkeHstMLrLlDJuzA7tQ5ls3OJ1hOGGCzTQPniNJoHXIAOS0Jljohg==", - "requires": {} - } - } -} diff --git a/clients/ts/package.json b/clients/ts/package.json deleted file mode 100644 index 52577d1..0000000 --- a/clients/ts/package.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "author": "", - "dependencies": { - "@m3o/m3o-node": "^0.0.24", - "@types/estree": "^0.0.47", - "chalk": "^2.4.2", - "move-file": "^3.0.0", - "ncp": "^2.0.0", - "rimraf": "^3.0.2" - }, - "devDependencies": { - "prettier": "^2.4.1", - "typescript": "^3.5.1" - }, - "files": [ - "esm", - "index.js", - "index.d.ts", - "address", - "answer", - "cache", - "cmd", - "crypto", - "currency", - "db", - "email", - "emoji", - "evchargers", - "event", - "file", - "forex", - "function", - "geocoding", - "gifs", - "google", - "helloworld", - "holidays", - "id", - "image", - "ip", - "location", - "mq", - "notes", - "otp", - "pkg", - "postcode", - "prayer", - "qr", - "quran", - "routing", - "rss", - "sentiment", - "sms", - "spam", - "stock", - "stream", - "sunnah", - "test", - "thumbnail", - "time", - "twitter", - "url", - "user", - "vehicle", - "weather", - "youtube" - ], - "license": "ISC", - "main": "index.js", - "module": "esm/index.js", - "name": "m3o", - "repository": { - "type": "git", - "url": "https://github.com/m3o/m3o-js" - }, - "scripts": { - "build": "npm run clean \u0026\u0026 tsc \u0026\u0026 tsc --p tsconfig.es.json \u0026\u0026 node build.js", - "clean": "rimraf ./tmp", - "prepare": "npm run build" - }, - "types": "index.d.ts", - "version": "1.0.770" -} \ No newline at end of file diff --git a/clients/ts/postcode/index.ts b/clients/ts/postcode/index.ts deleted file mode 100755 index 3415d68..0000000 --- a/clients/ts/postcode/index.ts +++ /dev/null @@ -1,84 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class PostcodeService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Lookup a postcode to retrieve the related region, county, etc - lookup(request: LookupRequest): Promise { - return this.client.call( - "postcode", - "Lookup", - request - ) as Promise; - } - // Return a random postcode and its related info - random(request: RandomRequest): Promise { - return this.client.call( - "postcode", - "Random", - request - ) as Promise; - } - // Validate a postcode. - validate(request: ValidateRequest): Promise { - return this.client.call( - "postcode", - "Validate", - request - ) as Promise; - } -} - -export interface LookupRequest { - // UK postcode e.g SW1A 2AA - postcode?: string; -} - -export interface LookupResponse { - // country e.g United Kingdom - country?: string; - // e.g Westminster - district?: string; - // e.g 51.50354 - latitude?: number; - // e.g -0.127695 - longitude?: number; - // UK postcode e.g SW1A 2AA - postcode?: string; - // related region e.g London - region?: string; - // e.g St James's - ward?: string; -} - -export interface RandomRequest {} - -export interface RandomResponse { - // country e.g United Kingdom - country?: string; - // e.g Westminster - district?: string; - // e.g 51.50354 - latitude?: number; - // e.g -0.127695 - longitude?: number; - // UK postcode e.g SW1A 2AA - postcode?: string; - // related region e.g London - region?: string; - // e.g St James's - ward?: string; -} - -export interface ValidateRequest { - // UK postcode e.g SW1A 2AA - postcode?: string; -} - -export interface ValidateResponse { - // Is the postcode valid (true) or not (false) - valid?: boolean; -} diff --git a/clients/ts/prayer/index.ts b/clients/ts/prayer/index.ts deleted file mode 100755 index db8a092..0000000 --- a/clients/ts/prayer/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class PrayerService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Get the prayer (salah) times for a location on a given date - times(request: TimesRequest): Promise { - return this.client.call( - "prayer", - "Times", - request - ) as Promise; - } -} - -export interface PrayerTime { - // asr time - asr?: string; - // date for prayer times in YYYY-MM-DD format - date?: string; - // fajr time - fajr?: string; - // isha time - isha?: string; - // maghrib time - maghrib?: string; - // time of sunrise - sunrise?: string; - // zuhr time - zuhr?: string; -} - -export interface TimesRequest { - // optional date in YYYY-MM-DD format, otherwise uses today - date?: string; - // number of days to request times for - days?: number; - // optional latitude used in place of location - latitude?: number; - // location to retrieve prayer times for. - // this can be a specific address, city, etc - location?: string; - // optional longitude used in place of location - longitude?: number; -} - -export interface TimesResponse { - // date of request - date?: string; - // number of days - days?: number; - // latitude of location - latitude?: number; - // location for the request - location?: string; - // longitude of location - longitude?: number; - // prayer times for the given location - times?: PrayerTime[]; -} diff --git a/clients/ts/qr/index.ts b/clients/ts/qr/index.ts deleted file mode 100755 index 39dcff2..0000000 --- a/clients/ts/qr/index.ts +++ /dev/null @@ -1,29 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class QrService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Generate a QR code with a specific text and size - generate(request: GenerateRequest): Promise { - return this.client.call( - "qr", - "Generate", - request - ) as Promise; - } -} - -export interface GenerateRequest { - // the size (height and width) in pixels of the generated QR code. Defaults to 256 - size?: number; - // the text to encode as a QR code (URL, phone number, email, etc) - text?: string; -} - -export interface GenerateResponse { - // link to the QR code image in PNG format - qr?: string; -} diff --git a/clients/ts/quran/index.ts b/clients/ts/quran/index.ts deleted file mode 100755 index ecac3c8..0000000 --- a/clients/ts/quran/index.ts +++ /dev/null @@ -1,218 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class QuranService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // List the Chapters (surahs) of the Quran - chapters(request: ChaptersRequest): Promise { - return this.client.call( - "quran", - "Chapters", - request - ) as Promise; - } - // Search the Quran for any form of query or questions - search(request: SearchRequest): Promise { - return this.client.call( - "quran", - "Search", - request - ) as Promise; - } - // Get a summary for a given chapter (surah) - summary(request: SummaryRequest): Promise { - return this.client.call( - "quran", - "Summary", - request - ) as Promise; - } - // Lookup the verses (ayahs) for a chapter including - // translation, interpretation and breakdown by individual - // words. - verses(request: VersesRequest): Promise { - return this.client.call( - "quran", - "Verses", - request - ) as Promise; - } -} - -export interface Chapter { - // The arabic name of the chapter - arabicName?: string; - // The complex name of the chapter - complexName?: string; - // The id of the chapter as a number e.g 1 - id?: number; - // The simple name of the chapter - name?: string; - // The pages from and to e.g 1, 1 - pages?: number[]; - // Should the chapter start with bismillah - prefixBismillah?: boolean; - // The order in which it was revealed - revelationOrder?: number; - // The place of revelation - revelationPlace?: string; - // The translated name - translatedName?: string; - // The number of verses in the chapter - verses?: number; -} - -export interface ChaptersRequest { - // Specify the language e.g en - language?: string; -} - -export interface ChaptersResponse { - chapters?: Chapter[]; -} - -export interface Interpretation { - // The unique id of the interpretation - id?: number; - // The source of the interpretation - source?: string; - // The translated text - text?: string; -} - -export interface Result { - // The associated arabic text - text?: string; - // The related translations to the text - translations?: Translation[]; - // The unique verse id across the Quran - verseId?: number; - // The verse key e.g 1:1 - verseKey?: string; -} - -export interface SearchRequest { - // The language for translation - language?: string; - // The number of results to return - limit?: number; - // The pagination number - page?: number; - // The query to ask - query?: string; -} - -export interface SearchResponse { - // The current page - page?: number; - // The question asked - query?: string; - // The results for the query - results?: Result[]; - // The total pages - totalPages?: number; - // The total results returned - totalResults?: number; -} - -export interface SummaryRequest { - // The chapter id e.g 1 - chapter?: number; - // Specify the language e.g en - language?: string; -} - -export interface SummaryResponse { - // The chapter id - chapter?: number; - // The source of the summary - source?: string; - // The short summary for the chapter - summary?: string; - // The full description for the chapter - text?: string; -} - -export interface Translation { - // The unique id of the translation - id?: number; - // The source of the translation - source?: string; - // The translated text - text?: string; -} - -export interface Verse { - // The unique id of the verse in the whole book - id?: number; - // The interpretations of the verse - interpretations?: Interpretation[]; - // The key of this verse (chapter:verse) e.g 1:1 - key?: string; - // The verse number in this chapter - number?: number; - // The page of the Quran this verse is on - page?: number; - // The arabic text for this verse - text?: string; - // The basic translation of the verse - translatedText?: string; - // The alternative translations for the verse - translations?: Translation[]; - // The phonetic transliteration from arabic - transliteration?: string; - // The individual words within the verse (Ayah) - words?: Word[]; -} - -export interface VersesRequest { - // The chapter id to retrieve - chapter?: number; - // Return the interpretation (tafsir) - interpret?: boolean; - // The language of translation - language?: string; - // The verses per page - limit?: number; - // The page number to request - page?: number; - // Return alternate translations - translate?: boolean; - // Return the individual words with the verses - words?: boolean; -} - -export interface VersesResponse { - // The chapter requested - chapter?: number; - // The page requested - page?: number; - // The total pages - totalPages?: number; - // The verses on the page - verses?: Verse[]; -} - -export interface Word { - // The character type e.g word, end - charType?: string; - // The QCF v2 font code - code?: string; - // The id of the word within the verse - id?: number; - // The line number - line?: number; - // The page number - page?: number; - // The position of the word - position?: number; - // The arabic text for this word - text?: string; - // The translated text - translation?: string; - // The transliteration text - transliteration?: string; -} diff --git a/clients/ts/routing/index.ts b/clients/ts/routing/index.ts deleted file mode 100755 index 7f471f9..0000000 --- a/clients/ts/routing/index.ts +++ /dev/null @@ -1,123 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class RoutingService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Turn by turn directions from a start point to an end point including maneuvers and bearings - directions(request: DirectionsRequest): Promise { - return this.client.call( - "routing", - "Directions", - request - ) as Promise; - } - // Get the eta for a route from origin to destination. The eta is an estimated time based on car routes - eta(request: EtaRequest): Promise { - return this.client.call("routing", "Eta", request) as Promise; - } - // Retrieve a route as a simple list of gps points along with total distance and estimated duration - route(request: RouteRequest): Promise { - return this.client.call( - "routing", - "Route", - request - ) as Promise; - } -} - -export interface Direction { - // distance to travel in meters - distance?: number; - // duration to travel in seconds - duration?: number; - // human readable instruction - instruction?: string; - // intersections on route - intersections?: Intersection[]; - // maneuver to take - maneuver?: { [key: string]: any }; - // street name or location - name?: string; - // alternative reference - reference?: string; -} - -export interface DirectionsRequest { - // The destination of the journey - destination?: Point; - // The staring point for the journey - origin?: Point; -} - -export interface DirectionsResponse { - // Turn by turn directions - directions?: Direction[]; - // Estimated distance of the route in meters - distance?: number; - // Estimated duration of the route in seconds - duration?: number; - // The waypoints on the route - waypoints?: Waypoint[]; -} - -export interface EtaRequest { - // The end point for the eta calculation - destination?: Point; - // The starting point for the eta calculation - origin?: Point; - // speed in kilometers - speed?: number; - // type of transport. Only "car" is supported currently. - type?: string; -} - -export interface EtaResponse { - // eta in seconds - duration?: number; -} - -export interface Intersection { - bearings?: number[]; - location?: Point; -} - -export interface Maneuver { - action?: string; - bearingAfter?: number; - bearingBefore?: number; - direction?: string; - location?: Point; -} - -export interface Point { - // Lat e.g 52.523219 - latitude?: number; - // Long e.g 13.428555 - longitude?: number; -} - -export interface RouteRequest { - // Point of destination for the trip - destination?: Point; - // Point of origin for the trip - origin?: Point; -} - -export interface RouteResponse { - // estimated distance in meters - distance?: number; - // estimated duration in seconds - duration?: number; - // waypoints on the route - waypoints?: Waypoint[]; -} - -export interface Waypoint { - // gps point coordinates - location?: Point; - // street name or related reference - name?: string; -} diff --git a/clients/ts/rss/index.ts b/clients/ts/rss/index.ts deleted file mode 100755 index 99e3427..0000000 --- a/clients/ts/rss/index.ts +++ /dev/null @@ -1,99 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class RssService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Add a new RSS feed with a name, url, and category - add(request: AddRequest): Promise { - return this.client.call("rss", "Add", request) as Promise; - } - // Get an RSS feed by name. If no name is given, all feeds are returned. Default limit is 25 entries. - feed(request: FeedRequest): Promise { - return this.client.call("rss", "Feed", request) as Promise; - } - // List the saved RSS fields - list(request: ListRequest): Promise { - return this.client.call("rss", "List", request) as Promise; - } - // Remove an RSS feed by name - remove(request: RemoveRequest): Promise { - return this.client.call( - "rss", - "Remove", - request - ) as Promise; - } -} - -export interface AddRequest { - // category to add e.g news - category?: string; - // rss feed name - // eg. a16z - name?: string; - // rss feed url - // eg. http://a16z.com/feed/ - url?: string; -} - -export interface AddResponse {} - -export interface Entry { - // article content - content?: string; - // data of the entry - date?: string; - // the rss feed where it came from - feed?: string; - // unique id of the entry - id?: string; - // rss feed url of the entry - link?: string; - // article summary - summary?: string; - // title of the entry - title?: string; -} - -export interface Feed { - // category of the feed e.g news - category?: string; - // unique id - id?: string; - // rss feed name - // eg. a16z - name?: string; - // rss feed url - // eg. http://a16z.com/feed/ - url?: string; -} - -export interface FeedRequest { - // limit entries returned - limit?: number; - // rss feed name - name?: string; - // offset entries - offset?: number; -} - -export interface FeedResponse { - entries?: Entry[]; -} - -export interface ListRequest {} - -export interface ListResponse { - feeds?: Feed[]; -} - -export interface RemoveRequest { - // rss feed name - // eg. a16z - name?: string; -} - -export interface RemoveResponse {} diff --git a/clients/ts/sentiment/index.ts b/clients/ts/sentiment/index.ts deleted file mode 100755 index 8ecfd5a..0000000 --- a/clients/ts/sentiment/index.ts +++ /dev/null @@ -1,29 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class SentimentService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Analyze and score a piece of text - analyze(request: AnalyzeRequest): Promise { - return this.client.call( - "sentiment", - "Analyze", - request - ) as Promise; - } -} - -export interface AnalyzeRequest { - // The language. Defaults to english. - lang?: string; - // The text to analyze - text?: string; -} - -export interface AnalyzeResponse { - // The score of the text {positive is 1, negative is 0} - score?: number; -} diff --git a/clients/ts/sms/index.ts b/clients/ts/sms/index.ts deleted file mode 100755 index b0077ba..0000000 --- a/clients/ts/sms/index.ts +++ /dev/null @@ -1,29 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class SmsService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Send an SMS. - send(request: SendRequest): Promise { - return this.client.call("sms", "Send", request) as Promise; - } -} - -export interface SendRequest { - // who is the message from? The message will be suffixed with "Sent from " - from?: string; - // the main body of the message to send - message?: string; - // the destination phone number including the international dialling code (e.g. +44) - to?: string; -} - -export interface SendResponse { - // any additional info - info?: string; - // will return "ok" if successful - status?: string; -} diff --git a/clients/ts/stock/index.ts b/clients/ts/stock/index.ts deleted file mode 100755 index d896389..0000000 --- a/clients/ts/stock/index.ts +++ /dev/null @@ -1,132 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class StockService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Get the historic open-close for a given day - history(request: HistoryRequest): Promise { - return this.client.call( - "stock", - "History", - request - ) as Promise; - } - // Get the historic order book and each trade by timestamp - orderBook(request: OrderBookRequest): Promise { - return this.client.call( - "stock", - "OrderBook", - request - ) as Promise; - } - // Get the last price for a given stock ticker - price(request: PriceRequest): Promise { - return this.client.call( - "stock", - "Price", - request - ) as Promise; - } - // Get the last quote for the stock - quote(request: QuoteRequest): Promise { - return this.client.call( - "stock", - "Quote", - request - ) as Promise; - } -} - -export interface HistoryRequest { - // date to retrieve as YYYY-MM-DD - date?: string; - // the stock symbol e.g AAPL - stock?: string; -} - -export interface HistoryResponse { - // the close price - close?: number; - // the date - date?: string; - // the peak price - high?: number; - // the low price - low?: number; - // the open price - open?: number; - // the stock symbol - symbol?: string; - // the volume - volume?: number; -} - -export interface Order { - // the asking price - askPrice?: number; - // the ask size - askSize?: number; - // the bidding price - bidPrice?: number; - // the bid size - bidSize?: number; - // the UTC timestamp of the quote - timestamp?: string; -} - -export interface OrderBookRequest { - // the date in format YYYY-MM-dd - date?: string; - // optional RFC3339Nano end time e.g 2006-01-02T15:04:05.999999999Z07:00 - end?: string; - // limit number of prices - limit?: number; - // optional RFC3339Nano start time e.g 2006-01-02T15:04:05.999999999Z07:00 - start?: string; - // stock to retrieve e.g AAPL - stock?: string; -} - -export interface OrderBookResponse { - // date of the request - date?: string; - // list of orders - orders?: Order[]; - // the stock symbol - symbol?: string; -} - -export interface PriceRequest { - // stock symbol e.g AAPL - symbol?: string; -} - -export interface PriceResponse { - // the last price - price?: number; - // the stock symbol e.g AAPL - symbol?: string; -} - -export interface QuoteRequest { - // the stock symbol e.g AAPL - symbol?: string; -} - -export interface QuoteResponse { - // the asking price - askPrice?: number; - // the ask size - askSize?: number; - // the bidding price - bidPrice?: number; - // the bid size - bidSize?: number; - // the stock symbol - symbol?: string; - // the UTC timestamp of the quote - timestamp?: string; -} diff --git a/clients/ts/stream/index.ts b/clients/ts/stream/index.ts deleted file mode 100755 index cb619db..0000000 --- a/clients/ts/stream/index.ts +++ /dev/null @@ -1,46 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class StreamService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Publish a message to the stream. Specify a topic to group messages for a specific topic. - publish(request: PublishRequest): Promise { - return this.client.call( - "stream", - "Publish", - request - ) as Promise; - } - // Subscribe to messages for a given topic. - subscribe(request: SubscribeRequest): Promise { - return this.client.call( - "stream", - "Subscribe", - request - ) as Promise; - } -} - -export interface PublishRequest { - // The json message to publish - message?: { [key: string]: any }; - // The topic to publish to - topic?: string; -} - -export interface PublishResponse {} - -export interface SubscribeRequest { - // The topic to subscribe to - topic?: string; -} - -export interface SubscribeResponse { - // The next json message on the topic - message?: { [key: string]: any }; - // The topic subscribed to - topic?: string; -} diff --git a/clients/ts/sunnah/index.ts b/clients/ts/sunnah/index.ts deleted file mode 100755 index cb83307..0000000 --- a/clients/ts/sunnah/index.ts +++ /dev/null @@ -1,183 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class SunnahService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Get a list of books from within a collection. A book can contain many chapters - // each with its own hadiths. - books(request: BooksRequest): Promise { - return this.client.call( - "sunnah", - "Books", - request - ) as Promise; - } - // Get all the chapters of a given book within a collection. - chapters(request: ChaptersRequest): Promise { - return this.client.call( - "sunnah", - "Chapters", - request - ) as Promise; - } - // Get a list of available collections. A collection is - // a compilation of hadiths collected and written by an author. - collections(request: CollectionsRequest): Promise { - return this.client.call( - "sunnah", - "Collections", - request - ) as Promise; - } - // Hadiths returns a list of hadiths and their corresponding text for a - // given book within a collection. - hadiths(request: HadithsRequest): Promise { - return this.client.call( - "sunnah", - "Hadiths", - request - ) as Promise; - } -} - -export interface Book { - // arabic name of the book - arabicName?: string; - // number of hadiths in the book - hadiths?: number; - // number of the book e.g 1 - id?: number; - // name of the book - name?: string; -} - -export interface BooksRequest { - // Name of the collection - collection?: string; - // Limit the number of books returned - limit?: number; - // The page in the pagination - page?: number; -} - -export interface BooksResponse { - // A list of books - books?: Book[]; - // Name of the collection - collection?: string; - // The limit specified - limit?: number; - // The page requested - page?: number; - // The total overall books - total?: number; -} - -export interface Chapter { - // arabic title - arabicTitle?: string; - // the book number - book?: number; - // the chapter id e.g 1 - id?: number; - // the chapter key e.g 1.00 - key?: string; - // title of the chapter - title?: string; -} - -export interface ChaptersRequest { - // number of the book - book?: number; - // name of the collection - collection?: string; - // Limit the number of chapters returned - limit?: number; - // The page in the pagination - page?: number; -} - -export interface ChaptersResponse { - // number of the book - book?: number; - // The chapters of the book - chapters?: Chapter[]; - // name of the collection - collection?: string; - // Limit the number of chapters returned - limit?: number; - // The page in the pagination - page?: number; - // Total chapters in the book - total?: number; -} - -export interface Collection { - // Arabic title if available - arabicTitle?: string; - // Total hadiths in the collection - hadiths?: number; - // Name of the collection e.g bukhari - name?: string; - // An introduction explaining the collection - summary?: string; - // Title of the collection e.g Sahih al-Bukhari - title?: string; -} - -export interface CollectionsRequest { - // Number of collections to limit to - limit?: number; - // The page in the pagination - page?: number; -} - -export interface CollectionsResponse { - collections?: Collection[]; -} - -export interface Hadith { - // the arabic chapter title - arabicChapterTitle?: string; - // the arabic text - arabicText?: string; - // the chapter id - chapter?: number; - // the chapter key - chapterKey?: string; - // the chapter title - chapterTitle?: string; - // hadith id - id?: number; - // hadith text - text?: string; -} - -export interface HadithsRequest { - // number of the book - book?: number; - // name of the collection - collection?: string; - // Limit the number of hadiths - limit?: number; - // The page in the pagination - page?: number; -} - -export interface HadithsResponse { - // number of the book - book?: number; - // name of the collection - collection?: string; - // The hadiths of the book - hadiths?: Hadith[]; - // Limit the number of hadiths returned - limit?: number; - // The page in the pagination - page?: number; - // Total hadiths in the book - total?: number; -} diff --git a/clients/ts/thumbnail/index.ts b/clients/ts/thumbnail/index.ts deleted file mode 100755 index bc634c3..0000000 --- a/clients/ts/thumbnail/index.ts +++ /dev/null @@ -1,29 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class ThumbnailService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Create a thumbnail screenshot by passing in a url, height and width - screenshot(request: ScreenshotRequest): Promise { - return this.client.call( - "thumbnail", - "Screenshot", - request - ) as Promise; - } -} - -export interface ScreenshotRequest { - // height of the browser window, optional - height?: number; - url?: string; - // width of the browser window. optional - width?: number; -} - -export interface ScreenshotResponse { - imageURL?: string; -} diff --git a/clients/ts/time/index.ts b/clients/ts/time/index.ts deleted file mode 100755 index a07678a..0000000 --- a/clients/ts/time/index.ts +++ /dev/null @@ -1,61 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class TimeService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Get the current time - now(request: NowRequest): Promise { - return this.client.call("time", "Now", request) as Promise; - } - // Get the timezone info for a specific location - zone(request: ZoneRequest): Promise { - return this.client.call("time", "Zone", request) as Promise; - } -} - -export interface NowRequest { - // optional location, otherwise returns UTC - location?: string; -} - -export interface NowResponse { - // the current time as HH:MM:SS - localtime?: string; - // the location as Europe/London - location?: string; - // timestamp as 2006-01-02T15:04:05.999999999Z07:00 - timestamp?: string; - // the timezone as BST - timezone?: string; - // the unix timestamp - unix?: number; -} - -export interface ZoneRequest { - // location to lookup e.g postcode, city, ip address - location?: string; -} - -export interface ZoneResponse { - // the abbreviated code e.g BST - abbreviation?: string; - // country of the timezone - country?: string; - // is daylight savings - dst?: boolean; - // e.g 51.42 - latitude?: number; - // the local time - localtime?: string; - // location requested - location?: string; - // e.g -0.37 - longitude?: number; - // region of timezone - region?: string; - // the timezone e.g Europe/London - timezone?: string; -} diff --git a/clients/ts/tsconfig.es.json b/clients/ts/tsconfig.es.json deleted file mode 100644 index 6b03e42..0000000 --- a/clients/ts/tsconfig.es.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "compilerOptions": { - "module": "ES2015", - "target": "ES6", - "declaration": true, - "lib": ["es2015", "dom"], - "experimentalDecorators": true, - "emitDecoratorMetadata": true, - "outDir": "./tmp/esm", - "strict": true, - "moduleResolution": "node", - "esModuleInterop": true - }, - "include": ["src/index.ts", "src/**/*"], - "exclude": ["./dist", "./node_modules"] - } \ No newline at end of file diff --git a/clients/ts/tsconfig.json b/clients/ts/tsconfig.json deleted file mode 100644 index 114e5a0..0000000 --- a/clients/ts/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "compilerOptions": { - "module": "CommonJS", - "target": "es5", - "declaration": true, - "lib": ["es2015", "dom"], - "experimentalDecorators": true, - "emitDecoratorMetadata": true, - "outDir": "./tmp", - "strict": true, - "moduleResolution": "node", - "esModuleInterop": true - }, - "include": ["src/index.ts", "src/**/*"], - "exclude": ["./dist", "./node_modules"] -} \ No newline at end of file diff --git a/clients/ts/twitter/index.ts b/clients/ts/twitter/index.ts deleted file mode 100755 index f03c34b..0000000 --- a/clients/ts/twitter/index.ts +++ /dev/null @@ -1,131 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class TwitterService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Search for tweets with a simple query - search(request: SearchRequest): Promise { - return this.client.call( - "twitter", - "Search", - request - ) as Promise; - } - // Get the timeline for a given user - timeline(request: TimelineRequest): Promise { - return this.client.call( - "twitter", - "Timeline", - request - ) as Promise; - } - // Get the current global trending topics - trends(request: TrendsRequest): Promise { - return this.client.call( - "twitter", - "Trends", - request - ) as Promise; - } - // Get a user's twitter profile - user(request: UserRequest): Promise { - return this.client.call( - "twitter", - "User", - request - ) as Promise; - } -} - -export interface Profile { - // the account creation date - createdAt?: string; - // the user description - description?: string; - // the follower count - followers?: number; - // the user id - id?: number; - // The user's profile picture - imageUrl?: string; - // the user's location - location?: string; - // display name of the user - name?: string; - // if the account is private - private?: boolean; - // the username - username?: string; - // if the account is verified - verified?: boolean; -} - -export interface SearchRequest { - // number of tweets to return. default: 20 - limit?: number; - // the query to search for - query?: string; -} - -export interface SearchResponse { - // the related tweets for the search - tweets?: Tweet[]; -} - -export interface TimelineRequest { - // number of tweets to return. default: 20 - limit?: number; - // the username to request the timeline for - username?: string; -} - -export interface TimelineResponse { - // The recent tweets for the user - tweets?: Tweet[]; -} - -export interface Trend { - // name of the trend - name?: string; - // the volume of tweets in last 24 hours - tweetVolume?: number; - // the twitter url - url?: string; -} - -export interface TrendsRequest {} - -export interface TrendsResponse { - // a list of trending topics - trends?: Trend[]; -} - -export interface Tweet { - // time of tweet - createdAt?: string; - // number of times favourited - favouritedCount?: number; - // id of the tweet - id?: number; - // number of times retweeted - retweetedCount?: number; - // text of the tweet - text?: string; - // username of the person who tweeted - username?: string; -} - -export interface UserRequest { - // the username to lookup - username?: string; -} - -export interface UserResponse { - // The requested user profile - profile?: { [key: string]: any }; - // the current user status - status?: Tweet; -} diff --git a/clients/ts/url/index.ts b/clients/ts/url/index.ts deleted file mode 100755 index b71edfb..0000000 --- a/clients/ts/url/index.ts +++ /dev/null @@ -1,63 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class UrlService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // List information on all the shortened URLs that you have created - list(request: ListRequest): Promise { - return this.client.call("url", "List", request) as Promise; - } - // Proxy returns the destination URL of a short URL. - proxy(request: ProxyRequest): Promise { - return this.client.call("url", "Proxy", request) as Promise; - } - // Shortens a destination URL and returns a full short URL. - shorten(request: ShortenRequest): Promise { - return this.client.call( - "url", - "Shorten", - request - ) as Promise; - } -} - -export interface ListRequest { - // filter by short URL, optional - shortURL?: string; -} - -export interface ListResponse { - urlPairs?: URLPair; -} - -export interface ProxyRequest { - // short url ID, without the domain, eg. if your short URL is - // `m3o.one/u/someshorturlid` then pass in `someshorturlid` - shortURL?: string; -} - -export interface ProxyResponse { - destinationURL?: string; -} - -export interface ShortenRequest { - destinationURL?: string; -} - -export interface ShortenResponse { - shortURL?: string; -} - -export interface URLPair { - created?: number; - destinationURL?: string; - // HitCount keeps track many times the short URL has been resolved. - // Hitcount only gets saved to disk (database) after every 10th hit, so - // its not intended to be 100% accurate, more like an almost correct estimate. - hitCount?: number; - owner?: string; - shortURL?: string; -} diff --git a/clients/ts/user/index.ts b/clients/ts/user/index.ts deleted file mode 100755 index 6e5ec17..0000000 --- a/clients/ts/user/index.ts +++ /dev/null @@ -1,233 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class UserService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Create a new user account. The email address and username for the account must be unique. - create(request: CreateRequest): Promise { - return this.client.call( - "user", - "Create", - request - ) as Promise; - } - // Delete an account by id - delete(request: DeleteRequest): Promise { - return this.client.call( - "user", - "Delete", - request - ) as Promise; - } - // Login using username or email. The response will return a new session for successful login, - // 401 in the case of login failure and 500 for any other error - login(request: LoginRequest): Promise { - return this.client.call("user", "Login", request) as Promise; - } - // Logout a user account - logout(request: LogoutRequest): Promise { - return this.client.call( - "user", - "Logout", - request - ) as Promise; - } - // Read an account by id, username or email. Only one need to be specified. - read(request: ReadRequest): Promise { - return this.client.call("user", "Read", request) as Promise; - } - // Read a session by the session id. In the event it has expired or is not found and error is returned. - readSession(request: ReadSessionRequest): Promise { - return this.client.call( - "user", - "ReadSession", - request - ) as Promise; - } - // Send a verification email - // to the user being signed up. Email from will be from 'support@m3o.com', - // but you can provide the title and contents. - // The verification link will be injected in to the email as a template variable, $micro_verification_link. - // Example: 'Hi there, welcome onboard! Use the link below to verify your email: $micro_verification_link' - // The variable will be replaced with an actual url that will look similar to this: - // 'https://user.m3o.com/user/verify?token=a-verification-token&redirectUrl=your-redir-url' - sendVerificationEmail( - request: SendVerificationEmailRequest - ): Promise { - return this.client.call( - "user", - "SendVerificationEmail", - request - ) as Promise; - } - // Update the account password - updatePassword( - request: UpdatePasswordRequest - ): Promise { - return this.client.call( - "user", - "UpdatePassword", - request - ) as Promise; - } - // Update the account username or email - update(request: UpdateRequest): Promise { - return this.client.call( - "user", - "Update", - request - ) as Promise; - } - // Verify the email address of an account from a token sent in an email to the user. - verifyEmail(request: VerifyEmailRequest): Promise { - return this.client.call( - "user", - "VerifyEmail", - request - ) as Promise; - } -} - -export interface Account { - // unix timestamp - created?: number; - // an email address - email?: string; - // unique account id - id?: string; - // Store any custom data you want about your users in this fields. - profile?: { [key: string]: string }; - // unix timestamp - updated?: number; - // alphanumeric username - username?: string; - verificationDate?: number; - verified?: boolean; -} - -export interface CreateRequest { - // the email address - email?: string; - // optional account id - id?: string; - // the user password - password?: string; - // optional user profile as map - profile?: { [key: string]: string }; - // the username - username?: string; -} - -export interface CreateResponse { - account?: { [key: string]: any }; -} - -export interface DeleteRequest { - // the account id - id?: string; -} - -export interface DeleteResponse {} - -export interface LoginRequest { - // The email address of the user - email?: string; - // The password of the user - password?: string; - // The username of the user - username?: string; -} - -export interface LoginResponse { - // The session of the logged in user - session?: { [key: string]: any }; -} - -export interface LogoutRequest { - sessionId?: string; -} - -export interface LogoutResponse {} - -export interface ReadRequest { - // the account email - email?: string; - // the account id - id?: string; - // the account username - username?: string; -} - -export interface ReadResponse { - account?: { [key: string]: any }; -} - -export interface ReadSessionRequest { - // The unique session id - sessionId?: string; -} - -export interface ReadSessionResponse { - session?: { [key: string]: any }; -} - -export interface SendVerificationEmailRequest { - email?: string; - failureRedirectUrl?: string; - // Display name of the sender for the email. Note: the email address will still be 'support@m3o.com' - fromName?: string; - redirectUrl?: string; - subject?: string; - // Text content of the email. Don't forget to include the string '$micro_verification_link' which will be replaced by the real verification link - // HTML emails are not available currently. - textContent?: string; -} - -export interface SendVerificationEmailResponse {} - -export interface Session { - // unix timestamp - created?: number; - // unix timestamp - expires?: number; - // the session id - id?: string; - // the associated user id - userId?: string; -} - -export interface UpdatePasswordRequest { - // confirm new password - confirmPassword?: string; - // the new password - newPassword?: string; - // the old password - oldPassword?: string; - // the account id - userId?: string; -} - -export interface UpdatePasswordResponse {} - -export interface UpdateRequest { - // the new email address - email?: string; - // the account id - id?: string; - // the user profile as map - profile?: { [key: string]: string }; - // the new username - username?: string; -} - -export interface UpdateResponse {} - -export interface VerifyEmailRequest { - // The token from the verification email - token?: string; -} - -export interface VerifyEmailResponse {} diff --git a/clients/ts/vehicle/index.ts b/clients/ts/vehicle/index.ts deleted file mode 100755 index 634c894..0000000 --- a/clients/ts/vehicle/index.ts +++ /dev/null @@ -1,55 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class VehicleService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Lookup a UK vehicle by it's registration number - lookup(request: LookupRequest): Promise { - return this.client.call( - "vehicle", - "Lookup", - request - ) as Promise; - } -} - -export interface LookupRequest { - // the vehicle registration number - registration?: string; -} - -export interface LookupResponse { - // co2 emmissions - co2Emissions?: number; - // colour of vehicle - colour?: string; - // engine capacity - engineCapacity?: number; - // fuel type e.g petrol, diesel - fuelType?: string; - // date of last v5 issue - lastV5Issued?: string; - // make of vehicle - make?: string; - // month of first registration - monthOfFirstRegistration?: string; - // mot expiry - motExpiry?: string; - // mot status - motStatus?: string; - // registration number - registration?: string; - // tax due data - taxDueDate?: string; - // tax status - taxStatus?: string; - // type approvale - typeApproval?: string; - // wheel plan - wheelplan?: string; - // year of manufacture - yearOfManufacture?: number; -} diff --git a/clients/ts/weather/index.ts b/clients/ts/weather/index.ts deleted file mode 100755 index 65dc60e..0000000 --- a/clients/ts/weather/index.ts +++ /dev/null @@ -1,124 +0,0 @@ -import * as m3o from "@m3o/m3o-node"; - -export class WeatherService { - private client: m3o.Client; - - constructor(token: string) { - this.client = new m3o.Client({ token: token }); - } - // Get the weather forecast for the next 1-10 days - forecast(request: ForecastRequest): Promise { - return this.client.call( - "weather", - "Forecast", - request - ) as Promise; - } - // Get the current weather report for a location by postcode, city, zip code, ip address - now(request: NowRequest): Promise { - return this.client.call("weather", "Now", request) as Promise; - } -} - -export interface Forecast { - // the average temp in celsius - avgTempC?: number; - // the average temp in fahrenheit - avgTempF?: number; - // chance of rain (percentage) - chanceOfRain?: number; - // forecast condition - condition?: string; - // date of the forecast - date?: string; - // the URL of forecast condition icon. Simply prefix with either http or https to use it - iconUrl?: string; - // max temp in celsius - maxTempC?: number; - // max temp in fahrenheit - maxTempF?: number; - // minimum temp in celsius - minTempC?: number; - // minimum temp in fahrenheit - minTempF?: number; - // time of sunrise - sunrise?: string; - // time of sunset - sunset?: string; - // will it rain - willItRain?: boolean; -} - -export interface ForecastRequest { - // number of days. default 1, max 10 - days?: number; - // location of the forecase - location?: string; -} - -export interface ForecastResponse { - // country of the request - country?: string; - // forecast for the next number of days - forecast?: { [key: string]: any }[]; - // e.g 37.55 - latitude?: number; - // the local time - localTime?: string; - // location of the request - location?: string; - // e.g -77.46 - longitude?: number; - // region related to the location - region?: string; - // timezone of the location - timezone?: string; -} - -export interface NowRequest { - // location to get weather e.g postcode, city - location?: string; -} - -export interface NowResponse { - // cloud cover percentage - cloud?: number; - // the weather condition - condition?: string; - // country of the request - country?: string; - // whether its daytime - daytime?: boolean; - // feels like in celsius - feelsLikeC?: number; - // feels like in fahrenheit - feelsLikeF?: number; - // the humidity percentage - humidity?: number; - // the URL of the related icon. Simply prefix with either http or https to use it - iconUrl?: string; - // e.g 37.55 - latitude?: number; - // the local time - localTime?: string; - // location of the request - location?: string; - // e.g -77.46 - longitude?: number; - // region related to the location - region?: string; - // temperature in celsius - tempC?: number; - // temperature in fahrenheit - tempF?: number; - // timezone of the location - timezone?: string; - // wind degree - windDegree?: number; - // wind direction - windDirection?: string; - // wind in kph - windKph?: number; - // wind in mph - windMph?: number; -} diff --git a/cmd/clients/README.md b/cmd/clients/README.md deleted file mode 100644 index dacdda3..0000000 --- a/cmd/clients/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# Client and example generation - -To run the code generation, from the repo root issue: - - -```sh -go install ./cmd/clients; clients . -``` - -The generated clients will end up in `./clients`. - -Take inspiration from the `.github/workflows/publish.yml` to see how to publish the NPM package. - - -# Typescript gotchas - -There is some funkiness going on with the package names in the generator - \ No newline at end of file diff --git a/cmd/clients/example.go b/cmd/clients/example.go deleted file mode 100644 index 6ee174a..0000000 --- a/cmd/clients/example.go +++ /dev/null @@ -1,198 +0,0 @@ -package main - -import ( - "encoding/json" - "fmt" - "sort" - "strings" - - "github.com/crufter/nested" - "github.com/getkin/kin-openapi/openapi3" - "github.com/stoewer/go-strcase" -) - -func schemaToGoExample(serviceName, typeName string, schemas map[string]*openapi3.SchemaRef, values map[string]interface{}) string { - var recurse func(props map[string]*openapi3.SchemaRef, path []string) string - - var spec *openapi3.SchemaRef = schemas[typeName] - if spec == nil { - existing := "" - for k, _ := range schemas { - existing += k + " " - } - panic("can't find schema " + typeName + " but found " + existing) - } - detectType := func(currentType string, properties map[string]*openapi3.SchemaRef) (string, bool) { - index := map[string]bool{} - for key, prop := range properties { - index[key+prop.Value.Title] = true - } - for k, schema := range schemas { - // we don't want to return the type matching itself - if strings.ToLower(k) == currentType { - continue - } - if strings.HasSuffix(k, "Request") || strings.HasSuffix(k, "Response") { - continue - } - if len(schema.Value.Properties) != len(properties) { - continue - } - found := false - for key, prop := range schema.Value.Properties { - - _, ok := index[key+prop.Value.Title] - found = ok - if !ok { - break - } - } - if found { - return schema.Value.Title, true - } - } - return "", false - } - var fieldSeparator, objectOpen, objectClose, arrayPrefix, arrayPostfix, fieldDelimiter, stringType, boolType string - var int32Type, int64Type, floatType, doubleType, mapType, anyType, typeInstancePrefix string - var fieldUpperCase bool - language := "go" - switch language { - case "go": - fieldUpperCase = true - fieldSeparator = ": " - arrayPrefix = "[]" - arrayPostfix = "" - objectOpen = "{\n" - objectClose = "}" - fieldDelimiter = "," - stringType = "string" - boolType = "bool" - int32Type = "int32" - int64Type = "int64" - floatType = "float32" - doubleType = "float64" - mapType = "map[string]%v" - anyType = "interface{}" - typeInstancePrefix = "&" - } - - valueToType := func(v *openapi3.SchemaRef) string { - switch v.Value.Type { - case "string": - return stringType - case "boolean": - return boolType - case "number": - switch v.Value.Format { - case "int32": - return int32Type - case "int64": - return int64Type - case "float": - return floatType - case "double": - return doubleType - } - default: - return "unrecognized: " + v.Value.Type - } - return "" - } - - printMap := func(m map[string]interface{}, level int) string { - ret := "" - for k, v := range m { - marsh, _ := json.Marshal(v) - ret += strings.Repeat("\t", level) + fmt.Sprintf("\"%v\": %v,\n", k, string(marsh)) - } - return ret - } - - recurse = func(props map[string]*openapi3.SchemaRef, path []string) string { - ret := "" - - i := 0 - var keys []string - for k := range props { - keys = append(keys, k) - } - sort.Strings(keys) - for i, v := range path { - path[i] = strcase.LowerCamelCase(v) - } - for _, k := range keys { - v := props[k] - ret += strings.Repeat("\t", len(path)) - if fieldUpperCase { - k = strcase.UpperCamelCase(k) - } - - var val interface{} - p := strings.Replace(strings.Join(append(path, strcase.LowerCamelCase(k)), "."), ".[", "[", -1) - val, ok := nested.Get(values, p) - if !ok { - continue - } - // hack - if str, ok := val.(string); ok { - if str == "" { - continue - } - } - switch v.Value.Type { - case "object": - typ, found := detectType(k, v.Value.Properties) - if found { - ret += k + fieldSeparator + typeInstancePrefix + serviceName + "." + strings.Title(typ) + objectOpen + recurse(v.Value.Properties, append(path, k)) + objectClose + fieldDelimiter - } else { - // type is a dynamic map - // if additional properties is present, then it's a map string string or other typed map - if v.Value.AdditionalProperties != nil { - ret += k + fieldSeparator + fmt.Sprintf(mapType, valueToType(v.Value.AdditionalProperties)) + objectOpen + printMap(val.(map[string]interface{}), len(path)+1) + objectClose + fieldDelimiter - } else { - // if additional properties is not present, it's an any type, - // like the proto struct type - ret += k + fieldSeparator + fmt.Sprintf(mapType, anyType) + objectOpen + printMap(val.(map[string]interface{}), len(path)+1) + objectClose + fieldDelimiter - } - } - case "array": - typ, found := detectType(k, v.Value.Items.Value.Properties) - if found { - ret += k + fieldSeparator + arrayPrefix + serviceName + "." + strings.Title(typ) + objectOpen + serviceName + "." + strings.Title(typ) + objectOpen + recurse(v.Value.Items.Value.Properties, append(append(path, k), "[0]")) + objectClose + objectClose + arrayPostfix + fieldDelimiter - } else { - arrint := val.([]interface{}) - switch v.Value.Items.Value.Type { - case "string": - arrstr := make([]string, len(arrint)) - for i, v := range arrint { - arrstr[i] = fmt.Sprintf("%v", v) - } - - ret += k + fieldSeparator + fmt.Sprintf("%#v", arrstr) + fieldDelimiter - case "number", "boolean": - ret += k + fieldSeparator + arrayPrefix + fmt.Sprintf("%v", val) + arrayPostfix + fieldDelimiter - case "object": - ret += k + fieldSeparator + arrayPrefix + fmt.Sprintf(mapType, valueToType(v.Value.AdditionalProperties)) + objectOpen + fmt.Sprintf(mapType, valueToType(v.Value.AdditionalProperties)) + objectOpen + recurse(v.Value.Items.Value.Properties, append(append(path, k), "[0]")) + strings.Repeat("\t", len(path)) + objectClose + objectClose + arrayPostfix + fieldDelimiter - } - } - case "string": - if strings.Contains(val.(string), "\n") { - ret += k + fieldSeparator + fmt.Sprintf("`%v`", val) + fieldDelimiter - } else { - ret += k + fieldSeparator + fmt.Sprintf("\"%v\"", val) + fieldDelimiter - } - case "number", "boolean": - ret += k + fieldSeparator + fmt.Sprintf("%v", val) + fieldDelimiter - } - - if i < len(props) { - ret += "\n" - } - i++ - - } - return ret - } - return recurse(spec.Value.Properties, []string{}) -} diff --git a/cmd/clients/gen_test.go b/cmd/clients/gen_test.go deleted file mode 100644 index 7dd64a3..0000000 --- a/cmd/clients/gen_test.go +++ /dev/null @@ -1,485 +0,0 @@ -package main - -import ( - "encoding/json" - "fmt" - "strings" - "testing" - - "github.com/Masterminds/semver/v3" - "github.com/getkin/kin-openapi/openapi3" -) - -func TestSemver(t *testing.T) { - v, _ := semver.NewVersion("0.0.0-beta1") - if incBeta(*v).String() != "0.0.0-beta2" { - t.Fatal(v) - } - - v1, _ := semver.NewVersion("0.0.1") - if !v1.GreaterThan(v) { - t.Fatal("no good") - } - - v2, _ := semver.NewVersion("0.0.0") - if !v2.GreaterThan(v) { - t.Fatal("no good") - } - - if v.String() != "0.0.0-beta1" { - t.Fatal("no good") - } - - v3, _ := semver.NewVersion("0.0.0-beta2") - if !v3.GreaterThan(v) { - t.Fatal("no good") - } -} - -type tspec struct { - openapi string - tsresult string - key string -} - -var cases = []tspec{ - { - openapi: `{ - "components": { - "schemas": { - "QueryRequest": { - "description": "Query posts. Acts as a listing when no id or slug provided.\n Gets a single post by id or slug if any of them provided.", - "properties": { - "id": { - "type": "string" - }, - "limit": { - "format": "int64", - "type": "number" - }, - "offset": { - "format": "int64", - "type": "number" - }, - "slug": { - "type": "string" - }, - "tag": { - "type": "string" - } - }, - "title": "QueryRequest", - "type": "object" - } - } - } - }`, - key: "QueryRequest", - tsresult: `export interface QueryRequest { - id?: string; - limit?: number; - offset?: number; - slug?: string; - tag?: string; -}`, - }, - { - openapi: `{"components": { "schemas": { - "QueryResponse": { - "properties": { - "posts": { - "items": { - "properties": { - "author": { - "type": "string" - }, - "content": { - "type": "string" - }, - "created": { - "format": "int64", - "type": "number" - }, - "id": { - "type": "string" - }, - "image": { - "type": "string" - }, - "metadata": { - "items": { - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "slug": { - "type": "string" - }, - "tags": { - "items": { - "type": "string" - }, - "type": "array" - }, - "title": { - "type": "string" - }, - "updated": { - "format": "int64", - "type": "number" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "title": "QueryResponse", - "type": "object" -}}}}`, - key: "QueryResponse", - tsresult: ` -export interface QueryResponse { - posts?: { - author?: string; - content?: string; - created?: number; - id?: string; - image?: string; - metadata?: { - key?: string; - value?: string; - }[]; - slug?: string; - tags?: string[]; - title?: string; - updated?: number; - }[]; -}`, - }, -} - -func TestTsGen(t *testing.T) { - // @todo fix tests to be up to date - return - for _, c := range cases { - spec := &openapi3.Swagger{} - err := json.Unmarshal([]byte(c.openapi), &spec) - if err != nil { - t.Fatal(err) - } - //spew.Dump(spec.Components.Schemas) - res := schemaToType("typescript", "ServiceName", c.key, spec.Components.Schemas) - if res != c.tsresult { - t.Logf("Expected %v, got: %v", c.tsresult, res) - } - } -} - -func TestTimeExample(t *testing.T) { - spec := &openapi3.Swagger{} - err := json.Unmarshal([]byte(timeExample), &spec) - if err != nil { - t.Fatal(err) - } - if len(spec.Components.Schemas) == 0 { - t.Fatal("boo") - } - - fmt.Println(spec.Components.Schemas) - res := schemaToGoExample("time", "NowRequest", spec.Components.Schemas, map[string]interface{}{ - "location": "London", - }) - if strings.TrimSpace(res) != strings.TrimSpace(timeExp) { - t.Log(res, timeExp) - } - - fmt.Println(spec.Components.Schemas) - res = schemaToGoExample("time", "ZoneRequest", spec.Components.Schemas, map[string]interface{}{ - "location": "London", - }) - if strings.TrimSpace(res) != strings.TrimSpace(timeExp) { - t.Log(res, timeExp) - } -} - -const timeExample = `{ - "components": { - "schemas": { - - "NowRequest": { - "description": "Get the current time", - "properties": { - "location": { - "description": "optional location, otherwise returns UTC", - "type": "string" - } - }, - "title": "NowRequest", - "type": "object" - }, - "NowResponse": { - "properties": { - "localtime": { - "description": "the current time as HH:MM:SS", - "type": "string" - }, - "location": { - "description": "the location as Europe/London", - "type": "string" - }, - "timestamp": { - "description": "timestamp as 2006-01-02T15:04:05.999999999Z07:00", - "type": "string" - }, - "timezone": { - "description": "the timezone as BST", - "type": "string" - }, - "unix": { - "description": "the unix timestamp", - "format": "int64", - "type": "number" - } - }, - "title": "NowResponse", - "type": "object" - }, - "ZoneRequest": { - "description": "Get the timezone info for a specific location", - "properties": { - "location": { - "description": "location to lookup e.g postcode, city, ip address", - "type": "string" - } - }, - "title": "ZoneRequest", - "type": "object" - }, - "ZoneResponse": { - "properties": { - "abbreviation": { - "description": "the abbreviated code e.g BST", - "type": "string" - }, - "country": { - "description": "country of the timezone", - "type": "string" - }, - "dst": { - "description": "is daylight savings", - "type": "boolean" - }, - "latitude": { - "description": "e.g 51.42", - "format": "double", - "type": "number" - }, - "localtime": { - "description": "the local time", - "type": "string" - }, - "location": { - "description": "location requested", - "type": "string" - }, - "longitude": { - "description": "e.g -0.37", - "format": "double", - "type": "number" - }, - "region": { - "description": "region of timezone", - "type": "string" - }, - "timezone": { - "description": "the timezone e.g Europe/London", - "type": "string" - } - }, - "title": "ZoneResponse", - "type": "object" - } - - } - } -}` - -const timeExp = `Location: London, -` - -func TestExample(t *testing.T) { - - spec := &openapi3.Swagger{} - err := json.Unmarshal([]byte(arrayExample), &spec) - if err != nil { - t.Fatal(err) - } - if len(spec.Components.Schemas) == 0 { - t.Fatal("boo") - } - //spew.Dump(spec.Components.Schemas) - res := schemaToGoExample("file", "ListResponse", spec.Components.Schemas, map[string]interface{}{ - "files": []map[string]interface{}{ - { - "content": "something something", - "created": "2021-05-20T13:37:21Z", - "path": "/documents/text-files/file.txt", - "metadata": map[string]interface{}{ - "meta1": "value1", - "meta2": "value2", - }, - "project": "my-project", - "updated": "2021-05-20T14:37:21Z", - }, - }, - }) - if strings.TrimSpace(res) != strings.TrimSpace(arrayExp) { - t.Log(res, arrayExp) - } - - spec = &openapi3.Swagger{} - err = json.Unmarshal([]byte(simpleExample), &spec) - if err != nil { - t.Log(err) - } - if len(spec.Components.Schemas) == 0 { - t.Log("boo") - } - fmt.Println(spec.Components.Schemas) - res = schemaToGoExample("file", "DeleteRequest", spec.Components.Schemas, map[string]interface{}{ - "project": "examples", - "path": "/document/text-files/file.txt", - }) - if strings.TrimSpace(res) != strings.TrimSpace(simpleExp) { - t.Log(res, arrayExp) - } -} - -const simpleExample = `{ - "components": { - "schemas": { - "DeleteRequest": { - "description": "Delete a file by project name/path", - "properties": { - "path": { - "description": "Path to the file", - "type": "string" - }, - "project": { - "description": "The project name", - "type": "string" - } - }, - "title": "DeleteRequest", - "type": "object" - } - } - } -}` - -const simpleExp = `Path: "/document/text-files/file.txt" -Project: "exaples" -` - -const arrayExp = `Files: []file.Record{ -file.Record{ - Content: "something something", - Created: "2021-05-20T13:37:21Z", - Metadata: map[string]string{ - "meta1": "value1", - "meta2": "value2", -}, - Path: "/documents/text-files/file.txt", - Project: "my-project", - Updated: "2021-05-20T14:37:21Z", -}},` - -const arrayExample = `{ - "components": { - "schemas": { - "ListResponse": { - "properties": { - "files": { - "items": { - "properties": { - "content": { - "description": "File contents", - "type": "string" - }, - "created": { - "description": "Time the file was created e.g 2021-05-20T13:37:21Z", - "type": "string" - }, - "metadata": { - "additionalProperties": { - "type": "string" - }, - "description": "Any other associated metadata as a map of key-value pairs", - "type": "object" - }, - "path": { - "description": "Path to file or folder eg. '/documents/text-files/file.txt'.", - "type": "string" - }, - "project": { - "description": "A custom project to group files\n eg. file-of-mywebsite.com", - "type": "string" - }, - "updated": { - "description": "Time the file was updated e.g 2021-05-20T13:37:21Z", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - } - }, - "title": "ListResponse", - "type": "object" - }, - "Record": { - "properties": { - "content": { - "description": "File contents", - "type": "string" - }, - "created": { - "description": "Time the file was created e.g 2021-05-20T13:37:21Z", - "type": "string" - }, - "metadata": { - "additionalProperties": { - "type": "string" - }, - "description": "Any other associated metadata as a map of key-value pairs", - "type": "object" - }, - "path": { - "description": "Path to file or folder eg. '/documents/text-files/file.txt'.", - "type": "string" - }, - "project": { - "description": "A custom project to group files\n eg. file-of-mywebsite.com", - "type": "string" - }, - "updated": { - "description": "Time the file was updated e.g 2021-05-20T13:37:21Z", - "type": "string" - } - }, - "title": "Record", - "type": "object" - } - } - } - }` diff --git a/cmd/clients/go_template.go b/cmd/clients/go_template.go deleted file mode 100644 index 55e36ae..0000000 --- a/cmd/clients/go_template.go +++ /dev/null @@ -1,78 +0,0 @@ -package main - -const goIndexTemplate = `package services - -import( - {{ range $service := .services }}"github.com/micro/services/clients/go/{{ $service.Name}}" -{{ end }} -) - -func NewClient(token string) *Client { - return &Client{ - token: token, - {{ range $service := .services }} - {{ title $service.Name }}Service: {{ $service.Name }}.New{{ title $service.Name}}Service(token),{{end}} - } -} - -type Client struct { - token string -{{ range $service := .services }} - {{ title $service.Name }}Service *{{ $service.Name }}.{{ title $service.Name }}Service{{end}} -} -` - -const goServiceTemplate = `{{ $service := .service }}package {{ $service.Name }} - -import( - "github.com/micro/micro-go/client" -) - -func New{{ title $service.Name }}Service(token string) *{{ title $service.Name }}Service { - return &{{ title $service.Name }}Service{ - client: client.NewClient(&client.Options{ - Token: token, - }), - } -} - -type {{ title $service.Name }}Service struct { - client *client.Client -} - -{{ range $key, $req := $service.Spec.Components.RequestBodies }} -{{ $endpointName := requestTypeToEndpointName $key}}{{ if endpointComment $endpointName $service.Spec.Components.Schemas }}{{ endpointComment $endpointName $service.Spec.Components.Schemas }}{{ end }}func (t *{{ title $service.Name }}Service) {{ $endpointName }}(request *{{ requestType $key }}) (*{{ requestTypeToResponseType $key }}, error) { - rsp := &{{ requestTypeToResponseType $key }}{} - return rsp, t.client.Call("{{ $service.Name }}", "{{ requestTypeToEndpointPath $key}}", request, rsp) -} -{{ end }} - - -{{ range $typeName, $schema := $service.Spec.Components.Schemas }} -type {{ title $typeName }} struct {{ "{" }} -{{ recursiveTypeDefinition "go" $service.Name $typeName $service.Spec.Components.Schemas }}{{ "}" }} -{{end}} -` - -const goExampleTemplate = `{{ $service := .service }}package example - -import( - "fmt" - "os" - - "github.com/micro/services/clients/go/{{ $service.Name}}" -) - -{{ if endpointComment .endpoint $service.Spec.Components.Schemas }}{{ endpointComment .endpoint $service.Spec.Components.Schemas }}{{ end }}func {{ .funcName }}() { - {{ $service.Name }}Service := {{ $service.Name }}.New{{ title $service.Name }}Service(os.Getenv("MICRO_API_TOKEN")) - rsp, err := {{ $service.Name }}Service.{{ title .endpoint }}(&{{ $service.Name }}.{{ title .endpoint }}Request{ - {{ goExampleRequest $service.Name .endpoint $service.Spec.Components.Schemas .example.Request }} - }) - fmt.Println(rsp, err) -} -` - -const curlExampleTemplate = `{{ $service := .service }}curl "http://localhost:8080/{{ $service.Name }}/{{ title .endpoint }}" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{{ tsExampleRequest $service.Name .endpoint $service.Spec.Components.Schemas .example.Request }}'` diff --git a/cmd/clients/main.go b/cmd/clients/main.go deleted file mode 100644 index 3c3dd22..0000000 --- a/cmd/clients/main.go +++ /dev/null @@ -1,926 +0,0 @@ -package main - -import ( - "bufio" - "bytes" - "encoding/json" - "fmt" - "io" - "io/ioutil" - "log" - "os" - "os/exec" - "path/filepath" - "regexp" - "sort" - "strconv" - "strings" - "text/template" - - "github.com/Masterminds/semver/v3" - "github.com/fatih/camelcase" - "github.com/getkin/kin-openapi/openapi3" - "github.com/stoewer/go-strcase" -) - -type service struct { - Spec *openapi3.Swagger - Name string - // overwrite import name of service when it's a keyword ie function in javascript - ImportName string -} - -type example struct { - Title string `json:"title"` - Description string `json:"description"` - Request map[string]interface{} - Response map[string]interface{} -} - -func main() { - files, err := ioutil.ReadDir(os.Args[1]) - if err != nil { - log.Fatal(err) - } - workDir, _ := os.Getwd() - tsPath := filepath.Join(workDir, "clients", "ts") - err = os.MkdirAll(tsPath, 0777) - if err != nil { - fmt.Println(err) - os.Exit(1) - } - goPath := filepath.Join(workDir, "clients", "go") - err = os.MkdirAll(goPath, 0777) - if err != nil { - fmt.Println(err) - os.Exit(1) - } - examplesPath := filepath.Join(workDir, "examples") - err = os.MkdirAll(goPath, 0777) - if err != nil { - fmt.Println(err) - os.Exit(1) - } - - funcs := map[string]interface{}{ - "recursiveTypeDefinition": func(language, serviceName, typeName string, schemas map[string]*openapi3.SchemaRef) string { - return schemaToType(language, serviceName, typeName, schemas) - }, - "requestTypeToEndpointName": func(requestType string) string { - parts := camelcase.Split(requestType) - return strings.Join(parts[1:len(parts)-1], "") - }, - // strips service name from the request type - "requestType": func(requestType string) string { - parts := camelcase.Split(requestType) - return strings.Join(parts[1:], "") - }, - "requestTypeToResponseType": func(requestType string) string { - parts := camelcase.Split(requestType) - return strings.Join(parts[1:len(parts)-1], "") + "Response" - }, - "endpointComment": func(endpoint string, schemas map[string]*openapi3.SchemaRef) string { - v := schemas[strings.Title(endpoint)+"Request"] - if v == nil { - panic("can't find " + strings.Title(endpoint) + "Request") - } - if v.Value == nil { - return "" - } - comm := v.Value.Description - ret := "" - for _, line := range strings.Split(comm, "\n") { - ret += "// " + strings.TrimSpace(line) + "\n" - } - return ret - }, - "requestTypeToEndpointPath": func(requestType string) string { - parts := camelcase.Split(requestType) - return strings.Title(strings.Join(parts[1:len(parts)-1], "")) - }, - "title": strings.Title, - "untitle": func(t string) string { - return strcase.LowerCamelCase(t) - }, - "goExampleRequest": func(serviceName, endpoint string, schemas map[string]*openapi3.SchemaRef, exampleJSON map[string]interface{}) string { - return schemaToGoExample(serviceName, strings.Title(endpoint)+"Request", schemas, exampleJSON) - }, - "tsExampleRequest": func(serviceName, endpoint string, schemas map[string]*openapi3.SchemaRef, exampleJSON map[string]interface{}) string { - bs, _ := json.MarshalIndent(exampleJSON, "", " ") - return string(bs) - }, - } - services := []service{} - tsFileList := []string{"esm", "index.js", "index.d.ts"} - for _, f := range files { - if strings.Contains(f.Name(), "clients") || strings.Contains(f.Name(), "examples") { - continue - } - if f.IsDir() && !strings.HasPrefix(f.Name(), ".") { - serviceName := f.Name() - tsFileList = append(tsFileList, serviceName) - serviceDir := filepath.Join(workDir, f.Name()) - cmd := exec.Command("make", "api") - cmd.Dir = serviceDir - outp, err := cmd.CombinedOutput() - if err != nil { - fmt.Println(string(outp)) - } - - serviceFiles, err := ioutil.ReadDir(serviceDir) - if err != nil { - fmt.Println("Failed to read service dir", err) - os.Exit(1) - } - skip := false - - // detect openapi json file - apiJSON := "" - for _, serviceFile := range serviceFiles { - if strings.Contains(serviceFile.Name(), "api") && strings.Contains(serviceFile.Name(), "-") && strings.HasSuffix(serviceFile.Name(), ".json") { - apiJSON = filepath.Join(serviceDir, serviceFile.Name()) - } - if serviceFile.Name() == "skip" { - skip = true - } - } - if skip { - continue - } - - fmt.Println("Processing folder", serviceDir, "api json", apiJSON) - - js, err := ioutil.ReadFile(apiJSON) - - if err != nil { - fmt.Println("Failed to read json spec", err) - os.Exit(1) - } - spec := &openapi3.Swagger{} - err = json.Unmarshal(js, &spec) - if err != nil { - fmt.Println("Failed to unmarshal", err) - os.Exit(1) - } - service := service{ - Name: serviceName, - ImportName: serviceName, - Spec: spec, - } - if service.Name == "function" { - service.ImportName = "fx" - } - services = append(services, service) - - templ, err := template.New("ts" + serviceName).Funcs(funcs).Parse(tsServiceTemplate) - if err != nil { - fmt.Println("Failed to unmarshal", err) - os.Exit(1) - } - var b bytes.Buffer - buf := bufio.NewWriter(&b) - err = templ.Execute(buf, map[string]interface{}{ - "service": service, - }) - if err != nil { - fmt.Println("Failed to unmarshal", err) - os.Exit(1) - } - - err = os.MkdirAll(filepath.Join(tsPath, "src", serviceName), 0777) - if err != nil { - fmt.Println(err) - os.Exit(1) - } - f, err := os.OpenFile(filepath.Join(tsPath, "src", serviceName, "index.ts"), os.O_TRUNC|os.O_WRONLY|os.O_CREATE, 0744) - if err != nil { - fmt.Println("Failed to open schema file", err) - os.Exit(1) - } - buf.Flush() - _, err = f.Write(b.Bytes()) - if err != nil { - fmt.Println("Failed to append to schema file", err) - os.Exit(1) - } - cmd = exec.Command("prettier", "-w", "index.ts") - cmd.Dir = filepath.Join(tsPath, "src", serviceName) - outp, err = cmd.CombinedOutput() - if err != nil { - fmt.Println(fmt.Sprintf("Problem formatting '%v' client: %v %s", serviceName, string(outp), err.Error())) - os.Exit(1) - } - - templ, err = template.New("go" + serviceName).Funcs(funcs).Parse(goServiceTemplate) - if err != nil { - fmt.Println("Failed to unmarshal", err) - os.Exit(1) - } - b = bytes.Buffer{} - buf = bufio.NewWriter(&b) - err = templ.Execute(buf, map[string]interface{}{ - "service": service, - }) - if err != nil { - fmt.Println("Failed to unmarshal", err) - os.Exit(1) - } - err = os.MkdirAll(filepath.Join(goPath, serviceName), 0777) - if err != nil { - fmt.Println(err) - os.Exit(1) - } - - goClientFile := filepath.Join(goPath, serviceName, serviceName+".go") - f, err = os.OpenFile(goClientFile, os.O_TRUNC|os.O_WRONLY|os.O_CREATE, 0744) - if err != nil { - fmt.Println("Failed to open schema file", err) - os.Exit(1) - } - buf.Flush() - _, err = f.Write(b.Bytes()) - if err != nil { - fmt.Println("Failed to append to schema file", err) - os.Exit(1) - } - cmd = exec.Command("gofmt", "-w", serviceName+".go") - cmd.Dir = filepath.Join(goPath, serviceName) - outp, err = cmd.CombinedOutput() - if err != nil { - fmt.Println(fmt.Sprintf("Problem formatting '%v' client: %v", serviceName, string(outp))) - os.Exit(1) - } - cmd = exec.Command("go", "build", "-o", "/tmp/bin/outputfile") - cmd.Dir = filepath.Join(goPath, serviceName) - outp, err = cmd.CombinedOutput() - if err != nil { - fmt.Println(fmt.Sprintf("Problem building '%v' example: %v", serviceName, string(outp))) - os.Exit(1) - } - - exam, err := ioutil.ReadFile(filepath.Join(workDir, serviceName, "examples.json")) - if err != nil { - fmt.Println(err) - os.Exit(1) - } - if err == nil { - m := map[string][]example{} - err = json.Unmarshal(exam, &m) - if err != nil { - fmt.Println(string(exam), err) - os.Exit(1) - } - if len(service.Spec.Paths) != len(m) { - fmt.Printf("Service has %v endpoints, but only %v examples\n", len(service.Spec.Paths), len(m)) - } - for endpoint, examples := range m { - for _, example := range examples { - title := regexp.MustCompile("[^a-zA-Z0-9]+").ReplaceAllString(strcase.LowerCamelCase(strings.Replace(example.Title, " ", "_", -1)), "") - templ, err = template.New("go" + serviceName + endpoint).Funcs(funcs).Parse(goExampleTemplate) - if err != nil { - fmt.Println("Failed to unmarshal", err) - os.Exit(1) - } - b = bytes.Buffer{} - buf = bufio.NewWriter(&b) - err = templ.Execute(buf, map[string]interface{}{ - "service": service, - "example": example, - "endpoint": endpoint, - "funcName": strcase.UpperCamelCase(title), - }) - if err != nil { - fmt.Println(err) - os.Exit(1) - } - - // create go examples directory - err = os.MkdirAll(filepath.Join(examplesPath, serviceName, endpoint, "go"), 0777) - if err != nil { - fmt.Println(err) - os.Exit(1) - } - goExampleFile := filepath.Join(examplesPath, serviceName, endpoint, "go", title+".go") - f, err = os.OpenFile(goExampleFile, os.O_TRUNC|os.O_WRONLY|os.O_CREATE, 0744) - if err != nil { - fmt.Println("Failed to open schema file", err) - os.Exit(1) - } - - buf.Flush() - _, err = f.Write(b.Bytes()) - if err != nil { - fmt.Println("Failed to append to schema file", err) - os.Exit(1) - } - - cmd := exec.Command("gofmt", "-w", title+".go") - cmd.Dir = filepath.Join(examplesPath, serviceName, endpoint, "go") - outp, err = cmd.CombinedOutput() - if err != nil { - fmt.Println(fmt.Sprintf("Problem with '%v' example '%v': %v", serviceName, endpoint, string(outp))) - os.Exit(1) - } - - // node example - templ, err = template.New("ts" + serviceName + endpoint).Funcs(funcs).Parse(tsExampleTemplate) - if err != nil { - fmt.Println("Failed to unmarshal", err) - os.Exit(1) - } - b = bytes.Buffer{} - buf = bufio.NewWriter(&b) - err = templ.Execute(buf, map[string]interface{}{ - "service": service, - "example": example, - "endpoint": endpoint, - "funcName": strcase.UpperCamelCase(title), - }) - - err = os.MkdirAll(filepath.Join(examplesPath, serviceName, endpoint, "node"), 0777) - if err != nil { - fmt.Println(err) - os.Exit(1) - } - tsExampleFile := filepath.Join(examplesPath, serviceName, endpoint, "node", title+".js") - f, err = os.OpenFile(tsExampleFile, os.O_TRUNC|os.O_WRONLY|os.O_CREATE, 0744) - if err != nil { - fmt.Println("Failed to open schema file", err) - os.Exit(1) - } - - buf.Flush() - _, err = f.Write(b.Bytes()) - if err != nil { - fmt.Println("Failed to append to schema file", err) - os.Exit(1) - } - - cmd = exec.Command("prettier", "-w", title+".js") - cmd.Dir = filepath.Join(examplesPath, serviceName, endpoint, "node") - outp, err = cmd.CombinedOutput() - if err != nil { - fmt.Println(fmt.Sprintf("Problem with '%v' example '%v': %v", serviceName, endpoint, string(outp))) - os.Exit(1) - } - - // curl example - templ, err = template.New("curl" + serviceName + endpoint).Funcs(funcs).Parse(curlExampleTemplate) - if err != nil { - fmt.Println("Failed to unmarshal", err) - os.Exit(1) - } - b = bytes.Buffer{} - buf = bufio.NewWriter(&b) - err = templ.Execute(buf, map[string]interface{}{ - "service": service, - "example": example, - "endpoint": endpoint, - "funcName": strcase.UpperCamelCase(title), - }) - - err = os.MkdirAll(filepath.Join(examplesPath, serviceName, endpoint, "curl"), 0777) - if err != nil { - fmt.Println(err) - os.Exit(1) - } - - curlExampleFile := filepath.Join(examplesPath, serviceName, endpoint, "curl", title+".sh") - f, err = os.OpenFile(curlExampleFile, os.O_TRUNC|os.O_WRONLY|os.O_CREATE, 0744) - if err != nil { - fmt.Println("Failed to open schema file", err) - os.Exit(1) - } - - buf.Flush() - _, err = f.Write(b.Bytes()) - if err != nil { - fmt.Println("Failed to append to schema file", err) - os.Exit(1) - } - } - // only build after each example is generated as old files from - // previous generation might not compile - cmd = exec.Command("go", "build", "-o", "/tmp/bin/outputfile") - cmd.Dir = filepath.Join(examplesPath, serviceName, endpoint, "go") - outp, err = cmd.CombinedOutput() - if err != nil { - fmt.Println(fmt.Sprintf("Problem with '%v' example '%v': %v", serviceName, endpoint, string(outp))) - os.Exit(1) - } - } - } else { - fmt.Println(err) - } - } - } - - templ, err := template.New("tsclient").Funcs(funcs).Parse(tsIndexTemplate) - if err != nil { - fmt.Println("Failed to unmarshal", err) - os.Exit(1) - } - var b bytes.Buffer - buf := bufio.NewWriter(&b) - err = templ.Execute(buf, map[string]interface{}{ - "services": services, - }) - if err != nil { - fmt.Println("Failed to unmarshal", err) - os.Exit(1) - } - - f, err := os.OpenFile(filepath.Join(tsPath, "index.ts"), os.O_TRUNC|os.O_WRONLY|os.O_CREATE, 0744) - if err != nil { - fmt.Println("Failed to open schema file", err) - os.Exit(1) - } - buf.Flush() - _, err = f.Write(b.Bytes()) - if err != nil { - fmt.Println("Failed to append to schema file", err) - os.Exit(1) - } - cmd := exec.Command("prettier", "-w", "index.ts") - cmd.Dir = filepath.Join(tsPath) - outp, err := cmd.CombinedOutput() - if err != nil { - fmt.Println(fmt.Sprintf("Problem with prettifying clients index.ts '%v", string(outp))) - os.Exit(1) - } - tsFiles := filepath.Join(workDir, "cmd", "clients", "ts") - cmd = exec.Command("cp", filepath.Join(tsFiles, "package.json"), filepath.Join(tsFiles, ".gitignore"), filepath.Join(tsFiles, "package-lock.json"), filepath.Join(tsFiles, "package-lock.json"), filepath.Join(tsFiles, "build.js"), filepath.Join(tsFiles, "tsconfig.es.json"), filepath.Join(tsFiles, "package-lock.json"), filepath.Join(tsFiles, "tsconfig.json"), filepath.Join(workDir, "clients", "ts")) - cmd.Dir = filepath.Join(tsPath) - outp, err = cmd.CombinedOutput() - if err != nil { - fmt.Println(fmt.Sprintf("Problem with prettifying clients index.ts '%v", string(outp))) - os.Exit(1) - } - - templ, err = template.New("goclient").Funcs(funcs).Parse(goIndexTemplate) - if err != nil { - fmt.Println("Failed to unmarshal", err) - os.Exit(1) - } - b = bytes.Buffer{} - buf = bufio.NewWriter(&b) - err = templ.Execute(buf, map[string]interface{}{ - "services": services, - }) - if err != nil { - fmt.Println("Failed to unmarshal", err) - os.Exit(1) - } - f, err = os.OpenFile(filepath.Join(goPath, "m3o.go"), os.O_TRUNC|os.O_WRONLY|os.O_CREATE, 0744) - if err != nil { - fmt.Println("Failed to open schema file", err) - os.Exit(1) - } - buf.Flush() - _, err = f.Write(b.Bytes()) - if err != nil { - fmt.Println("Failed to append to schema file", err) - os.Exit(1) - } - cmd = exec.Command("gofmt", "-w", "m3o.go") - cmd.Dir = filepath.Join(goPath) - outp, err = cmd.CombinedOutput() - if err != nil { - fmt.Println(fmt.Sprintf("Problem with formatting m3o.go '%v", string(outp))) - os.Exit(1) - } - cmd = exec.Command("go", "build", "-o", "/tmp/bin/outputfile") - cmd.Dir = filepath.Join(goPath) - outp, err = cmd.CombinedOutput() - if err != nil { - fmt.Println(fmt.Sprintf("Problem building m3o.go '%v'", string(outp))) - os.Exit(1) - } - - // login to NPM - f, err = os.OpenFile(filepath.Join(tsPath, ".npmrc"), os.O_TRUNC|os.O_WRONLY|os.O_CREATE, 0600) - if err != nil { - fmt.Println("Failed to open npmrc", err) - os.Exit(1) - } - - defer f.Close() - if len(os.Getenv("NPM_TOKEN")) == 0 { - fmt.Println("No NPM_TOKEN env found") - os.Exit(1) - } - if _, err = f.WriteString("//registry.npmjs.org/:_authToken=" + os.Getenv("NPM_TOKEN")); err != nil { - fmt.Println("Failed to open npmrc", err) - os.Exit(1) - } - - // get latest version from github - getVersions := exec.Command("npm", "show", "m3o", "--time", "--json") - getVersions.Dir = tsPath - - outp, err = getVersions.CombinedOutput() - if err != nil { - fmt.Println("Failed to get versions of NPM package", string(outp)) - os.Exit(1) - } - type npmVers struct { - Versions []string `json:"versions"` - } - - beta := os.Getenv("IS_BETA") != "" - if beta { - fmt.Println("creating beta version") - } else { - fmt.Println("creating live version") - } - - npmOutput := &npmVers{} - var latest *semver.Version - if len(outp) > 0 { - err = json.Unmarshal(outp, npmOutput) - if err != nil { - fmt.Println("Failed to unmarshal versions", string(outp)) - os.Exit(1) - } - } - fmt.Println("npm output version: ", npmOutput.Versions) - - for _, version := range npmOutput.Versions { - v, err := semver.NewVersion(version) - if err != nil { - fmt.Println("Failed to parse semver", err) - os.Exit(1) - } - if latest == nil { - latest = v - } - if v.GreaterThan(latest) { - latest = v - } - - } - - if latest == nil { - fmt.Println("found no semver version") - os.Exit(1) - } - - var newV semver.Version - if beta { - // bump a beta version - if strings.Contains(latest.String(), "beta") { - newV = incBeta(*latest) - } else { - // make beta out of latest non beta version - v, _ := semver.NewVersion(latest.IncPatch().String() + "-beta1") - newV = *v - } - } else { - newV = latest.IncPatch() - } - - // add file list to gitignore - f, err = os.OpenFile(filepath.Join(tsPath, ".gitignore"), os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0744) - for _, sname := range tsFileList { - _, err := f.Write([]byte(sname + "\n")) - if err != nil { - fmt.Println("failed to append service to gitignore", err) - os.Exit(1) - } - } - - // bump package to latest version - fmt.Println("Bumping to ", newV.String()) - repl := exec.Command("sed", "-i", "-e", "s/1.0.1/"+newV.String()+"/g", "package.json") - repl.Dir = tsPath - outp, err = repl.CombinedOutput() - if err != nil { - fmt.Println("Failed to make docs", string(outp)) - os.Exit(1) - } - - // apppend exports to to package.json - pak, err := ioutil.ReadFile(filepath.Join(tsPath, "package.json")) - if err != nil { - fmt.Println(err) - os.Exit(1) - } - m := map[string]interface{}{} - err = json.Unmarshal(pak, &m) - if err != nil { - fmt.Println(err) - os.Exit(1) - } - m["files"] = tsFileList - pakJS, err := json.MarshalIndent(m, "", " ") - if err != nil { - fmt.Println(err) - os.Exit(1) - } - f, err = os.OpenFile(filepath.Join(tsPath, "package.json"), os.O_TRUNC|os.O_WRONLY|os.O_CREATE, 0744) - if err != nil { - fmt.Println("Failed to open package.json", err) - os.Exit(1) - } - _, err = f.Write(pakJS) - if err != nil { - fmt.Println("Failed to write to package.json", err) - os.Exit(1) - } -} - -func incBeta(ver semver.Version) semver.Version { - s := ver.String() - parts := strings.Split(s, "beta") - if len(parts) < 2 { - panic("not a beta version " + s) - } - i, err := strconv.ParseInt(parts[1], 10, 64) - if err != nil { - panic(err) - } - i++ - v, err := semver.NewVersion(parts[0] + "beta" + fmt.Sprintf("%v", i)) - if err != nil { - panic(err) - } - return *v -} - -func schemaToType(language, serviceName, typeName string, schemas map[string]*openapi3.SchemaRef) string { - var recurse func(props map[string]*openapi3.SchemaRef, level int) string - - var spec *openapi3.SchemaRef = schemas[typeName] - detectType := func(currentType string, properties map[string]*openapi3.SchemaRef) (string, bool) { - index := map[string]bool{} - for key, prop := range properties { - index[key+prop.Value.Title+prop.Value.Description] = true - } - - for k, schema := range schemas { - // we don't want to return the type matching itself - if strings.ToLower(k) == currentType { - continue - } - if strings.HasSuffix(k, "Request") || strings.HasSuffix(k, "Response") { - continue - } - if len(schema.Value.Properties) != len(properties) { - continue - } - found := false - for key, prop := range schema.Value.Properties { - _, ok := index[key+prop.Value.Title+prop.Value.Description] - found = ok - if !ok { - break - } - } - if found { - return schema.Value.Title, true - } - } - return "", false - } - var fieldSeparator, arrayPrefix, arrayPostfix, fieldDelimiter, stringType, numberType, boolType string - var int32Type, int64Type, floatType, doubleType, mapType, anyType, typePrefix string - var fieldUpperCase bool - switch language { - case "typescript": - fieldUpperCase = false - fieldSeparator = "?: " - arrayPrefix = "" - arrayPostfix = "[]" - //objectOpen = "{\n" - //objectClose = "}" - fieldDelimiter = ";" - stringType = "string" - numberType = "number" - boolType = "boolean" - int32Type = "number" - int64Type = "number" - floatType = "number" - doubleType = "number" - anyType = "any" - mapType = "{ [key: string]: %v }" - typePrefix = "" - case "go": - fieldUpperCase = true - fieldSeparator = " " - arrayPrefix = "[]" - arrayPostfix = "" - //objectOpen = "{" - // objectClose = "}" - fieldDelimiter = "" - stringType = "string" - numberType = "int64" - boolType = "bool" - int32Type = "int32" - int64Type = "int64" - floatType = "float32" - doubleType = "float64" - mapType = "map[string]%v" - anyType = "interface{}" - typePrefix = "*" - } - - valueToType := func(v *openapi3.SchemaRef) string { - switch v.Value.Type { - case "string": - return stringType - case "boolean": - return boolType - case "number": - switch v.Value.Format { - case "int32": - return int32Type - case "int64": - return int64Type - case "float": - return floatType - case "double": - return doubleType - } - default: - return "unrecognized: " + v.Value.Type - } - return "" - } - - recurse = func(props map[string]*openapi3.SchemaRef, level int) string { - ret := "" - - i := 0 - var keys []string - for k := range props { - keys = append(keys, k) - } - sort.Strings(keys) - for _, k := range keys { - v := props[k] - ret += strings.Repeat(" ", level) - if v.Value.Description != "" { - for _, commentLine := range strings.Split(v.Value.Description, "\n") { - ret += "// " + strings.TrimSpace(commentLine) + "\n" + strings.Repeat(" ", level) - } - - } - - if fieldUpperCase { - k = strcase.UpperCamelCase(k) - } - var typ string - // @todo clean up this piece of code by - // separating out type string marshaling and not - // repeating code - switch v.Value.Type { - case "object": - typ, found := detectType(k, v.Value.Properties) - if found { - ret += k + fieldSeparator + typePrefix + strings.Title(typ) + fieldDelimiter - } else { - // type is a dynamic map - // if additional properties is not present, it's an any type, - // like the proto struct type - if v.Value.AdditionalProperties != nil { - ret += k + fieldSeparator + fmt.Sprintf(mapType, valueToType(v.Value.AdditionalProperties)) + fieldDelimiter - } else { - ret += k + fieldSeparator + fmt.Sprintf(mapType, anyType) + fieldDelimiter - } - } - case "array": - typ, found := detectType(k, v.Value.Items.Value.Properties) - if found { - ret += k + fieldSeparator + arrayPrefix + strings.Title(typ) + arrayPostfix + fieldDelimiter - } else { - switch v.Value.Items.Value.Type { - case "string": - ret += k + fieldSeparator + arrayPrefix + stringType + arrayPostfix + fieldDelimiter - case "number": - typ := numberType - switch v.Value.Format { - case "int32": - typ = int32Type - case "int64": - typ = int64Type - case "float": - typ = floatType - case "double": - typ = doubleType - } - ret += k + fieldSeparator + arrayPrefix + typ + arrayPostfix + fieldDelimiter - case "boolean": - ret += k + fieldSeparator + arrayPrefix + boolType + arrayPostfix + fieldDelimiter - case "object": - // type is a dynamic map - // if additional properties is not present, it's an any type, - // like the proto struct type - if v.Value.AdditionalProperties != nil { - ret += k + fieldSeparator + arrayPrefix + fmt.Sprintf(mapType, valueToType(v.Value.AdditionalProperties)) + arrayPostfix + fieldDelimiter - } else { - ret += k + fieldSeparator + arrayPrefix + fmt.Sprintf(mapType, anyType) + arrayPostfix + fieldDelimiter - } - } - } - case "string": - ret += k + fieldSeparator + stringType + fieldDelimiter - case "number": - typ = numberType - switch v.Value.Format { - case "int32": - typ = int32Type - case "int64": - typ = int64Type - case "float": - typ = floatType - case "double": - typ = doubleType - } - ret += k + fieldSeparator + typ + fieldDelimiter - case "boolean": - ret += k + fieldSeparator + boolType + fieldDelimiter - } - // go specific hack for lowercase json - if language == "go" { - ret += " " + "`json:\"" + strcase.LowerCamelCase(k) - if typ == int64Type { - ret += ",string" - } - ret += "\"`" - } - - if i < len(props) { - ret += "\n" - } - i++ - - } - return ret - } - return recurse(spec.Value.Properties, 1) -} - -func schemaToMethods(title string, spec *openapi3.RequestBodyRef) string { - return "" -} - -// CopyFile copies a file from src to dst. If src and dst files exist, and are -// the same, then return success. Otherise, attempt to create a hard link -// between the two files. If that fail, copy the file contents from src to dst. -// from https://stackoverflow.com/questions/21060945/simple-way-to-copy-a-file-in-golang -func CopyFile(src, dst string) (err error) { - sfi, err := os.Stat(src) - if err != nil { - return - } - if !sfi.Mode().IsRegular() { - // cannot copy non-regular files (e.g., directories, - // symlinks, devices, etc.) - return fmt.Errorf("CopyFile: non-regular source file %s (%q)", sfi.Name(), sfi.Mode().String()) - } - dfi, err := os.Stat(dst) - if err != nil { - if !os.IsNotExist(err) { - return - } - } else { - if !(dfi.Mode().IsRegular()) { - return fmt.Errorf("CopyFile: non-regular destination file %s (%q)", dfi.Name(), dfi.Mode().String()) - } - if os.SameFile(sfi, dfi) { - return - } - } - if err = os.Link(src, dst); err == nil { - return - } - err = copyFileContents(src, dst) - return -} - -// copyFileContents copies the contents of the file named src to the file named -// by dst. The file will be created if it does not already exist. If the -// destination file exists, all it's contents will be replaced by the contents -// of the source file. -func copyFileContents(src, dst string) (err error) { - in, err := os.Open(src) - if err != nil { - return - } - defer in.Close() - out, err := os.Create(dst) - if err != nil { - return - } - defer func() { - cerr := out.Close() - if err == nil { - err = cerr - } - }() - if _, err = io.Copy(out, in); err != nil { - return - } - err = out.Sync() - return -} diff --git a/cmd/clients/ts/.gitignore b/cmd/clients/ts/.gitignore deleted file mode 100644 index d4cb6ad..0000000 --- a/cmd/clients/ts/.gitignore +++ /dev/null @@ -1,10 +0,0 @@ -node_modules -dist -es -lib -types -tmp -index.js -index.d.ts -esm -.npmrc diff --git a/cmd/clients/ts/build.js b/cmd/clients/ts/build.js deleted file mode 100644 index 2b293ca..0000000 --- a/cmd/clients/ts/build.js +++ /dev/null @@ -1,91 +0,0 @@ -const chalk = require('chalk'); -const path = require('path'); -const fs = require('fs'); -const rimraf = require('rimraf'); -const { ncp } = require('ncp'); - -function getTmpEsmDirectories() { - return fs - .readdirSync('./tmp/esm') - .filter(file => fs.statSync(`./tmp/esm/${file}`).isDirectory()); -} - -function log(text) { - console.log(`${chalk.cyan('M3O JS:')} ${text}`); -} - -function writeModulePackageJsonFile(location) { - fs.writeFileSync( - `${location}/package.json`, - `{"module": "./esm/index.js"}`, - 'utf8' - ); -} - -function deleteDirectory(directory) { - return new Promise(resolve => { - rimraf(directory, err => { - resolve(); - }); - }); -} - -function copyAllTmpFolders() { - return new Promise((resolve, reject) => { - // Now copy to root level - ncp(path.join(__dirname, 'tmp'), __dirname, err => { - if (err) { - reject(err); - } else { - resolve(); - } - }); - }); -} - -function moveToLocalEsmFolders() { - return new Promise((resolve, reject) => { - const esmDirs = getTmpEsmDirectories(); - - // Move the files around in tmp... - esmDirs.forEach(dir => { - const currentPath = path.join(__dirname, 'tmp/esm', dir); - - fs.readdirSync(currentPath).forEach(async file => { - const currentFilePath = path.join(currentPath, file); - const newFilePath = path.join(__dirname, 'tmp', dir, 'esm', file); - const esmFolderLocation = path.join(__dirname, 'tmp', dir, 'esm'); - - try { - if (!fs.existsSync(esmFolderLocation)) { - fs.mkdirSync(esmFolderLocation); - } - - fs.renameSync(currentFilePath, newFilePath); - writeModulePackageJsonFile(`./tmp/${dir}`); - await deleteDirectory(`./tmp/esm/${dir}`); - } catch (err) { - reject(err); - } - }); - }); - - log('Moved local esm folders'); - resolve(); - }); -} - -async function build() { - log('Moving to correct folders'); - - try { - await moveToLocalEsmFolders(); - await copyAllTmpFolders(); - writeModulePackageJsonFile('./tmp/esm'); - await deleteDirectory('./tmp'); - } catch (e) { - console.log(e); - } -} - -build(); \ No newline at end of file diff --git a/cmd/clients/ts/package-lock.json b/cmd/clients/ts/package-lock.json deleted file mode 100644 index acde704..0000000 --- a/cmd/clients/ts/package-lock.json +++ /dev/null @@ -1,7044 +0,0 @@ -{ - "name": "@micro/services", - "version": "1.0.1", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "@micro/services", - "version": "1.0.1", - "license": "ISC", - "dependencies": { - "@babel/runtime": "^7.15.4", - "@m3o/m3o-node": "^0.0.24" - }, - "devDependencies": { - "@babel/cli": "^7.8.4", - "@babel/core": "^7.9.0", - "@babel/node": "^7.8.7", - "@babel/plugin-external-helpers": "^7.8.3", - "@babel/plugin-proposal-object-rest-spread": "^7.9.5", - "@babel/plugin-transform-runtime": "^7.9.0", - "@babel/preset-env": "^7.9.5", - "@babel/preset-flow": "^7.9.0", - "@babel/preset-typescript": "^7.9.0", - "@babel/register": "^7.9.0", - "@rollup/plugin-babel": "^5.3.0", - "@rollup/plugin-node-resolve": "^13.0.4", - "@rollup/plugin-replace": "^3.0.0", - "prettier": "^2.4.1", - "rollup": "^2.7.2", - "rollup-plugin-terser": "^7.0.2", - "rollup-plugin-typescript2": "^0.30.0", - "typescript": "^3.5.1" - } - }, - "node_modules/@babel/cli": { - "version": "7.15.7", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.15.7.tgz", - "integrity": "sha512-YW5wOprO2LzMjoWZ5ZG6jfbY9JnkDxuHDwvnrThnuYtByorova/I0HNXJedrUfwuXFQfYOjcqDA4PU3qlZGZjg==", - "dev": true, - "dependencies": { - "commander": "^4.0.1", - "convert-source-map": "^1.1.0", - "fs-readdir-recursive": "^1.1.0", - "glob": "^7.0.0", - "make-dir": "^2.1.0", - "slash": "^2.0.0", - "source-map": "^0.5.0" - }, - "bin": { - "babel": "bin/babel.js", - "babel-external-helpers": "bin/babel-external-helpers.js" - }, - "engines": { - "node": ">=6.9.0" - }, - "optionalDependencies": { - "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3", - "chokidar": "^3.4.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/compat-data": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.15.0.tgz", - "integrity": "sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.15.8.tgz", - "integrity": "sha512-3UG9dsxvYBMYwRv+gS41WKHno4K60/9GPy1CJaH6xy3Elq8CTtvtjT5R5jmNhXfCYLX2mTw+7/aq5ak/gOE0og==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.15.8", - "@babel/generator": "^7.15.8", - "@babel/helper-compilation-targets": "^7.15.4", - "@babel/helper-module-transforms": "^7.15.8", - "@babel/helpers": "^7.15.4", - "@babel/parser": "^7.15.8", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.6", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.1.2", - "semver": "^6.3.0", - "source-map": "^0.5.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/core/node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@babel/core/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/@babel/generator": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", - "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.6", - "jsesc": "^2.5.1", - "source-map": "^0.5.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.15.4.tgz", - "integrity": "sha512-QwrtdNvUNsPCj2lfNQacsGSQvGX8ee1ttrBrcozUP2Sv/jylewBP/8QFe6ZkBsC8T/GYWonNAWJV4aRR9AL2DA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.15.4.tgz", - "integrity": "sha512-P8o7JP2Mzi0SdC6eWr1zF+AEYvrsZa7GSY1lTayjF5XJhVH0kjLYUZPvTMflP7tBgZoe9gIhTa60QwFpqh/E0Q==", - "dev": true, - "dependencies": { - "@babel/helper-explode-assignable-expression": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.4.tgz", - "integrity": "sha512-rMWPCirulnPSe4d+gwdWXLfAXTTBj8M3guAf5xFQJ0nvFY7tfNAFnWdqaHegHlgDZOCT4qvhF3BYlSJag8yhqQ==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-validator-option": "^7.14.5", - "browserslist": "^4.16.6", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.15.4.tgz", - "integrity": "sha512-7ZmzFi+DwJx6A7mHRwbuucEYpyBwmh2Ca0RvI6z2+WLZYCqV0JOaLb+u0zbtmDicebgKBZgqbYfLaKNqSgv5Pw==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-member-expression-to-functions": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.14.5.tgz", - "integrity": "sha512-TLawwqpOErY2HhWbGJ2nZT5wSkR192QpN+nBg1THfBfftrlvOh+WbhrxXCH4q4xJ9Gl16BGPR/48JA+Ryiho/A==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "regexpu-core": "^4.7.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.2.3.tgz", - "integrity": "sha512-RH3QDAfRMzj7+0Nqu5oqgO5q9mFtQEVvCRsi8qCEfzLR9p2BHfn5FzhSB2oj1fF7I2+DcTORkYaQ6aTR9Cofew==", - "dev": true, - "dependencies": { - "@babel/helper-compilation-targets": "^7.13.0", - "@babel/helper-module-imports": "^7.12.13", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/traverse": "^7.13.0", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2", - "semver": "^6.1.2" - }, - "peerDependencies": { - "@babel/core": "^7.4.0-0" - } - }, - "node_modules/@babel/helper-define-polyfill-provider/node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@babel/helper-define-polyfill-provider/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/@babel/helper-explode-assignable-expression": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.15.4.tgz", - "integrity": "sha512-J14f/vq8+hdC2KoWLIQSsGrC9EFBKE4NFts8pfMpymfApds+fPqR30AOUWc4tyr56h9l/GA1Sxv2q3dLZWbQ/g==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", - "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", - "dev": true, - "dependencies": { - "@babel/helper-get-function-arity": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-get-function-arity": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", - "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.15.4.tgz", - "integrity": "sha512-VTy085egb3jUGVK9ycIxQiPbquesq0HUQ+tPO0uv5mPEBZipk+5FkRKiWq5apuyTE9FUrjENB0rCf8y+n+UuhA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.4.tgz", - "integrity": "sha512-cokOMkxC/BTyNP1AlY25HuBWM32iCEsLPI4BHDpJCHHm1FU2E7dKWWIXJgQgSFiu4lp8q3bL1BIKwqkSUviqtA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.15.4.tgz", - "integrity": "sha512-jeAHZbzUwdW/xHgHQ3QmWR4Jg6j15q4w/gCfwZvtqOxoo5DKtLHk8Bsf4c5RZRC7NmLEs+ohkdq8jFefuvIxAA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.15.8.tgz", - "integrity": "sha512-DfAfA6PfpG8t4S6npwzLvTUpp0sS7JrcuaMiy1Y5645laRJIp/LiLGIBbQKaXSInK8tiGNI7FL7L8UvB8gdUZg==", - "dev": true, - "dependencies": { - "@babel/helper-module-imports": "^7.15.4", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-simple-access": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/helper-validator-identifier": "^7.15.7", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz", - "integrity": "sha512-E/z9rfbAOt1vDW1DR7k4SzhzotVV5+qMciWV6LaG1g4jeFrkDlJedjtV4h0i4Q/ITnUu+Pk08M7fczsB9GXBDw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.14.5.tgz", - "integrity": "sha512-/37qQCE3K0vvZKwoK4XU/irIJQdIfCJuhU5eKnNxpFDsOkgFaUAwbv+RYw6eYgsC0E4hS7r5KqGULUogqui0fQ==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.15.4.tgz", - "integrity": "sha512-v53MxgvMK/HCwckJ1bZrq6dNKlmwlyRNYM6ypaRTdXWGOE2c1/SCa6dL/HimhPulGhZKw9W0QhREM583F/t0vQ==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-wrap-function": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-replace-supers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.15.4.tgz", - "integrity": "sha512-/ztT6khaXF37MS47fufrKvIsiQkx1LBRvSJNzRqmbyeZnTwU9qBxXYLaaT/6KaxfKhjs2Wy8kG8ZdsFUuWBjzw==", - "dev": true, - "dependencies": { - "@babel/helper-member-expression-to-functions": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.15.4.tgz", - "integrity": "sha512-UzazrDoIVOZZcTeHHEPYrr1MvTR/K+wgLg6MY6e1CJyaRhbibftF6fR2KU2sFRtI/nERUZR9fBd6aKgBlIBaPg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.15.4.tgz", - "integrity": "sha512-BMRLsdh+D1/aap19TycS4eD1qELGrCBJwzaY9IE8LrpJtJb+H7rQkPIdsfgnMtLBA6DJls7X9z93Z4U8h7xw0A==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", - "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.15.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", - "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz", - "integrity": "sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-wrap-function": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.15.4.tgz", - "integrity": "sha512-Y2o+H/hRV5W8QhIfTpRIBwl57y8PrZt6JM3V8FOo5qarjshHItyH5lXlpMfBfmBefOqSCpKZs/6Dxqp0E/U+uw==", - "dev": true, - "dependencies": { - "@babel/helper-function-name": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.15.4.tgz", - "integrity": "sha512-V45u6dqEJ3w2rlryYYXf6i9rQ5YMNu4FLS6ngs8ikblhu2VdR1AqAd6aJjBzmf2Qzh6KOLqKHxEN9+TFbAkAVQ==", - "dev": true, - "dependencies": { - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.14.5", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/node": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/node/-/node-7.15.8.tgz", - "integrity": "sha512-JbgTCrnx6IUECznEbQ7e2rbVYtrXKixSbEG2bxxbMkV648WdUf3tdc+ZUW2++dvnnAswcpwc76cRwf0xEQqsrw==", - "dev": true, - "dependencies": { - "@babel/register": "^7.15.3", - "commander": "^4.0.1", - "core-js": "^3.16.0", - "node-environment-flags": "^1.0.5", - "regenerator-runtime": "^0.13.4", - "v8flags": "^3.1.1" - }, - "bin": { - "babel-node": "bin/babel-node.js" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/parser": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", - "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", - "dev": true, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.15.4.tgz", - "integrity": "sha512-eBnpsl9tlhPhpI10kU06JHnrYXwg3+V6CaP2idsCXNef0aeslpqyITXQ74Vfk5uHgY7IG7XP0yIH8b42KSzHog==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.15.4", - "@babel/plugin-proposal-optional-chaining": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.13.0" - } - }, - "node_modules/@babel/plugin-external-helpers": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-external-helpers/-/plugin-external-helpers-7.14.5.tgz", - "integrity": "sha512-q/B/hLX+nDGk73Xn529d7Ar4ih17J8pNBbsXafq8oXij0XfFEA/bks+u+6q5q04zO5o/qivjzui6BqzPfYShEg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-async-generator-functions": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.15.8.tgz", - "integrity": "sha512-2Z5F2R2ibINTc63mY7FLqGfEbmofrHU9FitJW1Q7aPaKFhiPvSq6QEt/BoWN5oME3GVyjcRuNNSRbb9LC0CSWA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-remap-async-to-generator": "^7.15.4", - "@babel/plugin-syntax-async-generators": "^7.8.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-class-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.14.5.tgz", - "integrity": "sha512-q/PLpv5Ko4dVc1LYMpCY7RVAAO4uk55qPwrIuJ5QJ8c6cVuAmhu7I/49JOppXL6gXf7ZHzpRVEUZdYoPLM04Gg==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-class-static-block": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.15.4.tgz", - "integrity": "sha512-M682XWrrLNk3chXCjoPUQWOyYsB93B9z3mRyjtqqYJWDf2mfCdIYgDrA11cgNVhAQieaq6F2fn2f3wI0U4aTjA==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-class-static-block": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.12.0" - } - }, - "node_modules/@babel/plugin-proposal-dynamic-import": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.14.5.tgz", - "integrity": "sha512-ExjiNYc3HDN5PXJx+bwC50GIx/KKanX2HiggnIUAYedbARdImiCU4RhhHfdf0Kd7JNXGpsBBBCOm+bBVy3Gb0g==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-export-namespace-from": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.14.5.tgz", - "integrity": "sha512-g5POA32bXPMmSBu5Dx/iZGLGnKmKPc5AiY7qfZgurzrCYgIztDlHFbznSNCoQuv57YQLnQfaDi7dxCtLDIdXdA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-json-strings": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.14.5.tgz", - "integrity": "sha512-NSq2fczJYKVRIsUJyNxrVUMhB27zb7N7pOFGQOhBKJrChbGcgEAqyZrmZswkPk18VMurEeJAaICbfm57vUeTbQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-json-strings": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.14.5.tgz", - "integrity": "sha512-YGn2AvZAo9TwyhlLvCCWxD90Xq8xJ4aSgaX3G5D/8DW94L8aaT+dS5cSP+Z06+rCJERGSr9GxMBZ601xoc2taw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.14.5.tgz", - "integrity": "sha512-gun/SOnMqjSb98Nkaq2rTKMwervfdAoz6NphdY0vTfuzMfryj+tDGb2n6UkDKwez+Y8PZDhE3D143v6Gepp4Hg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-numeric-separator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.14.5.tgz", - "integrity": "sha512-yiclALKe0vyZRZE0pS6RXgjUOt87GWv6FYa5zqj15PvhOGFO69R5DusPlgK/1K5dVnCtegTiWu9UaBSrLLJJBg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-numeric-separator": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-object-rest-spread": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.15.6.tgz", - "integrity": "sha512-qtOHo7A1Vt+O23qEAX+GdBpqaIuD3i9VRrWgCJeq7WO6H2d14EK3q11urj5Te2MAeK97nMiIdRpwd/ST4JFbNg==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-compilation-targets": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-optional-catch-binding": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.14.5.tgz", - "integrity": "sha512-3Oyiixm0ur7bzO5ybNcZFlmVsygSIQgdOa7cTfOYCMY+wEPAYhZAJxi3mixKFCTCKUhQXuCTtQ1MzrpL3WT8ZQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-optional-chaining": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.14.5.tgz", - "integrity": "sha512-ycz+VOzo2UbWNI1rQXxIuMOzrDdHGrI23fRiz/Si2R4kv2XZQ1BK8ccdHwehMKBlcH/joGW/tzrUmo67gbJHlQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.14.5", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-private-methods": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.14.5.tgz", - "integrity": "sha512-838DkdUA1u+QTCplatfq4B7+1lnDa/+QMI89x5WZHBcnNv+47N8QEj2k9I2MUU9xIv8XJ4XvPCviM/Dj7Uwt9g==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-private-property-in-object": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.15.4.tgz", - "integrity": "sha512-X0UTixkLf0PCCffxgu5/1RQyGGbgZuKoI+vXP4iSbJSYwPb7hu06omsFGBvQ9lJEvwgrxHdS8B5nbfcd8GyUNA==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-create-class-features-plugin": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-unicode-property-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.14.5.tgz", - "integrity": "sha512-6axIeOU5LnY471KenAB9vI8I5j7NQ2d652hIYwVyRfgaZT5UpiqFKCuVXCDMSrU+3VFafnu2c5m3lrWIlr6A5Q==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", - "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-dynamic-import": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", - "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-export-namespace-from": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", - "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-flow": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.14.5.tgz", - "integrity": "sha512-9WK5ZwKCdWHxVuU13XNT6X73FGmutAXeor5lGFq6qhOFtMFUF4jkbijuyUdZZlpYq6E2hZeZf/u3959X9wsv0Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.14.5.tgz", - "integrity": "sha512-u6OXzDaIXjEstBRRoBCQ/uKQKlbuaeE5in0RvWdA4pN6AhqxTIwUsnHPU1CFZA/amYObMsuWhYfRl3Ch90HD0Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.14.5.tgz", - "integrity": "sha512-KOnO0l4+tD5IfOdi4x8C1XmEIRWUjNRV8wc6K2vz/3e8yAOoZZvsRXRRIF/yo/MAOFb4QjtAw9xSxMXbSMRy8A==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.14.5.tgz", - "integrity": "sha512-szkbzQ0mNk0rpu76fzDdqSyPu0MuvpXgC+6rz5rpMb5OIRxdmHfQxrktL8CYolL2d8luMCZTR0DpIMIdL27IjA==", - "dev": true, - "dependencies": { - "@babel/helper-module-imports": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-remap-async-to-generator": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.14.5.tgz", - "integrity": "sha512-dtqWqdWZ5NqBX3KzsVCWfQI3A53Ft5pWFCT2eCVUftWZgjc5DpDponbIF1+c+7cSGk2wN0YK7HGL/ezfRbpKBQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.15.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.15.3.tgz", - "integrity": "sha512-nBAzfZwZb4DkaGtOes1Up1nOAp9TDRRFw4XBzBBSG9QK7KVFmYzgj9o9sbPv7TX5ofL4Auq4wZnxCoPnI/lz2Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-classes": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.15.4.tgz", - "integrity": "sha512-Yjvhex8GzBmmPQUvpXRPWQ9WnxXgAFuZSrqOK/eJlOGIXwvv8H3UEdUigl1gb/bnjTrln+e8bkZUYCBt/xYlBg==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.14.5.tgz", - "integrity": "sha512-pWM+E4283UxaVzLb8UBXv4EIxMovU4zxT1OPnpHJcmnvyY9QbPPTKZfEj31EUvG3/EQRbYAGaYEUZ4yWOBC2xg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.14.7.tgz", - "integrity": "sha512-0mDE99nK+kVh3xlc5vKwB6wnP9ecuSj+zQCa/n0voENtP/zymdT4HH6QEb65wjjcbqr1Jb/7z9Qp7TF5FtwYGw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.14.5.tgz", - "integrity": "sha512-loGlnBdj02MDsFaHhAIJzh7euK89lBrGIdM9EAtHFo6xKygCUGuuWe07o1oZVk287amtW1n0808sQM99aZt3gw==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.14.5.tgz", - "integrity": "sha512-iJjbI53huKbPDAsJ8EmVmvCKeeq21bAze4fu9GBQtSLqfvzj2oRuHVx4ZkDwEhg1htQ+5OBZh/Ab0XDf5iBZ7A==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.14.5.tgz", - "integrity": "sha512-jFazJhMBc9D27o9jDnIE5ZErI0R0m7PbKXVq77FFvqFbzvTMuv8jaAwLZ5PviOLSFttqKIW0/wxNSDbjLk0tYA==", - "dev": true, - "dependencies": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-flow-strip-types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.14.5.tgz", - "integrity": "sha512-KhcolBKfXbvjwI3TV7r7TkYm8oNXHNBqGOy6JDVwtecFaRoKYsUUqJdS10q0YDKW1c6aZQgO+Ys3LfGkox8pXA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-flow": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-for-of": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.15.4.tgz", - "integrity": "sha512-DRTY9fA751AFBDh2oxydvVm4SYevs5ILTWLs6xKXps4Re/KG5nfUkr+TdHCrRWB8C69TlzVgA9b3RmGWmgN9LA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.14.5.tgz", - "integrity": "sha512-vbO6kv0fIzZ1GpmGQuvbwwm+O4Cbm2NrPzwlup9+/3fdkuzo1YqOZcXw26+YUJB84Ja7j9yURWposEHLYwxUfQ==", - "dev": true, - "dependencies": { - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.14.5.tgz", - "integrity": "sha512-ql33+epql2F49bi8aHXxvLURHkxJbSmMKl9J5yHqg4PLtdE6Uc48CH1GS6TQvZ86eoB/ApZXwm7jlA+B3kra7A==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.14.5.tgz", - "integrity": "sha512-WkNXxH1VXVTKarWFqmso83xl+2V3Eo28YY5utIkbsmXoItO8Q3aZxN4BTS2k0hz9dGUloHK26mJMyQEYfkn/+Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.14.5.tgz", - "integrity": "sha512-3lpOU8Vxmp3roC4vzFpSdEpGUWSMsHFreTWOMMLzel2gNGfHE5UWIh/LN6ghHs2xurUp4jRFYMUIZhuFbody1g==", - "dev": true, - "dependencies": { - "@babel/helper-module-transforms": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5", - "babel-plugin-dynamic-import-node": "^2.3.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.15.4.tgz", - "integrity": "sha512-qg4DPhwG8hKp4BbVDvX1s8cohM8a6Bvptu4l6Iingq5rW+yRUAhe/YRup/YcW2zCOlrysEWVhftIcKzrEZv3sA==", - "dev": true, - "dependencies": { - "@babel/helper-module-transforms": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-simple-access": "^7.15.4", - "babel-plugin-dynamic-import-node": "^2.3.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.15.4.tgz", - "integrity": "sha512-fJUnlQrl/mezMneR72CKCgtOoahqGJNVKpompKwzv3BrEXdlPspTcyxrZ1XmDTIr9PpULrgEQo3qNKp6dW7ssw==", - "dev": true, - "dependencies": { - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-module-transforms": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-identifier": "^7.14.9", - "babel-plugin-dynamic-import-node": "^2.3.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.14.5.tgz", - "integrity": "sha512-RfPGoagSngC06LsGUYyM9QWSXZ8MysEjDJTAea1lqRjNECE3y0qIJF/qbvJxc4oA4s99HumIMdXOrd+TdKaAAA==", - "dev": true, - "dependencies": { - "@babel/helper-module-transforms": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.14.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.14.9.tgz", - "integrity": "sha512-l666wCVYO75mlAtGFfyFwnWmIXQm3kSH0C3IRnJqWcZbWkoihyAdDhFm2ZWaxWTqvBvhVFfJjMRQ0ez4oN1yYA==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/plugin-transform-new-target": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.14.5.tgz", - "integrity": "sha512-Nx054zovz6IIRWEB49RDRuXGI4Gy0GMgqG0cII9L3MxqgXz/+rgII+RU58qpo4g7tNEx1jG7rRVH4ihZoP4esQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-object-super": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.14.5.tgz", - "integrity": "sha512-MKfOBWzK0pZIrav9z/hkRqIk/2bTv9qvxHzPQc12RcVkMOzpIKnFCNYJip00ssKWYkd8Sf5g0Wr7pqJ+cmtuFg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-replace-supers": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-parameters": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.15.4.tgz", - "integrity": "sha512-9WB/GUTO6lvJU3XQsSr6J/WKvBC2hcs4Pew8YxZagi6GkTdniyqp8On5kqdK8MN0LMeu0mGbhPN+O049NV/9FQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.14.5.tgz", - "integrity": "sha512-r1uilDthkgXW8Z1vJz2dKYLV1tuw2xsbrp3MrZmD99Wh9vsfKoob+JTgri5VUb/JqyKRXotlOtwgu4stIYCmnw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.14.5.tgz", - "integrity": "sha512-NVIY1W3ITDP5xQl50NgTKlZ0GrotKtLna08/uGY6ErQt6VEQZXla86x/CTddm5gZdcr+5GSsvMeTmWA5Ii6pkg==", - "dev": true, - "dependencies": { - "regenerator-transform": "^0.14.2" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.14.5.tgz", - "integrity": "sha512-cv4F2rv1nD4qdexOGsRQXJrOcyb5CrgjUH9PKrrtyhSDBNWGxd0UIitjyJiWagS+EbUGjG++22mGH1Pub8D6Vg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-runtime": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.15.8.tgz", - "integrity": "sha512-+6zsde91jMzzvkzuEA3k63zCw+tm/GvuuabkpisgbDMTPQsIMHllE3XczJFFtEHLjjhKQFZmGQVRdELetlWpVw==", - "dev": true, - "dependencies": { - "@babel/helper-module-imports": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "babel-plugin-polyfill-corejs2": "^0.2.2", - "babel-plugin-polyfill-corejs3": "^0.2.5", - "babel-plugin-polyfill-regenerator": "^0.2.2", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.14.5.tgz", - "integrity": "sha512-xLucks6T1VmGsTB+GWK5Pl9Jl5+nRXD1uoFdA5TSO6xtiNjtXTjKkmPdFXVLGlK5A2/or/wQMKfmQ2Y0XJfn5g==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-spread": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.15.8.tgz", - "integrity": "sha512-/daZ8s2tNaRekl9YJa9X4bzjpeRZLt122cpgFnQPLGUe61PH8zMEBmYqKkW5xF5JUEh5buEGXJoQpqBmIbpmEQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.14.5.tgz", - "integrity": "sha512-Z7F7GyvEMzIIbwnziAZmnSNpdijdr4dWt+FJNBnBLz5mwDFkqIXU9wmBcWWad3QeJF5hMTkRe4dAq2sUZiG+8A==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-template-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.14.5.tgz", - "integrity": "sha512-22btZeURqiepOfuy/VkFr+zStqlujWaarpMErvay7goJS6BWwdd6BY9zQyDLDa4x2S3VugxFb162IZ4m/S/+Gg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.14.5.tgz", - "integrity": "sha512-lXzLD30ffCWseTbMQzrvDWqljvZlHkXU+CnseMhkMNqU1sASnCsz3tSzAaH3vCUXb9PHeUb90ZT1BdFTm1xxJw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-typescript": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.15.8.tgz", - "integrity": "sha512-ZXIkJpbaf6/EsmjeTbiJN/yMxWPFWvlr7sEG1P95Xb4S4IBcrf2n7s/fItIhsAmOf8oSh3VJPDppO6ExfAfKRQ==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-typescript": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.14.5.tgz", - "integrity": "sha512-crTo4jATEOjxj7bt9lbYXcBAM3LZaUrbP2uUdxb6WIorLmjNKSpHfIybgY4B8SRpbf8tEVIWH3Vtm7ayCrKocA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.14.5.tgz", - "integrity": "sha512-UygduJpC5kHeCiRw/xDVzC+wj8VaYSoKl5JNVmbP7MadpNinAm3SvZCxZ42H37KZBKztz46YC73i9yV34d0Tzw==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-env": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.15.8.tgz", - "integrity": "sha512-rCC0wH8husJgY4FPbHsiYyiLxSY8oMDJH7Rl6RQMknbN9oDDHhM9RDFvnGM2MgkbUJzSQB4gtuwygY5mCqGSsA==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-compilation-targets": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.15.4", - "@babel/plugin-proposal-async-generator-functions": "^7.15.8", - "@babel/plugin-proposal-class-properties": "^7.14.5", - "@babel/plugin-proposal-class-static-block": "^7.15.4", - "@babel/plugin-proposal-dynamic-import": "^7.14.5", - "@babel/plugin-proposal-export-namespace-from": "^7.14.5", - "@babel/plugin-proposal-json-strings": "^7.14.5", - "@babel/plugin-proposal-logical-assignment-operators": "^7.14.5", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5", - "@babel/plugin-proposal-numeric-separator": "^7.14.5", - "@babel/plugin-proposal-object-rest-spread": "^7.15.6", - "@babel/plugin-proposal-optional-catch-binding": "^7.14.5", - "@babel/plugin-proposal-optional-chaining": "^7.14.5", - "@babel/plugin-proposal-private-methods": "^7.14.5", - "@babel/plugin-proposal-private-property-in-object": "^7.15.4", - "@babel/plugin-proposal-unicode-property-regex": "^7.14.5", - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-transform-arrow-functions": "^7.14.5", - "@babel/plugin-transform-async-to-generator": "^7.14.5", - "@babel/plugin-transform-block-scoped-functions": "^7.14.5", - "@babel/plugin-transform-block-scoping": "^7.15.3", - "@babel/plugin-transform-classes": "^7.15.4", - "@babel/plugin-transform-computed-properties": "^7.14.5", - "@babel/plugin-transform-destructuring": "^7.14.7", - "@babel/plugin-transform-dotall-regex": "^7.14.5", - "@babel/plugin-transform-duplicate-keys": "^7.14.5", - "@babel/plugin-transform-exponentiation-operator": "^7.14.5", - "@babel/plugin-transform-for-of": "^7.15.4", - "@babel/plugin-transform-function-name": "^7.14.5", - "@babel/plugin-transform-literals": "^7.14.5", - "@babel/plugin-transform-member-expression-literals": "^7.14.5", - "@babel/plugin-transform-modules-amd": "^7.14.5", - "@babel/plugin-transform-modules-commonjs": "^7.15.4", - "@babel/plugin-transform-modules-systemjs": "^7.15.4", - "@babel/plugin-transform-modules-umd": "^7.14.5", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.14.9", - "@babel/plugin-transform-new-target": "^7.14.5", - "@babel/plugin-transform-object-super": "^7.14.5", - "@babel/plugin-transform-parameters": "^7.15.4", - "@babel/plugin-transform-property-literals": "^7.14.5", - "@babel/plugin-transform-regenerator": "^7.14.5", - "@babel/plugin-transform-reserved-words": "^7.14.5", - "@babel/plugin-transform-shorthand-properties": "^7.14.5", - "@babel/plugin-transform-spread": "^7.15.8", - "@babel/plugin-transform-sticky-regex": "^7.14.5", - "@babel/plugin-transform-template-literals": "^7.14.5", - "@babel/plugin-transform-typeof-symbol": "^7.14.5", - "@babel/plugin-transform-unicode-escapes": "^7.14.5", - "@babel/plugin-transform-unicode-regex": "^7.14.5", - "@babel/preset-modules": "^0.1.4", - "@babel/types": "^7.15.6", - "babel-plugin-polyfill-corejs2": "^0.2.2", - "babel-plugin-polyfill-corejs3": "^0.2.5", - "babel-plugin-polyfill-regenerator": "^0.2.2", - "core-js-compat": "^3.16.0", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-flow": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/preset-flow/-/preset-flow-7.14.5.tgz", - "integrity": "sha512-pP5QEb4qRUSVGzzKx9xqRuHUrM/jEzMqdrZpdMA+oUCRgd5zM1qGr5y5+ZgAL/1tVv1H0dyk5t4SKJntqyiVtg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-transform-flow-strip-types": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-modules": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.4.tgz", - "integrity": "sha512-J36NhwnfdzpmH41M1DrnkkgAqhZaqr/NBdPfQ677mLzlaXo+oDiv1deyCDtgAhz8p328otdob0Du7+xgHGZbKg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", - "@babel/plugin-transform-dotall-regex": "^7.4.4", - "@babel/types": "^7.4.4", - "esutils": "^2.0.2" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-typescript": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.15.0.tgz", - "integrity": "sha512-lt0Y/8V3y06Wq/8H/u0WakrqciZ7Fz7mwPDHWUJAXlABL5hiUG42BNlRXiELNjeWjO5rWmnNKlx+yzJvxezHow==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-transform-typescript": "^7.15.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/register": { - "version": "7.15.3", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.15.3.tgz", - "integrity": "sha512-mj4IY1ZJkorClxKTImccn4T81+UKTo4Ux0+OFSV9hME1ooqS9UV+pJ6BjD0qXPK4T3XW/KNa79XByjeEMZz+fw==", - "dev": true, - "dependencies": { - "clone-deep": "^4.0.1", - "find-cache-dir": "^2.0.0", - "make-dir": "^2.1.0", - "pirates": "^4.0.0", - "source-map-support": "^0.5.16" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/runtime": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.15.4.tgz", - "integrity": "sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==", - "dependencies": { - "regenerator-runtime": "^0.13.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/template": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", - "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", - "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4", - "debug": "^4.1.0", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse/node_modules/debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@babel/traverse/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.14.9", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@m3o/m3o-node": { - "version": "0.0.24", - "resolved": "https://registry.npmjs.org/@m3o/m3o-node/-/m3o-node-0.0.24.tgz", - "integrity": "sha512-W6VqmZUTFodwBUai5uQ9nO4ylIztUXKYPFfZg2qqTv1lHkOYQ0XiJgFVn+SEOlp4GU/JI9OzCt4k1Ui5XaXGdw==", - "dependencies": { - "@types/ws": "^7.2.2", - "axios": "^0.21.1", - "body-parser": "^1.19.0", - "dotenv": "^10.0.0", - "jsonfile": "^6.1.0", - "ws": "^7.2.3" - } - }, - "node_modules/@nicolo-ribaudo/chokidar-2": { - "version": "2.1.8-no-fsevents.3", - "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz", - "integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==", - "dev": true, - "optional": true - }, - "node_modules/@rollup/plugin-babel": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.0.tgz", - "integrity": "sha512-9uIC8HZOnVLrLHxayq/PTzw+uS25E14KPUBh5ktF+18Mjo5yK0ToMMx6epY0uEgkjwJw0aBW4x2horYXh8juWw==", - "dev": true, - "dependencies": { - "@babel/helper-module-imports": "^7.10.4", - "@rollup/pluginutils": "^3.1.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0", - "@types/babel__core": "^7.1.9", - "rollup": "^1.20.0||^2.0.0" - }, - "peerDependenciesMeta": { - "@types/babel__core": { - "optional": true - } - } - }, - "node_modules/@rollup/plugin-node-resolve": { - "version": "13.0.6", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.0.6.tgz", - "integrity": "sha512-sFsPDMPd4gMqnh2gS0uIxELnoRUp5kBl5knxD2EO0778G1oOJv4G1vyT2cpWz75OU2jDVcXhjVUuTAczGyFNKA==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "^3.1.0", - "@types/resolve": "1.17.1", - "builtin-modules": "^3.1.0", - "deepmerge": "^4.2.2", - "is-module": "^1.0.0", - "resolve": "^1.19.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "peerDependencies": { - "rollup": "^2.42.0" - } - }, - "node_modules/@rollup/plugin-replace": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-3.0.0.tgz", - "integrity": "sha512-3c7JCbMuYXM4PbPWT4+m/4Y6U60SgsnDT/cCyAyUKwFHg7pTSfsSQzIpETha3a3ig6OdOKzZz87D9ZXIK3qsDg==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "^3.1.0", - "magic-string": "^0.25.7" - }, - "peerDependencies": { - "rollup": "^1.20.0 || ^2.0.0" - } - }, - "node_modules/@rollup/pluginutils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", - "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", - "dev": true, - "dependencies": { - "@types/estree": "0.0.39", - "estree-walker": "^1.0.1", - "picomatch": "^2.2.2" - }, - "engines": { - "node": ">= 8.0.0" - }, - "peerDependencies": { - "rollup": "^1.20.0||^2.0.0" - } - }, - "node_modules/@types/estree": { - "version": "0.0.39", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", - "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", - "dev": true - }, - "node_modules/@types/node": { - "version": "16.7.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.10.tgz", - "integrity": "sha512-S63Dlv4zIPb8x6MMTgDq5WWRJQe56iBEY0O3SOFA9JrRienkOVDXSXBjjJw6HTNQYSE2JI6GMCR6LVbIMHJVvA==" - }, - "node_modules/@types/resolve": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", - "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/ws": { - "version": "7.4.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", - "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dev": true, - "optional": true, - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "dependencies": { - "follow-redirects": "^1.10.0" - } - }, - "node_modules/babel-plugin-dynamic-import-node": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", - "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", - "dev": true, - "dependencies": { - "object.assign": "^4.1.0" - } - }, - "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.2.2.tgz", - "integrity": "sha512-kISrENsJ0z5dNPq5eRvcctITNHYXWOA4DUZRFYCz3jYCcvTb/A546LIddmoGNMVYg2U38OyFeNosQwI9ENTqIQ==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.13.11", - "@babel/helper-define-polyfill-provider": "^0.2.2", - "semver": "^6.1.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.5.tgz", - "integrity": "sha512-ninF5MQNwAX9Z7c9ED+H2pGt1mXdP4TqzlHKyPIYmJIYz0N+++uwdM7RnJukklhzJ54Q84vA4ZJkgs7lu5vqcw==", - "dev": true, - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.2.2", - "core-js-compat": "^3.16.2" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.2.2.tgz", - "integrity": "sha512-Goy5ghsc21HgPDFtzRkSirpZVW35meGoTmTOb2bxqdl60ghub4xOidgNTHaZfQ2FaxQsKmwvXtOAkcIS4SMBWg==", - "dev": true, - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.2.2" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true, - "optional": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", - "dependencies": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "optional": true, - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browserslist": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.17.4.tgz", - "integrity": "sha512-Zg7RpbZpIJRW3am9Lyckue7PLytvVxxhJj1CaJVlCWENsGEAOlnlt8X0ZxGRPp7Bt9o8tIRM5SEXy4BCPMJjLQ==", - "dev": true, - "dependencies": { - "caniuse-lite": "^1.0.30001265", - "electron-to-chromium": "^1.3.867", - "escalade": "^3.1.1", - "node-releases": "^2.0.0", - "picocolors": "^1.0.0" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "node_modules/builtin-modules": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.2.0.tgz", - "integrity": "sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==", - "dev": true, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001270", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001270.tgz", - "integrity": "sha512-TcIC7AyNWXhcOmv2KftOl1ShFAaHQYcB/EPL/hEyMrcS7ZX0/DvV1aoy6BzV0+16wTpoAyTMGDNAJfSqS/rz7A==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/chokidar": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", - "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", - "dev": true, - "optional": true, - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/clone-deep": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", - "dev": true, - "dependencies": { - "is-plain-object": "^2.0.4", - "kind-of": "^6.0.2", - "shallow-clone": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "node_modules/commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", - "dev": true - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "node_modules/content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/convert-source-map": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", - "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.1.1" - } - }, - "node_modules/core-js": { - "version": "3.18.3", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.18.3.tgz", - "integrity": "sha512-tReEhtMReZaPFVw7dajMx0vlsz3oOb8ajgPoHVYGxr8ErnZ6PcYEvvmjGmXlfpnxpkYSdOQttjB+MvVbCGfvLw==", - "dev": true, - "hasInstallScript": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, - "node_modules/core-js-compat": { - "version": "3.18.3", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.18.3.tgz", - "integrity": "sha512-4zP6/y0a2RTHN5bRGT7PTq9lVt3WzvffTNjqnTKsXhkAYNDTkdCLOIfAdOLcQ/7TDdyRj3c+NeHe1NmF1eDScw==", - "dev": true, - "dependencies": { - "browserslist": "^4.17.3", - "semver": "7.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, - "node_modules/core-js-compat/node_modules/semver": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", - "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, - "dependencies": { - "object-keys": "^1.0.12" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/dotenv": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz", - "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==", - "engines": { - "node": ">=10" - } - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "node_modules/electron-to-chromium": { - "version": "1.3.873", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.873.tgz", - "integrity": "sha512-TiHlCgl2uP26Z0c67u442c0a2MZCWZNCRnPTQDPhVJ4h9G6z2zU0lApD9H0K9R5yFL5SfdaiVsVD2izOY24xBQ==", - "dev": true - }, - "node_modules/es-abstract": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", - "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.1.1", - "get-symbol-description": "^1.0.0", - "has": "^1.0.3", - "has-symbols": "^1.0.2", - "internal-slot": "^1.0.3", - "is-callable": "^1.2.4", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.1", - "is-string": "^1.0.7", - "is-weakref": "^1.0.1", - "object-inspect": "^1.11.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.4", - "string.prototype.trimstart": "^1.0.4", - "unbox-primitive": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/estree-walker": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", - "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", - "dev": true - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "optional": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "dependencies": { - "locate-path": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/follow-redirects": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz", - "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/fs-extra/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "dev": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/fs-extra/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/fs-readdir-recursive": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", - "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", - "dev": true - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "optional": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", - "devOptional": true - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-bigints": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", - "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "dev": true, - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/homedir-polyfill": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", - "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", - "dev": true, - "dependencies": { - "parse-passwd": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", - "dependencies": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "node_modules/internal-slot": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", - "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", - "dev": true, - "dependencies": { - "get-intrinsic": "^1.1.0", - "has": "^1.0.3", - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "dev": true, - "dependencies": { - "has-bigints": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "optional": true, - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-callable": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", - "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-core-module": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", - "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", - "dev": true, - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "optional": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", - "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", - "dev": true - }, - "node_modules/is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-number-object": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", - "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-shared-array-buffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", - "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dev": true, - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-weakref": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.1.tgz", - "integrity": "sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-worker": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", - "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", - "dev": true, - "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^7.0.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/jest-worker/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dev": true, - "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", - "dev": true - }, - "node_modules/magic-string": { - "version": "0.25.7", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.7.tgz", - "integrity": "sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==", - "dev": true, - "dependencies": { - "sourcemap-codec": "^1.4.4" - } - }, - "node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/make-dir/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "node_modules/mime-db": { - "version": "1.49.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", - "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.32", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", - "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", - "dependencies": { - "mime-db": "1.49.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - }, - "node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/node-environment-flags": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz", - "integrity": "sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw==", - "dev": true, - "dependencies": { - "object.getownpropertydescriptors": "^2.0.3", - "semver": "^5.7.0" - } - }, - "node_modules/node-environment-flags/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/node-modules-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz", - "integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/node-releases": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.0.tgz", - "integrity": "sha512-aA87l0flFYMzCHpTM3DERFSYxc6lv/BltdbRTOMZuxZ0cwZCD3mejE5n9vLhSJCN++/eOqr77G1IO5uXxlQYWA==", - "dev": true - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-inspect": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", - "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.getownpropertydescriptors": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.3.tgz", - "integrity": "sha512-VdDoCwvJI4QdC6ndjpqFmoL3/+HxffFBbcJzKi5hwLLqqx3mdbedRpfZDdK0SrOSauj8X4GzBvnDZl4vTN7dOw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - }, - "engines": { - "node": ">= 0.8" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-passwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", - "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true - }, - "node_modules/picomatch": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", - "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/pirates": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz", - "integrity": "sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA==", - "dev": true, - "dependencies": { - "node-modules-regexp": "^1.0.0" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "dependencies": { - "find-up": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/prettier": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.1.tgz", - "integrity": "sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==", - "dev": true, - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "dependencies": { - "safe-buffer": "^5.1.0" - } - }, - "node_modules/raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "dependencies": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "optional": true, - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/regenerate": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", - "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", - "dev": true - }, - "node_modules/regenerate-unicode-properties": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-9.0.0.tgz", - "integrity": "sha512-3E12UeNSPfjrgwjkR81m5J7Aw/T55Tu7nUyZVQYCKEOs+2dkxEY+DpPtZzO4YruuiPb7NkYLVcyJC4+zCbk5pA==", - "dev": true, - "dependencies": { - "regenerate": "^1.4.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" - }, - "node_modules/regenerator-transform": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz", - "integrity": "sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.8.4" - } - }, - "node_modules/regexpu-core": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.8.0.tgz", - "integrity": "sha512-1F6bYsoYiz6is+oz70NWur2Vlh9KWtswuRuzJOfeYUrfPX2o8n74AnUVaOGDbUqVGO9fNHu48/pjJO4sNVwsOg==", - "dev": true, - "dependencies": { - "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^9.0.0", - "regjsgen": "^0.5.2", - "regjsparser": "^0.7.0", - "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/regjsgen": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz", - "integrity": "sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==", - "dev": true - }, - "node_modules/regjsparser": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.7.0.tgz", - "integrity": "sha512-A4pcaORqmNMDVwUjWoTzuhwMGpP+NykpfqAsEgI1FSH/EzC7lrN5TMd+kN8YCovX+jMpu8eaqXgXPCa0g8FQNQ==", - "dev": true, - "dependencies": { - "jsesc": "~0.5.0" - }, - "bin": { - "regjsparser": "bin/parser" - } - }, - "node_modules/regjsparser/node_modules/jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - } - }, - "node_modules/resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dev": true, - "dependencies": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/rollup": { - "version": "2.58.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.58.0.tgz", - "integrity": "sha512-NOXpusKnaRpbS7ZVSzcEXqxcLDOagN6iFS8p45RkoiMqPHDLwJm758UF05KlMoCRbLBTZsPOIa887gZJ1AiXvw==", - "dev": true, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=10.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/rollup-plugin-terser": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", - "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.10.4", - "jest-worker": "^26.2.1", - "serialize-javascript": "^4.0.0", - "terser": "^5.0.0" - }, - "peerDependencies": { - "rollup": "^2.0.0" - } - }, - "node_modules/rollup-plugin-typescript2": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.30.0.tgz", - "integrity": "sha512-NUFszIQyhgDdhRS9ya/VEmsnpTe+GERDMmFo0Y+kf8ds51Xy57nPNGglJY+W6x1vcouA7Au7nsTgsLFj2I0PxQ==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "^4.1.0", - "find-cache-dir": "^3.3.1", - "fs-extra": "8.1.0", - "resolve": "1.20.0", - "tslib": "2.1.0" - }, - "peerDependencies": { - "rollup": ">=1.26.3", - "typescript": ">=2.4.0" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/@rollup/pluginutils": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.1.1.tgz", - "integrity": "sha512-clDjivHqWGXi7u+0d2r2sBi4Ie6VLEAzWMIkvJLnDmxoOhBYOTfzGbOQBA32THHm11/LiJbd01tJUpJsbshSWQ==", - "dev": true, - "dependencies": { - "estree-walker": "^2.0.1", - "picomatch": "^2.2.2" - }, - "engines": { - "node": ">= 8.0.0" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "dev": true - }, - "node_modules/rollup-plugin-typescript2/node_modules/find-cache-dir": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", - "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", - "dev": true, - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/avajs/find-cache-dir?sponsor=1" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, - "node_modules/shallow-clone": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", - "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.20", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.20.tgz", - "integrity": "sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==", - "dev": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/source-map-support/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sourcemap-codec": { - "version": "1.4.8", - "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", - "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", - "dev": true - }, - "node_modules/statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", - "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", - "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/terser": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.9.0.tgz", - "integrity": "sha512-h5hxa23sCdpzcye/7b8YqbE5OwKca/ni0RQz1uRX3tGh8haaGHqcuSqbGRybuAKNdntZ0mDgFNXPJ48xQ2RXKQ==", - "dev": true, - "dependencies": { - "commander": "^2.20.0", - "source-map": "~0.7.2", - "source-map-support": "~0.5.20" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/terser/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "node_modules/terser/node_modules/source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "optional": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==", - "dev": true - }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/typescript": { - "version": "3.9.10", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", - "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/unbox-primitive": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", - "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "has-bigints": "^1.0.1", - "has-symbols": "^1.0.2", - "which-boxed-primitive": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", - "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", - "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", - "dev": true, - "dependencies": { - "unicode-canonical-property-names-ecmascript": "^2.0.0", - "unicode-property-aliases-ecmascript": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", - "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-property-aliases-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", - "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/v8flags": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.2.0.tgz", - "integrity": "sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==", - "dev": true, - "dependencies": { - "homedir-polyfill": "^1.0.1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dev": true, - "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true - }, - "node_modules/ws": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.4.tgz", - "integrity": "sha512-zP9z6GXm6zC27YtspwH99T3qTG7bBFv2VIkeHstMLrLlDJuzA7tQ5ls3OJ1hOGGCzTQPniNJoHXIAOS0Jljohg==", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - } - }, - "dependencies": { - "@babel/cli": { - "version": "7.15.7", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.15.7.tgz", - "integrity": "sha512-YW5wOprO2LzMjoWZ5ZG6jfbY9JnkDxuHDwvnrThnuYtByorova/I0HNXJedrUfwuXFQfYOjcqDA4PU3qlZGZjg==", - "dev": true, - "requires": { - "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3", - "chokidar": "^3.4.0", - "commander": "^4.0.1", - "convert-source-map": "^1.1.0", - "fs-readdir-recursive": "^1.1.0", - "glob": "^7.0.0", - "make-dir": "^2.1.0", - "slash": "^2.0.0", - "source-map": "^0.5.0" - } - }, - "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "requires": { - "@babel/highlight": "^7.14.5" - } - }, - "@babel/compat-data": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.15.0.tgz", - "integrity": "sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA==", - "dev": true - }, - "@babel/core": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.15.8.tgz", - "integrity": "sha512-3UG9dsxvYBMYwRv+gS41WKHno4K60/9GPy1CJaH6xy3Elq8CTtvtjT5R5jmNhXfCYLX2mTw+7/aq5ak/gOE0og==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.15.8", - "@babel/generator": "^7.15.8", - "@babel/helper-compilation-targets": "^7.15.4", - "@babel/helper-module-transforms": "^7.15.8", - "@babel/helpers": "^7.15.4", - "@babel/parser": "^7.15.8", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.6", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.1.2", - "semver": "^6.3.0", - "source-map": "^0.5.0" - }, - "dependencies": { - "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } - } - }, - "@babel/generator": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", - "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", - "dev": true, - "requires": { - "@babel/types": "^7.15.6", - "jsesc": "^2.5.1", - "source-map": "^0.5.0" - } - }, - "@babel/helper-annotate-as-pure": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.15.4.tgz", - "integrity": "sha512-QwrtdNvUNsPCj2lfNQacsGSQvGX8ee1ttrBrcozUP2Sv/jylewBP/8QFe6ZkBsC8T/GYWonNAWJV4aRR9AL2DA==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.15.4.tgz", - "integrity": "sha512-P8o7JP2Mzi0SdC6eWr1zF+AEYvrsZa7GSY1lTayjF5XJhVH0kjLYUZPvTMflP7tBgZoe9gIhTa60QwFpqh/E0Q==", - "dev": true, - "requires": { - "@babel/helper-explode-assignable-expression": "^7.15.4", - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-compilation-targets": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.4.tgz", - "integrity": "sha512-rMWPCirulnPSe4d+gwdWXLfAXTTBj8M3guAf5xFQJ0nvFY7tfNAFnWdqaHegHlgDZOCT4qvhF3BYlSJag8yhqQ==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-validator-option": "^7.14.5", - "browserslist": "^4.16.6", - "semver": "^6.3.0" - } - }, - "@babel/helper-create-class-features-plugin": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.15.4.tgz", - "integrity": "sha512-7ZmzFi+DwJx6A7mHRwbuucEYpyBwmh2Ca0RvI6z2+WLZYCqV0JOaLb+u0zbtmDicebgKBZgqbYfLaKNqSgv5Pw==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-member-expression-to-functions": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4" - } - }, - "@babel/helper-create-regexp-features-plugin": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.14.5.tgz", - "integrity": "sha512-TLawwqpOErY2HhWbGJ2nZT5wSkR192QpN+nBg1THfBfftrlvOh+WbhrxXCH4q4xJ9Gl16BGPR/48JA+Ryiho/A==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.14.5", - "regexpu-core": "^4.7.1" - } - }, - "@babel/helper-define-polyfill-provider": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.2.3.tgz", - "integrity": "sha512-RH3QDAfRMzj7+0Nqu5oqgO5q9mFtQEVvCRsi8qCEfzLR9p2BHfn5FzhSB2oj1fF7I2+DcTORkYaQ6aTR9Cofew==", - "dev": true, - "requires": { - "@babel/helper-compilation-targets": "^7.13.0", - "@babel/helper-module-imports": "^7.12.13", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/traverse": "^7.13.0", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2", - "semver": "^6.1.2" - }, - "dependencies": { - "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } - } - }, - "@babel/helper-explode-assignable-expression": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.15.4.tgz", - "integrity": "sha512-J14f/vq8+hdC2KoWLIQSsGrC9EFBKE4NFts8pfMpymfApds+fPqR30AOUWc4tyr56h9l/GA1Sxv2q3dLZWbQ/g==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-function-name": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", - "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", - "dev": true, - "requires": { - "@babel/helper-get-function-arity": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-get-function-arity": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", - "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-hoist-variables": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.15.4.tgz", - "integrity": "sha512-VTy085egb3jUGVK9ycIxQiPbquesq0HUQ+tPO0uv5mPEBZipk+5FkRKiWq5apuyTE9FUrjENB0rCf8y+n+UuhA==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-member-expression-to-functions": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.4.tgz", - "integrity": "sha512-cokOMkxC/BTyNP1AlY25HuBWM32iCEsLPI4BHDpJCHHm1FU2E7dKWWIXJgQgSFiu4lp8q3bL1BIKwqkSUviqtA==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-module-imports": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.15.4.tgz", - "integrity": "sha512-jeAHZbzUwdW/xHgHQ3QmWR4Jg6j15q4w/gCfwZvtqOxoo5DKtLHk8Bsf4c5RZRC7NmLEs+ohkdq8jFefuvIxAA==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-module-transforms": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.15.8.tgz", - "integrity": "sha512-DfAfA6PfpG8t4S6npwzLvTUpp0sS7JrcuaMiy1Y5645laRJIp/LiLGIBbQKaXSInK8tiGNI7FL7L8UvB8gdUZg==", - "dev": true, - "requires": { - "@babel/helper-module-imports": "^7.15.4", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-simple-access": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/helper-validator-identifier": "^7.15.7", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.6" - } - }, - "@babel/helper-optimise-call-expression": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz", - "integrity": "sha512-E/z9rfbAOt1vDW1DR7k4SzhzotVV5+qMciWV6LaG1g4jeFrkDlJedjtV4h0i4Q/ITnUu+Pk08M7fczsB9GXBDw==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-plugin-utils": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.14.5.tgz", - "integrity": "sha512-/37qQCE3K0vvZKwoK4XU/irIJQdIfCJuhU5eKnNxpFDsOkgFaUAwbv+RYw6eYgsC0E4hS7r5KqGULUogqui0fQ==", - "dev": true - }, - "@babel/helper-remap-async-to-generator": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.15.4.tgz", - "integrity": "sha512-v53MxgvMK/HCwckJ1bZrq6dNKlmwlyRNYM6ypaRTdXWGOE2c1/SCa6dL/HimhPulGhZKw9W0QhREM583F/t0vQ==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-wrap-function": "^7.15.4", - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-replace-supers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.15.4.tgz", - "integrity": "sha512-/ztT6khaXF37MS47fufrKvIsiQkx1LBRvSJNzRqmbyeZnTwU9qBxXYLaaT/6KaxfKhjs2Wy8kG8ZdsFUuWBjzw==", - "dev": true, - "requires": { - "@babel/helper-member-expression-to-functions": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-simple-access": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.15.4.tgz", - "integrity": "sha512-UzazrDoIVOZZcTeHHEPYrr1MvTR/K+wgLg6MY6e1CJyaRhbibftF6fR2KU2sFRtI/nERUZR9fBd6aKgBlIBaPg==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.15.4.tgz", - "integrity": "sha512-BMRLsdh+D1/aap19TycS4eD1qELGrCBJwzaY9IE8LrpJtJb+H7rQkPIdsfgnMtLBA6DJls7X9z93Z4U8h7xw0A==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", - "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", - "dev": true, - "requires": { - "@babel/types": "^7.15.4" - } - }, - "@babel/helper-validator-identifier": { - "version": "7.15.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", - "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", - "dev": true - }, - "@babel/helper-validator-option": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz", - "integrity": "sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==", - "dev": true - }, - "@babel/helper-wrap-function": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.15.4.tgz", - "integrity": "sha512-Y2o+H/hRV5W8QhIfTpRIBwl57y8PrZt6JM3V8FOo5qarjshHItyH5lXlpMfBfmBefOqSCpKZs/6Dxqp0E/U+uw==", - "dev": true, - "requires": { - "@babel/helper-function-name": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" - } - }, - "@babel/helpers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.15.4.tgz", - "integrity": "sha512-V45u6dqEJ3w2rlryYYXf6i9rQ5YMNu4FLS6ngs8ikblhu2VdR1AqAd6aJjBzmf2Qzh6KOLqKHxEN9+TFbAkAVQ==", - "dev": true, - "requires": { - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" - } - }, - "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", - "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.14.5", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "@babel/node": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/node/-/node-7.15.8.tgz", - "integrity": "sha512-JbgTCrnx6IUECznEbQ7e2rbVYtrXKixSbEG2bxxbMkV648WdUf3tdc+ZUW2++dvnnAswcpwc76cRwf0xEQqsrw==", - "dev": true, - "requires": { - "@babel/register": "^7.15.3", - "commander": "^4.0.1", - "core-js": "^3.16.0", - "node-environment-flags": "^1.0.5", - "regenerator-runtime": "^0.13.4", - "v8flags": "^3.1.1" - } - }, - "@babel/parser": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", - "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", - "dev": true - }, - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.15.4.tgz", - "integrity": "sha512-eBnpsl9tlhPhpI10kU06JHnrYXwg3+V6CaP2idsCXNef0aeslpqyITXQ74Vfk5uHgY7IG7XP0yIH8b42KSzHog==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.15.4", - "@babel/plugin-proposal-optional-chaining": "^7.14.5" - } - }, - "@babel/plugin-external-helpers": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-external-helpers/-/plugin-external-helpers-7.14.5.tgz", - "integrity": "sha512-q/B/hLX+nDGk73Xn529d7Ar4ih17J8pNBbsXafq8oXij0XfFEA/bks+u+6q5q04zO5o/qivjzui6BqzPfYShEg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-proposal-async-generator-functions": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.15.8.tgz", - "integrity": "sha512-2Z5F2R2ibINTc63mY7FLqGfEbmofrHU9FitJW1Q7aPaKFhiPvSq6QEt/BoWN5oME3GVyjcRuNNSRbb9LC0CSWA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-remap-async-to-generator": "^7.15.4", - "@babel/plugin-syntax-async-generators": "^7.8.4" - } - }, - "@babel/plugin-proposal-class-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.14.5.tgz", - "integrity": "sha512-q/PLpv5Ko4dVc1LYMpCY7RVAAO4uk55qPwrIuJ5QJ8c6cVuAmhu7I/49JOppXL6gXf7ZHzpRVEUZdYoPLM04Gg==", - "dev": true, - "requires": { - "@babel/helper-create-class-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-proposal-class-static-block": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.15.4.tgz", - "integrity": "sha512-M682XWrrLNk3chXCjoPUQWOyYsB93B9z3mRyjtqqYJWDf2mfCdIYgDrA11cgNVhAQieaq6F2fn2f3wI0U4aTjA==", - "dev": true, - "requires": { - "@babel/helper-create-class-features-plugin": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-class-static-block": "^7.14.5" - } - }, - "@babel/plugin-proposal-dynamic-import": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.14.5.tgz", - "integrity": "sha512-ExjiNYc3HDN5PXJx+bwC50GIx/KKanX2HiggnIUAYedbARdImiCU4RhhHfdf0Kd7JNXGpsBBBCOm+bBVy3Gb0g==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" - } - }, - "@babel/plugin-proposal-export-namespace-from": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.14.5.tgz", - "integrity": "sha512-g5POA32bXPMmSBu5Dx/iZGLGnKmKPc5AiY7qfZgurzrCYgIztDlHFbznSNCoQuv57YQLnQfaDi7dxCtLDIdXdA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" - } - }, - "@babel/plugin-proposal-json-strings": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.14.5.tgz", - "integrity": "sha512-NSq2fczJYKVRIsUJyNxrVUMhB27zb7N7pOFGQOhBKJrChbGcgEAqyZrmZswkPk18VMurEeJAaICbfm57vUeTbQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-json-strings": "^7.8.3" - } - }, - "@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.14.5.tgz", - "integrity": "sha512-YGn2AvZAo9TwyhlLvCCWxD90Xq8xJ4aSgaX3G5D/8DW94L8aaT+dS5cSP+Z06+rCJERGSr9GxMBZ601xoc2taw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" - } - }, - "@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.14.5.tgz", - "integrity": "sha512-gun/SOnMqjSb98Nkaq2rTKMwervfdAoz6NphdY0vTfuzMfryj+tDGb2n6UkDKwez+Y8PZDhE3D143v6Gepp4Hg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" - } - }, - "@babel/plugin-proposal-numeric-separator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.14.5.tgz", - "integrity": "sha512-yiclALKe0vyZRZE0pS6RXgjUOt87GWv6FYa5zqj15PvhOGFO69R5DusPlgK/1K5dVnCtegTiWu9UaBSrLLJJBg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-numeric-separator": "^7.10.4" - } - }, - "@babel/plugin-proposal-object-rest-spread": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.15.6.tgz", - "integrity": "sha512-qtOHo7A1Vt+O23qEAX+GdBpqaIuD3i9VRrWgCJeq7WO6H2d14EK3q11urj5Te2MAeK97nMiIdRpwd/ST4JFbNg==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-compilation-targets": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.15.4" - } - }, - "@babel/plugin-proposal-optional-catch-binding": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.14.5.tgz", - "integrity": "sha512-3Oyiixm0ur7bzO5ybNcZFlmVsygSIQgdOa7cTfOYCMY+wEPAYhZAJxi3mixKFCTCKUhQXuCTtQ1MzrpL3WT8ZQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" - } - }, - "@babel/plugin-proposal-optional-chaining": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.14.5.tgz", - "integrity": "sha512-ycz+VOzo2UbWNI1rQXxIuMOzrDdHGrI23fRiz/Si2R4kv2XZQ1BK8ccdHwehMKBlcH/joGW/tzrUmo67gbJHlQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.14.5", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" - } - }, - "@babel/plugin-proposal-private-methods": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.14.5.tgz", - "integrity": "sha512-838DkdUA1u+QTCplatfq4B7+1lnDa/+QMI89x5WZHBcnNv+47N8QEj2k9I2MUU9xIv8XJ4XvPCviM/Dj7Uwt9g==", - "dev": true, - "requires": { - "@babel/helper-create-class-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-proposal-private-property-in-object": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.15.4.tgz", - "integrity": "sha512-X0UTixkLf0PCCffxgu5/1RQyGGbgZuKoI+vXP4iSbJSYwPb7hu06omsFGBvQ9lJEvwgrxHdS8B5nbfcd8GyUNA==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-create-class-features-plugin": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5" - } - }, - "@babel/plugin-proposal-unicode-property-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.14.5.tgz", - "integrity": "sha512-6axIeOU5LnY471KenAB9vI8I5j7NQ2d652hIYwVyRfgaZT5UpiqFKCuVXCDMSrU+3VFafnu2c5m3lrWIlr6A5Q==", - "dev": true, - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.12.13" - } - }, - "@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", - "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-dynamic-import": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", - "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-export-namespace-from": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", - "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.3" - } - }, - "@babel/plugin-syntax-flow": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.14.5.tgz", - "integrity": "sha512-9WK5ZwKCdWHxVuU13XNT6X73FGmutAXeor5lGFq6qhOFtMFUF4jkbijuyUdZZlpYq6E2hZeZf/u3959X9wsv0Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.10.4" - } - }, - "@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.10.4" - } - }, - "@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.8.0" - } - }, - "@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-syntax-typescript": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.14.5.tgz", - "integrity": "sha512-u6OXzDaIXjEstBRRoBCQ/uKQKlbuaeE5in0RvWdA4pN6AhqxTIwUsnHPU1CFZA/amYObMsuWhYfRl3Ch90HD0Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-arrow-functions": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.14.5.tgz", - "integrity": "sha512-KOnO0l4+tD5IfOdi4x8C1XmEIRWUjNRV8wc6K2vz/3e8yAOoZZvsRXRRIF/yo/MAOFb4QjtAw9xSxMXbSMRy8A==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-async-to-generator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.14.5.tgz", - "integrity": "sha512-szkbzQ0mNk0rpu76fzDdqSyPu0MuvpXgC+6rz5rpMb5OIRxdmHfQxrktL8CYolL2d8luMCZTR0DpIMIdL27IjA==", - "dev": true, - "requires": { - "@babel/helper-module-imports": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-remap-async-to-generator": "^7.14.5" - } - }, - "@babel/plugin-transform-block-scoped-functions": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.14.5.tgz", - "integrity": "sha512-dtqWqdWZ5NqBX3KzsVCWfQI3A53Ft5pWFCT2eCVUftWZgjc5DpDponbIF1+c+7cSGk2wN0YK7HGL/ezfRbpKBQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-block-scoping": { - "version": "7.15.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.15.3.tgz", - "integrity": "sha512-nBAzfZwZb4DkaGtOes1Up1nOAp9TDRRFw4XBzBBSG9QK7KVFmYzgj9o9sbPv7TX5ofL4Auq4wZnxCoPnI/lz2Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-classes": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.15.4.tgz", - "integrity": "sha512-Yjvhex8GzBmmPQUvpXRPWQ9WnxXgAFuZSrqOK/eJlOGIXwvv8H3UEdUigl1gb/bnjTrln+e8bkZUYCBt/xYlBg==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "globals": "^11.1.0" - } - }, - "@babel/plugin-transform-computed-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.14.5.tgz", - "integrity": "sha512-pWM+E4283UxaVzLb8UBXv4EIxMovU4zxT1OPnpHJcmnvyY9QbPPTKZfEj31EUvG3/EQRbYAGaYEUZ4yWOBC2xg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-destructuring": { - "version": "7.14.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.14.7.tgz", - "integrity": "sha512-0mDE99nK+kVh3xlc5vKwB6wnP9ecuSj+zQCa/n0voENtP/zymdT4HH6QEb65wjjcbqr1Jb/7z9Qp7TF5FtwYGw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-dotall-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.14.5.tgz", - "integrity": "sha512-loGlnBdj02MDsFaHhAIJzh7euK89lBrGIdM9EAtHFo6xKygCUGuuWe07o1oZVk287amtW1n0808sQM99aZt3gw==", - "dev": true, - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-duplicate-keys": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.14.5.tgz", - "integrity": "sha512-iJjbI53huKbPDAsJ8EmVmvCKeeq21bAze4fu9GBQtSLqfvzj2oRuHVx4ZkDwEhg1htQ+5OBZh/Ab0XDf5iBZ7A==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-exponentiation-operator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.14.5.tgz", - "integrity": "sha512-jFazJhMBc9D27o9jDnIE5ZErI0R0m7PbKXVq77FFvqFbzvTMuv8jaAwLZ5PviOLSFttqKIW0/wxNSDbjLk0tYA==", - "dev": true, - "requires": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-flow-strip-types": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.14.5.tgz", - "integrity": "sha512-KhcolBKfXbvjwI3TV7r7TkYm8oNXHNBqGOy6JDVwtecFaRoKYsUUqJdS10q0YDKW1c6aZQgO+Ys3LfGkox8pXA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-flow": "^7.14.5" - } - }, - "@babel/plugin-transform-for-of": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.15.4.tgz", - "integrity": "sha512-DRTY9fA751AFBDh2oxydvVm4SYevs5ILTWLs6xKXps4Re/KG5nfUkr+TdHCrRWB8C69TlzVgA9b3RmGWmgN9LA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-function-name": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.14.5.tgz", - "integrity": "sha512-vbO6kv0fIzZ1GpmGQuvbwwm+O4Cbm2NrPzwlup9+/3fdkuzo1YqOZcXw26+YUJB84Ja7j9yURWposEHLYwxUfQ==", - "dev": true, - "requires": { - "@babel/helper-function-name": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.14.5.tgz", - "integrity": "sha512-ql33+epql2F49bi8aHXxvLURHkxJbSmMKl9J5yHqg4PLtdE6Uc48CH1GS6TQvZ86eoB/ApZXwm7jlA+B3kra7A==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-member-expression-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.14.5.tgz", - "integrity": "sha512-WkNXxH1VXVTKarWFqmso83xl+2V3Eo28YY5utIkbsmXoItO8Q3aZxN4BTS2k0hz9dGUloHK26mJMyQEYfkn/+Q==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-modules-amd": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.14.5.tgz", - "integrity": "sha512-3lpOU8Vxmp3roC4vzFpSdEpGUWSMsHFreTWOMMLzel2gNGfHE5UWIh/LN6ghHs2xurUp4jRFYMUIZhuFbody1g==", - "dev": true, - "requires": { - "@babel/helper-module-transforms": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5", - "babel-plugin-dynamic-import-node": "^2.3.3" - } - }, - "@babel/plugin-transform-modules-commonjs": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.15.4.tgz", - "integrity": "sha512-qg4DPhwG8hKp4BbVDvX1s8cohM8a6Bvptu4l6Iingq5rW+yRUAhe/YRup/YcW2zCOlrysEWVhftIcKzrEZv3sA==", - "dev": true, - "requires": { - "@babel/helper-module-transforms": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-simple-access": "^7.15.4", - "babel-plugin-dynamic-import-node": "^2.3.3" - } - }, - "@babel/plugin-transform-modules-systemjs": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.15.4.tgz", - "integrity": "sha512-fJUnlQrl/mezMneR72CKCgtOoahqGJNVKpompKwzv3BrEXdlPspTcyxrZ1XmDTIr9PpULrgEQo3qNKp6dW7ssw==", - "dev": true, - "requires": { - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-module-transforms": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-identifier": "^7.14.9", - "babel-plugin-dynamic-import-node": "^2.3.3" - } - }, - "@babel/plugin-transform-modules-umd": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.14.5.tgz", - "integrity": "sha512-RfPGoagSngC06LsGUYyM9QWSXZ8MysEjDJTAea1lqRjNECE3y0qIJF/qbvJxc4oA4s99HumIMdXOrd+TdKaAAA==", - "dev": true, - "requires": { - "@babel/helper-module-transforms": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.14.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.14.9.tgz", - "integrity": "sha512-l666wCVYO75mlAtGFfyFwnWmIXQm3kSH0C3IRnJqWcZbWkoihyAdDhFm2ZWaxWTqvBvhVFfJjMRQ0ez4oN1yYA==", - "dev": true, - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5" - } - }, - "@babel/plugin-transform-new-target": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.14.5.tgz", - "integrity": "sha512-Nx054zovz6IIRWEB49RDRuXGI4Gy0GMgqG0cII9L3MxqgXz/+rgII+RU58qpo4g7tNEx1jG7rRVH4ihZoP4esQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-object-super": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.14.5.tgz", - "integrity": "sha512-MKfOBWzK0pZIrav9z/hkRqIk/2bTv9qvxHzPQc12RcVkMOzpIKnFCNYJip00ssKWYkd8Sf5g0Wr7pqJ+cmtuFg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-replace-supers": "^7.14.5" - } - }, - "@babel/plugin-transform-parameters": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.15.4.tgz", - "integrity": "sha512-9WB/GUTO6lvJU3XQsSr6J/WKvBC2hcs4Pew8YxZagi6GkTdniyqp8On5kqdK8MN0LMeu0mGbhPN+O049NV/9FQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-property-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.14.5.tgz", - "integrity": "sha512-r1uilDthkgXW8Z1vJz2dKYLV1tuw2xsbrp3MrZmD99Wh9vsfKoob+JTgri5VUb/JqyKRXotlOtwgu4stIYCmnw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-regenerator": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.14.5.tgz", - "integrity": "sha512-NVIY1W3ITDP5xQl50NgTKlZ0GrotKtLna08/uGY6ErQt6VEQZXla86x/CTddm5gZdcr+5GSsvMeTmWA5Ii6pkg==", - "dev": true, - "requires": { - "regenerator-transform": "^0.14.2" - } - }, - "@babel/plugin-transform-reserved-words": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.14.5.tgz", - "integrity": "sha512-cv4F2rv1nD4qdexOGsRQXJrOcyb5CrgjUH9PKrrtyhSDBNWGxd0UIitjyJiWagS+EbUGjG++22mGH1Pub8D6Vg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-runtime": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.15.8.tgz", - "integrity": "sha512-+6zsde91jMzzvkzuEA3k63zCw+tm/GvuuabkpisgbDMTPQsIMHllE3XczJFFtEHLjjhKQFZmGQVRdELetlWpVw==", - "dev": true, - "requires": { - "@babel/helper-module-imports": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "babel-plugin-polyfill-corejs2": "^0.2.2", - "babel-plugin-polyfill-corejs3": "^0.2.5", - "babel-plugin-polyfill-regenerator": "^0.2.2", - "semver": "^6.3.0" - } - }, - "@babel/plugin-transform-shorthand-properties": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.14.5.tgz", - "integrity": "sha512-xLucks6T1VmGsTB+GWK5Pl9Jl5+nRXD1uoFdA5TSO6xtiNjtXTjKkmPdFXVLGlK5A2/or/wQMKfmQ2Y0XJfn5g==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-spread": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.15.8.tgz", - "integrity": "sha512-/daZ8s2tNaRekl9YJa9X4bzjpeRZLt122cpgFnQPLGUe61PH8zMEBmYqKkW5xF5JUEh5buEGXJoQpqBmIbpmEQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.15.4" - } - }, - "@babel/plugin-transform-sticky-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.14.5.tgz", - "integrity": "sha512-Z7F7GyvEMzIIbwnziAZmnSNpdijdr4dWt+FJNBnBLz5mwDFkqIXU9wmBcWWad3QeJF5hMTkRe4dAq2sUZiG+8A==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-template-literals": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.14.5.tgz", - "integrity": "sha512-22btZeURqiepOfuy/VkFr+zStqlujWaarpMErvay7goJS6BWwdd6BY9zQyDLDa4x2S3VugxFb162IZ4m/S/+Gg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-typeof-symbol": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.14.5.tgz", - "integrity": "sha512-lXzLD30ffCWseTbMQzrvDWqljvZlHkXU+CnseMhkMNqU1sASnCsz3tSzAaH3vCUXb9PHeUb90ZT1BdFTm1xxJw==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-typescript": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.15.8.tgz", - "integrity": "sha512-ZXIkJpbaf6/EsmjeTbiJN/yMxWPFWvlr7sEG1P95Xb4S4IBcrf2n7s/fItIhsAmOf8oSh3VJPDppO6ExfAfKRQ==", - "dev": true, - "requires": { - "@babel/helper-create-class-features-plugin": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/plugin-syntax-typescript": "^7.14.5" - } - }, - "@babel/plugin-transform-unicode-escapes": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.14.5.tgz", - "integrity": "sha512-crTo4jATEOjxj7bt9lbYXcBAM3LZaUrbP2uUdxb6WIorLmjNKSpHfIybgY4B8SRpbf8tEVIWH3Vtm7ayCrKocA==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/plugin-transform-unicode-regex": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.14.5.tgz", - "integrity": "sha512-UygduJpC5kHeCiRw/xDVzC+wj8VaYSoKl5JNVmbP7MadpNinAm3SvZCxZ42H37KZBKztz46YC73i9yV34d0Tzw==", - "dev": true, - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.14.5", - "@babel/helper-plugin-utils": "^7.14.5" - } - }, - "@babel/preset-env": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.15.8.tgz", - "integrity": "sha512-rCC0wH8husJgY4FPbHsiYyiLxSY8oMDJH7Rl6RQMknbN9oDDHhM9RDFvnGM2MgkbUJzSQB4gtuwygY5mCqGSsA==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.15.0", - "@babel/helper-compilation-targets": "^7.15.4", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.15.4", - "@babel/plugin-proposal-async-generator-functions": "^7.15.8", - "@babel/plugin-proposal-class-properties": "^7.14.5", - "@babel/plugin-proposal-class-static-block": "^7.15.4", - "@babel/plugin-proposal-dynamic-import": "^7.14.5", - "@babel/plugin-proposal-export-namespace-from": "^7.14.5", - "@babel/plugin-proposal-json-strings": "^7.14.5", - "@babel/plugin-proposal-logical-assignment-operators": "^7.14.5", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5", - "@babel/plugin-proposal-numeric-separator": "^7.14.5", - "@babel/plugin-proposal-object-rest-spread": "^7.15.6", - "@babel/plugin-proposal-optional-catch-binding": "^7.14.5", - "@babel/plugin-proposal-optional-chaining": "^7.14.5", - "@babel/plugin-proposal-private-methods": "^7.14.5", - "@babel/plugin-proposal-private-property-in-object": "^7.15.4", - "@babel/plugin-proposal-unicode-property-regex": "^7.14.5", - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-transform-arrow-functions": "^7.14.5", - "@babel/plugin-transform-async-to-generator": "^7.14.5", - "@babel/plugin-transform-block-scoped-functions": "^7.14.5", - "@babel/plugin-transform-block-scoping": "^7.15.3", - "@babel/plugin-transform-classes": "^7.15.4", - "@babel/plugin-transform-computed-properties": "^7.14.5", - "@babel/plugin-transform-destructuring": "^7.14.7", - "@babel/plugin-transform-dotall-regex": "^7.14.5", - "@babel/plugin-transform-duplicate-keys": "^7.14.5", - "@babel/plugin-transform-exponentiation-operator": "^7.14.5", - "@babel/plugin-transform-for-of": "^7.15.4", - "@babel/plugin-transform-function-name": "^7.14.5", - "@babel/plugin-transform-literals": "^7.14.5", - "@babel/plugin-transform-member-expression-literals": "^7.14.5", - "@babel/plugin-transform-modules-amd": "^7.14.5", - "@babel/plugin-transform-modules-commonjs": "^7.15.4", - "@babel/plugin-transform-modules-systemjs": "^7.15.4", - "@babel/plugin-transform-modules-umd": "^7.14.5", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.14.9", - "@babel/plugin-transform-new-target": "^7.14.5", - "@babel/plugin-transform-object-super": "^7.14.5", - "@babel/plugin-transform-parameters": "^7.15.4", - "@babel/plugin-transform-property-literals": "^7.14.5", - "@babel/plugin-transform-regenerator": "^7.14.5", - "@babel/plugin-transform-reserved-words": "^7.14.5", - "@babel/plugin-transform-shorthand-properties": "^7.14.5", - "@babel/plugin-transform-spread": "^7.15.8", - "@babel/plugin-transform-sticky-regex": "^7.14.5", - "@babel/plugin-transform-template-literals": "^7.14.5", - "@babel/plugin-transform-typeof-symbol": "^7.14.5", - "@babel/plugin-transform-unicode-escapes": "^7.14.5", - "@babel/plugin-transform-unicode-regex": "^7.14.5", - "@babel/preset-modules": "^0.1.4", - "@babel/types": "^7.15.6", - "babel-plugin-polyfill-corejs2": "^0.2.2", - "babel-plugin-polyfill-corejs3": "^0.2.5", - "babel-plugin-polyfill-regenerator": "^0.2.2", - "core-js-compat": "^3.16.0", - "semver": "^6.3.0" - } - }, - "@babel/preset-flow": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/preset-flow/-/preset-flow-7.14.5.tgz", - "integrity": "sha512-pP5QEb4qRUSVGzzKx9xqRuHUrM/jEzMqdrZpdMA+oUCRgd5zM1qGr5y5+ZgAL/1tVv1H0dyk5t4SKJntqyiVtg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-transform-flow-strip-types": "^7.14.5" - } - }, - "@babel/preset-modules": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.4.tgz", - "integrity": "sha512-J36NhwnfdzpmH41M1DrnkkgAqhZaqr/NBdPfQ677mLzlaXo+oDiv1deyCDtgAhz8p328otdob0Du7+xgHGZbKg==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", - "@babel/plugin-transform-dotall-regex": "^7.4.4", - "@babel/types": "^7.4.4", - "esutils": "^2.0.2" - } - }, - "@babel/preset-typescript": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.15.0.tgz", - "integrity": "sha512-lt0Y/8V3y06Wq/8H/u0WakrqciZ7Fz7mwPDHWUJAXlABL5hiUG42BNlRXiELNjeWjO5rWmnNKlx+yzJvxezHow==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-transform-typescript": "^7.15.0" - } - }, - "@babel/register": { - "version": "7.15.3", - "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.15.3.tgz", - "integrity": "sha512-mj4IY1ZJkorClxKTImccn4T81+UKTo4Ux0+OFSV9hME1ooqS9UV+pJ6BjD0qXPK4T3XW/KNa79XByjeEMZz+fw==", - "dev": true, - "requires": { - "clone-deep": "^4.0.1", - "find-cache-dir": "^2.0.0", - "make-dir": "^2.1.0", - "pirates": "^4.0.0", - "source-map-support": "^0.5.16" - } - }, - "@babel/runtime": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.15.4.tgz", - "integrity": "sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==", - "requires": { - "regenerator-runtime": "^0.13.4" - } - }, - "@babel/template": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", - "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4" - } - }, - "@babel/traverse": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", - "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4", - "debug": "^4.1.0", - "globals": "^11.1.0" - }, - "dependencies": { - "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - } - } - }, - "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", - "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.14.9", - "to-fast-properties": "^2.0.0" - } - }, - "@m3o/m3o-node": { - "version": "0.0.24", - "resolved": "https://registry.npmjs.org/@m3o/m3o-node/-/m3o-node-0.0.24.tgz", - "integrity": "sha512-W6VqmZUTFodwBUai5uQ9nO4ylIztUXKYPFfZg2qqTv1lHkOYQ0XiJgFVn+SEOlp4GU/JI9OzCt4k1Ui5XaXGdw==", - "requires": { - "@types/ws": "^7.2.2", - "axios": "^0.21.1", - "body-parser": "^1.19.0", - "dotenv": "^10.0.0", - "jsonfile": "^6.1.0", - "ws": "^7.2.3" - } - }, - "@nicolo-ribaudo/chokidar-2": { - "version": "2.1.8-no-fsevents.3", - "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz", - "integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==", - "dev": true, - "optional": true - }, - "@rollup/plugin-babel": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.0.tgz", - "integrity": "sha512-9uIC8HZOnVLrLHxayq/PTzw+uS25E14KPUBh5ktF+18Mjo5yK0ToMMx6epY0uEgkjwJw0aBW4x2horYXh8juWw==", - "dev": true, - "requires": { - "@babel/helper-module-imports": "^7.10.4", - "@rollup/pluginutils": "^3.1.0" - } - }, - "@rollup/plugin-node-resolve": { - "version": "13.0.6", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.0.6.tgz", - "integrity": "sha512-sFsPDMPd4gMqnh2gS0uIxELnoRUp5kBl5knxD2EO0778G1oOJv4G1vyT2cpWz75OU2jDVcXhjVUuTAczGyFNKA==", - "dev": true, - "requires": { - "@rollup/pluginutils": "^3.1.0", - "@types/resolve": "1.17.1", - "builtin-modules": "^3.1.0", - "deepmerge": "^4.2.2", - "is-module": "^1.0.0", - "resolve": "^1.19.0" - } - }, - "@rollup/plugin-replace": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-3.0.0.tgz", - "integrity": "sha512-3c7JCbMuYXM4PbPWT4+m/4Y6U60SgsnDT/cCyAyUKwFHg7pTSfsSQzIpETha3a3ig6OdOKzZz87D9ZXIK3qsDg==", - "dev": true, - "requires": { - "@rollup/pluginutils": "^3.1.0", - "magic-string": "^0.25.7" - } - }, - "@rollup/pluginutils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", - "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", - "dev": true, - "requires": { - "@types/estree": "0.0.39", - "estree-walker": "^1.0.1", - "picomatch": "^2.2.2" - } - }, - "@types/estree": { - "version": "0.0.39", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", - "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", - "dev": true - }, - "@types/node": { - "version": "16.7.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.7.10.tgz", - "integrity": "sha512-S63Dlv4zIPb8x6MMTgDq5WWRJQe56iBEY0O3SOFA9JrRienkOVDXSXBjjJw6HTNQYSE2JI6GMCR6LVbIMHJVvA==" - }, - "@types/resolve": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", - "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, - "@types/ws": { - "version": "7.4.7", - "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", - "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", - "requires": { - "@types/node": "*" - } - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dev": true, - "optional": true, - "requires": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - } - }, - "axios": { - "version": "0.21.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", - "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", - "requires": { - "follow-redirects": "^1.10.0" - } - }, - "babel-plugin-dynamic-import-node": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", - "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", - "dev": true, - "requires": { - "object.assign": "^4.1.0" - } - }, - "babel-plugin-polyfill-corejs2": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.2.2.tgz", - "integrity": "sha512-kISrENsJ0z5dNPq5eRvcctITNHYXWOA4DUZRFYCz3jYCcvTb/A546LIddmoGNMVYg2U38OyFeNosQwI9ENTqIQ==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.13.11", - "@babel/helper-define-polyfill-provider": "^0.2.2", - "semver": "^6.1.1" - } - }, - "babel-plugin-polyfill-corejs3": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.5.tgz", - "integrity": "sha512-ninF5MQNwAX9Z7c9ED+H2pGt1mXdP4TqzlHKyPIYmJIYz0N+++uwdM7RnJukklhzJ54Q84vA4ZJkgs7lu5vqcw==", - "dev": true, - "requires": { - "@babel/helper-define-polyfill-provider": "^0.2.2", - "core-js-compat": "^3.16.2" - } - }, - "babel-plugin-polyfill-regenerator": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.2.2.tgz", - "integrity": "sha512-Goy5ghsc21HgPDFtzRkSirpZVW35meGoTmTOb2bxqdl60ghub4xOidgNTHaZfQ2FaxQsKmwvXtOAkcIS4SMBWg==", - "dev": true, - "requires": { - "@babel/helper-define-polyfill-provider": "^0.2.2" - } - }, - "balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true, - "optional": true - }, - "body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", - "requires": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" - } - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "optional": true, - "requires": { - "fill-range": "^7.0.1" - } - }, - "browserslist": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.17.4.tgz", - "integrity": "sha512-Zg7RpbZpIJRW3am9Lyckue7PLytvVxxhJj1CaJVlCWENsGEAOlnlt8X0ZxGRPp7Bt9o8tIRM5SEXy4BCPMJjLQ==", - "dev": true, - "requires": { - "caniuse-lite": "^1.0.30001265", - "electron-to-chromium": "^1.3.867", - "escalade": "^3.1.1", - "node-releases": "^2.0.0", - "picocolors": "^1.0.0" - } - }, - "buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "builtin-modules": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.2.0.tgz", - "integrity": "sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==", - "dev": true - }, - "bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" - }, - "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - } - }, - "caniuse-lite": { - "version": "1.0.30001270", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001270.tgz", - "integrity": "sha512-TcIC7AyNWXhcOmv2KftOl1ShFAaHQYcB/EPL/hEyMrcS7ZX0/DvV1aoy6BzV0+16wTpoAyTMGDNAJfSqS/rz7A==", - "dev": true - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "chokidar": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", - "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", - "dev": true, - "optional": true, - "requires": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "fsevents": "~2.3.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - } - }, - "clone-deep": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", - "dev": true, - "requires": { - "is-plain-object": "^2.0.4", - "kind-of": "^6.0.2", - "shallow-clone": "^3.0.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "commander": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", - "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", - "dev": true - }, - "commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", - "dev": true - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" - }, - "convert-source-map": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", - "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", - "dev": true, - "requires": { - "safe-buffer": "~5.1.1" - } - }, - "core-js": { - "version": "3.18.3", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.18.3.tgz", - "integrity": "sha512-tReEhtMReZaPFVw7dajMx0vlsz3oOb8ajgPoHVYGxr8ErnZ6PcYEvvmjGmXlfpnxpkYSdOQttjB+MvVbCGfvLw==", - "dev": true - }, - "core-js-compat": { - "version": "3.18.3", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.18.3.tgz", - "integrity": "sha512-4zP6/y0a2RTHN5bRGT7PTq9lVt3WzvffTNjqnTKsXhkAYNDTkdCLOIfAdOLcQ/7TDdyRj3c+NeHe1NmF1eDScw==", - "dev": true, - "requires": { - "browserslist": "^4.17.3", - "semver": "7.0.0" - }, - "dependencies": { - "semver": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", - "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", - "dev": true - } - } - }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, - "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "dev": true - }, - "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, - "requires": { - "object-keys": "^1.0.12" - } - }, - "depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" - }, - "dotenv": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz", - "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==" - }, - "ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "electron-to-chromium": { - "version": "1.3.873", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.873.tgz", - "integrity": "sha512-TiHlCgl2uP26Z0c67u442c0a2MZCWZNCRnPTQDPhVJ4h9G6z2zU0lApD9H0K9R5yFL5SfdaiVsVD2izOY24xBQ==", - "dev": true - }, - "es-abstract": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", - "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.1.1", - "get-symbol-description": "^1.0.0", - "has": "^1.0.3", - "has-symbols": "^1.0.2", - "internal-slot": "^1.0.3", - "is-callable": "^1.2.4", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.1", - "is-string": "^1.0.7", - "is-weakref": "^1.0.1", - "object-inspect": "^1.11.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.4", - "string.prototype.trimstart": "^1.0.4", - "unbox-primitive": "^1.0.1" - } - }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, - "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true - }, - "estree-walker": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", - "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", - "dev": true - }, - "esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true - }, - "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "optional": true, - "requires": { - "to-regex-range": "^5.0.1" - } - }, - "find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dev": true, - "requires": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - } - }, - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "requires": { - "locate-path": "^3.0.0" - } - }, - "follow-redirects": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.3.tgz", - "integrity": "sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw==" - }, - "fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "dev": true, - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "dependencies": { - "jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.6" - } - }, - "universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true - } - } - }, - "fs-readdir-recursive": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", - "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", - "dev": true - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "optional": true - }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, - "gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true - }, - "get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - } - }, - "get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - } - }, - "glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "optional": true, - "requires": { - "is-glob": "^4.0.1" - } - }, - "globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true - }, - "graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", - "devOptional": true - }, - "has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "requires": { - "function-bind": "^1.1.1" - } - }, - "has-bigints": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", - "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", - "dev": true - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", - "dev": true - }, - "has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "dev": true, - "requires": { - "has-symbols": "^1.0.2" - } - }, - "homedir-polyfill": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", - "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", - "dev": true, - "requires": { - "parse-passwd": "^1.0.0" - } - }, - "http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", - "requires": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - } - }, - "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "internal-slot": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", - "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", - "dev": true, - "requires": { - "get-intrinsic": "^1.1.0", - "has": "^1.0.3", - "side-channel": "^1.0.4" - } - }, - "is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "dev": true, - "requires": { - "has-bigints": "^1.0.1" - } - }, - "is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "optional": true, - "requires": { - "binary-extensions": "^2.0.0" - } - }, - "is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, - "is-callable": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", - "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", - "dev": true - }, - "is-core-module": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", - "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", - "dev": true, - "requires": { - "has": "^1.0.3" - } - }, - "is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true, - "optional": true - }, - "is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "optional": true, - "requires": { - "is-extglob": "^2.1.1" - } - }, - "is-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", - "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", - "dev": true - }, - "is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", - "dev": true - }, - "is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "optional": true - }, - "is-number-object": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", - "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dev": true, - "requires": { - "isobject": "^3.0.1" - } - }, - "is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - } - }, - "is-shared-array-buffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", - "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", - "dev": true - }, - "is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "dev": true, - "requires": { - "has-tostringtag": "^1.0.0" - } - }, - "is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dev": true, - "requires": { - "has-symbols": "^1.0.2" - } - }, - "is-weakref": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.1.tgz", - "integrity": "sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.0" - } - }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true - }, - "jest-worker": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", - "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", - "dev": true, - "requires": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^7.0.0" - }, - "dependencies": { - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true - }, - "json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dev": true, - "requires": { - "minimist": "^1.2.5" - } - }, - "jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^2.0.0" - } - }, - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true - }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, - "lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", - "dev": true - }, - "magic-string": { - "version": "0.25.7", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.7.tgz", - "integrity": "sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==", - "dev": true, - "requires": { - "sourcemap-codec": "^1.4.4" - } - }, - "make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "requires": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" - }, - "merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "mime-db": { - "version": "1.49.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz", - "integrity": "sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA==" - }, - "mime-types": { - "version": "2.1.32", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz", - "integrity": "sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A==", - "requires": { - "mime-db": "1.49.0" - } - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node-environment-flags": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz", - "integrity": "sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw==", - "dev": true, - "requires": { - "object.getownpropertydescriptors": "^2.0.3", - "semver": "^5.7.0" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "node-modules-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz", - "integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=", - "dev": true - }, - "node-releases": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.0.tgz", - "integrity": "sha512-aA87l0flFYMzCHpTM3DERFSYxc6lv/BltdbRTOMZuxZ0cwZCD3mejE5n9vLhSJCN++/eOqr77G1IO5uXxlQYWA==", - "dev": true - }, - "normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "optional": true - }, - "object-inspect": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.0.tgz", - "integrity": "sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==", - "dev": true - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true - }, - "object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - } - }, - "object.getownpropertydescriptors": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.3.tgz", - "integrity": "sha512-VdDoCwvJI4QdC6ndjpqFmoL3/+HxffFBbcJzKi5hwLLqqx3mdbedRpfZDdK0SrOSauj8X4GzBvnDZl4vTN7dOw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.1" - } - }, - "on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "requires": { - "ee-first": "1.1.1" - } - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "requires": { - "wrappy": "1" - } - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "requires": { - "p-limit": "^2.0.0" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true - }, - "parse-passwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", - "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", - "dev": true - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true - }, - "path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true - }, - "picomatch": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", - "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", - "dev": true - }, - "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true - }, - "pirates": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz", - "integrity": "sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA==", - "dev": true, - "requires": { - "node-modules-regexp": "^1.0.0" - } - }, - "pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "requires": { - "find-up": "^3.0.0" - } - }, - "prettier": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.4.1.tgz", - "integrity": "sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==", - "dev": true - }, - "qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" - }, - "randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "requires": { - "safe-buffer": "^5.1.0" - } - }, - "raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "requires": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - } - }, - "readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "optional": true, - "requires": { - "picomatch": "^2.2.1" - } - }, - "regenerate": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", - "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", - "dev": true - }, - "regenerate-unicode-properties": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-9.0.0.tgz", - "integrity": "sha512-3E12UeNSPfjrgwjkR81m5J7Aw/T55Tu7nUyZVQYCKEOs+2dkxEY+DpPtZzO4YruuiPb7NkYLVcyJC4+zCbk5pA==", - "dev": true, - "requires": { - "regenerate": "^1.4.2" - } - }, - "regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" - }, - "regenerator-transform": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz", - "integrity": "sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw==", - "dev": true, - "requires": { - "@babel/runtime": "^7.8.4" - } - }, - "regexpu-core": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.8.0.tgz", - "integrity": "sha512-1F6bYsoYiz6is+oz70NWur2Vlh9KWtswuRuzJOfeYUrfPX2o8n74AnUVaOGDbUqVGO9fNHu48/pjJO4sNVwsOg==", - "dev": true, - "requires": { - "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^9.0.0", - "regjsgen": "^0.5.2", - "regjsparser": "^0.7.0", - "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.0.0" - } - }, - "regjsgen": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz", - "integrity": "sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==", - "dev": true - }, - "regjsparser": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.7.0.tgz", - "integrity": "sha512-A4pcaORqmNMDVwUjWoTzuhwMGpP+NykpfqAsEgI1FSH/EzC7lrN5TMd+kN8YCovX+jMpu8eaqXgXPCa0g8FQNQ==", - "dev": true, - "requires": { - "jsesc": "~0.5.0" - }, - "dependencies": { - "jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", - "dev": true - } - } - }, - "resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dev": true, - "requires": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" - } - }, - "rollup": { - "version": "2.58.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.58.0.tgz", - "integrity": "sha512-NOXpusKnaRpbS7ZVSzcEXqxcLDOagN6iFS8p45RkoiMqPHDLwJm758UF05KlMoCRbLBTZsPOIa887gZJ1AiXvw==", - "dev": true, - "requires": { - "fsevents": "~2.3.2" - } - }, - "rollup-plugin-terser": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", - "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.10.4", - "jest-worker": "^26.2.1", - "serialize-javascript": "^4.0.0", - "terser": "^5.0.0" - } - }, - "rollup-plugin-typescript2": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.30.0.tgz", - "integrity": "sha512-NUFszIQyhgDdhRS9ya/VEmsnpTe+GERDMmFo0Y+kf8ds51Xy57nPNGglJY+W6x1vcouA7Au7nsTgsLFj2I0PxQ==", - "dev": true, - "requires": { - "@rollup/pluginutils": "^4.1.0", - "find-cache-dir": "^3.3.1", - "fs-extra": "8.1.0", - "resolve": "1.20.0", - "tslib": "2.1.0" - }, - "dependencies": { - "@rollup/pluginutils": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.1.1.tgz", - "integrity": "sha512-clDjivHqWGXi7u+0d2r2sBi4Ie6VLEAzWMIkvJLnDmxoOhBYOTfzGbOQBA32THHm11/LiJbd01tJUpJsbshSWQ==", - "dev": true, - "requires": { - "estree-walker": "^2.0.1", - "picomatch": "^2.2.2" - } - }, - "estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "dev": true - }, - "find-cache-dir": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", - "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", - "dev": true, - "requires": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - } - }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, - "requires": { - "semver": "^6.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true - }, - "pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "requires": { - "find-up": "^4.0.0" - } - } - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - }, - "serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "requires": { - "randombytes": "^2.1.0" - } - }, - "setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, - "shallow-clone": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", - "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", - "dev": true, - "requires": { - "kind-of": "^6.0.2" - } - }, - "side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } - }, - "slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", - "dev": true - }, - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - }, - "source-map-support": { - "version": "0.5.20", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.20.tgz", - "integrity": "sha512-n1lZZ8Ve4ksRqizaBQgxXDgKwttHDhyfQjA6YZZn8+AroHbsIz+JjwxQDxbp+7y5OYCI8t1Yk7etjD9CRd2hIw==", - "dev": true, - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, - "sourcemap-codec": { - "version": "1.4.8", - "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", - "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", - "dev": true - }, - "statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" - }, - "string.prototype.trimend": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", - "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } - }, - "string.prototype.trimstart": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", - "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - }, - "terser": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.9.0.tgz", - "integrity": "sha512-h5hxa23sCdpzcye/7b8YqbE5OwKca/ni0RQz1uRX3tGh8haaGHqcuSqbGRybuAKNdntZ0mDgFNXPJ48xQ2RXKQ==", - "dev": true, - "requires": { - "commander": "^2.20.0", - "source-map": "~0.7.2", - "source-map-support": "~0.5.20" - }, - "dependencies": { - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", - "dev": true - } - } - }, - "to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "dev": true - }, - "to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "optional": true, - "requires": { - "is-number": "^7.0.0" - } - }, - "toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" - }, - "tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==", - "dev": true - }, - "type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "requires": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - } - }, - "typescript": { - "version": "3.9.10", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", - "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", - "dev": true - }, - "unbox-primitive": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", - "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "has-bigints": "^1.0.1", - "has-symbols": "^1.0.2", - "which-boxed-primitive": "^1.0.2" - } - }, - "unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", - "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", - "dev": true - }, - "unicode-match-property-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", - "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", - "dev": true, - "requires": { - "unicode-canonical-property-names-ecmascript": "^2.0.0", - "unicode-property-aliases-ecmascript": "^2.0.0" - } - }, - "unicode-match-property-value-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", - "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", - "dev": true - }, - "unicode-property-aliases-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", - "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", - "dev": true - }, - "universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==" - }, - "unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" - }, - "v8flags": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.2.0.tgz", - "integrity": "sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==", - "dev": true, - "requires": { - "homedir-polyfill": "^1.0.1" - } - }, - "which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dev": true, - "requires": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - } - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true - }, - "ws": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.4.tgz", - "integrity": "sha512-zP9z6GXm6zC27YtspwH99T3qTG7bBFv2VIkeHstMLrLlDJuzA7tQ5ls3OJ1hOGGCzTQPniNJoHXIAOS0Jljohg==", - "requires": {} - } - } -} diff --git a/cmd/clients/ts/package.json b/cmd/clients/ts/package.json deleted file mode 100644 index 0e83bfd..0000000 --- a/cmd/clients/ts/package.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "m3o", - "version": "1.0.1", - "types": "index.d.ts", - "main": "index.js", - "module": "esm/index.js", - "files": [], - "repository": { - "type": "git", - "url": "https://github.com/m3o/m3o-js" - }, - "author": "", - "license": "ISC", - "scripts": { - "clean": "rimraf ./tmp", - "build": "npm run clean && tsc && tsc --p tsconfig.es.json && node build.js", - "prepare": "npm run build" - }, - "dependencies": { - "@m3o/m3o-node": "^0.0.24", - "@types/estree": "^0.0.47", - "chalk": "^2.4.2", - "move-file": "^3.0.0", - "ncp": "^2.0.0", - "rimraf": "^3.0.2" - }, - "devDependencies": { - "prettier": "^2.4.1", - "typescript": "^3.5.1" - } -} diff --git a/cmd/clients/ts/tsconfig.es.json b/cmd/clients/ts/tsconfig.es.json deleted file mode 100644 index 6b03e42..0000000 --- a/cmd/clients/ts/tsconfig.es.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "compilerOptions": { - "module": "ES2015", - "target": "ES6", - "declaration": true, - "lib": ["es2015", "dom"], - "experimentalDecorators": true, - "emitDecoratorMetadata": true, - "outDir": "./tmp/esm", - "strict": true, - "moduleResolution": "node", - "esModuleInterop": true - }, - "include": ["src/index.ts", "src/**/*"], - "exclude": ["./dist", "./node_modules"] - } \ No newline at end of file diff --git a/cmd/clients/ts/tsconfig.json b/cmd/clients/ts/tsconfig.json deleted file mode 100644 index 114e5a0..0000000 --- a/cmd/clients/ts/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "compilerOptions": { - "module": "CommonJS", - "target": "es5", - "declaration": true, - "lib": ["es2015", "dom"], - "experimentalDecorators": true, - "emitDecoratorMetadata": true, - "outDir": "./tmp", - "strict": true, - "moduleResolution": "node", - "esModuleInterop": true - }, - "include": ["src/index.ts", "src/**/*"], - "exclude": ["./dist", "./node_modules"] -} \ No newline at end of file diff --git a/cmd/clients/ts_template.go b/cmd/clients/ts_template.go deleted file mode 100644 index c99183b..0000000 --- a/cmd/clients/ts_template.go +++ /dev/null @@ -1,46 +0,0 @@ -package main - -const tsIndexTemplate = `{{ range $service := .services }}import * as {{ $service.ImportName }} from './{{ $service.Name }}'; -{{ end }} - -export class Client { - constructor(token: string) { - {{ range $service := .services }} - this.{{ $service.Name}}Service = new {{ $service.ImportName }}.{{ title $service.Name}}Service(token){{end}} - } - -{{ range $service := .services }} - {{ $service.Name}}Service: {{ $service.ImportName }}.{{ title $service.Name}}Service;{{end}} -} -` - -const tsServiceTemplate = `import * as micro from 'micro-js-client'; - -{{ $service := .service }} -export class {{ title $service.Name }}Service{ - private client: micro.Client; - - constructor(token: string) { - this.client = new micro.Client({token: token}) - } - {{ range $key, $req := $service.Spec.Components.RequestBodies }}{{ $endpointName := requestTypeToEndpointName $key}}{{ if endpointComment $endpointName $service.Spec.Components.Schemas }}{{ endpointComment $endpointName $service.Spec.Components.Schemas }}{{ end }}{{ untitle $endpointName}}(request: {{ requestType $key }}): Promise<{{ requestTypeToResponseType $key }}> { - return this.client.call("{{ $service.Name }}", "{{ requestTypeToEndpointPath $key}}", request) as Promise<{{ requestTypeToResponseType $key }}>; - }; - {{ end }} -} - -{{ range $typeName, $schema := $service.Spec.Components.Schemas }} -export interface {{ title $typeName }}{{ "{" }} -{{ recursiveTypeDefinition "typescript" $service.Name $typeName $service.Spec.Components.Schemas }}{{ "}" }} -{{end}} -` - -const tsExampleTemplate = `{{ $service := .service }}const { {{ title $service.Name }}Service } = require('micro-js-client/{{ $service.Name }}'); - -{{ if endpointComment .endpoint $service.Spec.Components.Schemas }}{{ endpointComment .endpoint $service.Spec.Components.Schemas }}{{ end }}async function {{ untitle .funcName }}() { - let {{ $service.Name }}Service = new {{ title $service.Name }}Service(process.env.MICRO_API_TOKEN) - let rsp = await {{ $service.Name }}Service.{{ .endpoint }}({{ tsExampleRequest $service.Name .endpoint $service.Spec.Components.Schemas .example.Request }}) - console.log(rsp) -} - -{{ untitle .funcName }}()` diff --git a/cmd/skip b/cmd/skip deleted file mode 100644 index e69de29..0000000 diff --git a/examples/address/lookupPostcode/curl/lookupPostcode.sh b/examples/address/lookupPostcode/curl/lookupPostcode.sh deleted file mode 100755 index b5c2062..0000000 --- a/examples/address/lookupPostcode/curl/lookupPostcode.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/address/LookupPostcode" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "postcode": "SW1A 2AA" -}' \ No newline at end of file diff --git a/examples/address/lookupPostcode/go/lookupPostcode.go b/examples/address/lookupPostcode/go/lookupPostcode.go deleted file mode 100755 index 898df18..0000000 --- a/examples/address/lookupPostcode/go/lookupPostcode.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/address" -) - -// Lookup a list of UK addresses by postcode -func LookupPostcode() { - addressService := address.NewAddressService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := addressService.LookupPostcode(&address.LookupPostcodeRequest{ - Postcode: "SW1A 2AA", - }) - fmt.Println(rsp, err) -} diff --git a/examples/address/lookupPostcode/node/lookupPostcode.js b/examples/address/lookupPostcode/node/lookupPostcode.js deleted file mode 100755 index 9f1753c..0000000 --- a/examples/address/lookupPostcode/node/lookupPostcode.js +++ /dev/null @@ -1,12 +0,0 @@ -const { AddressService } = require("micro-js-client/address"); - -// Lookup a list of UK addresses by postcode -async function lookupPostcode() { - let addressService = new AddressService(process.env.MICRO_API_TOKEN); - let rsp = await addressService.lookupPostcode({ - postcode: "SW1A 2AA", - }); - console.log(rsp); -} - -lookupPostcode(); diff --git a/examples/answer/question/curl/askAQuestion.sh b/examples/answer/question/curl/askAQuestion.sh deleted file mode 100755 index 0f9147b..0000000 --- a/examples/answer/question/curl/askAQuestion.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/answer/Question" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "query": "microsoft" -}' \ No newline at end of file diff --git a/examples/answer/question/go/askAQuestion.go b/examples/answer/question/go/askAQuestion.go deleted file mode 100755 index dd4b674..0000000 --- a/examples/answer/question/go/askAQuestion.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/answer" -) - -// Ask a question and receive an instant answer -func AskAquestion() { - answerService := answer.NewAnswerService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := answerService.Question(&answer.QuestionRequest{ - Query: "microsoft", - }) - fmt.Println(rsp, err) -} diff --git a/examples/answer/question/node/askAQuestion.js b/examples/answer/question/node/askAQuestion.js deleted file mode 100755 index 8559193..0000000 --- a/examples/answer/question/node/askAQuestion.js +++ /dev/null @@ -1,12 +0,0 @@ -const { AnswerService } = require("micro-js-client/answer"); - -// Ask a question and receive an instant answer -async function askAquestion() { - let answerService = new AnswerService(process.env.MICRO_API_TOKEN); - let rsp = await answerService.question({ - query: "microsoft", - }); - console.log(rsp); -} - -askAquestion(); diff --git a/examples/cache/decrement/curl/decrementAValue.sh b/examples/cache/decrement/curl/decrementAValue.sh deleted file mode 100755 index dda68f4..0000000 --- a/examples/cache/decrement/curl/decrementAValue.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/cache/Decrement" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "key": "counter", - "value": 2 -}' \ No newline at end of file diff --git a/examples/cache/decrement/go/decrementAValue.go b/examples/cache/decrement/go/decrementAValue.go deleted file mode 100755 index f39d994..0000000 --- a/examples/cache/decrement/go/decrementAValue.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/cache" -) - -// Decrement a value (if it's a number). If key not found it is equivalent to set. -func DecrementAvalue() { - cacheService := cache.NewCacheService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := cacheService.Decrement(&cache.DecrementRequest{ - Key: "counter", - Value: 2, - }) - fmt.Println(rsp, err) -} diff --git a/examples/cache/decrement/node/decrementAValue.js b/examples/cache/decrement/node/decrementAValue.js deleted file mode 100755 index fef6d3d..0000000 --- a/examples/cache/decrement/node/decrementAValue.js +++ /dev/null @@ -1,13 +0,0 @@ -const { CacheService } = require("micro-js-client/cache"); - -// Decrement a value (if it's a number). If key not found it is equivalent to set. -async function decrementAvalue() { - let cacheService = new CacheService(process.env.MICRO_API_TOKEN); - let rsp = await cacheService.decrement({ - key: "counter", - value: 2, - }); - console.log(rsp); -} - -decrementAvalue(); diff --git a/examples/cache/delete/curl/deleteAValue.sh b/examples/cache/delete/curl/deleteAValue.sh deleted file mode 100755 index 69e0f4d..0000000 --- a/examples/cache/delete/curl/deleteAValue.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/cache/Delete" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "key": "foo" -}' \ No newline at end of file diff --git a/examples/cache/delete/go/deleteAValue.go b/examples/cache/delete/go/deleteAValue.go deleted file mode 100755 index ecfc8be..0000000 --- a/examples/cache/delete/go/deleteAValue.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/cache" -) - -// Delete a value from the cache. If key not found a success response is returned. -func DeleteAvalue() { - cacheService := cache.NewCacheService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := cacheService.Delete(&cache.DeleteRequest{ - Key: "foo", - }) - fmt.Println(rsp, err) -} diff --git a/examples/cache/delete/node/deleteAValue.js b/examples/cache/delete/node/deleteAValue.js deleted file mode 100755 index afbd8bd..0000000 --- a/examples/cache/delete/node/deleteAValue.js +++ /dev/null @@ -1,12 +0,0 @@ -const { CacheService } = require("micro-js-client/cache"); - -// Delete a value from the cache. If key not found a success response is returned. -async function deleteAvalue() { - let cacheService = new CacheService(process.env.MICRO_API_TOKEN); - let rsp = await cacheService.delete({ - key: "foo", - }); - console.log(rsp); -} - -deleteAvalue(); diff --git a/examples/cache/get/curl/getAValue.sh b/examples/cache/get/curl/getAValue.sh deleted file mode 100755 index f735ae7..0000000 --- a/examples/cache/get/curl/getAValue.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/cache/Get" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "key": "foo" -}' \ No newline at end of file diff --git a/examples/cache/get/go/getAValue.go b/examples/cache/get/go/getAValue.go deleted file mode 100755 index 590f97d..0000000 --- a/examples/cache/get/go/getAValue.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/cache" -) - -// Get an item from the cache by key. If key is not found, an empty response is returned. -func GetAvalue() { - cacheService := cache.NewCacheService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := cacheService.Get(&cache.GetRequest{ - Key: "foo", - }) - fmt.Println(rsp, err) -} diff --git a/examples/cache/get/node/getAValue.js b/examples/cache/get/node/getAValue.js deleted file mode 100755 index 5c43bfb..0000000 --- a/examples/cache/get/node/getAValue.js +++ /dev/null @@ -1,12 +0,0 @@ -const { CacheService } = require("micro-js-client/cache"); - -// Get an item from the cache by key. If key is not found, an empty response is returned. -async function getAvalue() { - let cacheService = new CacheService(process.env.MICRO_API_TOKEN); - let rsp = await cacheService.get({ - key: "foo", - }); - console.log(rsp); -} - -getAvalue(); diff --git a/examples/cache/increment/curl/incrementAValue.sh b/examples/cache/increment/curl/incrementAValue.sh deleted file mode 100755 index 067d3ff..0000000 --- a/examples/cache/increment/curl/incrementAValue.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/cache/Increment" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "key": "counter", - "value": 2 -}' \ No newline at end of file diff --git a/examples/cache/increment/go/incrementAValue.go b/examples/cache/increment/go/incrementAValue.go deleted file mode 100755 index 7ed2595..0000000 --- a/examples/cache/increment/go/incrementAValue.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/cache" -) - -// Increment a value (if it's a number). If key not found it is equivalent to set. -func IncrementAvalue() { - cacheService := cache.NewCacheService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := cacheService.Increment(&cache.IncrementRequest{ - Key: "counter", - Value: 2, - }) - fmt.Println(rsp, err) -} diff --git a/examples/cache/increment/node/incrementAValue.js b/examples/cache/increment/node/incrementAValue.js deleted file mode 100755 index ba67c88..0000000 --- a/examples/cache/increment/node/incrementAValue.js +++ /dev/null @@ -1,13 +0,0 @@ -const { CacheService } = require("micro-js-client/cache"); - -// Increment a value (if it's a number). If key not found it is equivalent to set. -async function incrementAvalue() { - let cacheService = new CacheService(process.env.MICRO_API_TOKEN); - let rsp = await cacheService.increment({ - key: "counter", - value: 2, - }); - console.log(rsp); -} - -incrementAvalue(); diff --git a/examples/cache/set/curl/setAValue.sh b/examples/cache/set/curl/setAValue.sh deleted file mode 100755 index 05db6cb..0000000 --- a/examples/cache/set/curl/setAValue.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/cache/Set" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "key": "foo", - "value": "bar" -}' \ No newline at end of file diff --git a/examples/cache/set/go/setAValue.go b/examples/cache/set/go/setAValue.go deleted file mode 100755 index 1936fd8..0000000 --- a/examples/cache/set/go/setAValue.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/cache" -) - -// Set an item in the cache. Overwrites any existing value already set. -func SetAvalue() { - cacheService := cache.NewCacheService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := cacheService.Set(&cache.SetRequest{ - Key: "foo", - Value: "bar", - }) - fmt.Println(rsp, err) -} diff --git a/examples/cache/set/node/setAValue.js b/examples/cache/set/node/setAValue.js deleted file mode 100755 index 1acb99f..0000000 --- a/examples/cache/set/node/setAValue.js +++ /dev/null @@ -1,13 +0,0 @@ -const { CacheService } = require("micro-js-client/cache"); - -// Set an item in the cache. Overwrites any existing value already set. -async function setAvalue() { - let cacheService = new CacheService(process.env.MICRO_API_TOKEN); - let rsp = await cacheService.set({ - key: "foo", - value: "bar", - }); - console.log(rsp); -} - -setAvalue(); diff --git a/examples/crypto/history/curl/getPreviousClose.sh b/examples/crypto/history/curl/getPreviousClose.sh deleted file mode 100755 index e278acc..0000000 --- a/examples/crypto/history/curl/getPreviousClose.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/crypto/History" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "symbol": "BTCUSD" -}' \ No newline at end of file diff --git a/examples/crypto/history/go/getPreviousClose.go b/examples/crypto/history/go/getPreviousClose.go deleted file mode 100755 index 567f5a4..0000000 --- a/examples/crypto/history/go/getPreviousClose.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/crypto" -) - -// Returns the history for the previous close -func GetPreviousClose() { - cryptoService := crypto.NewCryptoService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := cryptoService.History(&crypto.HistoryRequest{ - Symbol: "BTCUSD", - }) - fmt.Println(rsp, err) -} diff --git a/examples/crypto/history/node/getPreviousClose.js b/examples/crypto/history/node/getPreviousClose.js deleted file mode 100755 index e645857..0000000 --- a/examples/crypto/history/node/getPreviousClose.js +++ /dev/null @@ -1,12 +0,0 @@ -const { CryptoService } = require("micro-js-client/crypto"); - -// Returns the history for the previous close -async function getPreviousClose() { - let cryptoService = new CryptoService(process.env.MICRO_API_TOKEN); - let rsp = await cryptoService.history({ - symbol: "BTCUSD", - }); - console.log(rsp); -} - -getPreviousClose(); diff --git a/examples/crypto/news/curl/getCryptocurrencyNews.sh b/examples/crypto/news/curl/getCryptocurrencyNews.sh deleted file mode 100755 index ad0e25a..0000000 --- a/examples/crypto/news/curl/getCryptocurrencyNews.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/crypto/News" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "symbol": "BTCUSD" -}' \ No newline at end of file diff --git a/examples/crypto/news/go/getCryptocurrencyNews.go b/examples/crypto/news/go/getCryptocurrencyNews.go deleted file mode 100755 index 3adc38b..0000000 --- a/examples/crypto/news/go/getCryptocurrencyNews.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/crypto" -) - -// Get news related to a currency -func GetCryptocurrencyNews() { - cryptoService := crypto.NewCryptoService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := cryptoService.News(&crypto.NewsRequest{ - Symbol: "BTCUSD", - }) - fmt.Println(rsp, err) -} diff --git a/examples/crypto/news/node/getCryptocurrencyNews.js b/examples/crypto/news/node/getCryptocurrencyNews.js deleted file mode 100755 index ac156cc..0000000 --- a/examples/crypto/news/node/getCryptocurrencyNews.js +++ /dev/null @@ -1,12 +0,0 @@ -const { CryptoService } = require("micro-js-client/crypto"); - -// Get news related to a currency -async function getCryptocurrencyNews() { - let cryptoService = new CryptoService(process.env.MICRO_API_TOKEN); - let rsp = await cryptoService.news({ - symbol: "BTCUSD", - }); - console.log(rsp); -} - -getCryptocurrencyNews(); diff --git a/examples/crypto/price/curl/getCryptocurrencyPrice.sh b/examples/crypto/price/curl/getCryptocurrencyPrice.sh deleted file mode 100755 index 8076ed9..0000000 --- a/examples/crypto/price/curl/getCryptocurrencyPrice.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/crypto/Price" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "symbol": "BTCUSD" -}' \ No newline at end of file diff --git a/examples/crypto/price/go/getCryptocurrencyPrice.go b/examples/crypto/price/go/getCryptocurrencyPrice.go deleted file mode 100755 index 466d1c9..0000000 --- a/examples/crypto/price/go/getCryptocurrencyPrice.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/crypto" -) - -// Get the last price for a given crypto ticker -func GetCryptocurrencyPrice() { - cryptoService := crypto.NewCryptoService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := cryptoService.Price(&crypto.PriceRequest{ - Symbol: "BTCUSD", - }) - fmt.Println(rsp, err) -} diff --git a/examples/crypto/price/node/getCryptocurrencyPrice.js b/examples/crypto/price/node/getCryptocurrencyPrice.js deleted file mode 100755 index c7cb01d..0000000 --- a/examples/crypto/price/node/getCryptocurrencyPrice.js +++ /dev/null @@ -1,12 +0,0 @@ -const { CryptoService } = require("micro-js-client/crypto"); - -// Get the last price for a given crypto ticker -async function getCryptocurrencyPrice() { - let cryptoService = new CryptoService(process.env.MICRO_API_TOKEN); - let rsp = await cryptoService.price({ - symbol: "BTCUSD", - }); - console.log(rsp); -} - -getCryptocurrencyPrice(); diff --git a/examples/crypto/quote/curl/getACryptocurrencyQuote.sh b/examples/crypto/quote/curl/getACryptocurrencyQuote.sh deleted file mode 100755 index db29641..0000000 --- a/examples/crypto/quote/curl/getACryptocurrencyQuote.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/crypto/Quote" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "symbol": "BTCUSD" -}' \ No newline at end of file diff --git a/examples/crypto/quote/go/getACryptocurrencyQuote.go b/examples/crypto/quote/go/getACryptocurrencyQuote.go deleted file mode 100755 index f32efc2..0000000 --- a/examples/crypto/quote/go/getACryptocurrencyQuote.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/crypto" -) - -// Get the last quote for a given crypto ticker -func GetAcryptocurrencyQuote() { - cryptoService := crypto.NewCryptoService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := cryptoService.Quote(&crypto.QuoteRequest{ - Symbol: "BTCUSD", - }) - fmt.Println(rsp, err) -} diff --git a/examples/crypto/quote/node/getACryptocurrencyQuote.js b/examples/crypto/quote/node/getACryptocurrencyQuote.js deleted file mode 100755 index d2a3741..0000000 --- a/examples/crypto/quote/node/getACryptocurrencyQuote.js +++ /dev/null @@ -1,12 +0,0 @@ -const { CryptoService } = require("micro-js-client/crypto"); - -// Get the last quote for a given crypto ticker -async function getAcryptocurrencyQuote() { - let cryptoService = new CryptoService(process.env.MICRO_API_TOKEN); - let rsp = await cryptoService.quote({ - symbol: "BTCUSD", - }); - console.log(rsp); -} - -getAcryptocurrencyQuote(); diff --git a/examples/currency/codes/curl/getSupportedCodes.sh b/examples/currency/codes/curl/getSupportedCodes.sh deleted file mode 100755 index b753ff6..0000000 --- a/examples/currency/codes/curl/getSupportedCodes.sh +++ /dev/null @@ -1,4 +0,0 @@ -curl "http://localhost:8080/currency/Codes" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{}' \ No newline at end of file diff --git a/examples/currency/codes/go/getSupportedCodes.go b/examples/currency/codes/go/getSupportedCodes.go deleted file mode 100755 index e48ba03..0000000 --- a/examples/currency/codes/go/getSupportedCodes.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/currency" -) - -// Codes returns the supported currency codes for the API -func GetSupportedCodes() { - currencyService := currency.NewCurrencyService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := currencyService.Codes(¤cy.CodesRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/currency/codes/node/getSupportedCodes.js b/examples/currency/codes/node/getSupportedCodes.js deleted file mode 100755 index 3c36126..0000000 --- a/examples/currency/codes/node/getSupportedCodes.js +++ /dev/null @@ -1,10 +0,0 @@ -const { CurrencyService } = require("micro-js-client/currency"); - -// Codes returns the supported currency codes for the API -async function getSupportedCodes() { - let currencyService = new CurrencyService(process.env.MICRO_API_TOKEN); - let rsp = await currencyService.codes({}); - console.log(rsp); -} - -getSupportedCodes(); diff --git a/examples/currency/convert/curl/convert10UsdToGbp.sh b/examples/currency/convert/curl/convert10UsdToGbp.sh deleted file mode 100755 index 9211b02..0000000 --- a/examples/currency/convert/curl/convert10UsdToGbp.sh +++ /dev/null @@ -1,8 +0,0 @@ -curl "http://localhost:8080/currency/Convert" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "amount": 10, - "from": "USD", - "to": "GBP" -}' \ No newline at end of file diff --git a/examples/currency/convert/curl/convertUsdToGbp.sh b/examples/currency/convert/curl/convertUsdToGbp.sh deleted file mode 100755 index 04fd054..0000000 --- a/examples/currency/convert/curl/convertUsdToGbp.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/currency/Convert" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "from": "USD", - "to": "GBP" -}' \ No newline at end of file diff --git a/examples/currency/convert/go/convert10UsdToGbp.go b/examples/currency/convert/go/convert10UsdToGbp.go deleted file mode 100755 index 13e0056..0000000 --- a/examples/currency/convert/go/convert10UsdToGbp.go +++ /dev/null @@ -1,19 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/currency" -) - -// Convert returns the currency conversion rate between two pairs e.g USD/GBP -func Convert10usdToGbp() { - currencyService := currency.NewCurrencyService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := currencyService.Convert(¤cy.ConvertRequest{ - Amount: 10, - From: "USD", - To: "GBP", - }) - fmt.Println(rsp, err) -} diff --git a/examples/currency/convert/go/convertUsdToGbp.go b/examples/currency/convert/go/convertUsdToGbp.go deleted file mode 100755 index ec1a38b..0000000 --- a/examples/currency/convert/go/convertUsdToGbp.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/currency" -) - -// Convert returns the currency conversion rate between two pairs e.g USD/GBP -func ConvertUsdToGbp() { - currencyService := currency.NewCurrencyService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := currencyService.Convert(¤cy.ConvertRequest{ - From: "USD", - To: "GBP", - }) - fmt.Println(rsp, err) -} diff --git a/examples/currency/convert/node/convert10UsdToGbp.js b/examples/currency/convert/node/convert10UsdToGbp.js deleted file mode 100755 index d440b7c..0000000 --- a/examples/currency/convert/node/convert10UsdToGbp.js +++ /dev/null @@ -1,14 +0,0 @@ -const { CurrencyService } = require("micro-js-client/currency"); - -// Convert returns the currency conversion rate between two pairs e.g USD/GBP -async function convert10usdToGbp() { - let currencyService = new CurrencyService(process.env.MICRO_API_TOKEN); - let rsp = await currencyService.convert({ - amount: 10, - from: "USD", - to: "GBP", - }); - console.log(rsp); -} - -convert10usdToGbp(); diff --git a/examples/currency/convert/node/convertUsdToGbp.js b/examples/currency/convert/node/convertUsdToGbp.js deleted file mode 100755 index a7fe51b..0000000 --- a/examples/currency/convert/node/convertUsdToGbp.js +++ /dev/null @@ -1,13 +0,0 @@ -const { CurrencyService } = require("micro-js-client/currency"); - -// Convert returns the currency conversion rate between two pairs e.g USD/GBP -async function convertUsdToGbp() { - let currencyService = new CurrencyService(process.env.MICRO_API_TOKEN); - let rsp = await currencyService.convert({ - from: "USD", - to: "GBP", - }); - console.log(rsp); -} - -convertUsdToGbp(); diff --git a/examples/currency/history/curl/historicRatesForACurrency.sh b/examples/currency/history/curl/historicRatesForACurrency.sh deleted file mode 100755 index 7966535..0000000 --- a/examples/currency/history/curl/historicRatesForACurrency.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/currency/History" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "code": "USD", - "date": "2021-05-30" -}' \ No newline at end of file diff --git a/examples/currency/history/go/historicRatesForACurrency.go b/examples/currency/history/go/historicRatesForACurrency.go deleted file mode 100755 index 58b627f..0000000 --- a/examples/currency/history/go/historicRatesForACurrency.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/currency" -) - -// Returns the historic rates for a currency on a given date -func HistoricRatesForAcurrency() { - currencyService := currency.NewCurrencyService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := currencyService.History(¤cy.HistoryRequest{ - Code: "USD", - Date: "2021-05-30", - }) - fmt.Println(rsp, err) -} diff --git a/examples/currency/history/node/historicRatesForACurrency.js b/examples/currency/history/node/historicRatesForACurrency.js deleted file mode 100755 index c535f63..0000000 --- a/examples/currency/history/node/historicRatesForACurrency.js +++ /dev/null @@ -1,13 +0,0 @@ -const { CurrencyService } = require("micro-js-client/currency"); - -// Returns the historic rates for a currency on a given date -async function historicRatesForAcurrency() { - let currencyService = new CurrencyService(process.env.MICRO_API_TOKEN); - let rsp = await currencyService.history({ - code: "USD", - date: "2021-05-30", - }); - console.log(rsp); -} - -historicRatesForAcurrency(); diff --git a/examples/currency/rates/curl/getRatesForUsd.sh b/examples/currency/rates/curl/getRatesForUsd.sh deleted file mode 100755 index 1bf13fd..0000000 --- a/examples/currency/rates/curl/getRatesForUsd.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/currency/Rates" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "code": "USD" -}' \ No newline at end of file diff --git a/examples/currency/rates/go/getRatesForUsd.go b/examples/currency/rates/go/getRatesForUsd.go deleted file mode 100755 index abeb81b..0000000 --- a/examples/currency/rates/go/getRatesForUsd.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/currency" -) - -// Rates returns the currency rates for a given code e.g USD -func GetRatesForUsd() { - currencyService := currency.NewCurrencyService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := currencyService.Rates(¤cy.RatesRequest{ - Code: "USD", - }) - fmt.Println(rsp, err) -} diff --git a/examples/currency/rates/node/getRatesForUsd.js b/examples/currency/rates/node/getRatesForUsd.js deleted file mode 100755 index 12b940f..0000000 --- a/examples/currency/rates/node/getRatesForUsd.js +++ /dev/null @@ -1,12 +0,0 @@ -const { CurrencyService } = require("micro-js-client/currency"); - -// Rates returns the currency rates for a given code e.g USD -async function getRatesForUsd() { - let currencyService = new CurrencyService(process.env.MICRO_API_TOKEN); - let rsp = await currencyService.rates({ - code: "USD", - }); - console.log(rsp); -} - -getRatesForUsd(); diff --git a/examples/db/count/curl/countEntriesInATable.sh b/examples/db/count/curl/countEntriesInATable.sh deleted file mode 100755 index 03eff52..0000000 --- a/examples/db/count/curl/countEntriesInATable.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/db/Count" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "table": "users" -}' \ No newline at end of file diff --git a/examples/db/count/go/countEntriesInATable.go b/examples/db/count/go/countEntriesInATable.go deleted file mode 100755 index 7f6db59..0000000 --- a/examples/db/count/go/countEntriesInATable.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/db" -) - -// Count records in a table -func CountEntriesInAtable() { - dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := dbService.Count(&db.CountRequest{ - Table: "users", - }) - fmt.Println(rsp, err) -} diff --git a/examples/db/count/node/countEntriesInATable.js b/examples/db/count/node/countEntriesInATable.js deleted file mode 100755 index de6764b..0000000 --- a/examples/db/count/node/countEntriesInATable.js +++ /dev/null @@ -1,12 +0,0 @@ -const { DbService } = require("micro-js-client/db"); - -// Count records in a table -async function countEntriesInAtable() { - let dbService = new DbService(process.env.MICRO_API_TOKEN); - let rsp = await dbService.count({ - table: "users", - }); - console.log(rsp); -} - -countEntriesInAtable(); diff --git a/examples/db/create/curl/createARecord.sh b/examples/db/create/curl/createARecord.sh deleted file mode 100755 index 08aa02d..0000000 --- a/examples/db/create/curl/createARecord.sh +++ /dev/null @@ -1,12 +0,0 @@ -curl "http://localhost:8080/db/Create" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "record": { - "age": 42, - "id": "1", - "isActive": true, - "name": "Jane" - }, - "table": "users" -}' \ No newline at end of file diff --git a/examples/db/create/go/createARecord.go b/examples/db/create/go/createARecord.go deleted file mode 100755 index 283dd5d..0000000 --- a/examples/db/create/go/createARecord.go +++ /dev/null @@ -1,23 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/db" -) - -// Create a record in the database. Optionally include an "id" field otherwise it's set automatically. -func CreateArecord() { - dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := dbService.Create(&db.CreateRequest{ - Record: map[string]interface{}{ - "id": "1", - "name": "Jane", - "age": 42, - "isActive": true, - }, - Table: "users", - }) - fmt.Println(rsp, err) -} diff --git a/examples/db/create/node/createARecord.js b/examples/db/create/node/createARecord.js deleted file mode 100755 index 7b57dad..0000000 --- a/examples/db/create/node/createARecord.js +++ /dev/null @@ -1,18 +0,0 @@ -const { DbService } = require("micro-js-client/db"); - -// Create a record in the database. Optionally include an "id" field otherwise it's set automatically. -async function createArecord() { - let dbService = new DbService(process.env.MICRO_API_TOKEN); - let rsp = await dbService.create({ - record: { - age: 42, - id: "1", - isActive: true, - name: "Jane", - }, - table: "users", - }); - console.log(rsp); -} - -createArecord(); diff --git a/examples/db/delete/curl/deleteARecord.sh b/examples/db/delete/curl/deleteARecord.sh deleted file mode 100755 index 20cf918..0000000 --- a/examples/db/delete/curl/deleteARecord.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/db/Delete" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "id": "1", - "table": "users" -}' \ No newline at end of file diff --git a/examples/db/delete/go/deleteARecord.go b/examples/db/delete/go/deleteARecord.go deleted file mode 100755 index 5381561..0000000 --- a/examples/db/delete/go/deleteARecord.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/db" -) - -// Delete a record in the database by id. -func DeleteArecord() { - dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := dbService.Delete(&db.DeleteRequest{ - Id: "1", - Table: "users", - }) - fmt.Println(rsp, err) -} diff --git a/examples/db/delete/node/deleteARecord.js b/examples/db/delete/node/deleteARecord.js deleted file mode 100755 index cf0e74a..0000000 --- a/examples/db/delete/node/deleteARecord.js +++ /dev/null @@ -1,13 +0,0 @@ -const { DbService } = require("micro-js-client/db"); - -// Delete a record in the database by id. -async function deleteArecord() { - let dbService = new DbService(process.env.MICRO_API_TOKEN); - let rsp = await dbService.delete({ - id: "1", - table: "users", - }); - console.log(rsp); -} - -deleteArecord(); diff --git a/examples/db/dropTable/curl/dropTable.sh b/examples/db/dropTable/curl/dropTable.sh deleted file mode 100755 index 7826b5d..0000000 --- a/examples/db/dropTable/curl/dropTable.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/db/DropTable" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "table": "users" -}' \ No newline at end of file diff --git a/examples/db/dropTable/go/dropTable.go b/examples/db/dropTable/go/dropTable.go deleted file mode 100755 index 9191ce9..0000000 --- a/examples/db/dropTable/go/dropTable.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/db" -) - -// Drop a table in the DB -func DropTable() { - dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := dbService.DropTable(&db.DropTableRequest{ - Table: "users", - }) - fmt.Println(rsp, err) -} diff --git a/examples/db/dropTable/node/dropTable.js b/examples/db/dropTable/node/dropTable.js deleted file mode 100755 index a71ce1c..0000000 --- a/examples/db/dropTable/node/dropTable.js +++ /dev/null @@ -1,12 +0,0 @@ -const { DbService } = require("micro-js-client/db"); - -// Drop a table in the DB -async function dropTable() { - let dbService = new DbService(process.env.MICRO_API_TOKEN); - let rsp = await dbService.dropTable({ - table: "users", - }); - console.log(rsp); -} - -dropTable(); diff --git a/examples/db/listTables/curl/listTables.sh b/examples/db/listTables/curl/listTables.sh deleted file mode 100755 index dfcf046..0000000 --- a/examples/db/listTables/curl/listTables.sh +++ /dev/null @@ -1,4 +0,0 @@ -curl "http://localhost:8080/db/ListTables" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{}' \ No newline at end of file diff --git a/examples/db/listTables/go/listTables.go b/examples/db/listTables/go/listTables.go deleted file mode 100755 index 90633e6..0000000 --- a/examples/db/listTables/go/listTables.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/db" -) - -// List tables in the DB -func ListTables() { - dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := dbService.ListTables(&db.ListTablesRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/db/listTables/node/listTables.js b/examples/db/listTables/node/listTables.js deleted file mode 100755 index 8cc8081..0000000 --- a/examples/db/listTables/node/listTables.js +++ /dev/null @@ -1,10 +0,0 @@ -const { DbService } = require("micro-js-client/db"); - -// List tables in the DB -async function listTables() { - let dbService = new DbService(process.env.MICRO_API_TOKEN); - let rsp = await dbService.listTables({}); - console.log(rsp); -} - -listTables(); diff --git a/examples/db/read/curl/readRecords.sh b/examples/db/read/curl/readRecords.sh deleted file mode 100755 index ff7d668..0000000 --- a/examples/db/read/curl/readRecords.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/db/Read" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "query": "age == 43", - "table": "users" -}' \ No newline at end of file diff --git a/examples/db/read/go/readRecords.go b/examples/db/read/go/readRecords.go deleted file mode 100755 index 662f4c2..0000000 --- a/examples/db/read/go/readRecords.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/db" -) - -// Read data from a table. Lookup can be by ID or via querying any field in the record. -func ReadRecords() { - dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := dbService.Read(&db.ReadRequest{ - Query: "age == 43", - Table: "users", - }) - fmt.Println(rsp, err) -} diff --git a/examples/db/read/node/readRecords.js b/examples/db/read/node/readRecords.js deleted file mode 100755 index c7b1121..0000000 --- a/examples/db/read/node/readRecords.js +++ /dev/null @@ -1,13 +0,0 @@ -const { DbService } = require("micro-js-client/db"); - -// Read data from a table. Lookup can be by ID or via querying any field in the record. -async function readRecords() { - let dbService = new DbService(process.env.MICRO_API_TOKEN); - let rsp = await dbService.read({ - query: "age == 43", - table: "users", - }); - console.log(rsp); -} - -readRecords(); diff --git a/examples/db/renameTable/curl/renameTable.sh b/examples/db/renameTable/curl/renameTable.sh deleted file mode 100755 index 09526c9..0000000 --- a/examples/db/renameTable/curl/renameTable.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/db/RenameTable" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "from": "events", - "to": "events_backup" -}' \ No newline at end of file diff --git a/examples/db/renameTable/go/renameTable.go b/examples/db/renameTable/go/renameTable.go deleted file mode 100755 index 07a07a5..0000000 --- a/examples/db/renameTable/go/renameTable.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/db" -) - -// Rename a table -func RenameTable() { - dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := dbService.RenameTable(&db.RenameTableRequest{ - From: "events", - To: "events_backup", - }) - fmt.Println(rsp, err) -} diff --git a/examples/db/renameTable/node/renameTable.js b/examples/db/renameTable/node/renameTable.js deleted file mode 100755 index ddfba30..0000000 --- a/examples/db/renameTable/node/renameTable.js +++ /dev/null @@ -1,13 +0,0 @@ -const { DbService } = require("micro-js-client/db"); - -// Rename a table -async function renameTable() { - let dbService = new DbService(process.env.MICRO_API_TOKEN); - let rsp = await dbService.renameTable({ - from: "events", - to: "events_backup", - }); - console.log(rsp); -} - -renameTable(); diff --git a/examples/db/truncate/curl/truncateTable.sh b/examples/db/truncate/curl/truncateTable.sh deleted file mode 100755 index dd116b3..0000000 --- a/examples/db/truncate/curl/truncateTable.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/db/Truncate" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "table": "users" -}' \ No newline at end of file diff --git a/examples/db/truncate/go/truncateTable.go b/examples/db/truncate/go/truncateTable.go deleted file mode 100755 index f62066c..0000000 --- a/examples/db/truncate/go/truncateTable.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/db" -) - -// Truncate the records in a table -func TruncateTable() { - dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := dbService.Truncate(&db.TruncateRequest{ - Table: "users", - }) - fmt.Println(rsp, err) -} diff --git a/examples/db/truncate/node/truncateTable.js b/examples/db/truncate/node/truncateTable.js deleted file mode 100755 index b166b8f..0000000 --- a/examples/db/truncate/node/truncateTable.js +++ /dev/null @@ -1,12 +0,0 @@ -const { DbService } = require("micro-js-client/db"); - -// Truncate the records in a table -async function truncateTable() { - let dbService = new DbService(process.env.MICRO_API_TOKEN); - let rsp = await dbService.truncate({ - table: "users", - }); - console.log(rsp); -} - -truncateTable(); diff --git a/examples/db/update/curl/updateARecord.sh b/examples/db/update/curl/updateARecord.sh deleted file mode 100755 index 1aa5d06..0000000 --- a/examples/db/update/curl/updateARecord.sh +++ /dev/null @@ -1,10 +0,0 @@ -curl "http://localhost:8080/db/Update" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "record": { - "age": 43, - "id": "1" - }, - "table": "users" -}' \ No newline at end of file diff --git a/examples/db/update/go/updateARecord.go b/examples/db/update/go/updateARecord.go deleted file mode 100755 index 4517043..0000000 --- a/examples/db/update/go/updateARecord.go +++ /dev/null @@ -1,21 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/db" -) - -// Update a record in the database. Include an "id" in the record to update. -func UpdateArecord() { - dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := dbService.Update(&db.UpdateRequest{ - Record: map[string]interface{}{ - "id": "1", - "age": 43, - }, - Table: "users", - }) - fmt.Println(rsp, err) -} diff --git a/examples/db/update/node/updateARecord.js b/examples/db/update/node/updateARecord.js deleted file mode 100755 index 5ac6acd..0000000 --- a/examples/db/update/node/updateARecord.js +++ /dev/null @@ -1,16 +0,0 @@ -const { DbService } = require("micro-js-client/db"); - -// Update a record in the database. Include an "id" in the record to update. -async function updateArecord() { - let dbService = new DbService(process.env.MICRO_API_TOKEN); - let rsp = await dbService.update({ - record: { - age: 43, - id: "1", - }, - table: "users", - }); - console.log(rsp); -} - -updateArecord(); diff --git a/examples/email/send/curl/sendEmail.sh b/examples/email/send/curl/sendEmail.sh deleted file mode 100755 index 5ef0e95..0000000 --- a/examples/email/send/curl/sendEmail.sh +++ /dev/null @@ -1,8 +0,0 @@ -curl "http://localhost:8080/email/Send" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "from": "Awesome Dot Com", - "subject": "Email verification", - "textBody": "Hi there,\n\nPlease verify your email by clicking this link: $micro_verification_link" -}' \ No newline at end of file diff --git a/examples/email/send/go/sendEmail.go b/examples/email/send/go/sendEmail.go deleted file mode 100755 index 2ceadce..0000000 --- a/examples/email/send/go/sendEmail.go +++ /dev/null @@ -1,21 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/email" -) - -// Send an email by passing in from, to, subject, and a text or html body -func SendEmail() { - emailService := email.NewEmailService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := emailService.Send(&email.SendRequest{ - From: "Awesome Dot Com", - Subject: "Email verification", - TextBody: `Hi there, - -Please verify your email by clicking this link: $micro_verification_link`, - }) - fmt.Println(rsp, err) -} diff --git a/examples/email/send/node/sendEmail.js b/examples/email/send/node/sendEmail.js deleted file mode 100755 index 003e6ae..0000000 --- a/examples/email/send/node/sendEmail.js +++ /dev/null @@ -1,15 +0,0 @@ -const { EmailService } = require("micro-js-client/email"); - -// Send an email by passing in from, to, subject, and a text or html body -async function sendEmail() { - let emailService = new EmailService(process.env.MICRO_API_TOKEN); - let rsp = await emailService.send({ - from: "Awesome Dot Com", - subject: "Email verification", - textBody: - "Hi there,\n\nPlease verify your email by clicking this link: $micro_verification_link", - }); - console.log(rsp); -} - -sendEmail(); diff --git a/examples/emoji/find/curl/findEmoji.sh b/examples/emoji/find/curl/findEmoji.sh deleted file mode 100755 index 7e4c24f..0000000 --- a/examples/emoji/find/curl/findEmoji.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/emoji/Find" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "alias": ":beer:" -}' \ No newline at end of file diff --git a/examples/emoji/find/go/findEmoji.go b/examples/emoji/find/go/findEmoji.go deleted file mode 100755 index 12b571b..0000000 --- a/examples/emoji/find/go/findEmoji.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/emoji" -) - -// Find an emoji by its alias e.g :beer: -func FindEmoji() { - emojiService := emoji.NewEmojiService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := emojiService.Find(&emoji.FindRequest{ - Alias: ":beer:", - }) - fmt.Println(rsp, err) -} diff --git a/examples/emoji/find/node/findEmoji.js b/examples/emoji/find/node/findEmoji.js deleted file mode 100755 index 919aaac..0000000 --- a/examples/emoji/find/node/findEmoji.js +++ /dev/null @@ -1,12 +0,0 @@ -const { EmojiService } = require("micro-js-client/emoji"); - -// Find an emoji by its alias e.g :beer: -async function findEmoji() { - let emojiService = new EmojiService(process.env.MICRO_API_TOKEN); - let rsp = await emojiService.find({ - alias: ":beer:", - }); - console.log(rsp); -} - -findEmoji(); diff --git a/examples/emoji/flag/curl/getFlagByCountryCode.sh b/examples/emoji/flag/curl/getFlagByCountryCode.sh deleted file mode 100755 index a45b703..0000000 --- a/examples/emoji/flag/curl/getFlagByCountryCode.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/emoji/Flag" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "alias": "GB" -}' \ No newline at end of file diff --git a/examples/emoji/flag/go/getFlagByCountryCode.go b/examples/emoji/flag/go/getFlagByCountryCode.go deleted file mode 100755 index 8af9e0f..0000000 --- a/examples/emoji/flag/go/getFlagByCountryCode.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/emoji" -) - -// Get the flag for a country. Requires country code e.g GB for great britain -func GetFlagByCountryCode() { - emojiService := emoji.NewEmojiService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := emojiService.Flag(&emoji.FlagRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/emoji/flag/node/getFlagByCountryCode.js b/examples/emoji/flag/node/getFlagByCountryCode.js deleted file mode 100755 index 461c7fc..0000000 --- a/examples/emoji/flag/node/getFlagByCountryCode.js +++ /dev/null @@ -1,12 +0,0 @@ -const { EmojiService } = require("micro-js-client/emoji"); - -// Get the flag for a country. Requires country code e.g GB for great britain -async function getFlagByCountryCode() { - let emojiService = new EmojiService(process.env.MICRO_API_TOKEN); - let rsp = await emojiService.flag({ - alias: "GB", - }); - console.log(rsp); -} - -getFlagByCountryCode(); diff --git a/examples/emoji/print/curl/printTextIncludingEmoji.sh b/examples/emoji/print/curl/printTextIncludingEmoji.sh deleted file mode 100755 index 3b9544d..0000000 --- a/examples/emoji/print/curl/printTextIncludingEmoji.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/emoji/Print" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "text": "let's grab a :beer:" -}' \ No newline at end of file diff --git a/examples/emoji/print/go/printTextIncludingEmoji.go b/examples/emoji/print/go/printTextIncludingEmoji.go deleted file mode 100755 index 3e6965f..0000000 --- a/examples/emoji/print/go/printTextIncludingEmoji.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/emoji" -) - -// Print text and renders the emojis with aliases e.g -// let's grab a :beer: becomes let's grab a 🍺 -func PrintTextIncludingEmoji() { - emojiService := emoji.NewEmojiService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := emojiService.Print(&emoji.PrintRequest{ - Text: "let's grab a :beer:", - }) - fmt.Println(rsp, err) -} diff --git a/examples/emoji/print/node/printTextIncludingEmoji.js b/examples/emoji/print/node/printTextIncludingEmoji.js deleted file mode 100755 index 773643f..0000000 --- a/examples/emoji/print/node/printTextIncludingEmoji.js +++ /dev/null @@ -1,13 +0,0 @@ -const { EmojiService } = require("micro-js-client/emoji"); - -// Print text and renders the emojis with aliases e.g -// let's grab a :beer: becomes let's grab a 🍺 -async function printTextIncludingEmoji() { - let emojiService = new EmojiService(process.env.MICRO_API_TOKEN); - let rsp = await emojiService.print({ - text: "let's grab a :beer:", - }); - console.log(rsp); -} - -printTextIncludingEmoji(); diff --git a/examples/emoji/send/curl/sendATextContainingAnEmojiToAnyoneViaSms.sh b/examples/emoji/send/curl/sendATextContainingAnEmojiToAnyoneViaSms.sh deleted file mode 100755 index 2a1849c..0000000 --- a/examples/emoji/send/curl/sendATextContainingAnEmojiToAnyoneViaSms.sh +++ /dev/null @@ -1,8 +0,0 @@ -curl "http://localhost:8080/emoji/Send" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "from": "Alice", - "message": "let's grab a :beer:", - "to": "+44782669123" -}' \ No newline at end of file diff --git a/examples/emoji/send/go/sendATextContainingAnEmojiToAnyoneViaSms.go b/examples/emoji/send/go/sendATextContainingAnEmojiToAnyoneViaSms.go deleted file mode 100755 index cbe73fe..0000000 --- a/examples/emoji/send/go/sendATextContainingAnEmojiToAnyoneViaSms.go +++ /dev/null @@ -1,19 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/emoji" -) - -// Send an emoji to anyone via SMS. Messages are sent in the form ' Sent from ' -func SendAtextContainingAnEmojiToAnyoneViaSms() { - emojiService := emoji.NewEmojiService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := emojiService.Send(&emoji.SendRequest{ - From: "Alice", - Message: "let's grab a :beer:", - To: "+44782669123", - }) - fmt.Println(rsp, err) -} diff --git a/examples/emoji/send/node/sendATextContainingAnEmojiToAnyoneViaSms.js b/examples/emoji/send/node/sendATextContainingAnEmojiToAnyoneViaSms.js deleted file mode 100755 index 4575786..0000000 --- a/examples/emoji/send/node/sendATextContainingAnEmojiToAnyoneViaSms.js +++ /dev/null @@ -1,14 +0,0 @@ -const { EmojiService } = require("micro-js-client/emoji"); - -// Send an emoji to anyone via SMS. Messages are sent in the form ' Sent from ' -async function sendAtextContainingAnEmojiToAnyoneViaSms() { - let emojiService = new EmojiService(process.env.MICRO_API_TOKEN); - let rsp = await emojiService.send({ - from: "Alice", - message: "let's grab a :beer:", - to: "+44782669123", - }); - console.log(rsp); -} - -sendAtextContainingAnEmojiToAnyoneViaSms(); diff --git a/examples/evchargers/referenceData/curl/getReferenceData.sh b/examples/evchargers/referenceData/curl/getReferenceData.sh deleted file mode 100755 index 3e7a3ad..0000000 --- a/examples/evchargers/referenceData/curl/getReferenceData.sh +++ /dev/null @@ -1,4 +0,0 @@ -curl "http://localhost:8080/evchargers/ReferenceData" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{}' \ No newline at end of file diff --git a/examples/evchargers/referenceData/go/getReferenceData.go b/examples/evchargers/referenceData/go/getReferenceData.go deleted file mode 100755 index 9bf2c52..0000000 --- a/examples/evchargers/referenceData/go/getReferenceData.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/evchargers" -) - -// Retrieve reference data as used by this API and in conjunction with the Search endpoint -func GetReferenceData() { - evchargersService := evchargers.NewEvchargersService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := evchargersService.ReferenceData(&evchargers.ReferenceDataRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/evchargers/referenceData/node/getReferenceData.js b/examples/evchargers/referenceData/node/getReferenceData.js deleted file mode 100755 index 681c78f..0000000 --- a/examples/evchargers/referenceData/node/getReferenceData.js +++ /dev/null @@ -1,10 +0,0 @@ -const { EvchargersService } = require("micro-js-client/evchargers"); - -// Retrieve reference data as used by this API and in conjunction with the Search endpoint -async function getReferenceData() { - let evchargersService = new EvchargersService(process.env.MICRO_API_TOKEN); - let rsp = await evchargersService.referenceData({}); - console.log(rsp); -} - -getReferenceData(); diff --git a/examples/evchargers/search/curl/searchByBoundingBox.sh b/examples/evchargers/search/curl/searchByBoundingBox.sh deleted file mode 100755 index 3371e98..0000000 --- a/examples/evchargers/search/curl/searchByBoundingBox.sh +++ /dev/null @@ -1,16 +0,0 @@ -curl "http://localhost:8080/evchargers/Search" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "box": { - "bottom_left": { - "latitude": 51.52627543859447, - "longitude": -0.03635349400295168 - }, - "top_right": { - "latitude": 51.56717121807993, - "longitude": -0.002293530559768285 - } - }, - "max_results": 2 -}' \ No newline at end of file diff --git a/examples/evchargers/search/curl/searchByLocation.sh b/examples/evchargers/search/curl/searchByLocation.sh deleted file mode 100755 index c7d67c4..0000000 --- a/examples/evchargers/search/curl/searchByLocation.sh +++ /dev/null @@ -1,11 +0,0 @@ -curl "http://localhost:8080/evchargers/Search" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "distance": 2000, - "location": { - "latitude": 51.53336351319885, - "longitude": -0.0252 - }, - "max_results": 2 -}' \ No newline at end of file diff --git a/examples/evchargers/search/curl/searchWithFiltersFastChargersOnly.sh b/examples/evchargers/search/curl/searchWithFiltersFastChargersOnly.sh deleted file mode 100755 index 4170f3e..0000000 --- a/examples/evchargers/search/curl/searchWithFiltersFastChargersOnly.sh +++ /dev/null @@ -1,14 +0,0 @@ -curl "http://localhost:8080/evchargers/Search" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "distance": 2000, - "levels": [ - "3" - ], - "location": { - "latitude": 51.53336351319885, - "longitude": -0.0252 - }, - "max_results": 2 -}' \ No newline at end of file diff --git a/examples/evchargers/search/go/searchByBoundingBox.go b/examples/evchargers/search/go/searchByBoundingBox.go deleted file mode 100755 index 2c3ee75..0000000 --- a/examples/evchargers/search/go/searchByBoundingBox.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/evchargers" -) - -// Search by giving a coordinate and a max distance, or bounding box and optional filters -func SearchByBoundingBox() { - evchargersService := evchargers.NewEvchargersService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := evchargersService.Search(&evchargers.SearchRequest{ - Box: &evchargers.BoundingBox{}, - }) - fmt.Println(rsp, err) -} diff --git a/examples/evchargers/search/go/searchByLocation.go b/examples/evchargers/search/go/searchByLocation.go deleted file mode 100755 index 331c3bb..0000000 --- a/examples/evchargers/search/go/searchByLocation.go +++ /dev/null @@ -1,21 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/evchargers" -) - -// Search by giving a coordinate and a max distance, or bounding box and optional filters -func SearchByLocation() { - evchargersService := evchargers.NewEvchargersService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := evchargersService.Search(&evchargers.SearchRequest{ - Distance: 2000, - Location: &evchargers.Coordinates{ - Latitude: 51.53336351319885, - Longitude: -0.0252, - }, - }) - fmt.Println(rsp, err) -} diff --git a/examples/evchargers/search/go/searchWithFiltersFastChargersOnly.go b/examples/evchargers/search/go/searchWithFiltersFastChargersOnly.go deleted file mode 100755 index 12d24a5..0000000 --- a/examples/evchargers/search/go/searchWithFiltersFastChargersOnly.go +++ /dev/null @@ -1,22 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/evchargers" -) - -// Search by giving a coordinate and a max distance, or bounding box and optional filters -func SearchWithFiltersFastChargersOnly() { - evchargersService := evchargers.NewEvchargersService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := evchargersService.Search(&evchargers.SearchRequest{ - Distance: 2000, - Levels: []string{"3"}, - Location: &evchargers.Coordinates{ - Latitude: 51.53336351319885, - Longitude: -0.0252, - }, - }) - fmt.Println(rsp, err) -} diff --git a/examples/evchargers/search/node/searchByBoundingBox.js b/examples/evchargers/search/node/searchByBoundingBox.js deleted file mode 100755 index fa8235a..0000000 --- a/examples/evchargers/search/node/searchByBoundingBox.js +++ /dev/null @@ -1,22 +0,0 @@ -const { EvchargersService } = require("micro-js-client/evchargers"); - -// Search by giving a coordinate and a max distance, or bounding box and optional filters -async function searchByBoundingBox() { - let evchargersService = new EvchargersService(process.env.MICRO_API_TOKEN); - let rsp = await evchargersService.search({ - box: { - bottom_left: { - latitude: 51.52627543859447, - longitude: -0.03635349400295168, - }, - top_right: { - latitude: 51.56717121807993, - longitude: -0.002293530559768285, - }, - }, - max_results: 2, - }); - console.log(rsp); -} - -searchByBoundingBox(); diff --git a/examples/evchargers/search/node/searchByLocation.js b/examples/evchargers/search/node/searchByLocation.js deleted file mode 100755 index e430e85..0000000 --- a/examples/evchargers/search/node/searchByLocation.js +++ /dev/null @@ -1,17 +0,0 @@ -const { EvchargersService } = require("micro-js-client/evchargers"); - -// Search by giving a coordinate and a max distance, or bounding box and optional filters -async function searchByLocation() { - let evchargersService = new EvchargersService(process.env.MICRO_API_TOKEN); - let rsp = await evchargersService.search({ - distance: 2000, - location: { - latitude: 51.53336351319885, - longitude: -0.0252, - }, - max_results: 2, - }); - console.log(rsp); -} - -searchByLocation(); diff --git a/examples/evchargers/search/node/searchWithFiltersFastChargersOnly.js b/examples/evchargers/search/node/searchWithFiltersFastChargersOnly.js deleted file mode 100755 index f4f2791..0000000 --- a/examples/evchargers/search/node/searchWithFiltersFastChargersOnly.js +++ /dev/null @@ -1,18 +0,0 @@ -const { EvchargersService } = require("micro-js-client/evchargers"); - -// Search by giving a coordinate and a max distance, or bounding box and optional filters -async function searchWithFiltersFastChargersOnly() { - let evchargersService = new EvchargersService(process.env.MICRO_API_TOKEN); - let rsp = await evchargersService.search({ - distance: 2000, - levels: ["3"], - location: { - latitude: 51.53336351319885, - longitude: -0.0252, - }, - max_results: 2, - }); - console.log(rsp); -} - -searchWithFiltersFastChargersOnly(); diff --git a/examples/event/consume/curl/consumeFromATopic.sh b/examples/event/consume/curl/consumeFromATopic.sh deleted file mode 100755 index 827ce7f..0000000 --- a/examples/event/consume/curl/consumeFromATopic.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/event/Consume" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "topic": "user" -}' \ No newline at end of file diff --git a/examples/event/consume/go/consumeFromATopic.go b/examples/event/consume/go/consumeFromATopic.go deleted file mode 100755 index b05807d..0000000 --- a/examples/event/consume/go/consumeFromATopic.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/event" -) - -// Consume events from a given topic. -func ConsumeFromAtopic() { - eventService := event.NewEventService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := eventService.Consume(&event.ConsumeRequest{ - Topic: "user", - }) - fmt.Println(rsp, err) -} diff --git a/examples/event/consume/node/consumeFromATopic.js b/examples/event/consume/node/consumeFromATopic.js deleted file mode 100755 index e943a93..0000000 --- a/examples/event/consume/node/consumeFromATopic.js +++ /dev/null @@ -1,12 +0,0 @@ -const { EventService } = require("micro-js-client/event"); - -// Consume events from a given topic. -async function consumeFromAtopic() { - let eventService = new EventService(process.env.MICRO_API_TOKEN); - let rsp = await eventService.consume({ - topic: "user", - }); - console.log(rsp); -} - -consumeFromAtopic(); diff --git a/examples/event/publish/curl/publishAMessage.sh b/examples/event/publish/curl/publishAMessage.sh deleted file mode 100755 index 5921cfc..0000000 --- a/examples/event/publish/curl/publishAMessage.sh +++ /dev/null @@ -1,11 +0,0 @@ -curl "https://api.m3o.com/v1/event/Publish" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "message": { - "id": "1", - "type": "signup", - "user": "john" - }, - "topic": "user" -}' \ No newline at end of file diff --git a/examples/event/publish/curl/publishAnEvent.sh b/examples/event/publish/curl/publishAnEvent.sh deleted file mode 100755 index 9525e0f..0000000 --- a/examples/event/publish/curl/publishAnEvent.sh +++ /dev/null @@ -1,11 +0,0 @@ -curl "http://localhost:8080/event/Publish" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "message": { - "id": "1", - "type": "signup", - "user": "john" - }, - "topic": "user" -}' \ No newline at end of file diff --git a/examples/event/publish/go/publishAMessage.go b/examples/event/publish/go/publishAMessage.go deleted file mode 100755 index 6ae586d..0000000 --- a/examples/event/publish/go/publishAMessage.go +++ /dev/null @@ -1,22 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/event" -) - -// Publish a message to the event stream. -func PublishAmessage() { - eventService := event.NewEventService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := eventService.Publish(&event.PublishRequest{ - Message: map[string]interface{}{ - "id": "1", - "type": "signup", - "user": "john", - }, - Topic: "user", - }) - fmt.Println(rsp, err) -} diff --git a/examples/event/publish/go/publishAnEvent.go b/examples/event/publish/go/publishAnEvent.go deleted file mode 100755 index cd945dc..0000000 --- a/examples/event/publish/go/publishAnEvent.go +++ /dev/null @@ -1,22 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/event" -) - -// Publish a event to the event stream. -func PublishAnEvent() { - eventService := event.NewEventService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := eventService.Publish(&event.PublishRequest{ - Message: map[string]interface{}{ - "id": "1", - "type": "signup", - "user": "john", - }, - Topic: "user", - }) - fmt.Println(rsp, err) -} diff --git a/examples/event/publish/node/publishAMessage.js b/examples/event/publish/node/publishAMessage.js deleted file mode 100755 index 902df60..0000000 --- a/examples/event/publish/node/publishAMessage.js +++ /dev/null @@ -1,17 +0,0 @@ -const { EventService } = require("m3o/event"); - -// Publish a message to the event stream. -async function publishAmessage() { - let eventService = new EventService(process.env.MICRO_API_TOKEN); - let rsp = await eventService.publish({ - message: { - id: "1", - type: "signup", - user: "john", - }, - topic: "user", - }); - console.log(rsp); -} - -publishAmessage(); diff --git a/examples/event/publish/node/publishAnEvent.js b/examples/event/publish/node/publishAnEvent.js deleted file mode 100755 index 313e36d..0000000 --- a/examples/event/publish/node/publishAnEvent.js +++ /dev/null @@ -1,17 +0,0 @@ -const { EventService } = require("micro-js-client/event"); - -// Publish a event to the event stream. -async function publishAnEvent() { - let eventService = new EventService(process.env.MICRO_API_TOKEN); - let rsp = await eventService.publish({ - message: { - id: "1", - type: "signup", - user: "john", - }, - topic: "user", - }); - console.log(rsp); -} - -publishAnEvent(); diff --git a/examples/event/read/curl/readEventsOnATopic.sh b/examples/event/read/curl/readEventsOnATopic.sh deleted file mode 100755 index 2d31019..0000000 --- a/examples/event/read/curl/readEventsOnATopic.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/event/Read" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "topic": "user" -}' \ No newline at end of file diff --git a/examples/event/read/go/readEventsOnATopic.go b/examples/event/read/go/readEventsOnATopic.go deleted file mode 100755 index 356f91f..0000000 --- a/examples/event/read/go/readEventsOnATopic.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/event" -) - -// Read stored events -func ReadEventsOnAtopic() { - eventService := event.NewEventService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := eventService.Read(&event.ReadRequest{ - Topic: "user", - }) - fmt.Println(rsp, err) -} diff --git a/examples/event/read/node/readEventsOnATopic.js b/examples/event/read/node/readEventsOnATopic.js deleted file mode 100755 index 0801f97..0000000 --- a/examples/event/read/node/readEventsOnATopic.js +++ /dev/null @@ -1,12 +0,0 @@ -const { EventService } = require("micro-js-client/event"); - -// Read stored events -async function readEventsOnAtopic() { - let eventService = new EventService(process.env.MICRO_API_TOKEN); - let rsp = await eventService.read({ - topic: "user", - }); - console.log(rsp); -} - -readEventsOnAtopic(); diff --git a/examples/file/delete/curl/deleteFile.sh b/examples/file/delete/curl/deleteFile.sh deleted file mode 100755 index bb24597..0000000 --- a/examples/file/delete/curl/deleteFile.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/file/Delete" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "path": "/document/text-files/file.txt", - "project": "examples" -}' \ No newline at end of file diff --git a/examples/file/delete/go/deleteFile.go b/examples/file/delete/go/deleteFile.go deleted file mode 100755 index 3200854..0000000 --- a/examples/file/delete/go/deleteFile.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/file" -) - -// Delete a file by project name/path -func DeleteFile() { - fileService := file.NewFileService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := fileService.Delete(&file.DeleteRequest{ - Path: "/document/text-files/file.txt", - Project: "examples", - }) - fmt.Println(rsp, err) -} diff --git a/examples/file/delete/node/deleteFile.js b/examples/file/delete/node/deleteFile.js deleted file mode 100755 index 9bc9c14..0000000 --- a/examples/file/delete/node/deleteFile.js +++ /dev/null @@ -1,13 +0,0 @@ -const { FileService } = require("micro-js-client/file"); - -// Delete a file by project name/path -async function deleteFile() { - let fileService = new FileService(process.env.MICRO_API_TOKEN); - let rsp = await fileService.delete({ - path: "/document/text-files/file.txt", - project: "examples", - }); - console.log(rsp); -} - -deleteFile(); diff --git a/examples/file/list/curl/listFiles.sh b/examples/file/list/curl/listFiles.sh deleted file mode 100755 index 1831272..0000000 --- a/examples/file/list/curl/listFiles.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/file/List" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "project": "examples" -}' \ No newline at end of file diff --git a/examples/file/list/go/listFiles.go b/examples/file/list/go/listFiles.go deleted file mode 100755 index 1b2f768..0000000 --- a/examples/file/list/go/listFiles.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/file" -) - -// List files by their project and optionally a path. -func ListFiles() { - fileService := file.NewFileService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := fileService.List(&file.ListRequest{ - Project: "examples", - }) - fmt.Println(rsp, err) -} diff --git a/examples/file/list/node/listFiles.js b/examples/file/list/node/listFiles.js deleted file mode 100755 index c8bde67..0000000 --- a/examples/file/list/node/listFiles.js +++ /dev/null @@ -1,12 +0,0 @@ -const { FileService } = require("micro-js-client/file"); - -// List files by their project and optionally a path. -async function listFiles() { - let fileService = new FileService(process.env.MICRO_API_TOKEN); - let rsp = await fileService.list({ - project: "examples", - }); - console.log(rsp); -} - -listFiles(); diff --git a/examples/file/read/curl/readFile.sh b/examples/file/read/curl/readFile.sh deleted file mode 100755 index e7d12c4..0000000 --- a/examples/file/read/curl/readFile.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/file/Read" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "path": "/document/text-files/file.txt", - "project": "examples" -}' \ No newline at end of file diff --git a/examples/file/read/go/readFile.go b/examples/file/read/go/readFile.go deleted file mode 100755 index 0631caf..0000000 --- a/examples/file/read/go/readFile.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/file" -) - -// Read a file by path -func ReadFile() { - fileService := file.NewFileService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := fileService.Read(&file.ReadRequest{ - Path: "/document/text-files/file.txt", - Project: "examples", - }) - fmt.Println(rsp, err) -} diff --git a/examples/file/read/node/readFile.js b/examples/file/read/node/readFile.js deleted file mode 100755 index 4023618..0000000 --- a/examples/file/read/node/readFile.js +++ /dev/null @@ -1,13 +0,0 @@ -const { FileService } = require("micro-js-client/file"); - -// Read a file by path -async function readFile() { - let fileService = new FileService(process.env.MICRO_API_TOKEN); - let rsp = await fileService.read({ - path: "/document/text-files/file.txt", - project: "examples", - }); - console.log(rsp); -} - -readFile(); diff --git a/examples/file/save/curl/saveFile.sh b/examples/file/save/curl/saveFile.sh deleted file mode 100755 index 818699c..0000000 --- a/examples/file/save/curl/saveFile.sh +++ /dev/null @@ -1,10 +0,0 @@ -curl "http://localhost:8080/file/Save" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "file": { - "content": "file content example", - "path": "/document/text-files/file.txt", - "project": "examples" - } -}' \ No newline at end of file diff --git a/examples/file/save/go/saveFile.go b/examples/file/save/go/saveFile.go deleted file mode 100755 index 4f9d094..0000000 --- a/examples/file/save/go/saveFile.go +++ /dev/null @@ -1,21 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/file" -) - -// Save a file -func SaveFile() { - fileService := file.NewFileService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := fileService.Save(&file.SaveRequest{ - File: &file.Record{ - Content: "file content example", - Path: "/document/text-files/file.txt", - Project: "examples", - }, - }) - fmt.Println(rsp, err) -} diff --git a/examples/file/save/node/saveFile.js b/examples/file/save/node/saveFile.js deleted file mode 100755 index 9f7683b..0000000 --- a/examples/file/save/node/saveFile.js +++ /dev/null @@ -1,16 +0,0 @@ -const { FileService } = require("micro-js-client/file"); - -// Save a file -async function saveFile() { - let fileService = new FileService(process.env.MICRO_API_TOKEN); - let rsp = await fileService.save({ - file: { - content: "file content example", - path: "/document/text-files/file.txt", - project: "examples", - }, - }); - console.log(rsp); -} - -saveFile(); diff --git a/examples/forex/history/curl/getPreviousClose.sh b/examples/forex/history/curl/getPreviousClose.sh deleted file mode 100755 index 4c42b25..0000000 --- a/examples/forex/history/curl/getPreviousClose.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/forex/History" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "symbol": "GBPUSD" -}' \ No newline at end of file diff --git a/examples/forex/history/go/getPreviousClose.go b/examples/forex/history/go/getPreviousClose.go deleted file mode 100755 index b2bb27d..0000000 --- a/examples/forex/history/go/getPreviousClose.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/forex" -) - -// Returns the data for the previous close -func GetPreviousClose() { - forexService := forex.NewForexService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := forexService.History(&forex.HistoryRequest{ - Symbol: "GBPUSD", - }) - fmt.Println(rsp, err) -} diff --git a/examples/forex/history/node/getPreviousClose.js b/examples/forex/history/node/getPreviousClose.js deleted file mode 100755 index 38e7cd2..0000000 --- a/examples/forex/history/node/getPreviousClose.js +++ /dev/null @@ -1,12 +0,0 @@ -const { ForexService } = require("micro-js-client/forex"); - -// Returns the data for the previous close -async function getPreviousClose() { - let forexService = new ForexService(process.env.MICRO_API_TOKEN); - let rsp = await forexService.history({ - symbol: "GBPUSD", - }); - console.log(rsp); -} - -getPreviousClose(); diff --git a/examples/forex/price/curl/getAnFxPrice.sh b/examples/forex/price/curl/getAnFxPrice.sh deleted file mode 100755 index 96a4851..0000000 --- a/examples/forex/price/curl/getAnFxPrice.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/forex/Price" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "symbol": "GBPUSD" -}' \ No newline at end of file diff --git a/examples/forex/price/go/getAnFxPrice.go b/examples/forex/price/go/getAnFxPrice.go deleted file mode 100755 index 465b5be..0000000 --- a/examples/forex/price/go/getAnFxPrice.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/forex" -) - -// Get the latest price for a given forex ticker -func GetAnFxPrice() { - forexService := forex.NewForexService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := forexService.Price(&forex.PriceRequest{ - Symbol: "GBPUSD", - }) - fmt.Println(rsp, err) -} diff --git a/examples/forex/price/node/getAnFxPrice.js b/examples/forex/price/node/getAnFxPrice.js deleted file mode 100755 index b373163..0000000 --- a/examples/forex/price/node/getAnFxPrice.js +++ /dev/null @@ -1,12 +0,0 @@ -const { ForexService } = require("micro-js-client/forex"); - -// Get the latest price for a given forex ticker -async function getAnFxPrice() { - let forexService = new ForexService(process.env.MICRO_API_TOKEN); - let rsp = await forexService.price({ - symbol: "GBPUSD", - }); - console.log(rsp); -} - -getAnFxPrice(); diff --git a/examples/forex/quote/curl/getAFxQuote.sh b/examples/forex/quote/curl/getAFxQuote.sh deleted file mode 100755 index 181be9b..0000000 --- a/examples/forex/quote/curl/getAFxQuote.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/forex/Quote" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "symbol": "GBPUSD" -}' \ No newline at end of file diff --git a/examples/forex/quote/go/getAFxQuote.go b/examples/forex/quote/go/getAFxQuote.go deleted file mode 100755 index cb14dc1..0000000 --- a/examples/forex/quote/go/getAFxQuote.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/forex" -) - -// Get the latest quote for the forex -func GetAfxQuote() { - forexService := forex.NewForexService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := forexService.Quote(&forex.QuoteRequest{ - Symbol: "GBPUSD", - }) - fmt.Println(rsp, err) -} diff --git a/examples/forex/quote/node/getAFxQuote.js b/examples/forex/quote/node/getAFxQuote.js deleted file mode 100755 index 55e7111..0000000 --- a/examples/forex/quote/node/getAFxQuote.js +++ /dev/null @@ -1,12 +0,0 @@ -const { ForexService } = require("micro-js-client/forex"); - -// Get the latest quote for the forex -async function getAfxQuote() { - let forexService = new ForexService(process.env.MICRO_API_TOKEN); - let rsp = await forexService.quote({ - symbol: "GBPUSD", - }); - console.log(rsp); -} - -getAfxQuote(); diff --git a/examples/function/call/curl/callAFunction.sh b/examples/function/call/curl/callAFunction.sh deleted file mode 100755 index 49ca63f..0000000 --- a/examples/function/call/curl/callAFunction.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/function/Call" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "name": "my-first-func", - "request": {} -}' \ No newline at end of file diff --git a/examples/function/call/go/callAFunction.go b/examples/function/call/go/callAFunction.go deleted file mode 100755 index 9ffc1ce..0000000 --- a/examples/function/call/go/callAFunction.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/function" -) - -// Call a function by name -func CallAfunction() { - functionService := function.NewFunctionService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := functionService.Call(&function.CallRequest{ - Name: "my-first-func", - Request: map[string]interface{}{}, - }) - fmt.Println(rsp, err) -} diff --git a/examples/function/call/node/callAFunction.js b/examples/function/call/node/callAFunction.js deleted file mode 100755 index df086f6..0000000 --- a/examples/function/call/node/callAFunction.js +++ /dev/null @@ -1,13 +0,0 @@ -const { FunctionService } = require("micro-js-client/function"); - -// Call a function by name -async function callAfunction() { - let functionService = new FunctionService(process.env.MICRO_API_TOKEN); - let rsp = await functionService.call({ - name: "my-first-func", - request: {}, - }); - console.log(rsp); -} - -callAfunction(); diff --git a/examples/function/delete/curl/deleteAFunction.sh b/examples/function/delete/curl/deleteAFunction.sh deleted file mode 100755 index b0d9e44..0000000 --- a/examples/function/delete/curl/deleteAFunction.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/function/Delete" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "name": "my-first-func", - "project": "tests" -}' \ No newline at end of file diff --git a/examples/function/delete/go/deleteAFunction.go b/examples/function/delete/go/deleteAFunction.go deleted file mode 100755 index a206aa1..0000000 --- a/examples/function/delete/go/deleteAFunction.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/function" -) - -// Delete a function by name -func DeleteAfunction() { - functionService := function.NewFunctionService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := functionService.Delete(&function.DeleteRequest{ - Name: "my-first-func", - Project: "tests", - }) - fmt.Println(rsp, err) -} diff --git a/examples/function/delete/node/deleteAFunction.js b/examples/function/delete/node/deleteAFunction.js deleted file mode 100755 index 2a66cbe..0000000 --- a/examples/function/delete/node/deleteAFunction.js +++ /dev/null @@ -1,13 +0,0 @@ -const { FunctionService } = require("micro-js-client/function"); - -// Delete a function by name -async function deleteAfunction() { - let functionService = new FunctionService(process.env.MICRO_API_TOKEN); - let rsp = await functionService.delete({ - name: "my-first-func", - project: "tests", - }); - console.log(rsp); -} - -deleteAfunction(); diff --git a/examples/function/deploy/curl/deployAFunction.sh b/examples/function/deploy/curl/deployAFunction.sh deleted file mode 100755 index a32fefc..0000000 --- a/examples/function/deploy/curl/deployAFunction.sh +++ /dev/null @@ -1,10 +0,0 @@ -curl "http://localhost:8080/function/Deploy" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "entrypoint": "helloworld", - "name": "my-first-func", - "project": "tests", - "repo": "github.com/m3o/nodejs-function-example", - "runtime": "nodejs14" -}' \ No newline at end of file diff --git a/examples/function/deploy/go/deployAFunction.go b/examples/function/deploy/go/deployAFunction.go deleted file mode 100755 index 4c10440..0000000 --- a/examples/function/deploy/go/deployAFunction.go +++ /dev/null @@ -1,21 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/function" -) - -// Deploy a group of functions -func DeployAfunction() { - functionService := function.NewFunctionService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := functionService.Deploy(&function.DeployRequest{ - Entrypoint: "helloworld", - Name: "my-first-func", - Project: "tests", - Repo: "github.com/m3o/nodejs-function-example", - Runtime: "nodejs14", - }) - fmt.Println(rsp, err) -} diff --git a/examples/function/deploy/node/deployAFunction.js b/examples/function/deploy/node/deployAFunction.js deleted file mode 100755 index a47bf39..0000000 --- a/examples/function/deploy/node/deployAFunction.js +++ /dev/null @@ -1,16 +0,0 @@ -const { FunctionService } = require("micro-js-client/function"); - -// Deploy a group of functions -async function deployAfunction() { - let functionService = new FunctionService(process.env.MICRO_API_TOKEN); - let rsp = await functionService.deploy({ - entrypoint: "helloworld", - name: "my-first-func", - project: "tests", - repo: "github.com/m3o/nodejs-function-example", - runtime: "nodejs14", - }); - console.log(rsp); -} - -deployAfunction(); diff --git a/examples/function/describe/curl/describeFunctionStatus.sh b/examples/function/describe/curl/describeFunctionStatus.sh deleted file mode 100755 index ec7b0d1..0000000 --- a/examples/function/describe/curl/describeFunctionStatus.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/function/Describe" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "name": "my-first-func", - "project": "tests" -}' \ No newline at end of file diff --git a/examples/function/describe/go/describeFunctionStatus.go b/examples/function/describe/go/describeFunctionStatus.go deleted file mode 100755 index 2495ab6..0000000 --- a/examples/function/describe/go/describeFunctionStatus.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/function" -) - -// Get the info for a deployed function -func DescribeFunctionStatus() { - functionService := function.NewFunctionService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := functionService.Describe(&function.DescribeRequest{ - Name: "my-first-func", - Project: "tests", - }) - fmt.Println(rsp, err) -} diff --git a/examples/function/describe/node/describeFunctionStatus.js b/examples/function/describe/node/describeFunctionStatus.js deleted file mode 100755 index b4ebbfb..0000000 --- a/examples/function/describe/node/describeFunctionStatus.js +++ /dev/null @@ -1,13 +0,0 @@ -const { FunctionService } = require("micro-js-client/function"); - -// Get the info for a deployed function -async function describeFunctionStatus() { - let functionService = new FunctionService(process.env.MICRO_API_TOKEN); - let rsp = await functionService.describe({ - name: "my-first-func", - project: "tests", - }); - console.log(rsp); -} - -describeFunctionStatus(); diff --git a/examples/function/list/curl/listFunctions.sh b/examples/function/list/curl/listFunctions.sh deleted file mode 100755 index a25bb62..0000000 --- a/examples/function/list/curl/listFunctions.sh +++ /dev/null @@ -1,4 +0,0 @@ -curl "http://localhost:8080/function/List" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{}' \ No newline at end of file diff --git a/examples/function/list/go/listFunctions.go b/examples/function/list/go/listFunctions.go deleted file mode 100755 index 02a67df..0000000 --- a/examples/function/list/go/listFunctions.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/function" -) - -// List all the deployed functions -func ListFunctions() { - functionService := function.NewFunctionService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := functionService.List(&function.ListRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/function/list/node/listFunctions.js b/examples/function/list/node/listFunctions.js deleted file mode 100755 index 760ac97..0000000 --- a/examples/function/list/node/listFunctions.js +++ /dev/null @@ -1,10 +0,0 @@ -const { FunctionService } = require("micro-js-client/function"); - -// List all the deployed functions -async function listFunctions() { - let functionService = new FunctionService(process.env.MICRO_API_TOKEN); - let rsp = await functionService.list({}); - console.log(rsp); -} - -listFunctions(); diff --git a/examples/geocoding/lookup/curl/geocodeAnAddress.sh b/examples/geocoding/lookup/curl/geocodeAnAddress.sh deleted file mode 100755 index 3f29690..0000000 --- a/examples/geocoding/lookup/curl/geocodeAnAddress.sh +++ /dev/null @@ -1,9 +0,0 @@ -curl "http://localhost:8080/geocoding/Lookup" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "address": "10 russell st", - "city": "london", - "country": "uk", - "postcode": "wc2b" -}' \ No newline at end of file diff --git a/examples/geocoding/lookup/go/geocodeAnAddress.go b/examples/geocoding/lookup/go/geocodeAnAddress.go deleted file mode 100755 index c38da13..0000000 --- a/examples/geocoding/lookup/go/geocodeAnAddress.go +++ /dev/null @@ -1,20 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/geocoding" -) - -// Lookup returns a geocoded address including normalized address and gps coordinates. All fields are optional, provide more to get more accurate results -func GeocodeAnAddress() { - geocodingService := geocoding.NewGeocodingService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := geocodingService.Lookup(&geocoding.LookupRequest{ - Address: "10 russell st", - City: "london", - Country: "uk", - Postcode: "wc2b", - }) - fmt.Println(rsp, err) -} diff --git a/examples/geocoding/lookup/node/geocodeAnAddress.js b/examples/geocoding/lookup/node/geocodeAnAddress.js deleted file mode 100755 index 34655a6..0000000 --- a/examples/geocoding/lookup/node/geocodeAnAddress.js +++ /dev/null @@ -1,15 +0,0 @@ -const { GeocodingService } = require("micro-js-client/geocoding"); - -// Lookup returns a geocoded address including normalized address and gps coordinates. All fields are optional, provide more to get more accurate results -async function geocodeAnAddress() { - let geocodingService = new GeocodingService(process.env.MICRO_API_TOKEN); - let rsp = await geocodingService.lookup({ - address: "10 russell st", - city: "london", - country: "uk", - postcode: "wc2b", - }); - console.log(rsp); -} - -geocodeAnAddress(); diff --git a/examples/geocoding/reverse/curl/reverseGeocodeLocation.sh b/examples/geocoding/reverse/curl/reverseGeocodeLocation.sh deleted file mode 100755 index 85df420..0000000 --- a/examples/geocoding/reverse/curl/reverseGeocodeLocation.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/geocoding/Reverse" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "latitude": 51.5123064, - "longitude": -0.1216235 -}' \ No newline at end of file diff --git a/examples/geocoding/reverse/go/reverseGeocodeLocation.go b/examples/geocoding/reverse/go/reverseGeocodeLocation.go deleted file mode 100755 index 35e9247..0000000 --- a/examples/geocoding/reverse/go/reverseGeocodeLocation.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/geocoding" -) - -// Reverse lookup an address from gps coordinates -func ReverseGeocodeLocation() { - geocodingService := geocoding.NewGeocodingService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := geocodingService.Reverse(&geocoding.ReverseRequest{ - Latitude: 51.5123064, - Longitude: -0.1216235, - }) - fmt.Println(rsp, err) -} diff --git a/examples/geocoding/reverse/node/reverseGeocodeLocation.js b/examples/geocoding/reverse/node/reverseGeocodeLocation.js deleted file mode 100755 index df2a083..0000000 --- a/examples/geocoding/reverse/node/reverseGeocodeLocation.js +++ /dev/null @@ -1,13 +0,0 @@ -const { GeocodingService } = require("micro-js-client/geocoding"); - -// Reverse lookup an address from gps coordinates -async function reverseGeocodeLocation() { - let geocodingService = new GeocodingService(process.env.MICRO_API_TOKEN); - let rsp = await geocodingService.reverse({ - latitude: 51.5123064, - longitude: -0.1216235, - }); - console.log(rsp); -} - -reverseGeocodeLocation(); diff --git a/examples/gifs/search/curl/search.sh b/examples/gifs/search/curl/search.sh deleted file mode 100755 index 7a38a46..0000000 --- a/examples/gifs/search/curl/search.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/gifs/Search" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "limit": 2, - "query": "dogs" -}' \ No newline at end of file diff --git a/examples/gifs/search/go/search.go b/examples/gifs/search/go/search.go deleted file mode 100755 index 0c80cfb..0000000 --- a/examples/gifs/search/go/search.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/gifs" -) - -// Search for a GIF -func Search() { - gifsService := gifs.NewGifsService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := gifsService.Search(&gifs.SearchRequest{ - Limit: 2, - Query: "dogs", - }) - fmt.Println(rsp, err) -} diff --git a/examples/gifs/search/node/search.js b/examples/gifs/search/node/search.js deleted file mode 100755 index c522614..0000000 --- a/examples/gifs/search/node/search.js +++ /dev/null @@ -1,13 +0,0 @@ -const { GifsService } = require("micro-js-client/gifs"); - -// Search for a GIF -async function search() { - let gifsService = new GifsService(process.env.MICRO_API_TOKEN); - let rsp = await gifsService.search({ - limit: 2, - query: "dogs", - }); - console.log(rsp); -} - -search(); diff --git a/examples/google/search/curl/searchForVideos.sh b/examples/google/search/curl/searchForVideos.sh deleted file mode 100755 index 303efb1..0000000 --- a/examples/google/search/curl/searchForVideos.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/google/Search" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "query": "how to make donuts" -}' \ No newline at end of file diff --git a/examples/google/search/go/searchForVideos.go b/examples/google/search/go/searchForVideos.go deleted file mode 100755 index aef228a..0000000 --- a/examples/google/search/go/searchForVideos.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/google" -) - -// Search for videos on Google -func SearchForVideos() { - googleService := google.NewGoogleService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := googleService.Search(&google.SearchRequest{ - Query: "how to make donuts", - }) - fmt.Println(rsp, err) -} diff --git a/examples/google/search/node/searchForVideos.js b/examples/google/search/node/searchForVideos.js deleted file mode 100755 index 9d7eb74..0000000 --- a/examples/google/search/node/searchForVideos.js +++ /dev/null @@ -1,12 +0,0 @@ -const { GoogleService } = require("micro-js-client/google"); - -// Search for videos on Google -async function searchForVideos() { - let googleService = new GoogleService(process.env.MICRO_API_TOKEN); - let rsp = await googleService.search({ - query: "how to make donuts", - }); - console.log(rsp); -} - -searchForVideos(); diff --git a/examples/helloworld/call/curl/callTheHelloworldService.sh b/examples/helloworld/call/curl/callTheHelloworldService.sh deleted file mode 100755 index 02c1422..0000000 --- a/examples/helloworld/call/curl/callTheHelloworldService.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/helloworld/Call" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "name": "John" -}' \ No newline at end of file diff --git a/examples/helloworld/call/go/callTheHelloworldService.go b/examples/helloworld/call/go/callTheHelloworldService.go deleted file mode 100755 index 8c1bb22..0000000 --- a/examples/helloworld/call/go/callTheHelloworldService.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/helloworld" -) - -// Call returns a personalised "Hello $name" response -func CallTheHelloworldService() { - helloworldService := helloworld.NewHelloworldService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := helloworldService.Call(&helloworld.CallRequest{ - Name: "John", - }) - fmt.Println(rsp, err) -} diff --git a/examples/helloworld/call/node/callTheHelloworldService.js b/examples/helloworld/call/node/callTheHelloworldService.js deleted file mode 100755 index cf9af69..0000000 --- a/examples/helloworld/call/node/callTheHelloworldService.js +++ /dev/null @@ -1,12 +0,0 @@ -const { HelloworldService } = require("micro-js-client/helloworld"); - -// Call returns a personalised "Hello $name" response -async function callTheHelloworldService() { - let helloworldService = new HelloworldService(process.env.MICRO_API_TOKEN); - let rsp = await helloworldService.call({ - name: "John", - }); - console.log(rsp); -} - -callTheHelloworldService(); diff --git a/examples/helloworld/stream/curl/streamsAreCurrentlyTemporarilyNotSupportedInClients.sh b/examples/helloworld/stream/curl/streamsAreCurrentlyTemporarilyNotSupportedInClients.sh deleted file mode 100755 index ffa10ed..0000000 --- a/examples/helloworld/stream/curl/streamsAreCurrentlyTemporarilyNotSupportedInClients.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "https://api.m3o.com/v1/helloworld/Stream" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "name": "not supported" -}' \ No newline at end of file diff --git a/examples/helloworld/stream/curl/streamsResponsesFromTheServerUsingWebsockets.sh b/examples/helloworld/stream/curl/streamsResponsesFromTheServerUsingWebsockets.sh deleted file mode 100755 index 05d431c..0000000 --- a/examples/helloworld/stream/curl/streamsResponsesFromTheServerUsingWebsockets.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/helloworld/Stream" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "messages": 10, - "name": "John" -}' \ No newline at end of file diff --git a/examples/helloworld/stream/go/streamsAreCurrentlyTemporarilyNotSupportedInClients.go b/examples/helloworld/stream/go/streamsAreCurrentlyTemporarilyNotSupportedInClients.go deleted file mode 100755 index 93feea9..0000000 --- a/examples/helloworld/stream/go/streamsAreCurrentlyTemporarilyNotSupportedInClients.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/helloworld" -) - -// Stream returns a stream of "Hello $name" responses -func StreamsAreCurrentlyTemporarilyNotSupportedInClients() { - helloworldService := helloworld.NewHelloworldService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := helloworldService.Stream(&helloworld.StreamRequest{ - Name: "not supported", - }) - fmt.Println(rsp, err) -} diff --git a/examples/helloworld/stream/go/streamsResponsesFromTheServerUsingWebsockets.go b/examples/helloworld/stream/go/streamsResponsesFromTheServerUsingWebsockets.go deleted file mode 100755 index 9e2dbc5..0000000 --- a/examples/helloworld/stream/go/streamsResponsesFromTheServerUsingWebsockets.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/helloworld" -) - -// Stream returns a stream of "Hello $name" responses -func StreamsResponsesFromTheServerUsingWebsockets() { - helloworldService := helloworld.NewHelloworldService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := helloworldService.Stream(&helloworld.StreamRequest{ - Messages: 10, - Name: "John", - }) - fmt.Println(rsp, err) -} diff --git a/examples/helloworld/stream/node/streamsAreCurrentlyTemporarilyNotSupportedInClients.js b/examples/helloworld/stream/node/streamsAreCurrentlyTemporarilyNotSupportedInClients.js deleted file mode 100755 index e16be15..0000000 --- a/examples/helloworld/stream/node/streamsAreCurrentlyTemporarilyNotSupportedInClients.js +++ /dev/null @@ -1,12 +0,0 @@ -const { HelloworldService } = require("m3o/helloworld"); - -// Stream returns a stream of "Hello $name" responses -async function streamsAreCurrentlyTemporarilyNotSupportedInClients() { - let helloworldService = new HelloworldService(process.env.MICRO_API_TOKEN); - let rsp = await helloworldService.stream({ - name: "not supported", - }); - console.log(rsp); -} - -streamsAreCurrentlyTemporarilyNotSupportedInClients(); diff --git a/examples/helloworld/stream/node/streamsResponsesFromTheServerUsingWebsockets.js b/examples/helloworld/stream/node/streamsResponsesFromTheServerUsingWebsockets.js deleted file mode 100755 index dccf12f..0000000 --- a/examples/helloworld/stream/node/streamsResponsesFromTheServerUsingWebsockets.js +++ /dev/null @@ -1,13 +0,0 @@ -const { HelloworldService } = require("micro-js-client/helloworld"); - -// Stream returns a stream of "Hello $name" responses -async function streamsResponsesFromTheServerUsingWebsockets() { - let helloworldService = new HelloworldService(process.env.MICRO_API_TOKEN); - let rsp = await helloworldService.stream({ - messages: 10, - name: "John", - }); - console.log(rsp); -} - -streamsResponsesFromTheServerUsingWebsockets(); diff --git a/examples/holidays/countries/curl/listCountries.sh b/examples/holidays/countries/curl/listCountries.sh deleted file mode 100755 index c82e1dc..0000000 --- a/examples/holidays/countries/curl/listCountries.sh +++ /dev/null @@ -1,4 +0,0 @@ -curl "http://localhost:8080/holidays/Countries" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{}' \ No newline at end of file diff --git a/examples/holidays/countries/go/listCountries.go b/examples/holidays/countries/go/listCountries.go deleted file mode 100755 index d2e1f98..0000000 --- a/examples/holidays/countries/go/listCountries.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/holidays" -) - -// Get the list of countries that are supported by this API -func ListCountries() { - holidaysService := holidays.NewHolidaysService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := holidaysService.Countries(&holidays.CountriesRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/holidays/countries/node/listCountries.js b/examples/holidays/countries/node/listCountries.js deleted file mode 100755 index 4152204..0000000 --- a/examples/holidays/countries/node/listCountries.js +++ /dev/null @@ -1,10 +0,0 @@ -const { HolidaysService } = require("micro-js-client/holidays"); - -// Get the list of countries that are supported by this API -async function listCountries() { - let holidaysService = new HolidaysService(process.env.MICRO_API_TOKEN); - let rsp = await holidaysService.countries({}); - console.log(rsp); -} - -listCountries(); diff --git a/examples/holidays/list/curl/getHolidays.sh b/examples/holidays/list/curl/getHolidays.sh deleted file mode 100755 index b759405..0000000 --- a/examples/holidays/list/curl/getHolidays.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/holidays/List" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "country_code": "GB", - "year": 2022 -}' \ No newline at end of file diff --git a/examples/holidays/list/go/getHolidays.go b/examples/holidays/list/go/getHolidays.go deleted file mode 100755 index 53e8888..0000000 --- a/examples/holidays/list/go/getHolidays.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/holidays" -) - -// List the holiday dates for a given country and year -func GetHolidays() { - holidaysService := holidays.NewHolidaysService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := holidaysService.List(&holidays.ListRequest{ - Year: 2022, - }) - fmt.Println(rsp, err) -} diff --git a/examples/holidays/list/node/getHolidays.js b/examples/holidays/list/node/getHolidays.js deleted file mode 100755 index e8f46cd..0000000 --- a/examples/holidays/list/node/getHolidays.js +++ /dev/null @@ -1,13 +0,0 @@ -const { HolidaysService } = require("micro-js-client/holidays"); - -// List the holiday dates for a given country and year -async function getHolidays() { - let holidaysService = new HolidaysService(process.env.MICRO_API_TOKEN); - let rsp = await holidaysService.list({ - country_code: "GB", - year: 2022, - }); - console.log(rsp); -} - -getHolidays(); diff --git a/examples/id/generate/curl/generateABigflakeId.sh b/examples/id/generate/curl/generateABigflakeId.sh deleted file mode 100755 index 3001aef..0000000 --- a/examples/id/generate/curl/generateABigflakeId.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/id/Generate" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "type": "bigflake" -}' \ No newline at end of file diff --git a/examples/id/generate/curl/generateAShortId.sh b/examples/id/generate/curl/generateAShortId.sh deleted file mode 100755 index 773927c..0000000 --- a/examples/id/generate/curl/generateAShortId.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/id/Generate" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "type": "shortid" -}' \ No newline at end of file diff --git a/examples/id/generate/curl/generateASnowflakeId.sh b/examples/id/generate/curl/generateASnowflakeId.sh deleted file mode 100755 index 4c5af5b..0000000 --- a/examples/id/generate/curl/generateASnowflakeId.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/id/Generate" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "type": "snowflake" -}' \ No newline at end of file diff --git a/examples/id/generate/curl/generateAUniqueId.sh b/examples/id/generate/curl/generateAUniqueId.sh deleted file mode 100755 index 13eac5c..0000000 --- a/examples/id/generate/curl/generateAUniqueId.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/id/Generate" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "type": "uuid" -}' \ No newline at end of file diff --git a/examples/id/generate/go/generateABigflakeId.go b/examples/id/generate/go/generateABigflakeId.go deleted file mode 100755 index fe1818b..0000000 --- a/examples/id/generate/go/generateABigflakeId.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/id" -) - -// Generate a unique ID. Defaults to uuid. -func GenerateAbigflakeId() { - idService := id.NewIdService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := idService.Generate(&id.GenerateRequest{ - Type: "bigflake", - }) - fmt.Println(rsp, err) -} diff --git a/examples/id/generate/go/generateAShortId.go b/examples/id/generate/go/generateAShortId.go deleted file mode 100755 index 1e77e4d..0000000 --- a/examples/id/generate/go/generateAShortId.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/id" -) - -// Generate a unique ID. Defaults to uuid. -func GenerateAshortId() { - idService := id.NewIdService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := idService.Generate(&id.GenerateRequest{ - Type: "shortid", - }) - fmt.Println(rsp, err) -} diff --git a/examples/id/generate/go/generateASnowflakeId.go b/examples/id/generate/go/generateASnowflakeId.go deleted file mode 100755 index bcc89ca..0000000 --- a/examples/id/generate/go/generateASnowflakeId.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/id" -) - -// Generate a unique ID. Defaults to uuid. -func GenerateAsnowflakeId() { - idService := id.NewIdService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := idService.Generate(&id.GenerateRequest{ - Type: "snowflake", - }) - fmt.Println(rsp, err) -} diff --git a/examples/id/generate/go/generateAUniqueId.go b/examples/id/generate/go/generateAUniqueId.go deleted file mode 100755 index c61e1e7..0000000 --- a/examples/id/generate/go/generateAUniqueId.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/id" -) - -// Generate a unique ID. Defaults to uuid. -func GenerateAuniqueId() { - idService := id.NewIdService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := idService.Generate(&id.GenerateRequest{ - Type: "uuid", - }) - fmt.Println(rsp, err) -} diff --git a/examples/id/generate/node/generateABigflakeId.js b/examples/id/generate/node/generateABigflakeId.js deleted file mode 100755 index af60297..0000000 --- a/examples/id/generate/node/generateABigflakeId.js +++ /dev/null @@ -1,12 +0,0 @@ -const { IdService } = require("micro-js-client/id"); - -// Generate a unique ID. Defaults to uuid. -async function generateAbigflakeId() { - let idService = new IdService(process.env.MICRO_API_TOKEN); - let rsp = await idService.generate({ - type: "bigflake", - }); - console.log(rsp); -} - -generateAbigflakeId(); diff --git a/examples/id/generate/node/generateAShortId.js b/examples/id/generate/node/generateAShortId.js deleted file mode 100755 index 0aab9a4..0000000 --- a/examples/id/generate/node/generateAShortId.js +++ /dev/null @@ -1,12 +0,0 @@ -const { IdService } = require("micro-js-client/id"); - -// Generate a unique ID. Defaults to uuid. -async function generateAshortId() { - let idService = new IdService(process.env.MICRO_API_TOKEN); - let rsp = await idService.generate({ - type: "shortid", - }); - console.log(rsp); -} - -generateAshortId(); diff --git a/examples/id/generate/node/generateASnowflakeId.js b/examples/id/generate/node/generateASnowflakeId.js deleted file mode 100755 index fdd1d9b..0000000 --- a/examples/id/generate/node/generateASnowflakeId.js +++ /dev/null @@ -1,12 +0,0 @@ -const { IdService } = require("micro-js-client/id"); - -// Generate a unique ID. Defaults to uuid. -async function generateAsnowflakeId() { - let idService = new IdService(process.env.MICRO_API_TOKEN); - let rsp = await idService.generate({ - type: "snowflake", - }); - console.log(rsp); -} - -generateAsnowflakeId(); diff --git a/examples/id/generate/node/generateAUniqueId.js b/examples/id/generate/node/generateAUniqueId.js deleted file mode 100755 index 8aca1d5..0000000 --- a/examples/id/generate/node/generateAUniqueId.js +++ /dev/null @@ -1,12 +0,0 @@ -const { IdService } = require("micro-js-client/id"); - -// Generate a unique ID. Defaults to uuid. -async function generateAuniqueId() { - let idService = new IdService(process.env.MICRO_API_TOKEN); - let rsp = await idService.generate({ - type: "uuid", - }); - console.log(rsp); -} - -generateAuniqueId(); diff --git a/examples/id/types/curl/listTheTypesOfIdsAvailable.sh b/examples/id/types/curl/listTheTypesOfIdsAvailable.sh deleted file mode 100755 index 477d905..0000000 --- a/examples/id/types/curl/listTheTypesOfIdsAvailable.sh +++ /dev/null @@ -1,4 +0,0 @@ -curl "http://localhost:8080/id/Types" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{}' \ No newline at end of file diff --git a/examples/id/types/go/listTheTypesOfIdsAvailable.go b/examples/id/types/go/listTheTypesOfIdsAvailable.go deleted file mode 100755 index c0c9ea8..0000000 --- a/examples/id/types/go/listTheTypesOfIdsAvailable.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/id" -) - -// List the types of IDs available. No query params needed. -func ListTheTypesOfIdsAvailable() { - idService := id.NewIdService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := idService.Types(&id.TypesRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/id/types/node/listTheTypesOfIdsAvailable.js b/examples/id/types/node/listTheTypesOfIdsAvailable.js deleted file mode 100755 index 547d34c..0000000 --- a/examples/id/types/node/listTheTypesOfIdsAvailable.js +++ /dev/null @@ -1,10 +0,0 @@ -const { IdService } = require("micro-js-client/id"); - -// List the types of IDs available. No query params needed. -async function listTheTypesOfIdsAvailable() { - let idService = new IdService(process.env.MICRO_API_TOKEN); - let rsp = await idService.types({}); - console.log(rsp); -} - -listTheTypesOfIdsAvailable(); diff --git a/examples/image/convert/curl/convertAPngImageToAJpegTakenFromAUrlAndSavedToAUrlOnMicrosCdn.sh b/examples/image/convert/curl/convertAPngImageToAJpegTakenFromAUrlAndSavedToAUrlOnMicrosCdn.sh deleted file mode 100755 index 95ce55e..0000000 --- a/examples/image/convert/curl/convertAPngImageToAJpegTakenFromAUrlAndSavedToAUrlOnMicrosCdn.sh +++ /dev/null @@ -1,8 +0,0 @@ -curl "http://localhost:8080/image/Convert" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "name": "cat.jpeg", - "outputURL": true, - "url": "somewebsite.com/cat.png" -}' \ No newline at end of file diff --git a/examples/image/convert/go/convertAPngImageToAJpegTakenFromAUrlAndSavedToAUrlOnMicrosCdn.go b/examples/image/convert/go/convertAPngImageToAJpegTakenFromAUrlAndSavedToAUrlOnMicrosCdn.go deleted file mode 100755 index 10f52a9..0000000 --- a/examples/image/convert/go/convertAPngImageToAJpegTakenFromAUrlAndSavedToAUrlOnMicrosCdn.go +++ /dev/null @@ -1,21 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/image" -) - -// Convert an image from one format (jpeg, png etc.) to an other either on the fly (from base64 to base64), -// or by uploading the conversion result. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -func ConvertApngImageToAjpegTakenFromAurlAndSavedToAurlOnMicrosCdn() { - imageService := image.NewImageService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := imageService.Convert(&image.ConvertRequest{ - Name: "cat.jpeg", - Url: "somewebsite.com/cat.png", - }) - fmt.Println(rsp, err) -} diff --git a/examples/image/convert/node/convertAPngImageToAJpegTakenFromAUrlAndSavedToAUrlOnMicrosCdn.js b/examples/image/convert/node/convertAPngImageToAJpegTakenFromAUrlAndSavedToAUrlOnMicrosCdn.js deleted file mode 100755 index 1eba3dd..0000000 --- a/examples/image/convert/node/convertAPngImageToAJpegTakenFromAUrlAndSavedToAUrlOnMicrosCdn.js +++ /dev/null @@ -1,17 +0,0 @@ -const { ImageService } = require("micro-js-client/image"); - -// Convert an image from one format (jpeg, png etc.) to an other either on the fly (from base64 to base64), -// or by uploading the conversion result. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -async function convertApngImageToAjpegTakenFromAurlAndSavedToAurlOnMicrosCdn() { - let imageService = new ImageService(process.env.MICRO_API_TOKEN); - let rsp = await imageService.convert({ - name: "cat.jpeg", - outputURL: true, - url: "somewebsite.com/cat.png", - }); - console.log(rsp); -} - -convertApngImageToAjpegTakenFromAurlAndSavedToAurlOnMicrosCdn(); diff --git a/examples/image/delete/curl/deleteAnUploadedImage.sh b/examples/image/delete/curl/deleteAnUploadedImage.sh deleted file mode 100755 index 8535b90..0000000 --- a/examples/image/delete/curl/deleteAnUploadedImage.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/image/Delete" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "url": "https://cdn.m3ocontent.com/micro/images/micro/41e23b39-48dd-42b6-9738-79a313414bb8/cat.png" -}' \ No newline at end of file diff --git a/examples/image/delete/go/deleteAnUploadedImage.go b/examples/image/delete/go/deleteAnUploadedImage.go deleted file mode 100755 index 2107614..0000000 --- a/examples/image/delete/go/deleteAnUploadedImage.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/image" -) - -// Delete an image previously uploaded. -func DeleteAnUploadedImage() { - imageService := image.NewImageService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := imageService.Delete(&image.DeleteRequest{ - Url: "https://cdn.m3ocontent.com/micro/images/micro/41e23b39-48dd-42b6-9738-79a313414bb8/cat.png", - }) - fmt.Println(rsp, err) -} diff --git a/examples/image/delete/node/deleteAnUploadedImage.js b/examples/image/delete/node/deleteAnUploadedImage.js deleted file mode 100755 index 51dbf67..0000000 --- a/examples/image/delete/node/deleteAnUploadedImage.js +++ /dev/null @@ -1,12 +0,0 @@ -const { ImageService } = require("micro-js-client/image"); - -// Delete an image previously uploaded. -async function deleteAnUploadedImage() { - let imageService = new ImageService(process.env.MICRO_API_TOKEN); - let rsp = await imageService.delete({ - url: "https://cdn.m3ocontent.com/micro/images/micro/41e23b39-48dd-42b6-9738-79a313414bb8/cat.png", - }); - console.log(rsp); -} - -deleteAnUploadedImage(); diff --git a/examples/image/resize/curl/base64ToBase64Image.sh b/examples/image/resize/curl/base64ToBase64Image.sh deleted file mode 100755 index 2e05857..0000000 --- a/examples/image/resize/curl/base64ToBase64Image.sh +++ /dev/null @@ -1,8 +0,0 @@ -curl "http://localhost:8080/image/Resize" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "base64": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==", - "height": 100, - "width": 100 -}' \ No newline at end of file diff --git a/examples/image/resize/curl/base64ToBase64ImageWithCropping.sh b/examples/image/resize/curl/base64ToBase64ImageWithCropping.sh deleted file mode 100755 index abddc3a..0000000 --- a/examples/image/resize/curl/base64ToBase64ImageWithCropping.sh +++ /dev/null @@ -1,12 +0,0 @@ -curl "http://localhost:8080/image/Resize" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "base64": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==", - "cropOptions": { - "height": 50, - "width": 50 - }, - "height": 100, - "width": 100 -}' \ No newline at end of file diff --git a/examples/image/resize/curl/base64ToHostedImage.sh b/examples/image/resize/curl/base64ToHostedImage.sh deleted file mode 100755 index ba1aeed..0000000 --- a/examples/image/resize/curl/base64ToHostedImage.sh +++ /dev/null @@ -1,10 +0,0 @@ -curl "http://localhost:8080/image/Resize" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "base64": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==", - "height": 100, - "name": "cat.png", - "outputURL": true, - "width": 100 -}' \ No newline at end of file diff --git a/examples/image/resize/go/base64ToBase64Image.go b/examples/image/resize/go/base64ToBase64Image.go deleted file mode 100755 index 45c6b16..0000000 --- a/examples/image/resize/go/base64ToBase64Image.go +++ /dev/null @@ -1,23 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/image" -) - -// Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters. -// If one of width or height is 0, the image aspect ratio is preserved. -// Optional cropping. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -func Base64toBase64image() { - imageService := image.NewImageService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := imageService.Resize(&image.ResizeRequest{ - Base64: "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==", - Height: 100, - Width: 100, - }) - fmt.Println(rsp, err) -} diff --git a/examples/image/resize/go/base64ToBase64ImageWithCropping.go b/examples/image/resize/go/base64ToBase64ImageWithCropping.go deleted file mode 100755 index cf30979..0000000 --- a/examples/image/resize/go/base64ToBase64ImageWithCropping.go +++ /dev/null @@ -1,27 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/image" -) - -// Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters. -// If one of width or height is 0, the image aspect ratio is preserved. -// Optional cropping. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -func Base64toBase64imageWithCropping() { - imageService := image.NewImageService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := imageService.Resize(&image.ResizeRequest{ - Base64: "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==", - CropOptions: &image.CropOptions{ - Height: 50, - Width: 50, - }, - Height: 100, - Width: 100, - }) - fmt.Println(rsp, err) -} diff --git a/examples/image/resize/go/base64ToHostedImage.go b/examples/image/resize/go/base64ToHostedImage.go deleted file mode 100755 index 11ac211..0000000 --- a/examples/image/resize/go/base64ToHostedImage.go +++ /dev/null @@ -1,24 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/image" -) - -// Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters. -// If one of width or height is 0, the image aspect ratio is preserved. -// Optional cropping. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -func Base64toHostedImage() { - imageService := image.NewImageService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := imageService.Resize(&image.ResizeRequest{ - Base64: "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==", - Height: 100, - Name: "cat.png", - Width: 100, - }) - fmt.Println(rsp, err) -} diff --git a/examples/image/resize/node/base64ToBase64Image.js b/examples/image/resize/node/base64ToBase64Image.js deleted file mode 100755 index c48fd8e..0000000 --- a/examples/image/resize/node/base64ToBase64Image.js +++ /dev/null @@ -1,19 +0,0 @@ -const { ImageService } = require("micro-js-client/image"); - -// Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters. -// If one of width or height is 0, the image aspect ratio is preserved. -// Optional cropping. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -async function base64toBase64image() { - let imageService = new ImageService(process.env.MICRO_API_TOKEN); - let rsp = await imageService.resize({ - base64: - "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==", - height: 100, - width: 100, - }); - console.log(rsp); -} - -base64toBase64image(); diff --git a/examples/image/resize/node/base64ToBase64ImageWithCropping.js b/examples/image/resize/node/base64ToBase64ImageWithCropping.js deleted file mode 100755 index c92d644..0000000 --- a/examples/image/resize/node/base64ToBase64ImageWithCropping.js +++ /dev/null @@ -1,23 +0,0 @@ -const { ImageService } = require("micro-js-client/image"); - -// Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters. -// If one of width or height is 0, the image aspect ratio is preserved. -// Optional cropping. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -async function base64toBase64imageWithCropping() { - let imageService = new ImageService(process.env.MICRO_API_TOKEN); - let rsp = await imageService.resize({ - base64: - "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==", - cropOptions: { - height: 50, - width: 50, - }, - height: 100, - width: 100, - }); - console.log(rsp); -} - -base64toBase64imageWithCropping(); diff --git a/examples/image/resize/node/base64ToHostedImage.js b/examples/image/resize/node/base64ToHostedImage.js deleted file mode 100755 index 6c39d2b..0000000 --- a/examples/image/resize/node/base64ToHostedImage.js +++ /dev/null @@ -1,21 +0,0 @@ -const { ImageService } = require("micro-js-client/image"); - -// Resize an image on the fly without storing it (by sending and receiving a base64 encoded image), or resize and upload depending on parameters. -// If one of width or height is 0, the image aspect ratio is preserved. -// Optional cropping. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -async function base64toHostedImage() { - let imageService = new ImageService(process.env.MICRO_API_TOKEN); - let rsp = await imageService.resize({ - base64: - "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==", - height: 100, - name: "cat.png", - outputURL: true, - width: 100, - }); - console.log(rsp); -} - -base64toHostedImage(); diff --git a/examples/image/upload/curl/uploadABase64ImageToMicrosCdn.sh b/examples/image/upload/curl/uploadABase64ImageToMicrosCdn.sh deleted file mode 100755 index 1ccd345..0000000 --- a/examples/image/upload/curl/uploadABase64ImageToMicrosCdn.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/image/Upload" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "base64": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAx0lEQVR4nOzaMaoDMQyE4ZHj+x82vVdhwQoTkzKQEcwP5r0ihT7sbjUTeAJ4HCegXQJYfOYefOyjDuBiz3yjwJBoCIl6QZOeUjTC1Ix1IxEJXF9+0KWsf2bD4bn37OO/c/wuQ9QyRC1D1DJELUPUMkQtQ9QyRC1D1DJELUPUMkQtQ9QyRC1D1DJELUPUMkQtQ9Sa/NG94Tf3j4WBdaxudMEkn4IM2rZBA0wBrvo7aOcpj2emXvLeVt0IGm0GVXUj91mvAAAA//+V2CZl+4AKXwAAAABJRU5ErkJggg==", - "name": "cat.jpeg" -}' \ No newline at end of file diff --git a/examples/image/upload/curl/uploadAnImageFromAUrlToMicrosCdn.sh b/examples/image/upload/curl/uploadAnImageFromAUrlToMicrosCdn.sh deleted file mode 100755 index d5d385c..0000000 --- a/examples/image/upload/curl/uploadAnImageFromAUrlToMicrosCdn.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/image/Upload" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "name": "cat.jpeg", - "url": "somewebsite.com/cat.png" -}' \ No newline at end of file diff --git a/examples/image/upload/go/uploadABase64ImageToMicrosCdn.go b/examples/image/upload/go/uploadABase64ImageToMicrosCdn.go deleted file mode 100755 index 421c8cc..0000000 --- a/examples/image/upload/go/uploadABase64ImageToMicrosCdn.go +++ /dev/null @@ -1,21 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/image" -) - -// Upload an image by either sending a base64 encoded image to this endpoint or a URL. -// To resize an image before uploading, see the Resize endpoint. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -func UploadAbase64imageToMicrosCdn() { - imageService := image.NewImageService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := imageService.Upload(&image.UploadRequest{ - Base64: "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAx0lEQVR4nOzaMaoDMQyE4ZHj+x82vVdhwQoTkzKQEcwP5r0ihT7sbjUTeAJ4HCegXQJYfOYefOyjDuBiz3yjwJBoCIl6QZOeUjTC1Ix1IxEJXF9+0KWsf2bD4bn37OO/c/wuQ9QyRC1D1DJELUPUMkQtQ9QyRC1D1DJELUPUMkQtQ9QyRC1D1DJELUPUMkQtQ9Sa/NG94Tf3j4WBdaxudMEkn4IM2rZBA0wBrvo7aOcpj2emXvLeVt0IGm0GVXUj91mvAAAA//+V2CZl+4AKXwAAAABJRU5ErkJggg==", - Name: "cat.jpeg", - }) - fmt.Println(rsp, err) -} diff --git a/examples/image/upload/go/uploadAnImageFromAUrlToMicrosCdn.go b/examples/image/upload/go/uploadAnImageFromAUrlToMicrosCdn.go deleted file mode 100755 index f516861..0000000 --- a/examples/image/upload/go/uploadAnImageFromAUrlToMicrosCdn.go +++ /dev/null @@ -1,21 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/image" -) - -// Upload an image by either sending a base64 encoded image to this endpoint or a URL. -// To resize an image before uploading, see the Resize endpoint. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -func UploadAnImageFromAurlToMicrosCdn() { - imageService := image.NewImageService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := imageService.Upload(&image.UploadRequest{ - Name: "cat.jpeg", - Url: "somewebsite.com/cat.png", - }) - fmt.Println(rsp, err) -} diff --git a/examples/image/upload/node/uploadABase64ImageToMicrosCdn.js b/examples/image/upload/node/uploadABase64ImageToMicrosCdn.js deleted file mode 100755 index db6eccd..0000000 --- a/examples/image/upload/node/uploadABase64ImageToMicrosCdn.js +++ /dev/null @@ -1,17 +0,0 @@ -const { ImageService } = require("micro-js-client/image"); - -// Upload an image by either sending a base64 encoded image to this endpoint or a URL. -// To resize an image before uploading, see the Resize endpoint. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -async function uploadAbase64imageToMicrosCdn() { - let imageService = new ImageService(process.env.MICRO_API_TOKEN); - let rsp = await imageService.upload({ - base64: - "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAx0lEQVR4nOzaMaoDMQyE4ZHj+x82vVdhwQoTkzKQEcwP5r0ihT7sbjUTeAJ4HCegXQJYfOYefOyjDuBiz3yjwJBoCIl6QZOeUjTC1Ix1IxEJXF9+0KWsf2bD4bn37OO/c/wuQ9QyRC1D1DJELUPUMkQtQ9QyRC1D1DJELUPUMkQtQ9QyRC1D1DJELUPUMkQtQ9Sa/NG94Tf3j4WBdaxudMEkn4IM2rZBA0wBrvo7aOcpj2emXvLeVt0IGm0GVXUj91mvAAAA//+V2CZl+4AKXwAAAABJRU5ErkJggg==", - name: "cat.jpeg", - }); - console.log(rsp); -} - -uploadAbase64imageToMicrosCdn(); diff --git a/examples/image/upload/node/uploadAnImageFromAUrlToMicrosCdn.js b/examples/image/upload/node/uploadAnImageFromAUrlToMicrosCdn.js deleted file mode 100755 index a2d2370..0000000 --- a/examples/image/upload/node/uploadAnImageFromAUrlToMicrosCdn.js +++ /dev/null @@ -1,16 +0,0 @@ -const { ImageService } = require("micro-js-client/image"); - -// Upload an image by either sending a base64 encoded image to this endpoint or a URL. -// To resize an image before uploading, see the Resize endpoint. -// To use the file parameter you need to send the request as a multipart/form-data rather than the usual application/json -// with each parameter as a form field. -async function uploadAnImageFromAurlToMicrosCdn() { - let imageService = new ImageService(process.env.MICRO_API_TOKEN); - let rsp = await imageService.upload({ - name: "cat.jpeg", - url: "somewebsite.com/cat.png", - }); - console.log(rsp); -} - -uploadAnImageFromAurlToMicrosCdn(); diff --git a/examples/ip/lookup/curl/lookupIpInfo.sh b/examples/ip/lookup/curl/lookupIpInfo.sh deleted file mode 100755 index 0bc8ae2..0000000 --- a/examples/ip/lookup/curl/lookupIpInfo.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/ip/Lookup" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "ip": "93.148.214.31" -}' \ No newline at end of file diff --git a/examples/ip/lookup/go/lookupIpInfo.go b/examples/ip/lookup/go/lookupIpInfo.go deleted file mode 100755 index 0203092..0000000 --- a/examples/ip/lookup/go/lookupIpInfo.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/ip" -) - -// Lookup the geolocation information for an IP address -func LookupIpInfo() { - ipService := ip.NewIpService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := ipService.Lookup(&ip.LookupRequest{ - Ip: "93.148.214.31", - }) - fmt.Println(rsp, err) -} diff --git a/examples/ip/lookup/node/lookupIpInfo.js b/examples/ip/lookup/node/lookupIpInfo.js deleted file mode 100755 index 3c583c1..0000000 --- a/examples/ip/lookup/node/lookupIpInfo.js +++ /dev/null @@ -1,12 +0,0 @@ -const { IpService } = require("micro-js-client/ip"); - -// Lookup the geolocation information for an IP address -async function lookupIpInfo() { - let ipService = new IpService(process.env.MICRO_API_TOKEN); - let rsp = await ipService.lookup({ - ip: "93.148.214.31", - }); - console.log(rsp); -} - -lookupIpInfo(); diff --git a/examples/location/read/curl/getLocationById.sh b/examples/location/read/curl/getLocationById.sh deleted file mode 100755 index cb4cf9b..0000000 --- a/examples/location/read/curl/getLocationById.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/location/Read" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "id": "1" -}' \ No newline at end of file diff --git a/examples/location/read/go/getLocationById.go b/examples/location/read/go/getLocationById.go deleted file mode 100755 index 0ee37c3..0000000 --- a/examples/location/read/go/getLocationById.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/location" -) - -// Read an entity by its ID -func GetLocationById() { - locationService := location.NewLocationService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := locationService.Read(&location.ReadRequest{ - Id: "1", - }) - fmt.Println(rsp, err) -} diff --git a/examples/location/read/node/getLocationById.js b/examples/location/read/node/getLocationById.js deleted file mode 100755 index dfd69ad..0000000 --- a/examples/location/read/node/getLocationById.js +++ /dev/null @@ -1,12 +0,0 @@ -const { LocationService } = require("micro-js-client/location"); - -// Read an entity by its ID -async function getLocationById() { - let locationService = new LocationService(process.env.MICRO_API_TOKEN); - let rsp = await locationService.read({ - id: "1", - }); - console.log(rsp); -} - -getLocationById(); diff --git a/examples/location/save/curl/saveAnEntity.sh b/examples/location/save/curl/saveAnEntity.sh deleted file mode 100755 index a15302d..0000000 --- a/examples/location/save/curl/saveAnEntity.sh +++ /dev/null @@ -1,14 +0,0 @@ -curl "http://localhost:8080/location/Save" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "entity": { - "id": "1", - "location": { - "latitude": 51.511061, - "longitude": -0.120022, - "timestamp": "1622802761" - }, - "type": "bike" - } -}' \ No newline at end of file diff --git a/examples/location/save/go/saveAnEntity.go b/examples/location/save/go/saveAnEntity.go deleted file mode 100755 index fecdafe..0000000 --- a/examples/location/save/go/saveAnEntity.go +++ /dev/null @@ -1,25 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/location" -) - -// Save an entity's current position -func SaveAnEntity() { - locationService := location.NewLocationService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := locationService.Save(&location.SaveRequest{ - Entity: &location.Entity{ - Id: "1", - Location: &location.Point{ - Latitude: 51.511061, - Longitude: -0.120022, - Timestamp: 1622802761, - }, - Type: "bike", - }, - }) - fmt.Println(rsp, err) -} diff --git a/examples/location/save/node/saveAnEntity.js b/examples/location/save/node/saveAnEntity.js deleted file mode 100755 index fbb97e1..0000000 --- a/examples/location/save/node/saveAnEntity.js +++ /dev/null @@ -1,20 +0,0 @@ -const { LocationService } = require("micro-js-client/location"); - -// Save an entity's current position -async function saveAnEntity() { - let locationService = new LocationService(process.env.MICRO_API_TOKEN); - let rsp = await locationService.save({ - entity: { - id: "1", - location: { - latitude: 51.511061, - longitude: -0.120022, - timestamp: "1622802761", - }, - type: "bike", - }, - }); - console.log(rsp); -} - -saveAnEntity(); diff --git a/examples/location/search/curl/searchForLocations.sh b/examples/location/search/curl/searchForLocations.sh deleted file mode 100755 index 242991a..0000000 --- a/examples/location/search/curl/searchForLocations.sh +++ /dev/null @@ -1,12 +0,0 @@ -curl "http://localhost:8080/location/Search" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "center": { - "latitude": 51.511061, - "longitude": -0.120022 - }, - "numEntities": 10, - "radius": 100, - "type": "bike" -}' \ No newline at end of file diff --git a/examples/location/search/go/searchForLocations.go b/examples/location/search/go/searchForLocations.go deleted file mode 100755 index b953e5a..0000000 --- a/examples/location/search/go/searchForLocations.go +++ /dev/null @@ -1,23 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/location" -) - -// Search for entities in a given radius -func SearchForLocations() { - locationService := location.NewLocationService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := locationService.Search(&location.SearchRequest{ - Center: &location.Point{ - Latitude: 51.511061, - Longitude: -0.120022, - }, - NumEntities: 10, - Radius: 100, - Type: "bike", - }) - fmt.Println(rsp, err) -} diff --git a/examples/location/search/node/searchForLocations.js b/examples/location/search/node/searchForLocations.js deleted file mode 100755 index 1a449ef..0000000 --- a/examples/location/search/node/searchForLocations.js +++ /dev/null @@ -1,18 +0,0 @@ -const { LocationService } = require("micro-js-client/location"); - -// Search for entities in a given radius -async function searchForLocations() { - let locationService = new LocationService(process.env.MICRO_API_TOKEN); - let rsp = await locationService.search({ - center: { - latitude: 51.511061, - longitude: -0.120022, - }, - numEntities: 10, - radius: 100, - type: "bike", - }); - console.log(rsp); -} - -searchForLocations(); diff --git a/examples/mq/publish/curl/publishAMessage.sh b/examples/mq/publish/curl/publishAMessage.sh deleted file mode 100755 index 7b3a384..0000000 --- a/examples/mq/publish/curl/publishAMessage.sh +++ /dev/null @@ -1,11 +0,0 @@ -curl "http://localhost:8080/mq/Publish" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "message": { - "id": "1", - "type": "signup", - "user": "john" - }, - "topic": "events" -}' \ No newline at end of file diff --git a/examples/mq/publish/go/publishAMessage.go b/examples/mq/publish/go/publishAMessage.go deleted file mode 100755 index 159c090..0000000 --- a/examples/mq/publish/go/publishAMessage.go +++ /dev/null @@ -1,22 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/mq" -) - -// Publish a message. Specify a topic to group messages for a specific topic. -func PublishAmessage() { - mqService := mq.NewMqService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := mqService.Publish(&mq.PublishRequest{ - Message: map[string]interface{}{ - "id": "1", - "type": "signup", - "user": "john", - }, - Topic: "events", - }) - fmt.Println(rsp, err) -} diff --git a/examples/mq/publish/node/publishAMessage.js b/examples/mq/publish/node/publishAMessage.js deleted file mode 100755 index 7095828..0000000 --- a/examples/mq/publish/node/publishAMessage.js +++ /dev/null @@ -1,17 +0,0 @@ -const { MqService } = require("micro-js-client/mq"); - -// Publish a message. Specify a topic to group messages for a specific topic. -async function publishAmessage() { - let mqService = new MqService(process.env.MICRO_API_TOKEN); - let rsp = await mqService.publish({ - message: { - id: "1", - type: "signup", - user: "john", - }, - topic: "events", - }); - console.log(rsp); -} - -publishAmessage(); diff --git a/examples/mq/subscribe/curl/subscribeToATopic.sh b/examples/mq/subscribe/curl/subscribeToATopic.sh deleted file mode 100755 index f34edcb..0000000 --- a/examples/mq/subscribe/curl/subscribeToATopic.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/mq/Subscribe" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "topic": "events" -}' \ No newline at end of file diff --git a/examples/mq/subscribe/go/subscribeToATopic.go b/examples/mq/subscribe/go/subscribeToATopic.go deleted file mode 100755 index a86ee11..0000000 --- a/examples/mq/subscribe/go/subscribeToATopic.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/mq" -) - -// Subscribe to messages for a given topic. -func SubscribeToAtopic() { - mqService := mq.NewMqService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := mqService.Subscribe(&mq.SubscribeRequest{ - Topic: "events", - }) - fmt.Println(rsp, err) -} diff --git a/examples/mq/subscribe/node/subscribeToATopic.js b/examples/mq/subscribe/node/subscribeToATopic.js deleted file mode 100755 index 6ace8e9..0000000 --- a/examples/mq/subscribe/node/subscribeToATopic.js +++ /dev/null @@ -1,12 +0,0 @@ -const { MqService } = require("micro-js-client/mq"); - -// Subscribe to messages for a given topic. -async function subscribeToAtopic() { - let mqService = new MqService(process.env.MICRO_API_TOKEN); - let rsp = await mqService.subscribe({ - topic: "events", - }); - console.log(rsp); -} - -subscribeToAtopic(); diff --git a/examples/notes/create/curl/createANote.sh b/examples/notes/create/curl/createANote.sh deleted file mode 100755 index b3457d8..0000000 --- a/examples/notes/create/curl/createANote.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/notes/Create" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "text": "This is my note", - "title": "New Note" -}' \ No newline at end of file diff --git a/examples/notes/create/go/createANote.go b/examples/notes/create/go/createANote.go deleted file mode 100755 index e988dfc..0000000 --- a/examples/notes/create/go/createANote.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/notes" -) - -// Create a new note -func CreateAnote() { - notesService := notes.NewNotesService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := notesService.Create(¬es.CreateRequest{ - Text: "This is my note", - Title: "New Note", - }) - fmt.Println(rsp, err) -} diff --git a/examples/notes/create/node/createANote.js b/examples/notes/create/node/createANote.js deleted file mode 100755 index 46b5513..0000000 --- a/examples/notes/create/node/createANote.js +++ /dev/null @@ -1,13 +0,0 @@ -const { NotesService } = require("micro-js-client/notes"); - -// Create a new note -async function createAnote() { - let notesService = new NotesService(process.env.MICRO_API_TOKEN); - let rsp = await notesService.create({ - text: "This is my note", - title: "New Note", - }); - console.log(rsp); -} - -createAnote(); diff --git a/examples/notes/delete/curl/deleteANote.sh b/examples/notes/delete/curl/deleteANote.sh deleted file mode 100755 index 781a272..0000000 --- a/examples/notes/delete/curl/deleteANote.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/notes/Delete" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "id": "63c0cdf8-2121-11ec-a881-0242e36f037a" -}' \ No newline at end of file diff --git a/examples/notes/delete/go/deleteANote.go b/examples/notes/delete/go/deleteANote.go deleted file mode 100755 index 6ee26fc..0000000 --- a/examples/notes/delete/go/deleteANote.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/notes" -) - -// Delete a note -func DeleteAnote() { - notesService := notes.NewNotesService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := notesService.Delete(¬es.DeleteRequest{ - Id: "63c0cdf8-2121-11ec-a881-0242e36f037a", - }) - fmt.Println(rsp, err) -} diff --git a/examples/notes/delete/node/deleteANote.js b/examples/notes/delete/node/deleteANote.js deleted file mode 100755 index 217c64f..0000000 --- a/examples/notes/delete/node/deleteANote.js +++ /dev/null @@ -1,12 +0,0 @@ -const { NotesService } = require("micro-js-client/notes"); - -// Delete a note -async function deleteAnote() { - let notesService = new NotesService(process.env.MICRO_API_TOKEN); - let rsp = await notesService.delete({ - id: "63c0cdf8-2121-11ec-a881-0242e36f037a", - }); - console.log(rsp); -} - -deleteAnote(); diff --git a/examples/notes/events/curl/subscribeToEvents.sh b/examples/notes/events/curl/subscribeToEvents.sh deleted file mode 100755 index 3730aef..0000000 --- a/examples/notes/events/curl/subscribeToEvents.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/notes/Events" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "id": "63c0cdf8-2121-11ec-a881-0242e36f037a" -}' \ No newline at end of file diff --git a/examples/notes/events/go/subscribeToEvents.go b/examples/notes/events/go/subscribeToEvents.go deleted file mode 100755 index 8c5dfdc..0000000 --- a/examples/notes/events/go/subscribeToEvents.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/notes" -) - -// Subscribe to notes events -func SubscribeToEvents() { - notesService := notes.NewNotesService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := notesService.Events(¬es.EventsRequest{ - Id: "63c0cdf8-2121-11ec-a881-0242e36f037a", - }) - fmt.Println(rsp, err) -} diff --git a/examples/notes/events/node/subscribeToEvents.js b/examples/notes/events/node/subscribeToEvents.js deleted file mode 100755 index e5ffe1c..0000000 --- a/examples/notes/events/node/subscribeToEvents.js +++ /dev/null @@ -1,12 +0,0 @@ -const { NotesService } = require("micro-js-client/notes"); - -// Subscribe to notes events -async function subscribeToEvents() { - let notesService = new NotesService(process.env.MICRO_API_TOKEN); - let rsp = await notesService.events({ - id: "63c0cdf8-2121-11ec-a881-0242e36f037a", - }); - console.log(rsp); -} - -subscribeToEvents(); diff --git a/examples/notes/list/curl/listAllNotes.sh b/examples/notes/list/curl/listAllNotes.sh deleted file mode 100755 index 39b5510..0000000 --- a/examples/notes/list/curl/listAllNotes.sh +++ /dev/null @@ -1,4 +0,0 @@ -curl "http://localhost:8080/notes/List" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{}' \ No newline at end of file diff --git a/examples/notes/list/go/listAllNotes.go b/examples/notes/list/go/listAllNotes.go deleted file mode 100755 index ced2055..0000000 --- a/examples/notes/list/go/listAllNotes.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/notes" -) - -// List all the notes -func ListAllNotes() { - notesService := notes.NewNotesService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := notesService.List(¬es.ListRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/notes/list/node/listAllNotes.js b/examples/notes/list/node/listAllNotes.js deleted file mode 100755 index ad52007..0000000 --- a/examples/notes/list/node/listAllNotes.js +++ /dev/null @@ -1,10 +0,0 @@ -const { NotesService } = require("micro-js-client/notes"); - -// List all the notes -async function listAllNotes() { - let notesService = new NotesService(process.env.MICRO_API_TOKEN); - let rsp = await notesService.list({}); - console.log(rsp); -} - -listAllNotes(); diff --git a/examples/notes/read/curl/readANote.sh b/examples/notes/read/curl/readANote.sh deleted file mode 100755 index b168845..0000000 --- a/examples/notes/read/curl/readANote.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/notes/Read" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "id": "63c0cdf8-2121-11ec-a881-0242e36f037a" -}' \ No newline at end of file diff --git a/examples/notes/read/go/readANote.go b/examples/notes/read/go/readANote.go deleted file mode 100755 index 5518d2e..0000000 --- a/examples/notes/read/go/readANote.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/notes" -) - -// Read a note -func ReadAnote() { - notesService := notes.NewNotesService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := notesService.Read(¬es.ReadRequest{ - Id: "63c0cdf8-2121-11ec-a881-0242e36f037a", - }) - fmt.Println(rsp, err) -} diff --git a/examples/notes/read/node/readANote.js b/examples/notes/read/node/readANote.js deleted file mode 100755 index 46e58bb..0000000 --- a/examples/notes/read/node/readANote.js +++ /dev/null @@ -1,12 +0,0 @@ -const { NotesService } = require("micro-js-client/notes"); - -// Read a note -async function readAnote() { - let notesService = new NotesService(process.env.MICRO_API_TOKEN); - let rsp = await notesService.read({ - id: "63c0cdf8-2121-11ec-a881-0242e36f037a", - }); - console.log(rsp); -} - -readAnote(); diff --git a/examples/notes/update/curl/updateANote.sh b/examples/notes/update/curl/updateANote.sh deleted file mode 100755 index 597a738..0000000 --- a/examples/notes/update/curl/updateANote.sh +++ /dev/null @@ -1,10 +0,0 @@ -curl "http://localhost:8080/notes/Update" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "note": { - "id": "63c0cdf8-2121-11ec-a881-0242e36f037a", - "text": "Updated note text", - "title": "Update Note" - } -}' \ No newline at end of file diff --git a/examples/notes/update/go/updateANote.go b/examples/notes/update/go/updateANote.go deleted file mode 100755 index 1976ae9..0000000 --- a/examples/notes/update/go/updateANote.go +++ /dev/null @@ -1,21 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/notes" -) - -// Update a note -func UpdateAnote() { - notesService := notes.NewNotesService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := notesService.Update(¬es.UpdateRequest{ - Note: ¬es.Note{ - Id: "63c0cdf8-2121-11ec-a881-0242e36f037a", - Text: "Updated note text", - Title: "Update Note", - }, - }) - fmt.Println(rsp, err) -} diff --git a/examples/notes/update/node/updateANote.js b/examples/notes/update/node/updateANote.js deleted file mode 100755 index 3e12caf..0000000 --- a/examples/notes/update/node/updateANote.js +++ /dev/null @@ -1,16 +0,0 @@ -const { NotesService } = require("micro-js-client/notes"); - -// Update a note -async function updateAnote() { - let notesService = new NotesService(process.env.MICRO_API_TOKEN); - let rsp = await notesService.update({ - note: { - id: "63c0cdf8-2121-11ec-a881-0242e36f037a", - text: "Updated note text", - title: "Update Note", - }, - }); - console.log(rsp); -} - -updateAnote(); diff --git a/examples/otp/generate/curl/generateOtp.sh b/examples/otp/generate/curl/generateOtp.sh deleted file mode 100755 index 9361c03..0000000 --- a/examples/otp/generate/curl/generateOtp.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/otp/Generate" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "id": "asim@example.com" -}' \ No newline at end of file diff --git a/examples/otp/generate/go/generateOtp.go b/examples/otp/generate/go/generateOtp.go deleted file mode 100755 index 41a91c4..0000000 --- a/examples/otp/generate/go/generateOtp.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/otp" -) - -// Generate an OTP (one time pass) code -func GenerateOtp() { - otpService := otp.NewOtpService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := otpService.Generate(&otp.GenerateRequest{ - Id: "asim@example.com", - }) - fmt.Println(rsp, err) -} diff --git a/examples/otp/generate/node/generateOtp.js b/examples/otp/generate/node/generateOtp.js deleted file mode 100755 index b8c59f7..0000000 --- a/examples/otp/generate/node/generateOtp.js +++ /dev/null @@ -1,12 +0,0 @@ -const { OtpService } = require("micro-js-client/otp"); - -// Generate an OTP (one time pass) code -async function generateOtp() { - let otpService = new OtpService(process.env.MICRO_API_TOKEN); - let rsp = await otpService.generate({ - id: "asim@example.com", - }); - console.log(rsp); -} - -generateOtp(); diff --git a/examples/otp/validate/curl/validateOtp.sh b/examples/otp/validate/curl/validateOtp.sh deleted file mode 100755 index 8c43c51..0000000 --- a/examples/otp/validate/curl/validateOtp.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/otp/Validate" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "code": "656211", - "id": "asim@example.com" -}' \ No newline at end of file diff --git a/examples/otp/validate/go/validateOtp.go b/examples/otp/validate/go/validateOtp.go deleted file mode 100755 index 42b622b..0000000 --- a/examples/otp/validate/go/validateOtp.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/otp" -) - -// Validate the OTP code -func ValidateOtp() { - otpService := otp.NewOtpService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := otpService.Validate(&otp.ValidateRequest{ - Code: "656211", - Id: "asim@example.com", - }) - fmt.Println(rsp, err) -} diff --git a/examples/otp/validate/node/validateOtp.js b/examples/otp/validate/node/validateOtp.js deleted file mode 100755 index cbf6922..0000000 --- a/examples/otp/validate/node/validateOtp.js +++ /dev/null @@ -1,13 +0,0 @@ -const { OtpService } = require("micro-js-client/otp"); - -// Validate the OTP code -async function validateOtp() { - let otpService = new OtpService(process.env.MICRO_API_TOKEN); - let rsp = await otpService.validate({ - code: "656211", - id: "asim@example.com", - }); - console.log(rsp); -} - -validateOtp(); diff --git a/examples/postcode/lookup/curl/lookupPostcode.sh b/examples/postcode/lookup/curl/lookupPostcode.sh deleted file mode 100755 index ce8dd70..0000000 --- a/examples/postcode/lookup/curl/lookupPostcode.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/postcode/Lookup" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "postcode": "SW1A 2AA" -}' \ No newline at end of file diff --git a/examples/postcode/lookup/go/lookupPostcode.go b/examples/postcode/lookup/go/lookupPostcode.go deleted file mode 100755 index 063e501..0000000 --- a/examples/postcode/lookup/go/lookupPostcode.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/postcode" -) - -// Lookup a postcode to retrieve the related region, county, etc -func LookupPostcode() { - postcodeService := postcode.NewPostcodeService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := postcodeService.Lookup(&postcode.LookupRequest{ - Postcode: "SW1A 2AA", - }) - fmt.Println(rsp, err) -} diff --git a/examples/postcode/lookup/node/lookupPostcode.js b/examples/postcode/lookup/node/lookupPostcode.js deleted file mode 100755 index 5fea06d..0000000 --- a/examples/postcode/lookup/node/lookupPostcode.js +++ /dev/null @@ -1,12 +0,0 @@ -const { PostcodeService } = require("micro-js-client/postcode"); - -// Lookup a postcode to retrieve the related region, county, etc -async function lookupPostcode() { - let postcodeService = new PostcodeService(process.env.MICRO_API_TOKEN); - let rsp = await postcodeService.lookup({ - postcode: "SW1A 2AA", - }); - console.log(rsp); -} - -lookupPostcode(); diff --git a/examples/postcode/random/curl/returnARandomPostcodeAndItsInformation.sh b/examples/postcode/random/curl/returnARandomPostcodeAndItsInformation.sh deleted file mode 100755 index f8e740c..0000000 --- a/examples/postcode/random/curl/returnARandomPostcodeAndItsInformation.sh +++ /dev/null @@ -1,4 +0,0 @@ -curl "http://localhost:8080/postcode/Random" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{}' \ No newline at end of file diff --git a/examples/postcode/random/go/returnARandomPostcodeAndItsInformation.go b/examples/postcode/random/go/returnARandomPostcodeAndItsInformation.go deleted file mode 100755 index 429ac92..0000000 --- a/examples/postcode/random/go/returnARandomPostcodeAndItsInformation.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/postcode" -) - -// Return a random postcode and its related info -func ReturnArandomPostcodeAndItsInformation() { - postcodeService := postcode.NewPostcodeService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := postcodeService.Random(&postcode.RandomRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/postcode/random/node/returnARandomPostcodeAndItsInformation.js b/examples/postcode/random/node/returnARandomPostcodeAndItsInformation.js deleted file mode 100755 index 46adc79..0000000 --- a/examples/postcode/random/node/returnARandomPostcodeAndItsInformation.js +++ /dev/null @@ -1,10 +0,0 @@ -const { PostcodeService } = require("micro-js-client/postcode"); - -// Return a random postcode and its related info -async function returnArandomPostcodeAndItsInformation() { - let postcodeService = new PostcodeService(process.env.MICRO_API_TOKEN); - let rsp = await postcodeService.random({}); - console.log(rsp); -} - -returnArandomPostcodeAndItsInformation(); diff --git a/examples/postcode/validate/curl/returnARandomPostcodeAndItsInformation.sh b/examples/postcode/validate/curl/returnARandomPostcodeAndItsInformation.sh deleted file mode 100755 index bf3f238..0000000 --- a/examples/postcode/validate/curl/returnARandomPostcodeAndItsInformation.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/postcode/Validate" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "postcode": "SW1A 2AA" -}' \ No newline at end of file diff --git a/examples/postcode/validate/go/returnARandomPostcodeAndItsInformation.go b/examples/postcode/validate/go/returnARandomPostcodeAndItsInformation.go deleted file mode 100755 index 5adec45..0000000 --- a/examples/postcode/validate/go/returnARandomPostcodeAndItsInformation.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/postcode" -) - -// Validate a postcode. -func ReturnArandomPostcodeAndItsInformation() { - postcodeService := postcode.NewPostcodeService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := postcodeService.Validate(&postcode.ValidateRequest{ - Postcode: "SW1A 2AA", - }) - fmt.Println(rsp, err) -} diff --git a/examples/postcode/validate/node/returnARandomPostcodeAndItsInformation.js b/examples/postcode/validate/node/returnARandomPostcodeAndItsInformation.js deleted file mode 100755 index 79c9dc6..0000000 --- a/examples/postcode/validate/node/returnARandomPostcodeAndItsInformation.js +++ /dev/null @@ -1,12 +0,0 @@ -const { PostcodeService } = require("micro-js-client/postcode"); - -// Validate a postcode. -async function returnArandomPostcodeAndItsInformation() { - let postcodeService = new PostcodeService(process.env.MICRO_API_TOKEN); - let rsp = await postcodeService.validate({ - postcode: "SW1A 2AA", - }); - console.log(rsp); -} - -returnArandomPostcodeAndItsInformation(); diff --git a/examples/prayer/times/curl/prayerTimes.sh b/examples/prayer/times/curl/prayerTimes.sh deleted file mode 100755 index 8302b6a..0000000 --- a/examples/prayer/times/curl/prayerTimes.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/prayer/Times" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "location": "london" -}' \ No newline at end of file diff --git a/examples/prayer/times/go/prayerTimes.go b/examples/prayer/times/go/prayerTimes.go deleted file mode 100755 index 46b5bcb..0000000 --- a/examples/prayer/times/go/prayerTimes.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/prayer" -) - -// Get the prayer (salah) times for a location on a given date -func PrayerTimes() { - prayerService := prayer.NewPrayerService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := prayerService.Times(&prayer.TimesRequest{ - Location: "london", - }) - fmt.Println(rsp, err) -} diff --git a/examples/prayer/times/node/prayerTimes.js b/examples/prayer/times/node/prayerTimes.js deleted file mode 100755 index 2996358..0000000 --- a/examples/prayer/times/node/prayerTimes.js +++ /dev/null @@ -1,12 +0,0 @@ -const { PrayerService } = require("micro-js-client/prayer"); - -// Get the prayer (salah) times for a location on a given date -async function prayerTimes() { - let prayerService = new PrayerService(process.env.MICRO_API_TOKEN); - let rsp = await prayerService.times({ - location: "london", - }); - console.log(rsp); -} - -prayerTimes(); diff --git a/examples/qr/generate/curl/generateAQrCode.sh b/examples/qr/generate/curl/generateAQrCode.sh deleted file mode 100755 index 4e0fd62..0000000 --- a/examples/qr/generate/curl/generateAQrCode.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/qr/Generate" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "size": 300, - "text": "https://m3o.com/qr" -}' \ No newline at end of file diff --git a/examples/qr/generate/go/generateAQrCode.go b/examples/qr/generate/go/generateAQrCode.go deleted file mode 100755 index bde0d8c..0000000 --- a/examples/qr/generate/go/generateAQrCode.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/qr" -) - -// Generate a QR code with a specific text and size -func GenerateAqrCode() { - qrService := qr.NewQrService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := qrService.Generate(&qr.GenerateRequest{ - Size: 300, - Text: "https://m3o.com/qr", - }) - fmt.Println(rsp, err) -} diff --git a/examples/qr/generate/node/generateAQrCode.js b/examples/qr/generate/node/generateAQrCode.js deleted file mode 100755 index c5f20e8..0000000 --- a/examples/qr/generate/node/generateAQrCode.js +++ /dev/null @@ -1,13 +0,0 @@ -const { QrService } = require("micro-js-client/qr"); - -// Generate a QR code with a specific text and size -async function generateAqrCode() { - let qrService = new QrService(process.env.MICRO_API_TOKEN); - let rsp = await qrService.generate({ - size: 300, - text: "https://m3o.com/qr", - }); - console.log(rsp); -} - -generateAqrCode(); diff --git a/examples/quran/chapters/curl/listChapters.sh b/examples/quran/chapters/curl/listChapters.sh deleted file mode 100755 index 891a0f1..0000000 --- a/examples/quran/chapters/curl/listChapters.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/quran/Chapters" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "language": "en" -}' \ No newline at end of file diff --git a/examples/quran/chapters/go/listChapters.go b/examples/quran/chapters/go/listChapters.go deleted file mode 100755 index 5c8836a..0000000 --- a/examples/quran/chapters/go/listChapters.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/quran" -) - -// List the Chapters (surahs) of the Quran -func ListChapters() { - quranService := quran.NewQuranService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := quranService.Chapters(&quran.ChaptersRequest{ - Language: "en", - }) - fmt.Println(rsp, err) -} diff --git a/examples/quran/chapters/node/listChapters.js b/examples/quran/chapters/node/listChapters.js deleted file mode 100755 index 5748aad..0000000 --- a/examples/quran/chapters/node/listChapters.js +++ /dev/null @@ -1,12 +0,0 @@ -const { QuranService } = require("micro-js-client/quran"); - -// List the Chapters (surahs) of the Quran -async function listChapters() { - let quranService = new QuranService(process.env.MICRO_API_TOKEN); - let rsp = await quranService.chapters({ - language: "en", - }); - console.log(rsp); -} - -listChapters(); diff --git a/examples/quran/search/curl/searchTheQuran.sh b/examples/quran/search/curl/searchTheQuran.sh deleted file mode 100755 index 896f529..0000000 --- a/examples/quran/search/curl/searchTheQuran.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/quran/Search" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "query": "messenger" -}' \ No newline at end of file diff --git a/examples/quran/search/go/searchTheQuran.go b/examples/quran/search/go/searchTheQuran.go deleted file mode 100755 index e1c3568..0000000 --- a/examples/quran/search/go/searchTheQuran.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/quran" -) - -// Search the Quran for any form of query or questions -func SearchTheQuran() { - quranService := quran.NewQuranService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := quranService.Search(&quran.SearchRequest{ - Query: "messenger", - }) - fmt.Println(rsp, err) -} diff --git a/examples/quran/search/node/searchTheQuran.js b/examples/quran/search/node/searchTheQuran.js deleted file mode 100755 index 68806b4..0000000 --- a/examples/quran/search/node/searchTheQuran.js +++ /dev/null @@ -1,12 +0,0 @@ -const { QuranService } = require("micro-js-client/quran"); - -// Search the Quran for any form of query or questions -async function searchTheQuran() { - let quranService = new QuranService(process.env.MICRO_API_TOKEN); - let rsp = await quranService.search({ - query: "messenger", - }); - console.log(rsp); -} - -searchTheQuran(); diff --git a/examples/quran/summary/curl/getChapterSummary.sh b/examples/quran/summary/curl/getChapterSummary.sh deleted file mode 100755 index 4f10dc2..0000000 --- a/examples/quran/summary/curl/getChapterSummary.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/quran/Summary" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "chapter": 1 -}' \ No newline at end of file diff --git a/examples/quran/summary/go/getChapterSummary.go b/examples/quran/summary/go/getChapterSummary.go deleted file mode 100755 index e2e9ee8..0000000 --- a/examples/quran/summary/go/getChapterSummary.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/quran" -) - -// Get a summary for a given chapter (surah) -func GetChapterSummary() { - quranService := quran.NewQuranService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := quranService.Summary(&quran.SummaryRequest{ - Chapter: 1, - }) - fmt.Println(rsp, err) -} diff --git a/examples/quran/summary/node/getChapterSummary.js b/examples/quran/summary/node/getChapterSummary.js deleted file mode 100755 index bd14d21..0000000 --- a/examples/quran/summary/node/getChapterSummary.js +++ /dev/null @@ -1,12 +0,0 @@ -const { QuranService } = require("micro-js-client/quran"); - -// Get a summary for a given chapter (surah) -async function getChapterSummary() { - let quranService = new QuranService(process.env.MICRO_API_TOKEN); - let rsp = await quranService.summary({ - chapter: 1, - }); - console.log(rsp); -} - -getChapterSummary(); diff --git a/examples/quran/verses/curl/getVersesOfAChapter.sh b/examples/quran/verses/curl/getVersesOfAChapter.sh deleted file mode 100755 index d8dac81..0000000 --- a/examples/quran/verses/curl/getVersesOfAChapter.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/quran/Verses" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "chapter": 1 -}' \ No newline at end of file diff --git a/examples/quran/verses/go/getVersesOfAChapter.go b/examples/quran/verses/go/getVersesOfAChapter.go deleted file mode 100755 index b4444f9..0000000 --- a/examples/quran/verses/go/getVersesOfAChapter.go +++ /dev/null @@ -1,19 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/quran" -) - -// Lookup the verses (ayahs) for a chapter including -// translation, interpretation and breakdown by individual -// words. -func GetVersesOfAchapter() { - quranService := quran.NewQuranService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := quranService.Verses(&quran.VersesRequest{ - Chapter: 1, - }) - fmt.Println(rsp, err) -} diff --git a/examples/quran/verses/node/getVersesOfAChapter.js b/examples/quran/verses/node/getVersesOfAChapter.js deleted file mode 100755 index 29c22d0..0000000 --- a/examples/quran/verses/node/getVersesOfAChapter.js +++ /dev/null @@ -1,14 +0,0 @@ -const { QuranService } = require("micro-js-client/quran"); - -// Lookup the verses (ayahs) for a chapter including -// translation, interpretation and breakdown by individual -// words. -async function getVersesOfAchapter() { - let quranService = new QuranService(process.env.MICRO_API_TOKEN); - let rsp = await quranService.verses({ - chapter: 1, - }); - console.log(rsp); -} - -getVersesOfAchapter(); diff --git a/examples/routing/directions/curl/turnByTurnDirections.sh b/examples/routing/directions/curl/turnByTurnDirections.sh deleted file mode 100755 index a1b0c71..0000000 --- a/examples/routing/directions/curl/turnByTurnDirections.sh +++ /dev/null @@ -1,13 +0,0 @@ -curl "http://localhost:8080/routing/Directions" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "destination": { - "latitude": 52.529407, - "longitude": 13.397634 - }, - "origin": { - "latitude": 52.517037, - "longitude": 13.38886 - } -}' \ No newline at end of file diff --git a/examples/routing/directions/go/turnByTurnDirections.go b/examples/routing/directions/go/turnByTurnDirections.go deleted file mode 100755 index b7ff0d2..0000000 --- a/examples/routing/directions/go/turnByTurnDirections.go +++ /dev/null @@ -1,24 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/routing" -) - -// Turn by turn directions from a start point to an end point including maneuvers and bearings -func TurnByTurnDirections() { - routingService := routing.NewRoutingService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := routingService.Directions(&routing.DirectionsRequest{ - Destination: &routing.Point{ - Latitude: 52.529407, - Longitude: 13.397634, - }, - Origin: &routing.Point{ - Latitude: 52.517037, - Longitude: 13.38886, - }, - }) - fmt.Println(rsp, err) -} diff --git a/examples/routing/directions/node/turnByTurnDirections.js b/examples/routing/directions/node/turnByTurnDirections.js deleted file mode 100755 index ca7fdd5..0000000 --- a/examples/routing/directions/node/turnByTurnDirections.js +++ /dev/null @@ -1,19 +0,0 @@ -const { RoutingService } = require("micro-js-client/routing"); - -// Turn by turn directions from a start point to an end point including maneuvers and bearings -async function turnByTurnDirections() { - let routingService = new RoutingService(process.env.MICRO_API_TOKEN); - let rsp = await routingService.directions({ - destination: { - latitude: 52.529407, - longitude: 13.397634, - }, - origin: { - latitude: 52.517037, - longitude: 13.38886, - }, - }); - console.log(rsp); -} - -turnByTurnDirections(); diff --git a/examples/routing/eta/curl/etaFromPointAToPointB.sh b/examples/routing/eta/curl/etaFromPointAToPointB.sh deleted file mode 100755 index 475b6b6..0000000 --- a/examples/routing/eta/curl/etaFromPointAToPointB.sh +++ /dev/null @@ -1,13 +0,0 @@ -curl "http://localhost:8080/routing/Eta" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "destination": { - "latitude": 52.529407, - "longitude": 13.397634 - }, - "origin": { - "latitude": 52.517037, - "longitude": 13.38886 - } -}' \ No newline at end of file diff --git a/examples/routing/eta/go/etaFromPointAToPointB.go b/examples/routing/eta/go/etaFromPointAToPointB.go deleted file mode 100755 index b5e5caf..0000000 --- a/examples/routing/eta/go/etaFromPointAToPointB.go +++ /dev/null @@ -1,24 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/routing" -) - -// Get the eta for a route from origin to destination. The eta is an estimated time based on car routes -func EtaFromPointAtoPointB() { - routingService := routing.NewRoutingService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := routingService.Eta(&routing.EtaRequest{ - Destination: &routing.Point{ - Latitude: 52.529407, - Longitude: 13.397634, - }, - Origin: &routing.Point{ - Latitude: 52.517037, - Longitude: 13.38886, - }, - }) - fmt.Println(rsp, err) -} diff --git a/examples/routing/eta/node/etaFromPointAToPointB.js b/examples/routing/eta/node/etaFromPointAToPointB.js deleted file mode 100755 index 487027d..0000000 --- a/examples/routing/eta/node/etaFromPointAToPointB.js +++ /dev/null @@ -1,19 +0,0 @@ -const { RoutingService } = require("micro-js-client/routing"); - -// Get the eta for a route from origin to destination. The eta is an estimated time based on car routes -async function etaFromPointAtoPointB() { - let routingService = new RoutingService(process.env.MICRO_API_TOKEN); - let rsp = await routingService.eta({ - destination: { - latitude: 52.529407, - longitude: 13.397634, - }, - origin: { - latitude: 52.517037, - longitude: 13.38886, - }, - }); - console.log(rsp); -} - -etaFromPointAtoPointB(); diff --git a/examples/routing/route/curl/gpsPointsForARoute.sh b/examples/routing/route/curl/gpsPointsForARoute.sh deleted file mode 100755 index b70e8ed..0000000 --- a/examples/routing/route/curl/gpsPointsForARoute.sh +++ /dev/null @@ -1,13 +0,0 @@ -curl "http://localhost:8080/routing/Route" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "destination": { - "latitude": 52.529407, - "longitude": 13.397634 - }, - "origin": { - "latitude": 52.517037, - "longitude": 13.38886 - } -}' \ No newline at end of file diff --git a/examples/routing/route/go/gpsPointsForARoute.go b/examples/routing/route/go/gpsPointsForARoute.go deleted file mode 100755 index 6f85c6a..0000000 --- a/examples/routing/route/go/gpsPointsForARoute.go +++ /dev/null @@ -1,24 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/routing" -) - -// Retrieve a route as a simple list of gps points along with total distance and estimated duration -func GpsPointsForAroute() { - routingService := routing.NewRoutingService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := routingService.Route(&routing.RouteRequest{ - Destination: &routing.Point{ - Latitude: 52.529407, - Longitude: 13.397634, - }, - Origin: &routing.Point{ - Latitude: 52.517037, - Longitude: 13.38886, - }, - }) - fmt.Println(rsp, err) -} diff --git a/examples/routing/route/node/gpsPointsForARoute.js b/examples/routing/route/node/gpsPointsForARoute.js deleted file mode 100755 index 801b5c4..0000000 --- a/examples/routing/route/node/gpsPointsForARoute.js +++ /dev/null @@ -1,19 +0,0 @@ -const { RoutingService } = require("micro-js-client/routing"); - -// Retrieve a route as a simple list of gps points along with total distance and estimated duration -async function gpsPointsForAroute() { - let routingService = new RoutingService(process.env.MICRO_API_TOKEN); - let rsp = await routingService.route({ - destination: { - latitude: 52.529407, - longitude: 13.397634, - }, - origin: { - latitude: 52.517037, - longitude: 13.38886, - }, - }); - console.log(rsp); -} - -gpsPointsForAroute(); diff --git a/examples/rss/add/curl/addANewFeed.sh b/examples/rss/add/curl/addANewFeed.sh deleted file mode 100755 index 116a58e..0000000 --- a/examples/rss/add/curl/addANewFeed.sh +++ /dev/null @@ -1,8 +0,0 @@ -curl "http://localhost:8080/rss/Add" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "category": "news", - "name": "bbc", - "url": "http://feeds.bbci.co.uk/news/rss.xml" -}' \ No newline at end of file diff --git a/examples/rss/add/go/addANewFeed.go b/examples/rss/add/go/addANewFeed.go deleted file mode 100755 index 5e75f50..0000000 --- a/examples/rss/add/go/addANewFeed.go +++ /dev/null @@ -1,19 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/rss" -) - -// Add a new RSS feed with a name, url, and category -func AddAnewFeed() { - rssService := rss.NewRssService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := rssService.Add(&rss.AddRequest{ - Category: "news", - Name: "bbc", - Url: "http://feeds.bbci.co.uk/news/rss.xml", - }) - fmt.Println(rsp, err) -} diff --git a/examples/rss/add/node/addANewFeed.js b/examples/rss/add/node/addANewFeed.js deleted file mode 100755 index 05e814b..0000000 --- a/examples/rss/add/node/addANewFeed.js +++ /dev/null @@ -1,14 +0,0 @@ -const { RssService } = require("micro-js-client/rss"); - -// Add a new RSS feed with a name, url, and category -async function addAnewFeed() { - let rssService = new RssService(process.env.MICRO_API_TOKEN); - let rsp = await rssService.add({ - category: "news", - name: "bbc", - url: "http://feeds.bbci.co.uk/news/rss.xml", - }); - console.log(rsp); -} - -addAnewFeed(); diff --git a/examples/rss/feed/curl/readAFeed.sh b/examples/rss/feed/curl/readAFeed.sh deleted file mode 100755 index a893e2b..0000000 --- a/examples/rss/feed/curl/readAFeed.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/rss/Feed" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "name": "bbc" -}' \ No newline at end of file diff --git a/examples/rss/feed/go/readAFeed.go b/examples/rss/feed/go/readAFeed.go deleted file mode 100755 index c736c9b..0000000 --- a/examples/rss/feed/go/readAFeed.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/rss" -) - -// Get an RSS feed by name. If no name is given, all feeds are returned. Default limit is 25 entries. -func ReadAfeed() { - rssService := rss.NewRssService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := rssService.Feed(&rss.FeedRequest{ - Name: "bbc", - }) - fmt.Println(rsp, err) -} diff --git a/examples/rss/feed/node/readAFeed.js b/examples/rss/feed/node/readAFeed.js deleted file mode 100755 index 7ed5813..0000000 --- a/examples/rss/feed/node/readAFeed.js +++ /dev/null @@ -1,12 +0,0 @@ -const { RssService } = require("micro-js-client/rss"); - -// Get an RSS feed by name. If no name is given, all feeds are returned. Default limit is 25 entries. -async function readAfeed() { - let rssService = new RssService(process.env.MICRO_API_TOKEN); - let rsp = await rssService.feed({ - name: "bbc", - }); - console.log(rsp); -} - -readAfeed(); diff --git a/examples/rss/list/curl/listRssFeeds.sh b/examples/rss/list/curl/listRssFeeds.sh deleted file mode 100755 index 5d6fa70..0000000 --- a/examples/rss/list/curl/listRssFeeds.sh +++ /dev/null @@ -1,4 +0,0 @@ -curl "http://localhost:8080/rss/List" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{}' \ No newline at end of file diff --git a/examples/rss/list/go/listRssFeeds.go b/examples/rss/list/go/listRssFeeds.go deleted file mode 100755 index ca1dfe4..0000000 --- a/examples/rss/list/go/listRssFeeds.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/rss" -) - -// List the saved RSS fields -func ListRssFeeds() { - rssService := rss.NewRssService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := rssService.List(&rss.ListRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/rss/list/node/listRssFeeds.js b/examples/rss/list/node/listRssFeeds.js deleted file mode 100755 index 6bb85cd..0000000 --- a/examples/rss/list/node/listRssFeeds.js +++ /dev/null @@ -1,10 +0,0 @@ -const { RssService } = require("micro-js-client/rss"); - -// List the saved RSS fields -async function listRssFeeds() { - let rssService = new RssService(process.env.MICRO_API_TOKEN); - let rsp = await rssService.list({}); - console.log(rsp); -} - -listRssFeeds(); diff --git a/examples/rss/remove/curl/removeAFeed.sh b/examples/rss/remove/curl/removeAFeed.sh deleted file mode 100755 index b7e84e2..0000000 --- a/examples/rss/remove/curl/removeAFeed.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/rss/Remove" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "name": "bbc" -}' \ No newline at end of file diff --git a/examples/rss/remove/go/removeAFeed.go b/examples/rss/remove/go/removeAFeed.go deleted file mode 100755 index ff5f104..0000000 --- a/examples/rss/remove/go/removeAFeed.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/rss" -) - -// Remove an RSS feed by name -func RemoveAfeed() { - rssService := rss.NewRssService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := rssService.Remove(&rss.RemoveRequest{ - Name: "bbc", - }) - fmt.Println(rsp, err) -} diff --git a/examples/rss/remove/node/removeAFeed.js b/examples/rss/remove/node/removeAFeed.js deleted file mode 100755 index c78940d..0000000 --- a/examples/rss/remove/node/removeAFeed.js +++ /dev/null @@ -1,12 +0,0 @@ -const { RssService } = require("micro-js-client/rss"); - -// Remove an RSS feed by name -async function removeAfeed() { - let rssService = new RssService(process.env.MICRO_API_TOKEN); - let rsp = await rssService.remove({ - name: "bbc", - }); - console.log(rsp); -} - -removeAfeed(); diff --git a/examples/sentiment/analyze/curl/analyzeAPieceOfText.sh b/examples/sentiment/analyze/curl/analyzeAPieceOfText.sh deleted file mode 100755 index 9dfa03c..0000000 --- a/examples/sentiment/analyze/curl/analyzeAPieceOfText.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/sentiment/Analyze" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "text": "this is amazing" -}' \ No newline at end of file diff --git a/examples/sentiment/analyze/go/analyzeAPieceOfText.go b/examples/sentiment/analyze/go/analyzeAPieceOfText.go deleted file mode 100755 index d97794a..0000000 --- a/examples/sentiment/analyze/go/analyzeAPieceOfText.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/sentiment" -) - -// Analyze and score a piece of text -func AnalyzeApieceOfText() { - sentimentService := sentiment.NewSentimentService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := sentimentService.Analyze(&sentiment.AnalyzeRequest{ - Text: "this is amazing", - }) - fmt.Println(rsp, err) -} diff --git a/examples/sentiment/analyze/node/analyzeAPieceOfText.js b/examples/sentiment/analyze/node/analyzeAPieceOfText.js deleted file mode 100755 index 0fcef46..0000000 --- a/examples/sentiment/analyze/node/analyzeAPieceOfText.js +++ /dev/null @@ -1,12 +0,0 @@ -const { SentimentService } = require("micro-js-client/sentiment"); - -// Analyze and score a piece of text -async function analyzeApieceOfText() { - let sentimentService = new SentimentService(process.env.MICRO_API_TOKEN); - let rsp = await sentimentService.analyze({ - text: "this is amazing", - }); - console.log(rsp); -} - -analyzeApieceOfText(); diff --git a/examples/sms/send/curl/sendSms.sh b/examples/sms/send/curl/sendSms.sh deleted file mode 100755 index 65a657b..0000000 --- a/examples/sms/send/curl/sendSms.sh +++ /dev/null @@ -1,8 +0,0 @@ -curl "http://localhost:8080/sms/Send" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "from": "Alice", - "message": "Hi there!", - "to": "+447681129" -}' \ No newline at end of file diff --git a/examples/sms/send/go/sendSms.go b/examples/sms/send/go/sendSms.go deleted file mode 100755 index e79eeec..0000000 --- a/examples/sms/send/go/sendSms.go +++ /dev/null @@ -1,19 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/sms" -) - -// Send an SMS. -func SendSms() { - smsService := sms.NewSmsService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := smsService.Send(&sms.SendRequest{ - From: "Alice", - Message: "Hi there!", - To: "+447681129", - }) - fmt.Println(rsp, err) -} diff --git a/examples/sms/send/node/sendSms.js b/examples/sms/send/node/sendSms.js deleted file mode 100755 index 4e130b6..0000000 --- a/examples/sms/send/node/sendSms.js +++ /dev/null @@ -1,14 +0,0 @@ -const { SmsService } = require("micro-js-client/sms"); - -// Send an SMS. -async function sendSms() { - let smsService = new SmsService(process.env.MICRO_API_TOKEN); - let rsp = await smsService.send({ - from: "Alice", - message: "Hi there!", - to: "+447681129", - }); - console.log(rsp); -} - -sendSms(); diff --git a/examples/spam/classify/curl/classifyAnEmail.sh b/examples/spam/classify/curl/classifyAnEmail.sh deleted file mode 100755 index b1076cd..0000000 --- a/examples/spam/classify/curl/classifyAnEmail.sh +++ /dev/null @@ -1,9 +0,0 @@ -curl "http://localhost:8080/spam/Classify" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "from": "noreply@m3o.com", - "subject": "Welcome", - "text_body": "Hi there,\n\nWelcome to M3O.\n\nThanks\nM3O team", - "to": "hello@example.com" -}' \ No newline at end of file diff --git a/examples/spam/classify/curl/classifyAnEmailUsingTheRawData.sh b/examples/spam/classify/curl/classifyAnEmailUsingTheRawData.sh deleted file mode 100755 index c699b79..0000000 --- a/examples/spam/classify/curl/classifyAnEmailUsingTheRawData.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/spam/Classify" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "email_body": "Subject: Welcome\r\nTo: hello@emaple.com\r\nFrom: noreply@m3o.com\r\n\r\nHi there,\n\nWelcome to M3O.\n\nThanks\nM3O team" -}' \ No newline at end of file diff --git a/examples/spam/classify/go/classifyAnEmail.go b/examples/spam/classify/go/classifyAnEmail.go deleted file mode 100755 index 6741570..0000000 --- a/examples/spam/classify/go/classifyAnEmail.go +++ /dev/null @@ -1,19 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/spam" -) - -// Check whether an email is likely to be spam based on its attributes -func ClassifyAnEmail() { - spamService := spam.NewSpamService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := spamService.Classify(&spam.ClassifyRequest{ - From: "noreply@m3o.com", - Subject: "Welcome", - To: "hello@example.com", - }) - fmt.Println(rsp, err) -} diff --git a/examples/spam/classify/go/classifyAnEmailUsingTheRawData.go b/examples/spam/classify/go/classifyAnEmailUsingTheRawData.go deleted file mode 100755 index 3d7fb98..0000000 --- a/examples/spam/classify/go/classifyAnEmailUsingTheRawData.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/spam" -) - -// Check whether an email is likely to be spam based on its attributes -func ClassifyAnEmailUsingTheRawData() { - spamService := spam.NewSpamService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := spamService.Classify(&spam.ClassifyRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/spam/classify/node/classifyAnEmail.js b/examples/spam/classify/node/classifyAnEmail.js deleted file mode 100755 index 93208a1..0000000 --- a/examples/spam/classify/node/classifyAnEmail.js +++ /dev/null @@ -1,15 +0,0 @@ -const { SpamService } = require("micro-js-client/spam"); - -// Check whether an email is likely to be spam based on its attributes -async function classifyAnEmail() { - let spamService = new SpamService(process.env.MICRO_API_TOKEN); - let rsp = await spamService.classify({ - from: "noreply@m3o.com", - subject: "Welcome", - text_body: "Hi there,\n\nWelcome to M3O.\n\nThanks\nM3O team", - to: "hello@example.com", - }); - console.log(rsp); -} - -classifyAnEmail(); diff --git a/examples/spam/classify/node/classifyAnEmailUsingTheRawData.js b/examples/spam/classify/node/classifyAnEmailUsingTheRawData.js deleted file mode 100755 index d9b0c9e..0000000 --- a/examples/spam/classify/node/classifyAnEmailUsingTheRawData.js +++ /dev/null @@ -1,13 +0,0 @@ -const { SpamService } = require("micro-js-client/spam"); - -// Check whether an email is likely to be spam based on its attributes -async function classifyAnEmailUsingTheRawData() { - let spamService = new SpamService(process.env.MICRO_API_TOKEN); - let rsp = await spamService.classify({ - email_body: - "Subject: Welcome\r\nTo: hello@emaple.com\r\nFrom: noreply@m3o.com\r\n\r\nHi there,\n\nWelcome to M3O.\n\nThanks\nM3O team", - }); - console.log(rsp); -} - -classifyAnEmailUsingTheRawData(); diff --git a/examples/stock/history/curl/getHistoricData.sh b/examples/stock/history/curl/getHistoricData.sh deleted file mode 100755 index 77c4384..0000000 --- a/examples/stock/history/curl/getHistoricData.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/stock/History" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "date": "2020-10-01", - "stock": "AAPL" -}' \ No newline at end of file diff --git a/examples/stock/history/go/getHistoricData.go b/examples/stock/history/go/getHistoricData.go deleted file mode 100755 index a67b03c..0000000 --- a/examples/stock/history/go/getHistoricData.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/stock" -) - -// Get the historic open-close for a given day -func GetHistoricData() { - stockService := stock.NewStockService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := stockService.History(&stock.HistoryRequest{ - Date: "2020-10-01", - Stock: "AAPL", - }) - fmt.Println(rsp, err) -} diff --git a/examples/stock/history/node/getHistoricData.js b/examples/stock/history/node/getHistoricData.js deleted file mode 100755 index fc2bd5c..0000000 --- a/examples/stock/history/node/getHistoricData.js +++ /dev/null @@ -1,13 +0,0 @@ -const { StockService } = require("micro-js-client/stock"); - -// Get the historic open-close for a given day -async function getHistoricData() { - let stockService = new StockService(process.env.MICRO_API_TOKEN); - let rsp = await stockService.history({ - date: "2020-10-01", - stock: "AAPL", - }); - console.log(rsp); -} - -getHistoricData(); diff --git a/examples/stock/orderBook/curl/orderBookHistory.sh b/examples/stock/orderBook/curl/orderBookHistory.sh deleted file mode 100755 index 665cd35..0000000 --- a/examples/stock/orderBook/curl/orderBookHistory.sh +++ /dev/null @@ -1,10 +0,0 @@ -curl "http://localhost:8080/stock/OrderBook" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "date": "2020-10-01", - "end": "2020-10-01T11:00:00Z", - "limit": 3, - "start": "2020-10-01T10:00:00Z", - "stock": "AAPL" -}' \ No newline at end of file diff --git a/examples/stock/orderBook/go/orderBookHistory.go b/examples/stock/orderBook/go/orderBookHistory.go deleted file mode 100755 index a7ef6ff..0000000 --- a/examples/stock/orderBook/go/orderBookHistory.go +++ /dev/null @@ -1,21 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/stock" -) - -// Get the historic order book and each trade by timestamp -func OrderBookHistory() { - stockService := stock.NewStockService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := stockService.OrderBook(&stock.OrderBookRequest{ - Date: "2020-10-01", - End: "2020-10-01T11:00:00Z", - Limit: 3, - Start: "2020-10-01T10:00:00Z", - Stock: "AAPL", - }) - fmt.Println(rsp, err) -} diff --git a/examples/stock/orderBook/node/orderBookHistory.js b/examples/stock/orderBook/node/orderBookHistory.js deleted file mode 100755 index 8c857a1..0000000 --- a/examples/stock/orderBook/node/orderBookHistory.js +++ /dev/null @@ -1,16 +0,0 @@ -const { StockService } = require("micro-js-client/stock"); - -// Get the historic order book and each trade by timestamp -async function orderBookHistory() { - let stockService = new StockService(process.env.MICRO_API_TOKEN); - let rsp = await stockService.orderBook({ - date: "2020-10-01", - end: "2020-10-01T11:00:00Z", - limit: 3, - start: "2020-10-01T10:00:00Z", - stock: "AAPL", - }); - console.log(rsp); -} - -orderBookHistory(); diff --git a/examples/stock/price/curl/getAStockPrice.sh b/examples/stock/price/curl/getAStockPrice.sh deleted file mode 100755 index a5aaa04..0000000 --- a/examples/stock/price/curl/getAStockPrice.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/stock/Price" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "symbol": "AAPL" -}' \ No newline at end of file diff --git a/examples/stock/price/go/getAStockPrice.go b/examples/stock/price/go/getAStockPrice.go deleted file mode 100755 index 620f93f..0000000 --- a/examples/stock/price/go/getAStockPrice.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/stock" -) - -// Get the last price for a given stock ticker -func GetAstockPrice() { - stockService := stock.NewStockService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := stockService.Price(&stock.PriceRequest{ - Symbol: "AAPL", - }) - fmt.Println(rsp, err) -} diff --git a/examples/stock/price/node/getAStockPrice.js b/examples/stock/price/node/getAStockPrice.js deleted file mode 100755 index 2340746..0000000 --- a/examples/stock/price/node/getAStockPrice.js +++ /dev/null @@ -1,12 +0,0 @@ -const { StockService } = require("micro-js-client/stock"); - -// Get the last price for a given stock ticker -async function getAstockPrice() { - let stockService = new StockService(process.env.MICRO_API_TOKEN); - let rsp = await stockService.price({ - symbol: "AAPL", - }); - console.log(rsp); -} - -getAstockPrice(); diff --git a/examples/stock/quote/curl/getAStockQuote.sh b/examples/stock/quote/curl/getAStockQuote.sh deleted file mode 100755 index 4b84f4d..0000000 --- a/examples/stock/quote/curl/getAStockQuote.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/stock/Quote" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "symbol": "AAPL" -}' \ No newline at end of file diff --git a/examples/stock/quote/go/getAStockQuote.go b/examples/stock/quote/go/getAStockQuote.go deleted file mode 100755 index 8b5a3f1..0000000 --- a/examples/stock/quote/go/getAStockQuote.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/stock" -) - -// Get the last quote for the stock -func GetAstockQuote() { - stockService := stock.NewStockService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := stockService.Quote(&stock.QuoteRequest{ - Symbol: "AAPL", - }) - fmt.Println(rsp, err) -} diff --git a/examples/stock/quote/node/getAStockQuote.js b/examples/stock/quote/node/getAStockQuote.js deleted file mode 100755 index 786b4b2..0000000 --- a/examples/stock/quote/node/getAStockQuote.js +++ /dev/null @@ -1,12 +0,0 @@ -const { StockService } = require("micro-js-client/stock"); - -// Get the last quote for the stock -async function getAstockQuote() { - let stockService = new StockService(process.env.MICRO_API_TOKEN); - let rsp = await stockService.quote({ - symbol: "AAPL", - }); - console.log(rsp); -} - -getAstockQuote(); diff --git a/examples/stream/createChannel/curl/createChannel.sh b/examples/stream/createChannel/curl/createChannel.sh deleted file mode 100755 index ec9fd1c..0000000 --- a/examples/stream/createChannel/curl/createChannel.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/stream/CreateChannel" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "description": "The channel for all things", - "name": "general" -}' \ No newline at end of file diff --git a/examples/stream/createChannel/go/createChannel.go b/examples/stream/createChannel/go/createChannel.go deleted file mode 100755 index 9b3a6f6..0000000 --- a/examples/stream/createChannel/go/createChannel.go +++ /dev/null @@ -1,19 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/stream" -) - -// Create a channel with a given name and description. Channels are created automatically but -// this allows you to specify a description that's persisted for the lifetime of the channel. -func CreateChannel() { - streamService := stream.NewStreamService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := streamService.CreateChannel(&stream.CreateChannelRequest{ - Description: "The channel for all things", - Name: "general", - }) - fmt.Println(rsp, err) -} diff --git a/examples/stream/createChannel/node/createChannel.js b/examples/stream/createChannel/node/createChannel.js deleted file mode 100755 index c01b848..0000000 --- a/examples/stream/createChannel/node/createChannel.js +++ /dev/null @@ -1,14 +0,0 @@ -const { StreamService } = require("micro-js-client/stream"); - -// Create a channel with a given name and description. Channels are created automatically but -// this allows you to specify a description that's persisted for the lifetime of the channel. -async function createChannel() { - let streamService = new StreamService(process.env.MICRO_API_TOKEN); - let rsp = await streamService.createChannel({ - description: "The channel for all things", - name: "general", - }); - console.log(rsp); -} - -createChannel(); diff --git a/examples/stream/listChannels/curl/listChannels.sh b/examples/stream/listChannels/curl/listChannels.sh deleted file mode 100755 index f1de508..0000000 --- a/examples/stream/listChannels/curl/listChannels.sh +++ /dev/null @@ -1,4 +0,0 @@ -curl "http://localhost:8080/stream/ListChannels" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{}' \ No newline at end of file diff --git a/examples/stream/listChannels/go/listChannels.go b/examples/stream/listChannels/go/listChannels.go deleted file mode 100755 index 6a79dad..0000000 --- a/examples/stream/listChannels/go/listChannels.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/stream" -) - -// List all the active channels -func ListChannels() { - streamService := stream.NewStreamService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := streamService.ListChannels(&stream.ListChannelsRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/stream/listChannels/node/listChannels.js b/examples/stream/listChannels/node/listChannels.js deleted file mode 100755 index 07d3f7d..0000000 --- a/examples/stream/listChannels/node/listChannels.js +++ /dev/null @@ -1,10 +0,0 @@ -const { StreamService } = require("micro-js-client/stream"); - -// List all the active channels -async function listChannels() { - let streamService = new StreamService(process.env.MICRO_API_TOKEN); - let rsp = await streamService.listChannels({}); - console.log(rsp); -} - -listChannels(); diff --git a/examples/stream/listMessages/curl/listMessages.sh b/examples/stream/listMessages/curl/listMessages.sh deleted file mode 100755 index 1bd79f2..0000000 --- a/examples/stream/listMessages/curl/listMessages.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/stream/ListMessages" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "channel": "general" -}' \ No newline at end of file diff --git a/examples/stream/listMessages/go/listMessages.go b/examples/stream/listMessages/go/listMessages.go deleted file mode 100755 index 5dc0b40..0000000 --- a/examples/stream/listMessages/go/listMessages.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/stream" -) - -// List messages for a given channel -func ListMessages() { - streamService := stream.NewStreamService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := streamService.ListMessages(&stream.ListMessagesRequest{ - Channel: "general", - }) - fmt.Println(rsp, err) -} diff --git a/examples/stream/listMessages/node/listMessages.js b/examples/stream/listMessages/node/listMessages.js deleted file mode 100755 index f868e85..0000000 --- a/examples/stream/listMessages/node/listMessages.js +++ /dev/null @@ -1,12 +0,0 @@ -const { StreamService } = require("micro-js-client/stream"); - -// List messages for a given channel -async function listMessages() { - let streamService = new StreamService(process.env.MICRO_API_TOKEN); - let rsp = await streamService.listMessages({ - channel: "general", - }); - console.log(rsp); -} - -listMessages(); diff --git a/examples/stream/sendMessage/curl/sendAMessage.sh b/examples/stream/sendMessage/curl/sendAMessage.sh deleted file mode 100755 index ec4dc58..0000000 --- a/examples/stream/sendMessage/curl/sendAMessage.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "https://api.m3o.com/v1/stream/SendMessage" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "channel": "general", - "text": "Hey checkout this tweet https://twitter.com/m3oservices/status/1455291054295498752" -}' \ No newline at end of file diff --git a/examples/stream/sendMessage/curl/sendMessage.sh b/examples/stream/sendMessage/curl/sendMessage.sh deleted file mode 100755 index ba5e4a6..0000000 --- a/examples/stream/sendMessage/curl/sendMessage.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/stream/SendMessage" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "channel": "general", - "text": "Hey checkout this tweet https://twitter.com/m3oservices/status/1455291054295498752" -}' \ No newline at end of file diff --git a/examples/stream/sendMessage/go/sendAMessage.go b/examples/stream/sendMessage/go/sendAMessage.go deleted file mode 100755 index 121b7d9..0000000 --- a/examples/stream/sendMessage/go/sendAMessage.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/stream" -) - -// SendMessage a message to the stream. -func SendAmessage() { - streamService := stream.NewStreamService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := streamService.SendMessage(&stream.SendMessageRequest{ - Channel: "general", - Text: "Hey checkout this tweet https://twitter.com/m3oservices/status/1455291054295498752", - }) - fmt.Println(rsp, err) -} diff --git a/examples/stream/sendMessage/go/sendMessage.go b/examples/stream/sendMessage/go/sendMessage.go deleted file mode 100755 index 4ec3e5b..0000000 --- a/examples/stream/sendMessage/go/sendMessage.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/stream" -) - -// Send a message to the stream. -func SendMessage() { - streamService := stream.NewStreamService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := streamService.SendMessage(&stream.SendMessageRequest{ - Channel: "general", - Text: "Hey checkout this tweet https://twitter.com/m3oservices/status/1455291054295498752", - }) - fmt.Println(rsp, err) -} diff --git a/examples/stream/sendMessage/node/sendAMessage.js b/examples/stream/sendMessage/node/sendAMessage.js deleted file mode 100755 index 64d5512..0000000 --- a/examples/stream/sendMessage/node/sendAMessage.js +++ /dev/null @@ -1,13 +0,0 @@ -const { StreamService } = require("m3o/stream"); - -// SendMessage a message to the stream. -async function sendAmessage() { - let streamService = new StreamService(process.env.MICRO_API_TOKEN); - let rsp = await streamService.sendMessage({ - channel: "general", - text: "Hey checkout this tweet https://twitter.com/m3oservices/status/1455291054295498752", - }); - console.log(rsp); -} - -sendAmessage(); diff --git a/examples/stream/sendMessage/node/sendMessage.js b/examples/stream/sendMessage/node/sendMessage.js deleted file mode 100755 index 95b8a41..0000000 --- a/examples/stream/sendMessage/node/sendMessage.js +++ /dev/null @@ -1,13 +0,0 @@ -const { StreamService } = require("micro-js-client/stream"); - -// Send a message to the stream. -async function sendMessage() { - let streamService = new StreamService(process.env.MICRO_API_TOKEN); - let rsp = await streamService.sendMessage({ - channel: "general", - text: "Hey checkout this tweet https://twitter.com/m3oservices/status/1455291054295498752", - }); - console.log(rsp); -} - -sendMessage(); diff --git a/examples/sunnah/books/curl/getTheBooksWithinACollection.sh b/examples/sunnah/books/curl/getTheBooksWithinACollection.sh deleted file mode 100755 index 9d341af..0000000 --- a/examples/sunnah/books/curl/getTheBooksWithinACollection.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/sunnah/Books" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "collection": "bukhari" -}' \ No newline at end of file diff --git a/examples/sunnah/books/go/getTheBooksWithinACollection.go b/examples/sunnah/books/go/getTheBooksWithinACollection.go deleted file mode 100755 index 2b11fca..0000000 --- a/examples/sunnah/books/go/getTheBooksWithinACollection.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/sunnah" -) - -// Get a list of books from within a collection. A book can contain many chapters -// each with its own hadiths. -func GetTheBooksWithinAcollection() { - sunnahService := sunnah.NewSunnahService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := sunnahService.Books(&sunnah.BooksRequest{ - Collection: "bukhari", - }) - fmt.Println(rsp, err) -} diff --git a/examples/sunnah/books/node/getTheBooksWithinACollection.js b/examples/sunnah/books/node/getTheBooksWithinACollection.js deleted file mode 100755 index 06e5b48..0000000 --- a/examples/sunnah/books/node/getTheBooksWithinACollection.js +++ /dev/null @@ -1,13 +0,0 @@ -const { SunnahService } = require("micro-js-client/sunnah"); - -// Get a list of books from within a collection. A book can contain many chapters -// each with its own hadiths. -async function getTheBooksWithinAcollection() { - let sunnahService = new SunnahService(process.env.MICRO_API_TOKEN); - let rsp = await sunnahService.books({ - collection: "bukhari", - }); - console.log(rsp); -} - -getTheBooksWithinAcollection(); diff --git a/examples/sunnah/chapters/curl/listTheChaptersInABook.sh b/examples/sunnah/chapters/curl/listTheChaptersInABook.sh deleted file mode 100755 index fb45e32..0000000 --- a/examples/sunnah/chapters/curl/listTheChaptersInABook.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/sunnah/Chapters" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "book": 1, - "collection": "bukhari" -}' \ No newline at end of file diff --git a/examples/sunnah/chapters/go/listTheChaptersInABook.go b/examples/sunnah/chapters/go/listTheChaptersInABook.go deleted file mode 100755 index 56a1f26..0000000 --- a/examples/sunnah/chapters/go/listTheChaptersInABook.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/sunnah" -) - -// Get all the chapters of a given book within a collection. -func ListTheChaptersInAbook() { - sunnahService := sunnah.NewSunnahService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := sunnahService.Chapters(&sunnah.ChaptersRequest{ - Book: 1, - Collection: "bukhari", - }) - fmt.Println(rsp, err) -} diff --git a/examples/sunnah/chapters/node/listTheChaptersInABook.js b/examples/sunnah/chapters/node/listTheChaptersInABook.js deleted file mode 100755 index aa0d5fe..0000000 --- a/examples/sunnah/chapters/node/listTheChaptersInABook.js +++ /dev/null @@ -1,13 +0,0 @@ -const { SunnahService } = require("micro-js-client/sunnah"); - -// Get all the chapters of a given book within a collection. -async function listTheChaptersInAbook() { - let sunnahService = new SunnahService(process.env.MICRO_API_TOKEN); - let rsp = await sunnahService.chapters({ - book: 1, - collection: "bukhari", - }); - console.log(rsp); -} - -listTheChaptersInAbook(); diff --git a/examples/sunnah/collections/curl/listAvailableCollections.sh b/examples/sunnah/collections/curl/listAvailableCollections.sh deleted file mode 100755 index 6413372..0000000 --- a/examples/sunnah/collections/curl/listAvailableCollections.sh +++ /dev/null @@ -1,4 +0,0 @@ -curl "http://localhost:8080/sunnah/Collections" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{}' \ No newline at end of file diff --git a/examples/sunnah/collections/go/listAvailableCollections.go b/examples/sunnah/collections/go/listAvailableCollections.go deleted file mode 100755 index 9f294e7..0000000 --- a/examples/sunnah/collections/go/listAvailableCollections.go +++ /dev/null @@ -1,16 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/sunnah" -) - -// Get a list of available collections. A collection is -// a compilation of hadiths collected and written by an author. -func ListAvailableCollections() { - sunnahService := sunnah.NewSunnahService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := sunnahService.Collections(&sunnah.CollectionsRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/sunnah/collections/node/listAvailableCollections.js b/examples/sunnah/collections/node/listAvailableCollections.js deleted file mode 100755 index 9ebb121..0000000 --- a/examples/sunnah/collections/node/listAvailableCollections.js +++ /dev/null @@ -1,11 +0,0 @@ -const { SunnahService } = require("micro-js-client/sunnah"); - -// Get a list of available collections. A collection is -// a compilation of hadiths collected and written by an author. -async function listAvailableCollections() { - let sunnahService = new SunnahService(process.env.MICRO_API_TOKEN); - let rsp = await sunnahService.collections({}); - console.log(rsp); -} - -listAvailableCollections(); diff --git a/examples/sunnah/hadiths/curl/listTheHadithsInABook.sh b/examples/sunnah/hadiths/curl/listTheHadithsInABook.sh deleted file mode 100755 index 2a213fe..0000000 --- a/examples/sunnah/hadiths/curl/listTheHadithsInABook.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/sunnah/Hadiths" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "book": 1, - "collection": "bukhari" -}' \ No newline at end of file diff --git a/examples/sunnah/hadiths/go/listTheHadithsInABook.go b/examples/sunnah/hadiths/go/listTheHadithsInABook.go deleted file mode 100755 index 80a7456..0000000 --- a/examples/sunnah/hadiths/go/listTheHadithsInABook.go +++ /dev/null @@ -1,19 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/sunnah" -) - -// Hadiths returns a list of hadiths and their corresponding text for a -// given book within a collection. -func ListTheHadithsInAbook() { - sunnahService := sunnah.NewSunnahService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := sunnahService.Hadiths(&sunnah.HadithsRequest{ - Book: 1, - Collection: "bukhari", - }) - fmt.Println(rsp, err) -} diff --git a/examples/sunnah/hadiths/node/listTheHadithsInABook.js b/examples/sunnah/hadiths/node/listTheHadithsInABook.js deleted file mode 100755 index a4ff076..0000000 --- a/examples/sunnah/hadiths/node/listTheHadithsInABook.js +++ /dev/null @@ -1,14 +0,0 @@ -const { SunnahService } = require("micro-js-client/sunnah"); - -// Hadiths returns a list of hadiths and their corresponding text for a -// given book within a collection. -async function listTheHadithsInAbook() { - let sunnahService = new SunnahService(process.env.MICRO_API_TOKEN); - let rsp = await sunnahService.hadiths({ - book: 1, - collection: "bukhari", - }); - console.log(rsp); -} - -listTheHadithsInAbook(); diff --git a/examples/thumbnail/screenshot/curl/takeScreenshotOfAUrl.sh b/examples/thumbnail/screenshot/curl/takeScreenshotOfAUrl.sh deleted file mode 100755 index 32d7406..0000000 --- a/examples/thumbnail/screenshot/curl/takeScreenshotOfAUrl.sh +++ /dev/null @@ -1,8 +0,0 @@ -curl "http://localhost:8080/thumbnail/Screenshot" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "height": 600, - "url": "https://google.com", - "width": 600 -}' \ No newline at end of file diff --git a/examples/thumbnail/screenshot/go/takeScreenshotOfAUrl.go b/examples/thumbnail/screenshot/go/takeScreenshotOfAUrl.go deleted file mode 100755 index 84d2a31..0000000 --- a/examples/thumbnail/screenshot/go/takeScreenshotOfAUrl.go +++ /dev/null @@ -1,19 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/thumbnail" -) - -// Create a thumbnail screenshot by passing in a url, height and width -func TakeScreenshotOfAurl() { - thumbnailService := thumbnail.NewThumbnailService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := thumbnailService.Screenshot(&thumbnail.ScreenshotRequest{ - Height: 600, - Url: "https://google.com", - Width: 600, - }) - fmt.Println(rsp, err) -} diff --git a/examples/thumbnail/screenshot/node/takeScreenshotOfAUrl.js b/examples/thumbnail/screenshot/node/takeScreenshotOfAUrl.js deleted file mode 100755 index c0c38d8..0000000 --- a/examples/thumbnail/screenshot/node/takeScreenshotOfAUrl.js +++ /dev/null @@ -1,14 +0,0 @@ -const { ThumbnailService } = require("micro-js-client/thumbnail"); - -// Create a thumbnail screenshot by passing in a url, height and width -async function takeScreenshotOfAurl() { - let thumbnailService = new ThumbnailService(process.env.MICRO_API_TOKEN); - let rsp = await thumbnailService.screenshot({ - height: 600, - url: "https://google.com", - width: 600, - }); - console.log(rsp); -} - -takeScreenshotOfAurl(); diff --git a/examples/time/now/curl/returnsCurrentTimeOptionallyWithLocation.sh b/examples/time/now/curl/returnsCurrentTimeOptionallyWithLocation.sh deleted file mode 100755 index d7afbfb..0000000 --- a/examples/time/now/curl/returnsCurrentTimeOptionallyWithLocation.sh +++ /dev/null @@ -1,4 +0,0 @@ -curl "http://localhost:8080/time/Now" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{}' \ No newline at end of file diff --git a/examples/time/now/go/returnsCurrentTimeOptionallyWithLocation.go b/examples/time/now/go/returnsCurrentTimeOptionallyWithLocation.go deleted file mode 100755 index 1a7d0ab..0000000 --- a/examples/time/now/go/returnsCurrentTimeOptionallyWithLocation.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/time" -) - -// Get the current time -func ReturnsCurrentTimeOptionallyWithLocation() { - timeService := time.NewTimeService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := timeService.Now(&time.NowRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/time/now/node/returnsCurrentTimeOptionallyWithLocation.js b/examples/time/now/node/returnsCurrentTimeOptionallyWithLocation.js deleted file mode 100755 index b33bade..0000000 --- a/examples/time/now/node/returnsCurrentTimeOptionallyWithLocation.js +++ /dev/null @@ -1,10 +0,0 @@ -const { TimeService } = require("micro-js-client/time"); - -// Get the current time -async function returnsCurrentTimeOptionallyWithLocation() { - let timeService = new TimeService(process.env.MICRO_API_TOKEN); - let rsp = await timeService.now({}); - console.log(rsp); -} - -returnsCurrentTimeOptionallyWithLocation(); diff --git a/examples/time/zone/curl/getTheTimezoneInfoForASpecificLocation.sh b/examples/time/zone/curl/getTheTimezoneInfoForASpecificLocation.sh deleted file mode 100755 index 0565114..0000000 --- a/examples/time/zone/curl/getTheTimezoneInfoForASpecificLocation.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/time/Zone" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "location": "London" -}' \ No newline at end of file diff --git a/examples/time/zone/go/getTheTimezoneInfoForASpecificLocation.go b/examples/time/zone/go/getTheTimezoneInfoForASpecificLocation.go deleted file mode 100755 index b3759b1..0000000 --- a/examples/time/zone/go/getTheTimezoneInfoForASpecificLocation.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/time" -) - -// Get the timezone info for a specific location -func GetTheTimezoneInfoForAspecificLocation() { - timeService := time.NewTimeService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := timeService.Zone(&time.ZoneRequest{ - Location: "London", - }) - fmt.Println(rsp, err) -} diff --git a/examples/time/zone/node/getTheTimezoneInfoForASpecificLocation.js b/examples/time/zone/node/getTheTimezoneInfoForASpecificLocation.js deleted file mode 100755 index c1162dd..0000000 --- a/examples/time/zone/node/getTheTimezoneInfoForASpecificLocation.js +++ /dev/null @@ -1,12 +0,0 @@ -const { TimeService } = require("micro-js-client/time"); - -// Get the timezone info for a specific location -async function getTheTimezoneInfoForAspecificLocation() { - let timeService = new TimeService(process.env.MICRO_API_TOKEN); - let rsp = await timeService.zone({ - location: "London", - }); - console.log(rsp); -} - -getTheTimezoneInfoForAspecificLocation(); diff --git a/examples/twitter/search/curl/searchForTweets.sh b/examples/twitter/search/curl/searchForTweets.sh deleted file mode 100755 index a03b988..0000000 --- a/examples/twitter/search/curl/searchForTweets.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/twitter/Search" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "query": "cats" -}' \ No newline at end of file diff --git a/examples/twitter/search/go/searchForTweets.go b/examples/twitter/search/go/searchForTweets.go deleted file mode 100755 index eab16b2..0000000 --- a/examples/twitter/search/go/searchForTweets.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/twitter" -) - -// Search for tweets with a simple query -func SearchForTweets() { - twitterService := twitter.NewTwitterService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := twitterService.Search(&twitter.SearchRequest{ - Query: "cats", - }) - fmt.Println(rsp, err) -} diff --git a/examples/twitter/search/node/searchForTweets.js b/examples/twitter/search/node/searchForTweets.js deleted file mode 100755 index 91544c2..0000000 --- a/examples/twitter/search/node/searchForTweets.js +++ /dev/null @@ -1,12 +0,0 @@ -const { TwitterService } = require("micro-js-client/twitter"); - -// Search for tweets with a simple query -async function searchForTweets() { - let twitterService = new TwitterService(process.env.MICRO_API_TOKEN); - let rsp = await twitterService.search({ - query: "cats", - }); - console.log(rsp); -} - -searchForTweets(); diff --git a/examples/twitter/timeline/curl/getATwitterTimeline.sh b/examples/twitter/timeline/curl/getATwitterTimeline.sh deleted file mode 100755 index be3c833..0000000 --- a/examples/twitter/timeline/curl/getATwitterTimeline.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/twitter/Timeline" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "limit": 1, - "username": "m3oservices" -}' \ No newline at end of file diff --git a/examples/twitter/timeline/go/getATwitterTimeline.go b/examples/twitter/timeline/go/getATwitterTimeline.go deleted file mode 100755 index cae4794..0000000 --- a/examples/twitter/timeline/go/getATwitterTimeline.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/twitter" -) - -// Get the timeline for a given user -func GetAtwitterTimeline() { - twitterService := twitter.NewTwitterService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := twitterService.Timeline(&twitter.TimelineRequest{ - Limit: 1, - Username: "m3oservices", - }) - fmt.Println(rsp, err) -} diff --git a/examples/twitter/timeline/node/getATwitterTimeline.js b/examples/twitter/timeline/node/getATwitterTimeline.js deleted file mode 100755 index 127d8f8..0000000 --- a/examples/twitter/timeline/node/getATwitterTimeline.js +++ /dev/null @@ -1,13 +0,0 @@ -const { TwitterService } = require("micro-js-client/twitter"); - -// Get the timeline for a given user -async function getAtwitterTimeline() { - let twitterService = new TwitterService(process.env.MICRO_API_TOKEN); - let rsp = await twitterService.timeline({ - limit: 1, - username: "m3oservices", - }); - console.log(rsp); -} - -getAtwitterTimeline(); diff --git a/examples/twitter/trends/curl/getTheCurrentGlobalTrendingTopics.sh b/examples/twitter/trends/curl/getTheCurrentGlobalTrendingTopics.sh deleted file mode 100755 index 4088f04..0000000 --- a/examples/twitter/trends/curl/getTheCurrentGlobalTrendingTopics.sh +++ /dev/null @@ -1,4 +0,0 @@ -curl "http://localhost:8080/twitter/Trends" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{}' \ No newline at end of file diff --git a/examples/twitter/trends/go/getTheCurrentGlobalTrendingTopics.go b/examples/twitter/trends/go/getTheCurrentGlobalTrendingTopics.go deleted file mode 100755 index 6dead90..0000000 --- a/examples/twitter/trends/go/getTheCurrentGlobalTrendingTopics.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/twitter" -) - -// Get the current global trending topics -func GetTheCurrentGlobalTrendingTopics() { - twitterService := twitter.NewTwitterService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := twitterService.Trends(&twitter.TrendsRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/twitter/trends/node/getTheCurrentGlobalTrendingTopics.js b/examples/twitter/trends/node/getTheCurrentGlobalTrendingTopics.js deleted file mode 100755 index 1435950..0000000 --- a/examples/twitter/trends/node/getTheCurrentGlobalTrendingTopics.js +++ /dev/null @@ -1,10 +0,0 @@ -const { TwitterService } = require("micro-js-client/twitter"); - -// Get the current global trending topics -async function getTheCurrentGlobalTrendingTopics() { - let twitterService = new TwitterService(process.env.MICRO_API_TOKEN); - let rsp = await twitterService.trends({}); - console.log(rsp); -} - -getTheCurrentGlobalTrendingTopics(); diff --git a/examples/twitter/user/curl/getAUsersTwitterProfile.sh b/examples/twitter/user/curl/getAUsersTwitterProfile.sh deleted file mode 100755 index 34cdac6..0000000 --- a/examples/twitter/user/curl/getAUsersTwitterProfile.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/twitter/User" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "username": "crufter" -}' \ No newline at end of file diff --git a/examples/twitter/user/go/getAUsersTwitterProfile.go b/examples/twitter/user/go/getAUsersTwitterProfile.go deleted file mode 100755 index d8b1eda..0000000 --- a/examples/twitter/user/go/getAUsersTwitterProfile.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/twitter" -) - -// Get a user's twitter profile -func GetAusersTwitterProfile() { - twitterService := twitter.NewTwitterService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := twitterService.User(&twitter.UserRequest{ - Username: "crufter", - }) - fmt.Println(rsp, err) -} diff --git a/examples/twitter/user/node/getAUsersTwitterProfile.js b/examples/twitter/user/node/getAUsersTwitterProfile.js deleted file mode 100755 index b07d06a..0000000 --- a/examples/twitter/user/node/getAUsersTwitterProfile.js +++ /dev/null @@ -1,12 +0,0 @@ -const { TwitterService } = require("micro-js-client/twitter"); - -// Get a user's twitter profile -async function getAusersTwitterProfile() { - let twitterService = new TwitterService(process.env.MICRO_API_TOKEN); - let rsp = await twitterService.user({ - username: "crufter", - }); - console.log(rsp); -} - -getAusersTwitterProfile(); diff --git a/examples/url/list/curl/listYourShortenedUrls.sh b/examples/url/list/curl/listYourShortenedUrls.sh deleted file mode 100755 index a99085c..0000000 --- a/examples/url/list/curl/listYourShortenedUrls.sh +++ /dev/null @@ -1,4 +0,0 @@ -curl "http://localhost:8080/url/List" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{}' \ No newline at end of file diff --git a/examples/url/list/go/listYourShortenedUrls.go b/examples/url/list/go/listYourShortenedUrls.go deleted file mode 100755 index 505c777..0000000 --- a/examples/url/list/go/listYourShortenedUrls.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/url" -) - -// List information on all the shortened URLs that you have created -func ListYourShortenedUrls() { - urlService := url.NewUrlService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := urlService.List(&url.ListRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/url/list/node/listYourShortenedUrls.js b/examples/url/list/node/listYourShortenedUrls.js deleted file mode 100755 index fde7c6e..0000000 --- a/examples/url/list/node/listYourShortenedUrls.js +++ /dev/null @@ -1,10 +0,0 @@ -const { UrlService } = require("micro-js-client/url"); - -// List information on all the shortened URLs that you have created -async function listYourShortenedUrls() { - let urlService = new UrlService(process.env.MICRO_API_TOKEN); - let rsp = await urlService.list({}); - console.log(rsp); -} - -listYourShortenedUrls(); diff --git a/examples/url/proxy/curl/resolveAShortUrlToALongDestinationUrl.sh b/examples/url/proxy/curl/resolveAShortUrlToALongDestinationUrl.sh deleted file mode 100755 index acd071c..0000000 --- a/examples/url/proxy/curl/resolveAShortUrlToALongDestinationUrl.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/url/Proxy" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "shortURL": "https://m3o.one/u/ck6SGVkYp" -}' \ No newline at end of file diff --git a/examples/url/proxy/go/resolveAShortUrlToALongDestinationUrl.go b/examples/url/proxy/go/resolveAShortUrlToALongDestinationUrl.go deleted file mode 100755 index 6aafca9..0000000 --- a/examples/url/proxy/go/resolveAShortUrlToALongDestinationUrl.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/url" -) - -// Proxy returns the destination URL of a short URL. -func ResolveAshortUrlToAlongDestinationUrl() { - urlService := url.NewUrlService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := urlService.Proxy(&url.ProxyRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/url/proxy/node/resolveAShortUrlToALongDestinationUrl.js b/examples/url/proxy/node/resolveAShortUrlToALongDestinationUrl.js deleted file mode 100755 index e6b94d7..0000000 --- a/examples/url/proxy/node/resolveAShortUrlToALongDestinationUrl.js +++ /dev/null @@ -1,12 +0,0 @@ -const { UrlService } = require("micro-js-client/url"); - -// Proxy returns the destination URL of a short URL. -async function resolveAshortUrlToAlongDestinationUrl() { - let urlService = new UrlService(process.env.MICRO_API_TOKEN); - let rsp = await urlService.proxy({ - shortURL: "https://m3o.one/u/ck6SGVkYp", - }); - console.log(rsp); -} - -resolveAshortUrlToAlongDestinationUrl(); diff --git a/examples/url/shorten/curl/shortenALongUrl.sh b/examples/url/shorten/curl/shortenALongUrl.sh deleted file mode 100755 index e29a2ea..0000000 --- a/examples/url/shorten/curl/shortenALongUrl.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/url/Shorten" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "destinationURL": "https://mysite.com/this-is-a-rather-long-web-address" -}' \ No newline at end of file diff --git a/examples/url/shorten/go/shortenALongUrl.go b/examples/url/shorten/go/shortenALongUrl.go deleted file mode 100755 index 081153e..0000000 --- a/examples/url/shorten/go/shortenALongUrl.go +++ /dev/null @@ -1,15 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/url" -) - -// Shortens a destination URL and returns a full short URL. -func ShortenAlongUrl() { - urlService := url.NewUrlService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := urlService.Shorten(&url.ShortenRequest{}) - fmt.Println(rsp, err) -} diff --git a/examples/url/shorten/node/shortenALongUrl.js b/examples/url/shorten/node/shortenALongUrl.js deleted file mode 100755 index 5ba97ab..0000000 --- a/examples/url/shorten/node/shortenALongUrl.js +++ /dev/null @@ -1,12 +0,0 @@ -const { UrlService } = require("micro-js-client/url"); - -// Shortens a destination URL and returns a full short URL. -async function shortenAlongUrl() { - let urlService = new UrlService(process.env.MICRO_API_TOKEN); - let rsp = await urlService.shorten({ - destinationURL: "https://mysite.com/this-is-a-rather-long-web-address", - }); - console.log(rsp); -} - -shortenAlongUrl(); diff --git a/examples/user/create/curl/createAnAccount.sh b/examples/user/create/curl/createAnAccount.sh deleted file mode 100755 index 6e568de..0000000 --- a/examples/user/create/curl/createAnAccount.sh +++ /dev/null @@ -1,9 +0,0 @@ -curl "http://localhost:8080/user/Create" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "email": "joe@example.com", - "id": "user-1", - "password": "Password1", - "username": "joe" -}' \ No newline at end of file diff --git a/examples/user/create/go/createAnAccount.go b/examples/user/create/go/createAnAccount.go deleted file mode 100755 index d377e75..0000000 --- a/examples/user/create/go/createAnAccount.go +++ /dev/null @@ -1,20 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/user" -) - -// Create a new user account. The email address and username for the account must be unique. -func CreateAnAccount() { - userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := userService.Create(&user.CreateRequest{ - Email: "joe@example.com", - Id: "user-1", - Password: "Password1", - Username: "joe", - }) - fmt.Println(rsp, err) -} diff --git a/examples/user/create/node/createAnAccount.js b/examples/user/create/node/createAnAccount.js deleted file mode 100755 index e4cd279..0000000 --- a/examples/user/create/node/createAnAccount.js +++ /dev/null @@ -1,15 +0,0 @@ -const { UserService } = require("micro-js-client/user"); - -// Create a new user account. The email address and username for the account must be unique. -async function createAnAccount() { - let userService = new UserService(process.env.MICRO_API_TOKEN); - let rsp = await userService.create({ - email: "joe@example.com", - id: "user-1", - password: "Password1", - username: "joe", - }); - console.log(rsp); -} - -createAnAccount(); diff --git a/examples/user/delete/curl/deleteUserAccount.sh b/examples/user/delete/curl/deleteUserAccount.sh deleted file mode 100755 index 6d908b8..0000000 --- a/examples/user/delete/curl/deleteUserAccount.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/user/Delete" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "id": "8b98acbe-0b6a-4d66-a414-5ffbf666786f" -}' \ No newline at end of file diff --git a/examples/user/delete/go/deleteUserAccount.go b/examples/user/delete/go/deleteUserAccount.go deleted file mode 100755 index d6f0e7d..0000000 --- a/examples/user/delete/go/deleteUserAccount.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/user" -) - -// Delete an account by id -func DeleteUserAccount() { - userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := userService.Delete(&user.DeleteRequest{ - Id: "8b98acbe-0b6a-4d66-a414-5ffbf666786f", - }) - fmt.Println(rsp, err) -} diff --git a/examples/user/delete/node/deleteUserAccount.js b/examples/user/delete/node/deleteUserAccount.js deleted file mode 100755 index 891be66..0000000 --- a/examples/user/delete/node/deleteUserAccount.js +++ /dev/null @@ -1,12 +0,0 @@ -const { UserService } = require("micro-js-client/user"); - -// Delete an account by id -async function deleteUserAccount() { - let userService = new UserService(process.env.MICRO_API_TOKEN); - let rsp = await userService.delete({ - id: "8b98acbe-0b6a-4d66-a414-5ffbf666786f", - }); - console.log(rsp); -} - -deleteUserAccount(); diff --git a/examples/user/login/curl/logAUserIn.sh b/examples/user/login/curl/logAUserIn.sh deleted file mode 100755 index 8a1bc42..0000000 --- a/examples/user/login/curl/logAUserIn.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/user/Login" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "email": "joe@example.com", - "password": "Password1" -}' \ No newline at end of file diff --git a/examples/user/login/go/logAUserIn.go b/examples/user/login/go/logAUserIn.go deleted file mode 100755 index 678a7bc..0000000 --- a/examples/user/login/go/logAUserIn.go +++ /dev/null @@ -1,19 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/user" -) - -// Login using username or email. The response will return a new session for successful login, -// 401 in the case of login failure and 500 for any other error -func LogAuserIn() { - userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := userService.Login(&user.LoginRequest{ - Email: "joe@example.com", - Password: "Password1", - }) - fmt.Println(rsp, err) -} diff --git a/examples/user/login/node/logAUserIn.js b/examples/user/login/node/logAUserIn.js deleted file mode 100755 index 6a70046..0000000 --- a/examples/user/login/node/logAUserIn.js +++ /dev/null @@ -1,14 +0,0 @@ -const { UserService } = require("micro-js-client/user"); - -// Login using username or email. The response will return a new session for successful login, -// 401 in the case of login failure and 500 for any other error -async function logAuserIn() { - let userService = new UserService(process.env.MICRO_API_TOKEN); - let rsp = await userService.login({ - email: "joe@example.com", - password: "Password1", - }); - console.log(rsp); -} - -logAuserIn(); diff --git a/examples/user/logout/curl/logAUserOut.sh b/examples/user/logout/curl/logAUserOut.sh deleted file mode 100755 index eb3cad1..0000000 --- a/examples/user/logout/curl/logAUserOut.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/user/Logout" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "sessionId": "df91a612-5b24-4634-99ff-240220ab8f55" -}' \ No newline at end of file diff --git a/examples/user/logout/go/logAUserOut.go b/examples/user/logout/go/logAUserOut.go deleted file mode 100755 index c16c613..0000000 --- a/examples/user/logout/go/logAUserOut.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/user" -) - -// Logout a user account -func LogAuserOut() { - userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := userService.Logout(&user.LogoutRequest{ - SessionId: "df91a612-5b24-4634-99ff-240220ab8f55", - }) - fmt.Println(rsp, err) -} diff --git a/examples/user/logout/node/logAUserOut.js b/examples/user/logout/node/logAUserOut.js deleted file mode 100755 index ff9c387..0000000 --- a/examples/user/logout/node/logAUserOut.js +++ /dev/null @@ -1,12 +0,0 @@ -const { UserService } = require("micro-js-client/user"); - -// Logout a user account -async function logAuserOut() { - let userService = new UserService(process.env.MICRO_API_TOKEN); - let rsp = await userService.logout({ - sessionId: "df91a612-5b24-4634-99ff-240220ab8f55", - }); - console.log(rsp); -} - -logAuserOut(); diff --git a/examples/user/read/curl/readAccountByEmail.sh b/examples/user/read/curl/readAccountByEmail.sh deleted file mode 100755 index 097a61c..0000000 --- a/examples/user/read/curl/readAccountByEmail.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/user/Read" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "email": "joe@example.com" -}' \ No newline at end of file diff --git a/examples/user/read/curl/readAccountByUsernameOrEmail.sh b/examples/user/read/curl/readAccountByUsernameOrEmail.sh deleted file mode 100755 index f50c592..0000000 --- a/examples/user/read/curl/readAccountByUsernameOrEmail.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/user/Read" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "username": "joe" -}' \ No newline at end of file diff --git a/examples/user/read/curl/readAnAccountById.sh b/examples/user/read/curl/readAnAccountById.sh deleted file mode 100755 index f4fd1c2..0000000 --- a/examples/user/read/curl/readAnAccountById.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/user/Read" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "id": "user-1" -}' \ No newline at end of file diff --git a/examples/user/read/go/readAccountByEmail.go b/examples/user/read/go/readAccountByEmail.go deleted file mode 100755 index fc7a3cf..0000000 --- a/examples/user/read/go/readAccountByEmail.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/user" -) - -// Read an account by id, username or email. Only one need to be specified. -func ReadAccountByEmail() { - userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := userService.Read(&user.ReadRequest{ - Email: "joe@example.com", - }) - fmt.Println(rsp, err) -} diff --git a/examples/user/read/go/readAccountByUsernameOrEmail.go b/examples/user/read/go/readAccountByUsernameOrEmail.go deleted file mode 100755 index fc18396..0000000 --- a/examples/user/read/go/readAccountByUsernameOrEmail.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/user" -) - -// Read an account by id, username or email. Only one need to be specified. -func ReadAccountByUsernameOrEmail() { - userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := userService.Read(&user.ReadRequest{ - Username: "joe", - }) - fmt.Println(rsp, err) -} diff --git a/examples/user/read/go/readAnAccountById.go b/examples/user/read/go/readAnAccountById.go deleted file mode 100755 index 64fa3f6..0000000 --- a/examples/user/read/go/readAnAccountById.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/user" -) - -// Read an account by id, username or email. Only one need to be specified. -func ReadAnAccountById() { - userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := userService.Read(&user.ReadRequest{ - Id: "user-1", - }) - fmt.Println(rsp, err) -} diff --git a/examples/user/read/node/readAccountByEmail.js b/examples/user/read/node/readAccountByEmail.js deleted file mode 100755 index 8f3b3a5..0000000 --- a/examples/user/read/node/readAccountByEmail.js +++ /dev/null @@ -1,12 +0,0 @@ -const { UserService } = require("micro-js-client/user"); - -// Read an account by id, username or email. Only one need to be specified. -async function readAccountByEmail() { - let userService = new UserService(process.env.MICRO_API_TOKEN); - let rsp = await userService.read({ - email: "joe@example.com", - }); - console.log(rsp); -} - -readAccountByEmail(); diff --git a/examples/user/read/node/readAccountByUsernameOrEmail.js b/examples/user/read/node/readAccountByUsernameOrEmail.js deleted file mode 100755 index 8f07caf..0000000 --- a/examples/user/read/node/readAccountByUsernameOrEmail.js +++ /dev/null @@ -1,12 +0,0 @@ -const { UserService } = require("micro-js-client/user"); - -// Read an account by id, username or email. Only one need to be specified. -async function readAccountByUsernameOrEmail() { - let userService = new UserService(process.env.MICRO_API_TOKEN); - let rsp = await userService.read({ - username: "joe", - }); - console.log(rsp); -} - -readAccountByUsernameOrEmail(); diff --git a/examples/user/read/node/readAnAccountById.js b/examples/user/read/node/readAnAccountById.js deleted file mode 100755 index 9bf7afb..0000000 --- a/examples/user/read/node/readAnAccountById.js +++ /dev/null @@ -1,12 +0,0 @@ -const { UserService } = require("micro-js-client/user"); - -// Read an account by id, username or email. Only one need to be specified. -async function readAnAccountById() { - let userService = new UserService(process.env.MICRO_API_TOKEN); - let rsp = await userService.read({ - id: "user-1", - }); - console.log(rsp); -} - -readAnAccountById(); diff --git a/examples/user/readSession/curl/readASessionByTheSessionId.sh b/examples/user/readSession/curl/readASessionByTheSessionId.sh deleted file mode 100755 index d2609c2..0000000 --- a/examples/user/readSession/curl/readASessionByTheSessionId.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/user/ReadSession" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "sessionId": "df91a612-5b24-4634-99ff-240220ab8f55" -}' \ No newline at end of file diff --git a/examples/user/readSession/go/readASessionByTheSessionId.go b/examples/user/readSession/go/readASessionByTheSessionId.go deleted file mode 100755 index 6805b38..0000000 --- a/examples/user/readSession/go/readASessionByTheSessionId.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/user" -) - -// Read a session by the session id. In the event it has expired or is not found and error is returned. -func ReadAsessionByTheSessionId() { - userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := userService.ReadSession(&user.ReadSessionRequest{ - SessionId: "df91a612-5b24-4634-99ff-240220ab8f55", - }) - fmt.Println(rsp, err) -} diff --git a/examples/user/readSession/node/readASessionByTheSessionId.js b/examples/user/readSession/node/readASessionByTheSessionId.js deleted file mode 100755 index a605ab7..0000000 --- a/examples/user/readSession/node/readASessionByTheSessionId.js +++ /dev/null @@ -1,12 +0,0 @@ -const { UserService } = require("micro-js-client/user"); - -// Read a session by the session id. In the event it has expired or is not found and error is returned. -async function readAsessionByTheSessionId() { - let userService = new UserService(process.env.MICRO_API_TOKEN); - let rsp = await userService.readSession({ - sessionId: "df91a612-5b24-4634-99ff-240220ab8f55", - }); - console.log(rsp); -} - -readAsessionByTheSessionId(); diff --git a/examples/user/resetPassword/curl/resetPassword.sh b/examples/user/resetPassword/curl/resetPassword.sh deleted file mode 100755 index ff94a24..0000000 --- a/examples/user/resetPassword/curl/resetPassword.sh +++ /dev/null @@ -1,9 +0,0 @@ -curl "http://localhost:8080/user/ResetPassword" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "code": "012345", - "confirmPassword": "NewPassword1", - "email": "joe@example.com", - "newPassword": "NewPassword1" -}' \ No newline at end of file diff --git a/examples/user/resetPassword/go/resetPassword.go b/examples/user/resetPassword/go/resetPassword.go deleted file mode 100755 index 64bf3ab..0000000 --- a/examples/user/resetPassword/go/resetPassword.go +++ /dev/null @@ -1,20 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/user" -) - -// Reset password with the code sent by the "SendPasswordResetEmail" endoint. -func ResetPassword() { - userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := userService.ResetPassword(&user.ResetPasswordRequest{ - Code: "012345", - ConfirmPassword: "NewPassword1", - Email: "joe@example.com", - NewPassword: "NewPassword1", - }) - fmt.Println(rsp, err) -} diff --git a/examples/user/resetPassword/node/resetPassword.js b/examples/user/resetPassword/node/resetPassword.js deleted file mode 100755 index 0f47c1c..0000000 --- a/examples/user/resetPassword/node/resetPassword.js +++ /dev/null @@ -1,15 +0,0 @@ -const { UserService } = require("micro-js-client/user"); - -// Reset password with the code sent by the "SendPasswordResetEmail" endoint. -async function resetPassword() { - let userService = new UserService(process.env.MICRO_API_TOKEN); - let rsp = await userService.resetPassword({ - code: "012345", - confirmPassword: "NewPassword1", - email: "joe@example.com", - newPassword: "NewPassword1", - }); - console.log(rsp); -} - -resetPassword(); diff --git a/examples/user/sendPasswordResetEmail/curl/sendPasswordResetEmail.sh b/examples/user/sendPasswordResetEmail/curl/sendPasswordResetEmail.sh deleted file mode 100755 index 69e0ba2..0000000 --- a/examples/user/sendPasswordResetEmail/curl/sendPasswordResetEmail.sh +++ /dev/null @@ -1,9 +0,0 @@ -curl "http://localhost:8080/user/SendPasswordResetEmail" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "email": "joe@example.com", - "fromName": "Awesome Dot Com", - "subject": "Password reset", - "textContent": "Hi there,\n click here to reset your password: myapp.com/reset/code?=$code" -}' \ No newline at end of file diff --git a/examples/user/sendPasswordResetEmail/go/sendPasswordResetEmail.go b/examples/user/sendPasswordResetEmail/go/sendPasswordResetEmail.go deleted file mode 100755 index 209fbef..0000000 --- a/examples/user/sendPasswordResetEmail/go/sendPasswordResetEmail.go +++ /dev/null @@ -1,22 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/user" -) - -// Send an email with a verification code to reset password. -// Call "ResetPassword" endpoint once user provides the code. -func SendPasswordResetEmail() { - userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := userService.SendPasswordResetEmail(&user.SendPasswordResetEmailRequest{ - Email: "joe@example.com", - FromName: "Awesome Dot Com", - Subject: "Password reset", - TextContent: `Hi there, - click here to reset your password: myapp.com/reset/code?=$code`, - }) - fmt.Println(rsp, err) -} diff --git a/examples/user/sendPasswordResetEmail/node/sendPasswordResetEmail.js b/examples/user/sendPasswordResetEmail/node/sendPasswordResetEmail.js deleted file mode 100755 index b0a8299..0000000 --- a/examples/user/sendPasswordResetEmail/node/sendPasswordResetEmail.js +++ /dev/null @@ -1,17 +0,0 @@ -const { UserService } = require("micro-js-client/user"); - -// Send an email with a verification code to reset password. -// Call "ResetPassword" endpoint once user provides the code. -async function sendPasswordResetEmail() { - let userService = new UserService(process.env.MICRO_API_TOKEN); - let rsp = await userService.sendPasswordResetEmail({ - email: "joe@example.com", - fromName: "Awesome Dot Com", - subject: "Password reset", - textContent: - "Hi there,\n click here to reset your password: myapp.com/reset/code?=$code", - }); - console.log(rsp); -} - -sendPasswordResetEmail(); diff --git a/examples/user/sendVerificationEmail/curl/sendVerificationEmail.sh b/examples/user/sendVerificationEmail/curl/sendVerificationEmail.sh deleted file mode 100755 index 6b9beb7..0000000 --- a/examples/user/sendVerificationEmail/curl/sendVerificationEmail.sh +++ /dev/null @@ -1,11 +0,0 @@ -curl "http://localhost:8080/user/SendVerificationEmail" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "email": "joe@example.com", - "failureRedirectUrl": "https://m3o.com/verification-failed", - "fromName": "Awesome Dot Com", - "redirectUrl": "https://m3o.com", - "subject": "Email verification", - "textContent": "Hi there,\n\nPlease verify your email by clicking this link: $micro_verification_link" -}' \ No newline at end of file diff --git a/examples/user/sendVerificationEmail/go/sendVerificationEmail.go b/examples/user/sendVerificationEmail/go/sendVerificationEmail.go deleted file mode 100755 index 7e65229..0000000 --- a/examples/user/sendVerificationEmail/go/sendVerificationEmail.go +++ /dev/null @@ -1,30 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/user" -) - -// Send a verification email -// to the user being signed up. Email from will be from 'noreply@email.m3ocontent.com', -// but you can provide the title and contents. -// The verification link will be injected in to the email as a template variable, $micro_verification_link. -// Example: 'Hi there, welcome onboard! Use the link below to verify your email: $micro_verification_link' -// The variable will be replaced with an actual url that will look similar to this: -// 'https://user.m3o.com/user/verify?token=a-verification-token&redirectUrl=your-redir-url' -func SendVerificationEmail() { - userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := userService.SendVerificationEmail(&user.SendVerificationEmailRequest{ - Email: "joe@example.com", - FailureRedirectUrl: "https://m3o.com/verification-failed", - FromName: "Awesome Dot Com", - RedirectUrl: "https://m3o.com", - Subject: "Email verification", - TextContent: `Hi there, - -Please verify your email by clicking this link: $micro_verification_link`, - }) - fmt.Println(rsp, err) -} diff --git a/examples/user/sendVerificationEmail/node/sendVerificationEmail.js b/examples/user/sendVerificationEmail/node/sendVerificationEmail.js deleted file mode 100755 index 161a9f1..0000000 --- a/examples/user/sendVerificationEmail/node/sendVerificationEmail.js +++ /dev/null @@ -1,24 +0,0 @@ -const { UserService } = require("micro-js-client/user"); - -// Send a verification email -// to the user being signed up. Email from will be from 'noreply@email.m3ocontent.com', -// but you can provide the title and contents. -// The verification link will be injected in to the email as a template variable, $micro_verification_link. -// Example: 'Hi there, welcome onboard! Use the link below to verify your email: $micro_verification_link' -// The variable will be replaced with an actual url that will look similar to this: -// 'https://user.m3o.com/user/verify?token=a-verification-token&redirectUrl=your-redir-url' -async function sendVerificationEmail() { - let userService = new UserService(process.env.MICRO_API_TOKEN); - let rsp = await userService.sendVerificationEmail({ - email: "joe@example.com", - failureRedirectUrl: "https://m3o.com/verification-failed", - fromName: "Awesome Dot Com", - redirectUrl: "https://m3o.com", - subject: "Email verification", - textContent: - "Hi there,\n\nPlease verify your email by clicking this link: $micro_verification_link", - }); - console.log(rsp); -} - -sendVerificationEmail(); diff --git a/examples/user/update/curl/updateAnAccount.sh b/examples/user/update/curl/updateAnAccount.sh deleted file mode 100755 index ab06dab..0000000 --- a/examples/user/update/curl/updateAnAccount.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/user/Update" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "email": "joe+2@example.com", - "id": "user-1" -}' \ No newline at end of file diff --git a/examples/user/update/go/updateAnAccount.go b/examples/user/update/go/updateAnAccount.go deleted file mode 100755 index e805f96..0000000 --- a/examples/user/update/go/updateAnAccount.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/user" -) - -// Update the account username or email -func UpdateAnAccount() { - userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := userService.Update(&user.UpdateRequest{ - Email: "joe+2@example.com", - Id: "user-1", - }) - fmt.Println(rsp, err) -} diff --git a/examples/user/update/node/updateAnAccount.js b/examples/user/update/node/updateAnAccount.js deleted file mode 100755 index 4bb0f65..0000000 --- a/examples/user/update/node/updateAnAccount.js +++ /dev/null @@ -1,13 +0,0 @@ -const { UserService } = require("micro-js-client/user"); - -// Update the account username or email -async function updateAnAccount() { - let userService = new UserService(process.env.MICRO_API_TOKEN); - let rsp = await userService.update({ - email: "joe+2@example.com", - id: "user-1", - }); - console.log(rsp); -} - -updateAnAccount(); diff --git a/examples/user/updatePassword/curl/updateTheAccountPassword.sh b/examples/user/updatePassword/curl/updateTheAccountPassword.sh deleted file mode 100755 index c677e15..0000000 --- a/examples/user/updatePassword/curl/updateTheAccountPassword.sh +++ /dev/null @@ -1,9 +0,0 @@ -curl "http://localhost:8080/user/UpdatePassword" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "confirmPassword": "Password2", - "id": "user-1", - "newPassword": "Password2", - "oldPassword": "Password1" -}' \ No newline at end of file diff --git a/examples/user/updatePassword/go/updateTheAccountPassword.go b/examples/user/updatePassword/go/updateTheAccountPassword.go deleted file mode 100755 index f9cd666..0000000 --- a/examples/user/updatePassword/go/updateTheAccountPassword.go +++ /dev/null @@ -1,19 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/user" -) - -// Update the account password -func UpdateTheAccountPassword() { - userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := userService.UpdatePassword(&user.UpdatePasswordRequest{ - ConfirmPassword: "Password2", - NewPassword: "Password2", - OldPassword: "Password1", - }) - fmt.Println(rsp, err) -} diff --git a/examples/user/updatePassword/node/updateTheAccountPassword.js b/examples/user/updatePassword/node/updateTheAccountPassword.js deleted file mode 100755 index 0911741..0000000 --- a/examples/user/updatePassword/node/updateTheAccountPassword.js +++ /dev/null @@ -1,15 +0,0 @@ -const { UserService } = require("micro-js-client/user"); - -// Update the account password -async function updateTheAccountPassword() { - let userService = new UserService(process.env.MICRO_API_TOKEN); - let rsp = await userService.updatePassword({ - confirmPassword: "Password2", - id: "user-1", - newPassword: "Password2", - oldPassword: "Password1", - }); - console.log(rsp); -} - -updateTheAccountPassword(); diff --git a/examples/user/verifyEmail/curl/verifyEmail.sh b/examples/user/verifyEmail/curl/verifyEmail.sh deleted file mode 100755 index 404b218..0000000 --- a/examples/user/verifyEmail/curl/verifyEmail.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/user/VerifyEmail" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "email": "joe@example.com", - "token": "012345" -}' \ No newline at end of file diff --git a/examples/user/verifyEmail/go/verifyEmail.go b/examples/user/verifyEmail/go/verifyEmail.go deleted file mode 100755 index 80bfe73..0000000 --- a/examples/user/verifyEmail/go/verifyEmail.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/user" -) - -// Verify the email address of an account from a token sent in an email to the user. -func VerifyEmail() { - userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := userService.VerifyEmail(&user.VerifyEmailRequest{ - Email: "joe@example.com", - Token: "012345", - }) - fmt.Println(rsp, err) -} diff --git a/examples/user/verifyEmail/node/verifyEmail.js b/examples/user/verifyEmail/node/verifyEmail.js deleted file mode 100755 index 300f922..0000000 --- a/examples/user/verifyEmail/node/verifyEmail.js +++ /dev/null @@ -1,13 +0,0 @@ -const { UserService } = require("micro-js-client/user"); - -// Verify the email address of an account from a token sent in an email to the user. -async function verifyEmail() { - let userService = new UserService(process.env.MICRO_API_TOKEN); - let rsp = await userService.verifyEmail({ - email: "joe@example.com", - token: "012345", - }); - console.log(rsp); -} - -verifyEmail(); diff --git a/examples/vehicle/lookup/curl/lookupVehicle.sh b/examples/vehicle/lookup/curl/lookupVehicle.sh deleted file mode 100755 index f7233b1..0000000 --- a/examples/vehicle/lookup/curl/lookupVehicle.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/vehicle/Lookup" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "registration": "LC60OTA" -}' \ No newline at end of file diff --git a/examples/vehicle/lookup/go/lookupVehicle.go b/examples/vehicle/lookup/go/lookupVehicle.go deleted file mode 100755 index 92ceb56..0000000 --- a/examples/vehicle/lookup/go/lookupVehicle.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/vehicle" -) - -// Lookup a UK vehicle by it's registration number -func LookupVehicle() { - vehicleService := vehicle.NewVehicleService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := vehicleService.Lookup(&vehicle.LookupRequest{ - Registration: "LC60OTA", - }) - fmt.Println(rsp, err) -} diff --git a/examples/vehicle/lookup/node/lookupVehicle.js b/examples/vehicle/lookup/node/lookupVehicle.js deleted file mode 100755 index 8c00504..0000000 --- a/examples/vehicle/lookup/node/lookupVehicle.js +++ /dev/null @@ -1,12 +0,0 @@ -const { VehicleService } = require("micro-js-client/vehicle"); - -// Lookup a UK vehicle by it's registration number -async function lookupVehicle() { - let vehicleService = new VehicleService(process.env.MICRO_API_TOKEN); - let rsp = await vehicleService.lookup({ - registration: "LC60OTA", - }); - console.log(rsp); -} - -lookupVehicle(); diff --git a/examples/weather/forecast/curl/forecaseWeather.sh b/examples/weather/forecast/curl/forecaseWeather.sh deleted file mode 100755 index 4fa63dd..0000000 --- a/examples/weather/forecast/curl/forecaseWeather.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "https://api.m3o.com/v1/weather/Forecast" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "days": 2, - "location": "London" -}' \ No newline at end of file diff --git a/examples/weather/forecast/curl/forecastWeather.sh b/examples/weather/forecast/curl/forecastWeather.sh deleted file mode 100755 index aa1b54b..0000000 --- a/examples/weather/forecast/curl/forecastWeather.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl "http://localhost:8080/weather/Forecast" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "days": 2, - "location": "London" -}' \ No newline at end of file diff --git a/examples/weather/forecast/go/forecaseWeather.go b/examples/weather/forecast/go/forecaseWeather.go deleted file mode 100755 index 326c135..0000000 --- a/examples/weather/forecast/go/forecaseWeather.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "github.com/micro/services/clients/go/weather" - "os" -) - -// Get the weather forecast for the next 1-10 days -func ForecaseWeather() { - weatherService := weather.NewWeatherService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := weatherService.Forecast(&weather.ForecastRequest{ - Days: 2, - Location: "London", - }) - fmt.Println(rsp, err) -} diff --git a/examples/weather/forecast/go/forecastWeather.go b/examples/weather/forecast/go/forecastWeather.go deleted file mode 100755 index 0249ea7..0000000 --- a/examples/weather/forecast/go/forecastWeather.go +++ /dev/null @@ -1,18 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/weather" -) - -// Get the weather forecast for the next 1-10 days -func ForecastWeather() { - weatherService := weather.NewWeatherService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := weatherService.Forecast(&weather.ForecastRequest{ - Days: 2, - Location: "London", - }) - fmt.Println(rsp, err) -} diff --git a/examples/weather/forecast/node/forecaseWeather.js b/examples/weather/forecast/node/forecaseWeather.js deleted file mode 100755 index efc08b8..0000000 --- a/examples/weather/forecast/node/forecaseWeather.js +++ /dev/null @@ -1,13 +0,0 @@ -import * as weather from "m3o/weather"; - -// Get the weather forecast for the next 1-10 days -async function ForecaseWeather() { - let weatherService = new weather.WeatherService(process.env.MICRO_API_TOKEN); - let rsp = await weatherService.forecast({ - days: 2, - location: "London", - }); - console.log(rsp); -} - -await ForecaseWeather(); diff --git a/examples/weather/forecast/node/forecastWeather.js b/examples/weather/forecast/node/forecastWeather.js deleted file mode 100755 index 6f8dd35..0000000 --- a/examples/weather/forecast/node/forecastWeather.js +++ /dev/null @@ -1,13 +0,0 @@ -const { WeatherService } = require("micro-js-client/weather"); - -// Get the weather forecast for the next 1-10 days -async function forecastWeather() { - let weatherService = new WeatherService(process.env.MICRO_API_TOKEN); - let rsp = await weatherService.forecast({ - days: 2, - location: "London", - }); - console.log(rsp); -} - -forecastWeather(); diff --git a/examples/weather/now/curl/getCurrentWeather.sh b/examples/weather/now/curl/getCurrentWeather.sh deleted file mode 100755 index bb1aa18..0000000 --- a/examples/weather/now/curl/getCurrentWeather.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/weather/Now" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "location": "london" -}' \ No newline at end of file diff --git a/examples/weather/now/go/getCurrentWeather.go b/examples/weather/now/go/getCurrentWeather.go deleted file mode 100755 index f91330b..0000000 --- a/examples/weather/now/go/getCurrentWeather.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/weather" -) - -// Get the current weather report for a location by postcode, city, zip code, ip address -func GetCurrentWeather() { - weatherService := weather.NewWeatherService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := weatherService.Now(&weather.NowRequest{ - Location: "london", - }) - fmt.Println(rsp, err) -} diff --git a/examples/weather/now/node/getCurrentWeather.js b/examples/weather/now/node/getCurrentWeather.js deleted file mode 100755 index 21a180f..0000000 --- a/examples/weather/now/node/getCurrentWeather.js +++ /dev/null @@ -1,12 +0,0 @@ -const { WeatherService } = require("micro-js-client/weather"); - -// Get the current weather report for a location by postcode, city, zip code, ip address -async function getCurrentWeather() { - let weatherService = new WeatherService(process.env.MICRO_API_TOKEN); - let rsp = await weatherService.now({ - location: "london", - }); - console.log(rsp); -} - -getCurrentWeather(); diff --git a/examples/youtube/search/curl/searchForVideos.sh b/examples/youtube/search/curl/searchForVideos.sh deleted file mode 100755 index c6391b3..0000000 --- a/examples/youtube/search/curl/searchForVideos.sh +++ /dev/null @@ -1,6 +0,0 @@ -curl "http://localhost:8080/youtube/Search" \ --H "Content-Type: application/json" \ --H "Authorization: Bearer $MICRO_API_TOKEN" \ --d '{ - "query": "donuts" -}' \ No newline at end of file diff --git a/examples/youtube/search/go/searchForVideos.go b/examples/youtube/search/go/searchForVideos.go deleted file mode 100755 index a4cfe0c..0000000 --- a/examples/youtube/search/go/searchForVideos.go +++ /dev/null @@ -1,17 +0,0 @@ -package example - -import ( - "fmt" - "os" - - "github.com/micro/services/clients/go/youtube" -) - -// Search for videos on YouTube -func SearchForVideos() { - youtubeService := youtube.NewYoutubeService(os.Getenv("MICRO_API_TOKEN")) - rsp, err := youtubeService.Search(&youtube.SearchRequest{ - Query: "donuts", - }) - fmt.Println(rsp, err) -} diff --git a/examples/youtube/search/node/searchForVideos.js b/examples/youtube/search/node/searchForVideos.js deleted file mode 100755 index 79787ba..0000000 --- a/examples/youtube/search/node/searchForVideos.js +++ /dev/null @@ -1,12 +0,0 @@ -const { YoutubeService } = require("micro-js-client/youtube"); - -// Search for videos on YouTube -async function searchForVideos() { - let youtubeService = new YoutubeService(process.env.MICRO_API_TOKEN); - let rsp = await youtubeService.search({ - query: "donuts", - }); - console.log(rsp); -} - -searchForVideos();