polarsource / polar

Polar is the best funding & monetization platform for developers. From first donation to IPO.
https://polar.sh
Apache License 2.0
1.57k stars 53 forks source link

Docs: improve OAuth2 endpoints reference #3621

Closed frankie567 closed 1 month ago

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
polar 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jul 9, 2024 1:13pm
polar-next-js-example 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jul 9, 2024 1:13pm
github-actions[bot] commented 1 month ago

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 224.12 KB (-1 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Ninety-eight Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/layout 56.48 KB 280.6 KB 80.17% (🟡 +0.04%)
/maintainer/page 445.25 KB 669.38 KB 191.25% (🟡 +0.15%)
/login/page 67.71 KB 291.84 KB 83.38% (🟡 +0.03%)
/signup/maintainer/page 37.31 KB 261.44 KB 74.70% (🟡 +0.02%)
/(installation)/github/installation/page 63.78 KB 287.9 KB 82.26% (🟡 +0.03%)
/(topbar)/checkout/success/page 94.56 KB 318.68 KB 91.05% (🟡 +0.03%)
/(topbar)/layout 183.41 KB 407.54 KB 116.44% (🟡 +0.03%)
/(topbar)/unsubscribe/page 31.42 KB 255.54 KB 73.01% (🟡 +0.03%)
/[organization]/(sidebar)/donate/page 198.01 KB 422.13 KB 120.61% (🟡 +0.03%)
/[organization]/(sidebar)/layout 192.62 KB 416.75 KB 119.07% (🟡 +0.03%)
/[organization]/(sidebar)/donate/status/page 39.92 KB 264.05 KB 75.44% (🟡 +0.03%)
/[organization]/(sidebar)/issues/page 127.39 KB 351.51 KB 100.43% (🟡 +0.03%)
/[organization]/(sidebar)/page 231.19 KB 455.32 KB 130.09% (🟡 +0.03%)
/[organization]/(sidebar)/posts/[postSlug]/page 197.62 KB 421.75 KB 120.50% (🟡 +0.03%)
/[organization]/(sidebar)/posts/page 138.97 KB 363.1 KB 103.74% (🟡 +0.03%)
/[organization]/(sidebar)/products/[productId]/page 135.87 KB 359.99 KB 102.85% (🟡 +0.03%)
/[organization]/(sidebar)/products/page 103.4 KB 327.52 KB 93.58% (🟡 +0.03%)
/[organization]/(sidebar)/repositories/page 67.47 KB 291.59 KB 83.31% (🟡 +0.03%)
/[organization]/(sidebar)/subscriptions/page 157.58 KB 381.71 KB 109.06% (🟡 +0.03%)
/[organization]/[repo]/issues/[number]/(create)/page 154.76 KB 378.88 KB 108.25% (🟡 +0.03%)
/[organization]/[repo]/layout 132.23 KB 356.35 KB 101.81% (🟡 +0.03%)
/[organization]/[repo]/issues/[number]/status/page 181.27 KB 405.39 KB 115.83% (🟡 +0.02%)
/[organization]/[repo]/page 222.56 KB 446.68 KB 127.62% (🟡 +0.03%)
/[organization]/subscribe/page 144.62 KB 368.75 KB 105.36% (🟡 +0.02%)
/backoffice/issue/[id]/page 62.63 KB 286.75 KB 81.93% (🟡 +0.03%)
/backoffice/layout 452.44 KB 676.56 KB 193.30% (🟡 +0.15%)
/backoffice/pledges/page 64.76 KB 288.88 KB 82.54% (🟡 +0.03%)
/backoffice/badge/page 53.03 KB 277.15 KB 79.19% (🟡 +0.03%)
/backoffice/rewards_pending/page 66.25 KB 290.37 KB 82.96% (🟡 +0.03%)
/backoffice/rebadge/page 39.78 KB 263.9 KB 75.40% (🟡 +0.03%)
/maintainer/(onboarding)/[organization]/onboarding/page 123.17 KB 347.29 KB 99.23% (🟡 +0.02%)
/docs/api/[...endpoint]/page 416.59 KB 640.71 KB 183.06% (🟡 +0.15%)
/docs/layout 130.64 KB 354.76 KB 101.36% (🟡 +0.03%)
/(landing)/(features)/benefits/page 138.82 KB 362.94 KB 103.70% (🟡 +0.03%)
/(landing)/(features)/donations/page 138.81 KB 362.94 KB 103.70% (🟡 +0.02%)
/(landing)/(features)/newsletters/page 154.41 KB 378.54 KB 108.15% (🟡 +0.03%)
/(landing)/(features)/issue-funding/page 138.82 KB 362.94 KB 103.70% (🟡 +0.03%)
/(landing)/page 138.68 KB 362.81 KB 103.66% (🟡 +0.03%)
/(landing)/(features)/products/page 153.85 KB 377.98 KB 107.99% (🟡 +0.03%)
/(topbar)/(backer)/layout 53.69 KB 277.81 KB 79.37% (🟡 +0.03%)
/(topbar)/(backer)/purchases/products/[id]/page 209.75 KB 433.88 KB 123.97% (🟡 +0.02%)
/(topbar)/(backer)/purchases/products/page 103.3 KB 327.42 KB 93.55% (🟡 +0.03%)
/(topbar)/(backer)/purchases/subscriptions/[id]/page 211.67 KB 435.79 KB 124.51% (🟡 +0.03%)
/(topbar)/(backer)/purchases/subscriptions/page 96.69 KB 320.81 KB 91.66% (🟡 +0.03%)
/(topbar)/(backer)/settings/page 215.97 KB 440.1 KB 125.74% (🟡 +0.03%)
/maintainer/[organization]/(topbar)/layout 452.44 KB 676.56 KB 193.30% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/donations/overview/page 569.63 KB 793.76 KB 226.79% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/funding/page 473.55 KB 697.67 KB 199.34% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/initialize/page 150.66 KB 374.78 KB 107.08% (🟡 +0.03%)
/maintainer/[organization]/(topbar)/issues/badge/page 464.63 KB 688.75 KB 196.79% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/issues/overview/page 480.8 KB 704.93 KB 201.41% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/members/page 442.57 KB 666.7 KB 190.48% (🟡 +0.16%)
/maintainer/[organization]/(topbar)/overview/page 469.16 KB 693.29 KB 198.08% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/posts/analytics/page 562.74 KB 786.86 KB 224.82% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/posts/page 553.3 KB 777.42 KB 222.12% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/products/benefits/page 534.51 KB 758.63 KB 216.75% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/sales/overview/page 566.23 KB 790.35 KB 225.81% (🟡 +0.16%)
/maintainer/[organization]/(topbar)/products/overview/page 472.01 KB 696.13 KB 198.90% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/sales/orders/page 474.97 KB 699.1 KB 199.74% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/sales/subscriptions/page 487.84 KB 711.96 KB 203.42% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/settings/page 458.11 KB 682.23 KB 194.92% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/settings/webhooks/endpoints/[id]/page 484.49 KB 708.61 KB 202.46% (🟡 +0.15%)
/maintainer/[organization]/(white)/posts/new/page 547.88 KB 772 KB 220.57% (🟡 +0.15%)
/maintainer/[organization]/(white)/layout 437.1 KB 661.23 KB 188.92% (🟡 +0.15%)
/maintainer/[organization]/(white)/posts/[post]/page 550.24 KB 774.36 KB 221.25% (🟡 +0.15%)
/maintainer/[organization]/products/new/page 523.6 KB 747.72 KB 213.63% (🟡 +0.16%)
/maintainer/[organization]/products/layout 437.1 KB 661.23 KB 188.92% (🟡 +0.15%)
/maintainer/[organization]/promote/page 459.08 KB 683.21 KB 195.20% (🟡 +0.15%)
/maintainer/[organization]/promote/layout 437.1 KB 661.23 KB 188.92% (🟡 +0.15%)
/maintainer/[organization]/products/[id]/page 523.91 KB 748.04 KB 213.72% (🟡 +0.16%)
/docs/(mdx)/layout 388.84 KB 612.97 KB 175.13% (🟡 +0.15%)
/docs/(mdx)/benefits/page 30.5 KB 254.62 KB 72.75% (+/- <0.01%)
/docs/(mdx)/donations/page 30.5 KB 254.62 KB 72.75% (+/- <0.01%)
/docs/(mdx)/faq/for-backers/page 30.5 KB 254.62 KB 72.75% (+/- <0.01%)
/docs/(mdx)/faq/for-contributors/page 30.5 KB 254.62 KB 72.75% (+/- <0.01%)
/docs/api/(mdx)/layout 388.83 KB 612.96 KB 175.13% (🟡 +0.15%)
/docs/api/(mdx)/github-actions/page 30.5 KB 254.62 KB 72.75% (+/- <0.01%)
/docs/api/(mdx)/page 30.5 KB 254.62 KB 72.75% (+/- <0.01%)
/docs/contribute/layout 388.84 KB 612.97 KB 175.13% (🟡 +0.15%)
/docs/support/layout 388.84 KB 612.97 KB 175.13% (🟡 +0.15%)
/(topbar)/(backer)/(sidebar)/feed/page 136.18 KB 360.3 KB 102.94% (🟡 +0.03%)
/(topbar)/(backer)/(sidebar)/layout 91.28 KB 315.4 KB 90.11% (🟡 +0.03%)
/(topbar)/(backer)/(sidebar)/funding/page 201.19 KB 425.32 KB 121.52% (🟡 +0.03%)
/(topbar)/(backer)/finance/account/page 172.06 KB 396.18 KB 113.19% (🟡 +0.03%)
/(topbar)/(backer)/finance/layout 154.24 KB 378.36 KB 108.10% (🟡 +0.03%)
/(topbar)/(backer)/finance/incoming/page 186.93 KB 411.05 KB 117.44% (🟡 +0.03%)
/(topbar)/(backer)/finance/issue-funding/contributors/page 71 KB 295.12 KB 84.32% (🟡 +0.03%)
/(topbar)/(backer)/finance/issue-funding/page 71.59 KB 295.71 KB 84.49% (🟡 +0.03%)
/(topbar)/(backer)/finance/outgoing/page 139.05 KB 363.18 KB 103.76% (🟡 +0.03%)
/(topbar)/(backer)/finance/rewards/page 71.08 KB 295.21 KB 84.34% (🟡 +0.03%)
/maintainer/[organization]/(topbar)/finance/account/page 173.16 KB 397.28 KB 113.51% (🟡 +0.03%)
/maintainer/[organization]/(topbar)/finance/layout 437.1 KB 661.22 KB 188.92% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/finance/incoming/page 188.32 KB 412.45 KB 117.84% (🟡 +0.03%)
/maintainer/[organization]/(topbar)/finance/outgoing/page 140.11 KB 364.23 KB 104.07% (🟡 +0.02%)
/maintainer/[organization]/(topbar)/finance/issue-funding/contributors/page 72.28 KB 296.41 KB 84.69% (🟡 +0.03%)
/maintainer/[organization]/(topbar)/finance/issue-funding/layout 437.1 KB 661.22 KB 188.92% (🟡 +0.15%)
/maintainer/[organization]/(topbar)/finance/issue-funding/page 73 KB 297.12 KB 84.89% (🟡 +0.03%)
/maintainer/[organization]/(topbar)/finance/issue-funding/rewarded/page 72.28 KB 296.4 KB 84.69% (🟡 +0.02%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.