import React, { createContext, useContext, useState, ReactNode } from 'react'
type ToastType = 'success' | 'error' | 'info' | 'warning'
interface Toast {
id: string
import React, { createContext, useContext, useState, useEffect, ReactNode } from 'react'
import { User } from '@/types'
import api from '@/services/api'
interface AuthContextType {
user: User | null
package api
import (
"context"
"crypto/rand"
"encoding/hex"
package workpool
import (
"context"
"sync"
)
package service
import (
"context"
"golang.org/x/sync/errgroup"
package pipeline
import "context"
func generate(ctx context.Context, nums ...int) <-chan int {
out := make(chan int)
package feed
import "time"
type Event struct {
ID string `json:"id"`
export const FLAG_REGISTRY = {
newDashboard: {
default: false as boolean,
description: 'Renders the redesigned dashboard shell',
},
maxUploadMb: {
package export
import (
"encoding/csv"
"log"
"net/http"
package scheduler
import (
"context"
"log"
"sync"
import { createContext } from "react";
export type ToastVariant = "info" | "success" | "error";
export interface Toast {
id: string;
package httpretry
import (
"math/rand"
"time"
)