feat: Implement EventTracker abstraction and Amplitude implementation #6611
Annotations
10 errors and 1 warning
Run TSC:
src/layouts/BaseLayout/BaseLayout.test.tsx#L237
Type '{ me: { owner: { defaultOrgUsername: null; }; email: string; privateAccess: boolean; onboardingCompleted: boolean; businessEmail: string; termsAgreement: boolean; user: { name: string; email: string; ... 9 more ...; termsAgreement: boolean; }; trackingMetadata: { ...; }; }; }' is not assignable to type '{ me: { owner: { username: string | null; ownerid: number | null; defaultOrgUsername: string | null; }; email: string | null; user: { name: string | null; username: string; avatarUrl: string; ... 4 more ...; customerIntent: string | null; }; ... 4 more ...; trackingMetadata: { ...; }; } | null | undefined; }'.
|
Run TSC:
src/layouts/BaseLayout/BaseLayout.test.tsx#L342
Type '{ me: { user: { termsAgreement: boolean; name: string; email: string; username: string; avatarUrl: string; avatar: string; student: boolean; studentCreatedAt: null; studentUpdatedAt: null; customerIntent: string; externalId: string; owners: { ...; }[]; }; ... 6 more ...; trackingMetadata: { ...; }; }; }' is not assignable to type '{ me: { owner: { username: string | null; ownerid: number | null; defaultOrgUsername: string | null; }; email: string | null; user: { name: string | null; username: string; avatarUrl: string; ... 4 more ...; customerIntent: string | null; }; ... 4 more ...; trackingMetadata: { ...; }; } | null | undefined; }'.
|
Run TSC:
src/layouts/BaseLayout/BaseLayout.test.tsx#L353
Type '{ me: { user: { termsAgreement: boolean; name: string; email: string; username: string; avatarUrl: string; avatar: string; student: boolean; studentCreatedAt: null; studentUpdatedAt: null; customerIntent: string; externalId: string; owners: { ...; }[]; }; ... 6 more ...; trackingMetadata: { ...; }; }; }' is not assignable to type '{ me: { owner: { username: string | null; ownerid: number | null; defaultOrgUsername: string | null; }; email: string | null; user: { name: string | null; username: string; avatarUrl: string; ... 4 more ...; customerIntent: string | null; }; ... 4 more ...; trackingMetadata: { ...; }; } | null | undefined; }'.
|
Run TSC:
src/layouts/BaseLayout/BaseLayout.test.tsx#L367
Type '{ me: { user: { termsAgreement: boolean; name: string; email: string; username: string; avatarUrl: string; avatar: string; student: boolean; studentCreatedAt: null; studentUpdatedAt: null; customerIntent: string; externalId: string; owners: { ...; }[]; }; ... 6 more ...; trackingMetadata: { ...; }; }; }' is not assignable to type '{ me: { owner: { username: string | null; ownerid: number | null; defaultOrgUsername: string | null; }; email: string | null; user: { name: string | null; username: string; avatarUrl: string; ... 4 more ...; customerIntent: string | null; }; ... 4 more ...; trackingMetadata: { ...; }; } | null | undefined; }'.
|
Run TSC:
src/layouts/BaseLayout/BaseLayout.test.tsx#L380
Type '{ me: { owner: { defaultOrgUsername: null; }; email: string; privateAccess: boolean; onboardingCompleted: boolean; businessEmail: string; termsAgreement: boolean; user: { name: string; email: string; ... 9 more ...; termsAgreement: boolean; }; trackingMetadata: { ...; }; }; }' is not assignable to type '{ me: { owner: { username: string | null; ownerid: number | null; defaultOrgUsername: string | null; }; email: string | null; user: { name: string | null; username: string; avatarUrl: string; ... 4 more ...; customerIntent: string | null; }; ... 4 more ...; trackingMetadata: { ...; }; } | null | undefined; }'.
|
Run TSC:
src/layouts/BaseLayout/BaseLayout.test.tsx#L391
Type '{ me: { owner: { defaultOrgUsername: null; }; email: string; privateAccess: boolean; onboardingCompleted: boolean; businessEmail: string; termsAgreement: boolean; user: { name: string; email: string; ... 9 more ...; termsAgreement: boolean; }; trackingMetadata: { ...; }; }; }' is not assignable to type '{ me: { owner: { username: string | null; ownerid: number | null; defaultOrgUsername: string | null; }; email: string | null; user: { name: string | null; username: string; avatarUrl: string; ... 4 more ...; customerIntent: string | null; }; ... 4 more ...; trackingMetadata: { ...; }; } | null | undefined; }'.
|
Run TSC:
src/layouts/BaseLayout/BaseLayout.test.tsx#L405
Type '{ me: { owner: { defaultOrgUsername: null; }; email: string; privateAccess: boolean; onboardingCompleted: boolean; businessEmail: string; termsAgreement: boolean; user: { name: string; email: string; ... 9 more ...; termsAgreement: boolean; }; trackingMetadata: { ...; }; }; }' is not assignable to type '{ me: { owner: { username: string | null; ownerid: number | null; defaultOrgUsername: string | null; }; email: string | null; user: { name: string | null; username: string; avatarUrl: string; ... 4 more ...; customerIntent: string | null; }; ... 4 more ...; trackingMetadata: { ...; }; } | null | undefined; }'.
|
Run TSC:
src/layouts/BaseLayout/BaseLayout.test.tsx#L417
Type '{ me: { owner: { defaultOrgUsername: string; }; email: string; privateAccess: boolean; onboardingCompleted: boolean; businessEmail: string; termsAgreement: boolean; user: { name: string; email: string; ... 9 more ...; termsAgreement: boolean; }; trackingMetadata: { ...; }; }; }' is not assignable to type '{ me: { owner: { username: string | null; ownerid: number | null; defaultOrgUsername: string | null; }; email: string | null; user: { name: string | null; username: string; avatarUrl: string; ... 4 more ...; customerIntent: string | null; }; ... 4 more ...; trackingMetadata: { ...; }; } | null | undefined; }'.
|
Run TSC:
src/layouts/BaseLayout/BaseLayout.test.tsx#L425
Type '{ me: { owner: { defaultOrgUsername: string; }; email: string; privateAccess: boolean; onboardingCompleted: boolean; businessEmail: string; termsAgreement: boolean; user: { name: string; email: string; ... 9 more ...; termsAgreement: boolean; }; trackingMetadata: { ...; }; }; }' is not assignable to type '{ me: { owner: { username: string | null; ownerid: number | null; defaultOrgUsername: string | null; }; email: string | null; user: { name: string | null; username: string; avatarUrl: string; ... 4 more ...; customerIntent: string | null; }; ... 4 more ...; trackingMetadata: { ...; }; } | null | undefined; }'.
|
Run TSC:
src/layouts/BaseLayout/BaseLayout.test.tsx#L500
Type '{ me: { user: { termsAgreement: boolean; name: string; email: string; username: string; avatarUrl: string; avatar: string; student: boolean; studentCreatedAt: null; studentUpdatedAt: null; customerIntent: string; externalId: string; owners: { ...; }[]; }; ... 6 more ...; trackingMetadata: { ...; }; }; }' is not assignable to type '{ me: { owner: { username: string | null; ownerid: number | null; defaultOrgUsername: string | null; }; email: string | null; user: { name: string | null; username: string; avatarUrl: string; ... 4 more ...; customerIntent: string | null; }; ... 4 more ...; trackingMetadata: { ...; }; } | null | undefined; }'.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading