diff options
| author | zyoshoka <107108195+zyoshoka@users.noreply.github.com> | 2025-04-02 15:44:04 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-02 15:44:04 +0900 |
| commit | 0bf49818c4477b3bed53017a77885153395662b0 (patch) | |
| tree | 6c03ba0cb265eaaae5e69648f092d4092a3174ff /packages/backend/src/models/json-schema | |
| parent | fix(frontend): Fix #15744 (diff) | |
| download | sharkey-0bf49818c4477b3bed53017a77885153395662b0.tar.gz sharkey-0bf49818c4477b3bed53017a77885153395662b0.tar.bz2 sharkey-0bf49818c4477b3bed53017a77885153395662b0.zip | |
enhance: implement `sentryForFrontend` (#15433)
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Diffstat (limited to 'packages/backend/src/models/json-schema')
| -rw-r--r-- | packages/backend/src/models/json-schema/meta.ts | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/backend/src/models/json-schema/meta.ts b/packages/backend/src/models/json-schema/meta.ts index 1e25c355ca..2cd7620af0 100644 --- a/packages/backend/src/models/json-schema/meta.ts +++ b/packages/backend/src/models/json-schema/meta.ts @@ -211,6 +211,38 @@ export const packedMetaLiteSchema = { type: 'boolean', optional: false, nullable: false, }, + sentryForFrontend: { + type: 'object', + optional: false, nullable: true, + properties: { + options: { + type: 'object', + optional: false, nullable: false, + properties: { + dsn: { + type: 'string', + optional: false, nullable: false, + }, + }, + additionalProperties: true, + }, + vueIntegration: { + type: 'object', + optional: true, nullable: true, + additionalProperties: true, + }, + browserTracingIntegration: { + type: 'object', + optional: true, nullable: true, + additionalProperties: true, + }, + replayIntegration: { + type: 'object', + optional: true, nullable: true, + additionalProperties: true, + }, + }, + }, mediaProxy: { type: 'string', optional: false, nullable: false, |