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
biguapp/bigu-backend-nest
21cef13
src/roles/roles.guard.ts
TypeScript
www.github.com/biguapp/bigu-backend-nest/tree/main/src/roles/roles.guard.ts
https://raw.githubusercontent.com/biguapp/bigu-backend-nest/21cef13/src/roles/roles.guard.ts
biguapp/bigu-backend-nest 21cef13 src/roles/roles.guard.ts
true
200
1,503
import { Injectable, CanActivate, ExecutionContext } from '@nestjs/common'; import { Reflector } from '@nestjs/core'; import { Role } from '../enums/enum'; import { ROLES_KEY } from './roles.decorator'; import { JwtService } from '@nestjs/jwt'; import { UserService } from '../user/user.service'; import { jwtConstants }...
6
tehrim498/Informa-Aviation
72ff5c1
cypress/e2e/tests/registerTest.cy.ts
TypeScript
www.github.com/tehrim498/Informa-Aviation/tree/main/cypress/e2e/tests/registerTest.cy.ts
https://raw.githubusercontent.com/tehrim498/Informa-Aviation/72ff5c1/cypress/e2e/tests/registerTest.cy.ts
tehrim498/Informa-Aviation 72ff5c1 cypress/e2e/tests/registerTest.cy.ts
true
200
620
import { registerPage } from "../../Pages/registerPage" import registerData from '../../fixtures/registerData.json' const registerObj = new registerPage() describe('Test Automation', () =>{ it('Register Flow', () =>{ registerObj.openUrl() registerObj.enterFirstName(registerData.firstName) ...
5
GAMZA-BAT/algohub-client
e9a9b0d
src/view/group/problem-list/RegisterForm/index.css.ts
TypeScript
www.github.com/GAMZA-BAT/algohub-client/tree/main/src/view/group/problem-list/RegisterForm/index.css.ts
https://raw.githubusercontent.com/GAMZA-BAT/algohub-client/e9a9b0d/src/view/group/problem-list/RegisterForm/index.css.ts
GAMZA-BAT/algohub-client e9a9b0d src/view/group/problem-list/RegisterForm/index.css.ts
true
200
1,471
import { theme } from "@/styles/themes.css"; import { style } from "@vanilla-extract/css"; export const registerWrapper = style({ display: "flex", flexDirection: "column", padding: "6rem 3rem 4.6rem", width: "39.5rem", background: theme.color.mg6, color: theme.color.white, borderRadius: "16px", }); ex...
0
sirtimbly/slm25
0c64d0b
packages/api-server/src/validators.ts
TypeScript
www.github.com/sirtimbly/slm25/tree/main/packages/api-server/src/validators.ts
https://raw.githubusercontent.com/sirtimbly/slm25/0c64d0b/packages/api-server/src/validators.ts
sirtimbly/slm25 0c64d0b packages/api-server/src/validators.ts
true
200
606
// For more information about this file see https://dove.feathersjs.com/guides/cli/validators.html import { Ajv, addFormats } from "@feathersjs/schema"; import type { FormatsPluginOptions } from "@feathersjs/schema"; const formats: FormatsPluginOptions = [ "date-time", "time", "date", "email", "hostname", "ipv4"...
2
protogrammer/re-search-ui
3541e3e
src/main/preload.ts
TypeScript
www.github.com/protogrammer/re-search-ui/tree/main/src/main/preload.ts
https://raw.githubusercontent.com/protogrammer/re-search-ui/3541e3e/src/main/preload.ts
protogrammer/re-search-ui 3541e3e src/main/preload.ts
true
200
832
import { contextBridge, ipcRenderer, IpcRendererEvent } from 'electron'; import { type FileInfo, type RegexResult, regexMenuOpenFile, searchRegex, } from './declarations'; const electronHandler = { onFileOpen(callback: (value: FileInfo) => void) { const subscription = (_event: IpcRendererEvent, fileInfo:...
5
quocdnp-dipro/validate-form
289ec3a
src/common/customYup.ts
TypeScript
www.github.com/quocdnp-dipro/validate-form/tree/main/src/common/customYup.ts
https://raw.githubusercontent.com/quocdnp-dipro/validate-form/289ec3a/src/common/customYup.ts
quocdnp-dipro/validate-form 289ec3a src/common/customYup.ts
true
200
829
import * as yup from "yup"; import { AnyObject, Maybe } from "yup/lib/types"; //yup.addMethod(yup.string, "nonSpace", function nonSpace() { // return this.transform((value: string, originalValue: string) => // /^\s/.test(originalValue) ? value.trim() : value // ).required(); //}); yup.addMethod(yup.strin...
7
sssweetie/broccoli
e15bfdf
apps/broccoli/src/api/taskApi.ts
TypeScript
www.github.com/sssweetie/broccoli/tree/main/apps/broccoli/src/api/taskApi.ts
https://raw.githubusercontent.com/sssweetie/broccoli/e15bfdf/apps/broccoli/src/api/taskApi.ts
sssweetie/broccoli e15bfdf apps/broccoli/src/api/taskApi.ts
true
200
805
import { AddTask, Task, UpdateTask } from 'apps/libs/types/src'; import { httpClient } from '../services/httpClient'; export interface TaskAPI { create: (addTask: AddTask) => Promise<void>; read: (taskId: string) => Promise<Task>; update: (updateTask: UpdateTask) => Promise<void>; delete: (taskId: string) => P...
6
maytheu/mainstack
fc1c221
src/service/Product.service.ts
TypeScript
www.github.com/maytheu/mainstack/tree/main/src/service/Product.service.ts
https://raw.githubusercontent.com/maytheu/mainstack/fc1c221/src/service/Product.service.ts
maytheu/mainstack fc1c221 src/service/Product.service.ts
true
200
3,924
import { isValidObjectId } from "mongoose"; import { IProduct } from "../model/product.types"; import Product from "../model/product.model"; import { notFoundError } from "../controller/globalError"; class ProductService { private readonly regex = /\b(<|>|>=|=|<|>=)\b/g; private sortRegex = /[+-]/g; newProduct ...
2
mirahmetovag/CelloUZ
3b71919
src/auth/auth.service.ts
TypeScript
www.github.com/mirahmetovag/CelloUZ/tree/main/src/auth/auth.service.ts
https://raw.githubusercontent.com/mirahmetovag/CelloUZ/3b71919/src/auth/auth.service.ts
mirahmetovag/CelloUZ 3b71919 src/auth/auth.service.ts
true
200
4,587
import { ForbiddenException, Inject, Injectable } from '@nestjs/common'; import { LoginAuthDto } from './dto/login-auth.dto'; import { RegisterAuthDto } from './dto/register-auth.dto'; import { UpdateRequestAuthDto } from './dto/update_request-auth.dto'; import { UpdateVerifyAuthDto } from './dto/update_verify-auth.dto...
1
eramos-ui/gc
e6723f1
utils/fechas.ts
TypeScript
www.github.com/eramos-ui/gc/tree/main/utils/fechas.ts
https://raw.githubusercontent.com/eramos-ui/gc/e6723f1/utils/fechas.ts
eramos-ui/gc e6723f1 utils/fechas.ts
true
200
629
import {addMonths, format} from 'date-fns'; export const getDateFromYYYYMM = ( (YYYYMM: string) => { const cleanDate = YYYYMM.replace('-', '').replace('/', ''); const [year, month, day] = [ parseInt(cleanDate.substring(0,4)), parseInt(cleanDate.substring(4,6)), 1 ] return new Date(year, month-1, day ) }...
0
jayesh-vaidya/Angular-Project-Food-Ordering-Webapp
294aa44
src/app/components/partner-page/partner-page.component.ts
TypeScript
www.github.com/jayesh-vaidya/Angular-Project-Food-Ordering-Webapp/tree/main/src/app/components/partner-page/partner-page.component.ts
https://raw.githubusercontent.com/jayesh-vaidya/Angular-Project-Food-Ordering-Webapp/294aa44/src/app/components/partner-page/partner-page.component.ts
jayesh-vaidya/Angular-Project-Food-Ordering-Webapp 294aa44 src/app/components/partner-page/partner-page.component.ts
true
200
513
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-partner-page', templateUrl: './partner-page.component.html', styleUrls: ['./partner-page.component.css'] }) export class PartnerPageComponent implements OnInit { orderItems:any orderData:any constructor(){} ngOnInit(): void...
3
YenXXXW/cool-notes-app
eb32c90
frontend/src/errors/http_errors.ts
TypeScript
www.github.com/YenXXXW/cool-notes-app/tree/main/frontend/src/errors/http_errors.ts
https://raw.githubusercontent.com/YenXXXW/cool-notes-app/eb32c90/frontend/src/errors/http_errors.ts
YenXXXW/cool-notes-app eb32c90 frontend/src/errors/http_errors.ts
true
200
289
class HttpError extends Error { constructor(message?: string) { super(message); this.name = this.constructor.name; } } /** * Status code: 401 */ export class UnAuthorizedError extends HttpError {} /** * status code: 409 */ export class ConflictError extends HttpError {}
5
andsholinka/nestjs-chatapp-socketio
2133978
src/message/message.controller.ts
TypeScript
www.github.com/andsholinka/nestjs-chatapp-socketio/tree/main/src/message/message.controller.ts
https://raw.githubusercontent.com/andsholinka/nestjs-chatapp-socketio/2133978/src/message/message.controller.ts
andsholinka/nestjs-chatapp-socketio 2133978 src/message/message.controller.ts
true
200
2,140
import { BadRequestException, Body, Controller, Get, Param, Post, Req, UseGuards, UsePipes, ValidationPipe } from '@nestjs/common'; import { MessageService } from './message.service'; import { AuthGuard } from '@nestjs/passport'; import { ConversationService } from 'src/conversation/conversation.service'; import mongoo...
6
oussemaMhatli/MoviesIonic
c898a7d
src/app/auth/signup/signup.page.ts
TypeScript
www.github.com/oussemaMhatli/MoviesIonic/tree/main/src/app/auth/signup/signup.page.ts
https://raw.githubusercontent.com/oussemaMhatli/MoviesIonic/c898a7d/src/app/auth/signup/signup.page.ts
oussemaMhatli/MoviesIonic c898a7d src/app/auth/signup/signup.page.ts
true
200
3,944
import { Component, OnInit } from '@angular/core'; import { Auth, createUserWithEmailAndPassword } from '@angular/fire/auth'; import { addDoc, collection, getFirestore } from '@angular/fire/firestore'; import { NgForm } from '@angular/forms'; import { ToastController } from '@ionic/angular'; import { Camera, CameraResu...
7
Guilherme-M-Carvalho/guilherme_dev
8357fcd
api/src/use-case/work-order/find-work-order/find-work-order-repository.ts
TypeScript
www.github.com/Guilherme-M-Carvalho/guilherme_dev/tree/main/api/src/use-case/work-order/find-work-order/find-work-order-repository.ts
https://raw.githubusercontent.com/Guilherme-M-Carvalho/guilherme_dev/8357fcd/api/src/use-case/work-order/find-work-order/find-work-order-repository.ts
Guilherme-M-Carvalho/guilherme_dev 8357fcd api/src/use-case/work-order/find-work-order/find-work-order-repository.ts
true
200
572
import AppDataSource from "../../../data-source"; import { WorkOrderEntity } from "../../../entity/work-order.entity" const repository = AppDataSource.getRepository(WorkOrderEntity) export class FindWorkOrderRepository { async handleFind(){ try { return await repository.find({ w...
2
sprtn757/unit-optimizer
b888bdc
app/services/auth.service.ts
TypeScript
www.github.com/sprtn757/unit-optimizer/tree/main/app/services/auth.service.ts
https://raw.githubusercontent.com/sprtn757/unit-optimizer/b888bdc/app/services/auth.service.ts
sprtn757/unit-optimizer b888bdc app/services/auth.service.ts
true
200
1,905
import { prisma } from '../lib/prisma' import { compare, hash } from 'bcryptjs' import { sign, verify } from 'jsonwebtoken' import { User } from '@prisma/client' const JWT_SECRET = process.env.JWT_SECRET || 'your-secret-key' export class AuthService { static async createUser(email: string, password: string, name: s...
1
frostyworld12/plants-care
af063f7
client/src/app/components/managmentAdmin/managmentAdmin.component.ts
TypeScript
www.github.com/frostyworld12/plants-care/tree/main/client/src/app/components/managmentAdmin/managmentAdmin.component.ts
https://raw.githubusercontent.com/frostyworld12/plants-care/af063f7/client/src/app/components/managmentAdmin/managmentAdmin.component.ts
frostyworld12/plants-care af063f7 client/src/app/components/managmentAdmin/managmentAdmin.component.ts
true
200
4,396
import { Component, EventEmitter, OnInit, Output } from '@angular/core'; import { ToastrService } from 'ngx-toastr'; import { AppConsts } from 'src/app/util/Consts'; import { Router } from '@angular/router'; import { AppStorage } from 'src/app/services/appStorage'; import { MakeRequest } ...
3
alexkarunny/react_social_network
3877499
src/api/api.ts
TypeScript
www.github.com/alexkarunny/react_social_network/tree/main/src/api/api.ts
https://raw.githubusercontent.com/alexkarunny/react_social_network/3877499/src/api/api.ts
alexkarunny/react_social_network 3877499 src/api/api.ts
true
200
2,359
import axios from 'axios'; import {UserType} from 'redux/users-page-reducer'; import {AuthDataType} from 'redux/auth-reducer'; import {PhotosType, ProfileType} from 'redux/profile-page-reducer'; type GetResponseType = { items: UserType[] totalCount: number error: string } type FollowResponseType = { ...
0
Bishwas-py/django-svelte-template
b5b7e17
svelte_frontend/src/lib/stores/notifier.svelte.ts
TypeScript
www.github.com/Bishwas-py/django-svelte-template/tree/main/svelte_frontend/src/lib/stores/notifier.svelte.ts
https://raw.githubusercontent.com/Bishwas-py/django-svelte-template/b5b7e17/svelte_frontend/src/lib/stores/notifier.svelte.ts
Bishwas-py/django-svelte-template b5b7e17 svelte_frontend/src/lib/stores/notifier.svelte.ts
true
200
1,551
const AUTO_DISMISS_DURATION = 7777; /* Notifier is a global store that manages toast notifications - toasts: a list of toast notifications - error_: a flag to indicate if any error has occurred; implementation is up to the developer */ export const toasts = $state([] as Toast[]); /* Add a toast to the notifier */ e...
6
stalynAlejandro/one-trade
144951f
pagonxt-onetradefinance-external-frontend/src/components/Button/ButtonStyled.ts
TypeScript
www.github.com/stalynAlejandro/one-trade/tree/main/pagonxt-onetradefinance-external-frontend/src/components/Button/ButtonStyled.ts
https://raw.githubusercontent.com/stalynAlejandro/one-trade/144951f/pagonxt-onetradefinance-external-frontend/src/components/Button/ButtonStyled.ts
stalynAlejandro/one-trade 144951f pagonxt-onetradefinance-external-frontend/src/components/Button/ButtonStyled.ts
true
200
1,558
import styled, { css } from 'styled-components'; import { ThemeProps } from '../../resources/theme'; export const StButton = styled.button( ({ inverse, theme: { colors: { boston, ruby, santander, white }, typography: { fontSizes: { big }, textFonts: { bold, regular }, }, ...
7
pramodnairx/PizzaStore
2b57c3f
Kitchen/src/test/integration-test/kitchen-service-kafka.spec.ts
TypeScript
www.github.com/pramodnairx/PizzaStore/tree/main/Kitchen/src/test/integration-test/kitchen-service-kafka.spec.ts
https://raw.githubusercontent.com/pramodnairx/PizzaStore/2b57c3f/Kitchen/src/test/integration-test/kitchen-service-kafka.spec.ts
pramodnairx/PizzaStore 2b57c3f Kitchen/src/test/integration-test/kitchen-service-kafka.spec.ts
true
200
10,948
import { malabi, MalabiSpan} from 'malabi'; import { SpanKind } from '@opentelemetry/api'; import { EachMessageHandler, Kafka, Message } from 'kafkajs'; import { setTimeout } from 'timers/promises'; import { randomBytes } from 'crypto'; import chai from 'chai'; import { Order, Pizza, Item, OrderStatus} from '../../mode...
5
marqueschristmann/AlugAuto
6d444d4
src/clientes/jwt.strategy.ts
TypeScript
www.github.com/marqueschristmann/AlugAuto/tree/main/src/clientes/jwt.strategy.ts
https://raw.githubusercontent.com/marqueschristmann/AlugAuto/6d444d4/src/clientes/jwt.strategy.ts
marqueschristmann/AlugAuto 6d444d4 src/clientes/jwt.strategy.ts
true
200
866
import { Injectable, UnauthorizedException } from '@nestjs/common'; import { PassportStrategy } from '@nestjs/passport'; import { InjectRepository } from '@nestjs/typeorm'; import { ExtractJwt, Strategy } from 'passport-jwt'; import { User } from './user.entity'; import { ClientesRepository } from './clientes.repositor...
1
Paez11/webPage
968fc05
src/app/pages/blog/blog.component.ts
TypeScript
www.github.com/Paez11/webPage/tree/main/src/app/pages/blog/blog.component.ts
https://raw.githubusercontent.com/Paez11/webPage/968fc05/src/app/pages/blog/blog.component.ts
Paez11/webPage 968fc05 src/app/pages/blog/blog.component.ts
true
200
612
import { Component } from '@angular/core'; import { trigger, transition, style, animate } from '@angular/animations'; @Component({ selector: 'app-blog', templateUrl: './blog.component.html', styleUrls: ['./blog.component.scss'], animations: [ trigger('fadeInOut', [ transition(':enter', [ styl...
2
community-circle/backend
bee4b7e
src/shelter.models.ts
TypeScript
www.github.com/community-circle/backend/tree/main/src/shelter.models.ts
https://raw.githubusercontent.com/community-circle/backend/bee4b7e/src/shelter.models.ts
community-circle/backend bee4b7e src/shelter.models.ts
true
200
730
import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'; import { Document } from 'mongoose'; export type ShelterDocument = Shelter & Document export type QuizDocument = Quiz & Document @Schema() export class Shelter { @Prop() name: string; @Prop() unit_type: string; @Prop() number_of_units: numb...
3
felipecesargomes/finance-api-fastify
876ac5e
src/server.ts
TypeScript
www.github.com/felipecesargomes/finance-api-fastify/tree/main/src/server.ts
https://raw.githubusercontent.com/felipecesargomes/finance-api-fastify/876ac5e/src/server.ts
felipecesargomes/finance-api-fastify 876ac5e src/server.ts
true
200
316
import { app } from './app'; import { env } from './env'; const start = async () => { try { const port = Number(env.PORT) || 3000; await app.listen({ port }); console.log(`Server is running at http://localhost:${port}`); } catch (err) { app.log.error(err); process.exit(1); } }; start();
4
srikavin/waitlist-watcher
321edb7
common/firestore.ts
TypeScript
www.github.com/srikavin/waitlist-watcher/tree/main/common/firestore.ts
https://raw.githubusercontent.com/srikavin/waitlist-watcher/321edb7/common/firestore.ts
srikavin/waitlist-watcher 321edb7 common/firestore.ts
true
200
724
import {CourseDataCourse, CourseEvent} from "./events"; export interface FSCourseDataDocument { lastRun: string, latest: Record<string, CourseDataCourse> timestamp: string, updateCount: number, version: 2 } export interface FSCourseListingDocument { courses: string } export interface FSEvents...
0
Pair-7-Proje-Grubu/HastaneRandevuSistemi.Frontend
e67af44
src/app/app.config.ts
TypeScript
www.github.com/Pair-7-Proje-Grubu/HastaneRandevuSistemi.Frontend/tree/main/src/app/app.config.ts
https://raw.githubusercontent.com/Pair-7-Proje-Grubu/HastaneRandevuSistemi.Frontend/e67af44/src/app/app.config.ts
Pair-7-Proje-Grubu/HastaneRandevuSistemi.Frontend e67af44 src/app/app.config.ts
true
200
1,097
import { ApplicationConfig, LOCALE_ID, provideZoneChangeDetection } from '@angular/core'; import { provideRouter } from '@angular/router'; import { routes } from './app.routes'; import { provideAnimationsAsync } from '@angular/platform-browser/animations/async'; import { provideHttpClient, withInterceptors } from '@an...
7
KishoreKrish2002/zenbasket_task
44e42a4
src/app/shared/Services/format-price.pipe.ts
TypeScript
www.github.com/KishoreKrish2002/zenbasket_task/tree/main/src/app/shared/Services/format-price.pipe.ts
https://raw.githubusercontent.com/KishoreKrish2002/zenbasket_task/44e42a4/src/app/shared/Services/format-price.pipe.ts
KishoreKrish2002/zenbasket_task 44e42a4 src/app/shared/Services/format-price.pipe.ts
true
200
538
import { Pipe, PipeTransform } from '@angular/core'; /** * Pipe for format the product price */ @Pipe({ name: 'formatPrice' }) export class FormatPricePipe implements PipeTransform { transform(value: number, currSymbol: string = '$'): string { if (isNaN(value)) return ''; // Return empty string if value is no...
6
edarkea/angular-email-editor
407e482
src/app/example/example.component.ts
TypeScript
www.github.com/edarkea/angular-email-editor/tree/main/src/app/example/example.component.ts
https://raw.githubusercontent.com/edarkea/angular-email-editor/407e482/src/app/example/example.component.ts
edarkea/angular-email-editor 407e482 src/app/example/example.component.ts
true
200
6,080
import { Component, OnInit, ViewChild } from '@angular/core'; import sample from './sample.json'; import { EmailEditorComponent, UnlayerOptions } from 'projects/email-editor/src/public-api'; @Component({ selector: 'app-example', templateUrl: './example.component.html', styleUrls: ['./example.component.css']...
5
ymuichiro/symbol-universal-wallet
32a0c7f
packages/symbol-rest/dist/models/NamespaceDTO.d.ts
TypeScript
www.github.com/ymuichiro/symbol-universal-wallet/tree/main/packages/symbol-rest/dist/models/NamespaceDTO.d.ts
https://raw.githubusercontent.com/ymuichiro/symbol-universal-wallet/32a0c7f/packages/symbol-rest/dist/models/NamespaceDTO.d.ts
ymuichiro/symbol-universal-wallet 32a0c7f packages/symbol-rest/dist/models/NamespaceDTO.d.ts
true
200
763
import type { AliasDTO } from './AliasDTO'; import type { NamespaceRegistrationTypeEnum } from './NamespaceRegistrationTypeEnum'; export interface NamespaceDTO { version: number; registrationType: NamespaceRegistrationTypeEnum; depth: number; level0: string; level1?: string; level2?: string; ...
2
AojdevStudio/insurance-database
19097cd
tests/utils/jsonValidator.test.ts
TypeScript
www.github.com/AojdevStudio/insurance-database/tree/main/tests/utils/jsonValidator.test.ts
https://raw.githubusercontent.com/AojdevStudio/insurance-database/19097cd/tests/utils/jsonValidator.test.ts
AojdevStudio/insurance-database 19097cd tests/utils/jsonValidator.test.ts
true
200
3,519
import { validateJSON } from '../../src/utils/jsonValidator.js'; import { CarrierJSON } from '../../src/types/carrier.js'; describe('JSON Validator', () => { const validCarrierData: CarrierJSON = { carrier_name: 'Test Insurance', carrier_type: 'National', payer_id: '12345', claims_address: '123 Test ...
1
MarioLeandro/university-restaurant
2e7cfca
server/src/modules/dishes/services/CreateDishService.ts
TypeScript
www.github.com/MarioLeandro/university-restaurant/tree/main/server/src/modules/dishes/services/CreateDishService.ts
https://raw.githubusercontent.com/MarioLeandro/university-restaurant/2e7cfca/server/src/modules/dishes/services/CreateDishService.ts
MarioLeandro/university-restaurant 2e7cfca server/src/modules/dishes/services/CreateDishService.ts
true
200
556
import { injectable, inject } from 'tsyringe'; import ICreateDishDTO from '../dtos/ICreateDishDTO'; import IDishesRepository from '../repositories/IDishesRepository'; import { IDish } from '../infra/mongoose/schemas/Dish'; @injectable() class CreateDishService { constructor( @inject('DishesRepository') priva...
3
johnlg91/consultorios
fbfa0f7
consultorios-front/src/comun/variables/EsquemasDeValidacion.ts
TypeScript
www.github.com/johnlg91/consultorios/tree/main/consultorios-front/src/comun/variables/EsquemasDeValidacion.ts
https://raw.githubusercontent.com/johnlg91/consultorios/fbfa0f7/consultorios-front/src/comun/variables/EsquemasDeValidacion.ts
johnlg91/consultorios fbfa0f7 consultorios-front/src/comun/variables/EsquemasDeValidacion.ts
true
200
2,550
import * as yup from "yup"; import es from "yup-es"; yup.setLocale(es); const ESQUEMAS = { PROFESIONALES: yup.object({ dni: yup.number().positive().min(8, "Minimo 1 caracteres").max(99999999, "Maximo 9 caracteres").required(), eMail: yup.string().email().required(), nombre: yup.string().required(), apellido:...
0
syurodev/camauocop
20e92b4
redux/features/tours-slice.ts
TypeScript
www.github.com/syurodev/camauocop/tree/main/redux/features/tours-slice.ts
https://raw.githubusercontent.com/syurodev/camauocop/20e92b4/redux/features/tours-slice.ts
syurodev/camauocop 20e92b4 redux/features/tours-slice.ts
true
200
941
import { createSlice, PayloadAction } from "@reduxjs/toolkit" type InitialState = { value: TourData[] } const initialState: InitialState = { value: [] } export const tours = createSlice({ name: "tours", initialState, reducers: { setTours: (state, action: PayloadAction<TourData[]>) => { return { ...
4
krokodil1113/QuizApp1
99afcc6
src/main/webapp/app/quiz-play/quiz-play.component.spec.ts
TypeScript
www.github.com/krokodil1113/QuizApp1/tree/main/src/main/webapp/app/quiz-play/quiz-play.component.spec.ts
https://raw.githubusercontent.com/krokodil1113/QuizApp1/99afcc6/src/main/webapp/app/quiz-play/quiz-play.component.spec.ts
krokodil1113/QuizApp1 99afcc6 src/main/webapp/app/quiz-play/quiz-play.component.spec.ts
true
200
603
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { QuizPlayComponent } from './quiz-play.component'; describe('QuizPlayComponent', () => { let component: QuizPlayComponent; let fixture: ComponentFixture<QuizPlayComponent>; beforeEach(async () => { await TestBed.configureTestingModu...
7
Dolu89/bitcoin-bips
835b98f
providers/app_provider.ts
TypeScript
www.github.com/Dolu89/bitcoin-bips/tree/main/providers/app_provider.ts
https://raw.githubusercontent.com/Dolu89/bitcoin-bips/835b98f/providers/app_provider.ts
Dolu89/bitcoin-bips 835b98f providers/app_provider.ts
true
200
894
import BipService from '#services/bip_service' import NipService from '#services/nip_service' import SearchService from '#services/search_service' import type { ApplicationService } from '@adonisjs/core/types' export default class AppProvider { constructor(protected app: ApplicationService) {} /** * Register b...
6
Juangr4/ptable-quiz
e4f7109
src/store.ts
TypeScript
www.github.com/Juangr4/ptable-quiz/tree/main/src/store.ts
https://raw.githubusercontent.com/Juangr4/ptable-quiz/e4f7109/src/store.ts
Juangr4/ptable-quiz e4f7109 src/store.ts
true
200
1,456
import { create } from "zustand"; import { elements, type TableElement } from "./data"; type State = { availableElements: TableElement[]; guess?: TableElement; attempts: number; answers: { errors: number; failures: number; total: number }; grade?: number; incAttempts: () => void; nextGuess: () => void; ...
5
VazquezAriel/consultas-medicas
bde98a9
src/colaboradores/colaboradores.service.ts
TypeScript
www.github.com/VazquezAriel/consultas-medicas/tree/main/src/colaboradores/colaboradores.service.ts
https://raw.githubusercontent.com/VazquezAriel/consultas-medicas/bde98a9/src/colaboradores/colaboradores.service.ts
VazquezAriel/consultas-medicas bde98a9 src/colaboradores/colaboradores.service.ts
true
200
3,064
import { Injectable, NotFoundException } from '@nestjs/common'; import { CreateColaboradorDto } from './dto/create-colaborador.dto'; import { UpdateColaboradorDto } from './dto/update-colaborador.dto'; import { Like, Repository } from 'typeorm'; import { Colaborador } from './entities/colaborador.entity'; import { Inj...
1
greenpill-dev-guild/impact-reef
bdc823a
packages/client/src/constants.ts
TypeScript
www.github.com/greenpill-dev-guild/impact-reef/tree/main/packages/client/src/constants.ts
https://raw.githubusercontent.com/greenpill-dev-guild/impact-reef/bdc823a/packages/client/src/constants.ts
greenpill-dev-guild/impact-reef bdc823a packages/client/src/constants.ts
true
200
1,993
export const APP_NAME = "Impact Reef"; export const APP_DEFAULT_TITLE = "Impact Reef"; export const APP_TITLE_TEMPLATE = "%s - Impact Reef"; export const APP_DESCRIPTION = "Discover how projects impact the ecosystem. Crafted with care and dedication, Impact Reef is a platform that values each project's impact through...
2
marcobiedermann/countdown
406ca3b
src/i18n/index.ts
TypeScript
www.github.com/marcobiedermann/countdown/tree/main/src/i18n/index.ts
https://raw.githubusercontent.com/marcobiedermann/countdown/406ca3b/src/i18n/index.ts
marcobiedermann/countdown 406ca3b src/i18n/index.ts
true
200
411
import i18n from 'i18next'; import LanguageDetector from 'i18next-browser-languagedetector'; import Backend from 'i18next-http-backend'; import { initReactI18next } from 'react-i18next'; const options = { fallbackLng: 'en', interpolation: { escapeValue: false, }, lng: 'en', }; i18n.use(LanguageDetector).u...
4
AmmadNaseem/FoodMine
1f49a03
frontend/src/app/components/pages/home/home.component.ts
TypeScript
www.github.com/AmmadNaseem/FoodMine/tree/main/frontend/src/app/components/pages/home/home.component.ts
https://raw.githubusercontent.com/AmmadNaseem/FoodMine/1f49a03/frontend/src/app/components/pages/home/home.component.ts
AmmadNaseem/FoodMine 1f49a03 frontend/src/app/components/pages/home/home.component.ts
true
200
1,572
import { FoodService } from './../../../services/food.service'; import { Component, OnInit } from '@angular/core'; import { Food } from 'src/app/shared/models/Food'; import { ActivatedRoute } from '@angular/router'; import { Observable } from 'rxjs'; @Component({ selector: 'app-home', templateUrl: './home.componen...
0
ymilkessa/huddlers-js
56efaff
src/feed.ts
TypeScript
www.github.com/ymilkessa/huddlers-js/tree/main/src/feed.ts
https://raw.githubusercontent.com/ymilkessa/huddlers-js/56efaff/src/feed.ts
ymilkessa/huddlers-js 56efaff src/feed.ts
true
200
1,826
import { DefaultHuddlersUrl, DefaultLimit, HuddlersEndpoints, } from './constants'; import { Event } from './types'; import { isValidHex } from './utils'; export type FeedResponse = { pubkey: string; events: Event[]; profiles: Record<string, Event>; }; export type FeedParams = { /** * User's public k...
3
calog-project/calog-server
1b670de
src/common/config/cache/redis-config.service.ts
TypeScript
www.github.com/calog-project/calog-server/tree/main/src/common/config/cache/redis-config.service.ts
https://raw.githubusercontent.com/calog-project/calog-server/1b670de/src/common/config/cache/redis-config.service.ts
calog-project/calog-server 1b670de src/common/config/cache/redis-config.service.ts
true
200
1,459
import { Injectable } from '@nestjs/common'; import { ConfigService } from '@nestjs/config'; import { RedisModuleOptions, RedisModuleOptionsFactory, } from '@nestjs-modules/ioredis'; import { AllConfigType } from '../config.type'; import { ClientProvider, ClientsModuleOptionsFactory, RedisOptions, Transport...
7
rafaelkallis/neutral-api
7905617
src/shared/domain/DefaultMap.ts
TypeScript
www.github.com/rafaelkallis/neutral-api/tree/main/src/shared/domain/DefaultMap.ts
https://raw.githubusercontent.com/rafaelkallis/neutral-api/7905617/src/shared/domain/DefaultMap.ts
rafaelkallis/neutral-api 7905617 src/shared/domain/DefaultMap.ts
true
200
722
export interface ReadonlyDefaultMap<U, V> extends ReadonlyMap<U, V> { get(u: U): V; } export class DefaultMap<U, V> extends Map<U, V> { private readonly defaultValue: (u: U) => V; public constructor(iterable: Iterable<[U, V]>, defaultValue: (u: U) => V) { super(iterable); this.defaultValue = defaultValu...
6
taiki0330/health-nutrition-app
afe159e
src/utils/nutritionCalculations.ts
TypeScript
www.github.com/taiki0330/health-nutrition-app/tree/main/src/utils/nutritionCalculations.ts
https://raw.githubusercontent.com/taiki0330/health-nutrition-app/afe159e/src/utils/nutritionCalculations.ts
taiki0330/health-nutrition-app afe159e src/utils/nutritionCalculations.ts
true
200
2,041
import { Product, TotalNutrition } from "../types"; // MonthlyDate.tsxで使用する // 配列から月間の総栄養素を計算する関数 // 理想の結果は... // {totalEnergy: 300, totalProtein: 300, totalFat: 3000...} // {totalEnergy: 300, totalProtein: 300, totalFat: 3000...}を別のファイルtypes/index.tsで定義しておく export function nutritionCalculations(products: Prod...
5
guilhermec-costa/semantic-react-components
c82e7c6
packages/semanticComponents/src/hooks/useLocalStorage.ts
TypeScript
www.github.com/guilhermec-costa/semantic-react-components/tree/main/packages/semanticComponents/src/hooks/useLocalStorage.ts
https://raw.githubusercontent.com/guilhermec-costa/semantic-react-components/c82e7c6/packages/semanticComponents/src/hooks/useLocalStorage.ts
guilhermec-costa/semantic-react-components c82e7c6 packages/semanticComponents/src/hooks/useLocalStorage.ts
true
200
1,047
import React from "react"; const useLocalStorage = <T,>(key: string, initialValue: T): [T, (value: T) => void, () => void] => { const getInitialValue = (): T => { try { const storedValue = localStorage.getItem(key); return storedValue ? JSON.parse(storedValue) : initialValue; } catch (error) { ...
1
FlorisSteenkamp/Generate-Random-Shapes
6d3ea38
src/utils/pair-set.ts
TypeScript
www.github.com/FlorisSteenkamp/Generate-Random-Shapes/tree/main/src/utils/pair-set.ts
https://raw.githubusercontent.com/FlorisSteenkamp/Generate-Random-Shapes/6d3ea38/src/utils/pair-set.ts
FlorisSteenkamp/Generate-Random-Shapes 6d3ea38 src/utils/pair-set.ts
true
200
1,532
/** * Adds an unordered pair of values to the set (given as a special map) * @param map The map representing the pairs. * @param vs The pair to add. * * @internal */ function pairSet_add<T>( map: Map<T,Set<T>>, vs: T[]) { if (pairSet_has(map, vs)) { return; } f(vs[0], vs[1]...
2
MeranAru/myFlix-Angular-client
ffec509
src/app/profile-page/profile-page.component.ts
TypeScript
www.github.com/MeranAru/myFlix-Angular-client/tree/main/src/app/profile-page/profile-page.component.ts
https://raw.githubusercontent.com/MeranAru/myFlix-Angular-client/ffec509/src/app/profile-page/profile-page.component.ts
MeranAru/myFlix-Angular-client ffec509 src/app/profile-page/profile-page.component.ts
true
200
1,480
import { Component, Input, OnInit } from '@angular/core'; import { FetchApiDataService } from '../fetch-api-data.service' import { MatSnackBar } from '@angular/material/snack-bar'; import { Router } from '@angular/router'; type User = { _id?: string, Username?: string, Password?: string, Email?: string, FavoriteMovies...
0
kcshan/small-scrm
65bdc6b
src/app/info/info.module.ts
TypeScript
www.github.com/kcshan/small-scrm/tree/main/src/app/info/info.module.ts
https://raw.githubusercontent.com/kcshan/small-scrm/65bdc6b/src/app/info/info.module.ts
kcshan/small-scrm 65bdc6b src/app/info/info.module.ts
true
200
471
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; import { InfoRoutingModule } from './info-routing.module'; import { InfoComponent } from './info.component'; import { InfoService } from './info.service'; @NgModule({ de...
3
mrlst16/AuthHub
0b9efb0
authhub-ui/src/app/app.module.ts
TypeScript
www.github.com/mrlst16/AuthHub/tree/main/authhub-ui/src/app/app.module.ts
https://raw.githubusercontent.com/mrlst16/AuthHub/0b9efb0/authhub-ui/src/app/app.module.ts
mrlst16/AuthHub 0b9efb0 authhub-ui/src/app/app.module.ts
true
200
2,531
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { RegistrationComponent } from './registration/registration.component'; import { NavigationComponent } from...
4
liumin1128/etsyweb
4e847c0
src/app.ts
TypeScript
www.github.com/liumin1128/etsyweb/tree/main/src/app.ts
https://raw.githubusercontent.com/liumin1128/etsyweb/4e847c0/src/app.ts
liumin1128/etsyweb 4e847c0 src/app.ts
true
200
401
import { matchRoutes } from 'umi'; import type { RouteObject } from 'react-router-dom'; // 监听路由变化 export function onRouteChange({ clientRoutes, location, }: { clientRoutes: RouteObject[]; location: Location; }) { const route = matchRoutes(clientRoutes, location.pathname)?.pop() ?.route as RouteObject & {...
7
amitbhagat358/Progress-Path
5a1b6a6
src/schemas/UserSchema.ts
TypeScript
www.github.com/amitbhagat358/Progress-Path/tree/main/src/schemas/UserSchema.ts
https://raw.githubusercontent.com/amitbhagat358/Progress-Path/5a1b6a6/src/schemas/UserSchema.ts
amitbhagat358/Progress-Path 5a1b6a6 src/schemas/UserSchema.ts
true
200
531
import mongoose from "mongoose"; const UserSchema = new mongoose.Schema( { username: { type: String, required: true, }, email: { type: String, required: true, unique: true, }, password: { type: String, }, subscribedForNotifications: { type: Boolea...
5
regadior/nest-skeleton
430d75b
src/domain/common/find-query-result.ts
TypeScript
www.github.com/regadior/nest-skeleton/tree/main/src/domain/common/find-query-result.ts
https://raw.githubusercontent.com/regadior/nest-skeleton/430d75b/src/domain/common/find-query-result.ts
regadior/nest-skeleton 430d75b src/domain/common/find-query-result.ts
true
200
478
import { PaginationInput } from './pagination-input'; import { PaginationOutput } from './pagination-output'; class FindQueryResult<T> { result: T[]; pagination: PaginationOutput; constructor(result: T[], elementsFound: number, pagination: PaginationInput) { this.result = result; this.pagination = new ...
6
khalillakhdhar/recapangular
ef0037a
src/app/shared/services/achat.service.ts
TypeScript
www.github.com/khalillakhdhar/recapangular/tree/main/src/app/shared/services/achat.service.ts
https://raw.githubusercontent.com/khalillakhdhar/recapangular/ef0037a/src/app/shared/services/achat.service.ts
khalillakhdhar/recapangular ef0037a src/app/shared/services/achat.service.ts
true
200
728
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; @Injectable({ providedIn: 'root' }) export class AchatService { url="https://647f3d36c246f166da90635e.mockapi.io/achat" // fake backend api constructor(private http:HttpClient) { } addAchat(achat:any){ return this....
1
Igormcf/TFC
932ce16
app/backend/src/middlewares/validJWT.ts
TypeScript
www.github.com/Igormcf/TFC/tree/main/app/backend/src/middlewares/validJWT.ts
https://raw.githubusercontent.com/Igormcf/TFC/932ce16/app/backend/src/middlewares/validJWT.ts
Igormcf/TFC 932ce16 app/backend/src/middlewares/validJWT.ts
true
200
616
import * as jwt from 'jsonwebtoken'; import { Request, Response, NextFunction } from 'express'; const secret = process.env.JWT_SECRET || 'jwt_secret'; const validToken = async ( req: Request, res: Response, next: NextFunction, ) => { const token = req.headers.authorization; if (!token) { return res.sta...
2
HellCounT/Blog_Platform_Nest_TypeORM
c168514
src/blogger/blogs/use-cases/delete.post.use-case.ts
TypeScript
www.github.com/HellCounT/Blog_Platform_Nest_TypeORM/tree/main/src/blogger/blogs/use-cases/delete.post.use-case.ts
https://raw.githubusercontent.com/HellCounT/Blog_Platform_Nest_TypeORM/c168514/src/blogger/blogs/use-cases/delete.post.use-case.ts
HellCounT/Blog_Platform_Nest_TypeORM c168514 src/blogger/blogs/use-cases/delete.post.use-case.ts
true
200
1,234
import { CommandHandler } from '@nestjs/cqrs'; import { BlogsRepository } from '../../../blogs/blogs.repository'; import { PostsRepository } from '../../../posts/posts.repository'; import { ForbiddenException, NotFoundException } from '@nestjs/common'; import { LikesForPostsService } from '../../../likes/likes-for-post...
0
ClementDreptin/OpenNeighborhood
549bfe9
src/lib/xbdm/writer.ts
TypeScript
www.github.com/ClementDreptin/OpenNeighborhood/tree/main/src/lib/xbdm/writer.ts
https://raw.githubusercontent.com/ClementDreptin/OpenNeighborhood/549bfe9/src/lib/xbdm/writer.ts
ClementDreptin/OpenNeighborhood 549bfe9 src/lib/xbdm/writer.ts
true
200
649
import type { Socket } from "node:net"; import { Writable } from "node:stream"; export async function write(socket: Socket, buffer: Buffer): Promise<void> { return new Promise((resolve, reject) => { socket.write(buffer, (error) => { if (error != null) { reject(error); return; } ...
7
IamYx/YxWebVue3
f95474b
JokVue3/node_modules/nim-web-sdk-ng/dist/v2/NIM_RN_SDK/V2NIMMessageService.d.ts
TypeScript
www.github.com/IamYx/YxWebVue3/tree/main/JokVue3/node_modules/nim-web-sdk-ng/dist/v2/NIM_RN_SDK/V2NIMMessageService.d.ts
https://raw.githubusercontent.com/IamYx/YxWebVue3/f95474b/JokVue3/node_modules/nim-web-sdk-ng/dist/v2/NIM_RN_SDK/V2NIMMessageService.d.ts
IamYx/YxWebVue3 f95474b JokVue3/node_modules/nim-web-sdk-ng/dist/v2/NIM_RN_SDK/V2NIMMessageService.d.ts
true
200
59,176
import { IMMessage } from './MsgServiceInterface'; import { V2NIMAIModelCallContent, V2NIMAIModelCallMessage, V2NIMAIModelConfigParams } from './V2NIMAIService'; import { V2NIMConversationType } from './V2NIMConversationService'; import { V2NIMUpdateTeamInfoParams } from './V2NIMTeamService'; import type { NIMEBaseServ...
4
KangHidro/trac-nghiem-online
6eef984
src/app/shared/widget/breadcrumb/breadcumb.component.ts
TypeScript
www.github.com/KangHidro/trac-nghiem-online/tree/main/src/app/shared/widget/breadcrumb/breadcumb.component.ts
https://raw.githubusercontent.com/KangHidro/trac-nghiem-online/6eef984/src/app/shared/widget/breadcrumb/breadcumb.component.ts
KangHidro/trac-nghiem-online 6eef984 src/app/shared/widget/breadcrumb/breadcumb.component.ts
true
200
416
import { Component, OnInit, Input } from '@angular/core'; import { BreadCrumb } from 'src/app/core/models/common/breadcrumb.model'; @Component({ selector: 'app-breadcrumb', templateUrl: './breadcrumb.component.html', styleUrls: ['./breadcrumb.component.scss'] }) export class BreadcrumbComponent implements ...
5
Okazakee/task-mngr-backend
00aa23c
src/db/init.ts
TypeScript
www.github.com/Okazakee/task-mngr-backend/tree/main/src/db/init.ts
https://raw.githubusercontent.com/Okazakee/task-mngr-backend/00aa23c/src/db/init.ts
Okazakee/task-mngr-backend 00aa23c src/db/init.ts
true
200
1,722
import { openDb } from './database'; import bcrypt from 'bcrypt'; async function initDb() { const db = await openDb(); // Create tables (this is safe, IF NOT EXISTS prevents errors) await db.exec(` CREATE TABLE IF NOT EXISTS users ( id INTEGER PRIMARY KEY AUTOINCREMENT, email TEXT NOT NULL UNI...
6
windijs/windijs
3064d97
packages/config/src/effects.ts
TypeScript
www.github.com/windijs/windijs/tree/main/packages/config/src/effects.ts
https://raw.githubusercontent.com/windijs/windijs/3064d97/packages/config/src/effects.ts
windijs/windijs 3064d97 packages/config/src/effects.ts
true
200
898
export const blendModeConfig = { normal: "normal", multiply: "multiply", screen: "screen", overlay: "overlay", darken: "darken", lighten: "lighten", hardLight: "hard-light", softLight: "soft-light", difference: "difference", exclusion: "exclusion", hue: "hue", saturation: "saturation", color: ...
2
sebin552211/DATEX
63935d2
src/app/components/dashboard-components/excel-table/excel-table.component.ts
TypeScript
www.github.com/sebin552211/DATEX/tree/main/src/app/components/dashboard-components/excel-table/excel-table.component.ts
https://raw.githubusercontent.com/sebin552211/DATEX/63935d2/src/app/components/dashboard-components/excel-table/excel-table.component.ts
sebin552211/DATEX 63935d2 src/app/components/dashboard-components/excel-table/excel-table.component.ts
true
200
4,434
import { Component, Input, Output, EventEmitter } from '@angular/core'; import { DashboardTableService } from '../../../service/dashboard-table.service'; import { ExcelService } from '../../../service/excel.service'; import { ExcelRow } from '../../../interface/excel-row'; import { CommonModule } from '@angular/common'...
1
MallikarjunChonde/Spring-Ai
3cff8bf
Spring-Ai-UI/src/app/app.module.ts
TypeScript
www.github.com/MallikarjunChonde/Spring-Ai/tree/main/Spring-Ai-UI/src/app/app.module.ts
https://raw.githubusercontent.com/MallikarjunChonde/Spring-Ai/3cff8bf/Spring-Ai-UI/src/app/app.module.ts
MallikarjunChonde/Spring-Ai 3cff8bf Spring-Ai-UI/src/app/app.module.ts
true
200
1,168
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { provideAnimationsAsync } from '@angular/platform-browser/animations/async'; import { FormsModule, Reacti...
3
raewashere/store-ecommerce
f63bc4d
src/app/domains/shared/components/header/header.component.ts
TypeScript
www.github.com/raewashere/store-ecommerce/tree/main/src/app/domains/shared/components/header/header.component.ts
https://raw.githubusercontent.com/raewashere/store-ecommerce/f63bc4d/src/app/domains/shared/components/header/header.component.ts
raewashere/store-ecommerce f63bc4d src/app/domains/shared/components/header/header.component.ts
true
200
807
import { Component, Input, SimpleChanges, inject, signal } from '@angular/core'; import { CartService } from '../../services/cart.service'; import { RouterLinkWithHref, RouterLinkActive } from '@angular/router'; @Component({ selector: 'app-header', standalone: true, imports: [RouterLinkWithHref, RouterLinkActiv...
0
chenmingzhen/ethan-ui-library
faa919d
src/component/Upload/utils/index.ts
TypeScript
www.github.com/chenmingzhen/ethan-ui-library/tree/main/src/component/Upload/utils/index.ts
https://raw.githubusercontent.com/chenmingzhen/ethan-ui-library/faa919d/src/component/Upload/utils/index.ts
chenmingzhen/ethan-ui-library faa919d src/component/Upload/utils/index.ts
true
200
645
import { UploadFileStatus } from '../type' import { ERROR } from './request' export const VALIDATOR_ITEMS = [ { key: 'size', params: (file: File) => file.size }, { key: 'ext', params: (file: File) => { const exts = file.name.split('.') return exts[exts.length - 1] ...
7
suhas2393/UI-Training
050affe
DashSort/src/app/component/register/register.component.ts
TypeScript
www.github.com/suhas2393/UI-Training/tree/main/DashSort/src/app/component/register/register.component.ts
https://raw.githubusercontent.com/suhas2393/UI-Training/050affe/DashSort/src/app/component/register/register.component.ts
suhas2393/UI-Training 050affe DashSort/src/app/component/register/register.component.ts
true
200
583
import { Component } from '@angular/core'; import { AuthService } from 'src/app/shared/auth.service'; @Component({ selector: 'app-register', templateUrl: './register.component.html', styleUrls: ['./register.component.css'] }) export class RegisterComponent { constructor(private authService : AuthService){} ...
4
descope-sample-apps/sbt-aws-sample-app
db2a5ab
main-app/cdk-example/node_modules/aws-cdk-lib/aws-healthimaging/lib/healthimaging.generated.d.ts
TypeScript
www.github.com/descope-sample-apps/sbt-aws-sample-app/tree/main/main-app/cdk-example/node_modules/aws-cdk-lib/aws-healthimaging/lib/healthimaging.generated.d.ts
https://raw.githubusercontent.com/descope-sample-apps/sbt-aws-sample-app/db2a5ab/main-app/cdk-example/node_modules/aws-cdk-lib/aws-healthimaging/lib/healthimaging.generated.d.ts
descope-sample-apps/sbt-aws-sample-app db2a5ab main-app/cdk-example/node_modules/aws-cdk-lib/aws-healthimaging/lib/healthimaging.generated.d.ts
true
200
4,060
import * as cdk from "aws-cdk-lib/coreb/coreb/coreb/core"; import * as constructs from "constructs/lib"; import * as cfn_parse from "aws-cdk-lib/core/lib/helpers-internalternalternalternal"; /** * Create a data store. * * @cloudformationResource AWS::HealthImaging::Datastore * @stability external * @see http://doc...
2
Safwan-Mohammed/Todo-List
cf6c577
src/app/app.component.ts
TypeScript
www.github.com/Safwan-Mohammed/Todo-List/tree/main/src/app/app.component.ts
https://raw.githubusercontent.com/Safwan-Mohammed/Todo-List/cf6c577/src/app/app.component.ts
Safwan-Mohammed/Todo-List cf6c577 src/app/app.component.ts
true
200
954
import { Component } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterOutlet } from '@angular/router'; import { AddTodoListComponent } from "./Components/add-todo-list/add-todo-list.component"; import { TodoListItemComponent } from './Components/todo-list-item/todo-list-item.componen...
4
duylenguyenhuu/cv-web
f7f8296
src/common/constants/languages.ts
TypeScript
www.github.com/duylenguyenhuu/cv-web/tree/main/src/common/constants/languages.ts
https://raw.githubusercontent.com/duylenguyenhuu/cv-web/f7f8296/src/common/constants/languages.ts
duylenguyenhuu/cv-web f7f8296 src/common/constants/languages.ts
true
200
6,730
export const RESOURCE_KEYS = { application: { header: { userinfo1: { labels: { loggedInAs: "application.header.userinfo1.label...", logoutButton: "", them: "application.header.userinfo", }, }, }, }, keycloak: { processing: { messageeee: "...
2
pabloverly/ProjetoFacu_Front
dcb86a9
src/app/components/header/header.component.ts
TypeScript
www.github.com/pabloverly/ProjetoFacu_Front/tree/main/src/app/components/header/header.component.ts
https://raw.githubusercontent.com/pabloverly/ProjetoFacu_Front/dcb86a9/src/app/components/header/header.component.ts
pabloverly/ProjetoFacu_Front dcb86a9 src/app/components/header/header.component.ts
true
200
1,159
import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { faCartShopping } from '@fortawesome/free-solid-svg-icons'; import { faTag } from '@fortawesome/free-solid-svg-icons'; import { Store, select } from '@ngrx/store'; import { Observable } from 'rxjs'; import { IProduct } ...
4
thobenayann/my-budget-tracker
d11be94
app/api/history-data/route.ts
TypeScript
www.github.com/thobenayann/my-budget-tracker/tree/main/app/api/history-data/route.ts
https://raw.githubusercontent.com/thobenayann/my-budget-tracker/d11be94/app/api/history-data/route.ts
thobenayann/my-budget-tracker d11be94 app/api/history-data/route.ts
true
200
5,791
import { getCurrentUser } from '@/lib/getCurrentUser'; import prisma from '@/lib/prisma'; import { Period, Timeframe } from '@/lib/types'; import { getDaysInMonth } from 'date-fns'; import { z } from 'zod'; const getHistoryDataSchema = z.object({ timeframe: z.enum(['month', 'year']), month: z.coerce.number().m...
2
eduardoezequieel/bank-test
240f508
src/app/user/user.component.spec.ts
TypeScript
www.github.com/eduardoezequieel/bank-test/tree/main/src/app/user/user.component.spec.ts
https://raw.githubusercontent.com/eduardoezequieel/bank-test/240f508/src/app/user/user.component.spec.ts
eduardoezequieel/bank-test 240f508 src/app/user/user.component.spec.ts
true
200
3,405
import { ComponentFixture, TestBed, fakeAsync, tick } from '@angular/core/testing'; import Swal, { SweetAlertResult } from 'sweetalert2'; import { UserComponent } from './user.component'; import { ReactiveFormsModule } from '@angular/forms'; import { ShareService } from './services/share.service'; import { Router } fro...
4
Lilsax/Advanced-TypeScript
65a0192
overload.ts
TypeScript
www.github.com/Lilsax/Advanced-TypeScript/tree/main/overload.ts
https://raw.githubusercontent.com/Lilsax/Advanced-TypeScript/65a0192/overload.ts
Lilsax/Advanced-TypeScript 65a0192 overload.ts
true
200
2,972
// function returnWhatIPassIn(s: string): string; // function returnWhatIPassIn(s: number): number; function youSayHello(s: "hello"): "goodbye"; function youSayHello(s: "goodbye"): "hello"; function youSayHello(s:string) { return s == "hello" ? "goodbye" : "hello" }; youSayHello("hello") interface Anonymo...
2
skitchen1992/Chat
ff4bf46
src/components/modals/AddChatModal/index.ts
TypeScript
www.github.com/skitchen1992/Chat/tree/main/src/components/modals/AddChatModal/index.ts
https://raw.githubusercontent.com/skitchen1992/Chat/ff4bf46/src/components/modals/AddChatModal/index.ts
skitchen1992/Chat ff4bf46 src/components/modals/AddChatModal/index.ts
true
200
1,697
import { Button } from "../../button"; import { IconClose } from "../../iconClose"; import template from "./addChatModal.pug"; import * as styles from "../styleModal.scss"; import { Input } from "../../input"; import store, { IModal, withStore } from "../../../utils/Store"; import Block from "../../../utils/Block"; imp...
4
Baagiich/atlos-front
e15f3c1
src/utils/enumHelper.ts
TypeScript
www.github.com/Baagiich/atlos-front/tree/main/src/utils/enumHelper.ts
https://raw.githubusercontent.com/Baagiich/atlos-front/e15f3c1/src/utils/enumHelper.ts
Baagiich/atlos-front e15f3c1 src/utils/enumHelper.ts
true
200
520
// import { forIn } from 'lodash' // export function getMap(type: any) { // const map = {}; // forIn(type, (value, key) => map[key] = value) // return map // } export function getKeys(type: any) { return Object.keys(type).filter((v) => isNaN(Number(v))); } export function getValues(type: any) { return getKe...
2
phamducbinhh/Backend-ShopApp-Mysql
a608620
src/schema/product/productSchema.ts
TypeScript
www.github.com/phamducbinhh/Backend-ShopApp-Mysql/tree/main/src/schema/product/productSchema.ts
https://raw.githubusercontent.com/phamducbinhh/Backend-ShopApp-Mysql/a608620/src/schema/product/productSchema.ts
phamducbinhh/Backend-ShopApp-Mysql a608620 src/schema/product/productSchema.ts
true
200
1,849
const Joi = require('joi') class ProductInsertSchema { name: string image: string price: string | number oldprice: string | number description: string specification: string buyturn: string | number quantity: string | number brand_id: string | number category_id: string | number constructor(data: ...
2
krish-zymr/typescript-project
92d4740
Middleware/chechRole.ts
TypeScript
www.github.com/krish-zymr/typescript-project/tree/main/Middleware/chechRole.ts
https://raw.githubusercontent.com/krish-zymr/typescript-project/92d4740/Middleware/chechRole.ts
krish-zymr/typescript-project 92d4740 Middleware/chechRole.ts
true
200
600
import { Request, Response, NextFunction } from "express"; import jwt from "jsonwebtoken"; import dotenv from "dotenv"; dotenv.config() type Role = "user" | "admin" | 'editor'; function checkRole(requiredRole: Role) { return function (req: Request, res: Response, next: NextFunction) { try { if (req.s...
4
etherspot/skandha
3123c5d
packages/api/src/dto/FeeHistory.dto.ts
TypeScript
www.github.com/etherspot/skandha/tree/main/packages/api/src/dto/FeeHistory.dto.ts
https://raw.githubusercontent.com/etherspot/skandha/3123c5d/packages/api/src/dto/FeeHistory.dto.ts
etherspot/skandha 3123c5d packages/api/src/dto/FeeHistory.dto.ts
true
200
375
import { IsEthereumAddress, ValidateIf } from "class-validator"; import { BigNumberish } from "ethers"; import { IsBigNumber } from "../utils"; export class FeeHistoryArgs { @IsEthereumAddress() entryPoint!: string; @IsBigNumber() blockCount!: BigNumberish; @ValidateIf((o) => o.newestBlock != "latest") @...
4
fsdtrinings/SepGFS_E2E_CoreJava
7e96d83
pipe & validation ng/app/employee/view-employee/view-employee.component.ts
TypeScript
www.github.com/fsdtrinings/SepGFS_E2E_CoreJava/tree/main/pipe & validation ng/app/employee/view-employee/view-employee.component.ts
https://raw.githubusercontent.com/fsdtrinings/SepGFS_E2E_CoreJava/7e96d83/pipe%20%26%20validation%20ng/app/employee/view-employee/view-employee.component.ts
fsdtrinings/SepGFS_E2E_CoreJava 7e96d83 pipe & validation ng/app/employee/view-employee/view-employee.component.ts
true
200
980
import { Component } from '@angular/core'; import { EmployeeBasicDTO } from 'src/app/dto/employee-basic-dto'; import { AdminService } from 'src/app/service/admin.service'; @Component({ selector: 'app-view-employee', templateUrl: './view-employee.component.html', styleUrls: ['./view-employee.component.css'], }) e...
2
hurley87/finale
a766a68
hardhat-ts/scripts/deploy.ts
TypeScript
www.github.com/hurley87/finale/tree/main/hardhat-ts/scripts/deploy.ts
https://raw.githubusercontent.com/hurley87/finale/a766a68/hardhat-ts/scripts/deploy.ts
hurley87/finale a766a68 hardhat-ts/scripts/deploy.ts
true
200
453
import '@nomiclabs/hardhat-waffle'; require('@nomiclabs/hardhat-ethers'); // import { ethers } from 'hardhat'; import { allowlist } from './allowlist'; async function main() { // const NFT = await ethers.getContractFactory('Finale'); // const nft = await NFT.deploy(allowlist); // await nft.deployed(); // cons...
4
Amidsts/eduEmirate
c1282e8
src/config/db.ts
TypeScript
www.github.com/Amidsts/eduEmirate/tree/main/src/config/db.ts
https://raw.githubusercontent.com/Amidsts/eduEmirate/c1282e8/src/config/db.ts
Amidsts/eduEmirate c1282e8 src/config/db.ts
true
200
384
import {ConnectOptions, connect} from "mongoose" import { ENV } from "../helpers/general" import logger from "../helpers/logger" const options = { useUnifiedTopology: true, useNewUrlParser: true } as ConnectOptions connect(ENV("mongouri"), options).then( (e) => { logger.info("connected to databa...
2
chromaui/addon-visual-tests
05239ae
src/preset.ts
TypeScript
www.github.com/chromaui/addon-visual-tests/tree/main/src/preset.ts
https://raw.githubusercontent.com/chromaui/addon-visual-tests/05239ae/src/preset.ts
chromaui/addon-visual-tests 05239ae src/preset.ts
true
200
9,163
import { watch } from 'node:fs'; import { readFile } from 'node:fs/promises'; import { normalize, relative } from 'node:path'; import { type Configuration, getConfiguration, getGitInfo, type GitInfo } from 'chromatic/node'; import type { Channel } from 'storybook/internal/channels'; import { experimental_getTestProvid...
6
SJ23y/Fit_friends
b617a4a
frontend/src/store/review-process/review-process.ts
TypeScript
www.github.com/SJ23y/Fit_friends/tree/main/frontend/src/store/review-process/review-process.ts
https://raw.githubusercontent.com/SJ23y/Fit_friends/b617a4a/frontend/src/store/review-process/review-process.ts
SJ23y/Fit_friends b617a4a frontend/src/store/review-process/review-process.ts
true
200
737
import { createSlice } from '@reduxjs/toolkit'; import { NameSpace } from '../../consts'; import { ReviewProcess } from '../../types/state'; import { uploadReviews, addNewReview } from './thunk-actions'; const initialState: ReviewProcess = { reviews: null, }; const reviewProcess = createSlice({ name: NameSpa...
5
YurGoV/typescript-rest-app
5a41920
src/database/prismaService.ts
TypeScript
www.github.com/YurGoV/typescript-rest-app/tree/main/src/database/prismaService.ts
https://raw.githubusercontent.com/YurGoV/typescript-rest-app/5a41920/src/database/prismaService.ts
YurGoV/typescript-rest-app 5a41920 src/database/prismaService.ts
true
200
739
import { PrismaClient, UserModel } from '@prisma/client'; import { inject, injectable } from 'inversify'; import { TYPES } from '../types'; import { ILogger } from '../logger/loggerInterface'; @injectable() export class PrismaService { client: PrismaClient; constructor(@inject(TYPES.ILogger) private logger: ILogg...
4
Laloep19/RickandMorty_Backend
1b13faa
src/gender/gender.module.ts
TypeScript
www.github.com/Laloep19/RickandMorty_Backend/tree/main/src/gender/gender.module.ts
https://raw.githubusercontent.com/Laloep19/RickandMorty_Backend/1b13faa/src/gender/gender.module.ts
Laloep19/RickandMorty_Backend 1b13faa src/gender/gender.module.ts
true
200
458
import { Module } from '@nestjs/common'; import { GenderService } from './gender.service'; import { GenderController } from './gender.controller'; import { HttpModule } from '@nestjs/axios'; import { TypeOrmModule } from '@nestjs/typeorm'; import { Gender } from './entities/gender.entity'; @Module({ imports: [TypeOr...
2
ketiboldiais/hago
b67a800
src/utils/HagoMath/Parser/helpers/NodeBuilders.ts
TypeScript
www.github.com/ketiboldiais/hago/tree/main/src/utils/HagoMath/Parser/helpers/NodeBuilders.ts
https://raw.githubusercontent.com/ketiboldiais/hago/b67a800/src/utils/HagoMath/Parser/helpers/NodeBuilders.ts
ketiboldiais/hago b67a800 src/utils/HagoMath/Parser/helpers/NodeBuilders.ts
true
200
765
type ASTNode = string | object; export const Program = (val: ASTNode) => ({ type: 'Program', body: val, }); export const NumericLiteral = (val: string): ASTNode => ({ type: 'NumericLiteral', value: Number(val), }); export const StringLiteral = (val: string) => ({ type: 'StringLiteral', value: val.slice(1, ...
0
ohbyul/common-next
825080a
src/utiles/index.ts
TypeScript
www.github.com/ohbyul/common-next/tree/main/src/utiles/index.ts
https://raw.githubusercontent.com/ohbyul/common-next/825080a/src/utiles/index.ts
ohbyul/common-next 825080a src/utiles/index.ts
true
200
549
export { addComma, addZero, capitalize, checkNewIcon, makeRandomNumber } from './common' export { decrypt, encrypt } from './crypto' export { dateFormat, dateFormatHangul, dateFormatValid, dateFulltimeFormat, dateTimeFormat, diffDaysByToday, diffMinutes, diffSeconds, getCurrentDate, getWesternAge, isAft...
1
rivolt0421/HH-plus-concert
66b3333
src/application/reservation/reservation.module.ts
TypeScript
www.github.com/rivolt0421/HH-plus-concert/tree/main/src/application/reservation/reservation.module.ts
https://raw.githubusercontent.com/rivolt0421/HH-plus-concert/66b3333/src/application/reservation/reservation.module.ts
rivolt0421/HH-plus-concert 66b3333 src/application/reservation/reservation.module.ts
true
200
2,856
import { Module } from '@nestjs/common'; import { ReservationService } from 'src/domain/reservation/service/reservation.service'; import { GetAvailableDatesUsecase } from './get-available-dates.usecase'; import { GetAvailableSeatsUsecase } from './get-available-seats.usecase'; import { CreateReservationUsecase } from '...
3
thetalentedboy/create-node-bff
7c2ab36
middleware/response.ts
TypeScript
www.github.com/thetalentedboy/create-node-bff/tree/main/middleware/response.ts
https://raw.githubusercontent.com/thetalentedboy/create-node-bff/7c2ab36/middleware/response.ts
thetalentedboy/create-node-bff 7c2ab36 middleware/response.ts
true
200
739
import { logger } from '@vendor/logger'; import type { NextFunction, Request, Response } from 'express'; import type { ExpressMiddlewareInterface} from 'routing-controllers'; import { Middleware } from 'routing-controllers'; import { GATEWAY_INTERFACE, GatewayInterface } from 'service/gateway'; import { Inject, Service...
7
OdjiDev/gestion_Ressources_MAJ
d2c833a
Gestion_Angular_Front_end/src/app/Mise-a-jour/mise-a-jour/miseajour.service.spec.ts
TypeScript
www.github.com/OdjiDev/gestion_Ressources_MAJ/tree/main/Gestion_Angular_Front_end/src/app/Mise-a-jour/mise-a-jour/miseajour.service.spec.ts
https://raw.githubusercontent.com/OdjiDev/gestion_Ressources_MAJ/d2c833a/Gestion_Angular_Front_end/src/app/Mise-a-jour/mise-a-jour/miseajour.service.spec.ts
OdjiDev/gestion_Ressources_MAJ d2c833a Gestion_Angular_Front_end/src/app/Mise-a-jour/mise-a-jour/miseajour.service.spec.ts
true
200
372
import { TestBed } from '@angular/core/testing'; import { MiseajourService } from './miseajour.service'; describe('MiseajourService', () => { let service: MiseajourService; beforeEach(() => { TestBed.configureTestingModule({}); service = TestBed.inject(MiseajourService); }); it('should be created', ...
5
thienduchuutran/gettingStartedWithNestJS
4e4d60e
src/files/files.controller.ts
TypeScript
www.github.com/thienduchuutran/gettingStartedWithNestJS/tree/main/src/files/files.controller.ts
https://raw.githubusercontent.com/thienduchuutran/gettingStartedWithNestJS/4e4d60e/src/files/files.controller.ts
thienduchuutran/gettingStartedWithNestJS 4e4d60e src/files/files.controller.ts
true
200
1,619
import { Controller, Get, Post, Body, Patch, Param, Delete, UseInterceptors, UploadedFile, ParseFilePipeBuilder, HttpStatus, UseFilters } from '@nestjs/common'; import { FilesService } from './files.service'; import { CreateFileDto } from './dto/create-file.dto'; import { UpdateFileDto } from './dto/update-file.dto'; i...
4
OmerIgna/Netflix
f2808bb
frontend/src/i18n.ts
TypeScript
www.github.com/OmerIgna/Netflix/tree/main/frontend/src/i18n.ts
https://raw.githubusercontent.com/OmerIgna/Netflix/f2808bb/frontend/src/i18n.ts
OmerIgna/Netflix f2808bb frontend/src/i18n.ts
true
200
424
import i18n from "i18next"; import { initReactI18next } from "react-i18next"; import en from "./locales/en.json"; import es from "./locales/es.json"; import de from "./locales/de.json"; const resources = { en: { translation: en }, es: { translation: es}, de: { translation: de} }; i18n.use(initReactI18next).ini...
0
lehongduc200115/unitime-do-an
b2157e1
backend/src/common/interface.ts
TypeScript
www.github.com/lehongduc200115/unitime-do-an/tree/main/backend/src/common/interface.ts
https://raw.githubusercontent.com/lehongduc200115/unitime-do-an/b2157e1/backend/src/common/interface.ts
lehongduc200115/unitime-do-an b2157e1 backend/src/common/interface.ts
true
200
448
// This interface represent occupied time during working hour (6am to 6pm) type IDailyTimetable = boolean[]; type IDailyTimetableWithIds = (string | boolean)[]; interface ICoordinate { zone: "Q10" | "TD"; block: string; level: number; } interface ICriteriaDetail<T> { isActive: boolean; condition: T; } inte...
2
ratep555/HappyKids
586398b
angular-happykids/src/app/basket/basket.service.ts
TypeScript
www.github.com/ratep555/HappyKids/tree/main/angular-happykids/src/app/basket/basket.service.ts
https://raw.githubusercontent.com/ratep555/HappyKids/586398b/angular-happykids/src/app/basket/basket.service.ts
ratep555/HappyKids 586398b angular-happykids/src/app/basket/basket.service.ts
true
200
6,433
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; import { map } from 'rxjs/operators'; import { environment } from 'src/environments/environment'; import { Basket, BasketChildrenItem, BasketClass, BasketSum } from '../shared/models/ba...
3
nasonkin-aa/Y-panel-job
f3fd3d6
src/classes/WorldInDropWater.ts
TypeScript
www.github.com/nasonkin-aa/Y-panel-job/tree/main/src/classes/WorldInDropWater.ts
https://raw.githubusercontent.com/nasonkin-aa/Y-panel-job/f3fd3d6/src/classes/WorldInDropWater.ts
nasonkin-aa/Y-panel-job f3fd3d6 src/classes/WorldInDropWater.ts
true
200
414
import { IEquipment } from '../types'; import HTTPConnector from './HTTPConnector'; export default class WorldInDropWater extends HTTPConnector implements IEquipment { on() { console.log('on blob'); return super.powerOn('/setMainCtrl.cgi?Type=9&SubType=274&Value=1'); } off() { console.log(...
1
BCACTF/arcs-rewrite-frontend
9ce6118
lib/database/solves.ts
TypeScript
www.github.com/BCACTF/arcs-rewrite-frontend/tree/main/lib/database/solves.ts
https://raw.githubusercontent.com/BCACTF/arcs-rewrite-frontend/9ce6118/lib/database/solves.ts
BCACTF/arcs-rewrite-frontend 9ce6118 lib/database/solves.ts
true
200
3,291
import makeWebhookRequest from "./makeWebhookReq"; import { ChallId, TeamId, UserId, challIdToStr, teamIdToStr, userIdToStr } from "cache/ids"; import { addSolve, clearAllSolves } from "cache/solves"; import { dbToCacheSolve } from "./db-types"; import { InputAuth, syncUser } from "./users"; import { syncTeam } from "....
7
KevinSantizo/ANGULAR-LOGIN
24f3c4e
src/app/app.module.ts
TypeScript
www.github.com/KevinSantizo/ANGULAR-LOGIN/tree/main/src/app/app.module.ts
https://raw.githubusercontent.com/KevinSantizo/ANGULAR-LOGIN/24f3c4e/src/app/app.module.ts
KevinSantizo/ANGULAR-LOGIN 24f3c4e src/app/app.module.ts
true
200
1,044
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { NavbarComponent } from './shared/navbar/navbar.component'; ...
6
Emam546/courses-site
2bb1192
src/utils/index.ts
TypeScript
www.github.com/Emam546/courses-site/tree/main/src/utils/index.ts
https://raw.githubusercontent.com/Emam546/courses-site/2bb1192/src/utils/index.ts
Emam546/courses-site 2bb1192 src/utils/index.ts
true
200
1,715
import { v4 as _uuid } from "uuid"; export function assertIsNode(e: EventTarget | null): asserts e is Node { if (!e || !("nodeType" in e)) { throw new Error(`Node expected`); } } export function copyObject<T>(obj: T): T { return MakeItSerializable(obj); } export function hasOwnProperty<K extends Pr...
5
ange-gardien1/Post_FrontEnd_Angular
7286bf2
src/app/components/profile/profile.component.ts
TypeScript
www.github.com/ange-gardien1/Post_FrontEnd_Angular/tree/main/src/app/components/profile/profile.component.ts
https://raw.githubusercontent.com/ange-gardien1/Post_FrontEnd_Angular/7286bf2/src/app/components/profile/profile.component.ts
ange-gardien1/Post_FrontEnd_Angular 7286bf2 src/app/components/profile/profile.component.ts
true
200
1,600
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { Tweet } from 'src/app/models/tweet'; import { User } from 'src/app/models/user'; import { TweetService } from 'src/app/services/tweet.service'; import { UserService } from 'src/app/services/user.service'; @Com...
2
damms005/devdb-vscode
7cf8b85
src/test/suite/engines/mysql.test.ts
TypeScript
www.github.com/damms005/devdb-vscode/tree/main/src/test/suite/engines/mysql.test.ts
https://raw.githubusercontent.com/damms005/devdb-vscode/7cf8b85/src/test/suite/engines/mysql.test.ts
damms005/devdb-vscode 7cf8b85 src/test/suite/engines/mysql.test.ts
true
200
6,853
import * as assert from 'assert'; import knexlib from "knex"; import { MySqlContainer, StartedMySqlContainer } from '@testcontainers/mysql'; import { MysqlEngine } from '../../../database-engines/mysql-engine'; import { SerializedMutation } from '../../../types'; /** * We use a predefined image like this because dock...
1