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
njoanc/mobile-wallet-backend
ff70bf6
src/app.module.ts
TypeScript
www.github.com/njoanc/mobile-wallet-backend/tree/main/src/app.module.ts
https://raw.githubusercontent.com/njoanc/mobile-wallet-backend/ff70bf6/src/app.module.ts
njoanc/mobile-wallet-backend ff70bf6 src/app.module.ts
true
200
1,034
// src/app.module.ts import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { ConfigModule, ConfigService } from '@nestjs/config'; import ormconfig from '../ormconfig'; import { DatabaseService } from './database/database.provider'; import { UserModule } from './user/user.modul...
2
frodriguezcode/financial-system
9a5c441
src/app/demo/flujos/consolidado-mejorado/consolidado-mejorado-trimestral/consolidado-mejorado-trimestral.ts
TypeScript
www.github.com/frodriguezcode/financial-system/tree/main/src/app/demo/flujos/consolidado-mejorado/consolidado-mejorado-trimestral/consolidado-mejorado-trimestral.ts
https://raw.githubusercontent.com/frodriguezcode/financial-system/9a5c441/src/app/demo/flujos/consolidado-mejorado/consolidado-mejorado-trimestral/consolidado-mejorado-trimestral.ts
frodriguezcode/financial-system 9a5c441 src/app/demo/flujos/consolidado-mejorado/consolidado-mejorado-trimestral/consolidado-mejorado-trimestral.ts
true
200
20,466
// angular import import { Component, OnInit, ViewChild } from '@angular/core'; import { CommonModule } from '@angular/common'; // project import import { SharedModule } from 'src/app/theme/shared/shared.module'; import { ConfigurationService } from 'src/app/services/configuration.service'; import { Table, TableModule...
5
Alexsidin/pupa
b85a2d1
projects/demo/src/app/pages/counter-demo/counter-demo-routing.module.ts
TypeScript
www.github.com/Alexsidin/pupa/tree/main/projects/demo/src/app/pages/counter-demo/counter-demo-routing.module.ts
https://raw.githubusercontent.com/Alexsidin/pupa/b85a2d1/projects/demo/src/app/pages/counter-demo/counter-demo-routing.module.ts
Alexsidin/pupa b85a2d1 projects/demo/src/app/pages/counter-demo/counter-demo-routing.module.ts
true
200
380
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { CounterDemoComponent } from './counter-demo.component'; const routes: Routes = [ { path: '', component: CounterDemoComponent, }, ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: ...
4
Julius-Taslim/24001143-synrgy7-jul-bcr-ch5
056bd1f
src/services/carService.ts
TypeScript
www.github.com/Julius-Taslim/24001143-synrgy7-jul-bcr-ch5/tree/main/src/services/carService.ts
https://raw.githubusercontent.com/Julius-Taslim/24001143-synrgy7-jul-bcr-ch5/056bd1f/src/services/carService.ts
Julius-Taslim/24001143-synrgy7-jul-bcr-ch5 056bd1f src/services/carService.ts
true
200
5,741
import { createClient } from 'redis'; import { Request, Response } from 'express'; import knex from 'knex'; import { Model } from 'objection'; import { CarsModel } from '../model/cars.model'; import cloudinary from '../middlewares/cloudinary'; import { UploadApiResponse } from 'cloudinary'; const knexInstance = knex({...
7
d-zucho/customcase
3767eca
src/db/index.ts
TypeScript
www.github.com/d-zucho/customcase/tree/main/src/db/index.ts
https://raw.githubusercontent.com/d-zucho/customcase/3767eca/src/db/index.ts
d-zucho/customcase 3767eca src/db/index.ts
true
200
1,585
import { PrismaClient } from '@prisma/client' declare global { var cachedPrisma: PrismaClient } let prisma: PrismaClient if (process.env.NODE_ENV === 'production') { prisma = new PrismaClient() } else { if (!global.cachedPrisma) { global.cachedPrisma = new PrismaClient() } prisma = global.cachedPrisma...
6
microsoft/vscode-docker-extensibility
a7f8771
packages/vscode-container-client/src/utils/wslifyPath.ts
TypeScript
www.github.com/microsoft/vscode-docker-extensibility/tree/main/packages/vscode-container-client/src/utils/wslifyPath.ts
https://raw.githubusercontent.com/microsoft/vscode-docker-extensibility/a7f8771/packages/vscode-container-client/src/utils/wslifyPath.ts
microsoft/vscode-docker-extensibility a7f8771 packages/vscode-container-client/src/utils/wslifyPath.ts
true
200
805
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *----------------------------------------------------------------...
1
pauhoms/instagram-backend
d6d8961
src/app/routes/index.ts
TypeScript
www.github.com/pauhoms/instagram-backend/tree/main/src/app/routes/index.ts
https://raw.githubusercontent.com/pauhoms/instagram-backend/d6d8961/src/app/routes/index.ts
pauhoms/instagram-backend d6d8961 src/app/routes/index.ts
true
200
349
import { Application } from "express"; import container from "./../dependency-injection/index"; import { shared } from "./shared"; import { user } from "./user"; export const version = process.env.VERSION || "v1"; export const loadApiEndpoints = (app: Application): void => { user(app, container, version); shared(...
2
Sureshsandysenapathi/cutm
8babf84
src/app/ai/ai.component.ts
TypeScript
www.github.com/Sureshsandysenapathi/cutm/tree/main/src/app/ai/ai.component.ts
https://raw.githubusercontent.com/Sureshsandysenapathi/cutm/8babf84/src/app/ai/ai.component.ts
Sureshsandysenapathi/cutm 8babf84 src/app/ai/ai.component.ts
true
200
2,862
import { CommonModule } from '@angular/common'; import { Component } from '@angular/core'; import { FormBuilder, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms'; import { RouterModule } from '@angular/router'; @Component({ selector: 'app-ai', standalone: true, imports: [CommonModule,RouterModul...
5
cassioate/Survey-NodeJS
b83e7d3
tests/presentation/controllers/survey-result/save-survey-result/save-survey-result-controller.spec.ts
TypeScript
www.github.com/cassioate/Survey-NodeJS/tree/main/tests/presentation/controllers/survey-result/save-survey-result/save-survey-result-controller.spec.ts
https://raw.githubusercontent.com/cassioate/Survey-NodeJS/b83e7d3/tests/presentation/controllers/survey-result/save-survey-result/save-survey-result-controller.spec.ts
cassioate/Survey-NodeJS b83e7d3 tests/presentation/controllers/survey-result/save-survey-result/save-survey-result-controller.spec.ts
true
200
4,015
import { SurveyModel } from '../../../../../src/domain/models/survey' import { LoadSurveyById } from '../../../../../src/domain/usecases/survey/load-survey-by-id' import { InternalServerError, InvalidParamError } from '../../../../../src/presentation/errors' import { SaveSurveyResultController } from '../../../../../sr...
7
m-zaink/BlackWidow
dc15541
assistants/storageAssistant/storageAssistant.ts
TypeScript
www.github.com/m-zaink/BlackWidow/tree/main/assistants/storageAssistant/storageAssistant.ts
https://raw.githubusercontent.com/m-zaink/BlackWidow/dc15541/assistants/storageAssistant/storageAssistant.ts
m-zaink/BlackWidow dc15541 assistants/storageAssistant/storageAssistant.ts
true
200
1,440
import { Empty, Failure, Success, } from "../../utilities/typescriptx/typescriptx"; import Assistant from "../core/assistant"; import ShallowStorageAssistant from "./shallowStorageAssistant"; import { DeleteFailure, RetrieveFailure, StoreFailure, UpdateFailure, } from "./types"; export defa...
6
jupegarnica/jupegarnica
d5b84a8
_config.ts
TypeScript
www.github.com/jupegarnica/jupegarnica/tree/main/_config.ts
https://raw.githubusercontent.com/jupegarnica/jupegarnica/d5b84a8/_config.ts
jupegarnica/jupegarnica d5b84a8 _config.ts
true
200
846
import lume from "lume/mod.ts"; import jsx from "lume/plugins/jsx.ts"; import google_fonts from "lume/plugins/google_fonts.ts"; import mdx from "lume/plugins/mdx.ts"; import tailwindcss from "lume/plugins/tailwindcss.ts"; import postcss from "lume/plugins/postcss.ts"; import { tailwindcssConfig } from "./tailwind.confi...
4
Bryanzdruls/PinguineraReduxFront
dce103f
src/app/ui/blocks/products-array-block/products-array-block.component.ts
TypeScript
www.github.com/Bryanzdruls/PinguineraReduxFront/tree/main/src/app/ui/blocks/products-array-block/products-array-block.component.ts
https://raw.githubusercontent.com/Bryanzdruls/PinguineraReduxFront/dce103f/src/app/ui/blocks/products-array-block/products-array-block.component.ts
Bryanzdruls/PinguineraReduxFront dce103f src/app/ui/blocks/products-array-block/products-array-block.component.ts
true
200
1,618
import { Component, EventEmitter, Input, Output } from '@angular/core'; import { IProductModel } from '../../../core/models/product/product.model'; import { IProductEntityListResponseModel } from '../../../core/models/product/multiplePrice.model'; import { ButtonApiElementComponent } from '../../elements/products/butto...
5
benAzouzYassin/Form-Builder
31c9b23
actions/formActions.ts
TypeScript
www.github.com/benAzouzYassin/Form-Builder/tree/main/actions/formActions.ts
https://raw.githubusercontent.com/benAzouzYassin/Form-Builder/31c9b23/actions/formActions.ts
benAzouzYassin/Form-Builder 31c9b23 actions/formActions.ts
true
200
4,205
"use server" import { prisma } from "@/prisma/client" import { FormElement } from "@/utils/globalTypes" import { currentUser } from "@clerk/nextjs" export async function publishFormAction(formName: string, formDesc: string, formSchema: string) { try { const userData = await currentUser() const ...
2
mayankkaul1996/health-portal
37c082a
src/modules/locker/locker.module.ts
TypeScript
www.github.com/mayankkaul1996/health-portal/tree/main/src/modules/locker/locker.module.ts
https://raw.githubusercontent.com/mayankkaul1996/health-portal/37c082a/src/modules/locker/locker.module.ts
mayankkaul1996/health-portal 37c082a src/modules/locker/locker.module.ts
true
200
1,163
import { Module } from '@nestjs/common'; import { ConfigModule, ConfigService } from '@nestjs/config'; import { MongooseModule } from '@nestjs/mongoose'; import { FileManagerModule } from 'src/libs/fileManager/fileManager.module'; import { AuthModule } from '../auth/auth.module'; import { UserModule } from '../user/use...
6
qbentil/backend-test
ca5a618
src/models/doctor.model.ts
TypeScript
www.github.com/qbentil/backend-test/tree/main/src/models/doctor.model.ts
https://raw.githubusercontent.com/qbentil/backend-test/ca5a618/src/models/doctor.model.ts
qbentil/backend-test ca5a618 src/models/doctor.model.ts
true
200
524
import { Schema, model } from 'mongoose'; import { IDoctorModel } from '../types'; import { __encryptData } from '../helpers'; const DoctorSchema = new Schema<IDoctorModel>({ code: { type: String, required: true, unique: true }, user: { type: Schema.Types.ObjectId, ref: 'User', required:...
7
601odd/x-chat
f02bb61
src/router.ts
TypeScript
www.github.com/601odd/x-chat/tree/main/src/router.ts
https://raw.githubusercontent.com/601odd/x-chat/f02bb61/src/router.ts
601odd/x-chat f02bb61 src/router.ts
true
200
1,297
import { createWebHistory, createWebHashHistory, createRouter } from 'vue-router' import Chat from '@/pages/chat.vue' import Discover from '@/pages/discover.vue' import Setting from '@/pages/setting.vue' // import AboutView from './AboutView.vue' // electron-google-analytics4 // import Analytics from 'electron-google-...
1
Lu1zF3lipe/Manter-sistema
6d36854
src/infrastructure/repositories/system-data.repository.ts
TypeScript
www.github.com/Lu1zF3lipe/Manter-sistema/tree/main/src/infrastructure/repositories/system-data.repository.ts
https://raw.githubusercontent.com/Lu1zF3lipe/Manter-sistema/6d36854/src/infrastructure/repositories/system-data.repository.ts
Lu1zF3lipe/Manter-sistema 6d36854 src/infrastructure/repositories/system-data.repository.ts
true
200
2,809
import { PrismaProvider } from 'src/infrastructure/database/prisma.providers'; import { createSystemDTO } from 'src/system/dto/create-system.dto'; import { SystemData } from 'src/infrastructure/system-data.models'; import { findFilterSystemDTO } from 'src/system/dto/find-filter-system.dto'; import { plainToInstance } f...
4
KarbichFiras/Formation_SpringBoot
7ffa1f7
Fornt end/training/src/app/app.module.ts
TypeScript
www.github.com/KarbichFiras/Formation_SpringBoot/tree/main/Fornt end/training/src/app/app.module.ts
https://raw.githubusercontent.com/KarbichFiras/Formation_SpringBoot/7ffa1f7/Fornt%20end/training/src/app/app.module.ts
KarbichFiras/Formation_SpringBoot 7ffa1f7 Fornt end/training/src/app/app.module.ts
true
200
961
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { HttpClientModule } from '@angular/common/http'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { ConultAllProductsComponent } from './shared/com...
2
jain-hemant/DSA_Questions
ca30e90
Solutions/LinkedList/compare-two-linkedlist.ts
TypeScript
www.github.com/jain-hemant/DSA_Questions/tree/main/Solutions/LinkedList/compare-two-linkedlist.ts
https://raw.githubusercontent.com/jain-hemant/DSA_Questions/ca30e90/Solutions/LinkedList/compare-two-linkedlist.ts
jain-hemant/DSA_Questions ca30e90 Solutions/LinkedList/compare-two-linkedlist.ts
true
200
743
// You’re given the pointer to the head nodes of two linked lists. Compare the data in the nodes of the linked lists to check if they are equal. If all data attributes are equal and the lists are the same length, return 1. Otherwise, return 0. class newNode2{ data:number; next:any; constructor(val:number){ ...
5
shuqiyg/next-auth
929e9d3
src/app/api/user/route.ts
TypeScript
www.github.com/shuqiyg/next-auth/tree/main/src/app/api/user/route.ts
https://raw.githubusercontent.com/shuqiyg/next-auth/929e9d3/src/app/api/user/route.ts
shuqiyg/next-auth 929e9d3 src/app/api/user/route.ts
true
200
541
import prisma from "@/lib/prisma"; import * as bcrypt from "bcrypt" interface RequestBody { name: string; email: string; password: string; } export async function POST(request: Request){ const body:RequestBody = await request.json(); const user = await prisma.user.create({ data: { ...
6
UchqunTurdiyev/Start-app
1b5c1d9
src/api/axios.ts
TypeScript
www.github.com/UchqunTurdiyev/Start-app/tree/main/src/api/axios.ts
https://raw.githubusercontent.com/UchqunTurdiyev/Start-app/1b5c1d9/src/api/axios.ts
UchqunTurdiyev/Start-app 1b5c1d9 src/api/axios.ts
true
200
1,120
import { API_URL } from '@/config/api.config'; import { errorCatch } from '@/helper/api.helper'; import { removeTokensCookie } from '@/helper/auth.helper'; import { AuthService } from '@/servises/auth.service'; import axios from 'axios'; import Cookies from 'js-cookie'; const $axios = axios.create({ baseURL: API_URL,...
7
YuneshSh/planYear-Impact
3da1cf1
src/store/useStore.ts
TypeScript
www.github.com/YuneshSh/planYear-Impact/tree/main/src/store/useStore.ts
https://raw.githubusercontent.com/YuneshSh/planYear-Impact/3da1cf1/src/store/useStore.ts
YuneshSh/planYear-Impact 3da1cf1 src/store/useStore.ts
true
200
4,322
import { create } from 'zustand'; import { Screen, Feature, SearchResult } from '../types'; interface Store { screens: Screen[]; selectedScreen: Screen | null; selectedFeature: Feature | null; searchTerm: string; searchResults: SearchResult[]; addScreen: (screen: Screen) => void; updateScreen: (screenId:...
1
GalMunGral/michelangelo
6229bd9
src/Path.ts
TypeScript
www.github.com/GalMunGral/michelangelo/tree/main/src/Path.ts
https://raw.githubusercontent.com/GalMunGral/michelangelo/6229bd9/src/Path.ts
GalMunGral/michelangelo 6229bd9 src/Path.ts
true
200
12,291
import { Rect } from "./Geometry.js"; import { View, ViewConfig } from "./View.js"; const { cos, sin, acos, PI, sqrt } = Math; export type SvgPathCommands = { width: number; height: number; commands: Array<Command>; }; export type Command = | { type: "MOVE_TO"; x: number; y: number; } ...
4
AvinashSuthar/assignment
dbe7d52
src/routes/userRoute.ts
TypeScript
www.github.com/AvinashSuthar/assignment/tree/main/src/routes/userRoute.ts
https://raw.githubusercontent.com/AvinashSuthar/assignment/dbe7d52/src/routes/userRoute.ts
AvinashSuthar/assignment dbe7d52 src/routes/userRoute.ts
true
200
1,859
import express, { Request, Response } from "express"; import User from "../models/user"; // Ensure correct model import const userRouter = express.Router(); //@ts-ignore userRouter.post("/bfhl", async (req: Request, res: Response) => { console.log("here"); try { const { username, email, rollNumber, numbers, al...
5
nest-commerce/nest-commerce
e0ddf26
libs/data/src/lib/user/find-users-response.dto.ts
TypeScript
www.github.com/nest-commerce/nest-commerce/tree/main/libs/data/src/lib/user/find-users-response.dto.ts
https://raw.githubusercontent.com/nest-commerce/nest-commerce/e0ddf26/libs/data/src/lib/user/find-users-response.dto.ts
nest-commerce/nest-commerce e0ddf26 libs/data/src/lib/user/find-users-response.dto.ts
true
200
375
import { UserDto } from './user.dto'; import { IsInstance } from 'class-validator'; import { ApiProperty } from '../nest-decorators'; import { FindManyResponseDto } from '../find-many-response.dto'; export class FindUsersResponseDto extends FindManyResponseDto { @IsInstance(UserDto, { each: true, }) @ApiProp...
2
milomory/Shop-Scanner
f6b7b02
src/scripts/update-categories.ts
TypeScript
www.github.com/milomory/Shop-Scanner/tree/main/src/scripts/update-categories.ts
https://raw.githubusercontent.com/milomory/Shop-Scanner/f6b7b02/src/scripts/update-categories.ts
milomory/Shop-Scanner f6b7b02 src/scripts/update-categories.ts
true
200
675
import { CategoryService } from '../services/category-service'; async function main() { try { console.log('Начинаем обновление категорий Wildberries...'); const categoryService = new CategoryService(); await categoryService.updateCategories(); console.log('Категори...
6
akronim/typescript-tutorial
b941e22
src/CodeOrganization/Modules/defaultExport.ts
TypeScript
www.github.com/akronim/typescript-tutorial/tree/main/src/CodeOrganization/Modules/defaultExport.ts
https://raw.githubusercontent.com/akronim/typescript-tutorial/b941e22/src/CodeOrganization/Modules/defaultExport.ts
akronim/typescript-tutorial b941e22 src/CodeOrganization/Modules/defaultExport.ts
true
200
243
// If you don’t have a good reason to use a default export, // it is best to avoid them. export default class Yacht { constructor( public name: string, public port: string, public displacement: number) { } }
1
netsamma/food-delivery-fe
45dedcd
src/app/services/products.service.ts
TypeScript
www.github.com/netsamma/food-delivery-fe/tree/main/src/app/services/products.service.ts
https://raw.githubusercontent.com/netsamma/food-delivery-fe/45dedcd/src/app/services/products.service.ts
netsamma/food-delivery-fe 45dedcd src/app/services/products.service.ts
true
200
943
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { Product } from '../interfaces/product'; import { BehaviorSubject, Observable } from 'rxjs'; import { environment } from '../../environments/environment'; @Injectable({ providedIn: 'root', }) export class ProductsSe...
7
SergeCodeur/ENSITECH
7954fe0
src/app/components/topbar/topbar.component.ts
TypeScript
www.github.com/SergeCodeur/ENSITECH/tree/main/src/app/components/topbar/topbar.component.ts
https://raw.githubusercontent.com/SergeCodeur/ENSITECH/7954fe0/src/app/components/topbar/topbar.component.ts
SergeCodeur/ENSITECH 7954fe0 src/app/components/topbar/topbar.component.ts
true
200
652
import { Component } from '@angular/core'; import { AuthService } from 'src/app/services/auth/auth.service'; @Component({ selector: 'app-topbar', templateUrl: './topbar.component.html', styleUrls: ['./topbar.component.css'], }) export class TopbarComponent { user: any; // Récupérer l'utilisateur actuellemen...
5
JovanStef/car_core
3afb42b
car_core_app/src/users/users.controller.ts
TypeScript
www.github.com/JovanStef/car_core/tree/main/car_core_app/src/users/users.controller.ts
https://raw.githubusercontent.com/JovanStef/car_core/3afb42b/car_core_app/src/users/users.controller.ts
JovanStef/car_core 3afb42b car_core_app/src/users/users.controller.ts
true
200
1,381
import { Controller, Get, Post, Body, Patch, Param, Delete, UseGuards, UseInterceptors, ParseIntPipe, BadRequestException, HttpException, HttpStatus } from '@nestjs/common'; import { UsersService } from './users.service'; import { CreateUserDto } from './dto/create-user.dto'; import { UpdateUserDto } from './dto/update...
4
dknoern/javitas
100e500
src/app/pages/examples/login/login.component.ts
TypeScript
www.github.com/dknoern/javitas/tree/main/src/app/pages/examples/login/login.component.ts
https://raw.githubusercontent.com/dknoern/javitas/100e500/src/app/pages/examples/login/login.component.ts
dknoern/javitas 100e500 src/app/pages/examples/login/login.component.ts
true
200
856
import { Component, OnInit } from "@angular/core"; import { Router } from '@angular/router'; import { Auth } from 'aws-amplify'; import { ProgressSpinnerModule } from 'primeng/progressspinner'; @Component({ selector: "app-login", templateUrl: "login.component.html" }) export class LoginComponent implements OnInit ...
2
Lewaashaaban/foo-project2
b377d85
frontend/src/app/Pages/Partials/maps/maps.component.ts
TypeScript
www.github.com/Lewaashaaban/foo-project2/tree/main/frontend/src/app/Pages/Partials/maps/maps.component.ts
https://raw.githubusercontent.com/Lewaashaaban/foo-project2/b377d85/frontend/src/app/Pages/Partials/maps/maps.component.ts
Lewaashaaban/foo-project2 b377d85 frontend/src/app/Pages/Partials/maps/maps.component.ts
true
200
1,805
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-maps', templateUrl: './maps.component.html', styleUrls: ['./maps.component.css'] }) export class MapsComponent implements OnInit { ngOnInit(): void { // Set the default selected country ID (Lebanon) this.selectedCountryId...
6
AppleTrick/Next14Toy
00aa837
src/app/api/post/route.ts
TypeScript
www.github.com/AppleTrick/Next14Toy/tree/main/src/app/api/post/route.ts
https://raw.githubusercontent.com/AppleTrick/Next14Toy/00aa837/src/app/api/post/route.ts
AppleTrick/Next14Toy 00aa837 src/app/api/post/route.ts
true
200
1,795
import { NextRequest, NextResponse } from "next/server"; export async function GET(request: NextRequest) { try { return new Promise((resolve) => { setTimeout(() => { resolve(new NextResponse(JSON.stringify(posts), { status: 200 })); }, 500); }); } catch (e) { return new NextResponse...
7
amintasvrp/sensei
7513d32
mobile/src/pages/TeacherList/styles.ts
TypeScript
www.github.com/amintasvrp/sensei/tree/main/mobile/src/pages/TeacherList/styles.ts
https://raw.githubusercontent.com/amintasvrp/sensei/7513d32/mobile/src/pages/TeacherList/styles.ts
amintasvrp/sensei 7513d32 mobile/src/pages/TeacherList/styles.ts
true
200
1,456
import { StyleSheet } from "react-native"; const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: "#f0f0f7", }, teacherList: { marginTop: 10, marginBottom: 0, }, searchForm: { marginBottom: 0, marginTop: 40, }, label: { color: "#d4c2ff", fontFamily: "...
5
dudiq/weather-station-serv
dc05876
apps/server/src/infra/adapter/accu/weather-forecast/accu.weather-forecast.adapter.ts
TypeScript
www.github.com/dudiq/weather-station-serv/tree/main/apps/server/src/infra/adapter/accu/weather-forecast/accu.weather-forecast.adapter.ts
https://raw.githubusercontent.com/dudiq/weather-station-serv/dc05876/apps/server/src/infra/adapter/accu/weather-forecast/accu.weather-forecast.adapter.ts
dudiq/weather-station-serv dc05876 apps/server/src/infra/adapter/accu/weather-forecast/accu.weather-forecast.adapter.ts
true
200
1,777
import ms from 'ms' import type { PromiseResult } from '@local-weather/result' import { resultErr, resultOk } from '@local-weather/result' import type { WeatherAdapterErrorsInstances } from '../../../../core/errors' import { WeatherAdapterErrors } from '../../../../core/errors' import { fetchRequest } from '../../../se...
4
anasmebarki1996/air-quality
4da0c97
src/main.ts
TypeScript
www.github.com/anasmebarki1996/air-quality/tree/main/src/main.ts
https://raw.githubusercontent.com/anasmebarki1996/air-quality/4da0c97/src/main.ts
anasmebarki1996/air-quality 4da0c97 src/main.ts
true
200
732
import { ValidationPipe } from '@nestjs/common'; import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; import { SwaggerModule, DocumentBuilder } from '@nestjs/swagger'; async function bootstrap() { const app = await NestFactory.create(AppModule); app.useGlobalPipes( new Validati...
6
Software-Batch-2018/learnify-finalProject
e103748
apps/backend/src/app/api/forum/forum.controller.ts
TypeScript
www.github.com/Software-Batch-2018/learnify-finalProject/tree/main/apps/backend/src/app/api/forum/forum.controller.ts
https://raw.githubusercontent.com/Software-Batch-2018/learnify-finalProject/e103748/apps/backend/src/app/api/forum/forum.controller.ts
Software-Batch-2018/learnify-finalProject e103748 apps/backend/src/app/api/forum/forum.controller.ts
true
200
1,616
import { Body, Controller, DefaultValuePipe, Get, Param, ParseIntPipe, Post, Query, Request, UseGuards, } from '@nestjs/common'; import { ForumService } from './forum.service'; import { JwtAuthGuard } from '../users/auth/auth.guard'; import { AskQuestionDTO } from './dto/ask.dto'; import { ReplyDTO ...
2
Long-byteas/LocApp
af59c1f
src/app/rankingLocation/View/view.page.ts
TypeScript
www.github.com/Long-byteas/LocApp/tree/main/src/app/rankingLocation/View/view.page.ts
https://raw.githubusercontent.com/Long-byteas/LocApp/af59c1f/src/app/rankingLocation/View/view.page.ts
Long-byteas/LocApp af59c1f src/app/rankingLocation/View/view.page.ts
true
200
978
import { Component } from '@angular/core'; import { ActivatedRoute} from '@angular/router'; import { AngularFirestoreCollection } from '@angular/fire/compat/firestore'; import { Observable } from 'rxjs'; @Component({ selector: 'app-tab5', templateUrl: 'view.page.html', styleUrls: ['view.page.scss'] }) export cla...
7
randyvarela/TalesGame
7702919
src/app/cuento2/next/cuento2.2/cuento2.2.module.ts
TypeScript
www.github.com/randyvarela/TalesGame/tree/main/src/app/cuento2/next/cuento2.2/cuento2.2.module.ts
https://raw.githubusercontent.com/randyvarela/TalesGame/7702919/src/app/cuento2/next/cuento2.2/cuento2.2.module.ts
randyvarela/TalesGame 7702919 src/app/cuento2/next/cuento2.2/cuento2.2.module.ts
true
200
488
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { IonicModule } from '@ionic/angular'; import { Cuento22PageRoutingModule } from './cuento2.2-routing.module'; import { Cuento22Page } from './cuento2.2.page'; @NgModule({ ...
0
AndreBordignon/my-esports-portal-frontend
2130028
src/services/teams.service.ts
TypeScript
www.github.com/AndreBordignon/my-esports-portal-frontend/tree/main/src/services/teams.service.ts
https://raw.githubusercontent.com/AndreBordignon/my-esports-portal-frontend/2130028/src/services/teams.service.ts
AndreBordignon/my-esports-portal-frontend 2130028 src/services/teams.service.ts
true
200
1,265
import {api, pandascoreapi} from '@/api/api'; // Ajuste o caminho conforme a localização do seu arquivo api.ts const getTeams = async (searchTerm: any) => { try { const response = await api.get('teams', { params: { filter: { videogame_id: 3, }...
3
Siyammahdi/an-nahda-academy
817eec9
tailwind.config.ts
TypeScript
www.github.com/Siyammahdi/an-nahda-academy/tree/main/tailwind.config.ts
https://raw.githubusercontent.com/Siyammahdi/an-nahda-academy/817eec9/tailwind.config.ts
Siyammahdi/an-nahda-academy 817eec9 tailwind.config.ts
true
200
2,559
import type { Config } from "tailwindcss"; const config: Config = { content: [ "./src/pages/**/*.{js,ts,jsx,tsx,mdx}", "./src/components/**/*.{js,ts,jsx,tsx,mdx}", "./src/app/**/*.{js,ts,jsx,tsx,mdx}", ], safelist: [ 'swiper', 'swiper-wrapper', 'swiper-slide', 'swiper-pagination', ...
1
saviocosta01/tech-fullstack-backend
a19f207
src/schemas/customers.schema.ts
TypeScript
www.github.com/saviocosta01/tech-fullstack-backend/tree/main/src/schemas/customers.schema.ts
https://raw.githubusercontent.com/saviocosta01/tech-fullstack-backend/a19f207/src/schemas/customers.schema.ts
saviocosta01/tech-fullstack-backend a19f207 src/schemas/customers.schema.ts
true
200
536
import {z} from "zod" export const customerSchema = z.object({ id: z.number(), full_name: z.string(), email: z.string().email(), password: z.string(), phone: z.string(), registration_Date: z.string() }) export const customerRequestSchema = customerSchema.omit({id: true, registration_Date: true...
6
AdanRL/dizkids-frontend
6ff96f0
src/store/slices/ActiveComponent/slice.ts
TypeScript
www.github.com/AdanRL/dizkids-frontend/tree/main/src/store/slices/ActiveComponent/slice.ts
https://raw.githubusercontent.com/AdanRL/dizkids-frontend/6ff96f0/src/store/slices/ActiveComponent/slice.ts
AdanRL/dizkids-frontend 6ff96f0 src/store/slices/ActiveComponent/slice.ts
true
200
361
import { createSlice } from "@reduxjs/toolkit"; export const activeComponent = createSlice({ name: "trackedComponent", initialState: { component: "list", }, reducers: { changeActive: (state, action) => { state.component = action.payload; }, }, }); export const { changeActive } = activeComponent.actions;...
4
dougkusanagi/social-passport
6c7effb
src/stores/useProfilesStore.ts
TypeScript
www.github.com/dougkusanagi/social-passport/tree/main/src/stores/useProfilesStore.ts
https://raw.githubusercontent.com/dougkusanagi/social-passport/6c7effb/src/stores/useProfilesStore.ts
dougkusanagi/social-passport 6c7effb src/stores/useProfilesStore.ts
true
200
2,070
import { defineStore } from "pinia"; import { useToast } from "vue-toastification"; const toast = useToast(); const user_agent_list = { windows: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36", mac: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_...
7
gamayunov10/b-api
da76cb4
src/features/blogs/application/usecases/blog-ban.usecase.ts
TypeScript
www.github.com/gamayunov10/b-api/tree/main/src/features/blogs/application/usecases/blog-ban.usecase.ts
https://raw.githubusercontent.com/gamayunov10/b-api/da76cb4/src/features/blogs/application/usecases/blog-ban.usecase.ts
gamayunov10/b-api da76cb4 src/features/blogs/application/usecases/blog-ban.usecase.ts
true
200
2,049
import { CommandHandler, ICommandHandler } from '@nestjs/cqrs'; import { NotFoundException } from '@nestjs/common'; import { BanBlogInputModel } from '../../api/models/input/ban-blog-input.model'; import { BlogsRepository } from '../../infrastructure/blogs.repository'; import { BlogsQueryRepository } from '../../infra...
0
rstgroup/eventrix
827d725
examples/todo-list/src/eventrix/tasks.ts
TypeScript
www.github.com/rstgroup/eventrix/tree/main/examples/todo-list/src/eventrix/tasks.ts
https://raw.githubusercontent.com/rstgroup/eventrix/827d725/examples/todo-list/src/eventrix/tasks.ts
rstgroup/eventrix 827d725 examples/todo-list/src/eventrix/tasks.ts
true
200
1,512
import findIndex from 'lodash/findIndex'; import { EventsReceiver } from 'eventrix'; import { CREATE_TASK_EVENT_NAME, MARK_TASK_AS_DONE_EVENT_NAME, MARK_TASK_AS_TODO_EVENT_NAME, REMOVE_TASK_EVENT_NAME } from '../taskEvents'; const createTaskReceiver = new EventsReceiver(CREATE_TASK_EVENT_NAME, (eventName, { task }, st...
5
IsaiahPaget/PasswordManager
cbcffbc
src/PasswordManager.Client/src/stores/User.ts
TypeScript
www.github.com/IsaiahPaget/PasswordManager/tree/main/src/PasswordManager.Client/src/stores/User.ts
https://raw.githubusercontent.com/IsaiahPaget/PasswordManager/cbcffbc/src/PasswordManager.Client/src/stores/User.ts
IsaiahPaget/PasswordManager cbcffbc src/PasswordManager.Client/src/stores/User.ts
true
200
378
import { ref, computed } from 'vue' import { defineStore } from 'pinia' export const useUserStore = defineStore('userStore', () => { const username = ref("") const email = ref("") function setUsername(value: string) { username.value = value } function setEmail(value: string) { email.value = value ...
3
TariqHajeer/Quqaz
b013fa3
src/app/shared/components/select-driver/select-driver.component.ts
TypeScript
www.github.com/TariqHajeer/Quqaz/tree/main/src/app/shared/components/select-driver/select-driver.component.ts
https://raw.githubusercontent.com/TariqHajeer/Quqaz/b013fa3/src/app/shared/components/select-driver/select-driver.component.ts
TariqHajeer/Quqaz b013fa3 src/app/shared/components/select-driver/select-driver.component.ts
true
200
1,055
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; import Driver from 'src/app/Models/common/Driver'; import { NameAndIdDto } from 'src/app/Models/name-and-id-dto.model'; import { UserService } from 'src/app/services/user.service'; @Component({ selector: 'app-select-driver', templateUr...
1
szudev/clones
94fa0b7
reddit-clone/src/app/api/user/subreddits/route.ts
TypeScript
www.github.com/szudev/clones/tree/main/reddit-clone/src/app/api/user/subreddits/route.ts
https://raw.githubusercontent.com/szudev/clones/94fa0b7/reddit-clone/src/app/api/user/subreddits/route.ts
szudev/clones 94fa0b7 reddit-clone/src/app/api/user/subreddits/route.ts
true
200
1,470
import { db } from '@/lib/db' import { z } from 'zod' export async function GET(request: Request) { const url = new URL(request.url) try { const { username, limit, page } = z .object({ username: z.string(), limit: z.string(), page: z.string() }) .parse({ userna...
6
bouraci/wea_fe
f603ccb
app/types/UserType.ts
TypeScript
www.github.com/bouraci/wea_fe/tree/main/app/types/UserType.ts
https://raw.githubusercontent.com/bouraci/wea_fe/f603ccb/app/types/UserType.ts
bouraci/wea_fe f603ccb app/types/UserType.ts
true
200
497
export type UserType = { username: string; name: string; }; export type UserDetailType = { user: UserType; } & UserDetailDataType; export type UserAddressType = { streetAddress: string; city: string; zip: string; country: string; }; export type UserDetailDataType = { birthDay: string; address: User...
2
code-bootcamp/dabae_server
6901c3e
src/apis/courseTime/courseTime.resolver.ts
TypeScript
www.github.com/code-bootcamp/dabae_server/tree/main/src/apis/courseTime/courseTime.resolver.ts
https://raw.githubusercontent.com/code-bootcamp/dabae_server/6901c3e/src/apis/courseTime/courseTime.resolver.ts
code-bootcamp/dabae_server 6901c3e src/apis/courseTime/courseTime.resolver.ts
true
200
1,498
import { Args, Mutation, Resolver, Query } from '@nestjs/graphql'; import { CourseTimeService } from './courseTime.service'; import { CreateCourseTimeInput } from './dto/createCourseTime.input'; import { UpdateCourseTimeInput } from './dto/updateCourseTime.input'; import { CourseTime } from './entities/courseTime.entit...
7
Cute-goorm/Cloud-Librarian-Frontend
74d8392
src/app/(content)/[bookId]/bookReview/@modal/_component/Modal.style.ts
TypeScript
www.github.com/Cute-goorm/Cloud-Librarian-Frontend/tree/main/src/app/(content)/[bookId]/bookReview/@modal/_component/Modal.style.ts
https://raw.githubusercontent.com/Cute-goorm/Cloud-Librarian-Frontend/74d8392/src/app/%28content%29/%5BbookId%5D/bookReview/%40modal/_component/Modal.style.ts
Cute-goorm/Cloud-Librarian-Frontend 74d8392 src/app/(content)/[bookId]/bookReview/@modal/_component/Modal.style.ts
true
200
800
import styled from "styled-components"; export const ModalOverlay = styled.div` position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.5); /* 배경 어둡게 처리 */ display: flex; justify-content: center; align-items: center; z-index: 1000; /* 모달을 화면 위로 */ ` export...
0
arjunpotter17/endcoin-data
f6e960d
src/lib/utils.ts
TypeScript
www.github.com/arjunpotter17/endcoin-data/tree/main/src/lib/utils.ts
https://raw.githubusercontent.com/arjunpotter17/endcoin-data/f6e960d/src/lib/utils.ts
arjunpotter17/endcoin-data f6e960d src/lib/utils.ts
true
200
1,884
import { clsx, type ClassValue } from "clsx" import { twMerge } from "tailwind-merge" import axios from 'axios'; import { Payment } from "@/app/Dashboard/columns"; import { data } from "@/constants/constants"; export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)) } export const reverseGeocode...
3
SHAFAY04/TheJobPoint
ebdde9c
server/controllers/authController.ts
TypeScript
www.github.com/SHAFAY04/TheJobPoint/tree/main/server/controllers/authController.ts
https://raw.githubusercontent.com/SHAFAY04/TheJobPoint/ebdde9c/server/controllers/authController.ts
SHAFAY04/TheJobPoint ebdde9c server/controllers/authController.ts
true
200
2,829
import {Request,Response}from 'express' import * as bcrypt from 'bcrypt'; import * as jwt from 'jsonwebtoken'; import Users from '../model/userSchema'; //you have to extend Request object because cookies and body are not the only things that you send with the request //Without extending Request, you'd lose access...
5
Ansen123/Project2
1b57df3
src/app/app.module.ts
TypeScript
www.github.com/Ansen123/Project2/tree/main/src/app/app.module.ts
https://raw.githubusercontent.com/Ansen123/Project2/1b57df3/src/app/app.module.ts
Ansen123/Project2 1b57df3 src/app/app.module.ts
true
200
867
import { Component, NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { RouterModule, Routes } from '@angular/router'; import { RouterTestingModule } from '@angular/router/testing'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from '....
1
peidongxie/dest
44eff44
packages/worker-node/src/service/agent/delete.ts
TypeScript
www.github.com/peidongxie/dest/tree/main/packages/worker-node/src/service/agent/delete.ts
https://raw.githubusercontent.com/peidongxie/dest/44eff44/packages/worker-node/src/service/agent/delete.ts
peidongxie/dest 44eff44 packages/worker-node/src/service/agent/delete.ts
true
200
342
import { deleteDatabases } from '../database'; import { deleteMemo } from '../memo'; const deleteAgent = (): Promise<string> | null => { const agent = deleteMemo<string>(['agent']); if (!agent) return null; const promise = deleteDatabases(); if (!promise) return null; return promise.then(() => agent); }; ex...
6
YanekC/suivi-factures
8921115
helpers/GoCardLessHelper.ts
TypeScript
www.github.com/YanekC/suivi-factures/tree/main/helpers/GoCardLessHelper.ts
https://raw.githubusercontent.com/YanekC/suivi-factures/8921115/helpers/GoCardLessHelper.ts
YanekC/suivi-factures 8921115 helpers/GoCardLessHelper.ts
true
200
6,906
import { Expense } from '@/model/Expense'; import * as SecureStore from 'expo-secure-store'; import { Alert } from 'react-native'; import { Buffer } from "buffer"; import { retrieveInsecure, saveInsecure, saveSecure } from './StorageHelper'; export type Bank = { id: string name: string } export type Requisiti...
2
pawina405/book-store-frontend
dc2627a
src/app/sidebar/sidebar.component.ts
TypeScript
www.github.com/pawina405/book-store-frontend/tree/main/src/app/sidebar/sidebar.component.ts
https://raw.githubusercontent.com/pawina405/book-store-frontend/dc2627a/src/app/sidebar/sidebar.component.ts
pawina405/book-store-frontend dc2627a src/app/sidebar/sidebar.component.ts
true
200
923
import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import Swal from 'sweetalert2'; @Component({ selector: 'app-sidebar', templateUrl: './sidebar.component.html', styleUrl: './sidebar.component.css', }) export class SidebarComponent implements OnInit { constructor(priv...
7
XK-Z0-XD/xk-cli-tools
7ffa33b
src/utils/_extra.ts
TypeScript
www.github.com/XK-Z0-XD/xk-cli-tools/tree/main/src/utils/_extra.ts
https://raw.githubusercontent.com/XK-Z0-XD/xk-cli-tools/7ffa33b/src/utils/_extra.ts
XK-Z0-XD/xk-cli-tools 7ffa33b src/utils/_extra.ts
true
200
367
#!/usr/bin/env node import { exec, execSync } from "child_process"; import { Command } from "commander"; import * as enquirer from "enquirer"; import * as fs from "fs"; import * as path from "path"; import chalk = require("chalk"); // const templates = path.resolve(__dirname, "..", "..", "templates"); export { chalk, C...
0
christmas-turkey/react-chess
c1fe1b8
src/store/actions/board.ts
TypeScript
www.github.com/christmas-turkey/react-chess/tree/main/src/store/actions/board.ts
https://raw.githubusercontent.com/christmas-turkey/react-chess/c1fe1b8/src/store/actions/board.ts
christmas-turkey/react-chess c1fe1b8 src/store/actions/board.ts
true
200
1,386
import { ModelType } from './../../types/model'; import { BoardActionTypes } from "../action-types/board"; export interface ResetBoardAction { type: BoardActionTypes.RESET_BOARD } export interface MoveModelAction { type: BoardActionTypes.MOVE_MODEL, payload: [number, number] } export interface SetActiveM...
2
ClassicDP/worker-threads-manager
021888f
examples/main.ts
TypeScript
www.github.com/ClassicDP/worker-threads-manager/tree/main/examples/main.ts
https://raw.githubusercontent.com/ClassicDP/worker-threads-manager/021888f/examples/main.ts
ClassicDP/worker-threads-manager 021888f examples/main.ts
true
200
793
import {WorkerManager} from "../src"; import {Matrix, WorkerHandlers} from "./worker"; import {resolve} from "path"; (async ()=> { let manager = new WorkerManager<WorkerHandlers>() let workerId1 = await manager.createWorkerWithHandlers(resolve(__dirname, 'worker.js')); let res1 = await manager.call(workerId...
7
AlTosterino/MythicDungeonPugDB
44e8f9c
frontend/src/main.ts
TypeScript
www.github.com/AlTosterino/MythicDungeonPugDB/tree/main/frontend/src/main.ts
https://raw.githubusercontent.com/AlTosterino/MythicDungeonPugDB/44e8f9c/frontend/src/main.ts
AlTosterino/MythicDungeonPugDB 44e8f9c frontend/src/main.ts
true
200
510
import { createApp } from 'vue' import { createPinia } from 'pinia' import App from './App.vue' import router from './router' import './assets/main.css' import {createAuth0} from "@auth0/auth0-vue"; const app = createApp(App) app.use(createPinia()) app.use(router) app.use(createAuth0({ domain: import.meta.env.V...
0
phudoo/Project-Big
7e43ff3
FrontEnd/QLRP_FE/src/app/Component/admin/admin-ve/admin-ve.component.ts
TypeScript
www.github.com/phudoo/Project-Big/tree/main/FrontEnd/QLRP_FE/src/app/Component/admin/admin-ve/admin-ve.component.ts
https://raw.githubusercontent.com/phudoo/Project-Big/7e43ff3/FrontEnd/QLRP_FE/src/app/Component/admin/admin-ve/admin-ve.component.ts
phudoo/Project-Big 7e43ff3 FrontEnd/QLRP_FE/src/app/Component/admin/admin-ve/admin-ve.component.ts
true
200
4,284
import { Component, OnInit } from '@angular/core'; import { VeService } from '../../../service/ve.service'; import { LichchieuService } from '../../../service/lichchieu.service'; import { NguoiDungService } from '../../../service/nguoidung.service'; import { GheService } from '../../../service/ghe.service'; // Import t...
2
vinist/angular-5-projetos
9781d26
src/app/conversor/pipes/data-br.pipe.spec.ts
TypeScript
www.github.com/vinist/angular-5-projetos/tree/main/src/app/conversor/pipes/data-br.pipe.spec.ts
https://raw.githubusercontent.com/vinist/angular-5-projetos/9781d26/src/app/conversor/pipes/data-br.pipe.spec.ts
vinist/angular-5-projetos 9781d26 src/app/conversor/pipes/data-br.pipe.spec.ts
true
200
921
import { DataBrPipe } from './data-br.pipe'; import {TestBed} from '@angular/core/testing'; import {ConversorService} from '../service'; import {HttpClientModule} from '@angular/common/http'; import {LOCALE_ID} from '@angular/core'; import { registerLocaleData } from '@angular/common'; import localePt from '@angular/co...
7
ArtemKot4/HandLeft
f58cbf4
dev/functional.ts
TypeScript
www.github.com/ArtemKot4/HandLeft/tree/main/dev/functional.ts
https://raw.githubusercontent.com/ArtemKot4/HandLeft/f58cbf4/dev/functional.ts
ArtemKot4/HandLeft f58cbf4 dev/functional.ts
true
200
1,879
Network.addServerPacket("hl.manipulate", (client, data) => { const player = client.getPlayerUid(); const item = Entity.getCarriedItem; const set = Entity.setOffhandItem; const actor = new PlayerActor(player); if (Entity.getOffhandItem(player).id === 0) { set( player, item(player).id, ite...
0
xi12360/edu-online-front
742465b
edu-online-front/src/components/RightContent/service.ts
TypeScript
www.github.com/xi12360/edu-online-front/tree/main/edu-online-front/src/components/RightContent/service.ts
https://raw.githubusercontent.com/xi12360/edu-online-front/742465b/edu-online-front/src/components/RightContent/service.ts
xi12360/edu-online-front 742465b edu-online-front/src/components/RightContent/service.ts
true
200
407
import {UserMessageData} from "@/pages/UserMessage/components/data"; import {request} from "@@/plugin-request/request"; import {MsgSystemVO} from "@/components/RightContent/data"; export async function queryUserMessage( params: string ): Promise<{ data: {msgSystemVOList: MsgSystemVO[], totalNum: number} }> { retur...
7
elysia-dev/elysia-v2-interface
dc27c1e
hooks/useResizeBrowser.ts
TypeScript
www.github.com/elysia-dev/elysia-v2-interface/tree/main/hooks/useResizeBrowser.ts
https://raw.githubusercontent.com/elysia-dev/elysia-v2-interface/dc27c1e/hooks/useResizeBrowser.ts
elysia-dev/elysia-v2-interface dc27c1e hooks/useResizeBrowser.ts
true
200
905
import { IAssetBond } from 'core/types/reserveSubgraph'; import { useCallback, useEffect, useState } from 'react'; const useResizeBrowser = () => { const [browserHeight, setBrowserHeight] = useState(0); const setResize = useCallback(() => { if (typeof document === undefined || typeof window === undefined) ret...
2
1542608903/store-app
11d449e
src/router/module/address.ts
TypeScript
www.github.com/1542608903/store-app/tree/main/src/router/module/address.ts
https://raw.githubusercontent.com/1542608903/store-app/11d449e/src/router/module/address.ts
1542608903/store-app 11d449e src/router/module/address.ts
true
200
396
import { RouteRecordRaw } from 'vue-router'; const addressRouter: RouteRecordRaw[] = [ { path: '/address', name: 'Address', component: () => import('src/pages/address/Address.vue'), meta: { title: '添加收货地址', icon: 'fa-solid fa-address-book', orderRouter: 6, hidden: true, r...
0
warp-contracts/warpy
edc839e
contracts/src/warpDiscordBot/messagesContent/write/addReaction.ts
TypeScript
www.github.com/warp-contracts/warpy/tree/main/contracts/src/warpDiscordBot/messagesContent/write/addReaction.ts
https://raw.githubusercontent.com/warp-contracts/warpy/edc839e/contracts/src/warpDiscordBot/messagesContent/write/addReaction.ts
warp-contracts/warpy edc839e contracts/src/warpDiscordBot/messagesContent/write/addReaction.ts
true
200
2,907
import { checkArgumentSet, validateString } from '../../../utils'; import { ContractAction, ContractState, ContractResult, pointsPrefix, timePrefix, removedReactionsPrefix, rolesPrefix, } from '../../types/types'; import { addTokensBalance, countBoostsPoints } from './addMessage'; export const addReactio...
0
nevissecurity/nevis-mobile-authentication-sdk-example-app-react
f455002
src/utility/AsyncUtils.ts
TypeScript
www.github.com/nevissecurity/nevis-mobile-authentication-sdk-example-app-react/tree/main/src/utility/AsyncUtils.ts
https://raw.githubusercontent.com/nevissecurity/nevis-mobile-authentication-sdk-example-app-react/f455002/src/utility/AsyncUtils.ts
nevissecurity/nevis-mobile-authentication-sdk-example-app-react f455002 src/utility/AsyncUtils.ts
true
200
550
/** * Copyright © 2024 Nevis Security AG. All rights reserved. */ class AsyncUtils { /** * An async version of the filter function. * @param arr The array that needs to be filtered. * @param predicate The predicate which is an async function that is used to do the filtering. */ static readonly asyncFilter ...
2
nicoContigliani/myhealth
8dcb9db
redux/store.ts
TypeScript
www.github.com/nicoContigliani/myhealth/tree/main/redux/store.ts
https://raw.githubusercontent.com/nicoContigliani/myhealth/8dcb9db/redux/store.ts
nicoContigliani/myhealth 8dcb9db redux/store.ts
true
200
546
import { configureStore, ThunkAction, Action } from "@reduxjs/toolkit"; import messageReducer from "./messages/message"; import fingerPrintAuthReducer from './Auth/Auth' export const store = configureStore({ reducer: { message: messageReducer, fingerPrintAuth:fingerPrintAuthReducer }, }); ex...
7
kouji-dev/activityReport
008cce3
src/project/project.selectors.ts
TypeScript
www.github.com/kouji-dev/activityReport/tree/main/src/project/project.selectors.ts
https://raw.githubusercontent.com/kouji-dev/activityReport/008cce3/src/project/project.selectors.ts
kouji-dev/activityReport 008cce3 src/project/project.selectors.ts
true
200
1,170
import { createSelector } from "@reduxjs/toolkit"; import { IRootState } from "../store"; import { Id } from "../utils/types"; import { ProjectState } from "./project.state"; import {reportSelector} from "@store/selectors/report.selectors"; export const selectRoot = (state: IRootState) => state.project; export const ...
0
cbustamante777duoc/arreglos-javascript
338d3f6
sort.ts
TypeScript
www.github.com/cbustamante777duoc/arreglos-javascript/tree/main/sort.ts
https://raw.githubusercontent.com/cbustamante777duoc/arreglos-javascript/338d3f6/sort.ts
cbustamante777duoc/arreglos-javascript 338d3f6 sort.ts
true
200
427
(()=>{ const users = [ { name: "John", age: 34 }, { name: "Amy", age: 20 }, { name: "camperCat", age: 10 }, ]; const SortesUSers = users.sort((a,b) => a.age > b.age ? 1 : -1); console.log(SortesUSers); //ordenados por edad del menor al mayor // { name: 'cam...
2
leofusinato/elderage-app
361c4e8
src/screens/RecoveryPassword/styles.ts
TypeScript
www.github.com/leofusinato/elderage-app/tree/main/src/screens/RecoveryPassword/styles.ts
https://raw.githubusercontent.com/leofusinato/elderage-app/361c4e8/src/screens/RecoveryPassword/styles.ts
leofusinato/elderage-app 361c4e8 src/screens/RecoveryPassword/styles.ts
true
200
983
import { StyleSheet } from "react-native"; import { getStatusBarHeight } from "react-native-iphone-x-helper"; import { theme } from "../../global/styles"; export const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: theme.colors.greenBackground, paddingTop: getStatusBarHeight() + 40, ...
7
aamjad786/angular-state-management-ngxs
9923119
src/app/components/user-form/user-form.component.ts
TypeScript
www.github.com/aamjad786/angular-state-management-ngxs/tree/main/src/app/components/user-form/user-form.component.ts
https://raw.githubusercontent.com/aamjad786/angular-state-management-ngxs/9923119/src/app/components/user-form/user-form.component.ts
aamjad786/angular-state-management-ngxs 9923119 src/app/components/user-form/user-form.component.ts
true
200
2,034
import { Component, OnInit } from '@angular/core'; import { User } from 'src/app/models/user'; import { Observable, Subscription } from 'rxjs'; import { Select, Store } from '@ngxs/store'; import { UserState } from 'src/app/states/user.state'; import { FormGroup, FormBuilder } from '@angular/forms'; import { UpdateUser...
2
Ezzeldien-M-Abdalaziz/AngularEcommerce
069dd79
src/app/home/home.component.ts
TypeScript
www.github.com/Ezzeldien-M-Abdalaziz/AngularEcommerce/tree/main/src/app/home/home.component.ts
https://raw.githubusercontent.com/Ezzeldien-M-Abdalaziz/AngularEcommerce/069dd79/src/app/home/home.component.ts
Ezzeldien-M-Abdalaziz/AngularEcommerce 069dd79 src/app/home/home.component.ts
true
200
842
import { Component, OnInit } from '@angular/core'; import { RouterLink } from '@angular/router'; @Component({ selector: 'app-home', standalone: true, imports: [RouterLink], templateUrl: './home.component.html', styleUrl: './home.component.css' }) export class HomeComponent implements OnInit{ products: any[...
0
sl1m41kc/gornaya-dolina-with-bugs
0dc8655
middleware.ts
TypeScript
www.github.com/sl1m41kc/gornaya-dolina-with-bugs/tree/main/middleware.ts
https://raw.githubusercontent.com/sl1m41kc/gornaya-dolina-with-bugs/0dc8655/middleware.ts
sl1m41kc/gornaya-dolina-with-bugs 0dc8655 middleware.ts
true
200
479
// middleware.ts или middleware.js в корне папки 'app' import { NextRequest, NextResponse } from 'next/server'; import { isBooking } from './app/utils/isBooking'; export function middleware(req: NextRequest) { if (!isBooking) return NextResponse.redirect(new URL('/', req.url)); // Редирект на главную return NextRe...
7
zql1228/typescript-
4895337
part1/2.ts
TypeScript
www.github.com/zql1228/typescript-/tree/main/part1/2.ts
https://raw.githubusercontent.com/zql1228/typescript-/4895337/part1/2.ts
zql1228/typescript- 4895337 part1/2.ts
true
200
829
let a1:object; //object 一般不常用 let a2:{name:string,age?:number} //age属性可选的 a2={name:'json',age:18} let a4:{name:string,[proname:string]:any}//[proname:string]:any表示任意类型属性 a4={name:'a4',age:20,gender:'女'} let a5:(a:number,b:number)=>number;//定义函数结构 (形参:类型,形参:类型)=>返回类型 a5=function(n1,n2,n3):number{ return n1+n2 } //数组...
2
Aruminiya/TEST_Nuxt3Test
3d3393a
nuxt.config.ts
TypeScript
www.github.com/Aruminiya/TEST_Nuxt3Test/tree/main/nuxt.config.ts
https://raw.githubusercontent.com/Aruminiya/TEST_Nuxt3Test/3d3393a/nuxt.config.ts
Aruminiya/TEST_Nuxt3Test 3d3393a nuxt.config.ts
true
200
677
// https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ devtools: { enabled: true }, css: [ '~/assets/scss/main.scss', ], modules: ['@nuxt/ui','@vueuse/nuxt'], plugins: [ '~/plugins/vcalendar.js', ], app: { head: { title: 'Nuxt 學習測試', meta: [ ...
0
darcdev/gov.pro.ciudadanos.demo
f6b0038
src/app/plantillas/miga-pan/miga-pan.component.ts
TypeScript
www.github.com/darcdev/gov.pro.ciudadanos.demo/tree/main/src/app/plantillas/miga-pan/miga-pan.component.ts
https://raw.githubusercontent.com/darcdev/gov.pro.ciudadanos.demo/f6b0038/src/app/plantillas/miga-pan/miga-pan.component.ts
darcdev/gov.pro.ciudadanos.demo f6b0038 src/app/plantillas/miga-pan/miga-pan.component.ts
true
200
607
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import {NOMBRE_TRAMITE} from '../../constants'; @Component({ selector: 'app-miga-pan', templateUrl: './miga-pan.component.html', styleUrls: ['./miga-pan.component.css'] }) export class MigaPanComponent implements...
4
anaskakkat/workzpro_backend
f1023c9
src/frameworks/middlewares/multer.ts
TypeScript
www.github.com/anaskakkat/workzpro_backend/tree/main/src/frameworks/middlewares/multer.ts
https://raw.githubusercontent.com/anaskakkat/workzpro_backend/f1023c9/src/frameworks/middlewares/multer.ts
anaskakkat/workzpro_backend f1023c9 src/frameworks/middlewares/multer.ts
true
200
636
import multer from "multer"; import fs from "fs"; import path from "path"; import { Request } from "express"; const uploadsDir = path.resolve(__dirname, "../../uploads"); if (!fs.existsSync(uploadsDir)) { fs.mkdirSync(uploadsDir, { recursive: true }); } // Set up multer for file uploads const storage = multer.memory...
7
geraldoaax/easytpms_socket
00bb41c
src/main.ts
TypeScript
www.github.com/geraldoaax/easytpms_socket/tree/main/src/main.ts
https://raw.githubusercontent.com/geraldoaax/easytpms_socket/00bb41c/src/main.ts
geraldoaax/easytpms_socket 00bb41c src/main.ts
true
200
412
import { NestFactory } from '@nestjs/core'; import { WsAdapter } from '@nestjs/platform-ws'; import { AppModule } from './app.module'; async function bootstrap() { const app = await NestFactory.create(AppModule, { cors: true, bodyParser: true, }) app.useWebSocketAdapter(new WsAdapter(app)); await app.liste...
2
wiremail/todos
d6148a2
server-nest/src/users/schemas/user.schema.ts
TypeScript
www.github.com/wiremail/todos/tree/main/server-nest/src/users/schemas/user.schema.ts
https://raw.githubusercontent.com/wiremail/todos/d6148a2/server-nest/src/users/schemas/user.schema.ts
wiremail/todos d6148a2 server-nest/src/users/schemas/user.schema.ts
true
200
803
import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose' import { HydratedDocument } from 'mongoose' import { ApiProperty } from '@nestjs/swagger' export type UserDocument = HydratedDocument<User> @Schema({ timestamps: true }) export class User { @ApiProperty({ example: 'John', description: 'Username' }) @P...
0
MounirAia/Web-Shoot-em-up
7bd6330
src/Sprites/PlayerShockwaveController.ts
TypeScript
www.github.com/MounirAia/Web-Shoot-em-up/tree/main/src/Sprites/PlayerShockwaveController.ts
https://raw.githubusercontent.com/MounirAia/Web-Shoot-em-up/7bd6330/src/Sprites/PlayerShockwaveController.ts
MounirAia/Web-Shoot-em-up 7bd6330 src/Sprites/PlayerShockwaveController.ts
true
200
3,213
import { IServiceEventManager } from '../EventManager'; import { CANVA_SCALEX, CANVA_SCALEY } from '../ScreenConstant'; import { ServiceLocator } from '../ServiceLocator'; class Shockwave { private playerX: number; private playerY: number; private baseRadius: number; private maxRadius: number; pri...
4
innovativeDev1210/NFTM-Next.js-13-turbo-MUI-5-storybook-Tailwind-CSS---boilerplate-simple-project-
503b46a
src/store/reducer.ts
TypeScript
www.github.com/innovativeDev1210/NFTM-Next.js-13-turbo-MUI-5-storybook-Tailwind-CSS---boilerplate-simple-project-/tree/main/src/store/reducer.ts
https://raw.githubusercontent.com/innovativeDev1210/NFTM-Next.js-13-turbo-MUI-5-storybook-Tailwind-CSS---boilerplate-simple-project-/503b46a/src/store/reducer.ts
innovativeDev1210/NFTM-Next.js-13-turbo-MUI-5-storybook-Tailwind-CSS---boilerplate-simple-project- 503b46a src/store/reducer.ts
true
200
388
"use client"; import { combineReducers } from "@reduxjs/toolkit"; // reducer import import customizationReducer from './features/customizationSlice'; /** * Combine reducers * @see https://redux-toolkit.js.org/usage/usage-with-typescript */ export const rootReducer = combineReducers({ customization: customization...
7
ymhczm/tankhooks
d44b3eb
packages/useMousePosition/index.ts
TypeScript
www.github.com/ymhczm/tankhooks/tree/main/packages/useMousePosition/index.ts
https://raw.githubusercontent.com/ymhczm/tankhooks/d44b3eb/packages/useMousePosition/index.ts
ymhczm/tankhooks d44b3eb packages/useMousePosition/index.ts
true
200
673
/* * @Descripttion: 神之一手 * @version: 1.0.0 * @Author: null * @Date: 2022-07-22 16:23:16 * @LastEditors: sueRimn * @LastEditTime: 2022-07-22 16:46:15 */ import { onBeforeUnmount, onMounted, ref } from "vue"; export default function () { const clickX = ref<number>(-1); // x 绑定为响应式数据 const clickY = ref<number>(...
2
Nymoth/tcg
5feab66
src/components/main-menu.component.ts
TypeScript
www.github.com/Nymoth/tcg/tree/main/src/components/main-menu.component.ts
https://raw.githubusercontent.com/Nymoth/tcg/5feab66/src/components/main-menu.component.ts
Nymoth/tcg 5feab66 src/components/main-menu.component.ts
true
200
893
import { ChangeDetectionStrategy, Component } from '@angular/core'; import { RouterLink } from '@angular/router'; @Component({ selector: 'tcg-main-menu', template: ` <div class="menu-item"> <a routerLink="/">Home</a> </div> <div class="menu-item"> <a routerLink="/my-cards">My Cards</a> ...
3
angular-threejs/docs
b3815a2
src/components/scenes/rapier-demo/rapier-demo.ts
TypeScript
www.github.com/angular-threejs/docs/tree/main/src/components/scenes/rapier-demo/rapier-demo.ts
https://raw.githubusercontent.com/angular-threejs/docs/b3815a2/src/components/scenes/rapier-demo/rapier-demo.ts
angular-threejs/docs b3815a2 src/components/scenes/rapier-demo/rapier-demo.ts
true
200
597
import { ChangeDetectionStrategy, Component } from '@angular/core'; import { NgtCanvas, provideNgtRenderer } from 'angular-three/dom'; import { SceneGraph } from './scene-graph'; @Component({ selector: 'rapier-demo', template: ` <ngt-canvas [camera]="{ position: [-1, 5, 5], fov: 45 }" shadows> <app-scene-graph ...
0
epbusy/caprioleconsulting-site
1a59bee
netlify/functions/send-email/utils/rate-limiter.ts
TypeScript
www.github.com/epbusy/caprioleconsulting-site/tree/main/netlify/functions/send-email/utils/rate-limiter.ts
https://raw.githubusercontent.com/epbusy/caprioleconsulting-site/1a59bee/netlify/functions/send-email/utils/rate-limiter.ts
epbusy/caprioleconsulting-site 1a59bee netlify/functions/send-email/utils/rate-limiter.ts
true
200
1,051
import { RATE_LIMIT } from '../config/constants'; interface RateLimit { count: number; timestamp: number; } export class RateLimiter { private limits = new Map<string, RateLimit>(); private readonly windowMs = RATE_LIMIT.WINDOW_MS; private readonly maxRequests = RATE_LIMIT.MAX_REQUESTS; public isLimited(...
1
ujjawal-04/DataHub
e7f7f41
next.config.ts
TypeScript
www.github.com/ujjawal-04/DataHub/tree/main/next.config.ts
https://raw.githubusercontent.com/ujjawal-04/DataHub/e7f7f41/next.config.ts
ujjawal-04/DataHub e7f7f41 next.config.ts
true
200
313
import type { NextConfig } from "next"; const nextConfig: NextConfig = { /* config options here */ images: { domains: ['images.unsplash.com','images.javatpoint.com','images.deepai.org','datastructures.maximal.io','platform.text.com','cdn.programiz.com','i.imgur.com'], } }; export default nextConfig;
5
gregpalaci/pg-nuxt-tailwindcss
f037e27
site.ts
TypeScript
www.github.com/gregpalaci/pg-nuxt-tailwindcss/tree/main/site.ts
https://raw.githubusercontent.com/gregpalaci/pg-nuxt-tailwindcss/f037e27/site.ts
gregpalaci/pg-nuxt-tailwindcss f037e27 site.ts
true
200
984
// since `.js, .ts` files are not included by default, // the following comment tells UnoCSS to force scan this file (to pick the logo icon). // @unocss-include export default { name: 'Vue Designer', description: 'Vue Designer Nuxt Tailwind CSS - Quick start template', logo: 'i-vscode-icons:file-type-coffeelint'...
4
ryanwaite28/carry-backend-nestjs
4f231d0
libs/carry-app-services/src/utils/constants.utils.ts
TypeScript
www.github.com/ryanwaite28/carry-backend-nestjs/tree/main/libs/carry-app-services/src/utils/constants.utils.ts
https://raw.githubusercontent.com/ryanwaite28/carry-backend-nestjs/4f231d0/libs/carry-app-services/src/utils/constants.utils.ts
ryanwaite28/carry-backend-nestjs 4f231d0 libs/carry-app-services/src/utils/constants.utils.ts
true
200
17,479
export const specialCaracters = ['!', '@', '#', '$', '%', '&', '+', ')', ']', '}', ':', ';', '?']; export const codeCharacters = ['!', '@', '#', '$', '%', '&', '|', '*', ':', '-', '_', '+']; export const allowedImages = ['jpg', 'jpeg', 'png', 'JPG', 'JPEG', 'PNG']; export const isAppEnvSet: boolean = ('APP_ENV' in proc...
6
AnalogCloudTech/ds
116a102
src/cms/cms-books/cms-books.repository.ts
TypeScript
www.github.com/AnalogCloudTech/ds/tree/main/src/cms/cms-books/cms-books.repository.ts
https://raw.githubusercontent.com/AnalogCloudTech/ds/116a102/src/cms/cms-books/cms-books.repository.ts
AnalogCloudTech/ds 116a102 src/cms/cms-books/cms-books.repository.ts
true
200
1,096
import { Axios } from 'axios'; import { CmsBookDomain } from '@/cms/cms-books/domain/cms-book'; import { LoggerPayload } from '@/internal/utils/logger'; import { DateTime } from 'luxon'; import { HttpException, HttpStatus, Logger } from '@nestjs/common'; import { CONTEXT_CMS_BOOK_ERROR } from '@/internal/common/context...
0
cowprotocol/bff
7e8548f
libs/repositories/src/UsdRepository/UsdRepositoryCoingecko.ts
TypeScript
www.github.com/cowprotocol/bff/tree/main/libs/repositories/src/UsdRepository/UsdRepositoryCoingecko.ts
https://raw.githubusercontent.com/cowprotocol/bff/7e8548f/libs/repositories/src/UsdRepository/UsdRepositoryCoingecko.ts
cowprotocol/bff 7e8548f libs/repositories/src/UsdRepository/UsdRepositoryCoingecko.ts
true
200
4,041
import { injectable } from 'inversify'; import { PricePoint, PriceStrategy, UsdRepository } from './UsdRepository'; import { COINGECKO_PLATFORMS, SimplePriceResponse, coingeckoProClient, } from '../datasources/coingecko'; import { SupportedChainId } from '@cowprotocol/shared'; import { throwIfUnsuccessful } from ...
2
LordMendes/Pet-Heroes
5f9a38d
src/services/UpdateOrganizationService.ts
TypeScript
www.github.com/LordMendes/Pet-Heroes/tree/main/src/services/UpdateOrganizationService.ts
https://raw.githubusercontent.com/LordMendes/Pet-Heroes/5f9a38d/src/services/UpdateOrganizationService.ts
LordMendes/Pet-Heroes 5f9a38d src/services/UpdateOrganizationService.ts
true
200
1,248
import Organization from '../models/Organization'; import OrganzationRepository from '../repositories/OrganizationRepository'; interface Request { address: string; city: string; cnpj: string; description: string; foundationDate: Date; name: string; responsable: string; // members: Member []; } class U...
7
IDIRYACINE/death-note-hackathon
91f3cb1
src/stores/store.ts
TypeScript
www.github.com/IDIRYACINE/death-note-hackathon/tree/main/src/stores/store.ts
https://raw.githubusercontent.com/IDIRYACINE/death-note-hackathon/91f3cb1/src/stores/store.ts
IDIRYACINE/death-note-hackathon 91f3cb1 src/stores/store.ts
true
200
522
import { configureStore } from '@reduxjs/toolkit' import profileReducer from './profile/profile-slice' import lobbyReducer from './lobby/lobby-slice' import gameReducer from './game/game-slice' import settingsReducer from './settings/settings-slice' export const store = configureStore({ reducer: { profile: prof...
3
agueroduc01/TTTN_Backend
c848e2e
src/partner/partner.controller.ts
TypeScript
www.github.com/agueroduc01/TTTN_Backend/tree/main/src/partner/partner.controller.ts
https://raw.githubusercontent.com/agueroduc01/TTTN_Backend/c848e2e/src/partner/partner.controller.ts
agueroduc01/TTTN_Backend c848e2e src/partner/partner.controller.ts
true
200
1,110
import { BadRequestException, Controller, ForbiddenException, Get, HttpException, HttpStatus, Param, ParseIntPipe, SetMetadata, } from "@nestjs/common"; import { PartnerService } from "./partner.service"; import { Roles } from "src/common/guards/roles.decorator"; @Controller("partners") export class ...
1
dawid151515/Start-Drive
52ccac7
Start-Drive.UI/src/app/components/studentPage/showDeleteForStudent/delete-for-student-popup/delete-for-student-popup.component.ts
TypeScript
www.github.com/dawid151515/Start-Drive/tree/main/Start-Drive.UI/src/app/components/studentPage/showDeleteForStudent/delete-for-student-popup/delete-for-student-popup.component.ts
https://raw.githubusercontent.com/dawid151515/Start-Drive/52ccac7/Start-Drive.UI/src/app/components/studentPage/showDeleteForStudent/delete-for-student-popup/delete-for-student-popup.component.ts
dawid151515/Start-Drive 52ccac7 Start-Drive.UI/src/app/components/studentPage/showDeleteForStudent/delete-for-student-popup/delete-for-student-popup.component.ts
true
200
966
import { Component, Inject } from '@angular/core'; import { MAT_DIALOG_DATA } from '@angular/material/dialog'; import { Student } from 'src/app/models/student.model'; import { StudentService } from 'src/app/service/student-service/student.service'; @Component({ selector: 'app-delete-for-student-popup', templateUrl...
5
vianaz/20-RepoProvas
f19ab46
src/services/TestService.ts
TypeScript
www.github.com/vianaz/20-RepoProvas/tree/main/src/services/TestService.ts
https://raw.githubusercontent.com/vianaz/20-RepoProvas/f19ab46/src/services/TestService.ts
vianaz/20-RepoProvas f19ab46 src/services/TestService.ts
true
200
2,162
import prisma from "@db/database"; import { ErrorFactory } from "@factories/ErrorFactory"; import { Prisma, Tests } from "@prisma/client"; import { FindRepository } from "@repositories/FindRepository"; import { GroupByRepository } from "@repositories/GroupByRepository"; import { InsertRepository } from "@repositories/I...
4
ManhHoDinh/HomeLand_Apartment_Management_BE
1ecb2b8
src/employee/employee.module.ts
TypeScript
www.github.com/ManhHoDinh/HomeLand_Apartment_Management_BE/tree/main/src/employee/employee.module.ts
https://raw.githubusercontent.com/ManhHoDinh/HomeLand_Apartment_Management_BE/1ecb2b8/src/employee/employee.module.ts
ManhHoDinh/HomeLand_Apartment_Management_BE 1ecb2b8 src/employee/employee.module.ts
true
200
1,012
import { Global, Module } from "@nestjs/common"; import { TypeOrmModule } from "@nestjs/typeorm"; import { Employee } from "./entities/employee.entity"; import { IdGeneratorModule } from "../id-generator/id-generator.module"; import { StorageModule } from "../storage/storage.module"; import { HashModule } from "../hash...
6