AFFiNE/packages/backend/server
renovate 10bc0d1e29
chore: bump up stripe version to v16 (#7318)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [stripe](https://togithub.com/stripe/stripe-node) | [`^15.0.0` -> `^16.0.0`](https://renovatebot.com/diffs/npm/stripe/15.12.0/16.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/stripe/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/stripe/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/stripe/15.12.0/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/stripe/15.12.0/16.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>stripe/stripe-node (stripe)</summary>

### [`v16.0.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#1600---2024-06-24)

[Compare Source](https://togithub.com/stripe/stripe-node/compare/v15.12.0...v16.0.0)

-   [#&#8203;2113](https://togithub.com/stripe/stripe-node/pull/2113)

    This release changes the pinned API version to 2024-06-20. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-06-20) and carefully review the API changes before upgrading.

##### ⚠️ Breaking changes

    * Remove the unused resource `PlatformTaxFee`
    * Rename `volume_decimal` to `quantity_decimal` on
      *  `Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel`,
      *  `Issuing.Transaction.purchase_details.fuel`,
      *  `Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel`, and
      *  `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel`
    * `Capabilities.Requirements.disabled_reason` and `Capabilities.Requirements.disabled_reason` are now enums with the below values
      * `other`
      * `paused.inactivity`
      * `pending.onboarding`
      * `pending.review`
      * `platform_disabled`
      * `platform_paused`
      * `rejected.inactivity`
      * `rejected.other`
      * `rejected.unsupported_business`
      * `requirements.fields_needed`

##### Additions

    * Add support for new values `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, and `pound` on enums `Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel.unit`, `Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel.unit`, and `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel.unit`
    * Add support for new values `card_canceled`, `card_expired`, `cardholder_blocked`, `insecure_authorization_method`, and `pin_blocked` on enum `Issuing.Authorization.request_history[].reason`

-   Add support for `finalize_amount` test helper method on resource `Issuing.Authorization`
-   Add support for new value `ch_uid` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Tax.Calculation.customer_details.tax_ids[].type`, `Tax.Transaction.customer_details.tax_ids[].type`, and `TaxId.type`
-   Add support for new value `ch_uid` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceCreatePreviewParams.customer_details.tax_ids[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `Tax.CalculationCreateParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type`
-   Add support for `fleet` on `Issuing.AuthorizationCaptureParams.testHelpers.purchase_details`, `Issuing.AuthorizationCreateParams.testHelpers`, `Issuing.Authorization`, `Issuing.Transaction.purchase_details`, `Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details`, and `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details`
-   Add support for `fuel` on `Issuing.AuthorizationCreateParams.testHelpers` and `Issuing.Authorization`
-   Add support for `industry_product_code` and `quantity_decimal` on `Issuing.AuthorizationCaptureParams.testHelpers.purchase_details.fuel`, `Issuing.Transaction.purchase_details.fuel`, `Issuing.TransactionCreateForceCaptureParams.testHelpers.purchase_details.fuel`, and `Issuing.TransactionCreateUnlinkedRefundParams.testHelpers.purchase_details.fuel`
-   Add support for new value `2024-06-20` on enum `WebhookEndpointCreateParams.api_version`
-   [#&#8203;2118](https://togithub.com/stripe/stripe-node/pull/2118) Use worker module in Bun

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2024-06-26 07:03:31 +00:00
..
migrations feat(server): runtime setting support (#5602) 2024-05-28 06:43:53 +00:00
scripts ci: set private key from env (#6239) 2024-03-21 10:09:26 +00:00
src feat: add more workflow executor (#7231) 2024-06-25 10:54:16 +00:00
tests feat: add more workflow executor (#7231) 2024-06-25 10:54:16 +00:00
.env.example fix: improve self-host convenience (#5582) 2024-01-15 09:24:53 +00:00
.gitignore refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
LICENSE refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
package.json chore: bump up stripe version to v16 (#7318) 2024-06-26 07:03:31 +00:00
README.md refactor(server): rename @affine/storage to @affine/server-native (#6682) 2024-04-29 02:14:20 +00:00
schema.prisma feat(server): runtime setting support (#5602) 2024-05-28 06:43:53 +00:00
tsconfig.json refactor(server): rename @affine/storage to @affine/server-native (#6682) 2024-04-29 02:14:20 +00:00
tsconfig.node.json refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00

Server

Get started

Install dependencies

yarn

Build Native binding

yarn workspace @affine/server-native build

Run server

yarn dev

now you can access the server GraphQL endpoint at http://localhost:3000/graphql