logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.31k stars 406 forks source link

feat(schemas): add custom data to application #6309

Closed simeng-li closed 1 month ago

simeng-li commented 1 month ago

Summary

Add custom_data column to the application. Also, add a new endpoint PATCH /applications/:applicationId/custom-data.

Testing

test locally

Checklist

github-actions[bot] commented 1 month ago

COMPARE TO master

Total Size Diff :chart_with_upwards_trend: +4.34 KB

Diff by File |Name|Diff| |---|---| |.changeset/clever-lemons-yawn.md|:chart_with_upwards_trend: +366 Bytes| |packages/core/src/__mocks__/index.ts|:chart_with_upwards_trend: +36 Bytes| |packages/core/src/routes/applications/application-custom-data.openapi.json|:chart_with_upwards_trend: +574 Bytes| |packages/core/src/routes/applications/application-custom-data.ts|:chart_with_upwards_trend: +1001 Bytes| |packages/core/src/routes/applications/application.ts|:chart_with_upwards_trend: +125 Bytes| |packages/integration-tests/src/api/application.ts|:chart_with_upwards_trend: +275 Bytes| |packages/integration-tests/src/tests/api/application/application-custom-data.test.ts|:chart_with_upwards_trend: +1.49 KB| |packages/schemas/alterations/next-1721645392-add-application-custom-data-column.ts|:chart_with_upwards_trend: +456 Bytes| |packages/schemas/src/seeds/application.ts|:chart_with_upwards_trend: +18 Bytes| |packages/schemas/tables/applications.sql|:chart_with_upwards_trend: +72 Bytes|