Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dyan-Dev/dyan
/ functions
Functions
59 in github.com/Dyan-Dev/dyan
⨍
Functions
59
◇
Types & classes
27
↓ 34 callers
Function
cn
(...inputs: ClassValue[])
apps/frontend/src/lib/utils.ts:4
↓ 5 callers
Function
boilerplate
(language: "javascript" | "python")
apps/frontend/src/lib/utils.ts:8
↓ 3 callers
Function
getValidationIcon
(isValid: boolean)
apps/frontend/src/components/LiveIOPanel.tsx:66
↓ 3 callers
Function
validateJSONWithDetails
(value: string)
apps/frontend/src/components/LiveIOPanel.tsx:37
↓ 2 callers
Function
validateJS
(code: string)
apps/frontend/src/lib/utils.ts:25
↓ 1 callers
Method
add
(endpoint: Endpoint)
apps/backend/src/endpoint.store.ts:13
↓ 1 callers
Function
bootstrap
()
apps/backend/src/main.ts:5
↓ 1 callers
Method
find
(path: string, method: string)
apps/backend/src/endpoint.store.ts:17
↓ 1 callers
Method
getHello
()
apps/backend/src/app.service.ts:5
↓ 1 callers
Function
getLanguageIcon
(language: string)
apps/frontend/src/components/SavedEndpointsSidebar.tsx:59
↓ 1 callers
Function
getMethodColor
(method: string)
apps/frontend/src/components/SavedEndpointsSidebar.tsx:44
↓ 1 callers
Function
getMethodColor
(method: string)
apps/frontend/src/pages/builder.tsx:241
↓ 1 callers
Function
handleBodyChange
(value: string)
apps/frontend/src/components/LiveIOPanel.tsx:51
↓ 1 callers
Function
handleHeadersChange
(value: string)
apps/frontend/src/components/LiveIOPanel.tsx:56
↓ 1 callers
Function
handleQueryChange
(value: string)
apps/frontend/src/components/LiveIOPanel.tsx:61
↓ 1 callers
Function
loadEndpoints
()
apps/frontend/src/pages/builder.tsx:70
↓ 1 callers
Function
requestLogin
()
apps/frontend/src/pages/login.tsx:18
↓ 1 callers
Method
sendMagicLink
(email: string)
apps/backend/src/auth/auth.service.ts:13
↓ 1 callers
Method
use
(req: Request, res: Response, next: NextFunction)
apps/backend/src/auth/jwt.middleware.ts:13
↓ 1 callers
Function
useTheme
()
apps/frontend/src/context/ThemeContext.tsx:29
↓ 1 callers
Function
verify
()
apps/frontend/src/pages/verify.tsx:15
↓ 1 callers
Method
verifyToken
(token: string)
apps/backend/src/auth/auth.service.ts:61
Function
App
()
apps/frontend/src/App.tsx:4
Function
Badge
({ className, variant, ...props }: BadgeProps)
apps/frontend/src/components/ui/badge.tsx:30
Function
BuilderPage
()
apps/frontend/src/pages/builder.tsx:45
Function
DialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
apps/frontend/src/components/ui/dialog.tsx:68
Function
DialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
apps/frontend/src/components/ui/dialog.tsx:54
Function
LiveIOPanel
({ body, headers, query, onChange }: Props)
apps/frontend/src/components/LiveIOPanel.tsx:29
Function
LoginPage
()
apps/frontend/src/pages/login.tsx:9
Function
MainPage
()
apps/frontend/src/pages/mainPage.tsx:5
Function
SavedEndpointsSidebar
({ endpoints, onEdit, onDelete, setSelectedEndpoint, setPath, setMethod, setLanguage, setCode,
apps/frontend/src/components/SavedEndpointsSidebar.tsx:32
Function
ThemeProvider
({ children }: { children: React.ReactNode })
apps/frontend/src/context/ThemeContext.tsx:8
Function
VerifyPage
()
apps/frontend/src/pages/verify.tsx:6
Method
addEndpoint
(@Body() body: Endpoint)
apps/backend/src/endpoint/endpoint.controller.ts:60
Method
all
()
apps/backend/src/endpoint.store.ts:23
Method
clear
()
apps/backend/src/endpoint.store.ts:27
Method
configure
(consumer: MiddlewareConsumer)
apps/backend/src/app.module.ts:30
Method
constructor
(private readonly appService: AppService)
apps/backend/src/app.controller.ts:6
Method
constructor
( private jwtService: JwtService, @Inject('PrismaClient') private prisma: PrismaClient, )
apps/backend/src/auth/auth.service.ts:8
Method
constructor
(private readonly jwtService: JwtService)
apps/backend/src/auth/jwt.middleware.ts:11
Method
constructor
( private authService: AuthService, private jwtService: JwtService, )
apps/backend/src/auth/auth.controller.ts:20
Method
deleteEndpoint
(@Body() body: { path: string; method: string })
apps/backend/src/endpoint/endpoint.controller.ts:116
Function
generateNestRoute
({ path, method, logic }: RouteSchema)
packages/codegen/src/index.ts:7
Method
getAllEndpoints
()
apps/backend/src/endpoint/endpoint.controller.ts:22
Method
getHello
()
apps/backend/src/app.controller.ts:9
Method
getSingleEndpoint
( @Query('path') path: string, @Query('method') method: string, )
apps/backend/src/endpoint/endpoint.controller.ts:39
Function
handleDelete
(index: number)
apps/frontend/src/pages/builder.tsx:157
Method
handleDynamic
(@Req() req: Request, @Res() res: Response)
apps/backend/src/dynamic/dynamic.controller.ts:13
Function
handleEdit
(index: number)
apps/frontend/src/pages/builder.tsx:136
Function
handleLogout
()
apps/frontend/src/pages/builder.tsx:229
Function
handleSave
()
apps/frontend/src/pages/builder.tsx:85
Function
handleSubmit
(e: React.FormEvent)
apps/frontend/src/pages/login.tsx:42
Function
handleTest
()
apps/frontend/src/pages/builder.tsx:187
Method
logout
(@Res() res: Response)
apps/backend/src/auth/auth.controller.ts:97
Method
me
(@Req() req: Request)
apps/backend/src/auth/auth.controller.ts:26
Method
requestLogin
(@Body('email') email: string)
apps/backend/src/auth/auth.controller.ts:60
Function
toggleTheme
()
apps/frontend/src/context/ThemeContext.tsx:19
Method
updateEndpoint
(@Body() body: Endpoint)
apps/backend/src/endpoint/endpoint.controller.ts:93
Method
verifyLogin
(@Query('token') token: string, @Res() res: Response)
apps/backend/src/auth/auth.controller.ts:80