chore: remove not used code related to filters on /bookings #48837
Annotations
10 errors
Run build
Type '{ readonly id: 4; readonly username: "pro"; readonly email: "***"; readonly password: { readonly hash: ""; readonly userId: 0; }; readonly completedOnboarding: true; readonly identityProvider: "CAL"; ... 9 more ...; readonly theme: null; }' is not assignable to type 'NonNullable<{ avatar: string; organization: { id: number | null; isOrgAdmin: boolean; metadata: { requestedSlug?: string | null | undefined; paymentId?: string | undefined; subscriptionId?: string | null | undefined; ... 4 more ...; billingPeriod?: BillingPeriod | undefined; } | null; ... 7 more ...; isPlatform?: bo...'.
|
Run build
Type '{ readonly id: 4; readonly username: "pro"; readonly email: "***"; readonly password: { readonly hash: ""; readonly userId: 0; }; readonly completedOnboarding: true; readonly identityProvider: "CAL"; ... 9 more ...; readonly theme: null; }' is not assignable to type 'NonNullable<{ avatar: string; organization: { id: number | null; isOrgAdmin: boolean; metadata: { requestedSlug?: string | null | undefined; paymentId?: string | undefined; subscriptionId?: string | null | undefined; ... 4 more ...; billingPeriod?: BillingPeriod | undefined; } | null; ... 7 more ...; isPlatform?: bo...'.
|
Run build
Type '{ organization: { id: null; isOrgAdmin: boolean; metadata: {}; requestedSlug: null; }; defaultBookerLayouts: null; selectedCalendars: never[]; destinationCalendar: null; profile: { username: string; ... 8 more ...; bufferTime: number; }; ... 45 more ...; creationSource: $Enums.CreationSource | null; }' is not assignable to type 'NonNullable<{ avatar: string; organization: { id: number | null; isOrgAdmin: boolean; metadata: { requestedSlug?: string | null | undefined; paymentId?: string | undefined; subscriptionId?: string | null | undefined; ... 4 more ...; billingPeriod?: BillingPeriod | undefined; } | null; ... 7 more ...; isPlatform?: bo...'.
|
Run build
Type '{ organization: { id: null; isOrgAdmin: boolean; metadata: {}; requestedSlug: null; }; defaultBookerLayouts: null; selectedCalendars: never[]; destinationCalendar: null; profile: { username: string; ... 8 more ...; bufferTime: number; }; ... 45 more ...; creationSource: $Enums.CreationSource | null; }' is not assignable to type 'NonNullable<{ avatar: string; organization: { id: number | null; isOrgAdmin: boolean; metadata: { requestedSlug?: string | null | undefined; paymentId?: string | undefined; subscriptionId?: string | null | undefined; ... 4 more ...; billingPeriod?: BillingPeriod | undefined; } | null; ... 7 more ...; isPlatform?: bo...'.
|
Run build
Property 'creationSource' is missing in type '{ teamId: number; role: "MEMBER"; isOrg: boolean; language: string; usernameOrEmail: string[]; }' but required in type '{ creationSource: "API_V1" | "API_V2" | "WEBAPP"; teamId: number; language: string; usernameOrEmail: (string | (string | { email: string; role: "ADMIN" | "MEMBER" | "OWNER"; })[]) & (string | (string | { ...; })[] | undefined); role?: "ADMIN" | ... 2 more ... | undefined; isPlatform?: boolean | undefined; }'.
|
Run build
Property 'creationSource' is missing in type '{ teamId: number; role: "MEMBER"; language: string; usernameOrEmail: string[]; }' but required in type '{ creationSource: "API_V1" | "API_V2" | "WEBAPP"; teamId: number; language: string; usernameOrEmail: (string | (string | { email: string; role: "ADMIN" | "MEMBER" | "OWNER"; })[]) & (string | (string | { ...; })[] | undefined); role?: "ADMIN" | ... 2 more ... | undefined; isPlatform?: boolean | undefined; }'.
|
Run build
Property 'creationSource' is missing in type '{ teamId: number; role: "MEMBER"; isOrg: boolean; language: string; usernameOrEmail: string; }' but required in type '{ creationSource: "API_V1" | "API_V2" | "WEBAPP"; teamId: number; language: string; usernameOrEmail: (string | (string | { email: string; role: "ADMIN" | "MEMBER" | "OWNER"; })[]) & (string | (string | { ...; })[] | undefined); role?: "ADMIN" | ... 2 more ... | undefined; isPlatform?: boolean | undefined; }'.
|
Run build
Property 'creationSource' is missing in type '{ teamId: number; role: "MEMBER"; isOrg: boolean; language: string; usernameOrEmail: string; }' but required in type '{ creationSource: "API_V1" | "API_V2" | "WEBAPP"; teamId: number; language: string; usernameOrEmail: (string | (string | { email: string; role: "ADMIN" | "MEMBER" | "OWNER"; })[]) & (string | (string | { ...; })[] | undefined); role?: "ADMIN" | ... 2 more ... | undefined; isPlatform?: boolean | undefined; }'.
|
Run build
Type '{ id: number; name: string; slug: null; appLogo: null; appIconLogo: null; bio: null; hideBranding: false; pendingPayment: false; hideBookATeamMember: false; createdAt: Date; brandColor: string; ... 16 more ...; smsLockReviewedByAdmin: false; }' is not assignable to type 'TeamWithParent'.
|
Run build
Argument of type '{ organizationSettings: { id: number; teamId: number; isOrganizationConfigured: boolean; isOrganizationVerified: boolean; orgAutoAcceptEmail: string; organizationId: number; lockEventTypeCreationForUsers: boolean; adminGetsNoSlotsNotification: boolean; isAdminReviewed: boolean; isAdminAPIEnabled: boolean; }; ... 29 ...' is not assignable to parameter of type '{ id: number; name: string; slug: string | null; logoUrl: string | null; ***VideoLogo: string | null; appLogo: string | null; appIconLogo: string | null; bio: string | null; hideBranding: boolean; ... 19 more ...; includeManagedEventsInLimits: boolean; } & { ...; } & { ...; }'.
|
Loading