Browse Source

feat(data-consent): Front end changes for organization consent (#65591)

this pr adds in the front end changes for
https://github.com/getsentry/sentry/pull/65590

closes https://github.com/getsentry/getsentry/issues/13090
Richard Roggenkemper 11 months ago
parent
commit
42daa2d55b
2 changed files with 4 additions and 0 deletions
  1. 2 0
      fixtures/js-stubs/organization.tsx
  2. 2 0
      static/app/types/organization.tsx

+ 2 - 0
fixtures/js-stubs/organization.tsx

@@ -62,6 +62,7 @@ export function OrganizationFixture(
     isDefault: false,
     isDynamicallySampled: true,
     isEarlyAdopter: false,
+    genAIConsent: false,
     openMembership: false,
     pendingAccessRequests: 0,
     quota: {
@@ -75,6 +76,7 @@ export function OrganizationFixture(
     safeFields: [],
     scrubIPAddresses: false,
     sensitiveFields: [],
+    aggregatedDataConsent: false,
     storeCrashReports: 0,
     trustedRelays: [],
     teams: [],

+ 2 - 0
static/app/types/organization.tsx

@@ -41,6 +41,7 @@ export interface OrganizationSummary {
  */
 export interface Organization extends OrganizationSummary {
   access: Scope[];
+  aggregatedDataConsent: boolean;
   alertsMemberWrite: boolean;
   allowJoinRequests: boolean;
   allowSharedIssues: boolean;
@@ -53,6 +54,7 @@ export interface Organization extends OrganizationSummary {
   enhancedPrivacy: boolean;
   eventsMemberAdmin: boolean;
   experiments: Partial<OrgExperiments>;
+  genAIConsent: boolean;
   isDefault: boolean;
   isDynamicallySampled: boolean;
   onboardingTasks: OnboardingTaskStatus[];