@aws/lsp-codewhisperer 0.0.27 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/README.md +59 -1
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
- package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +6 -3
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
- package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +6 -3
- package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/package.json +6 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/README.md +9 -0
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/index.js +193 -76
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http-handler.js +39 -15
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-handler.js +9 -1
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/server.mock.js +9 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +22 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +41 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/write-request-body.js +13 -9
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +11 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +7 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +3 -0
- package/node_modules/{@smithy/node-http-handler/dist-types → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4}/set-socket-keep-alive.d.ts +7 -6
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +3 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
- package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/package.json +10 -10
- package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/index.js +30 -8
- package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +13 -8
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +53 -0
- package/node_modules/@amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +53 -0
- package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/package.json +6 -6
- package/node_modules/@smithy/types/dist-cjs/waiter.js +1 -0
- package/out/client/token/bearer-token-service.json +1650 -96
- package/out/constants.d.ts +3 -0
- package/out/constants.js +4 -1
- package/out/constants.js.map +1 -1
- package/out/language-server/amazonQServiceManager/qDeveloperProfiles.d.ts +38 -0
- package/out/language-server/amazonQServiceManager/qDeveloperProfiles.js +85 -0
- package/out/language-server/amazonQServiceManager/qDeveloperProfiles.js.map +1 -0
- package/out/language-server/chat/chatController.d.ts +1 -1
- package/out/language-server/chat/chatController.js +2 -2
- package/out/language-server/chat/chatController.js.map +1 -1
- package/out/language-server/codeWhispererServer.js +7 -32
- package/out/language-server/codeWhispererServer.js.map +1 -1
- package/out/language-server/codeWhispererService.d.ts +4 -0
- package/out/language-server/codeWhispererService.js +6 -0
- package/out/language-server/codeWhispererService.js.map +1 -1
- package/out/language-server/configuration/qConfigurationServer.d.ts +18 -1
- package/out/language-server/configuration/qConfigurationServer.js +107 -6
- package/out/language-server/configuration/qConfigurationServer.js.map +1 -1
- package/out/language-server/dependencyGraph/commonUtil.d.ts +0 -1
- package/out/language-server/dependencyGraph/commonUtil.js +0 -11
- package/out/language-server/dependencyGraph/commonUtil.js.map +1 -1
- package/out/language-server/dependencyGraph/dependencyGraph.js +2 -2
- package/out/language-server/dependencyGraph/dependencyGraph.js.map +1 -1
- package/out/language-server/netTransform/transformHandler.d.ts +3 -2
- package/out/language-server/netTransform/transformHandler.js +7 -2
- package/out/language-server/netTransform/transformHandler.js.map +1 -1
- package/out/language-server/netTransformServer.js +1 -1
- package/out/language-server/netTransformServer.js.map +1 -1
- package/out/language-server/telemetry/codeDiffTracker.js +15 -12
- package/out/language-server/telemetry/codeDiffTracker.js.map +1 -1
- package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.js +2 -2
- package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.js.map +1 -1
- package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js +2 -2
- package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.js.map +1 -1
- package/out/language-server/utils.d.ts +1 -0
- package/out/language-server/utils.js +4 -0
- package/out/language-server/utils.js.map +1 -1
- package/package.json +8 -8
- package/node_modules/@smithy/node-http-handler/README.md +0 -4
- package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +0 -21
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +0 -8
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +0 -6
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -14
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -13
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -13
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +0 -23
- package/node_modules/@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -23
- package/out/language-server/auto-trigger/autoTrigger.test.d.ts +0 -1
- package/out/language-server/auto-trigger/autoTrigger.test.js +0 -82
- package/out/language-server/auto-trigger/autoTrigger.test.js.map +0 -1
- package/out/language-server/chat/chatController.test.d.ts +0 -1
- package/out/language-server/chat/chatController.test.js +0 -709
- package/out/language-server/chat/chatController.test.js.map +0 -1
- package/out/language-server/chat/chatEventParser.test.d.ts +0 -1
- package/out/language-server/chat/chatEventParser.test.js +0 -239
- package/out/language-server/chat/chatEventParser.test.js.map +0 -1
- package/out/language-server/chat/chatSessionManagementService.test.d.ts +0 -1
- package/out/language-server/chat/chatSessionManagementService.test.js +0 -77
- package/out/language-server/chat/chatSessionManagementService.test.js.map +0 -1
- package/out/language-server/chat/chatSessionService.test.d.ts +0 -1
- package/out/language-server/chat/chatSessionService.test.js +0 -86
- package/out/language-server/chat/chatSessionService.test.js.map +0 -1
- package/out/language-server/chat/contexts/documentContext.test.d.ts +0 -1
- package/out/language-server/chat/contexts/documentContext.test.js +0 -117
- package/out/language-server/chat/contexts/documentContext.test.js.map +0 -1
- package/out/language-server/chat/contexts/triggerContexts.test.d.ts +0 -1
- package/out/language-server/chat/contexts/triggerContexts.test.js +0 -81
- package/out/language-server/chat/contexts/triggerContexts.test.js.map +0 -1
- package/out/language-server/chat/contexts/utils.test.d.ts +0 -1
- package/out/language-server/chat/contexts/utils.test.js +0 -72
- package/out/language-server/chat/contexts/utils.test.js.map +0 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.test.d.ts +0 -1
- package/out/language-server/chat/telemetry/chatTelemetryController.test.js +0 -195
- package/out/language-server/chat/telemetry/chatTelemetryController.test.js.map +0 -1
- package/out/language-server/codeWhispererServer.test.d.ts +0 -1
- package/out/language-server/codeWhispererServer.test.js +0 -1377
- package/out/language-server/codeWhispererServer.test.js.map +0 -1
- package/out/language-server/dependencyGraph/csharpDependencyGraph.test.d.ts +0 -1
- package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js +0 -483
- package/out/language-server/dependencyGraph/csharpDependencyGraph.test.js.map +0 -1
- package/out/language-server/dependencyGraph/gitIgnoreFilter.d.ts +0 -7
- package/out/language-server/dependencyGraph/gitIgnoreFilter.js +0 -39
- package/out/language-server/dependencyGraph/gitIgnoreFilter.js.map +0 -1
- package/out/language-server/languageDetection.test.d.ts +0 -1
- package/out/language-server/languageDetection.test.js +0 -31
- package/out/language-server/languageDetection.test.js.map +0 -1
- package/out/language-server/mergeRightUtils.test.d.ts +0 -1
- package/out/language-server/mergeRightUtils.test.js +0 -53
- package/out/language-server/mergeRightUtils.test.js.map +0 -1
- package/out/language-server/netTransform/tests/converter.test.d.ts +0 -1
- package/out/language-server/netTransform/tests/converter.test.js +0 -108
- package/out/language-server/netTransform/tests/converter.test.js.map +0 -1
- package/out/language-server/netTransform/tests/transformHandler.test.d.ts +0 -1
- package/out/language-server/netTransform/tests/transformHandler.test.js +0 -252
- package/out/language-server/netTransform/tests/transformHandler.test.js.map +0 -1
- package/out/language-server/netTransform/tests/validation.test.d.ts +0 -1
- package/out/language-server/netTransform/tests/validation.test.js +0 -84
- package/out/language-server/netTransform/tests/validation.test.js.map +0 -1
- package/out/language-server/qChatServer.test.d.ts +0 -1
- package/out/language-server/qChatServer.test.js +0 -51
- package/out/language-server/qChatServer.test.js.map +0 -1
- package/out/language-server/securityScan/securityScanHandler.test.d.ts +0 -1
- package/out/language-server/securityScan/securityScanHandler.test.js +0 -171
- package/out/language-server/securityScan/securityScanHandler.test.js.map +0 -1
- package/out/language-server/session/sessionManager.test.d.ts +0 -1
- package/out/language-server/session/sessionManager.test.js +0 -588
- package/out/language-server/session/sessionManager.test.js.map +0 -1
- package/out/language-server/telemetry/codeDiffTracker.test.d.ts +0 -1
- package/out/language-server/telemetry/codeDiffTracker.test.js +0 -125
- package/out/language-server/telemetry/codeDiffTracker.test.js.map +0 -1
- package/out/language-server/telemetry/codePercentage.test.d.ts +0 -1
- package/out/language-server/telemetry/codePercentage.test.js +0 -214
- package/out/language-server/telemetry/codePercentage.test.js.map +0 -1
- package/out/language-server/telemetry/userTriggerDecision.test.d.ts +0 -1
- package/out/language-server/telemetry/userTriggerDecision.test.js +0 -1348
- package/out/language-server/telemetry/userTriggerDecision.test.js.map +0 -1
- package/out/language-server/telemetry.test.d.ts +0 -1
- package/out/language-server/telemetry.test.js +0 -98
- package/out/language-server/telemetry.test.js.map +0 -1
- package/out/language-server/telemetryService.test.d.ts +0 -1
- package/out/language-server/telemetryService.test.js +0 -771
- package/out/language-server/telemetryService.test.js.map +0 -1
- package/out/language-server/utilities/filesystemUtilities.d.ts +0 -8
- package/out/language-server/utilities/filesystemUtilities.js +0 -30
- package/out/language-server/utilities/filesystemUtilities.js.map +0 -1
- package/out/language-server/utilities/filesystemUtilities.test.d.ts +0 -1
- package/out/language-server/utilities/filesystemUtilities.test.js +0 -85
- package/out/language-server/utilities/filesystemUtilities.test.js.map +0 -1
- package/out/language-server/utilities/pathUtils.d.ts +0 -27
- package/out/language-server/utilities/pathUtils.js +0 -79
- package/out/language-server/utilities/pathUtils.js.map +0 -1
- package/out/language-server/utilities/pathUtils.test.d.ts +0 -1
- package/out/language-server/utilities/pathUtils.test.js +0 -43
- package/out/language-server/utilities/pathUtils.test.js.map +0 -1
- package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.d.ts +0 -5
- package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.js +0 -49
- package/out/language-server/utilities/supplementalContextUtil/codeParsingUtil.test.js.map +0 -1
- package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.d.ts +0 -1
- package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.js +0 -157
- package/out/language-server/utilities/supplementalContextUtil/crossFileContextUtil.test.js.map +0 -1
- package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.d.ts +0 -1
- package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js +0 -88
- package/out/language-server/utilities/supplementalContextUtil/supplementalContextUtil.test.js.map +0 -1
- package/out/language-server/utilities/telemetryUtils.test.d.ts +0 -1
- package/out/language-server/utilities/telemetryUtils.test.js +0 -207
- package/out/language-server/utilities/telemetryUtils.test.js.map +0 -1
- package/out/language-server/utilities/textUtils.d.ts +0 -1
- package/out/language-server/utilities/textUtils.js +0 -12
- package/out/language-server/utilities/textUtils.js.map +0 -1
- package/out/language-server/utilities/textUtils.test.d.ts +0 -1
- package/out/language-server/utilities/textUtils.test.js +0 -21
- package/out/language-server/utilities/textUtils.test.js.map +0 -1
- package/out/language-server/utils.test.d.ts +0 -1
- package/out/language-server/utils.test.js +0 -152
- package/out/language-server/utils.test.js.map +0 -1
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming/node_modules/@smithy/abort-controller}/LICENSE +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/README.md +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/AbortController.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/AbortSignal.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-es/index.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/abort-controller → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler}/LICENSE +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/constants.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/get-transformed-headers.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http-handler.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-connection-manager.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-connection-pool.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/node-http2-handler.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/readable.mock.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/server.mock.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-connection-timeout.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-socket-keep-alive.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/set-socket-timeout.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/collector.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/index.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-cjs/stream-collector/readable.mock.js +0 -0
- /package/node_modules/{@smithy/node-http-handler/dist-cjs/write-request-body.js → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/timing.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/Field.js → @amzn/codewhisperer-streaming/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js} +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/constants.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/get-transformed-headers.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/index.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/node-http2-connection-pool.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/readable.mock.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/stream-collector/collector.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/constants.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/get-transformed-headers.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/index.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-connection-manager.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-connection-pool.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/node-http2-handler.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/readable.mock.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/server.mock.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/index.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -0
- /package/node_modules/{@smithy → @amzn/codewhisperer-streaming/node_modules/@smithy}/node-http-handler/dist-types/write-request-body.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/LICENSE +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/README.md +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/Fields.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Field.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/Fields.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/protocol-http/dist-cjs/types.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler/node_modules/@smithy/types/dist-cjs/abort.js → @amzn/codewhisperer-streaming/node_modules/@smithy/protocol-http/dist-cjs/types.js} +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/Field.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/Fields.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpHandler.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/index.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-es/types.js +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/index.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +0 -0
- /package/node_modules/{@smithy/node-http-handler → @amzn/codewhisperer-streaming}/node_modules/@smithy/protocol-http/dist-types/types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/LICENSE +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/README.md +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-cjs/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-es/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-types/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/querystring-builder → querystring-builder}/package.json +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/LICENSE +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/README.md +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/checksum.js → types/dist-cjs/abort.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpApiKeyAuth.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpAuthScheme.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpAuthSchemeProvider.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/HttpSigner.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/IdentityProviderConfig.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/auth.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/auth/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/blob/blob-payload-input-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/client.js → types/dist-cjs/checksum.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/command.js → types/dist-cjs/client.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/crypto.js → types/dist-cjs/command.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/config.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/manager.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/connection/pool.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/encode.js → types/dist-cjs/crypto.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/downlevel-ts3.4/transform/type-transform.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/endpoint.js → types/dist-cjs/encode.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/eventStream.js → types/dist-cjs/endpoint.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/EndpointRuleObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/ErrorRuleObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/RuleSetObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/TreeRuleObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/endpoints/shared.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/http.js → types/dist-cjs/eventStream.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/checksum.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/defaultClientConfiguration.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/defaultExtensionConfiguration.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/extensions/retry.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/externals-check/browser-externals-check.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/http/httpHandlerInitialization.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/logger.js → types/dist-cjs/http.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/apiKeyIdentity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/awsCredentialIdentity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/identity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/identity/tokenIdentity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/middleware.js → types/dist-cjs/logger.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/pagination.js → types/dist-cjs/middleware.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/profile.js → types/dist-cjs/pagination.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/response.js → types/dist-cjs/profile.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/retry.js → types/dist-cjs/response.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/serde.js → types/dist-cjs/retry.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/shapes.js → types/dist-cjs/serde.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/signature.js → types/dist-cjs/shapes.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/stream.js → types/dist-cjs/signature.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/transfer.js → types/dist-cjs/stream.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-common-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/uri.js → types/dist-cjs/transfer.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/client-method-transforms.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/client-payload-blob-type-narrow.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/exact.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/no-undefined.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-cjs/transform/type-transform.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/util.js → types/dist-cjs/uri.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types/dist-cjs/waiter.js → types/dist-cjs/util.js} +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/abort.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpApiKeyAuth.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpAuthScheme.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpAuthSchemeProvider.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/HttpSigner.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/IdentityProviderConfig.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/auth.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/auth/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/blob/blob-payload-input-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/checksum.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/client.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/command.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/config.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/manager.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/connection/pool.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/crypto.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/downlevel-ts3.4/transform/type-transform.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/encode.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoint.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/EndpointRuleObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/ErrorRuleObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/RuleSetObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/TreeRuleObject.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/endpoints/shared.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/eventStream.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/checksum.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/defaultClientConfiguration.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/defaultExtensionConfiguration.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/extensions/retry.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/externals-check/browser-externals-check.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/http/httpHandlerInitialization.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/http.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/apiKeyIdentity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/awsCredentialIdentity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/identity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/identity/tokenIdentity.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/index.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/logger.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/middleware.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/pagination.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/profile.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/response.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/retry.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/serde.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/shapes.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/signature.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/stream.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-common-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-payload-input-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/streaming-payload/streaming-blob-payload-output-types.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transfer.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/client-method-transforms.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/client-payload-blob-type-narrow.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/exact.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/no-undefined.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/transform/type-transform.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/uri.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/util.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-es/waiter.js +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/abort.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpApiKeyAuth.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpAuthScheme.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/HttpSigner.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/IdentityProviderConfig.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/auth.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/auth/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/blob/blob-payload-input-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/checksum.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/client.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/command.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/config.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/manager.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/connection/pool.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/crypto.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/encode.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoint.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/EndpointRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/ErrorRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/RuleSetObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/TreeRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/endpoints/shared.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/eventStream.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/checksum.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/defaultClientConfiguration.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/defaultExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/extensions/retry.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/externals-check/browser-externals-check.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/http/httpHandlerInitialization.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/http.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/apiKeyIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/awsCredentialIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/identity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/identity/tokenIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/logger.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/middleware.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/pagination.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/profile.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/response.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/retry.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/serde.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/shapes.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/signature.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/stream.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-common-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transfer.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/client-method-transforms.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/client-payload-blob-type-narrow.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/exact.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/no-undefined.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/transform/type-transform.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/abort.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/auth.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/auth/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/checksum.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/client.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/command.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/config.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/manager.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/connection/pool.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/crypto.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/encode.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoint.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/endpoints/shared.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/eventStream.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/checksum.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/extensions/retry.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/http.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/identity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/index.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/logger.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/middleware.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/pagination.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/profile.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/response.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/retry.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/serde.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/shapes.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/signature.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/stream.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transfer.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/exact.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/no-undefined.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/transform/type-transform.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/uri.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/util.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/ts3.4/waiter.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/uri.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/util.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/dist-types/waiter.d.ts +0 -0
- /package/node_modules/@smithy/{node-http-handler/node_modules/@smithy/types → types}/package.json +0 -0
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GitIgnoreFilter = void 0;
|
|
4
|
-
const parser = require("@gerhobbelt/gitignore-parser");
|
|
5
|
-
const pathUtils = require("../utilities/pathUtils");
|
|
6
|
-
const path = require("path");
|
|
7
|
-
class GitIgnoreFilter {
|
|
8
|
-
acceptors;
|
|
9
|
-
constructor(acceptors) {
|
|
10
|
-
this.acceptors = acceptors;
|
|
11
|
-
}
|
|
12
|
-
static async build(rootPath, gitIgnoreFiles, workspace) {
|
|
13
|
-
const acceptors = [];
|
|
14
|
-
for (const file of gitIgnoreFiles) {
|
|
15
|
-
const fileContent = await workspace.fs.readFile(file);
|
|
16
|
-
const gitIgnoreAcceptor = parser.compile(fileContent);
|
|
17
|
-
acceptors.push({
|
|
18
|
-
folderPath: rootPath,
|
|
19
|
-
acceptor: gitIgnoreAcceptor,
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
return new GitIgnoreFilter(acceptors);
|
|
23
|
-
}
|
|
24
|
-
filterFiles(files) {
|
|
25
|
-
return files.filter(file => this.acceptors.every(acceptor => {
|
|
26
|
-
if (!pathUtils.isInDirectory(acceptor.folderPath, file)) {
|
|
27
|
-
// .gitignore file is responsible only for it's subfolders
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
// careful with Windows, if ignore pattern is `build`
|
|
31
|
-
// the library accepts `build\file.js`, but does not accept `build/file.js`
|
|
32
|
-
const systemDependantRelativePath = path.relative(acceptor.folderPath, file);
|
|
33
|
-
const posixPath = systemDependantRelativePath.split(path.sep).join(path.posix.sep);
|
|
34
|
-
return acceptor.acceptor.accepts(posixPath);
|
|
35
|
-
}));
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.GitIgnoreFilter = GitIgnoreFilter;
|
|
39
|
-
//# sourceMappingURL=gitIgnoreFilter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gitIgnoreFilter.js","sourceRoot":"","sources":["../../../src/language-server/dependencyGraph/gitIgnoreFilter.ts"],"names":[],"mappings":";;;AAEA,uDAAsD;AACtD,oDAAmD;AACnD,6BAA6B;AAO7B,MAAa,eAAe;IAChB,SAAS,CAA6B;IAE9C,YAAoB,SAAsC;QACtD,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC9B,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,KAAK,CACrB,QAAgB,EAChB,cAAwB,EACxB,SAAoB;QAEpB,MAAM,SAAS,GAAgC,EAAE,CAAA;QAEjD,KAAK,MAAM,IAAI,IAAI,cAAc,EAAE,CAAC;YAChC,MAAM,WAAW,GAAG,MAAM,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;YAErD,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,CAAA;YAErD,SAAS,CAAC,IAAI,CAAC;gBACX,UAAU,EAAE,QAAQ;gBACpB,QAAQ,EAAE,iBAAiB;aAC9B,CAAC,CAAA;QACN,CAAC;QAED,OAAO,IAAI,eAAe,CAAC,SAAS,CAAC,CAAA;IACzC,CAAC;IAEM,WAAW,CAAC,KAAe;QAC9B,OAAO,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CACvB,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;YAC5B,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC,EAAE,CAAC;gBACtD,0DAA0D;gBAC1D,OAAO,IAAI,CAAA;YACf,CAAC;YACD,qDAAqD;YACrD,2EAA2E;YAC3E,MAAM,2BAA2B,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC,CAAA;YAC5E,MAAM,SAAS,GAAG,2BAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;YAClF,OAAO,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;QAC/C,CAAC,CAAC,CACL,CAAA;IACL,CAAC;CACJ;AA3CD,0CA2CC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const assert = require("assert");
|
|
4
|
-
const vscode_languageserver_textdocument_1 = require("vscode-languageserver-textdocument");
|
|
5
|
-
const languageDetection_1 = require("./languageDetection");
|
|
6
|
-
describe('LanguageDetection', () => {
|
|
7
|
-
describe('getLanguageId', () => {
|
|
8
|
-
it('matches all document language ids that are defined in qLanguageIdByDocumentId', () => {
|
|
9
|
-
for (const [documentLanguageId, qLanguageId] of Object.entries(languageDetection_1.qLanguageIdByDocumentLanguageId)) {
|
|
10
|
-
assert.strictEqual((0, languageDetection_1.getLanguageId)(vscode_languageserver_textdocument_1.TextDocument.create(`test://test.xxx`, documentLanguageId, 1, '')), qLanguageId);
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
it('able to match language ids regardless of casing', () => {
|
|
14
|
-
assert.strictEqual((0, languageDetection_1.getLanguageId)(vscode_languageserver_textdocument_1.TextDocument.create(`test://test.xxx`, 'CSHarp', 1, '')), 'csharp');
|
|
15
|
-
assert.strictEqual((0, languageDetection_1.getLanguageId)(vscode_languageserver_textdocument_1.TextDocument.create(`test://test.xxx`, 'TyPeScRipT', 1, '')), 'typescript');
|
|
16
|
-
});
|
|
17
|
-
it(`fallbacks to extension check if document's languageId does not exist`, () => {
|
|
18
|
-
for (const [extension, languageId] of Object.entries(languageDetection_1.languageByExtension)) {
|
|
19
|
-
assert.strictEqual((0, languageDetection_1.getLanguageId)(vscode_languageserver_textdocument_1.TextDocument.create(`test://test.${extension}`, undefined, 1, '')), languageId);
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
});
|
|
23
|
-
describe('getSupportedLanguageId', () => {
|
|
24
|
-
const typescriptDocument = vscode_languageserver_textdocument_1.TextDocument.create('test://test.ts', 'typescript', 1, '');
|
|
25
|
-
it('should return language id if it is in the list of supported languages', () => {
|
|
26
|
-
assert.ok((0, languageDetection_1.getSupportedLanguageId)(typescriptDocument, ['typescript', 'javascript']));
|
|
27
|
-
assert.ok(!(0, languageDetection_1.getSupportedLanguageId)(typescriptDocument, ['javascript']));
|
|
28
|
-
});
|
|
29
|
-
});
|
|
30
|
-
});
|
|
31
|
-
//# sourceMappingURL=languageDetection.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"languageDetection.test.js","sourceRoot":"","sources":["../../src/language-server/languageDetection.test.ts"],"names":[],"mappings":";;AAAA,iCAAgC;AAChC,2FAAiE;AACjE,2DAK4B;AAE5B,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IAC/B,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;QAC3B,EAAE,CAAC,+EAA+E,EAAE,GAAG,EAAE;YACrF,KAAK,MAAM,CAAC,kBAAkB,EAAE,WAAW,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,mDAA+B,CAAC,EAAE,CAAC;gBAC9F,MAAM,CAAC,WAAW,CACd,IAAA,iCAAa,EAAC,iDAAY,CAAC,MAAM,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,CAAC,EAAE,EA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,CAAC,CAAA;QAC1E,CAAC,CAAC,CAAA;IACN,CAAC,CAAC,CAAA;AACN,CAAC,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const mergeRightUtils_1 = require("./mergeRightUtils");
|
|
4
|
-
const testUtils_1 = require("./testUtils");
|
|
5
|
-
const assert = require("assert");
|
|
6
|
-
describe('Merge Right Utils', () => {
|
|
7
|
-
const HELLO_WORLD = `Console.WriteLine("Hello World!");`;
|
|
8
|
-
it('get prefix suffix overlap works as expected', () => {
|
|
9
|
-
const result = (0, mergeRightUtils_1.getPrefixSuffixOverlap)('adwg31', '31ggrs');
|
|
10
|
-
assert.deepEqual(result, '31');
|
|
11
|
-
});
|
|
12
|
-
it('should return empty suggestion when right context equals line content ', () => {
|
|
13
|
-
const result = (0, mergeRightUtils_1.truncateOverlapWithRightContext)(HELLO_WORLD, HELLO_WORLD);
|
|
14
|
-
assert.deepEqual(result, '');
|
|
15
|
-
});
|
|
16
|
-
it('should return empty suggestion when right context equals file content', () => {
|
|
17
|
-
// Without trimStart, this test would fail because the function doesn't trim leading new line from right context
|
|
18
|
-
const result = (0, mergeRightUtils_1.truncateOverlapWithRightContext)(testUtils_1.HELLO_WORLD_IN_CSHARP.trimStart(), testUtils_1.HELLO_WORLD_IN_CSHARP);
|
|
19
|
-
assert.deepEqual(result, '');
|
|
20
|
-
});
|
|
21
|
-
it('should not handle the case where right context fully matches suggestion but starts with a newline ', () => {
|
|
22
|
-
const result = (0, mergeRightUtils_1.truncateOverlapWithRightContext)('\n' + testUtils_1.HELLO_WORLD_IN_CSHARP, testUtils_1.HELLO_WORLD_IN_CSHARP);
|
|
23
|
-
// Even though right context and suggestion are equal, the newline of right context doesn't get trimmed while the newline of suggestion gets trimmed
|
|
24
|
-
// As a result, we end up with no overlap
|
|
25
|
-
assert.deepEqual(result, testUtils_1.HELLO_WORLD_IN_CSHARP);
|
|
26
|
-
});
|
|
27
|
-
it('should return truncated suggestion when right context matches end of the suggestion', () => {
|
|
28
|
-
// File contents will be `nsole.WriteLine("Hello World!");`
|
|
29
|
-
// Suggestion will be the full HELLO_WORLD
|
|
30
|
-
// Final truncated result should be the first two letters of HELLO_WORLD
|
|
31
|
-
const result = (0, mergeRightUtils_1.truncateOverlapWithRightContext)(HELLO_WORLD.substring(2), HELLO_WORLD);
|
|
32
|
-
assert.deepEqual(result, HELLO_WORLD.substring(0, 2));
|
|
33
|
-
});
|
|
34
|
-
it('should trim right-context tabs and whitespaces until first newline', () => {
|
|
35
|
-
const suggestion = '{\n return a + b;\n }';
|
|
36
|
-
const rightContent = ' \n }\n\n }\n}';
|
|
37
|
-
const expected_result = '{\n return a + b;';
|
|
38
|
-
const result = (0, mergeRightUtils_1.truncateOverlapWithRightContext)(rightContent, suggestion);
|
|
39
|
-
assert.deepEqual(result, expected_result);
|
|
40
|
-
});
|
|
41
|
-
it('should handle different line endings', () => {
|
|
42
|
-
const suggestion = '{\n return a + b;\n }';
|
|
43
|
-
const rightContent = '\r\n }\r\n}\r\n}';
|
|
44
|
-
const expected_result = '{\n return a + b;';
|
|
45
|
-
const result = (0, mergeRightUtils_1.truncateOverlapWithRightContext)(rightContent, suggestion);
|
|
46
|
-
assert.deepEqual(result, expected_result);
|
|
47
|
-
});
|
|
48
|
-
it('should handle windows line endings for files', () => {
|
|
49
|
-
const result = (0, mergeRightUtils_1.truncateOverlapWithRightContext)(testUtils_1.HELLO_WORLD_WITH_WINDOWS_ENDING, testUtils_1.HELLO_WORLD_WITH_WINDOWS_ENDING.replaceAll('\r', ''));
|
|
50
|
-
assert.deepEqual(result, '');
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
//# sourceMappingURL=mergeRightUtils.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mergeRightUtils.test.js","sourceRoot":"","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
|
-
const chai_1 = require("chai");
|
|
4
|
-
const converter_1 = require("../converter");
|
|
5
|
-
const ts_sinon_1 = require("ts-sinon");
|
|
6
|
-
const mockedLogging = (0, ts_sinon_1.stubInterface)();
|
|
7
|
-
const sampleStartTransformationRequest = {
|
|
8
|
-
workspaceState: {
|
|
9
|
-
uploadId: '',
|
|
10
|
-
programmingLanguage: {
|
|
11
|
-
languageName: '',
|
|
12
|
-
},
|
|
13
|
-
contextTruncationScheme: 'ANALYSIS',
|
|
14
|
-
},
|
|
15
|
-
transformationSpec: {
|
|
16
|
-
transformationType: 'LANGUAGE_UPGRADE',
|
|
17
|
-
source: {
|
|
18
|
-
language: 'C_SHARP',
|
|
19
|
-
platformConfig: {
|
|
20
|
-
operatingSystemFamily: 'WINDOWS',
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
target: {
|
|
24
|
-
language: 'C_SHARP',
|
|
25
|
-
runtimeEnv: {
|
|
26
|
-
dotNet: '',
|
|
27
|
-
},
|
|
28
|
-
platformConfig: {
|
|
29
|
-
operatingSystemFamily: 'LINUX',
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
const sampleUserInputRequest = {
|
|
35
|
-
SolutionRootPath: '',
|
|
36
|
-
SolutionFilePath: '',
|
|
37
|
-
TargetFramework: '',
|
|
38
|
-
ProgramLanguage: '',
|
|
39
|
-
SelectedProjectPath: '',
|
|
40
|
-
SolutionConfigPaths: [],
|
|
41
|
-
ProjectMetadata: [
|
|
42
|
-
{
|
|
43
|
-
Name: '',
|
|
44
|
-
ProjectPath: '',
|
|
45
|
-
ProjectLanguage: 'csharp',
|
|
46
|
-
ProjectType: '',
|
|
47
|
-
ExternalReferences: [],
|
|
48
|
-
ProjectTargetFramework: '',
|
|
49
|
-
SourceCodeFilePaths: [],
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
TransformNetStandardProjects: false,
|
|
53
|
-
command: '',
|
|
54
|
-
};
|
|
55
|
-
function safeSet(obj, path, value) {
|
|
56
|
-
let current = obj;
|
|
57
|
-
for (let i = 0; i < path.length - 1; i++) {
|
|
58
|
-
if (current[path[i]] === undefined) {
|
|
59
|
-
current[path[i]] = {};
|
|
60
|
-
}
|
|
61
|
-
current = current[path[i]];
|
|
62
|
-
}
|
|
63
|
-
current[path[path.length - 1]] = value;
|
|
64
|
-
}
|
|
65
|
-
describe('Test Converter', () => {
|
|
66
|
-
describe('Test get CW StartTransformResponse', () => {
|
|
67
|
-
it('should return the correct StarTransformResponse object', () => {
|
|
68
|
-
const mockResponseData = {
|
|
69
|
-
transformationJobId: 'testJobId',
|
|
70
|
-
};
|
|
71
|
-
const mockHttpResponse = {
|
|
72
|
-
createUnbufferedStream: () => new XMLHttpRequest(),
|
|
73
|
-
statusCode: 200,
|
|
74
|
-
headers: { 'Content-Type': 'application/json' },
|
|
75
|
-
body: JSON.stringify(mockResponseData),
|
|
76
|
-
statusMessage: '',
|
|
77
|
-
streaming: false,
|
|
78
|
-
};
|
|
79
|
-
let mockResponse = {
|
|
80
|
-
hasNextPage: () => false,
|
|
81
|
-
nextPage: () => null,
|
|
82
|
-
data: mockResponseData,
|
|
83
|
-
error: undefined,
|
|
84
|
-
requestId: 'request-id-123',
|
|
85
|
-
redirectCount: 0,
|
|
86
|
-
retryCount: 0,
|
|
87
|
-
httpResponse: mockHttpResponse,
|
|
88
|
-
};
|
|
89
|
-
const mockPromiseResult = {
|
|
90
|
-
...mockResponseData,
|
|
91
|
-
$response: mockResponse,
|
|
92
|
-
};
|
|
93
|
-
const uploadId = 'upload-id-456';
|
|
94
|
-
const artifactPath = '/path/to/artifact';
|
|
95
|
-
const unsupportedProjects = ['project1', 'project2'];
|
|
96
|
-
const containsUnsupportedViews = true;
|
|
97
|
-
const result = (0, converter_1.getCWStartTransformResponse)(mockPromiseResult, uploadId, artifactPath, unsupportedProjects, containsUnsupportedViews);
|
|
98
|
-
(0, chai_1.expect)(result).to.deep.equal({
|
|
99
|
-
UploadId: uploadId,
|
|
100
|
-
TransformationJobId: mockResponseData.transformationJobId,
|
|
101
|
-
ArtifactPath: artifactPath,
|
|
102
|
-
UnSupportedProjects: unsupportedProjects,
|
|
103
|
-
ContainsUnsupportedViews: containsUnsupportedViews,
|
|
104
|
-
});
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
});
|
|
108
|
-
//# sourceMappingURL=converter.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"converter.test.js","sourceRoot":"","sources":["../../../../src/language-server/netTransform/tests/converter.test.ts"],"names":[],"mappings":";;AAAA,+BAA6B;AAK7B,4CAA0G;AAG1G,uCAAwC;AAGxC,MAAM,aAAa,GAAG,IAAA,wBAAa,GAAW,CAAA;AAC9C,MAAM,gCAAgC,GAA4D;IAC9F,cAAc,EAAE;QACZ,QAAQ,EAAE,EAAE;QACZ,mBAAmB,EAAE;YACjB,YAAY,EAAE,EAAE;SACnB;QACD,uBAAuB,EAAE,UAAU;KACtC;IACD,kBAAkB,EAAE;QAChB,kBAAkB,EAAE,kBAAkB;QACtC,MAAM,EAAE;YACJ,QAAQ,EAAE,SAAS;YACnB,cAAc,EAAE;gBACZ,qBAAqB,EAAE,SAAS;aACnC;SACJ;QACD,MAAM,EAAE;YACJ,QAAQ,EAAE,SAAS;YACnB,UAAU,EAAE;gBACR,MAAM,EAAE,EAAE;aACb;YACD,cAAc,EAAE;gBACZ,qBAAqB,EAAE,OAAO;aACjC;SACJ;KACJ;CACJ,CAAA;AAED,MAAM,sBAAsB,GAA0B;IAClD,gBAAgB,EAAE,EAAE;IACpB,gBAAgB,EAAE,EAAE;IACpB,eAAe,EAAE,EAAE;IACnB,eAAe,EAAE,EAAE;IACnB,mBAAmB,EAAE,EAAE;IACvB,mBAAmB,EAAE,EAAE;IACvB,eAAe,EAAE;QACb;YACI,IAAI,EAAE,EAAE;YACR,WAAW,EAAE,EAAE;YACf,eAAe,EAAE,QAAQ;YACzB,WAAW,EAAE,E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AAG,EAAE,CAAC,KAAK;gBACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI;gBACpB,IAAI,EAAE,gBAAgB;gBACtB,KAAK,EAAE,SAAS;gBAChB,SAAS,EAAE,gBAAgB;gBAC3B,aAAa,EAAE,CAAC;gBAChB,UAAU,EAAE,CAAC;gBACb,YAAY,EAAE,gBAAgB;aACjC,CAAA;YAED,MAAM,iBAAiB,GACnB;gBACI,GAAG,gBAAgB;gBACnB,SAAS,EAAE,YAAY;aAC1B,CAAA;YAEL,MAAM,QAAQ,GAAG,eAAe,CAAA;YAChC,MAAM,YAAY,GAAG,mBAAmB,CAAA;YACxC,MAAM,mBAAmB,GAAG,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;YACpD,MAAM,wBAAwB,GAAG,IAAI,CAAA;YAErC,MAAM,MAAM,GAAG,IAAA,uCAA2B,EACtC,iBAAiB,EACjB,QAAQ,EACR,YAAY,EACZ,mBAAmB,EACnB,wBAAwB,CAC3B,CAAA;YAED,IAAA,aAAM,EAAC,MAAM,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC;gBACzB,QAAQ,EAAE,QAAQ;gBAClB,mBAAmB,EAAE,gBAAgB,CAAC,mBAAmB;gBACzD,YAAY,EAAE,YAAY;gBAC1B,mBAAmB,EAAE,mBAAmB;gBACxC,wBAAwB,EAAE,wBAAwB;aACrD,CAAC,CAAA;QACN,CAAC,CAAC,CAAA;IACN,CAAC,CAAC,CAAA;AACN,CAAC,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const codewhisperer_streaming_1 = require("@amzn/codewhisperer-streaming");
|
|
4
|
-
const assert = require("assert");
|
|
5
|
-
const aws_sdk_1 = require("aws-sdk");
|
|
6
|
-
const chai_1 = require("chai");
|
|
7
|
-
const fs = require("fs");
|
|
8
|
-
const got_1 = require("got");
|
|
9
|
-
const ts_sinon_1 = require("ts-sinon");
|
|
10
|
-
const codewhispererStreamingClient_1 = require("../../../client/streamingClient/codewhispererStreamingClient");
|
|
11
|
-
const models_1 = require("../models");
|
|
12
|
-
const transformHandler_1 = require("../transformHandler");
|
|
13
|
-
const sinon = require("sinon");
|
|
14
|
-
const constants_1 = require("../../../constants");
|
|
15
|
-
const mocked$Response = {
|
|
16
|
-
$response: {
|
|
17
|
-
hasNextPage: ts_sinon_1.default.mock(),
|
|
18
|
-
nextPage: ts_sinon_1.default.mock(),
|
|
19
|
-
data: undefined,
|
|
20
|
-
error: undefined,
|
|
21
|
-
requestId: '',
|
|
22
|
-
redirectCount: 0,
|
|
23
|
-
retryCount: 0,
|
|
24
|
-
httpResponse: new aws_sdk_1.HttpResponse(),
|
|
25
|
-
},
|
|
26
|
-
};
|
|
27
|
-
const testUploadId = 'test-upoload-id';
|
|
28
|
-
const testTransformId = 'test-transform-id';
|
|
29
|
-
const payloadFileName = 'C:\\test.zip';
|
|
30
|
-
describe('Test Transform handler ', () => {
|
|
31
|
-
let client;
|
|
32
|
-
let workspace;
|
|
33
|
-
let transformHandler;
|
|
34
|
-
const mockedLogging = (0, ts_sinon_1.stubInterface)();
|
|
35
|
-
const awsQRegion = constants_1.DEFAULT_AWS_Q_REGION;
|
|
36
|
-
const awsQEndpointUrl = constants_1.DEFAULT_AWS_Q_ENDPOINT_URL;
|
|
37
|
-
beforeEach(async () => {
|
|
38
|
-
// Set up the server with a mock service
|
|
39
|
-
client = (0, ts_sinon_1.stubInterface)();
|
|
40
|
-
workspace = (0, ts_sinon_1.stubInterface)();
|
|
41
|
-
transformHandler = new transformHandler_1.TransformHandler(client, workspace, mockedLogging);
|
|
42
|
-
});
|
|
43
|
-
describe('test upload artifact', () => {
|
|
44
|
-
it('call upload method correctly', async () => {
|
|
45
|
-
const putStub = sinon.stub(got_1.default, 'put').resolves({ statusCode: 'Success' });
|
|
46
|
-
const readFileSyncStub = sinon.stub(fs, 'readFileSync').returns('text file content');
|
|
47
|
-
await transformHandler.uploadArtifactToS3Async(payloadFileName, {
|
|
48
|
-
uploadId: testUploadId,
|
|
49
|
-
uploadUrl: 'dummy-upload-url',
|
|
50
|
-
kmsKeyArn: 'ResourceArn',
|
|
51
|
-
...mocked$Response,
|
|
52
|
-
}, 'dummy-256');
|
|
53
|
-
ts_sinon_1.default.assert.callCount(putStub, 1);
|
|
54
|
-
ts_sinon_1.default.assert.callCount(readFileSyncStub, 1);
|
|
55
|
-
putStub.restore();
|
|
56
|
-
readFileSyncStub.restore();
|
|
57
|
-
});
|
|
58
|
-
});
|
|
59
|
-
describe('Test transform create presign url and upload', () => {
|
|
60
|
-
beforeEach(async () => {
|
|
61
|
-
// mock default return value for createUploadUrl
|
|
62
|
-
client.codeModernizerCreateUploadUrl.resolves({
|
|
63
|
-
uploadId: testUploadId,
|
|
64
|
-
uploadUrl: 'dummy-upload-url',
|
|
65
|
-
kmsKeyArn: 'ResourceArn',
|
|
66
|
-
...mocked$Response,
|
|
67
|
-
});
|
|
68
|
-
});
|
|
69
|
-
it('returns upload id correctly', async () => {
|
|
70
|
-
const readFileSyncStub = sinon.stub(fs, 'readFileSync').returns('text file content');
|
|
71
|
-
const uploadStub = sinon.stub(transformHandler, 'uploadArtifactToS3Async');
|
|
72
|
-
const res = await transformHandler.uploadPayloadAsync(payloadFileName);
|
|
73
|
-
ts_sinon_1.default.assert.callCount(readFileSyncStub, 1);
|
|
74
|
-
ts_sinon_1.default.assert.callCount(uploadStub, 1);
|
|
75
|
-
assert.equal(res, testUploadId);
|
|
76
|
-
uploadStub.restore();
|
|
77
|
-
readFileSyncStub.restore();
|
|
78
|
-
});
|
|
79
|
-
it('should throw error if uploadArtifactToS3Async fails', async () => {
|
|
80
|
-
const mockError = new Error('Error in uploadArtifactToS3 call');
|
|
81
|
-
const readFileSyncStub = sinon.stub(fs, 'readFileSync').returns('text file content');
|
|
82
|
-
sinon.stub(transformHandler, 'uploadArtifactToS3Async').rejects(mockError);
|
|
83
|
-
// Call the method to be tested
|
|
84
|
-
try {
|
|
85
|
-
await transformHandler.uploadPayloadAsync(payloadFileName);
|
|
86
|
-
}
|
|
87
|
-
catch (error) {
|
|
88
|
-
// Assertions
|
|
89
|
-
(0, chai_1.expect)(error.message).to.equal(mockError.message);
|
|
90
|
-
sinon.assert.calledOnce(readFileSyncStub);
|
|
91
|
-
readFileSyncStub.restore();
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
/*
|
|
95
|
-
it('should upload payload and return uploadId', async () => {
|
|
96
|
-
workspace.fs.getTempDirPath = simon.stub().returns('C:\\tmp')
|
|
97
|
-
const zipStub = sinon.stub(transformHandler, 'zipCodeAsync').returns(Promise.resolve(payloadFileName))
|
|
98
|
-
const uploadStub = sinon.stub(transformHandler, 'uploadPayloadAsync').returns(Promise.resolve(testUploadId))
|
|
99
|
-
const result = await transformHandler.preTransformationUploadCode(payloadFileName)
|
|
100
|
-
expect(result).to.equal(testUploadId)
|
|
101
|
-
sinon.assert.calledOnce(zipStub)
|
|
102
|
-
sinon.assert.calledOnce(uploadStub)
|
|
103
|
-
zipStub.restore()
|
|
104
|
-
uploadStub.restore()
|
|
105
|
-
})
|
|
106
|
-
|
|
107
|
-
it('should throw error if upload fails', async () => {
|
|
108
|
-
// Mocking necessary dependencies and methods
|
|
109
|
-
const mockError = new Error('Upload failed')
|
|
110
|
-
const requestString = JSON.stringify(EXAMPLE_REQUEST)
|
|
111
|
-
const request = JSON.parse(requestString) as StartTransformRequest
|
|
112
|
-
workspace.fs.getTempDirPath = simon.stub().returns('C:\\tmp')
|
|
113
|
-
const zipStub = sinon.stub(transformHandler, 'zipCodeAsync').returns(Promise.resolve(payloadFileName))
|
|
114
|
-
sinon.stub(transformHandler, 'uploadPayloadAsync').rejects(mockError)
|
|
115
|
-
try {
|
|
116
|
-
await transformHandler.preTransformationUploadCode(request)
|
|
117
|
-
} catch (error) {
|
|
118
|
-
sinon.assert.calledOnce(zipStub)
|
|
119
|
-
expect((error as Error).message).to.equal(mockError.message)
|
|
120
|
-
zipStub.restore()
|
|
121
|
-
}
|
|
122
|
-
})
|
|
123
|
-
*/
|
|
124
|
-
});
|
|
125
|
-
describe('Test cancel transform job', () => {
|
|
126
|
-
beforeEach(async () => {
|
|
127
|
-
// mock default return value for cancelTransform
|
|
128
|
-
client.codeModernizerStopCodeTransformation.returns(Promise.resolve({
|
|
129
|
-
transformationStatus: 'STOPPED',
|
|
130
|
-
...mocked$Response,
|
|
131
|
-
}));
|
|
132
|
-
});
|
|
133
|
-
it('should cancel transform', async () => {
|
|
134
|
-
const requestString = JSON.stringify({ TransformationJobId: testTransformId });
|
|
135
|
-
const request = JSON.parse(requestString);
|
|
136
|
-
const res = await transformHandler.cancelTransformation(request);
|
|
137
|
-
(0, chai_1.expect)(res.TransformationJobStatus).to.equal(models_1.CancellationJobStatus.SUCCESSFULLY_CANCELLED);
|
|
138
|
-
});
|
|
139
|
-
it('should throw error if cancellation fails', async () => {
|
|
140
|
-
client.codeModernizerStopCodeTransformation.returns(Promise.resolve({
|
|
141
|
-
transformationStatus: 'COMPLETED',
|
|
142
|
-
...mocked$Response,
|
|
143
|
-
}));
|
|
144
|
-
const requestString = JSON.stringify({ TransformationJobId: testTransformId });
|
|
145
|
-
const request = JSON.parse(requestString);
|
|
146
|
-
const res = await transformHandler.cancelTransformation(request);
|
|
147
|
-
(0, chai_1.expect)(res.TransformationJobStatus).to.equal(models_1.CancellationJobStatus.FAILED_TO_CANCEL);
|
|
148
|
-
});
|
|
149
|
-
});
|
|
150
|
-
const mockedCredentialsProvider = {
|
|
151
|
-
getCredentials: sinon.stub().returns({ token: 'mockedToken' }),
|
|
152
|
-
};
|
|
153
|
-
const mockSdkRuntimeConfigurator = Object.assign(
|
|
154
|
-
// Default callable function for v3 clients
|
|
155
|
-
(Ctor, current_config) => new Ctor({ ...current_config }),
|
|
156
|
-
// Property for v2 clients
|
|
157
|
-
{
|
|
158
|
-
v2: (Ctor, current_config) => new Ctor({ ...current_config }),
|
|
159
|
-
});
|
|
160
|
-
describe('StreamingClient', () => {
|
|
161
|
-
it('should create a new streaming client', async () => {
|
|
162
|
-
const streamingClient = new codewhispererStreamingClient_1.StreamingClient();
|
|
163
|
-
const client = await streamingClient.getStreamingClient(mockedCredentialsProvider, awsQRegion, awsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
164
|
-
(0, chai_1.expect)(client).to.be.instanceOf(codewhisperer_streaming_1.CodeWhispererStreaming);
|
|
165
|
-
});
|
|
166
|
-
});
|
|
167
|
-
describe('createStreamingClient', () => {
|
|
168
|
-
it('should create a new streaming client with correct configurations', async () => {
|
|
169
|
-
const client = await (0, codewhispererStreamingClient_1.createStreamingClient)(mockedCredentialsProvider, awsQRegion, awsQEndpointUrl, mockSdkRuntimeConfigurator);
|
|
170
|
-
(0, chai_1.expect)(client).to.be.instanceOf(codewhisperer_streaming_1.CodeWhispererStreaming);
|
|
171
|
-
});
|
|
172
|
-
});
|
|
173
|
-
describe('Test get transformJob', () => {
|
|
174
|
-
beforeEach(async () => {
|
|
175
|
-
// mock default return value for Transformation Job
|
|
176
|
-
client.codeModernizerGetCodeTransformation.returns(Promise.resolve({
|
|
177
|
-
transformationJob: {
|
|
178
|
-
jobId: testTransformId,
|
|
179
|
-
status: 'COMPLETED',
|
|
180
|
-
...mocked$Response,
|
|
181
|
-
},
|
|
182
|
-
...mocked$Response,
|
|
183
|
-
}));
|
|
184
|
-
});
|
|
185
|
-
it('should get transform', async () => {
|
|
186
|
-
const requestString = JSON.stringify({ TransformationJobId: testTransformId });
|
|
187
|
-
const request = JSON.parse(requestString);
|
|
188
|
-
const res = await transformHandler.getTransformation(request);
|
|
189
|
-
(0, chai_1.expect)(res?.TransformationJob.status).to.equal('COMPLETED');
|
|
190
|
-
});
|
|
191
|
-
});
|
|
192
|
-
describe('Test get transformJob for failed case', () => {
|
|
193
|
-
beforeEach(async () => {
|
|
194
|
-
// mock default return value for Transformation Job
|
|
195
|
-
client.codeModernizerGetCodeTransformation.returns(Promise.resolve({
|
|
196
|
-
transformationJob: {
|
|
197
|
-
jobId: testTransformId,
|
|
198
|
-
status: 'FAILED',
|
|
199
|
-
...mocked$Response,
|
|
200
|
-
},
|
|
201
|
-
...mocked$Response,
|
|
202
|
-
}));
|
|
203
|
-
});
|
|
204
|
-
it('should get transform for failed case', async () => {
|
|
205
|
-
const requestString = JSON.stringify({ TransformationJobId: testTransformId });
|
|
206
|
-
const request = JSON.parse(requestString);
|
|
207
|
-
const res = await transformHandler.getTransformation(request);
|
|
208
|
-
(0, chai_1.expect)(res?.TransformationJob.status).to.equal('FAILED');
|
|
209
|
-
});
|
|
210
|
-
});
|
|
211
|
-
describe('Test get transform plan', () => {
|
|
212
|
-
beforeEach(async () => {
|
|
213
|
-
// mock default return value for Transformation plan
|
|
214
|
-
const mockPlanString = JSON.stringify({
|
|
215
|
-
transformationPlan: {
|
|
216
|
-
transformationSteps: [
|
|
217
|
-
{
|
|
218
|
-
id: '1',
|
|
219
|
-
name: 'PlanStepName 1',
|
|
220
|
-
description: 'PlanStepDescription 1',
|
|
221
|
-
status: 'COMPLETED',
|
|
222
|
-
progressUpdates: [
|
|
223
|
-
{
|
|
224
|
-
name: 'ProgressUpdateName 1 for PlanStep 1',
|
|
225
|
-
status: 'COMPLETED',
|
|
226
|
-
description: 'ProgressUpdateDescription 1 for PlanStep 1',
|
|
227
|
-
startTime: '2024-03-11T23:27:33.935Z',
|
|
228
|
-
endTime: '2024-03-11T23:27:34.038Z',
|
|
229
|
-
},
|
|
230
|
-
],
|
|
231
|
-
startTime: '2024-03-12T18:49:41.431Z',
|
|
232
|
-
endTime: '2024-03-12T18:49:42.431Z',
|
|
233
|
-
},
|
|
234
|
-
],
|
|
235
|
-
},
|
|
236
|
-
});
|
|
237
|
-
const response = JSON.parse(mockPlanString);
|
|
238
|
-
client.codeModernizerGetCodeTransformationPlan.returns(Promise.resolve(response));
|
|
239
|
-
});
|
|
240
|
-
it('should get transform plan', async () => {
|
|
241
|
-
const requestString = JSON.stringify({ TransformationJobId: testTransformId });
|
|
242
|
-
const request = JSON.parse(requestString);
|
|
243
|
-
const res = await transformHandler.getTransformationPlan(request);
|
|
244
|
-
(0, chai_1.expect)(res.TransformationPlan.transformationSteps[0].status).to.equal('COMPLETED');
|
|
245
|
-
(0, chai_1.expect)(res.TransformationPlan.transformationSteps[0].name).to.equal('PlanStepName 1');
|
|
246
|
-
if (res.TransformationPlan.transformationSteps[0].progressUpdates) {
|
|
247
|
-
(0, chai_1.expect)(res.TransformationPlan.transformationSteps[0].progressUpdates[0].name).to.equal('ProgressUpdateName 1 for PlanStep 1');
|
|
248
|
-
}
|
|
249
|
-
});
|
|
250
|
-
});
|
|
251
|
-
});
|
|
252
|
-
//# sourceMappingURL=transformHandler.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transformHandler.test.js","sourceRoot":"","sources":["../../../../src/language-server/netTransform/tests/transformHandler.test.ts"],"names":[],"mappings":";;AAAA,2EAAsE;AAQtE,iCAAgC;AAChC,qCAAsC;AACtC,+BAA6B;AAC7B,yBAAwB;AACxB,6BAAqB;AACrB,uCAA2E;AAC3E,+GAAqH;AAErH,sCAMkB;AAClB,0DAAsD;AAEtD,+BAA+B;AAC/B,kDAAqF;AAIrF,MAAM,eAAe,GAAG;IACpB,SAAS,EAAE;QACP,WAAW,EAAE,kBAAK,CAAC,IAAI,EAAE;QACzB,QAAQ,EAAE,kBAAK,CAAC,IAAI,EAAE;QACtB,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,SAAS,EAAE,EAAE;QACb,aAAa,EAAE,CAAC;QAChB,UAAU,EAAE,CAAC;QACb,YAAY,EAAE,IAAI,sBAAY,EAAE;KACnC;CACJ,CAAA;AACD,MAAM,YAAY,GAAG,iBAAiB,CAAA;AACtC,MAAM,eAAe,GAAG,mBAAmB,CAAA;AAC3C,MAAM,eAAe,GAAG,cAAc,CAAA;AA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AAqC,CACxC,CAAA;YACL,CAAC;QACL,CAAC,CAAC,CAAA;IACN,CAAC,CAAC,CAAA;AACN,CAAC,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const chai_1 = require("chai");
|
|
4
|
-
const validation_1 = require("../validation");
|
|
5
|
-
const ts_sinon_1 = require("ts-sinon");
|
|
6
|
-
const sampleStartTransformRequest = {
|
|
7
|
-
SolutionRootPath: '',
|
|
8
|
-
SolutionFilePath: 'sample.sln',
|
|
9
|
-
SelectedProjectPath: 'test.csproj',
|
|
10
|
-
ProgramLanguage: '',
|
|
11
|
-
TargetFramework: '',
|
|
12
|
-
SolutionConfigPaths: [],
|
|
13
|
-
ProjectMetadata: [],
|
|
14
|
-
TransformNetStandardProjects: false,
|
|
15
|
-
command: '',
|
|
16
|
-
};
|
|
17
|
-
const mockedLogging = (0, ts_sinon_1.stubInterface)();
|
|
18
|
-
describe('Test validation functionality', () => {
|
|
19
|
-
it('should return true when selectedProjectPath is a valid csproj', () => {
|
|
20
|
-
let mockStartTransformationRequest = sampleStartTransformRequest;
|
|
21
|
-
mockStartTransformationRequest.SelectedProjectPath = 'test.csproj';
|
|
22
|
-
(0, chai_1.expect)((0, validation_1.isProject)(mockStartTransformationRequest)).to.equal(true);
|
|
23
|
-
});
|
|
24
|
-
it('should return false when selectedProjectPath is not a valid csproj', () => {
|
|
25
|
-
let mockStartTransformationRequest = sampleStartTransformRequest;
|
|
26
|
-
mockStartTransformationRequest.SelectedProjectPath = 'test.sln';
|
|
27
|
-
(0, chai_1.expect)((0, validation_1.isProject)(mockStartTransformationRequest)).to.equal(false);
|
|
28
|
-
});
|
|
29
|
-
it('should return true when selectedProjectPath is a valid sln', () => {
|
|
30
|
-
let mockStartTransformationRequest = sampleStartTransformRequest;
|
|
31
|
-
mockStartTransformationRequest.SelectedProjectPath = 'test.sln';
|
|
32
|
-
(0, chai_1.expect)((0, validation_1.isSolution)(mockStartTransformationRequest)).to.equal(true);
|
|
33
|
-
});
|
|
34
|
-
it('should return false when selectedProjectPath is not a valid sln', () => {
|
|
35
|
-
let mockStartTransformationRequest = sampleStartTransformRequest;
|
|
36
|
-
mockStartTransformationRequest.SelectedProjectPath = 'test.csproj';
|
|
37
|
-
(0, chai_1.expect)((0, validation_1.isSolution)(mockStartTransformationRequest)).to.equal(false);
|
|
38
|
-
});
|
|
39
|
-
it('should return true when project is a supported type', () => {
|
|
40
|
-
let mockStartTransformationRequest = sampleStartTransformRequest;
|
|
41
|
-
const mockProjectMeta = {
|
|
42
|
-
Name: '',
|
|
43
|
-
ProjectTargetFramework: '',
|
|
44
|
-
ProjectPath: 'test.csproj',
|
|
45
|
-
SourceCodeFilePaths: [],
|
|
46
|
-
ProjectLanguage: '',
|
|
47
|
-
ProjectType: 'AspNetCoreMvc',
|
|
48
|
-
ExternalReferences: [],
|
|
49
|
-
};
|
|
50
|
-
mockStartTransformationRequest.ProjectMetadata.push(mockProjectMeta);
|
|
51
|
-
(0, chai_1.expect)((0, validation_1.validateProject)(mockStartTransformationRequest, mockedLogging)).to.equal(true);
|
|
52
|
-
});
|
|
53
|
-
it('should return false when project is not a supported type', () => {
|
|
54
|
-
let mockStartTransformationRequest = sampleStartTransformRequest;
|
|
55
|
-
const mockProjectMeta = {
|
|
56
|
-
Name: '',
|
|
57
|
-
ProjectTargetFramework: '',
|
|
58
|
-
ProjectPath: 'test.csproj',
|
|
59
|
-
SourceCodeFilePaths: [],
|
|
60
|
-
ProjectLanguage: '',
|
|
61
|
-
ProjectType: 'not supported',
|
|
62
|
-
ExternalReferences: [],
|
|
63
|
-
};
|
|
64
|
-
mockStartTransformationRequest.ProjectMetadata = [];
|
|
65
|
-
mockStartTransformationRequest.ProjectMetadata.push(mockProjectMeta);
|
|
66
|
-
(0, chai_1.expect)((0, validation_1.validateProject)(mockStartTransformationRequest, mockedLogging)).to.equal(false);
|
|
67
|
-
});
|
|
68
|
-
it('should return false when there is no project path that is the same as the selected project path', () => {
|
|
69
|
-
let mockStartTransformationRequest = sampleStartTransformRequest;
|
|
70
|
-
const mockProjectMeta = {
|
|
71
|
-
Name: '',
|
|
72
|
-
ProjectTargetFramework: '',
|
|
73
|
-
ProjectPath: 'different.csproj',
|
|
74
|
-
SourceCodeFilePaths: [],
|
|
75
|
-
ProjectLanguage: '',
|
|
76
|
-
ProjectType: 'AspNetCoreMvc',
|
|
77
|
-
ExternalReferences: [],
|
|
78
|
-
};
|
|
79
|
-
mockStartTransformationRequest.ProjectMetadata = [];
|
|
80
|
-
mockStartTransformationRequest.ProjectMetadata.push(mockProjectMeta);
|
|
81
|
-
(0, chai_1.expect)((0, validation_1.validateProject)(mockStartTransformationRequest, mockedLogging)).to.equal(false);
|
|
82
|
-
});
|
|
83
|
-
});
|
|
84
|
-
//# sourceMappingURL=validation.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validation.test.js","sourceRoot":"","sources":["../../../../src/language-server/netTransform/tests/validation.test.ts"],"names":[],"mappings":";;AAAA,+BAA6B;AAE7B,8CAAsE;AAItE,uCAAwC;AAExC,MAAM,2BAA2B,GAA0B;IACvD,gBAAgB,EAAE,EAAE;IACpB,gBAAgB,EAAE,YAAY;IAC9B,mBAAmB,EAAE,aAAa;IAClC,eAAe,EAAE,EAAE;IACnB,eAAe,EAAE,EAAE;IACnB,mBAAmB,EAAE,EAAE;IACvB,eAAe,EAAE,EAAE;IACnB,4BAA4B,EAAE,KAAK;IACnC,OAAO,EAAE,EAAE;CACd,CAAA;AACD,MAAM,aAAa,GAAG,IAAA,wBAAa,GAAW,CAAA;AAE9C,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;IAC3C,EAAE,CAAC,+DAA+D,EAAE,GAAG,EAAE;QACrE,IAAI,8BAA8B,GAA0B,2BAA2B,CAAA;QACvF,8BAA8B,CAAC,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