@azure/functions
Advanced tools
Comparing version 4.0.0-alpha.11 to 4.0.0-alpha.12
{ | ||
"Outputs": [ | ||
{ | ||
"Source": "/dist/azure-functions.min.js.map", | ||
"AzureArtifactsHash": "047B2276657273696F6E223A332C2266696C65223A22617A7572652D66756E637469", | ||
"Sha256Hash": "AA86542139FA06551B3A4FD457E604ED8BF055E50BA47C8B57BEA54D4542D67B" | ||
"Source": "/README.md", | ||
"AzureArtifactsHash": "042320417A7572652046756E6374696F6E73204E6F64652E6A732050726F6772616D", | ||
"Sha256Hash": "32C1883C22E1EEE06ECA4327F640996B85698CDF8B46783651C4E028C95350F5" | ||
}, | ||
{ | ||
"Source": "/src/InvocationModel.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "6B8C385B1B3C09E332223E5794C9027D9125618CC594B7CF1EBA6F8A2B46AF89" | ||
}, | ||
{ | ||
"Source": "/src/converters/toCamelCase.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "F2BA3BB81D4F2006BAFED62EB940919B4D005DCDD58F4C2AE2DCAA41D9599EE7" | ||
}, | ||
{ | ||
"Source": "/src/utils/getRandomHexString.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "6A6BD203AB5D85E155A99F19A0792E564550ECAB6496C11D3C07D81608756481" | ||
}, | ||
{ | ||
"Source": "/types/eventGrid.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "1B83EE57145A0FA6C0287DF9CEA1F81ED8F189360EEBA73337E1E11ADE5FAB95" | ||
}, | ||
{ | ||
"Source": "/dist/azure-functions.js.map", | ||
"AzureArtifactsHash": "047B2276657273696F6E223A332C2266696C65223A22617A7572652D66756E637469", | ||
"Sha256Hash": "A614D803FF79C9043959A2A019F13F5A7F0FCBD3DDDEC0CEDDDA0CE5AB0B7CDC" | ||
"Sha256Hash": "D119492336EECC9B3E472383FD9DACFACE09B3079B377BB7CC21A66EF59D4E49" | ||
}, | ||
{ | ||
"Source": "/src/input.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "7652BAF4045F42490C4CA309F652D57ADAB49255FCB0DFDA0A615DEF6B4C1603" | ||
"Source": "/LICENSE", | ||
"AzureArtifactsHash": "04202020204D4954204C6963656E73650D0A0D0A20202020436F7079726967687420", | ||
"Sha256Hash": "9FA73CB72FB654D029C9214F0E3EEC32C301A0C23BE71B50FE3910E61553FA34" | ||
}, | ||
{ | ||
"Source": "/src/converters/fromRpcTriggerMetadata.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "8DBD98BA1BE3ECC1388D82FD151307F67CBC3F28568ACF5B804572B423D11BA5" | ||
"Source": "/dist/azure-functions.min.js.map", | ||
"AzureArtifactsHash": "047B2276657273696F6E223A332C2266696C65223A22617A7572652D66756E637469", | ||
"Sha256Hash": "6D3BE125B814A9E7864398FA56E48E2011F60EE223944050E36E10884669484A" | ||
}, | ||
{ | ||
"Source": "/src/http/HttpRequest.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "B25012CCACE73515AC797969322B905DD1633B71991E994BDD30C0E47467A232" | ||
"Source": "/dist/azure-functions.min.js", | ||
"AzureArtifactsHash": "042828293D3E7B2275736520737472696374223B76617220653D7B3331333A66756E", | ||
"Sha256Hash": "04DC5AEC5D7C9D29D05E318628396DFF8B648EF45084F8BE71304C3DDFDEE522" | ||
}, | ||
{ | ||
"Source": "/types/cosmosDB.v3.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "7CBCB342B3F148FEADDDC3CC344C2DA063FBDCAC9653FA27DE3CE64A7999598C" | ||
"Source": "/NOTICE.html", | ||
"AzureArtifactsHash": "043C21444F43545950452068746D6C3E0D0A3C68746D6C206C616E673D22656E223E", | ||
"Sha256Hash": "268BB778AA03CAA778C9D47BA467E1E4681AA44E61A01F32191D66A2223D638A" | ||
}, | ||
@@ -56,3 +36,3 @@ { | ||
"AzureArtifactsHash": "042F2A2A2A2A2A2A2F20282829203D3E207B202F2F207765627061636B426F6F7473", | ||
"Sha256Hash": "B64447F3D08B02A8061ACABC2A5B38446DBCDFB9598C29BB937A806720D503FA" | ||
"Sha256Hash": "2DDC313979490FFEC320087337A7007A0C6F618D38A9064A830755D2D1652FB5" | ||
}, | ||
@@ -70,30 +50,30 @@ { | ||
{ | ||
"Source": "/src/http/extractHttpUserFromHeaders.ts", | ||
"Source": "/src/converters/toRpcTypedData.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "0701231F3D83A9050DE3A9E40D946FBD49D425049D0B58BF623770F25282252A" | ||
"Sha256Hash": "7405A843C01B965492DAA22D1A7F9372E3CF0AABE4586C34C0E4F924C9E6DEDD" | ||
}, | ||
{ | ||
"Source": "/types/cosmosDB.d.ts", | ||
"Source": "/types/app.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "10BDD83199DF3432927F9D6919033D7C682D7196BE0C6F0CCE4A6F0DCF4D2866" | ||
"Sha256Hash": "9C09DACF9A6DD3CA59F0789F2AAC6BF6FC1A9CA838F7AC9509145C8137922092" | ||
}, | ||
{ | ||
"Source": "/types/input.d.ts", | ||
"Source": "/types/index.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "E627F2D8D4D59517851D9AED30F17064E34DB8D8B86248F77879FB94A3651CCE" | ||
"Sha256Hash": "163FE582DEFB6537BA111FB3E5C8D7624F573E5ECEC861B28EAA650F95231ABA" | ||
}, | ||
{ | ||
"Source": "/LICENSE", | ||
"AzureArtifactsHash": "04202020204D4954204C6963656E73650D0A0D0A20202020436F7079726967687420", | ||
"Sha256Hash": "9FA73CB72FB654D029C9214F0E3EEC32C301A0C23BE71B50FE3910E61553FA34" | ||
"Source": "/src/app.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "A0A2B220ABE915082CAEE320F48F926287F4B92DF68B34DDBCF52F164AA84457" | ||
}, | ||
{ | ||
"Source": "/src/addBindingName.ts", | ||
"Source": "/src/trigger.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "50E98BBE2C2281D21938F3FBC9258CA35CB71E2DCB1A9200A6AB5AC4A5516401" | ||
"Sha256Hash": "B8E63319C4957CA6BAD333CE24EF10BB86E8732BBABF4E0322C9A08BB1903F0D" | ||
}, | ||
{ | ||
"Source": "/src/output.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "AB82D9BCF34FE007581B7022DDCB251EDDDE373420F784416460AEBA52673536" | ||
"Source": "/package.json", | ||
"AzureArtifactsHash": "047B0D0A20202020226E616D65223A202240617A7572652F66756E6374696F6E7322", | ||
"Sha256Hash": "DDF16309B95DBF63D93F594E5E961824E7ED4D0CE8E35B5E55D868296D90B922" | ||
}, | ||
@@ -106,2 +86,7 @@ { | ||
{ | ||
"Source": "/src/constants.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "5330B8BD2C82AAC0397A0B21B72423AB0ADBEFA8102A745C7A12373DFD2EFD2D" | ||
}, | ||
{ | ||
"Source": "/src/utils/isTrigger.ts", | ||
@@ -112,57 +97,72 @@ "AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
{ | ||
"Source": "/types/eventHub.d.ts", | ||
"Source": "/src/converters/fromRpcBindings.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "0CA276E09D1D89DAF94D087C590AF6F6B0D110142E367A63271A47A2C2C01661" | ||
"Sha256Hash": "AF5881F0426DDB62A5D8B361000214035D735A7A7CECD2F723E17B0EBBB64BD9" | ||
}, | ||
{ | ||
"Source": "/types/storage.d.ts", | ||
"Source": "/src/input.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "817BA5CE14A7BBBAD25919A183182BD4304A3C0CC3CB5B4C11B0E0CBE1258C35" | ||
"Sha256Hash": "7652BAF4045F42490C4CA309F652D57ADAB49255FCB0DFDA0A615DEF6B4C1603" | ||
}, | ||
{ | ||
"Source": "/README.md", | ||
"AzureArtifactsHash": "042320417A7572652046756E6374696F6E73204E6F64652E6A732050726F6772616D", | ||
"Sha256Hash": "32C1883C22E1EEE06ECA4327F640996B85698CDF8B46783651C4E028C95350F5" | ||
"Source": "/src/InvocationContext.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "24A1A7F3D5C8E54EB19EA638D6CD5C1DFE95D33ACD3A03042D5768D12FB113F9" | ||
}, | ||
{ | ||
"Source": "/src/errors.ts", | ||
"Source": "/src/converters/fromRpcTypedData.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "356F9B545A77ECE5D7659FB759C02FF38E88C888A49273A6A27B37A327620439" | ||
"Sha256Hash": "BE00908655FDB32260987041B22A6D9BBBED65AA1AD0F88D5DD56959189D090E" | ||
}, | ||
{ | ||
"Source": "/src/converters/fromRpcContext.ts", | ||
"Source": "/src/http/HttpRequest.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "6A96CA0D0F0D032F0306E662B6F0A5168495A6E4D975E2DCADA5643D92BA385C" | ||
"Sha256Hash": "B25012CCACE73515AC797969322B905DD1633B71991E994BDD30C0E47467A232" | ||
}, | ||
{ | ||
"Source": "/src/converters/toRpcTypedData.ts", | ||
"Source": "/types/cosmosDB.v3.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "7405A843C01B965492DAA22D1A7F9372E3CF0AABE4586C34C0E4F924C9E6DEDD" | ||
"Sha256Hash": "85A5C80025B47BD294A2EDED78923E5D6F81B647192FC824B3013984CE1AE37E" | ||
}, | ||
{ | ||
"Source": "/types/app.d.ts", | ||
"Source": "/types/InvocationContext.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "3E6CFB85A65927C3C3B770ED529527C85C1C6662EC35A35FDB18B4C2DDB7EBD6" | ||
"Sha256Hash": "5ACA782310ED33E5FDD82C65B31904F0E30119B053C3B3638490DE8643806366" | ||
}, | ||
{ | ||
"Source": "/types/index.d.ts", | ||
"Source": "/src/InvocationModel.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "4EC64E0E168A123D72B21DADF495D2D7E87435C7EE991ED5A48B34A2B1053E1B" | ||
"Sha256Hash": "6B8C385B1B3C09E332223E5794C9027D9125618CC594B7CF1EBA6F8A2B46AF89" | ||
}, | ||
{ | ||
"Source": "/NOTICE.html", | ||
"AzureArtifactsHash": "043C21444F43545950452068746D6C3E0D0A3C68746D6C206C616E673D22656E223E", | ||
"Sha256Hash": "268BB778AA03CAA778C9D47BA467E1E4681AA44E61A01F32191D66A2223D638A" | ||
"Source": "/src/converters/toCamelCase.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "F2BA3BB81D4F2006BAFED62EB940919B4D005DCDD58F4C2AE2DCAA41D9599EE7" | ||
}, | ||
{ | ||
"Source": "/src/app.ts", | ||
"Source": "/src/http/HttpResponse.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "5DC22F49826F3EC224C121207DD6028006A1E003A31BE9195153D06F5B9ED34F" | ||
"Sha256Hash": "1CFCB19BB6C744473407B91F19E749CEA96BA2A506810C321472DF6A4BB1252E" | ||
}, | ||
{ | ||
"Source": "/src/trigger.ts", | ||
"Source": "/types/cosmosDB.v4.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "B8E63319C4957CA6BAD333CE24EF10BB86E8732BBABF4E0322C9A08BB1903F0D" | ||
"Sha256Hash": "98AE23F6F731B4802C966FB8A55A78215149F17AFB922AB193AF701B3677E164" | ||
}, | ||
{ | ||
"Source": "/types/output.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "72A8997F18A7E0A51F7EDF9B37A99E018BF33C1D4A494BFF3513E93016665272" | ||
}, | ||
{ | ||
"Source": "/types/eventHub.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "FA2B67591E672F2329F93F53BA53E34D88E274513684DAF5EAB0524E0ED046C2" | ||
}, | ||
{ | ||
"Source": "/types/storage.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "D54973E791CEF9A0CC0FA6871F15B106060453CF850E0DE8A87B9E1DE2EB8042" | ||
}, | ||
{ | ||
"Source": "/src/converters/toRpcHttpCookie.ts", | ||
@@ -180,3 +180,3 @@ "AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "A42D7F0A95DE6FA9D2B67D44AC0770F93FB1AA876A14D6632C8661C75BB63AA1" | ||
"Sha256Hash": "072AEA18A565DD984ACB373C67F833013ED551F4C57F338ABB3DAB48683A802B" | ||
}, | ||
@@ -186,53 +186,68 @@ { | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "0577072B619DEAA76937C0AFFF710502746EE0427D4994060FAA4A419C3126E3" | ||
"Sha256Hash": "B61D9AD48FBEAC504C1D2630FC5E8B897AC84B21F57535BAAC9BDE0692ED26A6" | ||
}, | ||
{ | ||
"Source": "/dist/azure-functions.min.js", | ||
"AzureArtifactsHash": "042828293D3E7B2275736520737472696374223B76617220653D7B3331333A66756E", | ||
"Sha256Hash": "91B94EE3B7A746A16ABDD130ADB4810AFC51B27619A59AF667B3ED47473009B2" | ||
"Source": "/src/converters/fromRpcTriggerMetadata.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "8DBD98BA1BE3ECC1388D82FD151307F67CBC3F28568ACF5B804572B423D11BA5" | ||
}, | ||
{ | ||
"Source": "/src/InvocationContext.ts", | ||
"Source": "/src/http/extractHttpUserFromHeaders.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "24A1A7F3D5C8E54EB19EA638D6CD5C1DFE95D33ACD3A03042D5768D12FB113F9" | ||
"Sha256Hash": "0701231F3D83A9050DE3A9E40D946FBD49D425049D0B58BF623770F25282252A" | ||
}, | ||
{ | ||
"Source": "/src/converters/fromRpcTypedData.ts", | ||
"Source": "/types/cosmosDB.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "BE00908655FDB32260987041B22A6D9BBBED65AA1AD0F88D5DD56959189D090E" | ||
"Sha256Hash": "10BDD83199DF3432927F9D6919033D7C682D7196BE0C6F0CCE4A6F0DCF4D2866" | ||
}, | ||
{ | ||
"Source": "/src/http/HttpResponse.ts", | ||
"Source": "/types/input.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "1CFCB19BB6C744473407B91F19E749CEA96BA2A506810C321472DF6A4BB1252E" | ||
"Sha256Hash": "E627F2D8D4D59517851D9AED30F17064E34DB8D8B86248F77879FB94A3651CCE" | ||
}, | ||
{ | ||
"Source": "/types/cosmosDB.v4.d.ts", | ||
"Source": "/src/addBindingName.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "CF42C9FBF6919B4602CFF48461059FE7B12571C70CEA82442F001A0DC1968272" | ||
"Sha256Hash": "50E98BBE2C2281D21938F3FBC9258CA35CB71E2DCB1A9200A6AB5AC4A5516401" | ||
}, | ||
{ | ||
"Source": "/types/output.d.ts", | ||
"Source": "/src/output.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "72A8997F18A7E0A51F7EDF9B37A99E018BF33C1D4A494BFF3513E93016665272" | ||
"Sha256Hash": "AB82D9BCF34FE007581B7022DDCB251EDDDE373420F784416460AEBA52673536" | ||
}, | ||
{ | ||
"Source": "/package.json", | ||
"AzureArtifactsHash": "047B0D0A20202020226E616D65223A202240617A7572652F66756E6374696F6E7322", | ||
"Sha256Hash": "A8B2A77711B0E494E88CB01A416EE1A20FC5C352555EB0EDCAADD153AE52C82C" | ||
"Source": "/src/converters/toRpcDuration.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "7DEDBF633FCF7195E5080C70E14D23B572B7CE215065D05F8DE82C43AF224FA2" | ||
}, | ||
{ | ||
"Source": "/src/constants.ts", | ||
"Source": "/src/utils/getRandomHexString.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "ABA8E72EB0BD409D9FC71E28057E85E4496AF9BA38C848E5B09809FB7DE333E7" | ||
"Sha256Hash": "6A6BD203AB5D85E155A99F19A0792E564550ECAB6496C11D3C07D81608756481" | ||
}, | ||
{ | ||
"Source": "/src/converters/fromRpcBindings.ts", | ||
"Source": "/types/eventGrid.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "AF5881F0426DDB62A5D8B361000214035D735A7A7CECD2F723E17B0EBBB64BD9" | ||
"Sha256Hash": "1B83EE57145A0FA6C0287DF9CEA1F81ED8F189360EEBA73337E1E11ADE5FAB95" | ||
}, | ||
{ | ||
"Source": "/types/serviceBus.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "C5C7CFDEE1C31CBE397A25C9BE329B093B4BB68579C0040582F8C49C417923A2" | ||
}, | ||
{ | ||
"Source": "/src/errors.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "356F9B545A77ECE5D7659FB759C02FF38E88C888A49273A6A27B37A327620439" | ||
}, | ||
{ | ||
"Source": "/src/converters/fromRpcContext.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "6A96CA0D0F0D032F0306E662B6F0A5168495A6E4D975E2DCADA5643D92BA385C" | ||
}, | ||
{ | ||
"Source": "/src/converters/toRpcNullable.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "773F0C22930331BE2B0F9DAF9849B80F4B7BCC18FC2E19BA07DD502B56461EE3" | ||
"Sha256Hash": "735319488354E832F621C664BCD80B0A13D3B4B2225B7B62EBD892A46FA8B6F5" | ||
}, | ||
@@ -253,20 +268,10 @@ { | ||
"Sha256Hash": "95B4C4BD18AEC923DC1499F4353897A4E806B4B4D3F2DF9A559D3A7DBD9FF3F9" | ||
}, | ||
{ | ||
"Source": "/types/serviceBus.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "BED40FDDD9B90A1F131963A0348C4D163190F1FFB118372A1587CD7F860C8B3B" | ||
}, | ||
{ | ||
"Source": "/types/InvocationContext.d.ts", | ||
"AzureArtifactsHash": "042F2F20436F7079726967687420286329202E4E455420466F756E646174696F6E2E", | ||
"Sha256Hash": "2AF932B15F4C8271F77A63B08201027F38021DD6829E48B34B0ED29BEE69F73D" | ||
} | ||
], | ||
"CloudBuildId": "137318", | ||
"CloudBuildId": "152608", | ||
"Repo": "https://github.com/Azure/azure-functions-nodejs-library", | ||
"Branch": "v4.x", | ||
"CommitId": "f8903c531cb42f5c2d9435c3c93271715d5a29b1", | ||
"CommitId": "2205716e9556c545ad7127bca0bfdefacda6aeb3", | ||
"Version": "0.0.1", | ||
"Timestamp": 1687467796 | ||
"Timestamp": 1694555636 | ||
} |
@@ -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":"137318","Build.BuildNumber":"20230622.2","Build.DefinitionName":"azure-functions-nodejs-library.build","Build.DefinitionRevision":"3","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":"f8903c531cb42f5c2d9435c3c93271715d5a29b1"},"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":"152608","Build.BuildNumber":"20230912.5","Build.DefinitionName":"azure-functions-nodejs-library.build","Build.DefinitionRevision":"3","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":"2205716e9556c545ad7127bca0bfdefacda6aeb3"},"Feed":null} |
{ | ||
"files": [ | ||
{ | ||
"fileName": "./NOTICE.html", | ||
"SPDXID": "SPDXRef-File--NOTICE.html-43B9F500D4820A1D898A0F2041C02F6349F3158C", | ||
"fileName": "./dist/azure-functions.min.js.map", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js.map-204764D6A16D1136D85FCD7ED567369DFBA64307", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "268bb778aa03caa778c9d47ba467e1e4681aa44e61a01f32191d66a2223d638a" | ||
"checksumValue": "6d3be125b814a9e7864398fa56e48e2011f60ee223944050e36e10884669484a" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "43b9f500d4820a1d898a0f2041c02f6349f3158c" | ||
"checksumValue": "204764d6a16d1136d85fcd7ed567369dfba64307" | ||
} | ||
@@ -24,11 +24,11 @@ ], | ||
"fileName": "./package.json", | ||
"SPDXID": "SPDXRef-File--package.json-81F1E18A01FB1C3BCCB594C676D40F108AAA64C8", | ||
"SPDXID": "SPDXRef-File--package.json-230A1D179E3FDE1D617F1F2BE273AA391502BBCC", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "a8b2a77711b0e494e88cb01a416ee1a20fc5c352555eb0edcaadd153ae52c82c" | ||
"checksumValue": "ddf16309b95dbf63d93f594e5e961824e7ed4d0ce8e35b5e55d868296d90b922" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "81f1e18a01fb1c3bccb594c676d40f108aaa64c8" | ||
"checksumValue": "230a1d179e3fde1d617f1f2be273aa391502bbcc" | ||
} | ||
@@ -43,2 +43,40 @@ ], | ||
{ | ||
"fileName": "./dist/azure-functions.js", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.js-7158E5CA8AA98AB29FC74E0DD6B285DC4B31EB63", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "2ddc313979490ffec320087337a7007a0c6f618d38a9064a830755d2d1652fb5" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "7158e5ca8aa98ab29fc74e0dd6b285dc4b31eb63" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"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", | ||
@@ -63,12 +101,12 @@ "SPDXID": "SPDXRef-File--README.md-C066DE9337DCB93E45B68E5F0C4283648AAB2F73", | ||
{ | ||
"fileName": "./dist/azure-functions.js.map", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.js.map-B2332AD25C5B3F6F736E781FE23D82540BCB49E8", | ||
"fileName": "./NOTICE.html", | ||
"SPDXID": "SPDXRef-File--NOTICE.html-43B9F500D4820A1D898A0F2041C02F6349F3158C", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "a614d803ff79c9043959a2a019f13f5a7f0fcbd3dddec0ceddda0ce5ab0b7cdc" | ||
"checksumValue": "268bb778aa03caa778c9d47ba467e1e4681aa44e61a01f32191d66a2223d638a" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "b2332ad25c5b3f6f736e781fe23d82540bcb49e8" | ||
"checksumValue": "43b9f500d4820a1d898a0f2041c02f6349f3158c" | ||
} | ||
@@ -83,12 +121,12 @@ ], | ||
{ | ||
"fileName": "./dist/azure-functions.min.js.map", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js.map-3E6C48332857C42113FB23B6517AFA99010BC5CC", | ||
"fileName": "./dist/azure-functions.js.map", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.js.map-5C7064F03CADD025DAEA386EA100A40E36A8037B", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "aa86542139fa06551b3a4fd457e604ed8bf055e50ba47c8b57bea54d4542d67b" | ||
"checksumValue": "d119492336eecc9b3e472383fd9dacface09b3079b377bb7cc21a66ef59d4e49" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "3e6c48332857c42113fb23b6517afa99010bc5cc" | ||
"checksumValue": "5c7064f03cadd025daea386ea100a40e36a8037b" | ||
} | ||
@@ -103,12 +141,12 @@ ], | ||
{ | ||
"fileName": "./LICENSE", | ||
"SPDXID": "SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4", | ||
"fileName": "./dist/azure-functions.min.js", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js-E891BDD5FFA118204FC5A69EA6F62F42C78861D7", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "9fa73cb72fb654d029c9214f0e3eec32c301a0c23be71b50fe3910e61553fa34" | ||
"checksumValue": "04dc5aec5d7c9d29d05e318628396dff8b648ef45084f8be71304c3ddfdee522" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "14cb404e9de5f2b618ad67dda908af2452a4b2b4" | ||
"checksumValue": "e891bdd5ffa118204fc5a69ea6f62f42c78861d7" | ||
} | ||
@@ -123,12 +161,12 @@ ], | ||
{ | ||
"fileName": "./dist/azure-functions.js", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.js-7F73BDA93925863B706CBFA73F7688BEC8DC4052", | ||
"fileName": "./src/index.ts", | ||
"SPDXID": "SPDXRef-File--src-index.ts-BA6272125204FDC4F3BBBE41723DFA7E3BD31629", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "b64447f3d08b02a8061acabc2a5b38446dbcdfb9598c29bb937a806720d503fa" | ||
"checksumValue": "f9f84f0980edd69cc810b17e7d85ed7392739275179ffc4ac5279afa232c955b" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "7f73bda93925863b706cbfa73f7688bec8dc4052" | ||
"checksumValue": "ba6272125204fdc4f3bbbe41723dfa7e3bd31629" | ||
} | ||
@@ -143,12 +181,12 @@ ], | ||
{ | ||
"fileName": "./dist/azure-functions.min.js", | ||
"SPDXID": "SPDXRef-File--dist-azure-functions.min.js-FD75DDAD63D116AA9D3A363AC79779D77CAD1BF6", | ||
"fileName": "./src/converters/fromRpcNullable.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcNullable.ts-00DA6094E8B2ED969C772EA01B47549BEDA4A2DE", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "91b94ee3b7a746a16abdd130adb4810afc51b27619a59af667b3ed47473009b2" | ||
"checksumValue": "af31620202714bcc57ebddc34a6a6637ab830175eae2cab1fa4d9aadaad920a9" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "fd75ddad63d116aa9d3a363ac79779d77cad1bf6" | ||
"checksumValue": "00da6094e8b2ed969c772ea01b47549beda4a2de" | ||
} | ||
@@ -163,12 +201,12 @@ ], | ||
{ | ||
"fileName": "./src/InvocationModel.ts", | ||
"SPDXID": "SPDXRef-File--src-InvocationModel.ts-71731C03DA4F5F3C5C51C728F2D80A7BEFEA8309", | ||
"fileName": "./src/converters/toRpcTypedData.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "6b8c385b1b3c09e332223e5794c9027d9125618cc594b7cf1eba6f8a2b46af89" | ||
"checksumValue": "7405a843c01b965492daa22d1a7f9372e3cf0aabe4586c34c0e4f924c9e6dedd" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "71731c03da4f5f3c5c51c728f2d80a7befea8309" | ||
"checksumValue": "9127faa57c34da3c5b136eeb1d323f6dcaa33aac" | ||
} | ||
@@ -183,12 +221,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/toCamelCase.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toCamelCase.ts-0B685E59BCD78E2B677B5B08D8DA6400BC478E5C", | ||
"fileName": "./types/app.d.ts", | ||
"SPDXID": "SPDXRef-File--types-app.d.ts-581C9E3137FC162B7F63BCA796DCB00985FA2A5B", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "f2ba3bb81d4f2006bafed62eb940919b4d005dcdd58f4c2ae2dcaa41d9599ee7" | ||
"checksumValue": "9c09dacf9a6dd3ca59f0789f2aac6bf6fc1a9ca838f7ac9509145c8137922092" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "0b685e59bcd78e2b677b5b08d8da6400bc478e5c" | ||
"checksumValue": "581c9e3137fc162b7f63bca796dcb00985fa2a5b" | ||
} | ||
@@ -203,12 +241,12 @@ ], | ||
{ | ||
"fileName": "./src/utils/getRandomHexString.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0", | ||
"fileName": "./types/index.d.ts", | ||
"SPDXID": "SPDXRef-File--types-index.d.ts-373F4DF56B38D07818705B1A93FC7854C3597E5D", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "6a6bd203ab5d85e155a99f19a0792e564550ecab6496c11d3c07d81608756481" | ||
"checksumValue": "163fe582defb6537ba111fb3e5c8d7624f573e5ecec861b28eaa650f95231aba" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "330f3e6f43410ceadc96a91353d386fafc078ed0" | ||
"checksumValue": "373f4df56b38d07818705b1a93fc7854c3597e5d" | ||
} | ||
@@ -223,12 +261,12 @@ ], | ||
{ | ||
"fileName": "./types/eventGrid.d.ts", | ||
"SPDXID": "SPDXRef-File--types-eventGrid.d.ts-1FEB3C0686CD21BA42FBFB833DFEC6D438DF4B5E", | ||
"fileName": "./src/app.ts", | ||
"SPDXID": "SPDXRef-File--src-app.ts-CAEFF41DF8006D1BBABADC0B34BF33F1B71F2478", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "1b83ee57145a0fa6c0287df9cea1f81ed8f189360eeba73337e1e11ade5fab95" | ||
"checksumValue": "a0a2b220abe915082caee320f48f926287f4b92df68b34ddbcf52f164aa84457" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "1feb3c0686cd21ba42fbfb833dfec6d438df4b5e" | ||
"checksumValue": "caeff41df8006d1bbabadc0b34bf33f1b71f2478" | ||
} | ||
@@ -243,12 +281,12 @@ ], | ||
{ | ||
"fileName": "./src/input.ts", | ||
"SPDXID": "SPDXRef-File--src-input.ts-0D4FC0039556860E1C3493DBDEF93947EEBC3076", | ||
"fileName": "./src/trigger.ts", | ||
"SPDXID": "SPDXRef-File--src-trigger.ts-0ABBA44A31B826642441F5BE0041566F7D8AABF4", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "7652baf4045f42490c4ca309f652d57adab49255fcb0dfda0a615def6b4c1603" | ||
"checksumValue": "b8e63319c4957ca6bad333ce24ef10bb86e8732bbabf4e0322c9a08bb1903f0d" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "0d4fc0039556860e1c3493dbdef93947eebc3076" | ||
"checksumValue": "0abba44a31b826642441f5be0041566f7d8aabf4" | ||
} | ||
@@ -263,12 +301,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/fromRpcTriggerMetadata.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91", | ||
"fileName": "./src/converters/toRpcHttp.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "8dbd98ba1be3ecc1388d82fd151307f67cbc3f28568acf5b804572b423d11ba5" | ||
"checksumValue": "5905595c2b16c068baab4dd181294dd16b70205d79bb93f8e7cf45525fd05b7b" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "500e9fe2895ca2a8d90965f7c12a8ce772578e91" | ||
"checksumValue": "48743c55420a205720f0453086454e535ac456b5" | ||
} | ||
@@ -283,12 +321,12 @@ ], | ||
{ | ||
"fileName": "./src/http/HttpRequest.ts", | ||
"SPDXID": "SPDXRef-File--src-http-HttpRequest.ts-6FA1FCE96BEA795DEC201BBDD254641A1DC6B6D7", | ||
"fileName": "./src/constants.ts", | ||
"SPDXID": "SPDXRef-File--src-constants.ts-36C235E107BAC61A47CF82B7C68EBB0C479CF3FA", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "b25012ccace73515ac797969322b905dd1633b71991e994bdd30c0e47467a232" | ||
"checksumValue": "5330b8bd2c82aac0397a0b21b72423ab0adbefa8102a745c7a12373dfd2efd2d" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "6fa1fce96bea795dec201bbdd254641a1dc6b6d7" | ||
"checksumValue": "36c235e107bac61a47cf82b7c68ebb0c479cf3fa" | ||
} | ||
@@ -303,12 +341,12 @@ ], | ||
{ | ||
"fileName": "./types/cosmosDB.v3.d.ts", | ||
"SPDXID": "SPDXRef-File--types-cosmosDB.v3.d.ts-A24600EF5259E79FF0E5F1372DCB60DA8459FE31", | ||
"fileName": "./src/utils/isTrigger.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "7cbcb342b3f148feadddc3cc344c2da063fbdcac9653fa27de3ce64a7999598c" | ||
"checksumValue": "4fee9efecdfd1152e5600954185523fae4609865a492eebf8368db554210ae85" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "a24600ef5259e79ff0e5f1372dcb60da8459fe31" | ||
"checksumValue": "8a198451e884c0d34d7bb551ad0343fa0bde8b71" | ||
} | ||
@@ -323,12 +361,12 @@ ], | ||
{ | ||
"fileName": "./types/InvocationContext.d.ts", | ||
"SPDXID": "SPDXRef-File--types-InvocationContext.d.ts-68624AD09EACB59A1B8A4FBDD3568D2D027183AD", | ||
"fileName": "./src/input.ts", | ||
"SPDXID": "SPDXRef-File--src-input.ts-0D4FC0039556860E1C3493DBDEF93947EEBC3076", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "2af932b15f4c8271f77a63b08201027f38021dd6829e48b34b0ed29bee69f73d" | ||
"checksumValue": "7652baf4045f42490c4ca309f652d57adab49255fcb0dfda0a615def6b4c1603" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "68624ad09eacb59a1b8a4fbdd3568d2d027183ad" | ||
"checksumValue": "0d4fc0039556860e1c3493dbdef93947eebc3076" | ||
} | ||
@@ -343,12 +381,12 @@ ], | ||
{ | ||
"fileName": "./src/index.ts", | ||
"SPDXID": "SPDXRef-File--src-index.ts-BA6272125204FDC4F3BBBE41723DFA7E3BD31629", | ||
"fileName": "./src/converters/fromRpcBindings.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcBindings.ts-33564771BF04AB3EFB1FC5CDDC7740CAB4A66B9C", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "f9f84f0980edd69cc810b17e7d85ed7392739275179ffc4ac5279afa232c955b" | ||
"checksumValue": "af5881f0426ddb62a5d8b361000214035d735a7a7cecd2f723e17b0ebbb64bd9" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "ba6272125204fdc4f3bbbe41723dfa7e3bd31629" | ||
"checksumValue": "33564771bf04ab3efb1fc5cddc7740cab4a66b9c" | ||
} | ||
@@ -363,12 +401,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/fromRpcNullable.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcNullable.ts-00DA6094E8B2ED969C772EA01B47549BEDA4A2DE", | ||
"fileName": "./src/InvocationContext.ts", | ||
"SPDXID": "SPDXRef-File--src-InvocationContext.ts-7C805B59B2DEAF611509F130F422E0D125A25978", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "af31620202714bcc57ebddc34a6a6637ab830175eae2cab1fa4d9aadaad920a9" | ||
"checksumValue": "24a1a7f3d5c8e54eb19ea638d6cd5c1dfe95d33acd3a03042d5768d12fb113f9" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "00da6094e8b2ed969c772ea01b47549beda4a2de" | ||
"checksumValue": "7c805b59b2deaf611509f130f422e0d125a25978" | ||
} | ||
@@ -383,12 +421,12 @@ ], | ||
{ | ||
"fileName": "./src/http/extractHttpUserFromHeaders.ts", | ||
"SPDXID": "SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83", | ||
"fileName": "./types/eventHub.d.ts", | ||
"SPDXID": "SPDXRef-File--types-eventHub.d.ts-5587A8363C9771E4EBF7CD0A5123D0F391D50BD6", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "0701231f3d83a9050de3a9e40d946fbd49d425049d0b58bf623770f25282252a" | ||
"checksumValue": "fa2b67591e672f2329f93f53ba53e34d88e274513684daf5eab0524e0ed046c2" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "4b921d1b0a53a909fb88ee72c6b798220211bd83" | ||
"checksumValue": "5587a8363c9771e4ebf7cd0a5123d0f391d50bd6" | ||
} | ||
@@ -403,12 +441,12 @@ ], | ||
{ | ||
"fileName": "./types/cosmosDB.d.ts", | ||
"SPDXID": "SPDXRef-File--types-cosmosDB.d.ts-3C7051CEE26908061B49AF03170EEA40EBED906D", | ||
"fileName": "./src/InvocationModel.ts", | ||
"SPDXID": "SPDXRef-File--src-InvocationModel.ts-71731C03DA4F5F3C5C51C728F2D80A7BEFEA8309", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "10bdd83199df3432927f9d6919033d7c682d7196be0c6f0cce4a6f0dcf4d2866" | ||
"checksumValue": "6b8c385b1b3c09e332223e5794c9027d9125618cc594b7cf1eba6f8a2b46af89" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "3c7051cee26908061b49af03170eea40ebed906d" | ||
"checksumValue": "71731c03da4f5f3c5c51c728f2d80a7befea8309" | ||
} | ||
@@ -423,12 +461,12 @@ ], | ||
{ | ||
"fileName": "./types/input.d.ts", | ||
"SPDXID": "SPDXRef-File--types-input.d.ts-AB64EFDB7E2D8ED1595C398A0C009398C1C8FBA3", | ||
"fileName": "./src/converters/toRpcHttpCookie.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "e627f2d8d4d59517851d9aed30f17064e34db8d8b86248f77879fb94a3651cce" | ||
"checksumValue": "b40fd0389ac5593665b7a5521d1440118ceb94e86d42e04d0ae8c08a26424944" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "ab64efdb7e2d8ed1595c398a0c009398c1c8fba3" | ||
"checksumValue": "6e58105386252bb31680aebd1399bef9bcb6851b" | ||
} | ||
@@ -443,12 +481,12 @@ ], | ||
{ | ||
"fileName": "./src/addBindingName.ts", | ||
"SPDXID": "SPDXRef-File--src-addBindingName.ts-A70032D1ACA9203BE8DF364E9BB7425A71858F5B", | ||
"fileName": "./src/converters/fromRpcTriggerMetadata.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "50e98bbe2c2281d21938f3fbc9258ca35cb71e2dcb1a9200a6ab5ac4a5516401" | ||
"checksumValue": "8dbd98ba1be3ecc1388d82fd151307f67cbc3f28568acf5b804572b423d11ba5" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "a70032d1aca9203be8df364e9bb7425a71858f5b" | ||
"checksumValue": "500e9fe2895ca2a8d90965f7c12a8ce772578e91" | ||
} | ||
@@ -463,12 +501,12 @@ ], | ||
{ | ||
"fileName": "./src/output.ts", | ||
"SPDXID": "SPDXRef-File--src-output.ts-6110324A2B091318BA182EC462D2649E457A0A7C", | ||
"fileName": "./src/converters/fromRpcTypedData.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "ab82d9bcf34fe007581b7022ddcb251eddde373420f784416460aeba52673536" | ||
"checksumValue": "be00908655fdb32260987041b22a6d9bbbed65aa1ad0f88d5dd56959189d090e" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "6110324a2b091318ba182ec462d2649e457a0a7c" | ||
"checksumValue": "14f8fa6d6762ca8c0e3506c51b594fde4517bdce" | ||
} | ||
@@ -483,12 +521,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/toRpcHttp.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5", | ||
"fileName": "./src/http/HttpRequest.ts", | ||
"SPDXID": "SPDXRef-File--src-http-HttpRequest.ts-6FA1FCE96BEA795DEC201BBDD254641A1DC6B6D7", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "5905595c2b16c068baab4dd181294dd16b70205d79bb93f8e7cf45525fd05b7b" | ||
"checksumValue": "b25012ccace73515ac797969322b905dd1633b71991e994bdd30c0e47467a232" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "48743c55420a205720f0453086454e535ac456b5" | ||
"checksumValue": "6fa1fce96bea795dec201bbdd254641a1dc6b6d7" | ||
} | ||
@@ -503,12 +541,12 @@ ], | ||
{ | ||
"fileName": "./src/utils/isTrigger.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71", | ||
"fileName": "./types/cosmosDB.v3.d.ts", | ||
"SPDXID": "SPDXRef-File--types-cosmosDB.v3.d.ts-34407E7D69182C902DA07BB03E20DAB388F4A5BF", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "4fee9efecdfd1152e5600954185523fae4609865a492eebf8368db554210ae85" | ||
"checksumValue": "85a5c80025b47bd294a2eded78923e5d6f81b647192fc824b3013984ce1ae37e" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "8a198451e884c0d34d7bb551ad0343fa0bde8b71" | ||
"checksumValue": "34407e7d69182c902da07bb03e20dab388f4a5bf" | ||
} | ||
@@ -523,12 +561,12 @@ ], | ||
{ | ||
"fileName": "./types/eventHub.d.ts", | ||
"SPDXID": "SPDXRef-File--types-eventHub.d.ts-E7944B9EB6E7E540BA099D7D0FE9C768463949E7", | ||
"fileName": "./types/InvocationContext.d.ts", | ||
"SPDXID": "SPDXRef-File--types-InvocationContext.d.ts-B812A184649215EB8B416F00587871DD89E115DD", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "0ca276e09d1d89daf94d087c590af6f6b0d110142e367a63271a47a2c2c01661" | ||
"checksumValue": "5aca782310ed33e5fdd82c65b31904f0e30119b053c3b3638490de8643806366" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "e7944b9eb6e7e540ba099d7d0fe9c768463949e7" | ||
"checksumValue": "b812a184649215eb8b416f00587871dd89e115dd" | ||
} | ||
@@ -543,12 +581,12 @@ ], | ||
{ | ||
"fileName": "./types/storage.d.ts", | ||
"SPDXID": "SPDXRef-File--types-storage.d.ts-E2FE5F2684D1677542DFC3EFD7656158C0D20BDF", | ||
"fileName": "./src/converters/toCamelCase.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toCamelCase.ts-0B685E59BCD78E2B677B5B08D8DA6400BC478E5C", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "817ba5ce14a7bbbad25919a183182bd4304a3c0cc3cb5b4c11b0e0cbe1258c35" | ||
"checksumValue": "f2ba3bb81d4f2006bafed62eb940919b4d005dcdd58f4c2ae2dcaa41d9599ee7" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "e2fe5f2684d1677542dfc3efd7656158c0d20bdf" | ||
"checksumValue": "0b685e59bcd78e2b677b5b08d8da6400bc478e5c" | ||
} | ||
@@ -563,12 +601,12 @@ ], | ||
{ | ||
"fileName": "./src/errors.ts", | ||
"SPDXID": "SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1", | ||
"fileName": "./src/http/HttpResponse.ts", | ||
"SPDXID": "SPDXRef-File--src-http-HttpResponse.ts-D80AEB152659971CCC088B114EFE661AD8C81602", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "356f9b545a77ece5d7659fb759c02ff38e88c888a49273a6a27b37a327620439" | ||
"checksumValue": "1cfcb19bb6c744473407b91f19e749cea96ba2a506810c321472df6a4bb1252e" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "a5e15f9d5f5bf168868fe16a1b1efa0ac8d009a1" | ||
"checksumValue": "d80aeb152659971ccc088b114efe661ad8c81602" | ||
} | ||
@@ -583,12 +621,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/fromRpcContext.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4", | ||
"fileName": "./types/cosmosDB.v4.d.ts", | ||
"SPDXID": "SPDXRef-File--types-cosmosDB.v4.d.ts-EE24FA064D924FC2BC9533925C8CD868BCF9A459", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "6a96ca0d0f0d032f0306e662b6f0a5168495a6e4d975e2dcada5643d92ba385c" | ||
"checksumValue": "98ae23f6f731b4802c966fb8a55a78215149f17afb922ab193af701b3677e164" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "c6d301951c5943e385f9fd016ae15bbcfde1e5e4" | ||
"checksumValue": "ee24fa064d924fc2bc9533925c8cd868bcf9a459" | ||
} | ||
@@ -603,12 +641,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/toRpcTypedData.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC", | ||
"fileName": "./types/output.d.ts", | ||
"SPDXID": "SPDXRef-File--types-output.d.ts-262B6E1A5121F96DAB9AACF45B03EA1DA9CF05B3", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "7405a843c01b965492daa22d1a7f9372e3cf0aabe4586c34c0e4f924c9e6dedd" | ||
"checksumValue": "72a8997f18a7e0a51f7edf9b37a99e018bf33c1d4a494bff3513e93016665272" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "9127faa57c34da3c5b136eeb1d323f6dcaa33aac" | ||
"checksumValue": "262b6e1a5121f96dab9aacf45b03ea1da9cf05b3" | ||
} | ||
@@ -623,12 +661,12 @@ ], | ||
{ | ||
"fileName": "./types/app.d.ts", | ||
"SPDXID": "SPDXRef-File--types-app.d.ts-937A06CC83A2BA793DB49A897AF03275E9B25739", | ||
"fileName": "./types/storage.d.ts", | ||
"SPDXID": "SPDXRef-File--types-storage.d.ts-E62113411D87CD618132B22DCE862361AD26C91A", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "3e6cfb85a65927c3c3b770ed529527c85c1c6662ec35a35fdb18b4c2ddb7ebd6" | ||
"checksumValue": "d54973e791cef9a0cc0fa6871f15b106060453cf850e0de8a87b9e1de2eb8042" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "937a06cc83a2ba793db49a897af03275e9b25739" | ||
"checksumValue": "e62113411d87cd618132b22dce862361ad26c91a" | ||
} | ||
@@ -643,12 +681,12 @@ ], | ||
{ | ||
"fileName": "./types/index.d.ts", | ||
"SPDXID": "SPDXRef-File--types-index.d.ts-602267B96A708B36A86FC041E8CC938367045D11", | ||
"fileName": "./src/utils/nonNull.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "4ec64e0e168a123d72b21dadf495d2d7e87435c7ee991ed5a48b34a2b1053e1b" | ||
"checksumValue": "e00258536f71ba484215bdca3c5d1a6901a0f79f5df28f525a05bee32880d634" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "602267b96a708b36a86fc041e8cc938367045d11" | ||
"checksumValue": "afac55cf0cce9f700e9b5b4123f988f990035ebe" | ||
} | ||
@@ -663,12 +701,12 @@ ], | ||
{ | ||
"fileName": "./src/app.ts", | ||
"SPDXID": "SPDXRef-File--src-app.ts-FB34A607E8ACAA065F7F2F4E8F4F2566067D972B", | ||
"fileName": "./types/generic.d.ts", | ||
"SPDXID": "SPDXRef-File--types-generic.d.ts-9B3211B2E6BA8F020FD782B15B5474435DB61454", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "5dc22f49826f3ec224c121207dd6028006a1e003a31be9195153d06f5b9ed34f" | ||
"checksumValue": "072aea18a565dd984acb373c67f833013ed551f4c57f338abb3dab48683a802b" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "fb34a607e8acaa065f7f2f4e8f4f2566067d972b" | ||
"checksumValue": "9b3211b2e6ba8f020fd782b15b5474435db61454" | ||
} | ||
@@ -683,12 +721,12 @@ ], | ||
{ | ||
"fileName": "./src/trigger.ts", | ||
"SPDXID": "SPDXRef-File--src-trigger.ts-0ABBA44A31B826642441F5BE0041566F7D8AABF4", | ||
"fileName": "./types/timer.d.ts", | ||
"SPDXID": "SPDXRef-File--types-timer.d.ts-2A8FFD11E1DEF0D2B8C14CFE7893ADB6A0A19CB7", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "b8e63319c4957ca6bad333ce24ef10bb86e8732bbabf4e0322c9a08bb1903f0d" | ||
"checksumValue": "b61d9ad48fbeac504c1d2630fc5e8b897ac84b21f57535baac9bde0692ed26a6" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "0abba44a31b826642441f5be0041566f7d8aabf4" | ||
"checksumValue": "2a8ffd11e1def0d2b8c14cfe7893adb6a0a19cb7" | ||
} | ||
@@ -703,12 +741,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/toRpcHttpCookie.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B", | ||
"fileName": "./src/http/extractHttpUserFromHeaders.ts", | ||
"SPDXID": "SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "b40fd0389ac5593665b7a5521d1440118ceb94e86d42e04d0ae8c08a26424944" | ||
"checksumValue": "0701231f3d83a9050de3a9e40d946fbd49d425049d0b58bf623770f25282252a" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "6e58105386252bb31680aebd1399bef9bcb6851b" | ||
"checksumValue": "4b921d1b0a53a909fb88ee72c6b798220211bd83" | ||
} | ||
@@ -723,12 +761,12 @@ ], | ||
{ | ||
"fileName": "./src/utils/nonNull.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE", | ||
"fileName": "./types/cosmosDB.d.ts", | ||
"SPDXID": "SPDXRef-File--types-cosmosDB.d.ts-3C7051CEE26908061B49AF03170EEA40EBED906D", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "e00258536f71ba484215bdca3c5d1a6901a0f79f5df28f525a05bee32880d634" | ||
"checksumValue": "10bdd83199df3432927f9d6919033d7c682d7196be0c6f0cce4a6f0dcf4d2866" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "afac55cf0cce9f700e9b5b4123f988f990035ebe" | ||
"checksumValue": "3c7051cee26908061b49af03170eea40ebed906d" | ||
} | ||
@@ -743,12 +781,12 @@ ], | ||
{ | ||
"fileName": "./types/generic.d.ts", | ||
"SPDXID": "SPDXRef-File--types-generic.d.ts-E11420A4C0F7B067D59D07E31E5782FAB51A106A", | ||
"fileName": "./types/input.d.ts", | ||
"SPDXID": "SPDXRef-File--types-input.d.ts-AB64EFDB7E2D8ED1595C398A0C009398C1C8FBA3", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "a42d7f0a95de6fa9d2b67d44ac0770f93fb1aa876a14d6632c8661c75bb63aa1" | ||
"checksumValue": "e627f2d8d4d59517851d9aed30f17064e34db8d8b86248f77879fb94a3651cce" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "e11420a4c0f7b067d59d07e31e5782fab51a106a" | ||
"checksumValue": "ab64efdb7e2d8ed1595c398a0c009398c1c8fba3" | ||
} | ||
@@ -763,12 +801,12 @@ ], | ||
{ | ||
"fileName": "./types/timer.d.ts", | ||
"SPDXID": "SPDXRef-File--types-timer.d.ts-92CCE66ECA2B5DBE0E129040E2B0C61E14864814", | ||
"fileName": "./src/addBindingName.ts", | ||
"SPDXID": "SPDXRef-File--src-addBindingName.ts-A70032D1ACA9203BE8DF364E9BB7425A71858F5B", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "0577072b619deaa76937c0afff710502746ee0427d4994060faa4a419c3126e3" | ||
"checksumValue": "50e98bbe2c2281d21938f3fbc9258ca35cb71e2dcb1a9200a6ab5ac4a5516401" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "92cce66eca2b5dbe0e129040e2b0c61e14864814" | ||
"checksumValue": "a70032d1aca9203be8df364e9bb7425a71858f5b" | ||
} | ||
@@ -783,12 +821,12 @@ ], | ||
{ | ||
"fileName": "./src/InvocationContext.ts", | ||
"SPDXID": "SPDXRef-File--src-InvocationContext.ts-7C805B59B2DEAF611509F130F422E0D125A25978", | ||
"fileName": "./src/output.ts", | ||
"SPDXID": "SPDXRef-File--src-output.ts-6110324A2B091318BA182EC462D2649E457A0A7C", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "24a1a7f3d5c8e54eb19ea638d6cd5c1dfe95d33acd3a03042d5768d12fb113f9" | ||
"checksumValue": "ab82d9bcf34fe007581b7022ddcb251eddde373420f784416460aeba52673536" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "7c805b59b2deaf611509f130f422e0d125a25978" | ||
"checksumValue": "6110324a2b091318ba182ec462d2649e457a0a7c" | ||
} | ||
@@ -803,12 +841,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/fromRpcTypedData.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE", | ||
"fileName": "./src/converters/toRpcDuration.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcDuration.ts-714B9BFB912D81833E9DB1CF93681F56D4B8A544", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "be00908655fdb32260987041b22a6d9bbbed65aa1ad0f88d5dd56959189d090e" | ||
"checksumValue": "7dedbf633fcf7195e5080c70e14d23b572b7ce215065d05f8de82c43af224fa2" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "14f8fa6d6762ca8c0e3506c51b594fde4517bdce" | ||
"checksumValue": "714b9bfb912d81833e9db1cf93681f56d4b8a544" | ||
} | ||
@@ -823,12 +861,12 @@ ], | ||
{ | ||
"fileName": "./src/http/HttpResponse.ts", | ||
"SPDXID": "SPDXRef-File--src-http-HttpResponse.ts-D80AEB152659971CCC088B114EFE661AD8C81602", | ||
"fileName": "./src/utils/getRandomHexString.ts", | ||
"SPDXID": "SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "1cfcb19bb6c744473407b91f19e749cea96ba2a506810c321472df6a4bb1252e" | ||
"checksumValue": "6a6bd203ab5d85e155a99f19a0792e564550ecab6496c11d3c07d81608756481" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "d80aeb152659971ccc088b114efe661ad8c81602" | ||
"checksumValue": "330f3e6f43410ceadc96a91353d386fafc078ed0" | ||
} | ||
@@ -843,12 +881,12 @@ ], | ||
{ | ||
"fileName": "./types/cosmosDB.v4.d.ts", | ||
"SPDXID": "SPDXRef-File--types-cosmosDB.v4.d.ts-5F1C7FBD9B5118880A9F949C37E534FD5F03A028", | ||
"fileName": "./types/eventGrid.d.ts", | ||
"SPDXID": "SPDXRef-File--types-eventGrid.d.ts-1FEB3C0686CD21BA42FBFB833DFEC6D438DF4B5E", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "cf42c9fbf6919b4602cff48461059fe7b12571c70cea82442f001a0dc1968272" | ||
"checksumValue": "1b83ee57145a0fa6c0287df9cea1f81ed8f189360eeba73337e1e11ade5fab95" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "5f1c7fbd9b5118880a9f949c37e534fd5f03a028" | ||
"checksumValue": "1feb3c0686cd21ba42fbfb833dfec6d438df4b5e" | ||
} | ||
@@ -863,12 +901,12 @@ ], | ||
{ | ||
"fileName": "./types/output.d.ts", | ||
"SPDXID": "SPDXRef-File--types-output.d.ts-262B6E1A5121F96DAB9AACF45B03EA1DA9CF05B3", | ||
"fileName": "./types/serviceBus.d.ts", | ||
"SPDXID": "SPDXRef-File--types-serviceBus.d.ts-6F3B2D69930BD0117FB44875DB3FE0E5B2E68736", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "72a8997f18a7e0a51f7edf9b37a99e018bf33c1d4a494bff3513e93016665272" | ||
"checksumValue": "c5c7cfdee1c31cbe397a25c9be329b093b4bb68579c0040582f8c49c417923a2" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "262b6e1a5121f96dab9aacf45b03ea1da9cf05b3" | ||
"checksumValue": "6f3b2d69930bd0117fb44875db3fe0e5b2e68736" | ||
} | ||
@@ -883,12 +921,12 @@ ], | ||
{ | ||
"fileName": "./src/constants.ts", | ||
"SPDXID": "SPDXRef-File--src-constants.ts-69A9202D4D203D6343684AFEE8394392B53540F6", | ||
"fileName": "./src/errors.ts", | ||
"SPDXID": "SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "aba8e72eb0bd409d9fc71e28057e85e4496af9ba38c848e5b09809fb7de333e7" | ||
"checksumValue": "356f9b545a77ece5d7659fb759c02ff38e88c888a49273a6a27b37a327620439" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "69a9202d4d203d6343684afee8394392b53540f6" | ||
"checksumValue": "a5e15f9d5f5bf168868fe16a1b1efa0ac8d009a1" | ||
} | ||
@@ -903,12 +941,12 @@ ], | ||
{ | ||
"fileName": "./src/converters/fromRpcBindings.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcBindings.ts-33564771BF04AB3EFB1FC5CDDC7740CAB4A66B9C", | ||
"fileName": "./src/converters/fromRpcContext.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "af5881f0426ddb62a5d8b361000214035d735a7a7cecd2f723e17b0ebbb64bd9" | ||
"checksumValue": "6a96ca0d0f0d032f0306e662b6f0a5168495a6e4d975e2dcada5643d92ba385c" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "33564771bf04ab3efb1fc5cddc7740cab4a66b9c" | ||
"checksumValue": "c6d301951c5943e385f9fd016ae15bbcfde1e5e4" | ||
} | ||
@@ -924,11 +962,11 @@ ], | ||
"fileName": "./src/converters/toRpcNullable.ts", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcNullable.ts-C43037C7B43FF3D59D0D7922B54C891055463AB9", | ||
"SPDXID": "SPDXRef-File--src-converters-toRpcNullable.ts-093B06989BA6E60D23B752F6380E0B76B1A97B02", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "773f0c22930331be2b0f9daf9849b80f4b7bcc18fc2e19ba07dd502b56461ee3" | ||
"checksumValue": "735319488354e832f621c664bcd80b0a13d3b4b2225b7b62ebd892a46fa8b6f5" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "c43037c7b43ff3d59d0d7922b54c891055463ab9" | ||
"checksumValue": "093b06989ba6e60d23b752f6380e0b76b1a97b02" | ||
} | ||
@@ -998,21 +1036,2 @@ ], | ||
"copyrightText": "NOASSERTION" | ||
}, | ||
{ | ||
"fileName": "./types/serviceBus.d.ts", | ||
"SPDXID": "SPDXRef-File--types-serviceBus.d.ts-EBA83FD0AA92DEF614F975D5E3798122B49A1B18", | ||
"checksums": [ | ||
{ | ||
"algorithm": "SHA256", | ||
"checksumValue": "bed40fddd9b90a1f131963a0348c4d163190f1ffb118372a1587cd7f860c8b3b" | ||
}, | ||
{ | ||
"algorithm": "SHA1", | ||
"checksumValue": "eba83fd0aa92def614f975d5e3798122b49a1b18" | ||
} | ||
], | ||
"licenseConcluded": "NOASSERTION", | ||
"licenseInfoInFiles": [ | ||
"NOASSERTION" | ||
], | ||
"copyrightText": "NOASSERTION" | ||
} | ||
@@ -1040,4 +1059,4 @@ ], | ||
{ | ||
"name": "Azure Pipelines Hosted Image win19", | ||
"SPDXID": "SPDXRef-Package-4BE89811E00CECDF2A094016E11671C37C29252F68D337868480E912A0F7C99D", | ||
"name": "streamsearch", | ||
"SPDXID": "SPDXRef-Package-8728DA2FF5D50F7B4774FF505304E060EE53DC9F9CB68DF9D282B128ABE248E0", | ||
"downloadLocation": "NOASSERTION", | ||
@@ -1048,3 +1067,3 @@ "filesAnalyzed": false, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "20230612.1", | ||
"versionInfo": "1.1.0", | ||
"externalRefs": [ | ||
@@ -1054,6 +1073,6 @@ { | ||
"referenceType": "purl", | ||
"referenceLocator": "https://github.com/actions/virtual-environments" | ||
"referenceLocator": "pkg:npm/streamsearch@1.1.0" | ||
} | ||
], | ||
"supplier": "Organization: Microsoft/GitHub" | ||
"supplier": "Organization: Brian White (mscdex@mscdex.net)" | ||
}, | ||
@@ -1079,4 +1098,4 @@ { | ||
{ | ||
"name": "undici", | ||
"SPDXID": "SPDXRef-Package-2F706D8C7C4698A97D39D6400309FC8E4472D3402B990DC46763A00D08C3E831", | ||
"name": "Azure Pipelines Hosted Image win19", | ||
"SPDXID": "SPDXRef-Package-3FF606431CE825232B7BA4675B710470193C4F32ADA943301C6DB7DEEC27B080", | ||
"downloadLocation": "NOASSERTION", | ||
@@ -1087,3 +1106,3 @@ "filesAnalyzed": false, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "5.13.0", | ||
"versionInfo": "20230820.1.0", | ||
"externalRefs": [ | ||
@@ -1093,10 +1112,10 @@ { | ||
"referenceType": "purl", | ||
"referenceLocator": "pkg:npm/undici@5.13.0" | ||
"referenceLocator": "https://github.com/actions/virtual-environments" | ||
} | ||
], | ||
"supplier": "Organization: Matteo Collina (hello@matteocollina.com)" | ||
"supplier": "Organization: Microsoft/GitHub" | ||
}, | ||
{ | ||
"name": "streamsearch", | ||
"SPDXID": "SPDXRef-Package-8728DA2FF5D50F7B4774FF505304E060EE53DC9F9CB68DF9D282B128ABE248E0", | ||
"name": "undici", | ||
"SPDXID": "SPDXRef-Package-2F706D8C7C4698A97D39D6400309FC8E4472D3402B990DC46763A00D08C3E831", | ||
"downloadLocation": "NOASSERTION", | ||
@@ -1107,3 +1126,3 @@ "filesAnalyzed": false, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "1.1.0", | ||
"versionInfo": "5.13.0", | ||
"externalRefs": [ | ||
@@ -1113,6 +1132,6 @@ { | ||
"referenceType": "purl", | ||
"referenceLocator": "pkg:npm/streamsearch@1.1.0" | ||
"referenceLocator": "pkg:npm/undici@5.13.0" | ||
} | ||
], | ||
"supplier": "Organization: Brian White (mscdex@mscdex.net)" | ||
"supplier": "Organization: Matteo Collina (hello@matteocollina.com)" | ||
}, | ||
@@ -1124,3 +1143,3 @@ { | ||
"packageVerificationCode": { | ||
"packageVerificationCodeValue": "a0fc9ce88f8b333287da947afdba9adc0a15b5da" | ||
"packageVerificationCodeValue": "772c84e5cf486e78f586bdaf1b925ae36cc05ea1" | ||
}, | ||
@@ -1134,48 +1153,37 @@ "filesAnalyzed": true, | ||
"copyrightText": "NOASSERTION", | ||
"versionInfo": "137318", | ||
"versionInfo": "152608", | ||
"externalRefs": [ | ||
{ | ||
"referenceCategory": "PACKAGE-MANAGER", | ||
"referenceType": "purl", | ||
"referenceLocator": "pkg:swid/Microsoft/sbom.microsoft/Azure%20Functions%20Node.js%20Framework@152608?tag_id=fa4a4193-b987-4d48-9175-a25fb275becf" | ||
} | ||
], | ||
"supplier": "Organization: Microsoft", | ||
"hasFiles": [ | ||
"SPDXRef-File--types-output.d.ts-262B6E1A5121F96DAB9AACF45B03EA1DA9CF05B3", | ||
"SPDXRef-File--types-cosmosDB.v4.d.ts-5F1C7FBD9B5118880A9F949C37E534FD5F03A028", | ||
"SPDXRef-File--src-http-HttpResponse.ts-D80AEB152659971CCC088B114EFE661AD8C81602", | ||
"SPDXRef-File--types-serviceBus.d.ts-6F3B2D69930BD0117FB44875DB3FE0E5B2E68736", | ||
"SPDXRef-File--types-eventGrid.d.ts-1FEB3C0686CD21BA42FBFB833DFEC6D438DF4B5E", | ||
"SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0", | ||
"SPDXRef-File--src-converters-toRpcDuration.ts-714B9BFB912D81833E9DB1CF93681F56D4B8A544", | ||
"SPDXRef-File--src-output.ts-6110324A2B091318BA182EC462D2649E457A0A7C", | ||
"SPDXRef-File--src-addBindingName.ts-A70032D1ACA9203BE8DF364E9BB7425A71858F5B", | ||
"SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4", | ||
"SPDXRef-File--types-InvocationContext.d.ts-B812A184649215EB8B416F00587871DD89E115DD", | ||
"SPDXRef-File--types-cosmosDB.v3.d.ts-34407E7D69182C902DA07BB03E20DAB388F4A5BF", | ||
"SPDXRef-File--src-http-HttpRequest.ts-6FA1FCE96BEA795DEC201BBDD254641A1DC6B6D7", | ||
"SPDXRef-File--src-converters-fromRpcTypedData.ts-14F8FA6D6762CA8C0E3506C51B594FDE4517BDCE", | ||
"SPDXRef-File--src-InvocationContext.ts-7C805B59B2DEAF611509F130F422E0D125A25978", | ||
"SPDXRef-File--dist-azure-functions.min.js-FD75DDAD63D116AA9D3A363AC79779D77CAD1BF6", | ||
"SPDXRef-File--dist-azure-functions.min.js-E891BDD5FFA118204FC5A69EA6F62F42C78861D7", | ||
"SPDXRef-File--types-input.d.ts-AB64EFDB7E2D8ED1595C398A0C009398C1C8FBA3", | ||
"SPDXRef-File--types-cosmosDB.d.ts-3C7051CEE26908061B49AF03170EEA40EBED906D", | ||
"SPDXRef-File--src-http-extractHttpUserFromHeaders.ts-4B921D1B0A53A909FB88EE72C6B798220211BD83", | ||
"SPDXRef-File--src-converters-fromRpcNullable.ts-00DA6094E8B2ED969C772EA01B47549BEDA4A2DE", | ||
"SPDXRef-File--src-index.ts-BA6272125204FDC4F3BBBE41723DFA7E3BD31629", | ||
"SPDXRef-File--dist-azure-functions.js-7F73BDA93925863B706CBFA73F7688BEC8DC4052", | ||
"SPDXRef-File--types-InvocationContext.d.ts-68624AD09EACB59A1B8A4FBDD3568D2D027183AD", | ||
"SPDXRef-File--types-cosmosDB.v3.d.ts-A24600EF5259E79FF0E5F1372DCB60DA8459FE31", | ||
"SPDXRef-File--src-http-HttpRequest.ts-6FA1FCE96BEA795DEC201BBDD254641A1DC6B6D7", | ||
"SPDXRef-File--src-converters-fromRpcTriggerMetadata.ts-500E9FE2895CA2A8D90965F7C12A8CE772578E91", | ||
"SPDXRef-File--src-input.ts-0D4FC0039556860E1C3493DBDEF93947EEBC3076", | ||
"SPDXRef-File--dist-azure-functions.js.map-B2332AD25C5B3F6F736E781FE23D82540BCB49E8", | ||
"SPDXRef-File--types-serviceBus.d.ts-EBA83FD0AA92DEF614F975D5E3798122B49A1B18", | ||
"SPDXRef-File--types-eventGrid.d.ts-1FEB3C0686CD21BA42FBFB833DFEC6D438DF4B5E", | ||
"SPDXRef-File--src-utils-getRandomHexString.ts-330F3E6F43410CEADC96A91353D386FAFC078ED0", | ||
"SPDXRef-File--src-converters-toCamelCase.ts-0B685E59BCD78E2B677B5B08D8DA6400BC478E5C", | ||
"SPDXRef-File--src-InvocationModel.ts-71731C03DA4F5F3C5C51C728F2D80A7BEFEA8309", | ||
"SPDXRef-File--dist-azure-functions.min.js.map-3E6C48332857C42113FB23B6517AFA99010BC5CC", | ||
"SPDXRef-File--types-index.d.ts-602267B96A708B36A86FC041E8CC938367045D11", | ||
"SPDXRef-File--types-app.d.ts-937A06CC83A2BA793DB49A897AF03275E9B25739", | ||
"SPDXRef-File--src-converters-toRpcTypedData.ts-9127FAA57C34DA3C5B136EEB1D323F6DCAA33AAC", | ||
"SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4", | ||
"SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1", | ||
"SPDXRef-File--README.md-C066DE9337DCB93E45B68E5F0C4283648AAB2F73", | ||
"SPDXRef-File--types-storage.d.ts-E2FE5F2684D1677542DFC3EFD7656158C0D20BDF", | ||
"SPDXRef-File--types-eventHub.d.ts-E7944B9EB6E7E540BA099D7D0FE9C768463949E7", | ||
"SPDXRef-File--dist-azure-functions.js.map-5C7064F03CADD025DAEA386EA100A40E36A8037B", | ||
"SPDXRef-File--types-storage.d.ts-E62113411D87CD618132B22DCE862361AD26C91A", | ||
"SPDXRef-File--types-eventHub.d.ts-5587A8363C9771E4EBF7CD0A5123D0F391D50BD6", | ||
"SPDXRef-File--src-utils-isTrigger.ts-8A198451E884C0D34D7BB551AD0343FA0BDE8B71", | ||
"SPDXRef-File--src-converters-toRpcHttp.ts-48743C55420A205720F0453086454E535AC456B5", | ||
"SPDXRef-File--src-output.ts-6110324A2B091318BA182EC462D2649E457A0A7C", | ||
"SPDXRef-File--src-addBindingName.ts-A70032D1ACA9203BE8DF364E9BB7425A71858F5B", | ||
"SPDXRef-File--LICENSE-14CB404E9DE5F2B618AD67DDA908AF2452A4B2B4", | ||
"SPDXRef-File--types-timer.d.ts-92CCE66ECA2B5DBE0E129040E2B0C61E14864814", | ||
"SPDXRef-File--types-generic.d.ts-E11420A4C0F7B067D59D07E31E5782FAB51A106A", | ||
"SPDXRef-File--src-utils-nonNull.ts-AFAC55CF0CCE9F700E9B5B4123F988F990035EBE", | ||
"SPDXRef-File--src-converters-toRpcHttpCookie.ts-6E58105386252BB31680AEBD1399BEF9BCB6851B", | ||
"SPDXRef-File--src-trigger.ts-0ABBA44A31B826642441F5BE0041566F7D8AABF4", | ||
"SPDXRef-File--src-app.ts-FB34A607E8ACAA065F7F2F4E8F4F2566067D972B", | ||
"SPDXRef-File--src-app.ts-CAEFF41DF8006D1BBABADC0B34BF33F1B71F2478", | ||
"SPDXRef-File--NOTICE.html-43B9F500D4820A1D898A0F2041C02F6349F3158C", | ||
@@ -1185,6 +1193,25 @@ "SPDXRef-File--types-trigger.d.ts-43069F15839675EACA29899C883872C3C3676994", | ||
"SPDXRef-File--src-utils-util.ts-B666C0D023DE87615D101367AAD897EAFC692B3F", | ||
"SPDXRef-File--src-converters-toRpcNullable.ts-C43037C7B43FF3D59D0D7922B54C891055463AB9", | ||
"SPDXRef-File--src-converters-toRpcNullable.ts-093B06989BA6E60D23B752F6380E0B76B1A97B02", | ||
"SPDXRef-File--src-converters-fromRpcContext.ts-C6D301951C5943E385F9FD016AE15BBCFDE1E5E4", | ||
"SPDXRef-File--src-errors.ts-A5E15F9D5F5BF168868FE16A1B1EFA0AC8D009A1", | ||
"SPDXRef-File--README.md-C066DE9337DCB93E45B68E5F0C4283648AAB2F73", | ||
"SPDXRef-File--types-timer.d.ts-2A8FFD11E1DEF0D2B8C14CFE7893ADB6A0A19CB7", | ||
"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-69A9202D4D203D6343684AFEE8394392B53540F6", | ||
"SPDXRef-File--package.json-81F1E18A01FB1C3BCCB594C676D40F108AAA64C8" | ||
"SPDXRef-File--src-constants.ts-36C235E107BAC61A47CF82B7C68EBB0C479CF3FA", | ||
"SPDXRef-File--package.json-230A1D179E3FDE1D617F1F2BE273AA391502BBCC", | ||
"SPDXRef-File--types-output.d.ts-262B6E1A5121F96DAB9AACF45B03EA1DA9CF05B3", | ||
"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-204764D6A16D1136D85FCD7ED567369DFBA64307", | ||
"SPDXRef-File--types-index.d.ts-373F4DF56B38D07818705B1A93FC7854C3597E5D", | ||
"SPDXRef-File--types-app.d.ts-581C9E3137FC162B7F63BCA796DCB00985FA2A5B", | ||
"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-7158E5CA8AA98AB29FC74E0DD6B285DC4B31EB63" | ||
] | ||
@@ -1196,9 +1223,9 @@ } | ||
{ | ||
"relationshipType": "DESCRIBES", | ||
"relatedSpdxElement": "SPDXRef-RootPackage", | ||
"spdxElementId": "SPDXRef-DOCUMENT" | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-2F706D8C7C4698A97D39D6400309FC8E4472D3402B990DC46763A00D08C3E831", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
}, | ||
{ | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-8728DA2FF5D50F7B4774FF505304E060EE53DC9F9CB68DF9D282B128ABE248E0", | ||
"relatedSpdxElement": "SPDXRef-Package-3FF606431CE825232B7BA4675B710470193C4F32ADA943301C6DB7DEEC27B080", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
@@ -1208,3 +1235,3 @@ }, | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-2F706D8C7C4698A97D39D6400309FC8E4472D3402B990DC46763A00D08C3E831", | ||
"relatedSpdxElement": "SPDXRef-Package-F0EF82FF84299CA0FF34C91CF83686752D8CC535E4C149103A72C0FAA8E2FE82", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
@@ -1219,9 +1246,9 @@ }, | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-4BE89811E00CECDF2A094016E11671C37C29252F68D337868480E912A0F7C99D", | ||
"relatedSpdxElement": "SPDXRef-Package-8728DA2FF5D50F7B4774FF505304E060EE53DC9F9CB68DF9D282B128ABE248E0", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
}, | ||
{ | ||
"relationshipType": "DEPENDS_ON", | ||
"relatedSpdxElement": "SPDXRef-Package-F0EF82FF84299CA0FF34C91CF83686752D8CC535E4C149103A72C0FAA8E2FE82", | ||
"spdxElementId": "SPDXRef-RootPackage" | ||
"relationshipType": "DESCRIBES", | ||
"relatedSpdxElement": "SPDXRef-RootPackage", | ||
"spdxElementId": "SPDXRef-DOCUMENT" | ||
} | ||
@@ -1232,9 +1259,9 @@ ], | ||
"SPDXID": "SPDXRef-DOCUMENT", | ||
"name": "Azure Functions Node.js Framework 137318", | ||
"documentNamespace": "https://sbom.microsoft/1:vB_F0XdED0q5n_yQEwCaWA:kgyn5ihBn0OAEjgv541jlg/145:137318/qKOPU6bLJ067SnhD0diUyw", | ||
"name": "Azure Functions Node.js Framework 152608", | ||
"documentNamespace": "https://sbom.microsoft/1:vB_F0XdED0q5n_yQEwCaWA:kgyn5ihBn0OAEjgv541jlg/145:152608/2Ob4CrtD4E-RdpTM_P2wGg", | ||
"creationInfo": { | ||
"created": "2023-06-22T21:03:16Z", | ||
"created": "2023-09-12T21:53:56Z", | ||
"creators": [ | ||
"Organization: Microsoft", | ||
"Tool: Microsoft.SBOMTool-1.1.3" | ||
"Tool: Microsoft.SBOMTool-1.5.2" | ||
] | ||
@@ -1241,0 +1268,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 v=n(764),y=n(313),m=n(601),b=n(168),w=n(130),j=n(243),O=n(408),x=n(788),P=n(186),T=n(828),N=n(674),C=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,C.nonNullProp)(e.metadata,"name"),"f"),g(this,a,(0,C.nonNullProp)(e.metadata,"bindings"),"f");const t=(0,C.nonNullValue)(Object.values(h(this,a,"f")).find((e=>(0,N.isTrigger)(e.type))),"triggerBinding");g(this,u,(0,C.nonNullProp)(t,"type"),"f")}getArguments(){return d(this,void 0,void 0,(function*(){const e=h(this,i,"f").request,t=new y.InvocationContext({invocationId:(0,C.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,j.fromRpcTriggerMetadata)(e.triggerMetadata,h(this,u,"f")),options:(0,b.fromRpcBindings)(h(this,a,"f"))}),n=[];if(e.inputData)for(const r of e.inputData){const e=(0,C.nonNullProp)(r,"name");let o=(0,O.fromRpcTypedData)(r.data);const i=h(this,a,"f")[e].type;(0,N.isTimerTrigger)(i)&&(o=(0,x.toCamelCaseValue)(o)),(0,N.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===m.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,C.isDefined)(t)&&n.outputData.push({name:i,data:t})}return o||(0,N.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,v.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:(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=t.deleteRequest=t.patch=t.post=t.put=t.get=void 0;const r=n(62),o=n(601),i=n(854),s=n(892),a=n(674);let u;function c(){if(void 0===u)try{u=n(605)}catch(e){u=null}return u}class l{constructor(){this.name="@azure/functions",this.version=o.version}getInvocationModel(e){return new r.InvocationModel(e)}}let f=!1;function p(e,t){const n="function"==typeof e?{handler:e}:e;return n.methods=[t],n}function d(e,t){t.return||(t.return=i.http({})),g(e,Object.assign({trigger:s.http({authLevel:t.authLevel,methods:t.methods,route:t.route})},t))}function g(e,t){f||function(){const e=c();e?e.setProgrammingModel(new l):console.warn('WARNING: Failed to detect the Azure Functions runtime. Switching "@azure/functions" package to test mode - not all features are supported.'),f=!0}();const n={},r=t.trigger;if(n[r.name]=Object.assign(Object.assign({},r),{direction:"in",type:(0,a.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=o.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"});const i=c();i?i.registerFunction({name:e,bindings:n},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){d(e,p(t,"GET"))},t.put=function(e,t){d(e,p(t,"PUT"))},t.post=function(e,t){d(e,p(t,"POST"))},t.patch=function(e,t){d(e,p(t,"PATCH"))},t.deleteRequest=function(e,t){d(e,p(t,"DELETE"))},t.http=d,t.timer=function(e,t){g(e,Object.assign({trigger:s.timer({schedule:t.schedule,runOnStartup:t.runOnStartup,useMonitor:t.useMonitor})},t))},t.storageBlob=function(e,t){g(e,Object.assign({trigger:s.storageBlob({connection:t.connection,path:t.path})},t))},t.storageQueue=function(e,t){g(e,Object.assign({trigger:s.storageQueue({connection:t.connection,queueName:t.queueName})},t))},t.serviceBusQueue=function(e,t){g(e,Object.assign({trigger:s.serviceBusQueue({connection:t.connection,queueName:t.queueName,isSessionsEnabled:t.isSessionsEnabled})},t))},t.serviceBusTopic=function(e,t){g(e,Object.assign({trigger:s.serviceBusTopic({connection:t.connection,topicName:t.topicName,subscriptionName:t.subscriptionName,isSessionsEnabled:t.isSessionsEnabled})},t))},t.eventHub=function(e,t){g(e,Object.assign({trigger:s.eventHub({connection:t.connection,eventHubName:t.eventHubName,cardinality:t.cardinality,consumerGroup:t.consumerGroup})},t))},t.eventGrid=function(e,t){g(e,Object.assign({trigger:s.eventGrid({})},t))},t.cosmosDB=function(e,t){let n;n="connectionStringSetting"in t?s.cosmosDB({checkpointDocumentCount:t.checkpointDocumentCount,checkpointInterval:t.checkpointInterval,collectionName:t.collectionName,connectionStringSetting:t.connectionStringSetting,createLeaseCollectionIfNotExists:t.createLeaseCollectionIfNotExists,databaseName:t.databaseName,feedPollDelay:t.feedPollDelay,id:t.id,leaseAcquireInterval:t.leaseAcquireInterval,leaseCollectionName:t.leaseCollectionName,leaseCollectionPrefix:t.leaseCollectionPrefix,leaseCollectionThroughput:t.leaseCollectionThroughput,leaseConnectionStringSetting:t.leaseConnectionStringSetting,leaseDatabaseName:t.leaseDatabaseName,leaseExpirationInterval:t.leaseExpirationInterval,leaseRenewInterval:t.leaseRenewInterval,maxItemsPerInvocation:t.maxItemsPerInvocation,partitionKey:t.partitionKey,preferredLocations:t.preferredLocations,sqlQuery:t.sqlQuery,startFromBeginning:t.startFromBeginning,useMultipleWriteLocations:t.useMultipleWriteLocations}):s.cosmosDB({connection:t.connection,containerName:t.containerName,createLeaseContainerIfNotExists:t.createLeaseContainerIfNotExists,databaseName:t.databaseName,feedPollDelay:t.feedPollDelay,id:t.id,leaseAcquireInterval:t.leaseAcquireInterval,leaseConnection:t.leaseConnection,leaseContainerName:t.leaseContainerName,leaseContainerPrefix:t.leaseContainerPrefix,leaseDatabaseName:t.leaseDatabaseName,leaseExpirationInterval:t.leaseExpirationInterval,leaseRenewInterval:t.leaseRenewInterval,leasesContainerThroughput:t.leasesContainerThroughput,maxItemsPerInvocation:t.maxItemsPerInvocation,partitionKey:t.partitionKey,preferredLocations:t.preferredLocations,sqlQuery:t.sqlQuery,startFromBeginning:t.startFromBeginning,startFromTime:t.startFromTime}),g(e,Object.assign({trigger:n},t))},t.generic=g},601:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.returnBindingKey=t.version=void 0,t.version="4.0.0-alpha.11",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},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);t.toNullableBool=function(e,t){if("boolean"==typeof e)return{value:e};if(null!=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(null!=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(null!=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(null!=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(null!=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.cosmosDB=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.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},t.generic=function(e){return o(e)}},854:(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.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.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.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())}))},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.0-alpha.12",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.cosmosDB=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.cosmosDB=function(e){return o(Object.assign(Object.assign({},e),{type:"cosmosDB"}))},t.generic=function(e){return o(e)}},854:(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.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.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.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})(); | ||
//# sourceMappingURL=azure-functions.min.js.map |
{ | ||
"name": "@azure/functions", | ||
"version": "4.0.0-alpha.11", | ||
"version": "4.0.0-alpha.12", | ||
"description": "Microsoft Azure Functions NodeJS Framework", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
165
src/app.ts
@@ -6,6 +6,9 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
CosmosDBFunctionOptions, | ||
CosmosDBTrigger, | ||
EventGridFunctionOptions, | ||
EventHubFunctionOptions, | ||
ExponentialBackoffRetryOptions, | ||
FixedDelayRetryOptions, | ||
FunctionOptions, | ||
FunctionTrigger, | ||
GenericFunctionOptions, | ||
HttpFunctionOptions, | ||
@@ -25,2 +28,3 @@ HttpHandler, | ||
import { returnBindingKey, version } from './constants'; | ||
import { toRpcDuration } from './converters/toRpcDuration'; | ||
import * as output from './output'; | ||
@@ -74,2 +78,16 @@ import * as trigger from './trigger'; | ||
function convertToGenericOptions<T extends Omit<FunctionOptions, 'trigger'> & Partial<FunctionOptions>>( | ||
options: T, | ||
triggerMethod: (o: Omit<T, 'handler' | 'return' | 'trigger' | 'extraInputs' | 'extraOutputs'>) => FunctionTrigger | ||
): FunctionOptions { | ||
const { handler, return: ret, trigger, extraInputs, extraOutputs, ...triggerOptions } = options; | ||
return { | ||
trigger: trigger ?? triggerMethod(triggerOptions), | ||
return: ret, | ||
extraInputs, | ||
extraOutputs, | ||
handler, | ||
}; | ||
} | ||
export function get(name: string, optionsOrHandler: HttpMethodFunctionOptions | HttpHandler): void { | ||
@@ -97,143 +115,39 @@ http(name, convertToHttpOptions(optionsOrHandler, 'GET')); | ||
options.return ||= output.http({}); | ||
generic(name, { | ||
trigger: trigger.http({ | ||
authLevel: options.authLevel, | ||
methods: options.methods, | ||
route: options.route, | ||
}), | ||
...options, | ||
}); | ||
generic(name, convertToGenericOptions(options, trigger.http)); | ||
} | ||
export function timer(name: string, options: TimerFunctionOptions): void { | ||
generic(name, { | ||
trigger: trigger.timer({ | ||
schedule: options.schedule, | ||
runOnStartup: options.runOnStartup, | ||
useMonitor: options.useMonitor, | ||
}), | ||
...options, | ||
}); | ||
generic(name, convertToGenericOptions(options, trigger.timer)); | ||
} | ||
export function storageBlob(name: string, options: StorageBlobFunctionOptions): void { | ||
generic(name, { | ||
trigger: trigger.storageBlob({ | ||
connection: options.connection, | ||
path: options.path, | ||
}), | ||
...options, | ||
}); | ||
generic(name, convertToGenericOptions(options, trigger.storageBlob)); | ||
} | ||
export function storageQueue(name: string, options: StorageQueueFunctionOptions): void { | ||
generic(name, { | ||
trigger: trigger.storageQueue({ | ||
connection: options.connection, | ||
queueName: options.queueName, | ||
}), | ||
...options, | ||
}); | ||
generic(name, convertToGenericOptions(options, trigger.storageQueue)); | ||
} | ||
export function serviceBusQueue(name: string, options: ServiceBusQueueFunctionOptions): void { | ||
generic(name, { | ||
trigger: trigger.serviceBusQueue({ | ||
connection: options.connection, | ||
queueName: options.queueName, | ||
isSessionsEnabled: options.isSessionsEnabled, | ||
}), | ||
...options, | ||
}); | ||
generic(name, convertToGenericOptions(options, trigger.serviceBusQueue)); | ||
} | ||
export function serviceBusTopic(name: string, options: ServiceBusTopicFunctionOptions): void { | ||
generic(name, { | ||
trigger: trigger.serviceBusTopic({ | ||
connection: options.connection, | ||
topicName: options.topicName, | ||
subscriptionName: options.subscriptionName, | ||
isSessionsEnabled: options.isSessionsEnabled, | ||
}), | ||
...options, | ||
}); | ||
generic(name, convertToGenericOptions(options, trigger.serviceBusTopic)); | ||
} | ||
export function eventHub(name: string, options: EventHubFunctionOptions): void { | ||
generic(name, { | ||
trigger: trigger.eventHub({ | ||
connection: options.connection, | ||
eventHubName: options.eventHubName, | ||
cardinality: options.cardinality, | ||
consumerGroup: options.consumerGroup, | ||
}), | ||
...options, | ||
}); | ||
generic(name, convertToGenericOptions(options, trigger.eventHub)); | ||
} | ||
export function eventGrid(name: string, options: EventGridFunctionOptions): void { | ||
generic(name, { | ||
trigger: trigger.eventGrid({}), | ||
...options, | ||
}); | ||
generic(name, convertToGenericOptions(options, trigger.eventGrid)); | ||
} | ||
export function cosmosDB(name: string, options: CosmosDBFunctionOptions): void { | ||
let cosmosTrigger: CosmosDBTrigger; | ||
if ('connectionStringSetting' in options) { | ||
cosmosTrigger = trigger.cosmosDB({ | ||
checkpointDocumentCount: options.checkpointDocumentCount, | ||
checkpointInterval: options.checkpointInterval, | ||
collectionName: options.collectionName, | ||
connectionStringSetting: options.connectionStringSetting, | ||
createLeaseCollectionIfNotExists: options.createLeaseCollectionIfNotExists, | ||
databaseName: options.databaseName, | ||
feedPollDelay: options.feedPollDelay, | ||
id: options.id, | ||
leaseAcquireInterval: options.leaseAcquireInterval, | ||
leaseCollectionName: options.leaseCollectionName, | ||
leaseCollectionPrefix: options.leaseCollectionPrefix, | ||
leaseCollectionThroughput: options.leaseCollectionThroughput, | ||
leaseConnectionStringSetting: options.leaseConnectionStringSetting, | ||
leaseDatabaseName: options.leaseDatabaseName, | ||
leaseExpirationInterval: options.leaseExpirationInterval, | ||
leaseRenewInterval: options.leaseRenewInterval, | ||
maxItemsPerInvocation: options.maxItemsPerInvocation, | ||
partitionKey: options.partitionKey, | ||
preferredLocations: options.preferredLocations, | ||
sqlQuery: options.sqlQuery, | ||
startFromBeginning: options.startFromBeginning, | ||
useMultipleWriteLocations: options.useMultipleWriteLocations, | ||
}); | ||
} else { | ||
cosmosTrigger = trigger.cosmosDB({ | ||
connection: options.connection, | ||
containerName: options.containerName, | ||
createLeaseContainerIfNotExists: options.createLeaseContainerIfNotExists, | ||
databaseName: options.databaseName, | ||
feedPollDelay: options.feedPollDelay, | ||
id: options.id, | ||
leaseAcquireInterval: options.leaseAcquireInterval, | ||
leaseConnection: options.leaseConnection, | ||
leaseContainerName: options.leaseContainerName, | ||
leaseContainerPrefix: options.leaseContainerPrefix, | ||
leaseDatabaseName: options.leaseDatabaseName, | ||
leaseExpirationInterval: options.leaseExpirationInterval, | ||
leaseRenewInterval: options.leaseRenewInterval, | ||
leasesContainerThroughput: options.leasesContainerThroughput, | ||
maxItemsPerInvocation: options.maxItemsPerInvocation, | ||
partitionKey: options.partitionKey, | ||
preferredLocations: options.preferredLocations, | ||
sqlQuery: options.sqlQuery, | ||
startFromBeginning: options.startFromBeginning, | ||
startFromTime: options.startFromTime, | ||
}); | ||
} | ||
generic(name, { | ||
trigger: cosmosTrigger, | ||
...options, | ||
}); | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument | ||
generic(name, convertToGenericOptions(options, <any>trigger.cosmosDB)); | ||
} | ||
export function generic(name: string, options: FunctionOptions): void { | ||
export function generic(name: string, options: GenericFunctionOptions): void { | ||
if (!hasSetup) { | ||
@@ -278,2 +192,19 @@ setup(); | ||
let retryOptions: coreTypes.RpcRetryOptions | undefined; | ||
if (options.retry) { | ||
retryOptions = { | ||
...options.retry, | ||
retryStrategy: options.retry.strategy, | ||
delayInterval: toRpcDuration((<FixedDelayRetryOptions>options.retry).delayInterval, 'retry.delayInterval'), | ||
maximumInterval: toRpcDuration( | ||
(<ExponentialBackoffRetryOptions>options.retry).maximumInterval, | ||
'retry.maximumInterval' | ||
), | ||
minimumInterval: toRpcDuration( | ||
(<ExponentialBackoffRetryOptions>options.retry).minimumInterval, | ||
'retry.minimumInterval' | ||
), | ||
}; | ||
} | ||
const coreApi = tryGetCoreApiLazy(); | ||
@@ -285,4 +216,4 @@ if (!coreApi) { | ||
} else { | ||
coreApi.registerFunction({ name, bindings }, <FunctionCallback>options.handler); | ||
coreApi.registerFunction({ name, bindings, retryOptions }, <FunctionCallback>options.handler); | ||
} | ||
} |
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the MIT License. | ||
export const version = '4.0.0-alpha.11'; | ||
export const version = '4.0.0-alpha.12'; | ||
export const returnBindingKey = '$return'; |
@@ -6,2 +6,3 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
import { AzFuncSystemError } from '../errors'; | ||
import { isDefined } from '../utils/nonNull'; | ||
@@ -21,3 +22,3 @@ /** | ||
if (nullable != null) { | ||
if (isDefined(nullable)) { | ||
throw new AzFuncSystemError( | ||
@@ -54,3 +55,3 @@ `A 'boolean' type was expected instead of a '${typeof nullable}' type. Cannot parse value of '${propertyName}'.` | ||
if (nullable != null) { | ||
if (isDefined(nullable)) { | ||
throw new AzFuncSystemError( | ||
@@ -75,3 +76,3 @@ `A 'number' type was expected instead of a '${typeof nullable}' type. Cannot parse value of '${propertyName}'.` | ||
if (nullable != null) { | ||
if (isDefined(nullable)) { | ||
throw new AzFuncSystemError( | ||
@@ -98,3 +99,3 @@ `A 'string' type was expected instead of a '${typeof nullable}' type. Cannot parse value of '${propertyName}'.` | ||
if (nullable != null) { | ||
if (isDefined(nullable)) { | ||
throw new AzFuncSystemError( | ||
@@ -118,3 +119,3 @@ `A 'string' type was expected instead of a '${typeof nullable}' type. Cannot parse value of '${propertyName}'.` | ||
): RpcNullableTimestamp | undefined { | ||
if (dateTime != null) { | ||
if (isDefined(dateTime)) { | ||
try { | ||
@@ -121,0 +122,0 @@ const timeInMilliseconds = typeof dateTime === 'number' ? dateTime : dateTime.getTime(); |
@@ -7,4 +7,4 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
import { EventHubFunctionOptions } from './eventHub'; | ||
import { GenericFunctionOptions } from './generic'; | ||
import { HttpFunctionOptions, HttpHandler, HttpMethodFunctionOptions } from './http'; | ||
import { FunctionOptions } from './index'; | ||
import { ServiceBusQueueFunctionOptions, ServiceBusTopicFunctionOptions } from './serviceBus'; | ||
@@ -153,2 +153,2 @@ import { StorageBlobFunctionOptions, StorageQueueFunctionOptions } from './storage'; | ||
*/ | ||
export function generic(name: string, options: FunctionOptions): void; | ||
export function generic(name: string, options: GenericFunctionOptions): void; |
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the MIT License. | ||
import { FunctionInput, FunctionOptions, FunctionOutput, FunctionResult, FunctionTrigger } from './index'; | ||
import { FunctionInput, FunctionOptions, FunctionOutput, FunctionResult, FunctionTrigger, RetryOptions } from './index'; | ||
import { InvocationContext } from './InvocationContext'; | ||
@@ -13,2 +13,8 @@ | ||
trigger?: CosmosDBv3Trigger; | ||
/** | ||
* An optional retry policy to rerun a failed execution until either successful completion occurs or the maximum number of retries is reached. | ||
* Learn more [here](https://learn.microsoft.com/azure/azure-functions/functions-bindings-error-pages) | ||
*/ | ||
retry?: RetryOptions; | ||
} | ||
@@ -58,4 +64,19 @@ | ||
export interface CosmosDBv3TriggerOptions extends CosmosDBv3InputOptions { | ||
export interface CosmosDBv3TriggerOptions { | ||
/** | ||
* An app setting (or environment variable) with the Cosmos DB connection string | ||
*/ | ||
connectionStringSetting: string; | ||
/** | ||
* The name of the Azure Cosmos DB database with the collection being monitored | ||
*/ | ||
databaseName: string; | ||
/** | ||
* The name of the collection being monitored | ||
*/ | ||
collectionName: string; | ||
/** | ||
* The name of an app setting that contains the connection string to the service which holds the lease collection. | ||
@@ -142,2 +163,8 @@ * If not set it will connect to the service defined by `connectionStringSetting` | ||
/** | ||
* Defines preferred locations (regions) for geo-replicated database accounts in the Azure Cosmos DB service. | ||
* Values should be comma-separated. For example, East US,South Central US,North Europe | ||
*/ | ||
preferredLocations?: string; | ||
/** | ||
* Enables multi-region accounts for writing to the leases collection. | ||
@@ -144,0 +171,0 @@ */ |
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the MIT License. | ||
import { FunctionInput, FunctionOptions, FunctionOutput, FunctionResult, FunctionTrigger } from './index'; | ||
import { FunctionInput, FunctionOptions, FunctionOutput, FunctionResult, FunctionTrigger, RetryOptions } from './index'; | ||
import { InvocationContext } from './InvocationContext'; | ||
@@ -13,2 +13,8 @@ | ||
trigger?: CosmosDBv4Trigger; | ||
/** | ||
* An optional retry policy to rerun a failed execution until either successful completion occurs or the maximum number of retries is reached. | ||
* Learn more [here](https://learn.microsoft.com/azure/azure-functions/functions-bindings-error-pages) | ||
*/ | ||
retry?: RetryOptions; | ||
} | ||
@@ -58,4 +64,19 @@ | ||
export interface CosmosDBv4TriggerOptions extends CosmosDBv4InputOptions { | ||
export interface CosmosDBv4TriggerOptions { | ||
/** | ||
* An app setting (or environment variable) with the Cosmos DB connection string | ||
*/ | ||
connection: string; | ||
/** | ||
* The name of the Azure Cosmos DB database with the container being monitored | ||
*/ | ||
databaseName: string; | ||
/** | ||
* The name of the container being monitored | ||
*/ | ||
containerName: string; | ||
/** | ||
* The name of an app setting that contains the connection string to the service which holds the lease container. | ||
@@ -137,2 +158,8 @@ * If not set it will connect to the service defined by `connection` | ||
startFromTime?: string; | ||
/** | ||
* Defines preferred locations (regions) for geo-replicated database accounts in the Azure Cosmos DB service. | ||
* Values should be comma-separated. For example, East US,South Central US,North Europe | ||
*/ | ||
preferredLocations?: string; | ||
} | ||
@@ -139,0 +166,0 @@ export type CosmosDBv4Trigger = FunctionTrigger & CosmosDBv4TriggerOptions; |
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the MIT License. | ||
import { FunctionOptions, FunctionOutput, FunctionResult, FunctionTrigger } from './index'; | ||
import { FunctionOptions, FunctionOutput, FunctionResult, FunctionTrigger, RetryOptions } from './index'; | ||
import { InvocationContext } from './InvocationContext'; | ||
@@ -13,2 +13,8 @@ | ||
trigger?: EventHubTrigger; | ||
/** | ||
* An optional retry policy to rerun a failed execution until either successful completion occurs or the maximum number of retries is reached. | ||
* Learn more [here](https://learn.microsoft.com/azure/azure-functions/functions-bindings-error-pages) | ||
*/ | ||
retry?: RetryOptions; | ||
} | ||
@@ -15,0 +21,0 @@ |
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the MIT License. | ||
import { FunctionOptions, RetryOptions } from './index'; | ||
export interface GenericFunctionOptions extends FunctionOptions { | ||
/** | ||
* An optional retry policy to rerun a failed execution until either successful completion occurs or the maximum number of retries is reached. | ||
* Learn more [here](https://learn.microsoft.com/azure/azure-functions/functions-bindings-error-pages) | ||
*/ | ||
retry?: RetryOptions; | ||
} | ||
export interface GenericTriggerOptions extends Record<string, unknown> { | ||
@@ -5,0 +15,0 @@ type: string; |
@@ -115,1 +115,54 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
} | ||
export type RetryOptions = FixedDelayRetryOptions | ExponentialBackoffRetryOptions; | ||
export interface FixedDelayRetryOptions { | ||
/** | ||
* A specified amount of time is allowed to elapse between each retry. | ||
*/ | ||
strategy: 'fixedDelay'; | ||
/** | ||
* The maximum number of retries allowed per function execution. -1 means to retry indefinitely. | ||
*/ | ||
maxRetryCount: number; | ||
/** | ||
* The delay that's used between retries. | ||
* This can be a number in milliseconds or a Duration object | ||
*/ | ||
delayInterval: Duration | number; | ||
} | ||
export interface ExponentialBackoffRetryOptions { | ||
/** | ||
* The first retry waits for the minimum delay. On subsequent retries, time is added exponentially to | ||
* the initial duration for each retry, until the maximum delay is reached. Exponential back-off adds | ||
* some small randomization to delays to stagger retries in high-throughput scenarios. | ||
*/ | ||
strategy: 'exponentialBackoff'; | ||
/** | ||
* The maximum number of retries allowed per function execution. -1 means to retry indefinitely. | ||
*/ | ||
maxRetryCount: number; | ||
/** | ||
* The minimum retry delay. | ||
* This can be a number in milliseconds, or a Duration object | ||
*/ | ||
minimumInterval: Duration | number; | ||
/** | ||
* The maximum retry delay. | ||
* This can be a number in milliseconds, or a Duration object | ||
*/ | ||
maximumInterval: Duration | number; | ||
} | ||
export interface Duration { | ||
hours?: number; | ||
minutes?: number; | ||
seconds?: number; | ||
milliseconds?: number; | ||
} |
@@ -115,3 +115,3 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
*/ | ||
get(input: CosmosDBInput): unknown[]; | ||
get(input: CosmosDBInput): unknown; | ||
@@ -160,5 +160,5 @@ /** | ||
* @output the configuration object for this Cosmos DB output | ||
* @documents the output documents value | ||
* @documents the output document(s) value | ||
*/ | ||
set(output: CosmosDBOutput, documents: unknown[]): void; | ||
set(output: CosmosDBOutput, documents: unknown): void; | ||
@@ -168,5 +168,5 @@ /** | ||
* @output the configuration object for this Service Bus output | ||
* @message the output message value | ||
* @message the output message(s) value | ||
*/ | ||
set(output: ServiceBusQueueOutput, message: unknown): void; | ||
set(output: ServiceBusQueueOutput, messages: unknown): void; | ||
@@ -176,5 +176,5 @@ /** | ||
* @output the configuration object for this Service Bus output | ||
* @message the output message value | ||
* @message the output message(s) value | ||
*/ | ||
set(output: ServiceBusTopicOutput, message: unknown): void; | ||
set(output: ServiceBusTopicOutput, messages: unknown): void; | ||
@@ -184,3 +184,3 @@ /** | ||
* @output the configuration object for this EventHub output | ||
* @message the output messages value | ||
* @message the output message(s) value | ||
*/ | ||
@@ -187,0 +187,0 @@ set(output: EventHubOutput, messages: unknown): void; |
@@ -7,3 +7,3 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
export type ServiceBusQueueHandler = (message: unknown, context: InvocationContext) => FunctionResult; | ||
export type ServiceBusQueueHandler = (messages: unknown, context: InvocationContext) => FunctionResult; | ||
@@ -31,2 +31,7 @@ export interface ServiceBusQueueFunctionOptions extends ServiceBusQueueTriggerOptions, Partial<FunctionOptions> { | ||
isSessionsEnabled?: boolean; | ||
/** | ||
* Set to `many` in order to enable batching. If omitted or set to `one`, a single message is passed to the function. | ||
*/ | ||
cardinality?: 'many' | 'one'; | ||
} | ||
@@ -76,2 +81,7 @@ export type ServiceBusQueueTrigger = FunctionTrigger & ServiceBusQueueTriggerOptions; | ||
isSessionsEnabled?: boolean; | ||
/** | ||
* Set to `many` in order to enable batching. If omitted or set to `one`, a single message is passed to the function. | ||
*/ | ||
cardinality?: 'many' | 'one'; | ||
} | ||
@@ -78,0 +88,0 @@ export type ServiceBusTopicTrigger = FunctionTrigger & ServiceBusTopicTriggerOptions; |
@@ -46,3 +46,10 @@ // Copyright (c) .NET Foundation. All rights reserved. | ||
export type StorageBlobTriggerOptions = StorageBlobOptions; | ||
export interface StorageBlobTriggerOptions extends StorageBlobOptions { | ||
/** | ||
* The source of the triggering event. | ||
* Use `EventGrid` for an Event Grid-based blob trigger, which provides much lower latency. | ||
* The default is `LogsAndContainerScan`, which uses the standard polling mechanism to detect changes in the container. | ||
*/ | ||
source?: 'EventGrid' | 'LogsAndContainerScan'; | ||
} | ||
export type StorageBlobTrigger = FunctionTrigger & StorageBlobTriggerOptions; | ||
@@ -49,0 +56,0 @@ |
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the MIT License. | ||
import { FunctionOptions, FunctionResult, FunctionTrigger } from './index'; | ||
import { FunctionOptions, FunctionResult, FunctionTrigger, RetryOptions } from './index'; | ||
import { InvocationContext } from './InvocationContext'; | ||
@@ -13,2 +13,8 @@ | ||
trigger?: TimerTrigger; | ||
/** | ||
* An optional retry policy to rerun a failed execution until either successful completion occurs or the maximum number of retries is reached. | ||
* Learn more [here](https://learn.microsoft.com/azure/azure-functions/functions-bindings-error-pages) | ||
*/ | ||
retry?: RetryOptions; | ||
} | ||
@@ -15,0 +21,0 @@ |
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 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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
511035
58
6188
1