This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export enum WebhookEventType { | |
// Task-related events | |
TASK_CREATED = "task.created", | |
TASK_UPDATED = "task.updated", | |
TASK_DELETED = "task.deleted", | |
TASK_ARCHIVED = "task.archived", | |
TASK_UNARCHIVED = "task.unarchived", | |
TASK_STATUS_CHANGED = "task.status_changed", | |
TASK_ASSIGNED = "task.assigned", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useRef, useEffect, useState, ReactNode } from "react"; | |
import { cn } from "@/libs/utils"; | |
interface ScrollableWithGradientProps { | |
children: ReactNode; | |
className?: string; | |
containerClassName?: string; | |
gradientClassName?: string; | |
maxHeight?: string; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use client"; | |
import { cn } from "@/libs/utils"; | |
import { ReactNode, useState } from "react"; | |
type Feature = { | |
video: string; | |
title: string; | |
description: string; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; | |
export function withAppContext< | |
P extends { appContext?: AppContextInterface }, | |
R = Omit<P, 'appContext'> | |
>( | |
Component: React.ComponentClass<P> | React.StatelessComponent<P> | |
): React.SFC<R> { | |
return function BoundComponent(props: R) { | |
return ( |