@azure/functions
Advanced tools
Comparing version 4.0.1 to 4.1.0
@@ -1,1 +0,1 @@ | ||
{"Source":"InternalBuild","Data":{"System.CollectionId":"d1c51fbc-4477-4a0f-b99f-fc9013009a58","System.DefinitionId":"145","System.TeamProjectId":"e6a70c92-4128-439f-8012-382fe78d6396","System.TeamProject":"Azure Functions","Build.BuildId":"154397","Build.BuildNumber":"20230928.2","Build.DefinitionName":"azure-functions-nodejs-library.build","Build.DefinitionRevision":"4","Build.Repository.Name":"Azure/azure-functions-nodejs-library","Build.Repository.Provider":"GitHub","Build.Repository.Id":"Azure/azure-functions-nodejs-library","Build.SourceBranch":"refs/heads/v4.x","Build.SourceBranchName":"v4.x","Build.SourceVersion":"4a83c780db3f6377126f15fff1bd5f36135b4326"},"Feed":null} | ||
{"Source":"InternalBuild","Data":{"System.CollectionId":"d1c51fbc-4477-4a0f-b99f-fc9013009a58","System.DefinitionId":"145","System.TeamProjectId":"e6a70c92-4128-439f-8012-382fe78d6396","System.TeamProject":"Azure Functions","Build.BuildId":"157675","Build.BuildNumber":"20231113.6","Build.DefinitionName":"azure-functions-nodejs-library.build","Build.DefinitionRevision":"4","Build.Repository.Name":"Azure/azure-functions-nodejs-library","Build.Repository.Provider":"GitHub","Build.Repository.Id":"Azure/azure-functions-nodejs-library","Build.SourceBranch":"refs/heads/v4.x","Build.SourceBranchName":"v4.x","Build.SourceVersion":"ca91f6a3d67f992e412d99ec04c1eafe2fb23283"},"Feed":null} |
{ | ||
"files": [ | ||
{ | ||
"fileName": "./LICENSE", | ||
"SPDXID": "SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "9fa73cb72fb654d029c9214f0e3eec32c301a0c23be71b50fe3910e61553fa34" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "14cb404e9de5f2b618ad67dda908af2452a4b2b4" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./README.md", | ||
@@ -23,12 +42,12 @@ "SPDXID": "SPDXRef-File--README.md-B8A9F56B1E8159DB546D102D2ED74ED0C67A1EA8", | ||
{ | ||
"fileName": "./package.json", | ||
"SPDXID": "SPDXRef-File--package.json-524E2D3CB1DBD2C8BE0DF97C48F1A7D96972AD81", | ||
"fileName": "./dist/azure-functions.js.map", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.js.map-099DAA857AB7EF212976908E52BF2D9CE5628C95", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "f05ee22ccabdfe64d3a17af3ee715d3001dde6fd7246429c2f98ad92dc31b9de" | ||
"checksumValue": "78558cf7856d6d5b230d0265215995903f38e0b3e3256e3f9c0bf4f3cd3a07da" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "524e2d3cb1dbd2c8be0df97c48f1a7d96972ad81" | ||
"checksumValue": "099daa857ab7ef212976908e52bf2d9ce5628c95" | ||
} | ||
@@ -43,12 +62,12 @@ ], | ||
{ | ||
"fileName": "./dist/azure-functions.js.map", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.js.map-D54B7704C267EF00C2C5030500E1CC0B4458D4C5", | ||
"fileName": "./src/errors.ts", | ||
"SPDXID": "SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "c6d0c08d5d92018ae90e0224f63b012c28f396f195743f994d0efec93fc10ee5" | ||
"checksumValue": "356f9b545a77ece5d7659fb759c02ff38e88c888a49273a6a27b37a327620439" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "d54b7704c267ef00c2c5030500e1cc0b4458d4c5" | ||
"checksumValue": "a5e15f9d5f5bf168868fe16a1b1efa0ac8d009a1" | ||
} | ||
@@ -63,12 +82,12 @@ ], | ||
{ | ||
"fileName": "./dist/azure-functions.min.js", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js-F1C358916E42D5A28409F4A4095ACE115EE54830", | ||
"fileName": "./src/converters/fromRpcContext.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "7ef34920f5ab085b09c720563247426cf9a57b6518e8c25177fc8c7a6623cbd9" | ||
"checksumValue": "6a96ca0d0f0d032f0306e662b6f0a5168495a6e4d975e2dcada5643d92ba385c" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "f1c358916e42d5a28409f4a4095ace115ee54830" | ||
"checksumValue": "c6d301951c5943e385f9fd016ae15bbcfde1e5e4" | ||
} | ||
@@ -83,12 +102,12 @@ ], | ||
{ | ||
"fileName": "./LICENSE", | ||
"SPDXID": "SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4", | ||
"fileName": "./src/converters/toRpcNullable.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcNullable.ts-093B06989BA6E60D23B752F6380E0B76B1A97B02", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "9fa73cb72fb654d029c9214f0e3eec32c301a0c23be71b50fe3910e61553fa34" | ||
"checksumValue": "735319488354e832f621c664bcd80b0a13d3b4b2225b7b62ebd892a46fa8b6f5" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "14cb404e9de5f2b618ad67dda908af2452a4b2b4" | ||
"checksumValue": "093b06989ba6e60d23b752f6380e0b76b1a97b02" | ||
} | ||
@@ -103,12 +122,12 @@ ], | ||
{ | ||
"fileName": "./dist/azure-functions.min.js.map", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js.map-5CEB5AA79E3BB8116991F85CB2CC75C73EA2EE2A", | ||
"fileName": "./src/hooks/registerHook.ts", | ||
"SPDXID": "SPDXRef-File--src-hooks-registerHook.ts-F9AA219DA0B0C777E693B18DEE273389F7CF51CA", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "00a9b62e83fab347c99ca60b85ea483c04201e1532c0bc0607082b52ca364b1a" | ||
"checksumValue": "46801ad32c5b6c6cc3f5b4340c344bc7833ccd0529d6dd2ad6ed029faa0e7941" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "5ceb5aa79e3bb8116991f85cb2cc75c73ea2ee2a" | ||
"checksumValue": "f9aa219da0b0c777e693b18dee273389f7cf51ca" | ||
} | ||
@@ -123,12 +142,12 @@ ], | ||
{ | ||
"fileName": "./dist/azure-functions.js", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.js-1251033FE7A6B84F0E0080A711C55CD5B430C97B", | ||
"fileName": "./src/addBindingName.ts", | ||
"SPDXID": "SPDXRef-File--src-addBindingName.ts-F6DD874B08639297670A48B38AB19B6E914FDF27", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "3c5c22cf055fddad6a0af58c466b510c22ae8c0c8e4715c6bd2483402edf07f9" | ||
"checksumValue": "46ce709b2f3303fcf2ebb0d36dec89396e59b4f1fbff339a22fcb55e786521ad" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "1251033fe7a6b84f0e0080a711c55cd5b430c97b" | ||
"checksumValue": "f6dd874b08639297670a48b38ab19b6e914fdf27" | ||
} | ||
@@ -143,12 +162,12 @@ ], | ||
{ | ||
"fileName": "./src/addBindingName.ts", | ||
"SPDXID": "SPDXRef-File--src-addBindingName.ts-A70032D1ACA9203BE8DF364E9BB7425A71858F5B", | ||
"fileName": "./src/app.ts", | ||
"SPDXID": "SPDXRef-File--src-app.ts-B8D92A33BB102D5602BDE149CD2A55AD055289DD", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "50e98bbe2c2281d21938f3fbc9258ca35cb71e2dcb1a9200a6ab5ac4a5516401" | ||
"checksumValue": "18542cf18115be8809f1de6a597b451f222ee78f72468a2f16828ab2add496c2" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "a70032d1aca9203be8df364e9bb7425a71858f5b" | ||
"checksumValue": "b8d92a33bb102d5602bde149cd2a55ad055289dd" | ||
} | ||
@@ -163,12 +182,12 @@ ], | ||
{ | ||
"fileName": "./src/errors.ts", | ||
"SPDXID": "SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1", | ||
"fileName": "./src/input.ts", | ||
"SPDXID": "SPDXRef-File--src-input.ts-A8297994A3E2C1261C26661B99A717DA28925616", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "356f9b545a77ece5d7659fb759c02ff38e88c888a49273a6a27b37a327620439" | ||
"checksumValue": "496ad840b23c94a2434ead2edac69378cdb21916f24a86331c32ddff7f9639c8" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "a5e15f9d5f5bf168868fe16a1b1efa0ac8d009a1" | ||
"checksumValue": "a8297994a3e2c1261c26661b99a717da28925616" | ||
} | ||
@@ -183,12 +202,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/fromRpcContext.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4", | ||
"fileName": "./src/utils/tryGetCoreApiLazy.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-tryGetCoreApiLazy.ts-716B9BD6877F9CAD2B2D6837045C6FF4B8A9A8E7", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "6a96ca0d0f0d032f0306e662b6f0a5168495a6e4d975e2dcada5643d92ba385c" | ||
"checksumValue": "e54c9e87b799535f374132b2c68f873cd766dfa7c65179e1a997627b814a86aa" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "c6d301951c5943e385f9fd016ae15bbcfde1e5e4" | ||
"checksumValue": "716b9bd6877f9cad2b2d6837045c6ff4b8a9a8e7" | ||
} | ||
@@ -203,12 +222,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/toRpcNullable.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcNullable.ts-093B06989BA6E60D23B752F6380E0B76B1A97B02", | ||
"fileName": "./src/trigger.ts", | ||
"SPDXID": "SPDXRef-File--src-trigger.ts-86996ADFFEBF2312FFE489B54DA47E23428F86AC", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "735319488354e832f621c664bcd80b0a13d3b4b2225b7b62ebd892a46fa8b6f5" | ||
"checksumValue": "6558256e320810a58dd40db5b3cd78dd5b9ac05849f20f4ea580d3a7c0b716e4" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "093b06989ba6e60d23b752f6380e0b76b1a97b02" | ||
"checksumValue": "86996adffebf2312ffe489b54da47e23428f86ac" | ||
} | ||
@@ -223,12 +242,12 @@ ], | ||
{ | ||
"fileName": "./src/utils/util.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F", | ||
"fileName": "./src/converters/fromRpcTriggerMetadata.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "6cf132c958c9b59c0f50372abd16961981a3010e0f8fa16801ea295830b802f0" | ||
"checksumValue": "8dbd98ba1be3ecc1388d82fd151307f67cbc3f28568acf5b804572b423d11ba5" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "b666c0d023de87615d101367aad897eafc692b3f" | ||
"checksumValue": "500e9fe2895ca2a8d90965f7c12a8ce772578e91" | ||
} | ||
@@ -243,12 +262,12 @@ ], | ||
{ | ||
"fileName": "./types/http.d.ts", | ||
"SPDXID": "SPDXRef-File--types-http.d.ts-C3428FE199A21CDC0B37545C615FB667955FB2C6", | ||
"fileName": "./src/output.ts", | ||
"SPDXID": "SPDXRef-File--src-output.ts-C2359A1AB872C2A0D664123EDB42A72F8BD54D99", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "f788bc99a0ea836403d46557622760c4f86acef7a1e78acf029fbdda924f001f" | ||
"checksumValue": "cdc712ac7566282f45ed8148a352077de9add66c238627f76e5fae9732e8ef0c" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "c3428fe199a21cdc0b37545c615fb667955fb2c6" | ||
"checksumValue": "c2359a1ab872c2a0d664123edb42a72f8bd54d99" | ||
} | ||
@@ -263,12 +282,12 @@ ], | ||
{ | ||
"fileName": "./src/InvocationModel.ts", | ||
"SPDXID": "SPDXRef-File--src-InvocationModel.ts-71731C03DA4F5F3C5C51C728F2D80A7BEFEA8309", | ||
"fileName": "./types/generic.d.ts", | ||
"SPDXID": "SPDXRef-File--types-generic.d.ts-9B3211B2E6BA8F020FD782B15B5474435DB61454", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "6b8c385b1b3c09e332223e5794c9027d9125618cc594b7cf1eba6f8a2b46af89" | ||
"checksumValue": "072aea18a565dd984acb373c67f833013ed551f4c57f338abb3dab48683a802b" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "71731c03da4f5f3c5c51c728f2d80a7befea8309" | ||
"checksumValue": "9b3211b2e6ba8f020fd782b15b5474435db61454" | ||
} | ||
@@ -283,12 +302,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/toCamelCase.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toCamelCase.ts-0B685E59BCD78E2B677B5B08D8DA6400BC478E5C", | ||
"fileName": "./src/hooks/AppStartContext.ts", | ||
"SPDXID": "SPDXRef-File--src-hooks-AppStartContext.ts-C5E62974A2A131689590332CC698B01366AFDD4C", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "f2ba3bb81d4f2006bafed62eb940919b4d005dcdd58f4c2ae2dcaa41d9599ee7" | ||
"checksumValue": "4c9bd10ac98453a81c21fce2e4ff4667a54f613fa4880ea9b60982dee3a34895" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "0b685e59bcd78e2b677b5b08d8da6400bc478e5c" | ||
"checksumValue": "c5e62974a2a131689590332cc698b01366afdd4c" | ||
} | ||
@@ -303,12 +322,12 @@ ], | ||
{ | ||
"fileName": "./src/http/HttpResponse.ts", | ||
"SPDXID": "SPDXRef-File--src-http-HttpResponse.ts-D80AEB152659971CCC088B114EFE661AD8C81602", | ||
"fileName": "./src/converters/toRpcDuration.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcDuration.ts-714B9BFB912D81833E9DB1CF93681F56D4B8A544", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "1cfcb19bb6c744473407b91f19e749cea96ba2a506810c321472df6a4bb1252e" | ||
"checksumValue": "7dedbf633fcf7195e5080c70e14d23b572b7ce215065d05f8de82c43af224fa2" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "d80aeb152659971ccc088b114efe661ad8c81602" | ||
"checksumValue": "714b9bfb912d81833e9db1cf93681f56d4b8a544" | ||
} | ||
@@ -323,2 +342,154 @@ ], | ||
{ | ||
"fileName": "./src/converters/toRpcHttp.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "5905595c2b16c068baab4dd181294dd16b70205d79bb93f8e7cf45525fd05b7b" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "48743c55420a205720f0453086454e535ac456b5" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./src/http/HttpRequest.ts", | ||
"SPDXID": "SPDXRef-File--src-http-HttpRequest.ts-6FA1FCE96BEA795DEC201BBDD254641A1DC6B6D7", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "b25012ccace73515ac797969322b905dd1633b71991e994bdd30c0e47467a232" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "6fa1fce96bea795dec201bbdd254641a1dc6b6d7" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./src/hooks/InvocationHookContext.ts", | ||
"SPDXID": "SPDXRef-File--src-hooks-InvocationHookContext.ts-00C0614266EB4475A1EC7F2B6277D03694A8CB93", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "62bd0be6f16b74defa4ba63f70e50551d3c726e4b3cb9a61c713f62f81a56daa" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "00c0614266eb4475a1ec7f2b6277d03694a8cb93" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./types/app.d.ts", | ||
"SPDXID": "SPDXRef-File--types-app.d.ts-44A1D2F3999108C231EE311247AC2CE208B03DBC", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "477121efb790ae99504823b3178ee18be3b3bbfd79571764a90fc34555f9dc67" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "44a1d2f3999108c231ee311247ac2ce208b03dbc" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./src/hooks/PostInvocationContext.ts", | ||
"SPDXID": "SPDXRef-File--src-hooks-PostInvocationContext.ts-AF08B0BC4FED20E73C680B55F3542E581DC5D154", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "dec849c600e041cccc554644b1f5f0a5fc58a8e3a4daff9e48ecac0e06b02e35" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "af08b0bc4fed20e73c680b55f3542e581dc5d154" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./src/utils/getRandomHexString.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "6a6bd203ab5d85e155a99f19a0792e564550ecab6496c11d3c07d81608756481" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "330f3e6f43410ceadc96a91353d386fafc078ed0" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./src/utils/isTrigger.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "4fee9efecdfd1152e5600954185523fae4609865a492eebf8368db554210ae85" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "8a198451e884c0d34d7bb551ad0343fa0bde8b71" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./types/storage.d.ts", | ||
"SPDXID": "SPDXRef-File--types-storage.d.ts-E62113411D87CD618132B22DCE862361AD26C91A", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "d54973e791cef9a0cc0fa6871f15b106060453cf850e0de8a87b9e1de2eb8042" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "e62113411d87cd618132b22dce862361ad26c91a" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./types/cosmosDB.v4.d.ts", | ||
@@ -343,2 +514,40 @@ "SPDXID": "SPDXRef-File--types-cosmosDB.v4.d.ts-EE24FA064D924FC2BC9533925C8CD868BCF9A459", | ||
{ | ||
"fileName": "./types/eventGrid.d.ts", | ||
"SPDXID": "SPDXRef-File--types-eventGrid.d.ts-6A15914EC7A9DEA9E7028CB3BE98BD81247B48CF", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "7284f5192c61cd8170629c89a3952cbc5e203b7172487225489e8a0ba9408c68" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "6a15914ec7a9dea9e7028cb3be98bd81247b48cf" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./types/index.d.ts", | ||
"SPDXID": "SPDXRef-File--types-index.d.ts-4B5683F57B7AC26B2C992BAA5417929C84002DDE", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "21947d94ecc7b0902cc40cec7debb708d32bc072ee652e7739d2998cfb98656f" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "4b5683f57b7ac26b2c992baa5417929c84002dde" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./types/output.d.ts", | ||
@@ -363,12 +572,12 @@ "SPDXID": "SPDXRef-File--types-output.d.ts-394EF7B257D8C3E4B17E1300868930F4F16BA226", | ||
{ | ||
"fileName": "./src/app.ts", | ||
"SPDXID": "SPDXRef-File--src-app.ts-CAEFF41DF8006D1BBABADC0B34BF33F1B71F2478", | ||
"fileName": "./types/hooks/registerHook.d.ts", | ||
"SPDXID": "SPDXRef-File--types-hooks-registerHook.d.ts-6AF293FA6071E1381EF1CB4C71CBFBCF22714FAD", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "a0a2b220abe915082caee320f48f926287f4b92df68b34ddbcf52f164aa84457" | ||
"checksumValue": "e217f2f3db965f51f76e454b18504d7c4c429c224f4986fed61aa7fec548798d" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "caeff41df8006d1bbabadc0b34bf33f1b71f2478" | ||
"checksumValue": "6af293fa6071e1381ef1cb4c71cbfbcf22714fad" | ||
} | ||
@@ -383,12 +592,12 @@ ], | ||
{ | ||
"fileName": "./src/trigger.ts", | ||
"SPDXID": "SPDXRef-File--src-trigger.ts-0ABBA44A31B826642441F5BE0041566F7D8AABF4", | ||
"fileName": "./types/serviceBus.d.ts", | ||
"SPDXID": "SPDXRef-File--types-serviceBus.d.ts-6F3B2D69930BD0117FB44875DB3FE0E5B2E68736", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "b8e63319c4957ca6bad333ce24ef10bb86e8732bbabf4e0322c9a08bb1903f0d" | ||
"checksumValue": "c5c7cfdee1c31cbe397a25c9be329b093b4bb68579c0040582f8c49c417923a2" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "0abba44a31b826642441f5be0041566f7d8aabf4" | ||
"checksumValue": "6f3b2d69930bd0117fb44875db3fe0e5b2e68736" | ||
} | ||
@@ -403,12 +612,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/toRpcHttp.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5", | ||
"fileName": "./types/timer.d.ts", | ||
"SPDXID": "SPDXRef-File--types-timer.d.ts-2A8FFD11E1DEF0D2B8C14CFE7893ADB6A0A19CB7", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "5905595c2b16c068baab4dd181294dd16b70205d79bb93f8e7cf45525fd05b7b" | ||
"checksumValue": "b61d9ad48fbeac504c1d2630fc5e8b897ac84b21f57535baac9bde0692ed26a6" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "48743c55420a205720f0453086454e535ac456b5" | ||
"checksumValue": "2a8ffd11e1def0d2b8c14cfe7893adb6a0a19cb7" | ||
} | ||
@@ -423,12 +632,12 @@ ], | ||
{ | ||
"fileName": "./src/utils/isTrigger.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71", | ||
"fileName": "./types/hooks/appHooks.d.ts", | ||
"SPDXID": "SPDXRef-File--types-hooks-appHooks.d.ts-6F2B6A72728855178FC1B31201580EBA6E09E5AE", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "4fee9efecdfd1152e5600954185523fae4609865a492eebf8368db554210ae85" | ||
"checksumValue": "6b1e7097d7a2fffe4608e37e0df5462108e65895bdba08d1f12b7345d90f8a78" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "8a198451e884c0d34d7bb551ad0343fa0bde8b71" | ||
"checksumValue": "6f2b6a72728855178fc1b31201580eba6e09e5ae" | ||
} | ||
@@ -443,12 +652,12 @@ ], | ||
{ | ||
"fileName": "./types/eventHub.d.ts", | ||
"SPDXID": "SPDXRef-File--types-eventHub.d.ts-5587A8363C9771E4EBF7CD0A5123D0F391D50BD6", | ||
"fileName": "./types/hooks/HookContext.d.ts", | ||
"SPDXID": "SPDXRef-File--types-hooks-HookContext.d.ts-4936EAD059A4A853B0093B28C63CB0D458217CD8", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "fa2b67591e672f2329f93f53ba53e34d88e274513684daf5eab0524e0ed046c2" | ||
"checksumValue": "6a4af540066a2a2c6e64d299a14ef794416b088dde749342747af0de1aa7e5cf" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "5587a8363c9771e4ebf7cd0a5123d0f391d50bd6" | ||
"checksumValue": "4936ead059a4a853b0093b28c63cb0d458217cd8" | ||
} | ||
@@ -463,12 +672,12 @@ ], | ||
{ | ||
"fileName": "./types/sql.d.ts", | ||
"SPDXID": "SPDXRef-File--types-sql.d.ts-901F330C01B62ED6366CF9E0D6B7DDEDC989860B", | ||
"fileName": "./package.json", | ||
"SPDXID": "SPDXRef-File--package.json-448FBF094B6F7DF2A9C3A816316E50FA4ED23B6A", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "7af151363595da76f239fd7947912723fadde65cd522cb11ef032caabac2e342" | ||
"checksumValue": "d93f4e3c9b5a7a31ed21829cefc0d80e58af116574b157f627cdb4f9e672b1d8" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "901f330c01b62ed6366cf9e0d6b7ddedc989860b" | ||
"checksumValue": "448fbf094b6f7df2a9c3a816316e50fa4ed23b6a" | ||
} | ||
@@ -483,12 +692,12 @@ ], | ||
{ | ||
"fileName": "./src/InvocationContext.ts", | ||
"SPDXID": "SPDXRef-File--src-InvocationContext.ts-7C805B59B2DEAF611509F130F422E0D125A25978", | ||
"fileName": "./src/constants.ts", | ||
"SPDXID": "SPDXRef-File--src-constants.ts-ED6E28668B2EDC093110011960ABE1289FD75C6E", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "24a1a7f3d5c8e54eb19ea638d6cd5c1dfe95d33acd3a03042d5768d12fb113f9" | ||
"checksumValue": "57e56f012911ee2ac0d6142ceac898301e6127004c7dfc10306c39f697cde02c" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "7c805b59b2deaf611509f130f422e0d125a25978" | ||
"checksumValue": "ed6e28668b2edc093110011960abe1289fd75c6e" | ||
} | ||
@@ -503,12 +712,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/fromRpcTypedData.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE", | ||
"fileName": "./src/converters/fromRpcBindings.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcBindings.ts-33564771BF04AB3EFB1FC5CDDC7740CAB4A66B9C", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "be00908655fdb32260987041b22a6d9bbbed65aa1ad0f88d5dd56959189d090e" | ||
"checksumValue": "af5881f0426ddb62a5d8b361000214035d735a7a7cecd2f723e17b0ebbb64bd9" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "14f8fa6d6762ca8c0e3506c51b594fde4517bdce" | ||
"checksumValue": "33564771bf04ab3efb1fc5cddc7740cab4a66b9c" | ||
} | ||
@@ -523,12 +732,12 @@ ], | ||
{ | ||
"fileName": "./src/http/HttpRequest.ts", | ||
"SPDXID": "SPDXRef-File--src-http-HttpRequest.ts-6FA1FCE96BEA795DEC201BBDD254641A1DC6B6D7", | ||
"fileName": "./src/converters/toRpcHttpCookie.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "b25012ccace73515ac797969322b905dd1633b71991e994bdd30c0e47467a232" | ||
"checksumValue": "b40fd0389ac5593665b7a5521d1440118ceb94e86d42e04d0ae8c08a26424944" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "6fa1fce96bea795dec201bbdd254641a1dc6b6d7" | ||
"checksumValue": "6e58105386252bb31680aebd1399bef9bcb6851b" | ||
} | ||
@@ -543,12 +752,12 @@ ], | ||
{ | ||
"fileName": "./types/cosmosDB.v3.d.ts", | ||
"SPDXID": "SPDXRef-File--types-cosmosDB.v3.d.ts-34407E7D69182C902DA07BB03E20DAB388F4A5BF", | ||
"fileName": "./src/hooks/PreInvocationContext.ts", | ||
"SPDXID": "SPDXRef-File--src-hooks-PreInvocationContext.ts-8EC5F8C76EBA071687099BEF3F583B4BDB2BDC4C", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "85a5c80025b47bd294a2eded78923e5d6f81b647192fc824b3013984ce1ae37e" | ||
"checksumValue": "fad20321bd9a97e671d88f72ba3bd7a3a2641d7b044f2e96c8ee94ab024d34a3" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "34407e7d69182c902da07bb03e20dab388f4a5bf" | ||
"checksumValue": "8ec5f8c76eba071687099bef3f583b4bdb2bdc4c" | ||
} | ||
@@ -563,12 +772,12 @@ ], | ||
{ | ||
"fileName": "./types/InvocationContext.d.ts", | ||
"SPDXID": "SPDXRef-File--types-InvocationContext.d.ts-AF414932F257B471EFF915A575A17E4054596BA2", | ||
"fileName": "./src/utils/nonNull.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "99aa68d40825b1b1ef6683a2766ffe7202ff703c98dc116726d122d77cb808cf" | ||
"checksumValue": "e00258536f71ba484215bdca3c5d1a6901a0f79f5df28f525a05bee32880d634" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "af414932f257b471eff915a575a17e4054596ba2" | ||
"checksumValue": "afac55cf0cce9f700e9b5b4123f988f990035ebe" | ||
} | ||
@@ -583,12 +792,12 @@ ], | ||
{ | ||
"fileName": "./src/output.ts", | ||
"SPDXID": "SPDXRef-File--src-output.ts-C2359A1AB872C2A0D664123EDB42A72F8BD54D99", | ||
"fileName": "./types/eventHub.d.ts", | ||
"SPDXID": "SPDXRef-File--types-eventHub.d.ts-5587A8363C9771E4EBF7CD0A5123D0F391D50BD6", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "cdc712ac7566282f45ed8148a352077de9add66c238627f76e5fae9732e8ef0c" | ||
"checksumValue": "fa2b67591e672f2329f93f53ba53e34d88e274513684daf5eab0524e0ed046c2" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "c2359a1ab872c2a0d664123edb42a72f8bd54d99" | ||
"checksumValue": "5587a8363c9771e4ebf7cd0a5123d0f391d50bd6" | ||
} | ||
@@ -603,12 +812,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/toRpcDuration.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcDuration.ts-714B9BFB912D81833E9DB1CF93681F56D4B8A544", | ||
"fileName": "./types/sql.d.ts", | ||
"SPDXID": "SPDXRef-File--types-sql.d.ts-901F330C01B62ED6366CF9E0D6B7DDEDC989860B", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "7dedbf633fcf7195e5080c70e14d23b572b7ce215065d05f8de82c43af224fa2" | ||
"checksumValue": "7af151363595da76f239fd7947912723fadde65cd522cb11ef032caabac2e342" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "714b9bfb912d81833e9db1cf93681f56d4b8a544" | ||
"checksumValue": "901f330c01b62ed6366cf9e0d6b7ddedc989860b" | ||
} | ||
@@ -623,12 +832,12 @@ ], | ||
{ | ||
"fileName": "./src/utils/getRandomHexString.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0", | ||
"fileName": "./types/hooks/invocationHooks.d.ts", | ||
"SPDXID": "SPDXRef-File--types-hooks-invocationHooks.d.ts-2089D65AE538370E47EE5BFB40AFEBB248390B83", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "6a6bd203ab5d85e155a99f19a0792e564550ecab6496c11d3c07d81608756481" | ||
"checksumValue": "975b3eec8526641be49bff7792e603c512b78014889e0f41063688d6900203a6" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "330f3e6f43410ceadc96a91353d386fafc078ed0" | ||
"checksumValue": "2089d65ae538370e47ee5bfb40afebb248390b83" | ||
} | ||
@@ -643,12 +852,12 @@ ], | ||
{ | ||
"fileName": "./types/eventGrid.d.ts", | ||
"SPDXID": "SPDXRef-File--types-eventGrid.d.ts-1FEB3C0686CD21BA42FBFB833DFEC6D438DF4B5E", | ||
"fileName": "./dist/azure-functions.min.js", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js-5F6BC94F3F27E6027D35929A1A5E122757D2FB27", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "1b83ee57145a0fa6c0287df9cea1f81ed8f189360eeba73337e1e11ade5fab95" | ||
"checksumValue": "a8d4d4fd628502715297eedbf3d13a0871adb6fff60ac1a5ca392c1ce548191d" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "1feb3c0686cd21ba42fbfb833dfec6d438df4b5e" | ||
"checksumValue": "5f6bc94f3f27e6027d35929a1a5e122757d2fb27" | ||
} | ||
@@ -663,12 +872,12 @@ ], | ||
{ | ||
"fileName": "./types/serviceBus.d.ts", | ||
"SPDXID": "SPDXRef-File--types-serviceBus.d.ts-6F3B2D69930BD0117FB44875DB3FE0E5B2E68736", | ||
"fileName": "./src/InvocationContext.ts", | ||
"SPDXID": "SPDXRef-File--src-InvocationContext.ts-7C805B59B2DEAF611509F130F422E0D125A25978", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "c5c7cfdee1c31cbe397a25c9be329b093b4bb68579c0040582f8c49c417923a2" | ||
"checksumValue": "24a1a7f3d5c8e54eb19ea638d6cd5c1dfe95d33acd3a03042d5768d12fb113f9" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "6f3b2d69930bd0117fb44875db3fe0e5b2e68736" | ||
"checksumValue": "7c805b59b2deaf611509f130f422e0d125a25978" | ||
} | ||
@@ -683,12 +892,12 @@ ], | ||
{ | ||
"fileName": "./src/input.ts", | ||
"SPDXID": "SPDXRef-File--src-input.ts-A8297994A3E2C1261C26661B99A717DA28925616", | ||
"fileName": "./src/converters/fromRpcTypedData.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "496ad840b23c94a2434ead2edac69378cdb21916f24a86331c32ddff7f9639c8" | ||
"checksumValue": "be00908655fdb32260987041b22a6d9bbbed65aa1ad0f88d5dd56959189d090e" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "a8297994a3e2c1261c26661b99a717da28925616" | ||
"checksumValue": "14f8fa6d6762ca8c0e3506c51b594fde4517bdce" | ||
} | ||
@@ -703,12 +912,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/fromRpcTriggerMetadata.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91", | ||
"fileName": "./src/hooks/AppTerminateContext.ts", | ||
"SPDXID": "SPDXRef-File--src-hooks-AppTerminateContext.ts-92A3C7D31EF79CEA6755836524DB99CCCC308AA5", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "8dbd98ba1be3ecc1388d82fd151307f67cbc3f28568acf5b804572b423d11ba5" | ||
"checksumValue": "668ca25d5eeb357e35021708540dce4e8ccfe1d695485889d0251dd7cc2f76f4" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "500e9fe2895ca2a8d90965f7c12a8ce772578e91" | ||
"checksumValue": "92a3c7d31ef79cea6755836524db99cccc308aa5" | ||
} | ||
@@ -723,12 +932,12 @@ ], | ||
{ | ||
"fileName": "./src/http/extractHttpUserFromHeaders.ts", | ||
"SPDXID": "SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83", | ||
"fileName": "./src/http/HttpResponse.ts", | ||
"SPDXID": "SPDXRef-File--src-http-HttpResponse.ts-D80AEB152659971CCC088B114EFE661AD8C81602", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "0701231f3d83a9050de3a9e40d946fbd49d425049d0b58bf623770f25282252a" | ||
"checksumValue": "1cfcb19bb6c744473407b91f19e749cea96ba2a506810c321472df6a4bb1252e" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "4b921d1b0a53a909fb88ee72c6b798220211bd83" | ||
"checksumValue": "d80aeb152659971ccc088b114efe661ad8c81602" | ||
} | ||
@@ -782,11 +991,11 @@ ], | ||
"fileName": "./types/trigger.d.ts", | ||
"SPDXID": "SPDXRef-File--types-trigger.d.ts-43069F15839675EACA29899C883872C3C3676994", | ||
"SPDXID": "SPDXRef-File--types-trigger.d.ts-7DA3044DAAC9A1F6A48D5E85ECAFB9C51639C17B", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "95b4c4bd18aec923dc1499f4353897a4e806b4b4d3f2df9a559d3a7dbd9ff3f9" | ||
"checksumValue": "015dd83ea0f2071dd7ae12947d4aa711743133f9646209e975e28ee19ab41799" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "43069f15839675eaca29899c883872c3c3676994" | ||
"checksumValue": "7da3044daac9a1f6a48d5e85ecafb9c51639c17b" | ||
} | ||
@@ -801,12 +1010,12 @@ ], | ||
{ | ||
"fileName": "./src/index.ts", | ||
"SPDXID": "SPDXRef-File--src-index.ts-BA6272125204FDC4F3BBBE41723DFA7E3BD31629", | ||
"fileName": "./dist/azure-functions.min.js.map", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js.map-D93F2BD47AE7D8A1E3C74AB2408BABAEB423A462", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "f9f84f0980edd69cc810b17e7d85ed7392739275179ffc4ac5279afa232c955b" | ||
"checksumValue": "f25017d86b4b717f95f23d49e10cb3c7108ff5903c8251185ced20d054702186" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "ba6272125204fdc4f3bbbe41723dfa7e3bd31629" | ||
"checksumValue": "d93f2bd47ae7d8a1e3c74ab2408babaeb423a462" | ||
} | ||
@@ -821,12 +1030,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/fromRpcNullable.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcNullable.ts-00DA6094E8B2ED969C772EA01B47549BEDA4A2DE", | ||
"fileName": "./src/InvocationModel.ts", | ||
"SPDXID": "SPDXRef-File--src-InvocationModel.ts-0A4E18BF96A8B7E17771173CFBC8FAF9F143E9A0", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "af31620202714bcc57ebddc34a6a6637ab830175eae2cab1fa4d9aadaad920a9" | ||
"checksumValue": "9aa1fbba938dfd9a8d7a46b7df6e4af92243f5229e8a14458ee213334894ef00" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "00da6094e8b2ed969c772ea01b47549beda4a2de" | ||
"checksumValue": "0a4e18bf96a8b7e17771173cfbc8faf9f143e9a0" | ||
} | ||
@@ -841,12 +1050,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/toRpcTypedData.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC", | ||
"fileName": "./src/converters/toCamelCase.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toCamelCase.ts-0B685E59BCD78E2B677B5B08D8DA6400BC478E5C", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "7405a843c01b965492daa22d1a7f9372e3cf0aabe4586c34c0e4f924c9e6dedd" | ||
"checksumValue": "f2ba3bb81d4f2006bafed62eb940919b4d005dcdd58f4c2ae2dcaa41d9599ee7" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "9127faa57c34da3c5b136eeb1d323f6dcaa33aac" | ||
"checksumValue": "0b685e59bcd78e2b677b5b08d8da6400bc478e5c" | ||
} | ||
@@ -861,12 +1070,12 @@ ], | ||
{ | ||
"fileName": "./types/app.d.ts", | ||
"SPDXID": "SPDXRef-File--types-app.d.ts-581C9E3137FC162B7F63BCA796DCB00985FA2A5B", | ||
"fileName": "./src/hooks/HookContext.ts", | ||
"SPDXID": "SPDXRef-File--src-hooks-HookContext.ts-46BBEBF323DB1509A1B1293C4EBC3718A2FE7454", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "9c09dacf9a6dd3ca59f0789f2aac6bf6fc1a9ca838f7ac9509145c8137922092" | ||
"checksumValue": "953f50e89af323bf3067f2bc09054ebb93b246099f29f1a92e457f237494e151" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "581c9e3137fc162b7f63bca796dcb00985fa2a5b" | ||
"checksumValue": "46bbebf323db1509a1b1293c4ebc3718a2fe7454" | ||
} | ||
@@ -881,12 +1090,12 @@ ], | ||
{ | ||
"fileName": "./types/index.d.ts", | ||
"SPDXID": "SPDXRef-File--types-index.d.ts-BA1C2C97246D33C7645A85C60B4B4FACE666E391", | ||
"fileName": "./src/utils/Disposable.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-Disposable.ts-56791F481D6117AAE27218F4BBF165ED4698BAA9", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "1f58f8dd1ad02b750b4f5a83b75b3558b6e22ef8b648ab9d38c3d9e07f1085e7" | ||
"checksumValue": "2e9f4058d34b11f36080f04108ad891e373a7e67b405b8e3fc2abd386619e486" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "ba1c2c97246d33c7645a85c60b4b4face666e391" | ||
"checksumValue": "56791f481d6117aae27218f4bbf165ed4698baa9" | ||
} | ||
@@ -901,12 +1110,12 @@ ], | ||
{ | ||
"fileName": "./types/timer.d.ts", | ||
"SPDXID": "SPDXRef-File--types-timer.d.ts-2A8FFD11E1DEF0D2B8C14CFE7893ADB6A0A19CB7", | ||
"fileName": "./types/cosmosDB.v3.d.ts", | ||
"SPDXID": "SPDXRef-File--types-cosmosDB.v3.d.ts-34407E7D69182C902DA07BB03E20DAB388F4A5BF", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "b61d9ad48fbeac504c1d2630fc5e8b897ac84b21f57535baac9bde0692ed26a6" | ||
"checksumValue": "85a5c80025b47bd294a2eded78923e5d6f81b647192fc824b3013984ce1ae37e" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "2a8ffd11e1def0d2b8c14cfe7893adb6a0a19cb7" | ||
"checksumValue": "34407e7d69182c902da07bb03e20dab388f4a5bf" | ||
} | ||
@@ -921,12 +1130,12 @@ ], | ||
{ | ||
"fileName": "./src/constants.ts", | ||
"SPDXID": "SPDXRef-File--src-constants.ts-B5F19E203CFBE7BA817BBAB6D8B0A4E230B2B0F4", | ||
"fileName": "./types/InvocationContext.d.ts", | ||
"SPDXID": "SPDXRef-File--types-InvocationContext.d.ts-AF414932F257B471EFF915A575A17E4054596BA2", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "00f542f9bf56495ed87ff51fe223557b224b7cfdfa6b6e0dd2bb5a425e1674c0" | ||
"checksumValue": "99aa68d40825b1b1ef6683a2766ffe7202ff703c98dc116726d122d77cb808cf" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "b5f19e203cfbe7ba817bbab6d8b0a4e230b2b0f4" | ||
"checksumValue": "af414932f257b471eff915a575a17e4054596ba2" | ||
} | ||
@@ -941,12 +1150,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/fromRpcBindings.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcBindings.ts-33564771BF04AB3EFB1FC5CDDC7740CAB4A66B9C", | ||
"fileName": "./types/warmup.d.ts", | ||
"SPDXID": "SPDXRef-File--types-warmup.d.ts-FBB4722E6A80D4C2699BA6B626EB619A41AEE777", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "af5881f0426ddb62a5d8b361000214035d735a7a7cecd2f723e17b0ebbb64bd9" | ||
"checksumValue": "920fdb4ac9ad7b22ae447af2cfaf72aa155019eba0410ffc64b22290de47d5ad" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "33564771bf04ab3efb1fc5cddc7740cab4a66b9c" | ||
"checksumValue": "fbb4722e6a80d4c2699ba6b626eb619a41aee777" | ||
} | ||
@@ -961,12 +1170,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/toRpcHttpCookie.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B", | ||
"fileName": "./dist/azure-functions.js", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.js-77507FB92649A6CAB9AFCF732C4F84B1FEF1E4FA", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "b40fd0389ac5593665b7a5521d1440118ceb94e86d42e04d0ae8c08a26424944" | ||
"checksumValue": "dc6144d76cdc17f3b6bed0606fa756029171b76b8519df0d764c94ded1c20d9d" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "6e58105386252bb31680aebd1399bef9bcb6851b" | ||
"checksumValue": "77507fb92649a6cab9afcf732c4f84b1fef1e4fa" | ||
} | ||
@@ -981,12 +1190,12 @@ ], | ||
{ | ||
"fileName": "./src/utils/nonNull.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE", | ||
"fileName": "./src/index.ts", | ||
"SPDXID": "SPDXRef-File--src-index.ts-FE35A79145C256A358A959EC8273B89C534B11B2", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "e00258536f71ba484215bdca3c5d1a6901a0f79f5df28f525a05bee32880d634" | ||
"checksumValue": "6745df51b2ad1b4adcfd8e1251d0862b77b01ed6576cfaf73aa70e512fced34e" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "afac55cf0cce9f700e9b5b4123f988f990035ebe" | ||
"checksumValue": "fe35a79145c256a358a959ec8273b89c534b11b2" | ||
} | ||
@@ -1001,12 +1210,12 @@ ], | ||
{ | ||
"fileName": "./types/generic.d.ts", | ||
"SPDXID": "SPDXRef-File--types-generic.d.ts-9B3211B2E6BA8F020FD782B15B5474435DB61454", | ||
"fileName": "./src/converters/fromRpcNullable.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcNullable.ts-00DA6094E8B2ED969C772EA01B47549BEDA4A2DE", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "072aea18a565dd984acb373c67f833013ed551f4c57f338abb3dab48683a802b" | ||
"checksumValue": "af31620202714bcc57ebddc34a6a6637ab830175eae2cab1fa4d9aadaad920a9" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "9b3211b2e6ba8f020fd782b15b5474435db61454" | ||
"checksumValue": "00da6094e8b2ed969c772ea01b47549beda4a2de" | ||
} | ||
@@ -1021,12 +1230,12 @@ ], | ||
{ | ||
"fileName": "./types/storage.d.ts", | ||
"SPDXID": "SPDXRef-File--types-storage.d.ts-E62113411D87CD618132B22DCE862361AD26C91A", | ||
"fileName": "./src/converters/toRpcTypedData.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "d54973e791cef9a0cc0fa6871f15b106060453cf850e0de8a87b9e1de2eb8042" | ||
"checksumValue": "7405a843c01b965492daa22d1a7f9372e3cf0aabe4586c34c0e4f924c9e6dedd" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "e62113411d87cd618132b22dce862361ad26c91a" | ||
"checksumValue": "9127faa57c34da3c5b136eeb1d323f6dcaa33aac" | ||
} | ||
@@ -1041,2 +1250,59 @@ ], | ||
{ | ||
"fileName": "./src/http/extractHttpUserFromHeaders.ts", | ||
"SPDXID": "SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "0701231f3d83a9050de3a9e40d946fbd49d425049d0b58bf623770f25282252a" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "4b921d1b0a53a909fb88ee72c6b798220211bd83" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./src/utils/util.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "6cf132c958c9b59c0f50372abd16961981a3010e0f8fa16801ea295830b802f0" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "b666c0d023de87615d101367aad897eafc692b3f" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./types/http.d.ts", | ||
"SPDXID": "SPDXRef-File--types-http.d.ts-C3428FE199A21CDC0B37545C615FB667955FB2C6", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "f788bc99a0ea836403d46557622760c4f86acef7a1e78acf029fbdda924f001f" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "c3428fe199a21cdc0b37545c615fb667955fb2c6" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./types/table.d.ts", | ||
@@ -1063,4 +1329,4 @@ "SPDXID": "SPDXRef-File--types-table.d.ts-5621BC5130C0ACA78783A9B28FD1BE89E85FEC1E", | ||
{ | ||
"name": "busboy", | ||
"SPDXID": "SPDXRef-Package-F0EF82FF84299CA0FF34C91CF83686752D8CC535E4C149103A72C0FAA8E2FE82", | ||
"name": "undici", | ||
"SPDXID": "SPDXRef-Package-B25CC9D8D283E3E012C1296DCA5C1B4AA1FC1DF05B15E119816B265BA61ECD1B", | ||
"downloadLocation": "NOASSERTION", | ||
@@ -1071,3 +1337,3 @@ "filesAnalyzed": false, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "1.6.0", | ||
"versionInfo": "5.26.2", | ||
"externalRefs": [ | ||
@@ -1077,10 +1343,10 @@ { | ||
"referenceType": "purl", | ||
"referenceLocator": "pkg:npm/busboy@1.6.0" | ||
"referenceLocator": "pkg:npm/undici@5.26.2" | ||
} | ||
], | ||
"supplier": "Organization: Brian White (mscdex@mscdex.net)" | ||
"supplier": "NOASSERTION" | ||
}, | ||
{ | ||
"name": "streamsearch", | ||
"SPDXID": "SPDXRef-Package-8728DA2FF5D50F7B4774FF505304E060EE53DC9F9CB68DF9D282B128ABE248E0", | ||
"name": "long", | ||
"SPDXID": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68", | ||
"downloadLocation": "NOASSERTION", | ||
@@ -1091,3 +1357,3 @@ "filesAnalyzed": false, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "1.1.0", | ||
"versionInfo": "4.0.0", | ||
"externalRefs": [ | ||
@@ -1097,10 +1363,10 @@ { | ||
"referenceType": "purl", | ||
"referenceLocator": "pkg:npm/streamsearch@1.1.0" | ||
"referenceLocator": "pkg:npm/long@4.0.0" | ||
} | ||
], | ||
"supplier": "Organization: Brian White (mscdex@mscdex.net)" | ||
"supplier": "Organization: Daniel Wirtz (dcode@dcode.io)" | ||
}, | ||
{ | ||
"name": "undici", | ||
"SPDXID": "SPDXRef-Package-3AED292F8EC24E7AA324BAF16CF68122858FECD410F1D7F31B82F96FD5FAFCA0", | ||
"name": "@fastify/busboy", | ||
"SPDXID": "SPDXRef-Package-46D092BC8D23810BAC32BE7BB2F447C349F82613DB12E2D6F41C7E9C287E261C", | ||
"downloadLocation": "NOASSERTION", | ||
@@ -1111,3 +1377,3 @@ "filesAnalyzed": false, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "5.19.1", | ||
"versionInfo": "2.0.0", | ||
"externalRefs": [ | ||
@@ -1117,10 +1383,10 @@ { | ||
"referenceType": "purl", | ||
"referenceLocator": "pkg:npm/undici@5.19.1" | ||
"referenceLocator": "pkg:npm/@fastify/busboy@2.0.0" | ||
} | ||
], | ||
"supplier": "Organization: Matteo Collina (hello@matteocollina.com)" | ||
"supplier": "Organization: Brian White (mscdex@mscdex.net)" | ||
}, | ||
{ | ||
"name": "Azure Pipelines Hosted Image win19", | ||
"SPDXID": "SPDXRef-Package-1D7AD740A75BBDDEC054F71F59DC8CE66D3131CB94E8F4541CD5302B0C82076B", | ||
"SPDXID": "SPDXRef-Package-3A9235E21FF6C1E25C756FAFCED4CC6C9079199D6A4003F1EA046ACD4250717B", | ||
"downloadLocation": "NOASSERTION", | ||
@@ -1131,3 +1397,3 @@ "filesAnalyzed": false, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "20230912.1.0", | ||
"versionInfo": "20231029.1.0", | ||
"externalRefs": [ | ||
@@ -1143,20 +1409,2 @@ { | ||
{ | ||
"name": "long", | ||
"SPDXID": "SPDXRef-Package-044336899C3AD719572161F32356DFBD386B721EFA99ECA36B059C7A2374DA68", | ||
"downloadLocation": "NOASSERTION", | ||
"filesAnalyzed": false, | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseDeclared": "NOASSERTION", | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "4.0.0", | ||
"externalRefs": [ | ||
{ | ||
"referenceCategory": "PACKAGE-MANAGER", | ||
"referenceType": "purl", | ||
"referenceLocator": "pkg:npm/long@4.0.0" | ||
} | ||
], | ||
"supplier": "Organization: Daniel Wirtz (dcode@dcode.io)" | ||
}, | ||
{ | ||
"name": "Azure Functions Node.js Framework", | ||
@@ -1166,3 +1414,3 @@ "SPDXID": "SPDXRef-RootPackage", | ||
"packageVerificationCode": { | ||
"packageVerificationCodeValue": "00c14e540b5baf45a7d5eb74b158d09c8aa7e8c9" | ||
"packageVerificationCodeValue": "618afd8d50cd36b0ce7da31477438d479b5c47e9" | ||
}, | ||
@@ -1176,3 +1424,3 @@ "filesAnalyzed": true, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "154397", | ||
"versionInfo": "157675", | ||
"externalRefs": [ | ||
@@ -1182,3 +1430,3 @@ { | ||
"referenceType": "purl", | ||
"referenceLocator": "pkg:swid/Microsoft/sbom.microsoft/Azure%20Functions%20Node.js%20Framework@154397?tag_id=1560e75f-f911-480b-a886-028f985b0434" | ||
"referenceLocator": "pkg:swid/Microsoft/sbom.microsoft/Azure%20Functions%20Node.js%20Framework@157675?tag_id=4df88dd8-846d-4062-97c6-d847cfa7b9e7" | ||
} | ||
@@ -1188,55 +1436,69 @@ ], | ||
"hasFiles": [ | ||
"SPDXRef-File--types-timer.d.ts-2A8FFD11E1DEF0D2B8C14CFE7893ADB6A0A19CB7", | ||
"SPDXRef-File--types-index.d.ts-4B5683F57B7AC26B2C992BAA5417929C84002DDE", | ||
"SPDXRef-File--types-app.d.ts-44A1D2F3999108C231EE311247AC2CE208B03DBC", | ||
"SPDXRef-File--src-http-HttpRequest.ts-6FA1FCE96BEA795DEC201BBDD254641A1DC6B6D7", | ||
"SPDXRef-File--src-hooks-AppStartContext.ts-C5E62974A2A131689590332CC698B01366AFDD4C", | ||
"SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91", | ||
"SPDXRef-File--src-input.ts-A8297994A3E2C1261C26661B99A717DA28925616", | ||
"SPDXRef-File--dist-azure-functions.js.map-099DAA857AB7EF212976908E52BF2D9CE5628C95", | ||
"SPDXRef-File--types-warmup.d.ts-FBB4722E6A80D4C2699BA6B626EB619A41AEE777", | ||
"SPDXRef-File--types-InvocationContext.d.ts-AF414932F257B471EFF915A575A17E4054596BA2", | ||
"SPDXRef-File--types-cosmosDB.v3.d.ts-34407E7D69182C902DA07BB03E20DAB388F4A5BF", | ||
"SPDXRef-File--src-utils-Disposable.ts-56791F481D6117AAE27218F4BBF165ED4698BAA9", | ||
"SPDXRef-File--src-hooks-HookContext.ts-46BBEBF323DB1509A1B1293C4EBC3718A2FE7454", | ||
"SPDXRef-File--src-converters-toCamelCase.ts-0B685E59BCD78E2B677B5B08D8DA6400BC478E5C", | ||
"SPDXRef-File--src-InvocationModel.ts-0A4E18BF96A8B7E17771173CFBC8FAF9F143E9A0", | ||
"SPDXRef-File--dist-azure-functions.min.js.map-D93F2BD47AE7D8A1E3C74AB2408BABAEB423A462", | ||
"SPDXRef-File--types-hooks-registerHook.d.ts-6AF293FA6071E1381EF1CB4C71CBFBCF22714FAD", | ||
"SPDXRef-File--types-storage.d.ts-E62113411D87CD618132B22DCE862361AD26C91A", | ||
"SPDXRef-File--types-generic.d.ts-9B3211B2E6BA8F020FD782B15B5474435DB61454", | ||
"SPDXRef-File--src-utils-tryGetCoreApiLazy.ts-716B9BD6877F9CAD2B2D6837045C6FF4B8A9A8E7", | ||
"SPDXRef-File--src-hooks-registerHook.ts-F9AA219DA0B0C777E693B18DEE273389F7CF51CA", | ||
"SPDXRef-File--src-converters-toRpcNullable.ts-093B06989BA6E60D23B752F6380E0B76B1A97B02", | ||
"SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4", | ||
"SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1", | ||
"SPDXRef-File--README.md-B8A9F56B1E8159DB546D102D2ED74ED0C67A1EA8", | ||
"SPDXRef-File--types-hooks-HookContext.d.ts-4936EAD059A4A853B0093B28C63CB0D458217CD8", | ||
"SPDXRef-File--types-serviceBus.d.ts-6F3B2D69930BD0117FB44875DB3FE0E5B2E68736", | ||
"SPDXRef-File--types-eventGrid.d.ts-1FEB3C0686CD21BA42FBFB833DFEC6D438DF4B5E", | ||
"SPDXRef-File--types-eventGrid.d.ts-6A15914EC7A9DEA9E7028CB3BE98BD81247B48CF", | ||
"SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71", | ||
"SPDXRef-File--src-hooks-PostInvocationContext.ts-AF08B0BC4FED20E73C680B55F3542E581DC5D154", | ||
"SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5", | ||
"SPDXRef-File--src-trigger.ts-86996ADFFEBF2312FFE489B54DA47E23428F86AC", | ||
"SPDXRef-File--src-app.ts-B8D92A33BB102D5602BDE149CD2A55AD055289DD", | ||
"SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4", | ||
"SPDXRef-File--types-hooks-invocationHooks.d.ts-2089D65AE538370E47EE5BFB40AFEBB248390B83", | ||
"SPDXRef-File--types-sql.d.ts-901F330C01B62ED6366CF9E0D6B7DDEDC989860B", | ||
"SPDXRef-File--types-eventHub.d.ts-5587A8363C9771E4EBF7CD0A5123D0F391D50BD6", | ||
"SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE", | ||
"SPDXRef-File--src-hooks-PreInvocationContext.ts-8EC5F8C76EBA071687099BEF3F583B4BDB2BDC4C", | ||
"SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B", | ||
"SPDXRef-File--src-converters-fromRpcBindings.ts-33564771BF04AB3EFB1FC5CDDC7740CAB4A66B9C", | ||
"SPDXRef-File--src-constants.ts-ED6E28668B2EDC093110011960ABE1289FD75C6E", | ||
"SPDXRef-File--package.json-448FBF094B6F7DF2A9C3A816316E50FA4ED23B6A", | ||
"SPDXRef-File--types-hooks-appHooks.d.ts-6F2B6A72728855178FC1B31201580EBA6E09E5AE", | ||
"SPDXRef-File--types-output.d.ts-394EF7B257D8C3E4B17E1300868930F4F16BA226", | ||
"SPDXRef-File--types-cosmosDB.v4.d.ts-EE24FA064D924FC2BC9533925C8CD868BCF9A459", | ||
"SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0", | ||
"SPDXRef-File--src-hooks-InvocationHookContext.ts-00C0614266EB4475A1EC7F2B6277D03694A8CB93", | ||
"SPDXRef-File--src-converters-toRpcDuration.ts-714B9BFB912D81833E9DB1CF93681F56D4B8A544", | ||
"SPDXRef-File--src-output.ts-C2359A1AB872C2A0D664123EDB42A72F8BD54D99", | ||
"SPDXRef-File--src-addBindingName.ts-A70032D1ACA9203BE8DF364E9BB7425A71858F5B", | ||
"SPDXRef-File--types-timer.d.ts-2A8FFD11E1DEF0D2B8C14CFE7893ADB6A0A19CB7", | ||
"SPDXRef-File--types-index.d.ts-BA1C2C97246D33C7645A85C60B4B4FACE666E391", | ||
"SPDXRef-File--types-app.d.ts-581C9E3137FC162B7F63BCA796DCB00985FA2A5B", | ||
"SPDXRef-File--src-addBindingName.ts-F6DD874B08639297670A48B38AB19B6E914FDF27", | ||
"SPDXRef-File--types-table.d.ts-5621BC5130C0ACA78783A9B28FD1BE89E85FEC1E", | ||
"SPDXRef-File--types-http.d.ts-C3428FE199A21CDC0B37545C615FB667955FB2C6", | ||
"SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F", | ||
"SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83", | ||
"SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC", | ||
"SPDXRef-File--src-converters-fromRpcNullable.ts-00DA6094E8B2ED969C772EA01B47549BEDA4A2DE", | ||
"SPDXRef-File--src-index.ts-BA6272125204FDC4F3BBBE41723DFA7E3BD31629", | ||
"SPDXRef-File--dist-azure-functions.js-1251033FE7A6B84F0E0080A711C55CD5B430C97B", | ||
"SPDXRef-File--types-output.d.ts-394EF7B257D8C3E4B17E1300868930F4F16BA226", | ||
"SPDXRef-File--types-cosmosDB.v4.d.ts-EE24FA064D924FC2BC9533925C8CD868BCF9A459", | ||
"SPDXRef-File--src-http-HttpResponse.ts-D80AEB152659971CCC088B114EFE661AD8C81602", | ||
"SPDXRef-File--src-converters-toCamelCase.ts-0B685E59BCD78E2B677B5B08D8DA6400BC478E5C", | ||
"SPDXRef-File--src-InvocationModel.ts-71731C03DA4F5F3C5C51C728F2D80A7BEFEA8309", | ||
"SPDXRef-File--dist-azure-functions.min.js.map-5CEB5AA79E3BB8116991F85CB2CC75C73EA2EE2A", | ||
"SPDXRef-File--types-sql.d.ts-901F330C01B62ED6366CF9E0D6B7DDEDC989860B", | ||
"SPDXRef-File--types-eventHub.d.ts-5587A8363C9771E4EBF7CD0A5123D0F391D50BD6", | ||
"SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71", | ||
"SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5", | ||
"SPDXRef-File--src-trigger.ts-0ABBA44A31B826642441F5BE0041566F7D8AABF4", | ||
"SPDXRef-File--src-app.ts-CAEFF41DF8006D1BBABADC0B34BF33F1B71F2478", | ||
"SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4", | ||
"SPDXRef-File--types-trigger.d.ts-43069F15839675EACA29899C883872C3C3676994", | ||
"SPDXRef-File--src-index.ts-FE35A79145C256A358A959EC8273B89C534B11B2", | ||
"SPDXRef-File--dist-azure-functions.js-77507FB92649A6CAB9AFCF732C4F84B1FEF1E4FA", | ||
"SPDXRef-File--types-trigger.d.ts-7DA3044DAAC9A1F6A48D5E85ECAFB9C51639C17B", | ||
"SPDXRef-File--types-input.d.ts-F0F554347BFBA969F7ECAC9080C65FCDF01D17B8", | ||
"SPDXRef-File--types-cosmosDB.d.ts-3C7051CEE26908061B49AF03170EEA40EBED906D", | ||
"SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83", | ||
"SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91", | ||
"SPDXRef-File--src-input.ts-A8297994A3E2C1261C26661B99A717DA28925616", | ||
"SPDXRef-File--dist-azure-functions.js.map-D54B7704C267EF00C2C5030500E1CC0B4458D4C5", | ||
"SPDXRef-File--types-table.d.ts-5621BC5130C0ACA78783A9B28FD1BE89E85FEC1E", | ||
"SPDXRef-File--types-http.d.ts-C3428FE199A21CDC0B37545C615FB667955FB2C6", | ||
"SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F", | ||
"SPDXRef-File--src-converters-toRpcNullable.ts-093B06989BA6E60D23B752F6380E0B76B1A97B02", | ||
"SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4", | ||
"SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1", | ||
"SPDXRef-File--README.md-B8A9F56B1E8159DB546D102D2ED74ED0C67A1EA8", | ||
"SPDXRef-File--types-InvocationContext.d.ts-AF414932F257B471EFF915A575A17E4054596BA2", | ||
"SPDXRef-File--types-cosmosDB.v3.d.ts-34407E7D69182C902DA07BB03E20DAB388F4A5BF", | ||
"SPDXRef-File--src-http-HttpRequest.ts-6FA1FCE96BEA795DEC201BBDD254641A1DC6B6D7", | ||
"SPDXRef-File--src-http-HttpResponse.ts-D80AEB152659971CCC088B114EFE661AD8C81602", | ||
"SPDXRef-File--src-hooks-AppTerminateContext.ts-92A3C7D31EF79CEA6755836524DB99CCCC308AA5", | ||
"SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE", | ||
"SPDXRef-File--src-InvocationContext.ts-7C805B59B2DEAF611509F130F422E0D125A25978", | ||
"SPDXRef-File--dist-azure-functions.min.js-F1C358916E42D5A28409F4A4095ACE115EE54830", | ||
"SPDXRef-File--types-storage.d.ts-E62113411D87CD618132B22DCE862361AD26C91A", | ||
"SPDXRef-File--types-generic.d.ts-9B3211B2E6BA8F020FD782B15B5474435DB61454", | ||
"SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE", | ||
"SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B", | ||
"SPDXRef-File--src-converters-fromRpcBindings.ts-33564771BF04AB3EFB1FC5CDDC7740CAB4A66B9C", | ||
"SPDXRef-File--src-constants.ts-B5F19E203CFBE7BA817BBAB6D8B0A4E230B2B0F4", | ||
"SPDXRef-File--package.json-524E2D3CB1DBD2C8BE0DF97C48F1A7D96972AD81" | ||
"SPDXRef-File--dist-azure-functions.min.js-5F6BC94F3F27E6027D35929A1A5E122757D2FB27" | ||
] | ||
@@ -1248,2 +1510,7 @@ } | ||
{ | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-3A9235E21FF6C1E25C756FAFCED4CC6C9079199D6A4003F1EA046ACD4250717B", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
}, | ||
{ | ||
"relationshipType": "DESCRIBES", | ||
@@ -1260,3 +1527,3 @@ "relatedSpdxElement": "SPDXRef-RootPackage", | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-3AED292F8EC24E7AA324BAF16CF68122858FECD410F1D7F31B82F96FD5FAFCA0", | ||
"relatedSpdxElement": "SPDXRef-Package-46D092BC8D23810BAC32BE7BB2F447C349F82613DB12E2D6F41C7E9C287E261C", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
@@ -1266,14 +1533,4 @@ }, | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-8728DA2FF5D50F7B4774FF505304E060EE53DC9F9CB68DF9D282B128ABE248E0", | ||
"relatedSpdxElement": "SPDXRef-Package-B25CC9D8D283E3E012C1296DCA5C1B4AA1FC1DF05B15E119816B265BA61ECD1B", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
}, | ||
{ | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-1D7AD740A75BBDDEC054F71F59DC8CE66D3131CB94E8F4541CD5302B0C82076B", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
}, | ||
{ | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-F0EF82FF84299CA0FF34C91CF83686752D8CC535E4C149103A72C0FAA8E2FE82", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
} | ||
@@ -1284,9 +1541,9 @@ ], | ||
"SPDXID": "SPDXRef-DOCUMENT", | ||
"name": "Azure Functions Node.js Framework 154397", | ||
"documentNamespace": "https://sbom.microsoft/1:vB_F0XdED0q5n_yQEwCaWA:kgyn5ihBn0OAEjgv541jlg/145:154397/y_KVd_ll4kWlRKfDPjtcqA", | ||
"name": "Azure Functions Node.js Framework 157675", | ||
"documentNamespace": "https://sbom.microsoft/1:vB_F0XdED0q5n_yQEwCaWA:kgyn5ihBn0OAEjgv541jlg/145:157675/D7I2Dcco10qInqC3dK76_A", | ||
"creationInfo": { | ||
"created": "2023-09-28T20:10:41Z", | ||
"created": "2023-11-13T22:10:11Z", | ||
"creators": [ | ||
"Organization: Microsoft", | ||
"Tool: Microsoft.SBOMTool-1.6.2" | ||
"Tool: Microsoft.SBOMTool-1.8.1" | ||
] | ||
@@ -1293,0 +1550,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
(()=>{"use strict";var e={313:function(e,t){var n,r,o,i=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},s=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationContext=void 0,t.InvocationContext=class{constructor(e){var t,r,o,s;n.set(this,void 0),e=e||{};const l="unknown";this.invocationId=e.invocationId||l,this.functionName=e.functionName||l,this.extraInputs=new a,this.extraOutputs=new u,this.retryContext=e.retryContext,this.traceContext=e.traceContext,this.triggerMetadata=e.triggerMetadata,this.options={trigger:(null===(t=e.options)||void 0===t?void 0:t.trigger)||{name:l,type:l},return:null===(r=e.options)||void 0===r?void 0:r.return,extraInputs:(null===(o=e.options)||void 0===o?void 0:o.extraInputs)||[],extraOutputs:(null===(s=e.options)||void 0===s?void 0:s.extraOutputs)||[]},i(this,n,e.logHandler||c,"f")}log(...e){s(this,n,"f").call(this,"information",...e)}trace(...e){s(this,n,"f").call(this,"trace",...e)}debug(...e){s(this,n,"f").call(this,"debug",...e)}info(...e){s(this,n,"f").call(this,"information",...e)}warn(...e){s(this,n,"f").call(this,"warning",...e)}error(...e){s(this,n,"f").call(this,"error",...e)}},n=new WeakMap;class a{constructor(){r.set(this,{})}get(e){const t="string"==typeof e?e:e.name;return s(this,r,"f")[t]}set(e,t){const n="string"==typeof e?e:e.name;s(this,r,"f")[n]=t}}r=new WeakMap;class u{constructor(){o.set(this,{})}get(e){const t="string"==typeof e?e:e.name;return s(this,o,"f")[t]}set(e,t){const n="string"==typeof e?e:e.name;s(this,o,"f")[n]=t}}function c(e,...t){switch(e){case"trace":console.trace(...t);break;case"debug":console.debug(...t);break;case"information":console.info(...t);break;case"warning":console.warn(...t);break;case"critical":case"error":console.error(...t);break;default:console.log(...t)}}o=new WeakMap},62:function(e,t,n){var r,o,i,s,a,u,c,l,f,p,d=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},g=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},h=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationModel=void 0;const y=n(764),v=n(313),b=n(601),m=n(168),w=n(130),O=n(243),j=n(408),x=n(788),P=n(186),T=n(828),_=n(674),B=n(557);t.InvocationModel=class{constructor(e){r.add(this),o.set(this,!1),i.set(this,void 0),s.set(this,void 0),a.set(this,void 0),u.set(this,void 0),g(this,i,e,"f"),g(this,s,(0,B.nonNullProp)(e.metadata,"name"),"f"),g(this,a,(0,B.nonNullProp)(e.metadata,"bindings"),"f");const t=(0,B.nonNullValue)(Object.values(h(this,a,"f")).find((e=>(0,_.isTrigger)(e.type))),"triggerBinding");g(this,u,(0,B.nonNullProp)(t,"type"),"f")}getArguments(){return d(this,void 0,void 0,(function*(){const e=h(this,i,"f").request,t=new v.InvocationContext({invocationId:(0,B.nonNullProp)(h(this,i,"f"),"invocationId"),functionName:h(this,s,"f"),logHandler:(e,...t)=>h(this,r,"m",p).call(this,e,...t),retryContext:(0,w.fromRpcRetryContext)(e.retryContext),traceContext:(0,w.fromRpcTraceContext)(e.traceContext),triggerMetadata:(0,O.fromRpcTriggerMetadata)(e.triggerMetadata,h(this,u,"f")),options:(0,m.fromRpcBindings)(h(this,a,"f"))}),n=[];if(e.inputData)for(const r of e.inputData){const e=(0,B.nonNullProp)(r,"name");let o=(0,j.fromRpcTypedData)(r.data);const i=h(this,a,"f")[e].type;(0,_.isTimerTrigger)(i)&&(o=(0,x.toCamelCaseValue)(o)),(0,_.isTrigger)(i)?n.push(o):t.extraInputs.set(e,o)}return{context:t,inputs:n}}))}invokeFunction(e,t,n){return d(this,void 0,void 0,(function*(){try{return yield Promise.resolve(n(t[0],e))}finally{g(this,o,!0,"f")}}))}getResponse(e,t){return d(this,void 0,void 0,(function*(){const n={invocationId:h(this,i,"f").invocationId,outputData:[]};let o=!1;for(const[i,s]of Object.entries(h(this,a,"f")))if("out"===s.direction)if(i===b.returnBindingKey)n.returnValue=yield h(this,r,"m",c).call(this,s,t),o=!0;else{const t=yield h(this,r,"m",c).call(this,s,e.extraOutputs.get(i));(0,B.isDefined)(t)&&n.outputData.push({name:i,data:t})}return o||(0,_.isHttpTrigger)(h(this,u,"f"))||(n.returnValue=(0,T.toRpcTypedData)(t)),n}))}},o=new WeakMap,i=new WeakMap,s=new WeakMap,a=new WeakMap,u=new WeakMap,r=new WeakSet,c=function(e,t){var n;return d(this,void 0,void 0,(function*(){return"http"===(null===(n=e.type)||void 0===n?void 0:n.toLowerCase())?(0,P.toRpcHttp)(t):(0,T.toRpcTypedData)(t)}))},l=function(e,t,...n){h(this,i,"f").log(e,t,(0,y.format)(...n))},f=function(e,...t){h(this,r,"m",l).call(this,e,"system",...t)},p=function(e,...t){if(h(this,o,"f")&&"postInvocationHooks"!==h(this,i,"f").state){let e="Warning: Unexpected call to 'log' on the context object after function execution has completed. Please check for asynchronous calls that are not awaited. ";e+=`Function name: ${h(this,s,"f")}. Invocation Id: ${h(this,i,"f").invocationId}.`,h(this,r,"m",f).call(this,"warning",e)}h(this,r,"m",l).call(this,e,"user",...t)}},109:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addBindingName=t.InvocationContext=t.HttpResponse=t.HttpRequest=void 0;var r=n(726);Object.defineProperty(t,"HttpRequest",{enumerable:!0,get:function(){return r.HttpRequest}});var o=n(681);Object.defineProperty(t,"HttpResponse",{enumerable:!0,get:function(){return o.HttpResponse}});var i=n(313);Object.defineProperty(t,"InvocationContext",{enumerable:!0,get:function(){return i.InvocationContext}});const s={};t.addBindingName=function(e,t){if(!e.name){let n=e.type;n.toLowerCase().endsWith(t.toLowerCase())||(n+=t);let r=s[n]||0;r+=1,s[n]=r,e.name=n+r.toString()}return e}},752:function(e,t,n){var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.cosmosDB=t.eventGrid=t.eventHub=t.serviceBusTopic=t.serviceBusQueue=t.storageQueue=t.storageBlob=t.timer=t.http=t.deleteRequest=t.patch=t.post=t.put=t.get=void 0;const o=n(62),i=n(601),s=n(133),a=n(854),u=n(892),c=n(674);let l;function f(){if(void 0===l)try{l=n(605)}catch(e){l=null}return l}class p{constructor(){this.name="@azure/functions",this.version=i.version}getInvocationModel(e){return new o.InvocationModel(e)}}let d=!1;function g(e,t){const n="function"==typeof e?{handler:e}:e;return n.methods=[t],n}function h(e,t){const{handler:n,return:o,trigger:i,extraInputs:s,extraOutputs:a}=e,u=r(e,["handler","return","trigger","extraInputs","extraOutputs"]);return{trigger:null!=i?i:t(u),return:o,extraInputs:s,extraOutputs:a,handler:n}}function y(e,t){t.return||(t.return=a.http({})),v(e,h(t,u.http))}function v(e,t){d||function(){const e=f();e?e.setProgrammingModel(new p):console.warn('WARNING: Failed to detect the Azure Functions runtime. Switching "@azure/functions" package to test mode - not all features are supported.'),d=!0}();const n={},r=t.trigger;if(n[r.name]=Object.assign(Object.assign({},r),{direction:"in",type:(0,c.isTrigger)(r.type)?r.type:r.type+"Trigger"}),t.extraInputs)for(const e of t.extraInputs)n[e.name]=Object.assign(Object.assign({},e),{direction:"in"});if(t.return&&(t.return.name=i.returnBindingKey,n[t.return.name]=Object.assign(Object.assign({},t.return),{direction:"out"})),t.extraOutputs)for(const e of t.extraOutputs)n[e.name]=Object.assign(Object.assign({},e),{direction:"out"});let o;t.retry&&(o=Object.assign(Object.assign({},t.retry),{retryStrategy:t.retry.strategy,delayInterval:(0,s.toRpcDuration)(t.retry.delayInterval,"retry.delayInterval"),maximumInterval:(0,s.toRpcDuration)(t.retry.maximumInterval,"retry.maximumInterval"),minimumInterval:(0,s.toRpcDuration)(t.retry.minimumInterval,"retry.minimumInterval")}));const a=f();a?a.registerFunction({name:e,bindings:n,retryOptions:o},t.handler):console.warn(`WARNING: Skipping call to register function "${e}" because the "@azure/functions" package is in test mode.`)}t.get=function(e,t){y(e,g(t,"GET"))},t.put=function(e,t){y(e,g(t,"PUT"))},t.post=function(e,t){y(e,g(t,"POST"))},t.patch=function(e,t){y(e,g(t,"PATCH"))},t.deleteRequest=function(e,t){y(e,g(t,"DELETE"))},t.http=y,t.timer=function(e,t){v(e,h(t,u.timer))},t.storageBlob=function(e,t){v(e,h(t,u.storageBlob))},t.storageQueue=function(e,t){v(e,h(t,u.storageQueue))},t.serviceBusQueue=function(e,t){v(e,h(t,u.serviceBusQueue))},t.serviceBusTopic=function(e,t){v(e,h(t,u.serviceBusTopic))},t.eventHub=function(e,t){v(e,h(t,u.eventHub))},t.eventGrid=function(e,t){v(e,h(t,u.eventGrid))},t.cosmosDB=function(e,t){v(e,h(t,u.cosmosDB))},t.generic=v},601:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.returnBindingKey=t.version=void 0,t.version="4.0.1",t.returnBindingKey="$return"},168:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcBindings=void 0;const r=n(601),o=n(674),i=n(557);function s(e,t){return Object.assign(Object.assign({},t),{type:(0,i.nonNullProp)(t,"type"),name:e})}t.fromRpcBindings=function(e){let t,n;const a=[],u=[];for(const[c,l]of Object.entries((0,i.nonNullValue)(e,"bindings")))(0,o.isTrigger)(l.type)?t=s(c,l):c===r.returnBindingKey?n=s(c,l):"in"===l.direction?a.push(s(c,l)):"out"===l.direction&&u.push(s(c,l));return{trigger:(0,i.nonNullValue)(t,"trigger"),return:n,extraInputs:a,extraOutputs:u}}},130:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTraceContext=t.fromRpcRetryContext=void 0;const r=n(557);t.fromRpcRetryContext=function(e){if(e){const t={retryCount:(0,r.nonNullProp)(e,"retryCount"),maxRetryCount:(0,r.nonNullProp)(e,"maxRetryCount")};return e.exception&&(t.exception=function(e){const t={};return(0,r.copyPropIfDefined)(e,t,"message"),(0,r.copyPropIfDefined)(e,t,"source"),(0,r.copyPropIfDefined)(e,t,"stackTrace"),t}(e.exception)),t}},t.fromRpcTraceContext=function(e){if(e){const t={};return(0,r.copyPropIfDefined)(e,t,"traceParent"),(0,r.copyPropIfDefined)(e,t,"traceState"),e.attributes&&(t.attributes=e.attributes),t}}},691:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromNullableMapping=void 0,t.fromNullableMapping=function(e,t){let n={};if(e&&Object.keys(e).length>0)for(const t in e)n[t]=e[t].value||"";else t&&Object.keys(t).length>0&&(n=t);return n}},243:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTriggerMetadata=void 0;const r=n(674),o=n(408),i=n(788);t.fromRpcTriggerMetadata=function(e,t){if(e&&!(0,r.isHttpTrigger)(t)&&!(0,r.isTimerTrigger)(t)){const t={};for(const[n,r]of Object.entries(e))t[(0,i.toCamelCaseKey)(n)]=(0,i.toCamelCaseValue)((0,o.fromRpcTypedData)(r));return t}}},408:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTypedData=void 0;const r=n(726),o=n(557);function i(e){try{return JSON.parse(e)}catch(t){return e}}t.fromRpcTypedData=function(e){return e?(0,o.isDefined)(e.string)?i(e.string):(0,o.isDefined)(e.json)?JSON.parse(e.json):(0,o.isDefined)(e.bytes)?Buffer.from(e.bytes):(0,o.isDefined)(e.stream)?Buffer.from(e.stream):(0,o.isDefined)(e.http)?new r.HttpRequest(e.http):(0,o.isDefined)(e.int)?e.int:(0,o.isDefined)(e.double)?e.double:e.collectionBytes&&(0,o.isDefined)(e.collectionBytes.bytes)?e.collectionBytes.bytes.map((e=>Buffer.from(e))):e.collectionString&&(0,o.isDefined)(e.collectionString.string)?e.collectionString.string.map(i):e.collectionDouble&&(0,o.isDefined)(e.collectionDouble.double)?e.collectionDouble.double:e.collectionSint64&&(0,o.isDefined)(e.collectionSint64.sint64)?e.collectionSint64.sint64:void 0:void 0}},788:(e,t)=>{function n(e){return e.charAt(0).toLowerCase()+e.slice(1)}Object.defineProperty(t,"__esModule",{value:!0}),t.toCamelCaseKey=t.toCamelCaseValue=void 0,t.toCamelCaseValue=function e(t){if("object"!=typeof t||null===t)return t;if(Array.isArray(t))return t.map(e);{const r={};for(const[o,i]of Object.entries(t))r[n(o)]=e(i);return r}},t.toCamelCaseKey=n},133:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcDuration=void 0;const r=n(758),o=n(557);t.toRpcDuration=function(e,t){if((0,o.isDefined)(e)){try{let t;if("object"==typeof e){const n=(e.minutes||0)+60*(e.hours||0),r=(e.seconds||0)+60*n;t=(e.milliseconds||0)+1e3*r}else"number"==typeof e&&(t=e);if((0,o.isDefined)(t)&&t>=0)return{seconds:Math.round(t/1e3)}}catch(e){}throw new r.AzFuncSystemError(`A 'number' or 'Duration' object was expected instead of a '${typeof e}'. Cannot parse value of '${t}'.`)}}},186:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcHttp=void 0;const o=n(758),i=n(681),s=n(518),a=n(828);t.toRpcHttp=function(e){return r(this,void 0,void 0,(function*(){if(null==e)return e;if("object"!=typeof e)throw new o.AzFuncSystemError('The HTTP response must be an object with optional properties "body", "status", "headers", and "cookies".');const t=e instanceof i.HttpResponse?e:new i.HttpResponse(e),n={};n.statusCode=t.status.toString(),n.headers={};for(const[e,r]of t.headers.entries())n.headers[e]=r;n.cookies=[];for(const e of t.cookies)n.cookies.push((0,s.toRpcHttpCookie)(e));n.enableContentNegotiation=t.enableContentNegotiation;const r=yield t.arrayBuffer();return n.body=(0,a.toRpcTypedData)(r),{http:n}}))}},518:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcHttpCookie=void 0;const r=n(679);t.toRpcHttpCookie=function(e){let t="none";if(e&&e.sameSite){const n=e.sameSite.toLocaleLowerCase();"lax"===n?t="lax":"strict"===n?t="strict":"none"===n&&(t="explicitNone")}return{name:e&&(0,r.toRpcString)(e.name,"cookie.name"),value:e&&(0,r.toRpcString)(e.value,"cookie.value"),domain:(0,r.toNullableString)(e&&e.domain,"cookie.domain"),path:(0,r.toNullableString)(e&&e.path,"cookie.path"),expires:(0,r.toNullableTimestamp)(e&&e.expires,"cookie.expires"),secure:(0,r.toNullableBool)(e&&e.secure,"cookie.secure"),httpOnly:(0,r.toNullableBool)(e&&e.httpOnly,"cookie.httpOnly"),sameSite:t,maxAge:(0,r.toNullableDouble)(e&&e.maxAge,"cookie.maxAge")}}},679:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toNullableTimestamp=t.toNullableString=t.toRpcString=t.toNullableDouble=t.toNullableBool=void 0;const r=n(758),o=n(557);t.toNullableBool=function(e,t){if("boolean"==typeof e)return{value:e};if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'boolean' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toNullableDouble=function(e,t){if("number"==typeof e)return{value:e};if("string"==typeof e&&!isNaN(Number(e)))return{value:parseFloat(e)};if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'number' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toRpcString=function(e,t){if("string"==typeof e)return e;if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'string' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`);return""},t.toNullableString=function(e,t){if("string"==typeof e)return{value:e};if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'string' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toNullableTimestamp=function(e,t){if((0,o.isDefined)(e))try{const t="number"==typeof e?e:e.getTime();if(t&&t>=0)return{value:{seconds:Math.round(t/1e3)}}}catch(n){throw new r.AzFuncSystemError(`A 'number' or 'Date' input was expected instead of a '${typeof e}'. Cannot parse value of '${t}'.`)}}},828:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcTypedData=void 0,t.toRpcTypedData=function(e){return null==e?e:"string"==typeof e?{string:e}:Buffer.isBuffer(e)?{bytes:e}:ArrayBuffer.isView(e)?{bytes:new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}:e instanceof ArrayBuffer?{bytes:new Uint8Array(e)}:"number"==typeof e?Number.isInteger(e)?{int:e}:{double:e}:{json:JSON.stringify(e)}}},758:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isError=t.ensureErrorType=t.ReadOnlyError=t.AzFuncRangeError=t.AzFuncTypeError=t.AzFuncSystemError=void 0;class n extends Error{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncSystemError=n;class r extends TypeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncTypeError=r;class o extends RangeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncRangeError=o,t.ReadOnlyError=class extends r{constructor(e){super(`Cannot assign to read only property '${e}'`)}},t.ensureErrorType=function(e){if(e instanceof Error)return e;{let t;return t=null==e?"Unknown error":"string"==typeof e?e:"object"==typeof e?JSON.stringify(e):String(e),new Error(t)}},t.isError=function(e){return null!=e}},726:function(e,t,n){var r,o,i,s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},a=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},u=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpRequest=void 0;const c=n(122),l=n(360),f=n(691),p=n(557),d=n(21);t.HttpRequest=class{constructor(e){var t,n,s;r.set(this,void 0),o.set(this,void 0),i.set(this,void 0);const d=(0,p.nonNullProp)(e,"url");(null===(t=e.body)||void 0===t?void 0:t.bytes)?a(this,i,Buffer.from(null===(n=e.body)||void 0===n?void 0:n.bytes),"f"):(null===(s=e.body)||void 0===s?void 0:s.string)&&a(this,i,e.body.string,"f"),a(this,o,new c.Request(d,{body:u(this,i,"f"),method:(0,p.nonNullProp)(e,"method"),headers:(0,f.fromNullableMapping)(e.nullableHeaders,e.headers)}),"f"),this.query=new l.URLSearchParams((0,f.fromNullableMapping)(e.nullableQuery,e.query)),this.params=(0,f.fromNullableMapping)(e.nullableParams,e.params)}get url(){return u(this,o,"f").url}get method(){return u(this,o,"f").method}get headers(){return u(this,o,"f").headers}get user(){return void 0===u(this,r,"f")&&a(this,r,(0,d.extractHttpUserFromHeaders)(this.headers),"f"),u(this,r,"f")}get body(){return u(this,o,"f").body}get bodyUsed(){return u(this,o,"f").bodyUsed}arrayBuffer(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").arrayBuffer()}))}blob(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").blob()}))}formData(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").formData()}))}json(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").json()}))}text(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").text()}))}},r=new WeakMap,o=new WeakMap,i=new WeakMap},681:function(e,t,n){var r,o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},s=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpResponse=void 0;const a=n(122),u=n(557);t.HttpResponse=class{constructor(e){r.set(this,void 0);const t={status:null==e?void 0:e.status,headers:null==e?void 0:e.headers};(0,u.isDefined)(null==e?void 0:e.jsonBody)?i(this,r,a.Response.json(null==e?void 0:e.jsonBody,t),"f"):i(this,r,new a.Response(null==e?void 0:e.body,t),"f"),this.cookies=(null==e?void 0:e.cookies)||[],this.enableContentNegotiation=!!(null==e?void 0:e.enableContentNegotiation)}get status(){return s(this,r,"f").status}get headers(){return s(this,r,"f").headers}get body(){return s(this,r,"f").body}get bodyUsed(){return s(this,r,"f").bodyUsed}arrayBuffer(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").arrayBuffer()}))}blob(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").blob()}))}formData(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").formData()}))}json(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").json()}))}text(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").text()}))}},r=new WeakMap},21:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.extractHttpUserFromHeaders=void 0;const r=n(557);t.extractHttpUserFromHeaders=function(e){let t=null;const n=e.get("x-ms-client-principal");if(n){const o=JSON.parse(Buffer.from(n,"base64").toString("utf-8"));t=o.identityProvider?{type:"StaticWebApps",id:o.userId,username:o.userDetails,identityProvider:o.identityProvider,claimsPrincipalData:o}:{type:"AppService",id:(0,r.nonNullValue)(e.get("x-ms-client-principal-id"),"user-id"),username:(0,r.nonNullValue)(e.get("x-ms-client-principal-name"),"user-name"),identityProvider:(0,r.nonNullValue)(e.get("x-ms-client-principal-idp"),"user-idp"),claimsPrincipalData:o}}return t}},489:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.sql=t.cosmosDB=t.table=t.storageBlob=void 0;const r=n(109);function o(e){return(0,r.addBindingName)(e,"Input")}t.storageBlob=function(e){return o(Object.assign(Object.assign({},e),{type:"blob"}))},t.table=function(e){return o(Object.assign(Object.assign({},e),{type:"table"}))},t.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},t.sql=function(e){return o(Object.assign(Object.assign({},e),{type:"sql"}))},t.generic=function(e){return o(e)}},854:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.sql=t.cosmosDB=t.eventGrid=t.eventHub=t.serviceBusTopic=t.serviceBusQueue=t.storageQueue=t.table=t.storageBlob=t.http=void 0;const r=n(109);function o(e){return(0,r.addBindingName)(e,"Output")}t.http=function(e){return o(Object.assign(Object.assign({},e),{type:"http"}))},t.storageBlob=function(e){return o(Object.assign(Object.assign({},e),{type:"blob"}))},t.table=function(e){return o(Object.assign(Object.assign({},e),{type:"table"}))},t.storageQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"queue"}))},t.serviceBusQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBus"}))},t.serviceBusTopic=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBus"}))},t.eventHub=function(e){return o(Object.assign(Object.assign({},e),{type:"eventHub"}))},t.eventGrid=function(e){return o(Object.assign(Object.assign({},e),{type:"eventGrid"}))},t.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},t.sql=function(e){return o(Object.assign(Object.assign({},e),{type:"sql"}))},t.generic=function(e){return o(e)}},892:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.cosmosDB=t.eventGrid=t.eventHub=t.serviceBusTopic=t.serviceBusQueue=t.storageQueue=t.storageBlob=t.timer=t.http=void 0;const r=n(109);function o(e){return(0,r.addBindingName)(e,"Trigger")}t.http=function(e){return o(Object.assign(Object.assign({},e),{authLevel:e.authLevel||"anonymous",methods:e.methods||["GET","POST"],type:"httpTrigger"}))},t.timer=function(e){return o(Object.assign(Object.assign({},e),{type:"timerTrigger"}))},t.storageBlob=function(e){return o(Object.assign(Object.assign({},e),{type:"blobTrigger"}))},t.storageQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"queueTrigger"}))},t.serviceBusQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBusTrigger"}))},t.serviceBusTopic=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBusTrigger"}))},t.eventHub=function(e){return o(Object.assign(Object.assign({},e),{type:"eventHubTrigger"}))},t.eventGrid=function(e){return o(Object.assign(Object.assign({},e),{type:"eventGridTrigger"}))},t.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDBTrigger"}))},t.generic=function(e){return o(e)}},674:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isTimerTrigger=t.isHttpTrigger=t.isTrigger=void 0,t.isTrigger=function(e){return!!e&&/trigger$/i.test(e)},t.isHttpTrigger=function(e){return"httptrigger"===(null==e?void 0:e.toLowerCase())},t.isTimerTrigger=function(e){return"timertrigger"===(null==e?void 0:e.toLowerCase())}},557:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isDefined=t.copyPropIfDefined=t.nonNullValue=t.nonNullProp=void 0;const r=n(758);function o(e,t){if(null==e)throw new r.AzFuncSystemError("Internal error: Expected value to be neither null nor undefined"+(t?`: ${t}`:""));return e}t.nonNullProp=function(e,t){return o(e[t],t)},t.nonNullValue=o,t.copyPropIfDefined=function(e,t,n){null!==e[n]&&void 0!==e[n]&&(t[n]=e[n])},t.isDefined=function(e){return null!=e}},605:e=>{e.exports=require("@azure/functions-core")},122:e=>{e.exports=require("undici")},360:e=>{e.exports=require("url")},764:e=>{e.exports=require("util")}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}var r={};(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.trigger=e.output=e.InvocationContext=e.input=e.HttpResponse=e.HttpRequest=e.app=void 0,e.app=n(752);var t=n(726);Object.defineProperty(e,"HttpRequest",{enumerable:!0,get:function(){return t.HttpRequest}});var o=n(681);Object.defineProperty(e,"HttpResponse",{enumerable:!0,get:function(){return o.HttpResponse}}),e.input=n(489);var i=n(313);Object.defineProperty(e,"InvocationContext",{enumerable:!0,get:function(){return i.InvocationContext}}),e.output=n(854),e.trigger=n(892)})(),module.exports=r})(); | ||
(()=>{"use strict";var e={313:function(e,t){var n,r,o,i=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},s=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationContext=void 0,t.InvocationContext=class{constructor(e){var t,r,o,s;n.set(this,void 0),e=e||{};const l="unknown";this.invocationId=e.invocationId||l,this.functionName=e.functionName||l,this.extraInputs=new a,this.extraOutputs=new u,this.retryContext=e.retryContext,this.traceContext=e.traceContext,this.triggerMetadata=e.triggerMetadata,this.options={trigger:(null===(t=e.options)||void 0===t?void 0:t.trigger)||{name:l,type:l},return:null===(r=e.options)||void 0===r?void 0:r.return,extraInputs:(null===(o=e.options)||void 0===o?void 0:o.extraInputs)||[],extraOutputs:(null===(s=e.options)||void 0===s?void 0:s.extraOutputs)||[]},i(this,n,e.logHandler||c,"f")}log(...e){s(this,n,"f").call(this,"information",...e)}trace(...e){s(this,n,"f").call(this,"trace",...e)}debug(...e){s(this,n,"f").call(this,"debug",...e)}info(...e){s(this,n,"f").call(this,"information",...e)}warn(...e){s(this,n,"f").call(this,"warning",...e)}error(...e){s(this,n,"f").call(this,"error",...e)}},n=new WeakMap;class a{constructor(){r.set(this,{})}get(e){const t="string"==typeof e?e:e.name;return s(this,r,"f")[t]}set(e,t){const n="string"==typeof e?e:e.name;s(this,r,"f")[n]=t}}r=new WeakMap;class u{constructor(){o.set(this,{})}get(e){const t="string"==typeof e?e:e.name;return s(this,o,"f")[t]}set(e,t){const n="string"==typeof e?e:e.name;s(this,o,"f")[n]=t}}function c(e,...t){switch(e){case"trace":console.trace(...t);break;case"debug":console.debug(...t);break;case"information":console.info(...t);break;case"warning":console.warn(...t);break;case"critical":case"error":console.error(...t);break;default:console.log(...t)}}o=new WeakMap},62:function(e,t,n){var r,o,i,s,a,u,c,l,f,p,d=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},h=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},v=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationModel=void 0;const y=n(764),g=n(601),b=n(168),m=n(130),w=n(243),x=n(408),j=n(788),P=n(186),O=n(828),C=n(313),T=n(674),_=n(557);t.InvocationModel=class{constructor(e){r.add(this),o.set(this,!1),i.set(this,void 0),s.set(this,void 0),a.set(this,void 0),u.set(this,void 0),h(this,i,e,"f"),h(this,s,(0,_.nonNullProp)(e.metadata,"name"),"f"),h(this,a,(0,_.nonNullProp)(e.metadata,"bindings"),"f");const t=(0,_.nonNullValue)(Object.values(v(this,a,"f")).find((e=>(0,T.isTrigger)(e.type))),"triggerBinding");h(this,u,(0,_.nonNullProp)(t,"type"),"f")}getArguments(){return d(this,void 0,void 0,(function*(){const e=v(this,i,"f").request,t=new C.InvocationContext({invocationId:(0,_.nonNullProp)(v(this,i,"f"),"invocationId"),functionName:v(this,s,"f"),logHandler:(e,...t)=>v(this,r,"m",p).call(this,e,...t),retryContext:(0,m.fromRpcRetryContext)(e.retryContext),traceContext:(0,m.fromRpcTraceContext)(e.traceContext),triggerMetadata:(0,w.fromRpcTriggerMetadata)(e.triggerMetadata,v(this,u,"f")),options:(0,b.fromRpcBindings)(v(this,a,"f"))}),n=[];if(e.inputData)for(const r of e.inputData){const e=(0,_.nonNullProp)(r,"name");let o=(0,x.fromRpcTypedData)(r.data);const i=v(this,a,"f")[e].type;(0,T.isTimerTrigger)(i)&&(o=(0,j.toCamelCaseValue)(o)),(0,T.isTrigger)(i)?n.push(o):t.extraInputs.set(e,o)}return{context:t,inputs:n}}))}invokeFunction(e,t,n){return d(this,void 0,void 0,(function*(){try{return yield Promise.resolve(n(...t,e))}finally{h(this,o,!0,"f")}}))}getResponse(e,t){return d(this,void 0,void 0,(function*(){const n={invocationId:v(this,i,"f").invocationId,outputData:[]};let o=!1;for(const[i,s]of Object.entries(v(this,a,"f")))if("out"===s.direction)if(i===g.returnBindingKey)n.returnValue=yield v(this,r,"m",c).call(this,s,t),o=!0;else{const t=yield v(this,r,"m",c).call(this,s,e.extraOutputs.get(i));(0,_.isDefined)(t)&&n.outputData.push({name:i,data:t})}return o||(0,T.isHttpTrigger)(v(this,u,"f"))||(n.returnValue=(0,O.toRpcTypedData)(t)),n}))}},o=new WeakMap,i=new WeakMap,s=new WeakMap,a=new WeakMap,u=new WeakMap,r=new WeakSet,c=function(e,t){var n;return d(this,void 0,void 0,(function*(){return"http"===(null===(n=e.type)||void 0===n?void 0:n.toLowerCase())?(0,P.toRpcHttp)(t):(0,O.toRpcTypedData)(t)}))},l=function(e,t,...n){v(this,i,"f").log(e,t,(0,y.format)(...n))},f=function(e,...t){v(this,r,"m",l).call(this,e,"system",...t)},p=function(e,...t){if(v(this,o,"f")&&"postInvocationHooks"!==v(this,i,"f").state){let e="Warning: Unexpected call to 'log' on the context object after function execution has completed. Please check for asynchronous calls that are not awaited. ";e+=`Function name: ${v(this,s,"f")}. Invocation Id: ${v(this,i,"f").invocationId}.`,v(this,r,"m",f).call(this,"warning",e)}v(this,r,"m",l).call(this,e,"user",...t)}},109:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addBindingName=t.InvocationContext=t.HttpResponse=t.HttpRequest=void 0;var r=n(726);Object.defineProperty(t,"HttpRequest",{enumerable:!0,get:function(){return r.HttpRequest}});var o=n(681);Object.defineProperty(t,"HttpResponse",{enumerable:!0,get:function(){return o.HttpResponse}});var i=n(313);Object.defineProperty(t,"InvocationContext",{enumerable:!0,get:function(){return i.InvocationContext}});const s={};t.addBindingName=function(e,t){if(!e.name){let n=e.type;n.toLowerCase().endsWith(t.toLowerCase())||(n+=t);let r=s[n]||0;r+=1,s[n]=r,e.name=n+r.toString()}return e}},752:function(e,t,n){var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.warmup=t.cosmosDB=t.eventGrid=t.eventHub=t.serviceBusTopic=t.serviceBusQueue=t.storageQueue=t.storageBlob=t.timer=t.http=t.deleteRequest=t.patch=t.post=t.put=t.get=t.hook=void 0;const o=n(601),i=n(133),s=n(62),a=n(854),u=n(892),c=n(674),l=n(736);t.hook=n(689);class f{constructor(){this.name="@azure/functions",this.version=o.version}getInvocationModel(e){return new s.InvocationModel(e)}}let p=!1;function d(e,t){const n="function"==typeof e?{handler:e}:e;return n.methods=[t],n}function h(e,t){const{handler:n,return:o,trigger:i,extraInputs:s,extraOutputs:a}=e,u=r(e,["handler","return","trigger","extraInputs","extraOutputs"]);return{trigger:null!=i?i:t(u),return:o,extraInputs:s,extraOutputs:a,handler:n}}function v(e,t){t.return||(t.return=a.http({})),y(e,h(t,u.http))}function y(e,t){p||function(){const e=(0,l.tryGetCoreApiLazy)();e?e.setProgrammingModel(new f):console.warn('WARNING: Failed to detect the Azure Functions runtime. Switching "@azure/functions" package to test mode - not all features are supported.'),p=!0}();const n={},r=t.trigger;if(n[r.name]=Object.assign(Object.assign({},r),{direction:"in",type:(0,c.isTrigger)(r.type)?r.type:r.type+"Trigger"}),t.extraInputs)for(const e of t.extraInputs)n[e.name]=Object.assign(Object.assign({},e),{direction:"in"});if(t.return&&(n[o.returnBindingKey]=Object.assign(Object.assign({},t.return),{direction:"out"})),t.extraOutputs)for(const e of t.extraOutputs)n[e.name]=Object.assign(Object.assign({},e),{direction:"out"});let s;t.retry&&(s=Object.assign(Object.assign({},t.retry),{retryStrategy:t.retry.strategy,delayInterval:(0,i.toRpcDuration)(t.retry.delayInterval,"retry.delayInterval"),maximumInterval:(0,i.toRpcDuration)(t.retry.maximumInterval,"retry.maximumInterval"),minimumInterval:(0,i.toRpcDuration)(t.retry.minimumInterval,"retry.minimumInterval")}));const a=(0,l.tryGetCoreApiLazy)();a?a.registerFunction({name:e,bindings:n,retryOptions:s},t.handler):console.warn(`WARNING: Skipping call to register function "${e}" because the "@azure/functions" package is in test mode.`)}t.get=function(e,t){v(e,d(t,"GET"))},t.put=function(e,t){v(e,d(t,"PUT"))},t.post=function(e,t){v(e,d(t,"POST"))},t.patch=function(e,t){v(e,d(t,"PATCH"))},t.deleteRequest=function(e,t){v(e,d(t,"DELETE"))},t.http=v,t.timer=function(e,t){y(e,h(t,u.timer))},t.storageBlob=function(e,t){y(e,h(t,u.storageBlob))},t.storageQueue=function(e,t){y(e,h(t,u.storageQueue))},t.serviceBusQueue=function(e,t){y(e,h(t,u.serviceBusQueue))},t.serviceBusTopic=function(e,t){y(e,h(t,u.serviceBusTopic))},t.eventHub=function(e,t){y(e,h(t,u.eventHub))},t.eventGrid=function(e,t){y(e,h(t,u.eventGrid))},t.cosmosDB=function(e,t){y(e,h(t,u.cosmosDB))},t.warmup=function(e,t){y(e,h(t,u.warmup))},t.generic=y},601:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.returnBindingKey=t.version=void 0,t.version="4.1.0",t.returnBindingKey="$return"},168:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcBindings=void 0;const r=n(601),o=n(674),i=n(557);function s(e,t){return Object.assign(Object.assign({},t),{type:(0,i.nonNullProp)(t,"type"),name:e})}t.fromRpcBindings=function(e){let t,n;const a=[],u=[];for(const[c,l]of Object.entries((0,i.nonNullValue)(e,"bindings")))(0,o.isTrigger)(l.type)?t=s(c,l):c===r.returnBindingKey?n=s(c,l):"in"===l.direction?a.push(s(c,l)):"out"===l.direction&&u.push(s(c,l));return{trigger:(0,i.nonNullValue)(t,"trigger"),return:n,extraInputs:a,extraOutputs:u}}},130:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTraceContext=t.fromRpcRetryContext=void 0;const r=n(557);t.fromRpcRetryContext=function(e){if(e){const t={retryCount:(0,r.nonNullProp)(e,"retryCount"),maxRetryCount:(0,r.nonNullProp)(e,"maxRetryCount")};return e.exception&&(t.exception=function(e){const t={};return(0,r.copyPropIfDefined)(e,t,"message"),(0,r.copyPropIfDefined)(e,t,"source"),(0,r.copyPropIfDefined)(e,t,"stackTrace"),t}(e.exception)),t}},t.fromRpcTraceContext=function(e){if(e){const t={};return(0,r.copyPropIfDefined)(e,t,"traceParent"),(0,r.copyPropIfDefined)(e,t,"traceState"),e.attributes&&(t.attributes=e.attributes),t}}},691:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromNullableMapping=void 0,t.fromNullableMapping=function(e,t){let n={};if(e&&Object.keys(e).length>0)for(const t in e)n[t]=e[t].value||"";else t&&Object.keys(t).length>0&&(n=t);return n}},243:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTriggerMetadata=void 0;const r=n(674),o=n(408),i=n(788);t.fromRpcTriggerMetadata=function(e,t){if(e&&!(0,r.isHttpTrigger)(t)&&!(0,r.isTimerTrigger)(t)){const t={};for(const[n,r]of Object.entries(e))t[(0,i.toCamelCaseKey)(n)]=(0,i.toCamelCaseValue)((0,o.fromRpcTypedData)(r));return t}}},408:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.fromRpcTypedData=void 0;const r=n(726),o=n(557);function i(e){try{return JSON.parse(e)}catch(t){return e}}t.fromRpcTypedData=function(e){return e?(0,o.isDefined)(e.string)?i(e.string):(0,o.isDefined)(e.json)?JSON.parse(e.json):(0,o.isDefined)(e.bytes)?Buffer.from(e.bytes):(0,o.isDefined)(e.stream)?Buffer.from(e.stream):(0,o.isDefined)(e.http)?new r.HttpRequest(e.http):(0,o.isDefined)(e.int)?e.int:(0,o.isDefined)(e.double)?e.double:e.collectionBytes&&(0,o.isDefined)(e.collectionBytes.bytes)?e.collectionBytes.bytes.map((e=>Buffer.from(e))):e.collectionString&&(0,o.isDefined)(e.collectionString.string)?e.collectionString.string.map(i):e.collectionDouble&&(0,o.isDefined)(e.collectionDouble.double)?e.collectionDouble.double:e.collectionSint64&&(0,o.isDefined)(e.collectionSint64.sint64)?e.collectionSint64.sint64:void 0:void 0}},788:(e,t)=>{function n(e){return e.charAt(0).toLowerCase()+e.slice(1)}Object.defineProperty(t,"__esModule",{value:!0}),t.toCamelCaseKey=t.toCamelCaseValue=void 0,t.toCamelCaseValue=function e(t){if("object"!=typeof t||null===t)return t;if(Array.isArray(t))return t.map(e);{const r={};for(const[o,i]of Object.entries(t))r[n(o)]=e(i);return r}},t.toCamelCaseKey=n},133:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcDuration=void 0;const r=n(758),o=n(557);t.toRpcDuration=function(e,t){if((0,o.isDefined)(e)){try{let t;if("object"==typeof e){const n=(e.minutes||0)+60*(e.hours||0),r=(e.seconds||0)+60*n;t=(e.milliseconds||0)+1e3*r}else"number"==typeof e&&(t=e);if((0,o.isDefined)(t)&&t>=0)return{seconds:Math.round(t/1e3)}}catch(e){}throw new r.AzFuncSystemError(`A 'number' or 'Duration' object was expected instead of a '${typeof e}'. Cannot parse value of '${t}'.`)}}},186:function(e,t,n){var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcHttp=void 0;const o=n(758),i=n(681),s=n(518),a=n(828);t.toRpcHttp=function(e){return r(this,void 0,void 0,(function*(){if(null==e)return e;if("object"!=typeof e)throw new o.AzFuncSystemError('The HTTP response must be an object with optional properties "body", "status", "headers", and "cookies".');const t=e instanceof i.HttpResponse?e:new i.HttpResponse(e),n={};n.statusCode=t.status.toString(),n.headers={};for(const[e,r]of t.headers.entries())n.headers[e]=r;n.cookies=[];for(const e of t.cookies)n.cookies.push((0,s.toRpcHttpCookie)(e));n.enableContentNegotiation=t.enableContentNegotiation;const r=yield t.arrayBuffer();return n.body=(0,a.toRpcTypedData)(r),{http:n}}))}},518:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcHttpCookie=void 0;const r=n(679);t.toRpcHttpCookie=function(e){let t="none";if(e&&e.sameSite){const n=e.sameSite.toLocaleLowerCase();"lax"===n?t="lax":"strict"===n?t="strict":"none"===n&&(t="explicitNone")}return{name:e&&(0,r.toRpcString)(e.name,"cookie.name"),value:e&&(0,r.toRpcString)(e.value,"cookie.value"),domain:(0,r.toNullableString)(e&&e.domain,"cookie.domain"),path:(0,r.toNullableString)(e&&e.path,"cookie.path"),expires:(0,r.toNullableTimestamp)(e&&e.expires,"cookie.expires"),secure:(0,r.toNullableBool)(e&&e.secure,"cookie.secure"),httpOnly:(0,r.toNullableBool)(e&&e.httpOnly,"cookie.httpOnly"),sameSite:t,maxAge:(0,r.toNullableDouble)(e&&e.maxAge,"cookie.maxAge")}}},679:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toNullableTimestamp=t.toNullableString=t.toRpcString=t.toNullableDouble=t.toNullableBool=void 0;const r=n(758),o=n(557);t.toNullableBool=function(e,t){if("boolean"==typeof e)return{value:e};if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'boolean' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toNullableDouble=function(e,t){if("number"==typeof e)return{value:e};if("string"==typeof e&&!isNaN(Number(e)))return{value:parseFloat(e)};if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'number' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toRpcString=function(e,t){if("string"==typeof e)return e;if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'string' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`);return""},t.toNullableString=function(e,t){if("string"==typeof e)return{value:e};if((0,o.isDefined)(e))throw new r.AzFuncSystemError(`A 'string' type was expected instead of a '${typeof e}' type. Cannot parse value of '${t}'.`)},t.toNullableTimestamp=function(e,t){if((0,o.isDefined)(e))try{const t="number"==typeof e?e:e.getTime();if(t&&t>=0)return{value:{seconds:Math.round(t/1e3)}}}catch(n){throw new r.AzFuncSystemError(`A 'number' or 'Date' input was expected instead of a '${typeof e}'. Cannot parse value of '${t}'.`)}}},828:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toRpcTypedData=void 0,t.toRpcTypedData=function(e){return null==e?e:"string"==typeof e?{string:e}:Buffer.isBuffer(e)?{bytes:e}:ArrayBuffer.isView(e)?{bytes:new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}:e instanceof ArrayBuffer?{bytes:new Uint8Array(e)}:"number"==typeof e?Number.isInteger(e)?{int:e}:{double:e}:{json:JSON.stringify(e)}}},758:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isError=t.ensureErrorType=t.ReadOnlyError=t.AzFuncRangeError=t.AzFuncTypeError=t.AzFuncSystemError=void 0;class n extends Error{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncSystemError=n;class r extends TypeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncTypeError=r;class o extends RangeError{constructor(){super(...arguments),this.isAzureFunctionsSystemError=!0}}t.AzFuncRangeError=o,t.ReadOnlyError=class extends r{constructor(e){super(`Cannot assign to read only property '${e}'`)}},t.ensureErrorType=function(e){if(e instanceof Error)return e;{let t;return t=null==e?"Unknown error":"string"==typeof e?e:"object"==typeof e?JSON.stringify(e):String(e),new Error(t)}},t.isError=function(e){return null!=e}},869:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AppStartContext=void 0;const r=n(13);class o extends r.HookContext{}t.AppStartContext=o},229:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AppTerminateContext=void 0;const r=n(13);class o extends r.HookContext{}t.AppTerminateContext=o},13:function(e,t,n){var r,o=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},i=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HookContext=void 0;const s=n(758),a=n(557);t.HookContext=class{constructor(e){var t,n;r.set(this,void 0),o(this,r,null!=e?e:{},"f"),null!==(t=(n=i(this,r,"f")).hookData)&&void 0!==t||(n.hookData={})}get hookData(){return(0,a.nonNullProp)(i(this,r,"f"),"hookData")}set hookData(e){throw new s.ReadOnlyError("hookData")}},r=new WeakMap},884:function(e,t,n){var r,o=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},i=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.InvocationHookContext=void 0;const s=n(758),a=n(313),u=n(557),c=n(13);class l extends c.HookContext{constructor(e){var t,n,s,u;super(e),r.set(this,void 0),o(this,r,null!=e?e:{},"f"),null!==(t=(s=i(this,r,"f")).inputs)&&void 0!==t||(s.inputs=[]),null!==(n=(u=i(this,r,"f")).invocationContext)&&void 0!==n||(u.invocationContext=new a.InvocationContext)}get invocationContext(){return(0,u.nonNullProp)(i(this,r,"f"),"invocationContext")}set invocationContext(e){throw new s.ReadOnlyError("invocationContext")}get inputs(){return(0,u.nonNullProp)(i(this,r,"f"),"inputs")}set inputs(e){i(this,r,"f").inputs=e}}t.InvocationHookContext=l,r=new WeakMap},390:function(e,t,n){var r,o=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},i=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.PostInvocationContext=void 0;const s=n(884);class a extends s.InvocationHookContext{constructor(e){super(e),r.set(this,void 0),o(this,r,null!=e?e:{},"f")}get result(){return i(this,r,"f").result}set result(e){i(this,r,"f").result=e}get error(){return i(this,r,"f").error}set error(e){i(this,r,"f").error=e}}t.PostInvocationContext=a,r=new WeakMap},225:function(e,t,n){var r,o=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},i=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.PreInvocationContext=void 0;const s=n(557),a=n(884);class u extends a.InvocationHookContext{constructor(e){var t,n;super(e),r.set(this,void 0),o(this,r,null!=e?e:{},"f"),null!==(t=(n=i(this,r,"f")).functionCallback)&&void 0!==t||(n.functionCallback=()=>{})}get functionHandler(){return(0,s.nonNullProp)(i(this,r,"f"),"functionCallback")}set functionHandler(e){i(this,r,"f").functionCallback=e}}t.PreInvocationContext=u,r=new WeakMap},689:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.postInvocation=t.preInvocation=t.appTerminate=t.appStart=void 0;const r=n(657),o=n(736),i=n(869),s=n(229),a=n(390),u=n(225);function c(e,t){const n=(0,o.tryGetCoreApiLazy)();return n?n.registerHook(e,t):(console.warn(`WARNING: Skipping call to register ${e} hook because the "@azure/functions" package is in test mode.`),new r.Disposable((()=>{console.warn(`WARNING: Skipping call to dispose ${e} hook because the "@azure/functions" package is in test mode.`)})))}t.appStart=function(e){return c("appStart",(t=>e(new i.AppStartContext(t))))},t.appTerminate=function(e){return c("appTerminate",(t=>e(new s.AppTerminateContext(t))))},t.preInvocation=function(e){return c("preInvocation",(t=>e(new u.PreInvocationContext(t))))},t.postInvocation=function(e){return c("postInvocation",(t=>e(new a.PostInvocationContext(t))))}},726:function(e,t,n){var r,o,i,s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},a=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},u=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpRequest=void 0;const c=n(122),l=n(360),f=n(691),p=n(557),d=n(21);t.HttpRequest=class{constructor(e){var t,n,s;r.set(this,void 0),o.set(this,void 0),i.set(this,void 0);const d=(0,p.nonNullProp)(e,"url");(null===(t=e.body)||void 0===t?void 0:t.bytes)?a(this,i,Buffer.from(null===(n=e.body)||void 0===n?void 0:n.bytes),"f"):(null===(s=e.body)||void 0===s?void 0:s.string)&&a(this,i,e.body.string,"f"),a(this,o,new c.Request(d,{body:u(this,i,"f"),method:(0,p.nonNullProp)(e,"method"),headers:(0,f.fromNullableMapping)(e.nullableHeaders,e.headers)}),"f"),this.query=new l.URLSearchParams((0,f.fromNullableMapping)(e.nullableQuery,e.query)),this.params=(0,f.fromNullableMapping)(e.nullableParams,e.params)}get url(){return u(this,o,"f").url}get method(){return u(this,o,"f").method}get headers(){return u(this,o,"f").headers}get user(){return void 0===u(this,r,"f")&&a(this,r,(0,d.extractHttpUserFromHeaders)(this.headers),"f"),u(this,r,"f")}get body(){return u(this,o,"f").body}get bodyUsed(){return u(this,o,"f").bodyUsed}arrayBuffer(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").arrayBuffer()}))}blob(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").blob()}))}formData(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").formData()}))}json(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").json()}))}text(){return s(this,void 0,void 0,(function*(){return u(this,o,"f").text()}))}},r=new WeakMap,o=new WeakMap,i=new WeakMap},681:function(e,t,n){var r,o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},i=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},s=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpResponse=void 0;const a=n(122),u=n(557);t.HttpResponse=class{constructor(e){r.set(this,void 0);const t={status:null==e?void 0:e.status,headers:null==e?void 0:e.headers};(0,u.isDefined)(null==e?void 0:e.jsonBody)?i(this,r,a.Response.json(null==e?void 0:e.jsonBody,t),"f"):i(this,r,new a.Response(null==e?void 0:e.body,t),"f"),this.cookies=(null==e?void 0:e.cookies)||[],this.enableContentNegotiation=!!(null==e?void 0:e.enableContentNegotiation)}get status(){return s(this,r,"f").status}get headers(){return s(this,r,"f").headers}get body(){return s(this,r,"f").body}get bodyUsed(){return s(this,r,"f").bodyUsed}arrayBuffer(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").arrayBuffer()}))}blob(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").blob()}))}formData(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").formData()}))}json(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").json()}))}text(){return o(this,void 0,void 0,(function*(){return s(this,r,"f").text()}))}},r=new WeakMap},21:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.extractHttpUserFromHeaders=void 0;const r=n(557);t.extractHttpUserFromHeaders=function(e){let t=null;const n=e.get("x-ms-client-principal");if(n){const o=JSON.parse(Buffer.from(n,"base64").toString("utf-8"));t=o.identityProvider?{type:"StaticWebApps",id:o.userId,username:o.userDetails,identityProvider:o.identityProvider,claimsPrincipalData:o}:{type:"AppService",id:(0,r.nonNullValue)(e.get("x-ms-client-principal-id"),"user-id"),username:(0,r.nonNullValue)(e.get("x-ms-client-principal-name"),"user-name"),identityProvider:(0,r.nonNullValue)(e.get("x-ms-client-principal-idp"),"user-idp"),claimsPrincipalData:o}}return t}},489:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.sql=t.cosmosDB=t.table=t.storageBlob=void 0;const r=n(109);function o(e){return(0,r.addBindingName)(e,"Input")}t.storageBlob=function(e){return o(Object.assign(Object.assign({},e),{type:"blob"}))},t.table=function(e){return o(Object.assign(Object.assign({},e),{type:"table"}))},t.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},t.sql=function(e){return o(Object.assign(Object.assign({},e),{type:"sql"}))},t.generic=function(e){return o(e)}},854:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.sql=t.cosmosDB=t.eventGrid=t.eventHub=t.serviceBusTopic=t.serviceBusQueue=t.storageQueue=t.table=t.storageBlob=t.http=void 0;const r=n(109);function o(e){return(0,r.addBindingName)(e,"Output")}t.http=function(e){return o(Object.assign(Object.assign({},e),{type:"http"}))},t.storageBlob=function(e){return o(Object.assign(Object.assign({},e),{type:"blob"}))},t.table=function(e){return o(Object.assign(Object.assign({},e),{type:"table"}))},t.storageQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"queue"}))},t.serviceBusQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBus"}))},t.serviceBusTopic=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBus"}))},t.eventHub=function(e){return o(Object.assign(Object.assign({},e),{type:"eventHub"}))},t.eventGrid=function(e){return o(Object.assign(Object.assign({},e),{type:"eventGrid"}))},t.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},t.sql=function(e){return o(Object.assign(Object.assign({},e),{type:"sql"}))},t.generic=function(e){return o(e)}},892:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.generic=t.warmup=t.cosmosDB=t.eventGrid=t.eventHub=t.serviceBusTopic=t.serviceBusQueue=t.storageQueue=t.storageBlob=t.timer=t.http=void 0;const r=n(109);function o(e){return(0,r.addBindingName)(e,"Trigger")}t.http=function(e){return o(Object.assign(Object.assign({},e),{authLevel:e.authLevel||"anonymous",methods:e.methods||["GET","POST"],type:"httpTrigger"}))},t.timer=function(e){return o(Object.assign(Object.assign({},e),{type:"timerTrigger"}))},t.storageBlob=function(e){return o(Object.assign(Object.assign({},e),{type:"blobTrigger"}))},t.storageQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"queueTrigger"}))},t.serviceBusQueue=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBusTrigger"}))},t.serviceBusTopic=function(e){return o(Object.assign(Object.assign({},e),{type:"serviceBusTrigger"}))},t.eventHub=function(e){return o(Object.assign(Object.assign({},e),{type:"eventHubTrigger"}))},t.eventGrid=function(e){return o(Object.assign(Object.assign({},e),{type:"eventGridTrigger"}))},t.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDBTrigger"}))},t.warmup=function(e){return o(Object.assign(Object.assign({},e),{type:"warmupTrigger"}))},t.generic=function(e){return o(e)}},657:function(e,t){var n,r=this&&this.__classPrivateFieldSet||function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},o=this&&this.__classPrivateFieldGet||function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)};Object.defineProperty(t,"__esModule",{value:!0}),t.Disposable=void 0;class i{constructor(e){n.set(this,void 0),r(this,n,e,"f")}static from(...e){let t=e;return new i((function(){if(t){for(const e of t)e&&"function"==typeof e.dispose&&e.dispose();t=void 0}}))}dispose(){"function"==typeof o(this,n,"f")&&(o(this,n,"f").call(this),r(this,n,void 0,"f"))}}t.Disposable=i,n=new WeakMap},674:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isTimerTrigger=t.isHttpTrigger=t.isTrigger=void 0,t.isTrigger=function(e){return!!e&&/trigger$/i.test(e)},t.isHttpTrigger=function(e){return"httptrigger"===(null==e?void 0:e.toLowerCase())},t.isTimerTrigger=function(e){return"timertrigger"===(null==e?void 0:e.toLowerCase())}},557:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isDefined=t.copyPropIfDefined=t.nonNullValue=t.nonNullProp=void 0;const r=n(758);function o(e,t){if(null==e)throw new r.AzFuncSystemError("Internal error: Expected value to be neither null nor undefined"+(t?`: ${t}`:""));return e}t.nonNullProp=function(e,t){return o(e[t],t)},t.nonNullValue=o,t.copyPropIfDefined=function(e,t,n){null!==e[n]&&void 0!==e[n]&&(t[n]=e[n])},t.isDefined=function(e){return null!=e}},736:(e,t,n)=>{let r;Object.defineProperty(t,"__esModule",{value:!0}),t.tryGetCoreApiLazy=void 0,t.tryGetCoreApiLazy=function(){if(void 0===r)try{r=n(605)}catch(e){r=null}return r}},605:e=>{e.exports=require("@azure/functions-core")},122:e=>{e.exports=require("undici")},360:e=>{e.exports=require("url")},764:e=>{e.exports=require("util")}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}var r={};(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.Disposable=e.trigger=e.output=e.InvocationContext=e.input=e.HttpResponse=e.HttpRequest=e.PreInvocationContext=e.PostInvocationContext=e.InvocationHookContext=e.HookContext=e.AppTerminateContext=e.AppStartContext=e.app=void 0,e.app=n(752);var t=n(869);Object.defineProperty(e,"AppStartContext",{enumerable:!0,get:function(){return t.AppStartContext}});var o=n(229);Object.defineProperty(e,"AppTerminateContext",{enumerable:!0,get:function(){return o.AppTerminateContext}});var i=n(13);Object.defineProperty(e,"HookContext",{enumerable:!0,get:function(){return i.HookContext}});var s=n(884);Object.defineProperty(e,"InvocationHookContext",{enumerable:!0,get:function(){return s.InvocationHookContext}});var a=n(390);Object.defineProperty(e,"PostInvocationContext",{enumerable:!0,get:function(){return a.PostInvocationContext}});var u=n(225);Object.defineProperty(e,"PreInvocationContext",{enumerable:!0,get:function(){return u.PreInvocationContext}});var c=n(726);Object.defineProperty(e,"HttpRequest",{enumerable:!0,get:function(){return c.HttpRequest}});var l=n(681);Object.defineProperty(e,"HttpResponse",{enumerable:!0,get:function(){return l.HttpResponse}}),e.input=n(489);var f=n(313);Object.defineProperty(e,"InvocationContext",{enumerable:!0,get:function(){return f.InvocationContext}}),e.output=n(854),e.trigger=n(892);var p=n(657);Object.defineProperty(e,"Disposable",{enumerable:!0,get:function(){return p.Disposable}})})(),module.exports=r})(); | ||
//# sourceMappingURL=azure-functions.min.js.map |
{ | ||
"name": "@azure/functions", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "Microsoft Azure Functions NodeJS Framework", | ||
@@ -64,4 +64,6 @@ "keywords": [ | ||
"eslint-plugin-header": "^3.1.1", | ||
"eslint-plugin-import": "^2.29.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-webpack-plugin": "^3.2.0", | ||
"eslint-plugin-simple-import-sort": "^10.0.0", | ||
"fork-ts-checker-webpack-plugin": "^7.2.13", | ||
@@ -68,0 +70,0 @@ "fs-extra": "^10.0.1", |
@@ -10,3 +10,3 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
/** | ||
* If the host spawns multiple workers, it expects the metadata (including binding name) to be the same accross workers | ||
* If the host spawns multiple workers, it expects the metadata (including binding name) to be the same across workers. | ||
* That means we need to generate binding names in a deterministic fashion, so we'll do that using a count | ||
@@ -13,0 +13,0 @@ * There's a tiny risk users register bindings in a non-deterministic order (i.e. async race conditions), but it's okay considering the following: |
@@ -22,24 +22,15 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
TimerFunctionOptions, | ||
WarmupFunctionOptions, | ||
} from '@azure/functions'; | ||
import * as coreTypes from '@azure/functions-core'; | ||
import { CoreInvocationContext, FunctionCallback } from '@azure/functions-core'; | ||
import { InvocationModel } from './InvocationModel'; | ||
import { returnBindingKey, version } from './constants'; | ||
import { toRpcDuration } from './converters/toRpcDuration'; | ||
import { InvocationModel } from './InvocationModel'; | ||
import * as output from './output'; | ||
import * as trigger from './trigger'; | ||
import { isTrigger } from './utils/isTrigger'; | ||
import { tryGetCoreApiLazy } from './utils/tryGetCoreApiLazy'; | ||
let coreApi: typeof coreTypes | undefined | null; | ||
function tryGetCoreApiLazy(): typeof coreTypes | null { | ||
if (coreApi === undefined) { | ||
try { | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
coreApi = <typeof coreTypes>require('@azure/functions-core'); | ||
} catch { | ||
coreApi = null; | ||
} | ||
} | ||
return coreApi; | ||
} | ||
export * as hook from './hooks/registerHook'; | ||
@@ -149,2 +140,6 @@ class ProgrammingModel implements coreTypes.ProgrammingModel { | ||
export function warmup(name: string, options: WarmupFunctionOptions): void { | ||
generic(name, convertToGenericOptions(options, trigger.warmup)); | ||
} | ||
export function generic(name: string, options: GenericFunctionOptions): void { | ||
@@ -174,4 +169,3 @@ if (!hasSetup) { | ||
if (options.return) { | ||
options.return.name = returnBindingKey; | ||
bindings[options.return.name] = { | ||
bindings[returnBindingKey] = { | ||
...options.return, | ||
@@ -178,0 +172,0 @@ direction: 'out', |
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the MIT License. | ||
export const version = '4.0.1'; | ||
export const version = '4.1.0'; | ||
export const returnBindingKey = '$return'; |
@@ -5,2 +5,8 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
export * as app from './app'; | ||
export { AppStartContext } from './hooks/AppStartContext'; | ||
export { AppTerminateContext } from './hooks/AppTerminateContext'; | ||
export { HookContext } from './hooks/HookContext'; | ||
export { InvocationHookContext } from './hooks/InvocationHookContext'; | ||
export { PostInvocationContext } from './hooks/PostInvocationContext'; | ||
export { PreInvocationContext } from './hooks/PreInvocationContext'; | ||
export { HttpRequest } from './http/HttpRequest'; | ||
@@ -12,1 +18,2 @@ export { HttpResponse } from './http/HttpResponse'; | ||
export * as trigger from './trigger'; | ||
export { Disposable } from './utils/Disposable'; |
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the MIT License. | ||
import { FunctionHandler } from '@azure/functions'; | ||
import * as coreTypes from '@azure/functions-core'; | ||
@@ -16,3 +15,2 @@ import { | ||
import { format } from 'util'; | ||
import { InvocationContext } from './InvocationContext'; | ||
import { returnBindingKey } from './constants'; | ||
@@ -26,2 +24,3 @@ import { fromRpcBindings } from './converters/fromRpcBindings'; | ||
import { toRpcTypedData } from './converters/toRpcTypedData'; | ||
import { InvocationContext } from './InvocationContext'; | ||
import { isHttpTrigger, isTimerTrigger, isTrigger } from './utils/isTrigger'; | ||
@@ -84,6 +83,9 @@ import { isDefined, nonNullProp, nonNullValue } from './utils/nonNull'; | ||
async invokeFunction(context: InvocationContext, inputs: unknown[], handler: FunctionHandler): Promise<unknown> { | ||
async invokeFunction( | ||
context: InvocationContext, | ||
inputs: unknown[], | ||
handler: coreTypes.FunctionCallback | ||
): Promise<unknown> { | ||
try { | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return | ||
return await Promise.resolve(handler(inputs[0], context)); | ||
return await Promise.resolve(handler(...inputs, context)); | ||
} finally { | ||
@@ -90,0 +92,0 @@ this.#isDone = true; |
@@ -25,2 +25,4 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
TimerTriggerOptions, | ||
WarmupTrigger, | ||
WarmupTriggerOptions, | ||
} from '@azure/functions'; | ||
@@ -94,2 +96,9 @@ import { addBindingName } from './addBindingName'; | ||
export function warmup(options: WarmupTriggerOptions): WarmupTrigger { | ||
return addTriggerBindingName({ | ||
...options, | ||
type: 'warmupTrigger', | ||
}); | ||
} | ||
export function generic(options: GenericTriggerOptions): FunctionTrigger { | ||
@@ -96,0 +105,0 @@ return addTriggerBindingName(options); |
@@ -12,2 +12,3 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
import { TimerFunctionOptions } from './timer'; | ||
import { WarmupFunctionOptions } from './warmup'; | ||
@@ -148,2 +149,14 @@ /** | ||
/** | ||
* Registers a function in your app that will be triggered when an instance is added to scale a running function app. | ||
* The warmup trigger is only called during scale-out operations, not during restarts or other non-scale startups. | ||
* Make sure your logic can load all required dependencies without relying on the warmup trigger. | ||
* Lazy loading is a good pattern to achieve this goal. | ||
* The warmup trigger isn't available to apps running on the Consumption plan. | ||
* For more information, please see the [Azure Functions warmup trigger documentation](https://learn.microsoft.com/azure/azure-functions/functions-bindings-warmup?tabs=isolated-process&pivots=programming-language-javascript). | ||
* @param name The name of the function. The name must be unique within your app and will mostly be used for your own tracking purposes | ||
* @param options Configuration options describing the inputs, outputs, and handler for this function | ||
*/ | ||
export function warmup(name: string, options: WarmupFunctionOptions): void; | ||
/** | ||
* Registers a generic function in your app that will be triggered based on the type specified in `options.trigger.type` | ||
@@ -155,1 +168,3 @@ * Use this method if your desired trigger type does not already have its own method | ||
export function generic(name: string, options: GenericFunctionOptions): void; | ||
export * as hook from './hooks/registerHook'; |
@@ -21,3 +21,3 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
export interface EventGridOutputOptions { | ||
export interface EventGridOutputKeyOptions { | ||
/** | ||
@@ -33,2 +33,10 @@ * An app setting (or environment variable) that contains the URI for the custom topic | ||
} | ||
export interface EventGridOutputConnectionOptions { | ||
/** | ||
* The value of the common prefix for the app setting that contains the `topicEndpointUri`. | ||
* When setting the `connection` property, the `topicEndpointUri` and `topicKeySetting` properties should NOT be set. | ||
*/ | ||
connection: string; | ||
} | ||
export type EventGridOutputOptions = EventGridOutputKeyOptions | EventGridOutputConnectionOptions; | ||
export type EventGridOutput = FunctionOutput & EventGridOutputOptions; | ||
@@ -35,0 +43,0 @@ |
@@ -6,3 +6,2 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
export * from './InvocationContext'; | ||
export * as app from './app'; | ||
@@ -15,4 +14,8 @@ export * from './cosmosDB'; | ||
export * from './generic'; | ||
export * from './hooks/appHooks'; | ||
export * from './hooks/HookContext'; | ||
export * from './hooks/invocationHooks'; | ||
export * from './http'; | ||
export * as input from './input'; | ||
export * from './InvocationContext'; | ||
export * as output from './output'; | ||
@@ -25,2 +28,3 @@ export * from './serviceBus'; | ||
export * as trigger from './trigger'; | ||
export * from './warmup'; | ||
@@ -173,1 +177,27 @@ /** | ||
} | ||
/** | ||
* Represents a type which can release resources, such as event listening or a timer. | ||
*/ | ||
export declare class Disposable { | ||
/** | ||
* Combine many disposable-likes into one. You can use this method when having objects with a dispose function which aren't instances of `Disposable`. | ||
* | ||
* @param disposableLikes Objects that have at least a `dispose`-function member. Note that asynchronous dispose-functions aren't awaited. | ||
* @return Returns a new disposable which, upon dispose, will dispose all provided disposables. | ||
*/ | ||
static from(...disposableLikes: { dispose: () => any }[]): Disposable; | ||
/** | ||
* Creates a new disposable that calls the provided function on dispose. | ||
* *Note* that an asynchronous function is not awaited. | ||
* | ||
* @param callOnDispose Function that disposes something. | ||
*/ | ||
constructor(callOnDispose: () => any); | ||
/** | ||
* Dispose this object. | ||
*/ | ||
dispose(): any; | ||
} |
@@ -23,2 +23,3 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
import { TimerTrigger, TimerTriggerOptions } from './timer'; | ||
import { WarmupTrigger, WarmupTriggerOptions } from './warmup'; | ||
@@ -71,2 +72,7 @@ /** | ||
/** | ||
* [Link to docs and examples](https://learn.microsoft.com/azure/azure-functions/functions-bindings-warmup?tabs=isolated-process&pivots=programming-language-javascript) | ||
*/ | ||
export function warmup(options: WarmupTriggerOptions): WarmupTrigger; | ||
/** | ||
* A generic option that can be used for any trigger type | ||
@@ -73,0 +79,0 @@ * Use this method if your desired trigger type does not already have its own method |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
566420
71
7204
35