repo
stringlengths
4
140
commit_id
stringlengths
7
7
rel_path
stringlengths
1
3.5k
language
stringclasses
37 values
url
stringlengths
37
3.56k
raw_url
stringlengths
54
3.58k
key
stringlengths
20
3.54k
ok
bool
1 class
status
int64
200
200
bytes
int64
48
425k
content
stringlengths
40
425k
worker_id
int64
0
7
mcsharma/powersearch
7955ed2
src/lib/utils/debounce.ts
TypeScript
www.github.com/mcsharma/powersearch/tree/main/src/lib/utils/debounce.ts
https://raw.githubusercontent.com/mcsharma/powersearch/7955ed2/src/lib/utils/debounce.ts
mcsharma/powersearch 7955ed2 src/lib/utils/debounce.ts
true
200
380
export default function debounce( func: (...args: Array<any>) => void, timeout: number ): (...args: Array<any>) => void { var timer: NodeJS.Timeout | undefined; return function (...args: Array<any>) { if (!timer) { func(...args); } clearTimeout(timer); timer = setTimeout(() => { time...
1
akiroussama/e2e_cypress
ce95610
server/src/entity/__tests__/User.test.ts
TypeScript
www.github.com/akiroussama/e2e_cypress/tree/main/server/src/entity/__tests__/User.test.ts
https://raw.githubusercontent.com/akiroussama/e2e_cypress/ce95610/server/src/entity/__tests__/User.test.ts
akiroussama/e2e_cypress ce95610 server/src/entity/__tests__/User.test.ts
true
200
999
import User, { hashPassword, verifyPassword, getSafeAttributes } from '../User'; describe('User', () => { it('should create a User with correct properties', () => { const user = new User(); user.email = 'test@example.com'; user.role = 'admin'; expect(user).toHaveProperty('email', 'test@example.com');...
6
rionalab/sch
91cafa9
app/(pages)/(dashboard)/hrd/employee/type.ts
TypeScript
www.github.com/rionalab/sch/tree/main/app/(pages)/(dashboard)/hrd/employee/type.ts
https://raw.githubusercontent.com/rionalab/sch/91cafa9/app/%28pages%29/%28dashboard%29/hrd/employee/type.ts
rionalab/sch 91cafa9 app/(pages)/(dashboard)/hrd/employee/type.ts
true
200
1,586
import { type Dayjs } from "dayjs"; export interface Employee { id?: number; NIP: string; positionId: number; hireDate: Dayjs; contractStatus: string; unit: string | null; TMT: Dayjs; PKWTStart: Dayjs; PKWTEnd?: Dayjs; PKWT?: [Dayjs, Dayjs]; fullName: string; NIK: string; placeOfBirth: string...
0
geocarlos/wapichana-dictionary-for-aws
8eb7f30
src/actions/IActions.ts
TypeScript
www.github.com/geocarlos/wapichana-dictionary-for-aws/tree/main/src/actions/IActions.ts
https://raw.githubusercontent.com/geocarlos/wapichana-dictionary-for-aws/8eb7f30/src/actions/IActions.ts
geocarlos/wapichana-dictionary-for-aws 8eb7f30 src/actions/IActions.ts
true
200
2,423
import { Action } from "redux"; import keys from "./ActionTypeKeys"; export interface IFetchEntries extends Action { readonly type: keys.FETCH_ENTRIES, readonly payload: Promise<any> } export interface IFetchEntriesResolved extends Action { readonly type: keys.FETCH_ENTRIES_RESOLVED, readonly payload:...
4
rojaence/prueba-node-backend
9699a8e
src/middlewares/userStatusMiddleware.ts
TypeScript
www.github.com/rojaence/prueba-node-backend/tree/main/src/middlewares/userStatusMiddleware.ts
https://raw.githubusercontent.com/rojaence/prueba-node-backend/9699a8e/src/middlewares/userStatusMiddleware.ts
rojaence/prueba-node-backend 9699a8e src/middlewares/userStatusMiddleware.ts
true
200
1,912
import { Request, Response, NextFunction } from 'express' import { CodesHttpEnum } from '../enums/codesHttpEnums' import { JsonWebTokenError, TokenExpiredError, verify } from 'jsonwebtoken' import { JWT_SECRET } from '../environment/env' import { HttpResponse } from '../utils/httpResponse' import { ITokenDecoded } from...
3
JananiM23/Stemi_client
8b49e38
view/src/app/components/Offline-management/offline-table/offline-table.component.ts
TypeScript
www.github.com/JananiM23/Stemi_client/tree/main/view/src/app/components/Offline-management/offline-table/offline-table.component.ts
https://raw.githubusercontent.com/JananiM23/Stemi_client/8b49e38/view/src/app/components/Offline-management/offline-table/offline-table.component.ts
JananiM23/Stemi_client 8b49e38 view/src/app/components/Offline-management/offline-table/offline-table.component.ts
true
200
28,307
import { Component, ElementRef, ViewChild, Renderer, TemplateRef, OnInit } from '@angular/core'; import { BsModalRef, BsModalService} from 'ngx-bootstrap'; import { FormGroup, FormControl } from '@angular/forms'; import { formatDate } from '@angular/common'; import { Observable, from } from 'rxjs'; import {map, startW...
5
HoppnTeam/5Way-Website-2
17048b2
src/components/capabilities/data.ts
TypeScript
www.github.com/HoppnTeam/5Way-Website-2/tree/main/src/components/capabilities/data.ts
https://raw.githubusercontent.com/HoppnTeam/5Way-Website-2/17048b2/src/components/capabilities/data.ts
HoppnTeam/5Way-Website-2 17048b2 src/components/capabilities/data.ts
true
200
2,880
import { Cog, Users, ClipboardCheck, Wrench, HardHat, Building2, FileCheck, Truck, Workflow, CheckCircle2, Key } from 'lucide-react'; import { Competency, Equipment, ProcessStep } from './types'; export const competencies: Competency[] = [ { title: 'Technical Expertise', description...
2
Soyhuce/node-packages
fbfa818
packages/types/src/unions.ts
TypeScript
www.github.com/Soyhuce/node-packages/tree/main/packages/types/src/unions.ts
https://raw.githubusercontent.com/Soyhuce/node-packages/fbfa818/packages/types/src/unions.ts
Soyhuce/node-packages fbfa818 packages/types/src/unions.ts
true
200
1,407
/** * SetIntersection * @desc Set intersection of given union types `A` and `B` * @example * // Expect: "2" | "3" * SetIntersection<'1' | '2' | '3', '2' | '3' | '4'>; * * // Expect: () => void * SetIntersection<string | number | (() => void), Function>; */ export type SetIntersection<A, B> = A extends ...
7
thuannguyenhuu11/NextUI-admin-managent
3b40ae2
src/shared/validators/schemas/timesheet-management/timesheet-management.schema.ts
TypeScript
www.github.com/thuannguyenhuu11/NextUI-admin-managent/tree/main/src/shared/validators/schemas/timesheet-management/timesheet-management.schema.ts
https://raw.githubusercontent.com/thuannguyenhuu11/NextUI-admin-managent/3b40ae2/src/shared/validators/schemas/timesheet-management/timesheet-management.schema.ts
thuannguyenhuu11/NextUI-admin-managent 3b40ae2 src/shared/validators/schemas/timesheet-management/timesheet-management.schema.ts
true
200
604
import { z } from 'zod' import { UserBaseSchema } from '../user/user.schema' import { ETimeEntryStatus } from '~/shared/enums' export const TimeSheetManagementSchema = z.object({ id: z.string(), checkDate: z.string(), checkInTime: z.string(), checkOutTime: z.string(), createdAt: z.string(), updatedAt: z.st...
1
eoGimenez/node-api-TS-exercise
2cc8283
routes/user.route.ts
TypeScript
www.github.com/eoGimenez/node-api-TS-exercise/tree/main/routes/user.route.ts
https://raw.githubusercontent.com/eoGimenez/node-api-TS-exercise/2cc8283/routes/user.route.ts
eoGimenez/node-api-TS-exercise 2cc8283 routes/user.route.ts
true
200
321
import { Router } from "express" const router = Router() type User = { id: number, name: string } router.get('/', (req, res, next) => { res.send('Hola Mundo') }) router.post('/', (req, res, next) => { const {name} = req.body as User console.log(name) res.json(name) }) export default route...
6
zhenya-paitash/bot-chatgpt
3f67b52
src/config/config.service.ts
TypeScript
www.github.com/zhenya-paitash/bot-chatgpt/tree/main/src/config/config.service.ts
https://raw.githubusercontent.com/zhenya-paitash/bot-chatgpt/3f67b52/src/config/config.service.ts
zhenya-paitash/bot-chatgpt 3f67b52 src/config/config.service.ts
true
200
2,062
import config, { IConfig } from 'config' import { IConfigService, TConfigKey } from "./config.interface.js"; class ConfigService implements IConfigService { private config: IConfig /** * This is a constructor function that initializes an object with a given * configuration. */ constructor() { this....
0
hanantonaAn/front_PortfolioApp
5d98c7f
src/types/form.ts
TypeScript
www.github.com/hanantonaAn/front_PortfolioApp/tree/main/src/types/form.ts
https://raw.githubusercontent.com/hanantonaAn/front_PortfolioApp/5d98c7f/src/types/form.ts
hanantonaAn/front_PortfolioApp 5d98c7f src/types/form.ts
true
200
786
import { Path } from "react-hook-form"; export type IFormType = 'input' | 'title' | 'image' | 'select' | 'inputByTags'; export type IFormArea<T, U extends IFormType> = { fieldName: Path<T>; type: U; label?: string; inputType?: 'password' | 'date'; placeholder?: string; }; export type ISelect = {...
3
ankitDits/node-expressots
af10073
src/useCases/user/login/user-login.usercase.ts
TypeScript
www.github.com/ankitDits/node-expressots/tree/main/src/useCases/user/login/user-login.usercase.ts
https://raw.githubusercontent.com/ankitDits/node-expressots/af10073/src/useCases/user/login/user-login.usercase.ts
ankitDits/node-expressots af10073 src/useCases/user/login/user-login.usercase.ts
true
200
1,452
import { Report, StatusCode } from "@expressots/core"; import { UserRepository } from "@repositories/user/user.repository"; import { provide } from "inversify-binding-decorators"; import { IUSER } from "@entities/user.model"; import { ILoginUserRequestDTO, ILoginUserResponseDTO } from "./user-login.dto"; @provide(Logi...
2
andukdahacker/stud-bud
9b18989
server/src/utils/emailService.ts
TypeScript
www.github.com/andukdahacker/stud-bud/tree/main/server/src/utils/emailService.ts
https://raw.githubusercontent.com/andukdahacker/stud-bud/9b18989/server/src/utils/emailService.ts
andukdahacker/stud-bud 9b18989 server/src/utils/emailService.ts
true
200
2,024
import nodemailer from "nodemailer"; import { EMAIL_VERIFICATION_PREFIX, EMAIL_VERIFICATION_SUBJECT, FORGOT_PASSWORD_EMAIL_SUBJECT, FORGOT_PASSWORD_PREFIX, } from "../constants"; import { Context } from "../context"; import { v4 } from "uuid"; import { BASE_URL } from "../config"; const sendMail = async (to: s...
5
dev-ahmedismael/jara-theme
8f41e51
src/layout/pagination/pagination.component.ts
TypeScript
www.github.com/dev-ahmedismael/jara-theme/tree/main/src/layout/pagination/pagination.component.ts
https://raw.githubusercontent.com/dev-ahmedismael/jara-theme/8f41e51/src/layout/pagination/pagination.component.ts
dev-ahmedismael/jara-theme 8f41e51 src/layout/pagination/pagination.component.ts
true
200
773
import { CommonModule } from '@angular/common'; import { Component, EventEmitter, Input, Output } from '@angular/core'; import { CrudService } from '../../services/crud.service'; @Component({ selector: 'app-pagination', imports: [CommonModule], templateUrl: './pagination.component.html', styleUrl: './p...
7
pillowskiy/cine-rate
e131b50
src/shared/actions/getGenres.ts
TypeScript
www.github.com/pillowskiy/cine-rate/tree/main/src/shared/actions/getGenres.ts
https://raw.githubusercontent.com/pillowskiy/cine-rate/e131b50/src/shared/actions/getGenres.ts
pillowskiy/cine-rate e131b50 src/shared/actions/getGenres.ts
true
200
433
import type { GenresResponse } from '#types/genre-types'; import type { BaseParams } from '#types/index'; import type { MediaType } from '#config/enums'; import { dayCacheTerm } from '#api/api-cache'; import { $api } from '#api/api-interceptor'; export function getGenres(mediaType: MediaType, params: BaseParams = {}) ...
1
dev-tch/frontend_LostDocFinder
2da325f
src/app/web-pages/login-page/login-page.component.ts
TypeScript
www.github.com/dev-tch/frontend_LostDocFinder/tree/main/src/app/web-pages/login-page/login-page.component.ts
https://raw.githubusercontent.com/dev-tch/frontend_LostDocFinder/2da325f/src/app/web-pages/login-page/login-page.component.ts
dev-tch/frontend_LostDocFinder 2da325f src/app/web-pages/login-page/login-page.component.ts
true
200
2,591
import { Component , OnInit ,Signal ,computed } from '@angular/core'; import { FormGroup,FormsModule,Validators,FormBuilder,ReactiveFormsModule} from '@angular/forms'; import { RouterOutlet } from '@angular/router'; import { UserService } from '../../http-services/user.service'; import { LocalService } from '../../stor...
4
jantischhoefer/parcel-resolver-corfu-config
823eee0
src/parser.ts
TypeScript
www.github.com/jantischhoefer/parcel-resolver-corfu-config/tree/main/src/parser.ts
https://raw.githubusercontent.com/jantischhoefer/parcel-resolver-corfu-config/823eee0/src/parser.ts
jantischhoefer/parcel-resolver-corfu-config 823eee0 src/parser.ts
true
200
8,744
import * as yaml from 'js-yaml'; import * as fs from 'fs'; import { Dashboard, WidgetDefinition } from '@wuespace/telestion-client-types'; import * as p from 'path'; import { Resolver } from '@parcel/types'; import { AppConfig, AppWidgetConfig, NodeConfig, NodeWidgetConfig, TelecommandWidgetConfig } from './model'...
6
AlexMartin998/nestjs-microservices-init
10865cf
libs/common/rmq/rmq.service.ts
TypeScript
www.github.com/AlexMartin998/nestjs-microservices-init/tree/main/libs/common/rmq/rmq.service.ts
https://raw.githubusercontent.com/AlexMartin998/nestjs-microservices-init/10865cf/libs/common/rmq/rmq.service.ts
AlexMartin998/nestjs-microservices-init 10865cf libs/common/rmq/rmq.service.ts
true
200
929
import { Injectable } from '@nestjs/common'; import { RmqContext, RmqOptions, Transport } from '@nestjs/microservices'; import { ConfigService } from '@nestjs/config'; @Injectable() export class RmqService { constructor(private readonly configService: ConfigService) {} getOptions(queue: string, noAck = false): Rm...
0
yevhenchmykhun/FinServe
cddfe8f
src/app/core/core.module.ts
TypeScript
www.github.com/yevhenchmykhun/FinServe/tree/main/src/app/core/core.module.ts
https://raw.githubusercontent.com/yevhenchmykhun/FinServe/cddfe8f/src/app/core/core.module.ts
yevhenchmykhun/FinServe cddfe8f src/app/core/core.module.ts
true
200
1,003
import { NgModule } from '@angular/core'; import { HeaderComponent } from './components/header/header.component'; import { CommonModule } from '@angular/common'; import { SidebarComponent } from './components/sidebar/sidebar.component'; import { RouterModule } from '@angular/router'; import { SidebarMenuItemComponent }...
3
caroline-ctrl/runningMap_angular
03f0d29
runningMap/src/app/user/user-archive/user-archive.component.ts
TypeScript
www.github.com/caroline-ctrl/runningMap_angular/tree/main/runningMap/src/app/user/user-archive/user-archive.component.ts
https://raw.githubusercontent.com/caroline-ctrl/runningMap_angular/03f0d29/runningMap/src/app/user/user-archive/user-archive.component.ts
caroline-ctrl/runningMap_angular 03f0d29 runningMap/src/app/user/user-archive/user-archive.component.ts
true
200
602
import { Component, OnInit } from '@angular/core'; import { UserService } from '../user.service'; import { ActivatedRoute } from '@angular/router'; import { CookieService } from 'ngx-cookie-service'; @Component({ selector: 'app-user-archive', templateUrl: './user-archive.component.html', styleUrls: [ './user-arc...
5
thiswildidea/plugins_smap
e609187
src/TrajectoryPlus.ts
TypeScript
www.github.com/thiswildidea/plugins_smap/tree/main/src/TrajectoryPlus.ts
https://raw.githubusercontent.com/thiswildidea/plugins_smap/e609187/src/TrajectoryPlus.ts
thiswildidea/plugins_smap e609187 src/TrajectoryPlus.ts
true
200
7,266
import Mapcofig from './config/Mapcofig'; import ITrajectoryPlusOptions from './interface/ITrajectoryPlusOptions'; import EventEmitter from './mod'; import { load } from './modules'; import Guid from './utils/Guid'; import MapEvent from './utils/MapEvent'; export default class TrajectoryPlus extends EventEmitter { ...
2
Hrushikesh2001/Angular-Fullstack-Project
e2c5c52
src/app/core/authentication/login/login.component.ts
TypeScript
www.github.com/Hrushikesh2001/Angular-Fullstack-Project/tree/main/src/app/core/authentication/login/login.component.ts
https://raw.githubusercontent.com/Hrushikesh2001/Angular-Fullstack-Project/e2c5c52/src/app/core/authentication/login/login.component.ts
Hrushikesh2001/Angular-Fullstack-Project e2c5c52 src/app/core/authentication/login/login.component.ts
true
200
871
import { Component } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; @Component({ selector: 'app-login', templateUrl: './login.component.html', styleUrls: ['./login.component.scss'], }) export class LoginComponent { loginForm: FormGroup = new FormGroup({}); // Initial...
7
long-hp/wiloke
8c76d57
apps/veda/src/services/ShopifyConnection/handleUpdateStatusPage.ts
TypeScript
www.github.com/long-hp/wiloke/tree/main/apps/veda/src/services/ShopifyConnection/handleUpdateStatusPage.ts
https://raw.githubusercontent.com/long-hp/wiloke/8c76d57/apps/veda/src/services/ShopifyConnection/handleUpdateStatusPage.ts
long-hp/wiloke 8c76d57 apps/veda/src/services/ShopifyConnection/handleUpdateStatusPage.ts
true
200
3,294
import { AdminPageData } from 'containers/Admin/types'; import { CollectionPageLiquidVariable, ProductPageLiquidVariable } from 'types/Page'; import { PageSettings } from 'types/Result'; import { GetAdditionalDataRelateToShopify_BEExpectResponse } from './services/getAdditionalDataRelateToShopify'; import { WritePageTo...
4
BenHunt17/pinboard-frontend
e7928cc
src/components/profileMenu/useDeleteUserMutation.ts
TypeScript
www.github.com/BenHunt17/pinboard-frontend/tree/main/src/components/profileMenu/useDeleteUserMutation.ts
https://raw.githubusercontent.com/BenHunt17/pinboard-frontend/e7928cc/src/components/profileMenu/useDeleteUserMutation.ts
BenHunt17/pinboard-frontend e7928cc src/components/profileMenu/useDeleteUserMutation.ts
true
200
1,293
import { useMutation } from "react-query"; import { usersService } from "../../dataAccess/services/usersService"; import useAccessToken from "../../common/hooks/useAccessToken"; import useHandleDataAccessError from "../../dataAccess/common/useHandleDataAccessError"; import { useSnackbar } from "../../SnackbarProvider";...
6
HristoBogdanov/properly
1a77925
frontend/src/lib/schemas.ts
TypeScript
www.github.com/HristoBogdanov/properly/tree/main/frontend/src/lib/schemas.ts
https://raw.githubusercontent.com/HristoBogdanov/properly/1a77925/frontend/src/lib/schemas.ts
HristoBogdanov/properly 1a77925 frontend/src/lib/schemas.ts
true
200
3,718
import { z } from "zod"; import { passwordRegex } from "./regexes"; const numberErrorMessage = { required_error: "This field is required", invalid_type_error: "Enter a number!", }; export const registerSchema = z.object({ username: z.string().min(3, "Username should be at least 3 characters"), email: z.string...
0
LightDotSo/LightDotSo
5dbb003
packages/query/src/useQueryActivitiesCount.ts
TypeScript
www.github.com/LightDotSo/LightDotSo/tree/main/packages/query/src/useQueryActivitiesCount.ts
https://raw.githubusercontent.com/LightDotSo/LightDotSo/5dbb003/packages/query/src/useQueryActivitiesCount.ts
LightDotSo/LightDotSo 5dbb003 packages/query/src/useQueryActivitiesCount.ts
true
200
2,823
// Copyright 2023-2024 LightDotSo. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
1
giangkma/testing-nestjs-using-jest
e536165
src/domain/contact/email.ts
TypeScript
www.github.com/giangkma/testing-nestjs-using-jest/tree/main/src/domain/contact/email.ts
https://raw.githubusercontent.com/giangkma/testing-nestjs-using-jest/e536165/src/domain/contact/email.ts
giangkma/testing-nestjs-using-jest e536165 src/domain/contact/email.ts
true
200
597
export interface ContactFormPayload { name: string; work?: string; // default = "-" email: string; phone_number?: string; // default "-" message: string; subject: string; } export interface ContactFormAutoReplyPayload { name: string; } export const getContactFormPayload = ( payload: Co...
3
DenisLevy76/ecoway-back-fastify
7f0f15e
src/repositories/prisma/prismaCollectPoints.repository.ts
TypeScript
www.github.com/DenisLevy76/ecoway-back-fastify/tree/main/src/repositories/prisma/prismaCollectPoints.repository.ts
https://raw.githubusercontent.com/DenisLevy76/ecoway-back-fastify/7f0f15e/src/repositories/prisma/prismaCollectPoints.repository.ts
DenisLevy76/ecoway-back-fastify 7f0f15e src/repositories/prisma/prismaCollectPoints.repository.ts
true
200
1,706
import { prisma } from '@/lib/prisma' import { Prisma, CollectPoint } from '@prisma/client' import { ICollectPointRepository, IFindManyNearbyParams, } from '../ICollectPoint.repository' export class PrismaCollectPointRepository implements ICollectPointRepository { async searchCollectPoint( query: string, ...
5
Julia-Lm/recipe-app
227a314
src/entities/recipe-card/recipe-card.styles.ts
TypeScript
www.github.com/Julia-Lm/recipe-app/tree/main/src/entities/recipe-card/recipe-card.styles.ts
https://raw.githubusercontent.com/Julia-Lm/recipe-app/227a314/src/entities/recipe-card/recipe-card.styles.ts
Julia-Lm/recipe-app 227a314 src/entities/recipe-card/recipe-card.styles.ts
true
200
1,319
import styled from "styled-components"; export const CardWrapper = styled.div` display: flex; flex-direction: column; justify-content: space-around; background: ${({ theme }) => theme.recipeCard.backgroundColor}; width: 100%; min-height: 325px; min-width: 255px; border-radius: 10px; overflow: hidden;...
7
winqus/RobDroneGo
371e119
drones-angular-client/src/app/core/interceptors/api.interceptor.ts
TypeScript
www.github.com/winqus/RobDroneGo/tree/main/drones-angular-client/src/app/core/interceptors/api.interceptor.ts
https://raw.githubusercontent.com/winqus/RobDroneGo/371e119/drones-angular-client/src/app/core/interceptors/api.interceptor.ts
winqus/RobDroneGo 371e119 drones-angular-client/src/app/core/interceptors/api.interceptor.ts
true
200
516
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http"; import { Injectable } from "@angular/core"; import { Observable } from "rxjs"; import { API_ROUTES } from "src/api.config"; @Injectable({ providedIn: "root" }) export class ApiInterceptor implements HttpInterceptor { interce...
6
moises-herrera/smart-finance-mobile
d8268ec
src/components/finance/balance-card/styles.ts
TypeScript
www.github.com/moises-herrera/smart-finance-mobile/tree/main/src/components/finance/balance-card/styles.ts
https://raw.githubusercontent.com/moises-herrera/smart-finance-mobile/d8268ec/src/components/finance/balance-card/styles.ts
moises-herrera/smart-finance-mobile d8268ec src/components/finance/balance-card/styles.ts
true
200
609
import { StyleSheet } from 'react-native'; import { appTheme } from 'src/theme'; export const styles = StyleSheet.create({ card: { height: 106, width: 310, backgroundColor: appTheme.colors.black, marginHorizontal: 8, borderRadius: 6, flexDirection: 'column', justifyContent: 'space-around'...
4
spalagu/pagerduty-alert
d8b3e29
src/main/windows/NotificationWindow.ts
TypeScript
www.github.com/spalagu/pagerduty-alert/tree/main/src/main/windows/NotificationWindow.ts
https://raw.githubusercontent.com/spalagu/pagerduty-alert/d8b3e29/src/main/windows/NotificationWindow.ts
spalagu/pagerduty-alert d8b3e29 src/main/windows/NotificationWindow.ts
true
200
8,350
import { BrowserWindow, screen, ipcMain } from 'electron' import * as path from 'path' import { logService } from '../../services/LogService' interface NotificationData { id: string title: string body: string urgency: 'high' | 'low' isPersistent?: boolean onClick?: () => void onClose?: () => void } inte...
2
CIMAT-Zacatecas/cimat-inv-api
2110949
src/modules/locations/infrastructure/entities/location.entity.ts
TypeScript
www.github.com/CIMAT-Zacatecas/cimat-inv-api/tree/main/src/modules/locations/infrastructure/entities/location.entity.ts
https://raw.githubusercontent.com/CIMAT-Zacatecas/cimat-inv-api/2110949/src/modules/locations/infrastructure/entities/location.entity.ts
CIMAT-Zacatecas/cimat-inv-api 2110949 src/modules/locations/infrastructure/entities/location.entity.ts
true
200
1,005
import { Column, Model, Table, DataType, CreatedAt, UpdatedAt, ForeignKey, } from 'sequelize-typescript'; import { ILocation } from '../../domain/interfaces/location.interface'; import { UserEntity } from 'src/modules/users/infrastructure/entities/user.entity'; @Table({ tableName: 'locations' }) export c...
0
danilly7/inprocode-react
1cdc5cf
backend/src/controllers/competitors.ts
TypeScript
www.github.com/danilly7/inprocode-react/tree/main/backend/src/controllers/competitors.ts
https://raw.githubusercontent.com/danilly7/inprocode-react/1cdc5cf/backend/src/controllers/competitors.ts
danilly7/inprocode-react 1cdc5cf backend/src/controllers/competitors.ts
true
200
971
import { Request, Response } from 'express'; import models from '../models'; const {Competitor} = models; export const getCompetitors = async (req: Request, res: Response) => { try { const result = await Competitor.findAndCountAll(); res.json({data: result }); } catch (error) { res.sta...
1
barnabasJ/buckets
e9bf9b2
ui_old/server.ts
TypeScript
www.github.com/barnabasJ/buckets/tree/main/ui_old/server.ts
https://raw.githubusercontent.com/barnabasJ/buckets/e9bf9b2/ui_old/server.ts
barnabasJ/buckets e9bf9b2 ui_old/server.ts
true
200
3,936
import fs from "fs"; import { PassThrough, Readable } from "stream"; import Fastify, { FastifyRequest } from "fastify"; import path from "path"; import { fileURLToPath } from "url"; import { ViteDevServer, createServer as createViteServer } from "vite"; import middie from "@fastify/middie"; import fastifyStatic from "@...
5
sparrow-js/ShipFast
d182428
engine/editor-skeleton/components/field/index.ts
TypeScript
www.github.com/sparrow-js/ShipFast/tree/main/engine/editor-skeleton/components/field/index.ts
https://raw.githubusercontent.com/sparrow-js/ShipFast/d182428/engine/editor-skeleton/components/field/index.ts
sparrow-js/ShipFast d182428 engine/editor-skeleton/components/field/index.ts
true
200
1,042
import { ReactNode, createElement } from 'react'; import { TitleContent } from '@/engine/types'; import './index.scss'; import { Field, PopupField, EntryField, PlainField } from './fields'; export interface FieldProps { className?: string; title?: TitleContent | null; display?: 'accordion' | 'inline' | 'block' |...
3
gx-ernesto/devsu
af199eb
src/app/pages/product-form/product-form.component.spec.ts
TypeScript
www.github.com/gx-ernesto/devsu/tree/main/src/app/pages/product-form/product-form.component.spec.ts
https://raw.githubusercontent.com/gx-ernesto/devsu/af199eb/src/app/pages/product-form/product-form.component.spec.ts
gx-ernesto/devsu af199eb src/app/pages/product-form/product-form.component.spec.ts
true
200
4,392
import { TestBed } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { ReactiveFormsModule, FormBuilder } from '@angular/forms'; import { Router } from '@angular/router'; import { of } from 'rxjs'; import { Product } from 'src/app/models/product'; import { ProductServi...
7
kuldeep410/Be-Colab
6334f2b
src/hooks/useUsersInfo.ts
TypeScript
www.github.com/kuldeep410/Be-Colab/tree/main/src/hooks/useUsersInfo.ts
https://raw.githubusercontent.com/kuldeep410/Be-Colab/6334f2b/src/hooks/useUsersInfo.ts
kuldeep410/Be-Colab 6334f2b src/hooks/useUsersInfo.ts
true
200
1,151
import { DocumentData, DocumentSnapshot, doc, getDoc, } from "firebase/firestore"; import { useEffect, useState } from "react"; import { db } from "../shared/firebase"; let cache: { [key: string]: any } = {}; export const useUsersInfo = (userIds: string[]) => { const [data, setData] = useState...
2
alienfetuseater/ecgpaper
9068f86
src/components/ecgFeaturesForm/FormStructure.ts
TypeScript
www.github.com/alienfetuseater/ecgpaper/tree/main/src/components/ecgFeaturesForm/FormStructure.ts
https://raw.githubusercontent.com/alienfetuseater/ecgpaper/9068f86/src/components/ecgFeaturesForm/FormStructure.ts
alienfetuseater/ecgpaper 9068f86 src/components/ecgFeaturesForm/FormStructure.ts
true
200
689
import { FormLeadProxy, formFeatureObject, leadStateObject } from 'interfaces' import Select from './Select' import FormContent from './FormContent' export default function Form( leadStore: leadStateObject[], formStore: Map<string, formFeatureObject[]>, formLeadProxy: FormLeadProxy, ): { init: HTMLFormElement } { ...
6
Geleta116/Magic-API-nest-js
ea6cb53
src/app.module.ts
TypeScript
www.github.com/Geleta116/Magic-API-nest-js/tree/main/src/app.module.ts
https://raw.githubusercontent.com/Geleta116/Magic-API-nest-js/ea6cb53/src/app.module.ts
Geleta116/Magic-API-nest-js ea6cb53 src/app.module.ts
true
200
745
import { Module } from '@nestjs/common'; import { AppController } from './app.controller'; import { AppService } from './app.service'; import { ConfigModule } from '@nestjs/config'; import { UserModule } from './user/user.module'; import { TaskModule } from './task/task.module'; import { AuthModule } from './auth/auth....
4
Cariea/VivirSaludable-backend
6374486
src/api/bot-questions/actions/add.action.ts
TypeScript
www.github.com/Cariea/VivirSaludable-backend/tree/main/src/api/bot-questions/actions/add.action.ts
https://raw.githubusercontent.com/Cariea/VivirSaludable-backend/6374486/src/api/bot-questions/actions/add.action.ts
Cariea/VivirSaludable-backend 6374486 src/api/bot-questions/actions/add.action.ts
true
200
846
import { Response } from 'express' import { pool } from '../../../database' import { STATUS } from '../../../utils/constants' import { handleControllerError } from '../../../utils/responses/handle-controller-error' import camelizeObject from '../../../utils/camelize-object' import { ExtendedRequest } from '../../../mid...
0
mochi-sann/gpt-discord-bot
3822bcd
src/models/manager.ts
TypeScript
www.github.com/mochi-sann/gpt-discord-bot/tree/main/src/models/manager.ts
https://raw.githubusercontent.com/mochi-sann/gpt-discord-bot/3822bcd/src/models/manager.ts
mochi-sann/gpt-discord-bot 3822bcd src/models/manager.ts
true
200
1,569
import { Shard, ShardingManager } from "discord.js"; import { createRequire } from "node:module"; import { Config } from "../lib/config/config.js"; import { JobService, Logger } from "../services/index.js"; const require = createRequire(import.meta.url); let Debug = require("../../config/debug.json"); let Logs = requ...
1
shoegaev/fun-chat
0e97e67
src/app-view/main-view/info-page-view/slider/slider-window/slider-window-view.ts
TypeScript
www.github.com/shoegaev/fun-chat/tree/main/src/app-view/main-view/info-page-view/slider/slider-window/slider-window-view.ts
https://raw.githubusercontent.com/shoegaev/fun-chat/0e97e67/src/app-view/main-view/info-page-view/slider/slider-window/slider-window-view.ts
shoegaev/fun-chat 0e97e67 src/app-view/main-view/info-page-view/slider/slider-window/slider-window-view.ts
true
200
2,742
import { View } from "../../../../../util/view"; import { ElementCreator, ElementParametrs, } from "../../../../../util/element-creator"; import "./slider-window-style.scss"; type Slide = { container: HTMLElement; video: HTMLVideoElement; text: HTMLElement; }; export class SliderWindowView extends View { ...
5
ovinidev/Notifications-API
ff4d951
src/app/useCases/user/CreateUser/CreateUserUseCase.ts
TypeScript
www.github.com/ovinidev/Notifications-API/tree/main/src/app/useCases/user/CreateUser/CreateUserUseCase.ts
https://raw.githubusercontent.com/ovinidev/Notifications-API/ff4d951/src/app/useCases/user/CreateUser/CreateUserUseCase.ts
ovinidev/Notifications-API ff4d951 src/app/useCases/user/CreateUser/CreateUserUseCase.ts
true
200
888
import { User, UserProps } from '../../../entities/user/user'; import { UserRepository } from '../../../repositories/UserRepository'; import { CreateUserBody } from '../../../../infra/http/dtos/createUserBody'; import { Injectable } from '@nestjs/common'; import { hash } from 'bcrypt'; @Injectable() export class Creat...
2
jingom368/executor
e59ced4
apps/job-api/src/mapper/job.profile.ts
TypeScript
www.github.com/jingom368/executor/tree/main/apps/job-api/src/mapper/job.profile.ts
https://raw.githubusercontent.com/jingom368/executor/e59ced4/apps/job-api/src/mapper/job.profile.ts
jingom368/executor e59ced4 apps/job-api/src/mapper/job.profile.ts
true
200
2,630
// job.profile.ts import { AutomapperProfile, InjectMapper } from '@automapper/nestjs'; import { createMap, forMember, mapFrom, Mapper, MappingProfile, } from '@automapper/core'; import { Injectable } from '@nestjs/common'; import { JobEntity } from '@job-api/model/job/entity/job.entity'; import { ImageRender...
7
aws-solutions/research-service-workbench-on-aws
1b7a81e
workbench-core/audit/src/metadata.ts
TypeScript
www.github.com/aws-solutions/research-service-workbench-on-aws/tree/main/workbench-core/audit/src/metadata.ts
https://raw.githubusercontent.com/aws-solutions/research-service-workbench-on-aws/1b7a81e/workbench-core/audit/src/metadata.ts
aws-solutions/research-service-workbench-on-aws 1b7a81e workbench-core/audit/src/metadata.ts
true
200
964
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ import { z } from 'zod'; import { JSONValueParser } from './auditEntry'; // eslint-disable-next-line @rushstack/typedef-var export const MetadataParser = z.record(z.any()).and( z.object({ /** ...
6
jadersonfarias/Nest-clean
244b2f3
src/domain/notification/application/use-cases/send-notification.ts
TypeScript
www.github.com/jadersonfarias/Nest-clean/tree/main/src/domain/notification/application/use-cases/send-notification.ts
https://raw.githubusercontent.com/jadersonfarias/Nest-clean/244b2f3/src/domain/notification/application/use-cases/send-notification.ts
jadersonfarias/Nest-clean 244b2f3 src/domain/notification/application/use-cases/send-notification.ts
true
200
1,097
import { UniqueEntityID } from '@/core/entitites/unique-entity-id' import { Either, right } from '@/core/either' import { Notification } from '../../enterprise/entities/notification' import { NotificationsRepository } from '../repositories/notifications-repository' import { Injectable } from '@nestjs/common' ...
4
black-dragon74/nicks-universum-ghost
749b75e
api/getAuthorBySlug.ts
TypeScript
www.github.com/black-dragon74/nicks-universum-ghost/tree/main/api/getAuthorBySlug.ts
https://raw.githubusercontent.com/black-dragon74/nicks-universum-ghost/749b75e/api/getAuthorBySlug.ts
black-dragon74/nicks-universum-ghost 749b75e api/getAuthorBySlug.ts
true
200
509
import { GhostAuthor } from "@lib/ghost" import { GhostAPI, TagAndAuthorFetchOptions } from "./config" import { createNextImage } from "./helpers" const getAuthorBySlug = async (slug: string): Promise<GhostAuthor> => { const author = await GhostAPI.authors.read({ ...TagAndAuthorFetchOptions, slug, }) con...
3
leadership-institute/force2Postgres
d25c2f0
src/sqlComparer.ts
TypeScript
www.github.com/leadership-institute/force2Postgres/tree/main/src/sqlComparer.ts
https://raw.githubusercontent.com/leadership-institute/force2Postgres/d25c2f0/src/sqlComparer.ts
leadership-institute/force2Postgres d25c2f0 src/sqlComparer.ts
true
200
4,515
import fs from 'fs/promises'; import path from 'path'; import { DescribeSObjectResult, Field } from 'jsforce'; interface PostgresColumn { name: string; type: string; isPrimaryKey: boolean; isForeignKey: boolean; references?: string; } interface PostgresTable { name: string; columns: PostgresColumn[]; } ...
0
kapil220/projectmanagement
bfc2733
pages/api/teams/[slug]/dsync/[directoryId].ts
TypeScript
www.github.com/kapil220/projectmanagement/tree/main/pages/api/teams/[slug]/dsync/[directoryId].ts
https://raw.githubusercontent.com/kapil220/projectmanagement/bfc2733/pages/api/teams/%5Bslug%5D/dsync/%5BdirectoryId%5D.ts
kapil220/projectmanagement bfc2733 pages/api/teams/[slug]/dsync/[directoryId].ts
true
200
2,814
import env from '@/lib/env'; import { throwIfNoTeamAccess } from 'models/team'; import { throwIfNotAllowed } from 'models/user'; import type { NextApiRequest, NextApiResponse } from 'next'; import { ApiError } from '@/lib/errors'; import { dsyncManager } from '@/lib/jackson/dsync'; import { sendAudit } from '@/li...
1
ananthvishnu/Recipe-Shopping-list-App
f5473c2
src/app/app-routing.module.ts
TypeScript
www.github.com/ananthvishnu/Recipe-Shopping-list-App/tree/main/src/app/app-routing.module.ts
https://raw.githubusercontent.com/ananthvishnu/Recipe-Shopping-list-App/f5473c2/src/app/app-routing.module.ts
ananthvishnu/Recipe-Shopping-list-App f5473c2 src/app/app-routing.module.ts
true
200
371
import { NgModule } from '@angular/core'; import { Routes, RouterModule, PreloadAllModules } from '@angular/router'; const appRoutes: Routes = [ { path: '', redirectTo: '/recipes', pathMatch: 'full' }, ]; @NgModule({ imports: [RouterModule.forRoot(appRoutes, {preloadingStrategy: PreloadAllModules})], exports: [...
5
joesobo/PoleskiPortfolioV2
c3649f4
src/data/notes.ts
TypeScript
www.github.com/joesobo/PoleskiPortfolioV2/tree/main/src/data/notes.ts
https://raw.githubusercontent.com/joesobo/PoleskiPortfolioV2/c3649f4/src/data/notes.ts
joesobo/PoleskiPortfolioV2 c3649f4 src/data/notes.ts
true
200
1,954
export type Note = { title: string content?: string children?: Note[] } const rawNotes = import.meta.glob('../notes/**/*.md', { eager: true, as: 'raw', }) const noteTitles = Object.keys(rawNotes) const cleanNote = (index: number) => { const titleArray = noteTitles[index].split('/') // Add title t...
6
rudrodip/whatdoyouwant
cad1ec3
src/lib/utils.ts
TypeScript
www.github.com/rudrodip/whatdoyouwant/tree/main/src/lib/utils.ts
https://raw.githubusercontent.com/rudrodip/whatdoyouwant/cad1ec3/src/lib/utils.ts
rudrodip/whatdoyouwant cad1ec3 src/lib/utils.ts
true
200
354
import { siteConfig } from "@/config/site.config"; import { type ClassValue, clsx } from "clsx"; import { twMerge } from "tailwind-merge"; export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)); } export function getBasePath() { return process.env.NODE_ENV === "production" ? siteConfig.url...
4
zhanghuan-123/zm-model
dca6875
src/api/index.ts
TypeScript
www.github.com/zhanghuan-123/zm-model/tree/main/src/api/index.ts
https://raw.githubusercontent.com/zhanghuan-123/zm-model/dca6875/src/api/index.ts
zhanghuan-123/zm-model dca6875 src/api/index.ts
true
200
986
import axios from 'axios'; import Http from "@/services/axios"; function getFlowChartData() { return new Promise((resolve, reject) => { axios.get('api/getFlowChartData').then(resolve).catch(reject); }); } function getMenuData() { return new Promise((resolve, reject) => { axios.get('api/getMenuData').the...
3
marinopalsson/monerium-open-sesame
cba94c6
src/index.ts
TypeScript
www.github.com/marinopalsson/monerium-open-sesame/tree/main/src/index.ts
https://raw.githubusercontent.com/marinopalsson/monerium-open-sesame/cba94c6/src/index.ts
marinopalsson/monerium-open-sesame cba94c6 src/index.ts
true
200
2,154
import axios from "axios"; import WebSocket from "ws"; import { MoneriumClient } from "@monerium/sdk"; const client = new MoneriumClient(); const clientId = "YOUR_CLIENT_ID"; const clientSecret = "YOUR_CLIENT_SECRET"; const actionWebhookUrl = "YOUR_ACTION_WEBHOOK_URL"; const scope = "orders:read"; const tokenUrl = "h...
0
TheFabi8A/octo-stylist
cd5199b
src/Components/Main/index.ts
TypeScript
www.github.com/TheFabi8A/octo-stylist/tree/main/src/Components/Main/index.ts
https://raw.githubusercontent.com/TheFabi8A/octo-stylist/cd5199b/src/Components/Main/index.ts
TheFabi8A/octo-stylist cd5199b src/Components/Main/index.ts
true
200
871
import { FormEvent, SetStateAction, useContext, useEffect } from "react"; import { Context } from "../../Context"; export default function Index() { const { setUserName, errorFetch, setErrorMessage, queryInput, setQueryInput, } = useContext(Context); const onChangeInput = (e: { target: { val...
2
relicary/gifs-app-19
9b64020
src/app/gifs/components/gif-list/gif-list.component.ts
TypeScript
www.github.com/relicary/gifs-app-19/tree/main/src/app/gifs/components/gif-list/gif-list.component.ts
https://raw.githubusercontent.com/relicary/gifs-app-19/9b64020/src/app/gifs/components/gif-list/gif-list.component.ts
relicary/gifs-app-19 9b64020 src/app/gifs/components/gif-list/gif-list.component.ts
true
200
406
import { Component, input, InputSignal } from '@angular/core'; import { GifListItemComponent } from "./gif-list-item/gif-list-item.component"; import { Gif } from '../../interfaces/gif.interface'; @Component({ selector: 'gif-list', imports: [GifListItemComponent], templateUrl: './gif-list.component.html', }) exp...
1
Matheus8174/RentalX
7373ca9
src/modules/accounts/useCases/createUser/CreateUserController.ts
TypeScript
www.github.com/Matheus8174/RentalX/tree/main/src/modules/accounts/useCases/createUser/CreateUserController.ts
https://raw.githubusercontent.com/Matheus8174/RentalX/7373ca9/src/modules/accounts/useCases/createUser/CreateUserController.ts
Matheus8174/RentalX 7373ca9 src/modules/accounts/useCases/createUser/CreateUserController.ts
true
200
553
import { Request, Response } from 'express'; import { container } from 'tsyringe'; import CreateUserUseCase from './CreateUserUseCase'; class CreateUserController { public async execute(request: Request, response: Response) { const { name, password, email, driver_license } = request.body; const createUserU...
6
ahsanz1/lazurde-storefront-improved
4e07763
pages/api/promo/evaluate-promotions/index.ts
TypeScript
www.github.com/ahsanz1/lazurde-storefront-improved/tree/main/pages/api/promo/evaluate-promotions/index.ts
https://raw.githubusercontent.com/ahsanz1/lazurde-storefront-improved/4e07763/pages/api/promo/evaluate-promotions/index.ts
ahsanz1/lazurde-storefront-improved 4e07763 pages/api/promo/evaluate-promotions/index.ts
true
200
264
export default async function handler(req: any, res: any) { try { // res.send(pdpMockData?.evaluatePromo); } catch (error) { console.log("Error fetching price: ", error); res.status(400).json({ message: (error as any).message, }); } }
4
Dung-kun/cheems-angular-web
0ca0a23
src/app/data/models/notification-model.model.ts
TypeScript
www.github.com/Dung-kun/cheems-angular-web/tree/main/src/app/data/models/notification-model.model.ts
https://raw.githubusercontent.com/Dung-kun/cheems-angular-web/0ca0a23/src/app/data/models/notification-model.model.ts
Dung-kun/cheems-angular-web 0ca0a23 src/app/data/models/notification-model.model.ts
true
200
298
export class NotificationModel { constructor( public id: number, public type: NotificationModelType, public title: string, public message: string, public timeout: number, ) { } } export enum NotificationModelType { success = 0, warning = 1, error = 2, info = 3 }
7
VictorNorman/whoswho
2d3786b
src/main.ts
TypeScript
www.github.com/VictorNorman/whoswho/tree/main/src/main.ts
https://raw.githubusercontent.com/VictorNorman/whoswho/2d3786b/src/main.ts
VictorNorman/whoswho 2d3786b src/main.ts
true
200
2,153
import { bootstrapApplication } from '@angular/platform-browser'; import { RouteReuseStrategy, provideRouter, withPreloading, PreloadAllModules } from '@angular/router'; import { IonicRouteStrategy, provideIonicAngular } from '@ionic/angular/standalone'; import { routes } from './app/app.routes'; import { AppComponent...
3
vesna1010/spring_boot_angular1
254dcc4
quiz/src/app/directive/table-style.directive.spec.ts
TypeScript
www.github.com/vesna1010/spring_boot_angular1/tree/main/quiz/src/app/directive/table-style.directive.spec.ts
https://raw.githubusercontent.com/vesna1010/spring_boot_angular1/254dcc4/quiz/src/app/directive/table-style.directive.spec.ts
vesna1010/spring_boot_angular1 254dcc4 quiz/src/app/directive/table-style.directive.spec.ts
true
200
1,475
import { Component, DebugElement } from '@angular/core'; import { TestBed, ComponentFixture } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { TableStyleDirective } from './table-style.directive'; @Component({ template: `<table tableStyle> <thead> <tr><th>ID</th>...
2
bhxshxn/rapid
24a4b74
src/app/components/adveatiser/create-adveatiser/create-adveatiser.component.ts
TypeScript
www.github.com/bhxshxn/rapid/tree/main/src/app/components/adveatiser/create-adveatiser/create-adveatiser.component.ts
https://raw.githubusercontent.com/bhxshxn/rapid/24a4b74/src/app/components/adveatiser/create-adveatiser/create-adveatiser.component.ts
bhxshxn/rapid 24a4b74 src/app/components/adveatiser/create-adveatiser/create-adveatiser.component.ts
true
200
3,085
import { HttpHeaders } from '@angular/common/http'; import { Component, OnInit, ViewChild, Output, EventEmitter, } from '@angular/core'; import { FormControl, FormGroup, Validators, NgForm, FormBuilder, } from '@angular/forms'; import { Router } from '@angular/router'; import { AdveatiserS...
0
ArthurFelipePallu/DevSuperiorFormFilterExercise
7f9b206
src/Utils/system.ts
TypeScript
www.github.com/ArthurFelipePallu/DevSuperiorFormFilterExercise/tree/main/src/Utils/system.ts
https://raw.githubusercontent.com/ArthurFelipePallu/DevSuperiorFormFilterExercise/7f9b206/src/Utils/system.ts
ArthurFelipePallu/DevSuperiorFormFilterExercise 7f9b206 src/Utils/system.ts
true
200
553
export const BASE_URL = "http://localhost:8080"; export const GIT_NAME = "GIT"; export const SPRING_TOOL_NAME = "SPRINGTOOL"; export const LOCALSTORAGE_USER_INFO_KEY = "com.devora.devcom/User"; export const INVALID_MIN_VALUE_WARNING_MESSAGE ="Warning: minValue not informed, it was set to the Minimum possible value";...
1
HirotoShioi/whisperer-ai
06f0394
src/utils/local-storage.ts
TypeScript
www.github.com/HirotoShioi/whisperer-ai/tree/main/src/utils/local-storage.ts
https://raw.githubusercontent.com/HirotoShioi/whisperer-ai/06f0394/src/utils/local-storage.ts
HirotoShioi/whisperer-ai 06f0394 src/utils/local-storage.ts
true
200
344
// src/utils/localStorageUtils.ts export const saveToLocalStorage = (key: string, value: string) => { localStorage.setItem(key, value); }; export const loadFromLocalStorage = (key: string): string | null => { return localStorage.getItem(key); }; export const deleteFromLocalStorage = (key: string) => { localStor...
6
rwitz3/Portfolio1
56caae0
Frontend/src/app/app-routing.module.ts
TypeScript
www.github.com/rwitz3/Portfolio1/tree/main/Frontend/src/app/app-routing.module.ts
https://raw.githubusercontent.com/rwitz3/Portfolio1/56caae0/Frontend/src/app/app-routing.module.ts
rwitz3/Portfolio1 56caae0 Frontend/src/app/app-routing.module.ts
true
200
1,343
import { RouterModule, Routes } from '@angular/router'; import { AboutComponent } from './about/about.component'; import { LandingPageComponent } from './landing-page/landing-page.component'; import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from "@angular/core"; import { BrowserAnimationsModule } from "@angular/platform-br...
4
QurbonbekovaSabira/Adminka
38704ab
src/pages/atribute/service/mutation/usePatchAtribute-value.ts
TypeScript
www.github.com/QurbonbekovaSabira/Adminka/tree/main/src/pages/atribute/service/mutation/usePatchAtribute-value.ts
https://raw.githubusercontent.com/QurbonbekovaSabira/Adminka/38704ab/src/pages/atribute/service/mutation/usePatchAtribute-value.ts
QurbonbekovaSabira/Adminka 38704ab src/pages/atribute/service/mutation/usePatchAtribute-value.ts
true
200
846
import { useMutation } from "@tanstack/react-query"; import { requst } from "../../../../config/request"; interface Type { id: number; attribute: string; value: string[]; } interface Props { data: { count: number; next: null | string; previous: null | string; results: { id: number | undef...
7
LucidLynxxx/studylink-II
ca29f12
frontend/src/app/app.module.ts
TypeScript
www.github.com/LucidLynxxx/studylink-II/tree/main/frontend/src/app/app.module.ts
https://raw.githubusercontent.com/LucidLynxxx/studylink-II/ca29f12/frontend/src/app/app.module.ts
LucidLynxxx/studylink-II ca29f12 frontend/src/app/app.module.ts
true
200
1,981
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; import { ReactiveFormsModule } from '@angular/forms'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { Hea...
3
ratnesh94617/hotelinventoryapp-2
5bf74b5
src/app/rooms/services/rooms.service.ts
TypeScript
www.github.com/ratnesh94617/hotelinventoryapp-2/tree/main/src/app/rooms/services/rooms.service.ts
https://raw.githubusercontent.com/ratnesh94617/hotelinventoryapp-2/5bf74b5/src/app/rooms/services/rooms.service.ts
ratnesh94617/hotelinventoryapp-2 5bf74b5 src/app/rooms/services/rooms.service.ts
true
200
1,547
import { Inject, Injectable } from '@angular/core'; import { RoomList } from '../rooms'; import {environment} from '../../../environments/environment'; import { APP_SERVICE_CONFIG } from '../../AppConfig/appconfig.service'; import { AppConfig } from 'src/app/AppConfig/appconfig.interface'; import { HttpClient, HttpHead...
2
theboostkid/Dispatchja-Dashboard
51b6187
dashboard-api/src/main.ts
TypeScript
www.github.com/theboostkid/Dispatchja-Dashboard/tree/main/dashboard-api/src/main.ts
https://raw.githubusercontent.com/theboostkid/Dispatchja-Dashboard/51b6187/dashboard-api/src/main.ts
theboostkid/Dispatchja-Dashboard 51b6187 dashboard-api/src/main.ts
true
200
1,230
import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; import { ValidationPipe } from '@nestjs/common'; import * as cookieParser from 'cookie-parser'; import { WinstonModule } from 'nest-winston'; import * as winston from 'winston'; import DailyRotateFile = require('winston-daily-rotate-f...
5
joedysonbezerra/trakto-technical-test
6ae119d
src/app/components/forms/form-create-class/form-create-class.component.ts
TypeScript
www.github.com/joedysonbezerra/trakto-technical-test/tree/main/src/app/components/forms/form-create-class/form-create-class.component.ts
https://raw.githubusercontent.com/joedysonbezerra/trakto-technical-test/6ae119d/src/app/components/forms/form-create-class/form-create-class.component.ts
joedysonbezerra/trakto-technical-test 6ae119d src/app/components/forms/form-create-class/form-create-class.component.ts
true
200
943
import { Component, OnInit } from "@angular/core"; import { FormGroup, FormControl } from "@angular/forms"; interface Teacher { value: string; viewValue: string; } @Component({ selector: "app-form-create-class", templateUrl: "./form-create-class.component.html", styleUrls: ["./form-create-class.component.cs...
0
mauricioaznar/nestjs-inopack-graphql
7da20fa
src/common/dto/entities/maintenance/spare.dto.ts
TypeScript
www.github.com/mauricioaznar/nestjs-inopack-graphql/tree/main/src/common/dto/entities/maintenance/spare.dto.ts
https://raw.githubusercontent.com/mauricioaznar/nestjs-inopack-graphql/7da20fa/src/common/dto/entities/maintenance/spare.dto.ts
mauricioaznar/nestjs-inopack-graphql 7da20fa src/common/dto/entities/maintenance/spare.dto.ts
true
200
537
import { Field, InputType, Int, ObjectType } from '@nestjs/graphql'; @ObjectType({ isAbstract: true }) @InputType({ isAbstract: true }) export class SpareBase { @Field() name: string; @Field(() => Int, { nullable: true }) spare_category_id: number | null; } @InputType('SpareUpsertInput') export class...
4
wangzhihui12/app-admin
7aff1c7
src/modules/config/config.service.ts
TypeScript
www.github.com/wangzhihui12/app-admin/tree/main/src/modules/config/config.service.ts
https://raw.githubusercontent.com/wangzhihui12/app-admin/7aff1c7/src/modules/config/config.service.ts
wangzhihui12/app-admin 7aff1c7 src/modules/config/config.service.ts
true
200
1,351
import { Injectable, Inject } from '@nestjs/common' import { PrismaService } from 'nestjs-prisma' import { RESPONSE_CODE } from '../../common/enums' @Injectable() export class ConfigService { constructor( @Inject(PrismaService) private readonly prisma: PrismaService // private connection: Connection, ) {} ...
6
lariosleon/vuce_cp
867c0d2
vuce-cp-ui-sidebar-feature-VUCEPERPAM-Integracion/src/app/components/buque2/buque2.component.spec.ts
TypeScript
www.github.com/lariosleon/vuce_cp/tree/main/vuce-cp-ui-sidebar-feature-VUCEPERPAM-Integracion/src/app/components/buque2/buque2.component.spec.ts
https://raw.githubusercontent.com/lariosleon/vuce_cp/867c0d2/vuce-cp-ui-sidebar-feature-VUCEPERPAM-Integracion/src/app/components/buque2/buque2.component.spec.ts
lariosleon/vuce_cp 867c0d2 vuce-cp-ui-sidebar-feature-VUCEPERPAM-Integracion/src/app/components/buque2/buque2.component.spec.ts
true
200
1,314
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { Buque2Component } from './buque2.component'; describe('Buque2Component', () => { let component: Buque2Component; let fixture: ComponentFixture<Buque2Component>; beforeEach(async () => { ...
7
IrhaAli/health-track
1eebc66
types/track.ts
TypeScript
www.github.com/IrhaAli/health-track/tree/main/types/track.ts
https://raw.githubusercontent.com/IrhaAli/health-track/1eebc66/types/track.ts
IrhaAli/health-track 1eebc66 types/track.ts
true
200
2,202
// Base interface for common fields interface BaseDataEntry { id?: string; user_id: string; date?: string | Date; } // Type guard for base fields const hasBaseFields = (obj: any): obj is BaseDataEntry => ( obj && typeof obj === 'object' && 'id' in obj && 'user_id' in obj ); export interface WaterDataEn...
3
EMEZYK/ALE-KINO
9e2f238
src/app/domains/booking/tickets/tickets.api.service.ts
TypeScript
www.github.com/EMEZYK/ALE-KINO/tree/main/src/app/domains/booking/tickets/tickets.api.service.ts
https://raw.githubusercontent.com/EMEZYK/ALE-KINO/9e2f238/src/app/domains/booking/tickets/tickets.api.service.ts
EMEZYK/ALE-KINO 9e2f238 src/app/domains/booking/tickets/tickets.api.service.ts
true
200
343
import { HttpClient } from '@angular/common/http'; import { inject, Injectable } from '@angular/core'; import { TicketType } from './ticket.interface'; @Injectable({ providedIn: 'root', }) export class TicketsApiService { private http = inject(HttpClient); getTickets() { return this.http.get<TicketType[]>(...
1
bluelovers/ws-regexp
a6b408e
packages/@lazy-cjk/zh-table-greedy/test/script/build-commit.ts
TypeScript
www.github.com/bluelovers/ws-regexp/tree/main/packages/@lazy-cjk/zh-table-greedy/test/script/build-commit.ts
https://raw.githubusercontent.com/bluelovers/ws-regexp/a6b408e/packages/%40lazy-cjk/zh-table-greedy/test/script/build-commit.ts
bluelovers/ws-regexp a6b408e packages/@lazy-cjk/zh-table-greedy/test/script/build-commit.ts
true
200
1,294
/** * Created by user on 2020/5/27. */ import { crossSpawnGitAsync } from '@git-lazy/spawn'; import { join } from 'path'; import { outputJSON } from 'fs-extra'; import { tryBuild } from './util'; const __root = join(__dirname, '../..'); (async () => { const _cache_file = join(__root, 'test', 'cache', 'keys.json')...
2
chedda-tech/market-frontend
c4fe3c4
src/app/shared/components/lend-button/lend-button.component.spec.ts
TypeScript
www.github.com/chedda-tech/market-frontend/tree/main/src/app/shared/components/lend-button/lend-button.component.spec.ts
https://raw.githubusercontent.com/chedda-tech/market-frontend/c4fe3c4/src/app/shared/components/lend-button/lend-button.component.spec.ts
chedda-tech/market-frontend c4fe3c4 src/app/shared/components/lend-button/lend-button.component.spec.ts
true
200
725
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { IonicModule } from '@ionic/angular'; import { LendButtonComponent } from './lend-button.component'; describe('LendButtonComponent', () => { let component: LendButtonComponent; let fixture: ComponentFixture<LendButtonComponen...
5
Hamzaoutdoors/Learn_NestJS
1891734
src/auth/auth.service.ts
TypeScript
www.github.com/Hamzaoutdoors/Learn_NestJS/tree/main/src/auth/auth.service.ts
https://raw.githubusercontent.com/Hamzaoutdoors/Learn_NestJS/1891734/src/auth/auth.service.ts
Hamzaoutdoors/Learn_NestJS 1891734 src/auth/auth.service.ts
true
200
2,471
import { ForbiddenException, Injectable } from "@nestjs/common"; import { PrismaService } from "src/prisma/prisma.service"; import * as argon from 'argon2'; import { AuthDto } from "./dto"; import { PrismaClientKnownRequestError } from "@prisma/client/runtime"; import { ConfigService } from "@nestjs/config"; import { J...
0
sladdky/asset-optimizer
8c66897
backend/src/core/compositions/applyPresetsToFileComposition.ts
TypeScript
www.github.com/sladdky/asset-optimizer/tree/main/backend/src/core/compositions/applyPresetsToFileComposition.ts
https://raw.githubusercontent.com/sladdky/asset-optimizer/8c66897/backend/src/core/compositions/applyPresetsToFileComposition.ts
sladdky/asset-optimizer 8c66897 backend/src/core/compositions/applyPresetsToFileComposition.ts
true
200
2,120
import { log } from '../../logger'; import { PresetRepository, PresetRuleRepository, RuleRepository } from '../repositories'; import { AssetOptimizerFile, AssetOptimizerRuleDef } from '../types'; type Props = { ruleDefs: AssetOptimizerRuleDef[]; components: { presetRepository: PresetRepository; presetRuleReposit...
7
kilroyblockchain/bta-backend
7d7084d
src/components/app-user/user/user.module.ts
TypeScript
www.github.com/kilroyblockchain/bta-backend/tree/main/src/components/app-user/user/user.module.ts
https://raw.githubusercontent.com/kilroyblockchain/bta-backend/7d7084d/src/components/app-user/user/user.module.ts
kilroyblockchain/bta-backend 7d7084d src/components/app-user/user/user.module.ts
true
200
2,051
import { MongooseModule } from '@nestjs/mongoose'; import { UserSchema } from './schemas/user.schema'; import { forwardRef, Module } from '@nestjs/common'; import { UserController } from './user.controller'; import { UserService } from './user.service'; import { AuthModule } from 'src/components/auth/auth.module'; impo...
3
GuiOrlandin/todo-test-fullstack
086b9a1
todo-test-web/src/hooks/findAllTasksOfUserFetch.ts
TypeScript
www.github.com/GuiOrlandin/todo-test-fullstack/tree/main/todo-test-web/src/hooks/findAllTasksOfUserFetch.ts
https://raw.githubusercontent.com/GuiOrlandin/todo-test-fullstack/086b9a1/todo-test-web/src/hooks/findAllTasksOfUserFetch.ts
GuiOrlandin/todo-test-fullstack 086b9a1 todo-test-web/src/hooks/findAllTasksOfUserFetch.ts
true
200
529
import { Task } from "@/app/page"; interface findAllTasksOfUserGetProps { token: string; } export const findAllTasksOfUserGet = async ({ token, }: findAllTasksOfUserGetProps): Promise<Task[]> => { let response = await fetch("http://localhost:3333/task", { method: "GET", headers: { Authorization: `...
1
imbitubadigital/whiz-app
d736b37
src/contexts/auth/interfaces.ts
TypeScript
www.github.com/imbitubadigital/whiz-app/tree/main/src/contexts/auth/interfaces.ts
https://raw.githubusercontent.com/imbitubadigital/whiz-app/d736b37/src/contexts/auth/interfaces.ts
imbitubadigital/whiz-app d736b37 src/contexts/auth/interfaces.ts
true
200
1,090
export interface DataUserProps { name: string; schoolId: string; house: string; email: string; password: string; subjects: string[]; tour: boolean; isLogged: boolean; } export interface CreateUserStepOneProps { name: string; schoolId: string; } export interface CreateUserStepThreeProps { email: s...
2
Preetb71/SENG8070_FinalProject
f544842
persistence-service/backend/src/strategy/postgresql/employeeCategory/employeeCategoryApi.ts
TypeScript
www.github.com/Preetb71/SENG8070_FinalProject/tree/main/persistence-service/backend/src/strategy/postgresql/employeeCategory/employeeCategoryApi.ts
https://raw.githubusercontent.com/Preetb71/SENG8070_FinalProject/f544842/persistence-service/backend/src/strategy/postgresql/employeeCategory/employeeCategoryApi.ts
Preetb71/SENG8070_FinalProject f544842 persistence-service/backend/src/strategy/postgresql/employeeCategory/employeeCategoryApi.ts
true
200
7,530
import { Express } from "express"; import { DataSource } from "typeorm"; import { EmployeeCategory } from "./employeeCategory"; import { parse } from "path"; import { request } from "http"; import { Employee } from "../employee/employee"; import { error } from "console"; import { Driver } from "../driver"; import { Mec...
4
whoisjordangarcia/item-sniffer
8e0a722
src/app/app.module.ts
TypeScript
www.github.com/whoisjordangarcia/item-sniffer/tree/main/src/app/app.module.ts
https://raw.githubusercontent.com/whoisjordangarcia/item-sniffer/8e0a722/src/app/app.module.ts
whoisjordangarcia/item-sniffer 8e0a722 src/app/app.module.ts
true
200
327
import * as common from "@nestjs/common"; import { AppController } from "./app.controller"; import { AppService } from "./app.service"; import { FormaService } from "src/forma/forma.service"; @common.Module({ imports: [], controllers: [AppController], providers: [AppService, FormaService], }) export class AppMod...
0
whpptjs/whppt-api-express
b014243
src/modules/order/addGuestToOrder.ts
TypeScript
www.github.com/whpptjs/whppt-api-express/tree/main/src/modules/order/addGuestToOrder.ts
https://raw.githubusercontent.com/whpptjs/whppt-api-express/b014243/src/modules/order/addGuestToOrder.ts
whpptjs/whppt-api-express b014243 src/modules/order/addGuestToOrder.ts
true
200
2,014
import { HttpModule } from '../HttpModule'; import { Order } from './Models/Order'; import { loadOrder } from './Queries/loadOrder'; import assert from 'assert'; import { assign } from 'lodash'; import { createContactAndPublish } from '../contact/Common/CreateContact'; import { Contact } from '../contact/Models/Contact...
6
vran-dev/obsidian-contribution-graph
8a4a85c
src/query/dataviewTaskDataSourceQuery.ts
TypeScript
www.github.com/vran-dev/obsidian-contribution-graph/tree/main/src/query/dataviewTaskDataSourceQuery.ts
https://raw.githubusercontent.com/vran-dev/obsidian-contribution-graph/8a4a85c/src/query/dataviewTaskDataSourceQuery.ts
vran-dev/obsidian-contribution-graph 8a4a85c src/query/dataviewTaskDataSourceQuery.ts
true
200
3,426
import { DataArray, DataviewApi, Literal } from "obsidian-dataview"; import { BaseDataviewDataSourceQuery } from "./baseDataviewSourceQuery"; import { DataFilter, DataSource, PropertySource } from "./types"; export class DataviewTaskDataSourceQuery extends BaseDataviewDataSourceQuery { accept(source: DataSource): boo...
1
lumiknit/kitl
9f220eb
front/src/common/kitl/defs.ts
TypeScript
www.github.com/lumiknit/kitl/tree/main/front/src/common/kitl/defs.ts
https://raw.githubusercontent.com/lumiknit/kitl/9f220eb/front/src/common/kitl/defs.ts
lumiknit/kitl 9f220eb front/src/common/kitl/defs.ts
true
200
1,913
import { fassertArrayOf, fassertOptional, fassertString } from "../assert"; import { Node, Source, loadNode, loadSource } from "./base"; export const VERSION = "0.0"; export const DEF_TYPES = ["value", "tag", "type", "alias"]; export type ValueDef = { type: "value"; nodes: Node[]; val?: Source; comment: string; ...
5
AlphaDesnoc/BigBrother
ace0127
app/src/data/webSocketSpigot.ts
TypeScript
www.github.com/AlphaDesnoc/BigBrother/tree/main/app/src/data/webSocketSpigot.ts
https://raw.githubusercontent.com/AlphaDesnoc/BigBrother/ace0127/app/src/data/webSocketSpigot.ts
AlphaDesnoc/BigBrother ace0127 app/src/data/webSocketSpigot.ts
true
200
865
export function connectWebSocketSpigot(shouldReconnect = true): Promise<WebSocket | boolean> { return new Promise((resolve, reject) => { let ws = new WebSocket('ws://45.147.98.228:8080'); ws.onopen = () => { console.log('Connected to server'); resolve(ws); };...
0
ahmadk953/tasko
50e267c
actions/update-card/schema.ts
TypeScript
www.github.com/ahmadk953/tasko/tree/main/actions/update-card/schema.ts
https://raw.githubusercontent.com/ahmadk953/tasko/50e267c/actions/update-card/schema.ts
ahmadk953/tasko 50e267c actions/update-card/schema.ts
true
200
810
import { z } from 'zod'; export const UpdateCard = z.object({ boardId: z.string(), description: z.optional( z .string({ invalid_type_error: 'Description must be a string', required_error: 'Description is required', }) .min(3, { message: 'Description must be at least 3 ...
4
Bilal160/Task-Analytica
c744b7f
frontend/src/apis/itemApis.ts
TypeScript
www.github.com/Bilal160/Task-Analytica/tree/main/frontend/src/apis/itemApis.ts
https://raw.githubusercontent.com/Bilal160/Task-Analytica/c744b7f/frontend/src/apis/itemApis.ts
Bilal160/Task-Analytica c744b7f frontend/src/apis/itemApis.ts
true
200
1,379
import axios from "axios"; import { toast } from "react-toastify"; import { Failure, Start, Success } from "../redx/slices/itemSlice"; export const addItem = async ( data: object, isLoading: Function, event: any ) => { isLoading(true); try { const response = await axios.post( `${import.meta.env.VIT...
2
Artorys/API_SOLID_NodeJs
339f13b
src/repositories/User/implementations/UserRepository.ts
TypeScript
www.github.com/Artorys/API_SOLID_NodeJs/tree/main/src/repositories/User/implementations/UserRepository.ts
https://raw.githubusercontent.com/Artorys/API_SOLID_NodeJs/339f13b/src/repositories/User/implementations/UserRepository.ts
Artorys/API_SOLID_NodeJs 339f13b src/repositories/User/implementations/UserRepository.ts
true
200
921
import {PrismaClient } from "@prisma/client"; import { IUserRepository, IUserRepositoryCreate, IUserRepositoryRead } from "../IUserRepository"; export class UserRepository implements IUserRepository{ constructor(private prismaClient: PrismaClient){} async save(user: IUserRepositoryCreate): Promise<IUserReposit...
3
Yukiniro/dessin
7173297
playground/src/store/createTopbarStore.ts
TypeScript
www.github.com/Yukiniro/dessin/tree/main/playground/src/store/createTopbarStore.ts
https://raw.githubusercontent.com/Yukiniro/dessin/7173297/playground/src/store/createTopbarStore.ts
Yukiniro/dessin 7173297 playground/src/store/createTopbarStore.ts
true
200
2,091
import { SetState, GetState } from 'zustand'; import { MyState } from '.'; import { COMMAND, execute } from '../core'; import { Pos, OperateType } from '../types'; interface TopbarState { backgroundColor: string; operateType: OperateType; deleteDisabled: boolean; groupDisabled: boolean; groupType: 'group' | ...
6
licorace/vue-admin-ts
4c5d52e
src/base-ui/echart/hooks/useEchart.ts
TypeScript
www.github.com/licorace/vue-admin-ts/tree/main/src/base-ui/echart/hooks/useEchart.ts
https://raw.githubusercontent.com/licorace/vue-admin-ts/4c5d52e/src/base-ui/echart/hooks/useEchart.ts
licorace/vue-admin-ts 4c5d52e src/base-ui/echart/hooks/useEchart.ts
true
200
645
import * as echarts from "echarts" import ChinaMapData from "../data/china.json" echarts.registerMap("china", ChinaMapData) export default function (el: HTMLDivElement, theme = "light") { //初始化echarts const echartInstance = echarts.init(el, theme, { renderer: "svg" }) // 设置options const setOptions = (option...
0
blacknred/be-taskapp
84e8528
apps/issue-query-svc/src/sprints/queries/handlers/get-sprints.handler.ts
TypeScript
www.github.com/blacknred/be-taskapp/tree/main/apps/issue-query-svc/src/sprints/queries/handlers/get-sprints.handler.ts
https://raw.githubusercontent.com/blacknred/be-taskapp/84e8528/apps/issue-query-svc/src/sprints/queries/handlers/get-sprints.handler.ts
blacknred/be-taskapp 84e8528 apps/issue-query-svc/src/sprints/queries/handlers/get-sprints.handler.ts
true
200
679
import { EntityRepository } from '@mikro-orm/core'; import { InjectRepository } from '@mikro-orm/nestjs'; import { IQueryHandler, QueryHandler } from '@nestjs/cqrs'; import { SprintsResponseDto } from '../../dto'; import { Sprint } from '../../entities'; import { GetSprintsQuery } from '../impl'; @QueryHandler(GetSpri...
5
AndrewJiao/property_management_web
03b2d5b
src/redux/approve/dto.ts
TypeScript
www.github.com/AndrewJiao/property_management_web/tree/main/src/redux/approve/dto.ts
https://raw.githubusercontent.com/AndrewJiao/property_management_web/03b2d5b/src/redux/approve/dto.ts
AndrewJiao/property_management_web 03b2d5b src/redux/approve/dto.ts
true
200
1,261
import {DateRangeType} from "../../utils"; export interface ApproveDto<T extends ApproveData = any> { id: number; orderNo: string; approveState: ApproveState; approveStateDesc: string; approveType: ApproveType; approveTypeDesc: string; approveData: T; comment?: string; createBy: str...
7
AniTrend/on-the-edge
1899c83
src/series/service/tmdb/utils/image-provider.test.ts
TypeScript
www.github.com/AniTrend/on-the-edge/tree/main/src/series/service/tmdb/utils/image-provider.test.ts
https://raw.githubusercontent.com/AniTrend/on-the-edge/1899c83/src/series/service/tmdb/utils/image-provider.test.ts
AniTrend/on-the-edge 1899c83 src/series/service/tmdb/utils/image-provider.test.ts
true
200
2,690
import { assertEquals } from 'std/assert'; import { describe, it } from 'std/testing/bdd'; import { ImageProvider, ImageProviderType } from './image-provider.ts'; import { Image } from '../remote/types.ts'; describe('ImageProvider', () => { const provider = new ImageProvider( { change_keys: [], image...
1
TalhaShan/EcommerceShop-Spring-Angular
872d73d
frontend/Angular-demo-project/src/app/components/checkout/checkout.component.ts
TypeScript
www.github.com/TalhaShan/EcommerceShop-Spring-Angular/tree/main/frontend/Angular-demo-project/src/app/components/checkout/checkout.component.ts
https://raw.githubusercontent.com/TalhaShan/EcommerceShop-Spring-Angular/872d73d/frontend/Angular-demo-project/src/app/components/checkout/checkout.component.ts
TalhaShan/EcommerceShop-Spring-Angular 872d73d frontend/Angular-demo-project/src/app/components/checkout/checkout.component.ts
true
200
12,894
import { Component, OnInit } from '@angular/core'; import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms'; import { Router } from '@angular/router'; import { Country } from 'src/app/common/country'; import { Order } from 'src/app/common/order'; import { OrderItem } from 'src/app/common/order-i...
2
FlorLutz/bike-help
a4d52c7
src/app/api/auth/[...nextauth]/route.ts
TypeScript
www.github.com/FlorLutz/bike-help/tree/main/src/app/api/auth/[...nextauth]/route.ts
https://raw.githubusercontent.com/FlorLutz/bike-help/a4d52c7/src/app/api/auth/%5B...nextauth%5D/route.ts
FlorLutz/bike-help a4d52c7 src/app/api/auth/[...nextauth]/route.ts
true
200
548
import NextAuth from "next-auth"; import { options } from "./options"; const handler = NextAuth(options); export { handler as GET, handler as POST }; // custom pages for sginin/sign out etc or use can be set in options // export const authOptions = { // // Configure one or more authentication providers // provi...
4