From 987252ab5422eab715eb941767ab2a3fb90ab59a Mon Sep 17 00:00:00 2001 From: Quentin Aubert Date: Thu, 7 Sep 2023 10:54:42 +0200 Subject: [PATCH] FIX cypress dump --- daikoku/javascript/cypress/cypress-test-export.ndjson | 11 ++++++++--- .../src/components/frontend/api/ApiPricing.tsx | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/daikoku/javascript/cypress/cypress-test-export.ndjson b/daikoku/javascript/cypress/cypress-test-export.ndjson index 07731077..5c8933f8 100644 --- a/daikoku/javascript/cypress/cypress-test-export.ndjson +++ b/daikoku/javascript/cypress/cypress-test-export.ndjson @@ -22,9 +22,14 @@ {"type":"teams","payload":{"_id":"5ffd5f7e260100461a3cc845","name":"Consumers","type":"Organization","users":[{"userId":"mom9ff7opam5nv576rpo98n9sqpxag5l","teamPermission":"Administrator"}],"avatar":"https://www.gravatar.com/avatar/4456b5af662a51b8d3895093bb5dbeff?size=128&d=robohash","_tenant":"default","contact":"consumers@foo.bar","_deleted":false,"metadata":{},"verified":true,"description":"A new team to consume APIs","_humanReadableId":"consumers","apiKeyVisibility":"User","apisCreationPermission":null,"authorizedOtoroshiGroups":[]}} {"type":"teams","payload":{"_id":"600fdfb32c0100f3 3b3412ff","name":"User","type":"Personal","users":[{"userId":"7cxa2bvog4k8e8d3uswmwnf90w9x8nea","teamPermission":"Administrator"}],"avatar":"/assets/images/anonymous.jpg","_tenant":"default","contact":"user@foo.bar","_deleted":false,"metadata":{},"verified":true,"description":"The personal team of User","_humanReadableId":"user","apiKeyVisibility":null,"apisCreationPermission":null,"authorizedOtoroshiGroups":[]}} {"type":"apis","payload":{"_id":"5ffd5e4d260100461a3ccqsds","apis":null,"name":"public with permissions API","tags":["test"],"team":"5ffd5d30260100461a3cc730","image":null,"posts":[],"stars":0,"state":"published","header":null,"issues":[],"parent":null,"_tenant":"default","swagger":{"url":"/assets/swaggers/petstore.json","content":null,"headers":{}},"testing":{"auth":"Basic","name":"test auth","config":null,"enabled":true,"password":"client-secret","username":"client-id"},"_deleted":false,"isDefault":true,"categories":["internal"],"issuesTags":[],"lastUpdate":1610440269091,"visibility":"PublicWithAuthorizations","description":"# Title\n\n## subtitle\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus gravida convallis leo et aliquet. Aenean venenatis, elit et dignissim scelerisque, urna dui mollis nunc, id eleifend velit sem et ante. Quisque pharetra sed tellus id finibus. In quis porta libero. Nunc egestas eros elementum lacinia blandit. Donec nisi lacus, tristique vel blandit in, sodales eget lacus. Phasellus ultrices magna vel odio vestibulum, a rhoncus nunc ornare. Sed laoreet finibus arcu vitae aliquam. Aliquam quis ex dui.","documentation":{"_id":"5ffd5e4d260100461a3cc7b7","pages":[],"_tenant":"default","lastModificationAt":1610440269091},"currentVersion":"1.0.0","authorizedTeams":[],"_humanReadableId":"public-with-permissions-api","defaultUsagePlan":"default","smallDescription":"A test API for test public with authorizations access","supportedVersions":["1.0.0"],"possibleUsagePlans":[]}} -{"type":"apis","payload":{"_id":"admin-api-tenant-default","apis":null,"name":"admin-api-tenant-default","tags":["Administration"],"team":"0k7D3RIkcDwsZJQ36ml6A6qjC1PdeiY4U0pBRQDX3uyBsdkYJYdDaBc0E1YnKQFC","image":null,"posts":[],"stars":0,"state":"published","header":null,"issues":[],"parent":null,"_tenant":"default","swagger":null,"testing":{"auth":"Basic","name":null,"config":null,"enabled":false,"password":null,"username":null},"_deleted":false,"isDefault":true,"categories":[],"issuesTags":[],"lastUpdate":1610439860223,"visibility":"AdminOnly","description":"admin api","documentation":{"_id":"5ffd5cb4260100461a3cc6b6","pages":[],"_tenant":"default","lastModificationAt":1610439860223},"currentVersion":"1.0.0","authorizedTeams":[],"_humanReadableId":"admin-api-tenant-default","defaultUsagePlan":"1","smallDescription":"admin api","supportedVersions":["1.0.0"],"possibleUsagePlans":[{"_id":"admin","type":"Admin","customName":"Administration plan","otoroshiTarget":null,"allowMultipleKeys":true,"customDescription":"access to admin api","aggregationApiKeysSecurity":false}]}} -{"type":"apis","payload":{"_id":"5ffd5e4d260100461a3cc7b6","apis":null,"name":"test API","tags":["test"],"team":"5ffd5d30260100461a3cc730","image":null,"posts":[],"stars":0,"state":"published","header":null,"issues":[],"parent":null,"_tenant":"default","swagger":{"url":"/assets/swaggers/petstore.json","content":null,"headers":{}},"testing":{"auth":"Basic","name":"test auth","config":null,"enabled":true,"password":"client-secret","username":"client-id"},"_deleted":false,"isDefault":false,"categories":["internal"],"issuesTags":[],"lastUpdate":1610440269091,"visibility":"Public","description":"# Title\n\n## subtitle\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus gravida convallis leo et aliquet. Aenean venenatis, elit et dignissim scelerisque, urna dui mollis nunc, id eleifend velit sem et ante. Quisque pharetra sed tellus id finibus. In quis porta libero. Nunc egestas eros elementum lacinia blandit. Donec nisi lacus, tristique vel blandit in, sodales eget lacus. Phasellus ultrices magna vel odio vestibulum, a rhoncus nunc ornare. Sed laoreet finibus arcu vitae aliquam. Aliquam quis ex dui.","documentation":{"_id":"5ffd5e4d260100461a3cc7b7","pages":[{"id":"fjbxdprhtd12f3u91gejepx21vkppatg","title":"Introduction","children":[]}],"_tenant":"default","lastModificationAt":1610440269091},"currentVersion":"1.0.0","authorizedTeams":[],"_humanReadableId":"test-api","defaultUsagePlan":"default","smallDescription":"A test API for test","supportedVersions":["1.0.0"],"possibleUsagePlans":[{"_id":"lhsc79x9s0p4drv8j3ebapwrbnqhu1nh","type":"FreeWithQuotas","currency":{"code":"EUR"},"maxPerDay":1000,"customName":"not test plan","visibility":"Public","maxPerMonth":1000,"autoRotation":false,"maxPerSecond":10,"otoroshiTarget":{"otoroshiSettings":"default","authorizedEntities":{"groups":[],"routes":["s_123456"],"services":[]},"apikeyCustomization":{"tags":[],"metadata":{},"readOnly":false,"clientIdOnly":false,"restrictions":{"allowed":[],"enabled":false,"notFound":[],"allowLast":true,"forbidden":[]},"customMetadata":[],"constrainedServicesOnly":false}},"authorizedTeams":[],"billingDuration":{"unit":"Month","value":1},"allowMultipleKeys":false,"customDescription":"fake prod plan (^_-)","integrationProcess":"ApiKey","subscriptionProcess":[],"aggregationApiKeysSecurity":null},{"_id":"default","type":"FreeWithQuotas","currency":{"code":"EUR"},"maxPerDay":500,"customName":"test plan","visibility":"Public","maxPerMonth":10000,"autoRotation":false,"maxPerSecond":10,"otoroshiTarget":{"otoroshiSettings":"default","authorizedEntities":{"groups":[],"routes":["s_123456"],"services":[]},"apikeyCustomization":{"tags":[],"metadata":{},"readOnly":false,"clientIdOnly":false,"restrictions":{"allowed":[],"enabled":false,"notFound":[],"allowLast":true,"forbidden":[]},"customMetadata":[],"constrainedServicesOnly":false}},"authorizedTeams":[],"billingDuration":{"unit":"Month","value":1},"allowMultipleKeys":false,"customDescription":"Free plan with limited number of calls per day and per month","integrationProcess":"ApiKey","subscriptionProcess":[],"aggregationApiKeysSecurity":null}]}} -{"type":"apis","payload":{"_id":"5ffd5e4d260100461a3cc7b8","apis":null,"name":"test API","tags":["test"],"team":"5ffd5d30260100461a3cc730","image":null,"posts":[],"stars":0,"state":"published","header":null,"issues":[],"parent":"5ffd5e4d260100461a3cc7b6","_tenant":"default","swagger":{"url":"/assets/swaggers/petstore.json","content":null,"headers":{}},"testing":{"auth":"Basic","name":"test auth","config":null,"enabled":true,"password":"client-secret","username":"client-id"},"_deleted":false,"isDefault":true,"categories":["internal"],"issuesTags":[],"lastUpdate":1610440269091,"visibility":"Public","description":"# Title\n\n## subtitle\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus gravida convallis leo et aliquet. Aenean venenatis, elit et dignissim scelerisque, urna dui mollis nunc, id eleifend velit sem et ante. Quisque pharetra sed tellus id finibus. In quis porta libero. Nunc egestas eros elementum lacinia blandit. Donec nisi lacus, tristique vel blandit in, sodales eget lacus. Phasellus ultrices magna vel odio vestibulum, a rhoncus nunc ornare. Sed laoreet finibus arcu vitae aliquam. Aliquam quis ex dui.","documentation":{"_id":"5ffd5e4d260100461a3cc7b7","pages":[],"_tenant":"default","lastModificationAt":1610440269091},"currentVersion":"2.0.0","authorizedTeams":[],"_humanReadableId":"test-api","defaultUsagePlan":"default","smallDescription":"A test API for test","supportedVersions":["1.0.0"],"possibleUsagePlans":[{"_id":"default","type":"FreeWithQuotas","currency":{"code":"EUR"},"maxPerDay":500,"customName":"test plan","visibility":"Public","maxPerMonth":10000,"autoRotation":false,"maxPerSecond":10,"otoroshiTarget":{"otoroshiSettings":"default","authorizedEntities":{"groups":[],"routes":[],"services":[]},"apikeyCustomization":{"tags":[],"metadata":{},"readOnly":false,"clientIdOnly":false,"restrictions":{"allowed":[],"enabled":false,"notFound":[],"allowLast":true,"forbidden":[]},"customMetadata":[],"constrainedServicesOnly":false}},"authorizedTeams":[],"billingDuration":{"unit":"Month","value":1},"allowMultipleKeys":false,"customDescription":"Free plan with limited number of calls per day and per month","integrationProcess":"ApiKey","subscriptionProcess":[],"aggregationApiKeysSecurity":null},{"_id":"lhsc79x9s0p4drv8j3ebapwrbnqhu1nh","type":"FreeWithQuotas","currency":{"code":"EUR"},"maxPerDay":1000,"customName":"not test plan","visibility":"Public","maxPerMonth":1000,"autoRotation":false,"maxPerSecond":10,"otoroshiTarget":{"otoroshiSettings":"default","authorizedEntities":{"groups":[],"routes":[],"services":[]},"apikeyCustomization":{"tags":[],"metadata":{},"readOnly":false,"clientIdOnly":false,"restrictions":{"allowed":[],"enabled":false,"notFound":[],"allowLast":true,"forbidden":[]},"customMetadata":[],"constrainedServicesOnly":false}},"authorizedTeams":[],"billingDuration":{"unit":"Month","value":1},"allowMultipleKeys":false,"customDescription":"fake prod plan (^_-)","integrationProcess":"ApiKey","subscriptionProcess":[],"aggregationApiKeysSecurity":null}]}} +{"type":"apis","payload":{"_id":"admin-api-tenant-default","apis":null,"name":"admin-api-tenant-default","tags":["Administration"],"team":"0k7D3RIkcDwsZJQ36ml6A6qjC1PdeiY4U0pBRQDX3uyBsdkYJYdDaBc0E1YnKQFC","image":null,"posts":[],"stars":0,"state":"published","header":null,"issues":[],"parent":null,"_tenant":"default","swagger":null,"testing":{"auth":"Basic","name":null,"config":null,"enabled":false,"password":null,"username":null},"_deleted":false,"isDefault":true,"categories":[],"issuesTags":[],"lastUpdate":1610439860223,"visibility":"AdminOnly","description":"admin api","documentation":{"_id":"5ffd5cb4260100461a3cc6b6","pages":[],"_tenant":"default","lastModificationAt":1610439860223},"currentVersion":"1.0.0","authorizedTeams":[],"_humanReadableId":"admin-api-tenant-default","defaultUsagePlan":"1","smallDescription":"admin api","supportedVersions":["1.0.0"],"possibleUsagePlans":["admin"]}} +{"type":"usage_plans","payload":{"_id":"admin","type":"Admin","_tenant":"default","_deleted":false,"customName":"Administration plan","otoroshiTarget":null,"allowMultipleKeys":true,"customDescription":"access to admin api","aggregationApiKeysSecurity":false}} +{"type":"apis","payload":{"_id":"5ffd5e4d260100461a3cc7b6","apis":null,"name":"test API","tags":["test"],"team":"5ffd5d30260100461a3cc730","image":null,"posts":[],"stars":0,"state":"published","header":null,"issues":[],"parent":null,"_tenant":"default","swagger":{"url":"/assets/swaggers/petstore.json","content":null,"headers":{}},"testing":{"auth":"Basic","name":"test auth","config":null,"enabled":true,"password":"client-secret","username":"client-id"},"_deleted":false,"isDefault":false,"categories":["internal"],"issuesTags":[],"lastUpdate":1610440269091,"visibility":"Public","description":"# Title\n\n## subtitle\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus gravida convallis leo et aliquet. Aenean venenatis, elit et dignissim scelerisque, urna dui mollis nunc, id eleifend velit sem et ante. Quisque pharetra sed tellus id finibus. In quis porta libero. Nunc egestas eros elementum lacinia blandit. Donec nisi lacus, tristique vel blandit in, sodales eget lacus. Phasellus ultrices magna vel odio vestibulum, a rhoncus nunc ornare. Sed laoreet finibus arcu vitae aliquam. Aliquam quis ex dui.","documentation":{"_id":"5ffd5e4d260100461a3cc7b7","pages":[{"id":"fjbxdprhtd12f3u91gejepx21vkppatg","title":"Introduction","children":[]}],"_tenant":"default","lastModificationAt":1610440269091},"currentVersion":"1.0.0","authorizedTeams":[],"_humanReadableId":"test-api","defaultUsagePlan":"default","smallDescription":"A test API for test","supportedVersions":["1.0.0"],"possibleUsagePlans":["lhsc79x9s0p4drv8j3ebapwrbnqhu1nh", "lhsc79x9s0p4drv8j3ebapwrbnqhu1nq"]}} +{"type":"usage_plans","payload": {"_id":"lhsc79x9s0p4drv8j3ebapwrbnqhu1nh","_tenant":"default","_deleted":false,"type":"FreeWithQuotas","currency":{"code":"EUR"},"maxPerDay":1000,"customName":"not test plan","visibility":"Public","maxPerMonth":1000,"autoRotation":false,"maxPerSecond":10,"otoroshiTarget":{"otoroshiSettings":"default","authorizedEntities":{"groups":[],"routes":["s_123456"],"services":[]},"apikeyCustomization":{"tags":[],"metadata":{},"readOnly":false,"clientIdOnly":false,"restrictions":{"allowed":[],"enabled":false,"notFound":[],"allowLast":true,"forbidden":[]},"customMetadata":[],"constrainedServicesOnly":false}},"authorizedTeams":[],"billingDuration":{"unit":"Month","value":1},"allowMultipleKeys":false,"customDescription":"fake prod plan (^_-)","integrationProcess":"ApiKey","subscriptionProcess":[],"aggregationApiKeysSecurity":null}} +{"type":"usage_plans","payload": {"_id":"lhsc79x9s0p4drv8j3ebapwrbnqhu1nq","_tenant":"default","_deleted":false,"type":"FreeWithQuotas","currency":{"code":"EUR"},"maxPerDay":500,"customName":"test plan","visibility":"Public","maxPerMonth":10000,"autoRotation":false,"maxPerSecond":10,"otoroshiTarget":{"otoroshiSettings":"default","authorizedEntities":{"groups":[],"routes":["s_123456"],"services":[]},"apikeyCustomization":{"tags":[],"metadata":{},"readOnly":false,"clientIdOnly":false,"restrictions":{"allowed":[],"enabled":false,"notFound":[],"allowLast":true,"forbidden":[]},"customMetadata":[],"constrainedServicesOnly":false}},"authorizedTeams":[],"billingDuration":{"unit":"Month","value":1},"allowMultipleKeys":false,"customDescription":"Free plan with limited number of calls per day and per month","integrationProcess":"ApiKey","subscriptionProcess":[],"aggregationApiKeysSecurity":null}} +{"type":"apis","payload": {"_id":"5ffd5e4d260100461a3cc7b8","apis":null,"name":"test API","tags":["test"],"team":"5ffd5d30260100461a3cc730","image":null,"posts":[],"stars":0,"state":"published","header":null,"issues":[],"parent":"5ffd5e4d260100461a3cc7b6","_tenant":"default","swagger":{"url":"/assets/swaggers/petstore.json","content":null,"headers":{}},"testing":{"auth":"Basic","name":"test auth","config":null,"enabled":true,"password":"client-secret","username":"client-id"},"_deleted":false,"isDefault":true,"categories":["internal"],"issuesTags":[],"lastUpdate":1610440269091,"visibility":"Public","description":"# Title\n\n## subtitle\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus gravida convallis leo et aliquet. Aenean venenatis, elit et dignissim scelerisque, urna dui mollis nunc, id eleifend velit sem et ante. Quisque pharetra sed tellus id finibus. In quis porta libero. Nunc egestas eros elementum lacinia blandit. Donec nisi lacus, tristique vel blandit in, sodales eget lacus. Phasellus ultrices magna vel odio vestibulum, a rhoncus nunc ornare. Sed laoreet finibus arcu vitae aliquam. Aliquam quis ex dui.","documentation":{"_id":"5ffd5e4d260100461a3cc7b7","pages":[],"_tenant":"default","lastModificationAt":1610440269091},"currentVersion":"2.0.0","authorizedTeams":[],"_humanReadableId":"test-api","defaultUsagePlan":"default","smallDescription":"A test API for test","supportedVersions":["1.0.0"],"possibleUsagePlans":["mom9ff7opam5nv576rpo98n9sqpxagoo", "lhsc79x9s0p4drv8j3ebapwrbnqhu1oo"]}} +{"type":"usage_plans", "payload": {"_id":"mom9ff7opam5nv576rpo98n9sqpxagoo","_tenant":"default","_deleted":false,"type":"FreeWithQuotas","currency":{"code":"EUR"},"maxPerDay":500,"customName":"test plan","visibility":"Public","maxPerMonth":10000,"autoRotation":false,"maxPerSecond":10,"otoroshiTarget":{"otoroshiSettings":"default","authorizedEntities":{"groups":[],"routes":[],"services":[]},"apikeyCustomization":{"tags":[],"metadata":{},"readOnly":false,"clientIdOnly":false,"restrictions":{"allowed":[],"enabled":false,"notFound":[],"allowLast":true,"forbidden":[]},"customMetadata":[],"constrainedServicesOnly":false}},"authorizedTeams":[],"billingDuration":{"unit":"Month","value":1},"allowMultipleKeys":false,"customDescription":"Free plan with limited number of calls per day and per month","integrationProcess":"ApiKey","subscriptionProcess":[],"aggregationApiKeysSecurity":null}} +{"type":"usage_plans", "payload": {"_id":"lhsc79x9s0p4drv8j3ebapwrbnqhu1oo","_tenant":"default","_deleted":false,"type":"FreeWithQuotas","currency":{"code":"EUR"},"maxPerDay":1000,"customName":"not test plan","visibility":"Public","maxPerMonth":1000,"autoRotation":false,"maxPerSecond":10,"otoroshiTarget":{"otoroshiSettings":"default","authorizedEntities":{"groups":[],"routes":[],"services":[]},"apikeyCustomization":{"tags":[],"metadata":{},"readOnly":false,"clientIdOnly":false,"restrictions":{"allowed":[],"enabled":false,"notFound":[],"allowLast":true,"forbidden":[]},"customMetadata":[],"constrainedServicesOnly":false}},"authorizedTeams":[],"billingDuration":{"unit":"Month","value":1},"allowMultipleKeys":false,"customDescription":"fake prod plan (^_-)","integrationProcess":"ApiKey","subscriptionProcess":[],"aggregationApiKeysSecurity":null}} {"type":"api_subscriptions","payload":{"by":"mom9ff7opam5nv576rpo98n9sqpxag5l","_id":"5ffda7182f010014e747f8ff","api":"5ffd5e4d260100461a3cc7b6","plan":"lhsc79x9s0p4drv8j3ebapwrbnqhu1nh","tags":[],"team":"5ffd5d30260100461a3cc730","apiKey":{"clientId":"8YDhS4iph27bvPMgqGw6MyRnf4PcaT55","clientName":"daikoku-api-key-test-api-not-test-plan-testers-1610458904204","clientSecret":"yiWMRWxA3jXP7Rgr6UwwRsdEYC0bjg5ucXDKBiy5iazpdclOmKfpM47NejntHxbS"},"parent":null,"_tenant":"default","enabled":true,"_deleted":false,"metadata":{},"rotation":{"enabled":false,"gracePeriod":168,"rotationEvery":744,"pendingRotation":false},"createdAt":1610458904204,"customName":null,"customMetadata":null,"customReadOnly":null,"customMaxPerDay":null,"integrationToken":"JsSrH8UUvKkeMpI9yN6kRJdQwWDJTAsf6LeoS8lrLY0kCPsIIolojOHFEpjIYIPb","customMaxPerMonth":null,"customMaxPerSecond":null,"thirdPartySubscriptionInformations":null}} {"type":"api_subscriptions","payload":{"by":"SR9OKNdEcz1CZwe8WEMB6QYvFQPGfDTs6RXHDGYMCIva0SjEA11EOpmbMzYvBrQL","_id":"5ffd5faf260100461a3cc870","api":"5ffd5e4d260100461a3cc7b6","plan":"lhsc79x9s0p4drv8j3ebapwrbnqhu1nh","tags":[],"team":"5ffd5f7e260100461a3cc845","apiKey":{"clientId":"KN25jHI9jDMCP0xvhmvIM4dKDK7LxuSw","clientName":"daikoku-api-key-test-api-not-test-plan-consumers-1610440623012","clientSecret":"Fn5tUh6CgLgSaEJYX7QRZD2XeVPNm06s9aqJFiXHfErpBDyEQr1ezdH47MZ9iRVM"},"parent":null,"_tenant":"default","enabled":true,"_deleted":false,"metadata":{},"rotation":{"enabled":false,"gracePeriod":168,"rotationEvery":744,"pendingRotation":false},"createdAt":1610440623012,"customName":null,"customMetadata":null,"customReadOnly":null,"customMaxPerDay":null,"integrationToken":"FbpezJzgj2DnD7s3LUsSI4GPig6gtGHKuk5aSMjp7KGQxpLn0tUahkWCsUR0c9Gy","customMaxPerMonth":null,"customMaxPerSecond":null,"thirdPartySubscriptionInformations":null}} {"type":"api_documentation_pages","payload":{"_id":"fjbxdprhtd12f3u91gejepx21vkppatg","title":"Introduction","_tenant":"default","content":"# Introduction\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus gravida convallis leo et aliquet. Aenean venenatis, elit et dignissim scelerisque, urna dui mollis nunc, id eleifend velit sem et ante. Quisque pharetra sed tellus id finibus. In quis porta libero. Nunc egestas eros elementum lacinia blandit. Donec nisi lacus, tristique vel blandit in, sodales eget lacus. Phasellus ultrices magna vel odio vestibulum, a rhoncus nunc ornare. Sed laoreet finibus arcu vitae aliquam. Aliquam quis ex dui.\n\nCras ut ultrices quam. Nulla eu purus sed turpis consequat sodales. Aenean vitae efficitur velit, vel accumsan felis. Curabitur aliquam odio dictum urna convallis faucibus. Vivamus eu dignissim lorem. Donec sed hendrerit massa. Suspendisse volutpat, nisi at fringilla consequat, eros lacus aliquam metus, eu convallis nulla mauris quis lacus. Aliquam ultricies, mi eget feugiat vestibulum, enim nunc eleifend nisi, nec tincidunt turpis elit id diam. Nunc placerat accumsan tincidunt. Nulla ut interdum dui. Praesent venenatis cursus aliquet. Nunc pretium rutrum felis nec pharetra.\n\nVivamus sapien ligula, hendrerit a libero vitae, convallis maximus massa. Praesent ante leo, fermentum vitae libero finibus, blandit porttitor risus. Nulla ac hendrerit turpis. Sed varius velit at libero feugiat luctus. Nunc rhoncus sem dolor, nec euismod justo rhoncus vitae. Vivamus finibus nulla a purus vestibulum sagittis. Maecenas maximus orci at est lobortis, nec facilisis erat rhoncus. Sed tempus leo et est dictum lobortis. Vestibulum rhoncus, nisl ut porta sollicitudin, arcu urna egestas arcu, eget efficitur neque ipsum ut felis. Ut commodo purus quis turpis tempus tincidunt. Donec id hendrerit eros. Vestibulum vitae justo consectetur, egestas nisi ac, eleifend odio.\n\nDonec id mi cursus, volutpat dolor sed, bibendum sapien. Etiam vitae mauris sit amet urna semper tempus vel non metus. Integer sed ligula diam. Aenean molestie ultrices libero eget suscipit. Phasellus maximus euismod eros ut scelerisque. Ut quis tempus metus. Sed mollis volutpat velit eget pellentesque. Integer hendrerit ultricies massa eu tincidunt. Quisque at cursus augue. Sed diam odio, molestie sed dictum eget, efficitur nec nulla. Nullam vulputate posuere nunc nec laoreet. Integer varius sed erat vitae cursus. Vivamus auctor augue enim, a fringilla mauris molestie eget.\n\nProin vehicula ligula vel enim euismod, sed congue mi egestas. Nullam varius ut felis eu fringilla. Quisque sodales tortor nec justo tristique, sit amet consequat mi tincidunt. Suspendisse porttitor laoreet velit, non gravida nibh cursus at. Pellentesque faucibus, tellus in dapibus viverra, dolor mi dignissim tortor, id convallis ipsum lorem id nisl. Sed id nisi felis. Aliquam in ullamcorper ipsum, vel consequat magna. Donec nec mollis lacus, a euismod elit.","_deleted":false,"contentType":"text/markdown","_humanReadableId":"fjbxdprhtd12f3u91gejepx21vkppatg","remoteContentUrl":null,"lastModificationAt":1610440383046,"remoteContentEnabled":false,"remoteContentHeaders":{}}} diff --git a/daikoku/javascript/src/components/frontend/api/ApiPricing.tsx b/daikoku/javascript/src/components/frontend/api/ApiPricing.tsx index d7d2637c..75954a59 100644 --- a/daikoku/javascript/src/components/frontend/api/ApiPricing.tsx +++ b/daikoku/javascript/src/components/frontend/api/ApiPricing.tsx @@ -3,9 +3,9 @@ import { useQuery } from '@tanstack/react-query'; import classNames from 'classnames'; import difference from 'lodash/difference'; import find from 'lodash/find'; -import React, { useContext, useEffect, useState } from 'react'; +import React, { useContext, useEffect } from 'react'; import { useSelector } from 'react-redux'; -import { Link, useMatch, useNavigate, useParams, useSearchParams } from 'react-router-dom'; +import { Link, useMatch, useNavigate } from 'react-router-dom'; import { ModalContext } from '../../../contexts'; import { I18nContext } from '../../../core';