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
JamesPrenticez/blue-spur-nursery
98e8a92
apps/messenger/frontend/src/app/models/project/paths.ts
TypeScript
www.github.com/JamesPrenticez/blue-spur-nursery/tree/main/apps/messenger/frontend/src/app/models/project/paths.ts
https://raw.githubusercontent.com/JamesPrenticez/blue-spur-nursery/98e8a92/apps/messenger/frontend/src/app/models/project/paths.ts
JamesPrenticez/blue-spur-nursery 98e8a92 apps/messenger/frontend/src/app/models/project/paths.ts
true
200
583
export enum Path { ADMIN = '/admin', // AUTH LOGIN = '/login', REGISTER = '/register', PASSWORD_RESET = '/password-reset', UPDATE_USER_DETAILS = '/update-user-details', // MESENGER HOME = '/', MESENGER_CONTACTS = 'contacts', MESENGER_FIND_CONTACTS = 'find-contacts', MESENGER_INBOX = 'inbox', M...
5
Dmitry4587/Blog
5837ba6
front/src/axios.ts
TypeScript
www.github.com/Dmitry4587/Blog/tree/main/front/src/axios.ts
https://raw.githubusercontent.com/Dmitry4587/Blog/5837ba6/front/src/axios.ts
Dmitry4587/Blog 5837ba6 front/src/axios.ts
true
200
348
/* eslint-disable no-param-reassign */ import axios from 'axios'; const instance = axios.create({ baseURL: process.env.REACT_APP_API || 'http://localhost:8000', }); instance.interceptors.request.use((config) => { config.headers.Authorization = window.localStorage.getItem('token'); return config; }); ...
0
ramkishor-hosamane/Expense-Tracker
5e380b1
frontend/src/app/home/home.component.ts
TypeScript
www.github.com/ramkishor-hosamane/Expense-Tracker/tree/main/frontend/src/app/home/home.component.ts
https://raw.githubusercontent.com/ramkishor-hosamane/Expense-Tracker/5e380b1/frontend/src/app/home/home.component.ts
ramkishor-hosamane/Expense-Tracker 5e380b1 frontend/src/app/home/home.component.ts
true
200
2,690
import { Component, OnInit } from '@angular/core'; import { AnalyticsService } from '../Services/analytics.service'; import { AuthService } from '../Services/auth.service'; import { Subscription } from 'rxjs'; import { SharedService } from '../Services/shared.service'; @Component({ selector: 'app-home', templateU...
7
agora-gouv/agora-front
b6f1697
client/utils/pageContentApi.ts
TypeScript
www.github.com/agora-gouv/agora-front/tree/main/client/utils/pageContentApi.ts
https://raw.githubusercontent.com/agora-gouv/agora-front/b6f1697/client/utils/pageContentApi.ts
agora-gouv/agora-front b6f1697 client/utils/pageContentApi.ts
true
200
3,104
import { AsyncData } from "nuxt/app"; import { FetchError } from "ofetch"; import PolitiqueConfidentialiteContent from "~/client/types/content/politiqueConfidentialiteContent"; import MentionsLegalesContent from "~/client/types/content/mentionsLegalesContent"; import ParticipationCharter from "~/client/types/participat...
3
viruskizz/practice-angalar-nemo
9ca103b
src/app/shared/button/button.component.ts
TypeScript
www.github.com/viruskizz/practice-angalar-nemo/tree/main/src/app/shared/button/button.component.ts
https://raw.githubusercontent.com/viruskizz/practice-angalar-nemo/9ca103b/src/app/shared/button/button.component.ts
viruskizz/practice-angalar-nemo 9ca103b src/app/shared/button/button.component.ts
true
200
542
import { Component, EventEmitter, Input, Output } from '@angular/core'; @Component({ selector: 'app-button', templateUrl: './button.component.html' }) export class ButtonComponent { btn = "w-full py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white" @Input() type = '' @Outp...
1
ivadjondovic/ISAproject
baf1197
front/isa-front/src/app/services/fishing-lesson-complaint.service.spec.ts
TypeScript
www.github.com/ivadjondovic/ISAproject/tree/main/front/isa-front/src/app/services/fishing-lesson-complaint.service.spec.ts
https://raw.githubusercontent.com/ivadjondovic/ISAproject/baf1197/front/isa-front/src/app/services/fishing-lesson-complaint.service.spec.ts
ivadjondovic/ISAproject baf1197 front/isa-front/src/app/services/fishing-lesson-complaint.service.spec.ts
true
200
439
import { TestBed } from '@angular/core/testing'; import { FishingLessonComplaintService } from './fishing-lesson-complaint.service'; describe('FishingLessonComplaintService', () => { let service: FishingLessonComplaintService; beforeEach(() => { TestBed.configureTestingModule({}); service = TestBed.injec...
4
jennetblom/Jellio
99a8d39
src/firebase/updateData/updateListInDb.ts
TypeScript
www.github.com/jennetblom/Jellio/tree/main/src/firebase/updateData/updateListInDb.ts
https://raw.githubusercontent.com/jennetblom/Jellio/99a8d39/src/firebase/updateData/updateListInDb.ts
jennetblom/Jellio 99a8d39 src/firebase/updateData/updateListInDb.ts
true
200
659
import { doc, updateDoc } from "firebase/firestore"; import { ListType } from "../../types"; import { db } from "../../firebaseConfig"; export const updateListInDb = async( boardId: string, listId: string, updatedFields: Partial<ListType>) => { try { const listRef = doc(db, 'boards', boardId, 'lists', lis...
2
yarmsl/polidor
a5daa1f
polymer-be/src/modules/User/index.ts
TypeScript
www.github.com/yarmsl/polidor/tree/main/polymer-be/src/modules/User/index.ts
https://raw.githubusercontent.com/yarmsl/polidor/a5daa1f/polymer-be/src/modules/User/index.ts
yarmsl/polidor a5daa1f polymer-be/src/modules/User/index.ts
true
200
952
import { Router } from 'express'; import { check } from 'express-validator'; import { authCheck, protect } from '~/modules/Auth/middlewares'; import { signUpController, editUserController, editPasswordController, getUsersController, deleteUserController, } from './controllers'; const router = Router(); ro...
6
MetraneAbdelmounim/projet-youness
63b32e0
frontend/src/app/services/admin-guard.service.ts
TypeScript
www.github.com/MetraneAbdelmounim/projet-youness/tree/main/frontend/src/app/services/admin-guard.service.ts
https://raw.githubusercontent.com/MetraneAbdelmounim/projet-youness/63b32e0/frontend/src/app/services/admin-guard.service.ts
MetraneAbdelmounim/projet-youness 63b32e0 frontend/src/app/services/admin-guard.service.ts
true
200
678
import { Injectable } from '@angular/core'; import {ActivatedRouteSnapshot, Router, RouterStateSnapshot} from '@angular/router'; import {Observable} from 'rxjs'; import {LoginService} from './login.service'; @Injectable({ providedIn: 'root' }) export class AdminGuardService { canActivate(route: ActivatedRouteSn...
5
shubhjhawar/ReciproCoach-task-manager
8f1757e
src/app/pipes/search-filter.pipe.ts
TypeScript
www.github.com/shubhjhawar/ReciproCoach-task-manager/tree/main/src/app/pipes/search-filter.pipe.ts
https://raw.githubusercontent.com/shubhjhawar/ReciproCoach-task-manager/8f1757e/src/app/pipes/search-filter.pipe.ts
shubhjhawar/ReciproCoach-task-manager 8f1757e src/app/pipes/search-filter.pipe.ts
true
200
691
import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'searchFilter', standalone: true, }) export class SearchFilterPipe implements PipeTransform { transform(value: any, args?: any, originalBoard?: any): any { if (!value) return null; if (!args) return value; // console.log(originalBoard...
0
LoicBarher/CookFusion
ac826d0
src/app/api/auth/check-unique/route.ts
TypeScript
www.github.com/LoicBarher/CookFusion/tree/main/src/app/api/auth/check-unique/route.ts
https://raw.githubusercontent.com/LoicBarher/CookFusion/ac826d0/src/app/api/auth/check-unique/route.ts
LoicBarher/CookFusion ac826d0 src/app/api/auth/check-unique/route.ts
true
200
1,079
import { NextResponse } from "next/server"; import { supabaseServerClient } from "@/lib/server"; export async function GET(request: Request) { const { searchParams } = new URL(request.url); const field = searchParams.get("field"); const value = searchParams.get("value"); if (!field || !value) { return Nex...
3
Havimaki/Kong-Services-API
344279f
src/app.module.ts
TypeScript
www.github.com/Havimaki/Kong-Services-API/tree/main/src/app.module.ts
https://raw.githubusercontent.com/Havimaki/Kong-Services-API/344279f/src/app.module.ts
Havimaki/Kong-Services-API 344279f src/app.module.ts
true
200
725
import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { AppController } from './app.controller'; import { AppService } from './app.service'; import { ServiceModule } from './service/service.module'; import { VersionModule } from './version/version.module'; import { TypeOrmConf...
7
FarkinCool/Ecommerce_back
0316026
dist/products/products.repository.d.ts
TypeScript
www.github.com/FarkinCool/Ecommerce_back/tree/main/dist/products/products.repository.d.ts
https://raw.githubusercontent.com/FarkinCool/Ecommerce_back/0316026/dist/products/products.repository.d.ts
FarkinCool/Ecommerce_back 0316026 dist/products/products.repository.d.ts
true
200
678
import { Products } from "./products.entity"; import { Repository } from "typeorm"; import { Categories } from "src/categories/categories.entity"; import { Orders } from "src/orders/orders.entity"; import { CreateProductDto } from "./products.dto"; export declare class ProductsRepository { private productsRepositor...
4
mirandajunior10/moralar-admin
c69e79b
src/app/utils/modules/properties/properties.module.ts
TypeScript
www.github.com/mirandajunior10/moralar-admin/tree/main/src/app/utils/modules/properties/properties.module.ts
https://raw.githubusercontent.com/mirandajunior10/moralar-admin/c69e79b/src/app/utils/modules/properties/properties.module.ts
mirandajunior10/moralar-admin c69e79b src/app/utils/modules/properties/properties.module.ts
true
200
1,529
import { NgModule } from '@angular/core'; import { SharedModule } from 'src/app/utils/modules/shared/shared.module'; import { PropertyFormComponent } from './components/property-form/property-form.component'; import { PropertyListSearchComponent } from './components/property-list-search/property-list-search.component'...
1
bonfhir/bonfhir1_archive
621a7d8
packages/core/r4b/data-types/identifier.test.ts
TypeScript
www.github.com/bonfhir/bonfhir1_archive/tree/main/packages/core/r4b/data-types/identifier.test.ts
https://raw.githubusercontent.com/bonfhir/bonfhir1_archive/621a7d8/packages/core/r4b/data-types/identifier.test.ts
bonfhir/bonfhir1_archive 621a7d8 packages/core/r4b/data-types/identifier.test.ts
true
200
8,679
import { Identifier, ValueSetExpansionContains } from "fhir/r4"; import { FhirIdentifierFormatOptions, fhirIdentifierTypeAdapter, } from "./identifier"; describe("fhirIdentifierTypeAdapter", () => { it("exposes the locale", () => { const adapter = fhirIdentifierTypeAdapter("fr-CA"); expect(adapter.locale...
2
mihailt/xsolla-sample
b831db7
lib/auth.ts
TypeScript
www.github.com/mihailt/xsolla-sample/tree/main/lib/auth.ts
https://raw.githubusercontent.com/mihailt/xsolla-sample/b831db7/lib/auth.ts
mihailt/xsolla-sample b831db7 lib/auth.ts
true
200
1,805
import { prisma } from "@/lib/prisma"; import type { NextAuthOptions } from "next-auth"; import CredentialsProvider from "next-auth/providers/credentials"; import XsollaApi from "./xsolla"; const authenticate = async (token: string) => { try { const data = await XsollaApi.fetchUser(token) const { email, pict...
6
carol-dainezi/desafio-angular
b4bd017
src/app/pages/novo-evento/novo-evento.component.ts
TypeScript
www.github.com/carol-dainezi/desafio-angular/tree/main/src/app/pages/novo-evento/novo-evento.component.ts
https://raw.githubusercontent.com/carol-dainezi/desafio-angular/b4bd017/src/app/pages/novo-evento/novo-evento.component.ts
carol-dainezi/desafio-angular b4bd017 src/app/pages/novo-evento/novo-evento.component.ts
true
200
526
import { Component } from '@angular/core'; import { Evento } from 'src/app/interfaces/Evento'; import { EventoService } from 'src/app/services/evento.service'; @Component({ selector: 'app-novo-evento', templateUrl: './novo-evento.component.html', styleUrls: ['./novo-evento.component.css'], }) export class NovoEv...
5
endlesslydivided/TOBE-API-NODEJS
eefea7d
src/chat/chat.gateway.ts
TypeScript
www.github.com/endlesslydivided/TOBE-API-NODEJS/tree/main/src/chat/chat.gateway.ts
https://raw.githubusercontent.com/endlesslydivided/TOBE-API-NODEJS/eefea7d/src/chat/chat.gateway.ts
endlesslydivided/TOBE-API-NODEJS eefea7d src/chat/chat.gateway.ts
true
200
3,997
import {SubscribeMessage,WebSocketGateway,OnGatewayInit,WebSocketServer,OnGatewayConnection,OnGatewayDisconnect, MessageBody,} from '@nestjs/websockets'; import { Logger } from '@nestjs/common'; import { Socket, Server } from 'socket.io'; import { CreateMessageDto } from 'src/messages/dto/createMessage.dto'; import { I...
2
ancyrweb/drive-school-sandbox
c2e5f98
src/modules/tests/fixture.ts
TypeScript
www.github.com/ancyrweb/drive-school-sandbox/tree/main/src/modules/tests/fixture.ts
https://raw.githubusercontent.com/ancyrweb/drive-school-sandbox/c2e5f98/src/modules/tests/fixture.ts
ancyrweb/drive-school-sandbox c2e5f98 src/modules/tests/fixture.ts
true
200
482
import { TestApp } from './test-app.js'; import { IRepository } from '../shared/repository/repository.js'; export interface IFixture { load(app: TestApp): Promise<void>; } export abstract class BaseFixture<T> implements IFixture { constructor(public readonly entity: T) {} abstract getRepository(app: TestApp): ...
4
backupvs/starwars-api
8627eef
src/resources/vehicles/test/vehicles.contoller.spec.ts
TypeScript
www.github.com/backupvs/starwars-api/tree/main/src/resources/vehicles/test/vehicles.contoller.spec.ts
https://raw.githubusercontent.com/backupvs/starwars-api/8627eef/src/resources/vehicles/test/vehicles.contoller.spec.ts
backupvs/starwars-api 8627eef src/resources/vehicles/test/vehicles.contoller.spec.ts
true
200
3,721
import { Test } from "@nestjs/testing"; import { PaginationQueryDto } from "src/common/dto/pagination-query.dto"; import { CreateVehicleDto } from "../dto/create-vehicle.dto"; import { UpdateVehicleDto } from "../dto/update-vehicle.dto"; import { Vehicle } from "../entities/vehicle.entity"; import { VehiclesController ...
1
AnuragSingh612/mfpe
22b0c01
src/app/component/add-sprint-component/add-sprint-component.component.ts
TypeScript
www.github.com/AnuragSingh612/mfpe/tree/main/src/app/component/add-sprint-component/add-sprint-component.component.ts
https://raw.githubusercontent.com/AnuragSingh612/mfpe/22b0c01/src/app/component/add-sprint-component/add-sprint-component.component.ts
AnuragSingh612/mfpe 22b0c01 src/app/component/add-sprint-component/add-sprint-component.component.ts
true
200
1,046
import { HttpClient } from '@angular/common/http'; import { Component, OnInit } from '@angular/core'; import { Sprint } from 'src/app/common/sprint'; import { SprintService } from 'src/app/services/sprint.service'; import Swal from 'sweetalert2'; @Component({ selector: 'app-add-sprint-component', templateUrl: './a...
7
minh231099/EUCHOICE_USER_WEBAPP
2ce70db
src/redux/reducers/order/interfaces.ts
TypeScript
www.github.com/minh231099/EUCHOICE_USER_WEBAPP/tree/main/src/redux/reducers/order/interfaces.ts
https://raw.githubusercontent.com/minh231099/EUCHOICE_USER_WEBAPP/2ce70db/src/redux/reducers/order/interfaces.ts
minh231099/EUCHOICE_USER_WEBAPP 2ce70db src/redux/reducers/order/interfaces.ts
true
200
1,190
import { ProductInterface, ProductType } from "../product/interfaces"; import { ShippingInfoInterface } from "../shippingInfo/interfaces"; import { WarehouseInterface } from "../warehouse/interfaces"; export interface AddNewOrderPayloadType { carts: string[]; paymentMethod: string, shippingInfo: string; } ...
6
sath-run/desktop
6ad19ee
electron/main/index.ts
TypeScript
www.github.com/sath-run/desktop/tree/main/electron/main/index.ts
https://raw.githubusercontent.com/sath-run/desktop/6ad19ee/electron/main/index.ts
sath-run/desktop 6ad19ee electron/main/index.ts
true
200
3,774
import { app, BrowserWindow, shell, Menu } from 'electron'; import { release } from 'os'; import { join, resolve } from 'path'; import './bridge'; // Disable GPU Acceleration for Windows 7 if (release().startsWith('6.1')) app.disableHardwareAcceleration(); // Set application name for Windows 10+ notifications if (proc...
5
MauricioZinner/AppLiser
d135ad7
src/app/page/asignaciones/asignaciones-routing.module.ts
TypeScript
www.github.com/MauricioZinner/AppLiser/tree/main/src/app/page/asignaciones/asignaciones-routing.module.ts
https://raw.githubusercontent.com/MauricioZinner/AppLiser/d135ad7/src/app/page/asignaciones/asignaciones-routing.module.ts
MauricioZinner/AppLiser d135ad7 src/app/page/asignaciones/asignaciones-routing.module.ts
true
200
371
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { AsignacionesPage } from './asignaciones.page'; const routes: Routes = [ { path: '', component: AsignacionesPage } ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule]...
3
dowoo99/redux-typescript-todo
d38dfc7
src/modules/counter.ts
TypeScript
www.github.com/dowoo99/redux-typescript-todo/tree/main/src/modules/counter.ts
https://raw.githubusercontent.com/dowoo99/redux-typescript-todo/d38dfc7/src/modules/counter.ts
dowoo99/redux-typescript-todo d38dfc7 src/modules/counter.ts
true
200
1,664
import { createStandardAction, ActionType, createReducer, } from "typesafe-actions"; const INCREASE = "counter/INCREASE"; const DECREASE = "counter/DECREASE"; const INCREASE_BY = "counter/INCREASE_BY"; export const increase = createStandardAction(INCREASE)(); // () => ({ type: INCREASE }) export const decrease =...
0
ajaysinghpanwar2002/DSA
371e12d
src/modules/graphs/problems/1254. Number of Closed Islands.ts
TypeScript
www.github.com/ajaysinghpanwar2002/DSA/tree/main/src/modules/graphs/problems/1254. Number of Closed Islands.ts
https://raw.githubusercontent.com/ajaysinghpanwar2002/DSA/371e12d/src/modules/graphs/problems/1254.%20Number%20of%20Closed%20Islands.ts
ajaysinghpanwar2002/DSA 371e12d src/modules/graphs/problems/1254. Number of Closed Islands.ts
true
200
2,012
function bfs(row: number, column: number, grid: number[][], visited: number[][]) { visited[row][column] = 1; let queue = []; queue.push([row, column]) while (queue.length > 0) { let [row, column] = queue.shift(); //check for the neighbors const neighbors = [ { delro...
2
Rexpeto/react-routing-advanced
fbb250f
src/services/auth.service.ts
TypeScript
www.github.com/Rexpeto/react-routing-advanced/tree/main/src/services/auth.service.ts
https://raw.githubusercontent.com/Rexpeto/react-routing-advanced/fbb250f/src/services/auth.service.ts
Rexpeto/react-routing-advanced fbb250f src/services/auth.service.ts
true
200
330
import { axiosPrivate } from "@/config"; /* * Login of user * @param {string} email * @param {string} password * returns UserInfo with jwt * */ export const loginService = ({ email, password, }: { email: string; password: string; }) => { return axiosPrivate.post(`/auth/login`, { email, password,...
4
seiitaishogun/nextchain-sedaily-frontend-user
6c8f2bd
src/app/(user)/categories/components/List/styled.ts
TypeScript
www.github.com/seiitaishogun/nextchain-sedaily-frontend-user/tree/main/src/app/(user)/categories/components/List/styled.ts
https://raw.githubusercontent.com/seiitaishogun/nextchain-sedaily-frontend-user/6c8f2bd/src/app/%28user%29/categories/components/List/styled.ts
seiitaishogun/nextchain-sedaily-frontend-user 6c8f2bd src/app/(user)/categories/components/List/styled.ts
true
200
942
import styled from 'styled-components'; import { ListDescription, ListName, ListViewCount, } from '@/app/(user)/components/List/styled'; const ListLayout = styled.div` display: flex; flex-direction: column; border-bottom: 1px solid ${props => props.theme.colors.gray100}; `; const ListItemLayout = styled.d...
1
Time2Move/server
38650e1
src/repository/certificationCode.repository.ts
TypeScript
www.github.com/Time2Move/server/tree/main/src/repository/certificationCode.repository.ts
https://raw.githubusercontent.com/Time2Move/server/38650e1/src/repository/certificationCode.repository.ts
Time2Move/server 38650e1 src/repository/certificationCode.repository.ts
true
200
1,277
import { PrismaService } from '@common/prisma/prisma.service'; import { PrismaTxType } from '@common/prisma/prisma.type'; import { Injectable } from '@nestjs/common'; import { CERTIFICATION_STATUS, Prisma } from '@prisma/client'; import { v4 } from 'uuid'; @Injectable() export class CertificationCodeRepository { con...
7
SolankiYogesh/BuddyVerse
7bbc1c4
src/screens/chat/pages/all-chats-list/AllChatsScreenStyle.ts
TypeScript
www.github.com/SolankiYogesh/BuddyVerse/tree/main/src/screens/chat/pages/all-chats-list/AllChatsScreenStyle.ts
https://raw.githubusercontent.com/SolankiYogesh/BuddyVerse/7bbc1c4/src/screens/chat/pages/all-chats-list/AllChatsScreenStyle.ts
SolankiYogesh/BuddyVerse 7bbc1c4 src/screens/chat/pages/all-chats-list/AllChatsScreenStyle.ts
true
200
1,287
import {ms, s, ScaledSheet} from 'react-native-size-matters'; import {fonts} from 'theme'; import {colorPalates} from 'theme'; export const styles = colors => ScaledSheet.create({ container: { flex: 1, backgroundColor: colorPalates.white, }, viewContainer: { flex: 1, backgroundCol...
5
Qazzquimby/boardgame-ai-engine
f57e388
old_ts_src/mcts.ts
TypeScript
www.github.com/Qazzquimby/boardgame-ai-engine/tree/main/old_ts_src/mcts.ts
https://raw.githubusercontent.com/Qazzquimby/boardgame-ai-engine/f57e388/old_ts_src/mcts.ts
Qazzquimby/boardgame-ai-engine f57e388 old_ts_src/mcts.ts
true
200
16,660
import {Action, State} from './game'; import * as tf from '@tensorflow/tfjs'; import {ActionMap, PlayerMap} from "./datastructures"; import * as fs from 'fs'; import * as path from 'path'; import { fileURLToPath } from 'url'; import { dirname } from 'path'; import ort from "onnxruntime-web"; const __filename = fileUR...
6
mkrtchian/effective-kafka-node
68f2499
src/simpleFlow/consumer.ts
TypeScript
www.github.com/mkrtchian/effective-kafka-node/tree/main/src/simpleFlow/consumer.ts
https://raw.githubusercontent.com/mkrtchian/effective-kafka-node/68f2499/src/simpleFlow/consumer.ts
mkrtchian/effective-kafka-node 68f2499 src/simpleFlow/consumer.ts
true
200
920
import { kafka } from "./kafka.js"; import { GROUP_ID, TOPIC_NAME } from "./constants.js"; const consumer = kafka.consumer({ groupId: GROUP_ID }); await consumer.connect(); await consumer.subscribe({ topic: TOPIC_NAME, fromBeginning: true }); await consumer.run({ autoCommit: false, eachBatch: async ({ batch,...
3
nuelSBN/wizer-assessment
129e71a
src/hooks/useUsers.ts
TypeScript
www.github.com/nuelSBN/wizer-assessment/tree/main/src/hooks/useUsers.ts
https://raw.githubusercontent.com/nuelSBN/wizer-assessment/129e71a/src/hooks/useUsers.ts
nuelSBN/wizer-assessment 129e71a src/hooks/useUsers.ts
true
200
4,960
import { useMutation, useQuery, useQueryClient, useSuspenseQuery, } from "@tanstack/react-query"; import { useState } from "react"; import { IUsers } from "../interfaces"; import { useParams } from "react-router-dom"; export interface IUserFormData { name: string; username: string; email: string; addre...
2
Madhusprashanth/typescript
15b3fc1
intersection1.ts
TypeScript
www.github.com/Madhusprashanth/typescript/tree/main/intersection1.ts
https://raw.githubusercontent.com/Madhusprashanth/typescript/15b3fc1/intersection1.ts
Madhusprashanth/typescript 15b3fc1 intersection1.ts
true
200
953
type admin = { name: string; privileges : string[]; }; type Employee = { name: string; startDate : Date; }; type elevatedEmployee = admin & Employee; const e1: elevatedEmployee = { name : 'max', privileges : ['create-server'], startDate: new Date() }; type cominable = string|number; t...
1
Leandroyyy/flights-ticket-venture-labs
32af9d5
src/service/airportService/FindAirportById/FindAirportByIdController.ts
TypeScript
www.github.com/Leandroyyy/flights-ticket-venture-labs/tree/main/src/service/airportService/FindAirportById/FindAirportByIdController.ts
https://raw.githubusercontent.com/Leandroyyy/flights-ticket-venture-labs/32af9d5/src/service/airportService/FindAirportById/FindAirportByIdController.ts
Leandroyyy/flights-ticket-venture-labs 32af9d5 src/service/airportService/FindAirportById/FindAirportByIdController.ts
true
200
722
import { FindAirportByIdService } from './FindAirportByIdService'; import { Response } from 'express'; import { Request } from 'express'; export class FindAirportByIdController{ constructor( private findAirportByIdService:FindAirportByIdService ){} async handle(request:Request, re...
7
mragib/tangoyankee
20c005d
backend/src/sale_revenue/sale_revenue.controller.ts
TypeScript
www.github.com/mragib/tangoyankee/tree/main/backend/src/sale_revenue/sale_revenue.controller.ts
https://raw.githubusercontent.com/mragib/tangoyankee/20c005d/backend/src/sale_revenue/sale_revenue.controller.ts
mragib/tangoyankee 20c005d backend/src/sale_revenue/sale_revenue.controller.ts
true
200
2,352
import { Controller, Get, Post, Body, Patch, Param, Delete, UseGuards, UseInterceptors, ClassSerializerInterceptor, } from '@nestjs/common'; import { SaleRevenueService } from './sale_revenue.service'; import { CreateSaleRevenueDto } from './dto/create-sale_revenue.dto'; import { UpdateSaleRevenueDt...
5
Zeadsayed/E-commerce
a3cae3b
src/app/cart/cart.module.ts
TypeScript
www.github.com/Zeadsayed/E-commerce/tree/main/src/app/cart/cart.module.ts
https://raw.githubusercontent.com/Zeadsayed/E-commerce/a3cae3b/src/app/cart/cart.module.ts
Zeadsayed/E-commerce a3cae3b src/app/cart/cart.module.ts
true
200
386
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { CartComponent } from './components/cart/cart.component'; import { SharedModule } from '../shared/shared.module'; @NgModule({ declarations: [ CartComponent ], imports: [ CommonModule, SharedModule ],...
6
cosminonitiu/europe-car-scrapper
90345c4
src/app/cars/cars/cars.component.ts
TypeScript
www.github.com/cosminonitiu/europe-car-scrapper/tree/main/src/app/cars/cars/cars.component.ts
https://raw.githubusercontent.com/cosminonitiu/europe-car-scrapper/90345c4/src/app/cars/cars/cars.component.ts
cosminonitiu/europe-car-scrapper 90345c4 src/app/cars/cars/cars.component.ts
true
200
13,121
import { Component, OnInit, HostListener, ViewChild, AfterViewInit, ChangeDetectorRef } from '@angular/core'; import { BreakpointObserver, BreakpointState } from '@angular/cdk/layout'; import { CarsService } from 'src/app/core/services/car.service'; import Car from 'src/app/shared/models/Car'; import { CarPaginatedR...
4
AruArshad/E-Learn
86c9ab3
src/data/course-sections.ts
TypeScript
www.github.com/AruArshad/E-Learn/tree/main/src/data/course-sections.ts
https://raw.githubusercontent.com/AruArshad/E-Learn/86c9ab3/src/data/course-sections.ts
AruArshad/E-Learn 86c9ab3 src/data/course-sections.ts
true
200
1,186
// data/sections.ts const courses = [ { id: 1, courseName: 'Solana Course', sections: [ { id: 1, title: 'Introduction', description: 'Intro and Overview', price: 10, isPurchased: false, }, { id: 2, title: 'Chapter 2', ...
3
AhmedElbashier/MovieexNG
06f3551
src/app/components/movies/movies.module.ts
TypeScript
www.github.com/AhmedElbashier/MovieexNG/tree/main/src/app/components/movies/movies.module.ts
https://raw.githubusercontent.com/AhmedElbashier/MovieexNG/06f3551/src/app/components/movies/movies.module.ts
AhmedElbashier/MovieexNG 06f3551 src/app/components/movies/movies.module.ts
true
200
1,060
import { NgModule } from "@angular/core"; import { CommonModule } from "@angular/common"; import { MoviesRoutingModule } from "./movies-routing.module"; import { MoviesComponent } from "./movies.component"; import { CarouselModule } from "primeng/carousel"; import { PipeModule } from "src/app/pipe/pipe.module"; import ...
1
CainSoulless/CVENews
e473032
cypress/e2e/starting.cy.ts
TypeScript
www.github.com/CainSoulless/CVENews/tree/main/cypress/e2e/starting.cy.ts
https://raw.githubusercontent.com/CainSoulless/CVENews/e473032/cypress/e2e/starting.cy.ts
CainSoulless/CVENews e473032 cypress/e2e/starting.cy.ts
true
200
890
describe('Should enter to the login page', () => { it('Visits the Ionic Angular app', () => { cy.visit('http://localhost:4200', {timeout: 30000}); cy.url().should('include', '/login'); cy.contains('CVENews'); }); }); // describe('Login Test', () => { // it('Visits the ...
2
eaemilio/seminario
2f0e145
pages/api/users/[id].ts
TypeScript
www.github.com/eaemilio/seminario/tree/main/pages/api/users/[id].ts
https://raw.githubusercontent.com/eaemilio/seminario/2f0e145/pages/api/users/%5Bid%5D.ts
eaemilio/seminario 2f0e145 pages/api/users/[id].ts
true
200
1,810
import { Usuario } from '@prisma/client'; import type { NextApiRequest, NextApiResponse } from 'next'; import prisma from '../../../utils/prisma'; import { HTTP_CODES, METHOD_NOT_ALLOWED_ERROR, NOT_FOUND_ERROR } from '../../../constants'; import { ErrorMessage } from '../types'; import { withApiAuth } from '@supabase/s...
5
amankotia-ai/Dynamic-Pages
36793d4
unusual-clone/supabase/functions/get_content/index.ts
TypeScript
www.github.com/amankotia-ai/Dynamic-Pages/tree/main/unusual-clone/supabase/functions/get_content/index.ts
https://raw.githubusercontent.com/amankotia-ai/Dynamic-Pages/36793d4/unusual-clone/supabase/functions/get_content/index.ts
amankotia-ai/Dynamic-Pages 36793d4 unusual-clone/supabase/functions/get_content/index.ts
true
200
7,139
import { serve } from 'https://deno.land/std@0.177.0/http/server.ts'; import { createClient } from 'https://esm.sh/@supabase/supabase-js@2.7.1'; console.log('Unusual Content Edge Function v1.1.0 loaded'); // Define the interface for request body interface RequestBody { user_id: string; referrer: string | null; ...
6
filecage/ical-ts
b8b36fd
src/Parser/Properties/RecurrenceID.ts
TypeScript
www.github.com/filecage/ical-ts/tree/main/src/Parser/Properties/RecurrenceID.ts
https://raw.githubusercontent.com/filecage/ical-ts/b8b36fd/src/Parser/Properties/RecurrenceID.ts
filecage/ical-ts b8b36fd src/Parser/Properties/RecurrenceID.ts
true
200
336
import Property from "./Property"; import {Parameters} from "../Parameters/Parameters"; import {DateTime} from "../ValueTypes/DateTime"; export default class RecurrenceID extends Property<DateTime, Parameters.ValueDataTypes & Parameters.TimeZoneIdentifier & Parameters.Range > { public readonly key = 'R...
7
shao55/web_advanced
e3f972d
Lecture_10/interfaces/IPlayer.ts
TypeScript
www.github.com/shao55/web_advanced/tree/main/Lecture_10/interfaces/IPlayer.ts
https://raw.githubusercontent.com/shao55/web_advanced/e3f972d/Lecture_10/interfaces/IPlayer.ts
shao55/web_advanced e3f972d Lecture_10/interfaces/IPlayer.ts
true
200
449
import { ISkills } from "./ISkills"; import { Types } from "mongoose"; interface IAchievements { bestPlayerOfYear: boolean; neverDead: boolean; collectedAllAwards: boolean; } // 1. Create an interface representing a document in MongoDB. export interface IPlayer { name: string; email: string; avatar?: stri...
3
cristianmeelo/challenge-frontend-herocode-react
2e0f9c0
src/hooks/useToastNotifications/useToastNotifications.types.d.ts
TypeScript
www.github.com/cristianmeelo/challenge-frontend-herocode-react/tree/main/src/hooks/useToastNotifications/useToastNotifications.types.d.ts
https://raw.githubusercontent.com/cristianmeelo/challenge-frontend-herocode-react/2e0f9c0/src/hooks/useToastNotifications/useToastNotifications.types.d.ts
cristianmeelo/challenge-frontend-herocode-react 2e0f9c0 src/hooks/useToastNotifications/useToastNotifications.types.d.ts
true
200
704
/** * Represents the functions for displaying toast notifications. * @interface */ interface UseToastNotifications { /** * Displays an error notification. * @function * @param {string} message - The error message to be displayed. * @param {ToastOptions} [options] - Additional options for configuring th...
4
YankaZabka/spaced-repetition-telegram-bot
51cec07
src/commands/fail/fail.ts
TypeScript
www.github.com/YankaZabka/spaced-repetition-telegram-bot/tree/main/src/commands/fail/fail.ts
https://raw.githubusercontent.com/YankaZabka/spaced-repetition-telegram-bot/51cec07/src/commands/fail/fail.ts
YankaZabka/spaced-repetition-telegram-bot 51cec07 src/commands/fail/fail.ts
true
200
2,468
import * as D from '../../duck/index.js'; import * as LD from './duck/index.js'; import i18next from 'i18next'; import * as MongoDB from '../../mongo-db/index.js'; import * as Commands from '../index.js'; const fail = async ({ bot, topicId, chapterId, callbackQuery, forceFailOptions, }: LD.types.IProps) => {...
1
ShineMEGA/sisauto-Frontend
2e7c7e9
src/app/components/components-routing.module.ts
TypeScript
www.github.com/ShineMEGA/sisauto-Frontend/tree/main/src/app/components/components-routing.module.ts
https://raw.githubusercontent.com/ShineMEGA/sisauto-Frontend/2e7c7e9/src/app/components/components-routing.module.ts
ShineMEGA/sisauto-Frontend 2e7c7e9 src/app/components/components-routing.module.ts
true
200
531
import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; @NgModule({ imports: [ RouterModule.forChild([ {path: 'clientes', loadChildren: () => import('./clientes/clientes.module').then(m=>m.ClientesModule) }, {path: 'servicios', loadChildren: () => import('./servicios/se...
0
tarasurmach/taskManager
8eae04b
src/tasks/tasks.module.ts
TypeScript
www.github.com/tarasurmach/taskManager/tree/main/src/tasks/tasks.module.ts
https://raw.githubusercontent.com/tarasurmach/taskManager/8eae04b/src/tasks/tasks.module.ts
tarasurmach/taskManager 8eae04b src/tasks/tasks.module.ts
true
200
550
import { Module } from '@nestjs/common'; import { TasksController } from './controllers/tasks/tasks.controller'; import { TasksService } from './services/tasks/tasks.service'; import {TypeOrmModule} from "@nestjs/typeorm"; import {Task} from "../typeorm/index.js"; import {UsersModule} from "../users/users.module.js"; ...
2
Mouna-Oulbacha/front_end-project
178a0e6
src/app/view/expressionBesoin/expression-besoin-create/expression-besoin-create.component.ts
TypeScript
www.github.com/Mouna-Oulbacha/front_end-project/tree/main/src/app/view/expressionBesoin/expression-besoin-create/expression-besoin-create.component.ts
https://raw.githubusercontent.com/Mouna-Oulbacha/front_end-project/178a0e6/src/app/view/expressionBesoin/expression-besoin-create/expression-besoin-create.component.ts
Mouna-Oulbacha/front_end-project 178a0e6 src/app/view/expressionBesoin/expression-besoin-create/expression-besoin-create.component.ts
true
200
1,775
import {Component, OnInit} from '@angular/core'; import {ExpressionBesoinService} from "src/app/controller/service/expression-besoin.service"; import {ExpressionBesoin} from "src/app/controller/model/expression-besoin.model"; @Component({ selector: 'app-expression-besoin-create', templateUrl: './expression-besoin...
5
i-VRESSE/haddock3-webapp
a52eeb1
app/models/applicaton.server.ts
TypeScript
www.github.com/i-VRESSE/haddock3-webapp/tree/main/app/models/applicaton.server.ts
https://raw.githubusercontent.com/i-VRESSE/haddock3-webapp/a52eeb1/app/models/applicaton.server.ts
i-VRESSE/haddock3-webapp a52eeb1 app/models/applicaton.server.ts
true
200
8,590
import JSZip from "jszip"; import { stringify, parse } from "@ltd/j-toml"; import { JOB_OUTPUT_DIR, WORKFLOW_CONFIG_FILENAME, } from "../bartender-client/constants"; import { createClient, multipart } from "./config.server"; import { getJobById } from "./job.server"; import { dedupWorkflow, parseWorkflowFromTa...
6
haneenabouhamdan/supply-chain-management
6cae135
apps/backend/src/components/order-items/order-items.service.ts
TypeScript
www.github.com/haneenabouhamdan/supply-chain-management/tree/main/apps/backend/src/components/order-items/order-items.service.ts
https://raw.githubusercontent.com/haneenabouhamdan/supply-chain-management/6cae135/apps/backend/src/components/order-items/order-items.service.ts
haneenabouhamdan/supply-chain-management 6cae135 apps/backend/src/components/order-items/order-items.service.ts
true
200
2,193
import { Injectable, NotFoundException } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { In, Repository } from 'typeorm'; import { OrderItem } from './entities/order-item.entity'; import { CreateOrderItemInput } from './dto/create-order-item.input'; import { UpdateOrderItemInput } fr...
4
wrapper-offline/wrapper-offline.github.io
773461d
nuxt.config.ts
TypeScript
www.github.com/wrapper-offline/wrapper-offline.github.io/tree/main/nuxt.config.ts
https://raw.githubusercontent.com/wrapper-offline/wrapper-offline.github.io/773461d/nuxt.config.ts
wrapper-offline/wrapper-offline.github.io 773461d nuxt.config.ts
true
200
302
// https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ compatibilityDate: "2024-04-03", devtools: { enabled: true }, app: { head: { charset: "utf-8", viewport: "width=device-width,initial-scale=1", }, }, modules: ["@nuxtjs/mdc"], });
3
HyperXRetr0/ifms
cc7505b
server/src/controller/users.ts
TypeScript
www.github.com/HyperXRetr0/ifms/tree/main/server/src/controller/users.ts
https://raw.githubusercontent.com/HyperXRetr0/ifms/cc7505b/server/src/controller/users.ts
HyperXRetr0/ifms cc7505b server/src/controller/users.ts
true
200
3,207
import { Request, Response } from "express"; import { validationResult } from "express-validator"; import User from "../models/users"; import jwt from "jsonwebtoken"; import bcrypt from "bcryptjs"; export const getCurrentUser = async (req: Request, res: Response) => { const userId = req.userId; console.log(userId)...
1
seyyednavid/TypeScript_In_React
e4b9128
src/services/ReminderService.ts
TypeScript
www.github.com/seyyednavid/TypeScript_In_React/tree/main/src/services/ReminderService.ts
https://raw.githubusercontent.com/seyyednavid/TypeScript_In_React/e4b9128/src/services/ReminderService.ts
seyyednavid/TypeScript_In_React e4b9128 src/services/ReminderService.ts
true
200
593
import axios from "axios"; import Reminder from "../models/Reminder"; class ReminderService { http = axios.create({ baseURL: "https://jsonplaceholder.typicode.com" }) async getReminders(){ const response = await this.http.get<Reminder[]>("/todos"); return response.data } async addReminders(title: str...
0
peteCoder/king-bouties
a0ab3dd
email/format/contactUsFormat.ts
TypeScript
www.github.com/peteCoder/king-bouties/tree/main/email/format/contactUsFormat.ts
https://raw.githubusercontent.com/peteCoder/king-bouties/a0ab3dd/email/format/contactUsFormat.ts
peteCoder/king-bouties a0ab3dd email/format/contactUsFormat.ts
true
200
540
export const formatEmailMessage = (userData: { name: string; message: string; subject: string; email: string; }) => { const { name, message, subject, email } = userData; const userMessage = ` <h1> <strong>Name: ${name ? name : ""} </strong> </h1> <h1> <strong>Customer Email: $...
2
Godiex/front-identity
219a941
src/tests/componentes/generic/ftx-icon.component.spec.ts
TypeScript
www.github.com/Godiex/front-identity/tree/main/src/tests/componentes/generic/ftx-icon.component.spec.ts
https://raw.githubusercontent.com/Godiex/front-identity/219a941/src/tests/componentes/generic/ftx-icon.component.spec.ts
Godiex/front-identity 219a941 src/tests/componentes/generic/ftx-icon.component.spec.ts
true
200
1,250
import { ComponentFixture, TestBed } from "@angular/core/testing"; import { FtxIconComponent } from "src/app/ui/shared/components/ftx-icon/ftx-icon.component"; import { SharedModule } from "src/app/ui/shared/shared.module"; describe("Pruebas unitarias para el componente 'FtxIconComponent'", () => { let component: Ft...
6
Seri98x/angular-scheduler-project
5347b2e
src/app/header/header.component.ts
TypeScript
www.github.com/Seri98x/angular-scheduler-project/tree/main/src/app/header/header.component.ts
https://raw.githubusercontent.com/Seri98x/angular-scheduler-project/5347b2e/src/app/header/header.component.ts
Seri98x/angular-scheduler-project 5347b2e src/app/header/header.component.ts
true
200
677
import { Component } from '@angular/core'; import { IonButton, IonContent,IonActionSheet } from '@ionic/angular/standalone'; @Component({ selector: 'app-header', standalone: true, imports: [IonButton,IonActionSheet], templateUrl: './header.component.html', styleUrl: './header.component.scss' }) export class...
5
antonysantos71/todo-advance
2c45ccc
src/services/api/weekly-goals.ts
TypeScript
www.github.com/antonysantos71/todo-advance/tree/main/src/services/api/weekly-goals.ts
https://raw.githubusercontent.com/antonysantos71/todo-advance/2c45ccc/src/services/api/weekly-goals.ts
antonysantos71/todo-advance 2c45ccc src/services/api/weekly-goals.ts
true
200
1,514
import axios from "axios"; import { api } from "." type Status = "not_started" | "in_progress" | "completed" | "on_hold" | ""; interface IWeeklyGoalsProps { id: number title: string; description: string; startDate:string endDate: string status: Status progress: number } const getWeeklyGoals = async ():...
3
younusFoysal/A4-Book-Shop-Assignment-Backend
a2e30d9
src/app/modules/users/user.controller.ts
TypeScript
www.github.com/younusFoysal/A4-Book-Shop-Assignment-Backend/tree/main/src/app/modules/users/user.controller.ts
https://raw.githubusercontent.com/younusFoysal/A4-Book-Shop-Assignment-Backend/a2e30d9/src/app/modules/users/user.controller.ts
younusFoysal/A4-Book-Shop-Assignment-Backend a2e30d9 src/app/modules/users/user.controller.ts
true
200
1,723
import catchAsync from '../../utils/catchAsync'; import SendResponse from '../../utils/SendResponse'; import { userServices } from './user.service'; import httpStatus from 'http-status'; const createUser = catchAsync(async (req, res) => { const userData = req.body; const result = await userServices.createUserInto...
4
webbertakken/screeps-arena
4a8f1d2
src/arena_rev_2/model/Units.ts
TypeScript
www.github.com/webbertakken/screeps-arena/tree/main/src/arena_rev_2/model/Units.ts
https://raw.githubusercontent.com/webbertakken/screeps-arena/4a8f1d2/src/arena_rev_2/model/Units.ts
webbertakken/screeps-arena 4a8f1d2 src/arena_rev_2/model/Units.ts
true
200
692
import { Creep } from 'game/prototypes' import { Worker } from './Worker' import { Soldier } from './Soldier' import { Unit } from './Unit' export class Units { static categorise(myCreeps: Creep[]): { workers: Worker[]; soldiers: Soldier[] } { const units = { workers: [] as Worker[], soldiers: [] as Soldier[] } ...
1
Pedro642001/forum-nest-clean
89cd685
src/infra/http/controllers/list-answer-comments.controller.ts
TypeScript
www.github.com/Pedro642001/forum-nest-clean/tree/main/src/infra/http/controllers/list-answer-comments.controller.ts
https://raw.githubusercontent.com/Pedro642001/forum-nest-clean/89cd685/src/infra/http/controllers/list-answer-comments.controller.ts
Pedro642001/forum-nest-clean 89cd685 src/infra/http/controllers/list-answer-comments.controller.ts
true
200
1,216
import { ListAnswerCommentsUseCase } from "@/domain/forum/application/use-cases/list-answer-comments"; import { ZodValidationPipe } from "@/infra/http/pipes/zod-validation.pipe"; import { BadRequestException, Controller, Get, Param, Query } from "@nestjs/common"; import { z } from "zod"; import { AnswerCommen...
0
Juanpablobar/master-data-service
e4265c2
node/resolvers/documentsNoCache.ts
TypeScript
www.github.com/Juanpablobar/master-data-service/tree/main/node/resolvers/documentsNoCache.ts
https://raw.githubusercontent.com/Juanpablobar/master-data-service/e4265c2/node/resolvers/documentsNoCache.ts
Juanpablobar/master-data-service e4265c2 node/resolvers/documentsNoCache.ts
true
200
1,008
export const DocumentsNoCache = async ( _: any, { acronym, schema, fields, where, sort, pageSize, page, isExternal, }: { acronym: string; schema: string; fields: [string]; where: string; sort: string; pageSize: number; page: number; isExternal: boole...
2
vietanh1110/DATN
2b3c41b
Client/Manager/src/app/admin-dashboard/product-share/product.ts
TypeScript
www.github.com/vietanh1110/DATN/tree/main/Client/Manager/src/app/admin-dashboard/product-share/product.ts
https://raw.githubusercontent.com/vietanh1110/DATN/2b3c41b/Client/Manager/src/app/admin-dashboard/product-share/product.ts
vietanh1110/DATN 2b3c41b Client/Manager/src/app/admin-dashboard/product-share/product.ts
true
200
5,131
export const DATA_ROM = [ { value: '8', label: '8GB' }, { value: '16', label: '16GB' }, { value: '32', label: '32GB' }, { value: '64', label: '64GB' }, { value: '128', label: '128GB' }, { value: '256', label: '256GB' }, { value: '512', label: '512GB' }, { value: '1', label: '1TB' }, { value: '2', labe...
6
RussOakham/spotify-clone
5a94bbf
src/libs/stripeClient.ts
TypeScript
www.github.com/RussOakham/spotify-clone/tree/main/src/libs/stripeClient.ts
https://raw.githubusercontent.com/RussOakham/spotify-clone/5a94bbf/src/libs/stripeClient.ts
RussOakham/spotify-clone 5a94bbf src/libs/stripeClient.ts
true
200
371
import { loadStripe, Stripe } from '@stripe/stripe-js' let stripePromise: Promise<Stripe | null> const getStripe = () => { // eslint-disable-next-line @typescript-eslint/no-misused-promises if (!stripePromise) { stripePromise = loadStripe( process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY ?? '' ) } ...
5
sepi4/advent-of-code
76820bd
2022/js/15/15-02.ts
TypeScript
www.github.com/sepi4/advent-of-code/tree/main/2022/js/15/15-02.ts
https://raw.githubusercontent.com/sepi4/advent-of-code/76820bd/2022/js/15/15-02.ts
sepi4/advent-of-code 76820bd 2022/js/15/15-02.ts
true
200
3,950
import { readInput } from "../../lib" export { } type MinMax = [number, number] type Pair = { sensor: { x: number, y: number } beacon: { x: number, y: number } dist: number maxMin?: MinMax } async function main() { // --------- PARSING // let input = getExampleInput(); let input = await readInput('./20...
4
MoussaAhmed1/school-complexes
ce5d502
hooks/use-searchParams.ts
TypeScript
www.github.com/MoussaAhmed1/school-complexes/tree/main/hooks/use-searchParams.ts
https://raw.githubusercontent.com/MoussaAhmed1/school-complexes/ce5d502/hooks/use-searchParams.ts
MoussaAhmed1/school-complexes ce5d502 hooks/use-searchParams.ts
true
200
1,852
import { useDebounce } from "use-debounce"; import { useState, useEffect, useCallback } from "react"; import { useRouter, usePathname, useSearchParams } from "next/navigation"; interface IProps { searchQuery?: string; } function useCostomSearchParams(props?: IProps) { const searchQuery = props?.searchQuery; cons...
0
0xp3p3/unifi-staking
0198d22
src/Utils/BigNumber.ts
TypeScript
www.github.com/0xp3p3/unifi-staking/tree/main/src/Utils/BigNumber.ts
https://raw.githubusercontent.com/0xp3p3/unifi-staking/0198d22/src/Utils/BigNumber.ts
0xp3p3/unifi-staking 0198d22 src/Utils/BigNumber.ts
true
200
1,237
import BN from "bignumber.js"; import { Config } from "Config"; export const BigNumber = (arg: BN.Value, base?: number) => new BN(arg, base); export const isNumber = (num: string | number) => !BigNumber(num).isNaN(); export const isNumberAndNonZero = (n: string | number) => { const num = BigNumber(n); return !nu...
7
rayen-developer/RestaurantBackEnd
79a3637
src/dashboard/categories.service.ts
TypeScript
www.github.com/rayen-developer/RestaurantBackEnd/tree/main/src/dashboard/categories.service.ts
https://raw.githubusercontent.com/rayen-developer/RestaurantBackEnd/79a3637/src/dashboard/categories.service.ts
rayen-developer/RestaurantBackEnd 79a3637 src/dashboard/categories.service.ts
true
200
1,958
import {Injectable, NotFoundException} from '@nestjs/common'; import { InjectModel } from '@nestjs/mongoose'; import { Model } from 'mongoose'; import {Category} from "./categories.model"; import {Item} from "./items.model"; @Injectable() export class CategoriesService { constructor(@InjectModel('category') privat...
2
nhatkytran/Yasuo-Shop
b06a769
serverless/src/slides.ts
TypeScript
www.github.com/nhatkytran/Yasuo-Shop/tree/main/serverless/src/slides.ts
https://raw.githubusercontent.com/nhatkytran/Yasuo-Shop/b06a769/serverless/src/slides.ts
nhatkytran/Yasuo-Shop b06a769 serverless/src/slides.ts
true
200
1,185
import type { Handler } from '@netlify/functions'; import { Attachment } from 'airtable'; import catchAsync from './utils/catchAsync'; import success from './utils/sendSuccess'; import AppError from './utils/appError'; import { createAirtable, selectAllRecords } from './utils/airtableAPIs'; const airtable = createAir...
6
hossamSharif/the-lawyer
3a469bb
src/app/edit-session/edit-session.module.ts
TypeScript
www.github.com/hossamSharif/the-lawyer/tree/main/src/app/edit-session/edit-session.module.ts
https://raw.githubusercontent.com/hossamSharif/the-lawyer/3a469bb/src/app/edit-session/edit-session.module.ts
hossamSharif/the-lawyer 3a469bb src/app/edit-session/edit-session.module.ts
true
200
729
import { NgModule } from '@angular/core'; import { IonicModule } from '@ionic/angular'; import { CommonModule } from '@angular/common'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { EditSessionPageRoutingModule } from './edit-session-routing.module'; import { EditSessionPage } from './e...
5
jorge933/api-github
6decdfc
src/services/router.service.ts
TypeScript
www.github.com/jorge933/api-github/tree/main/src/services/router.service.ts
https://raw.githubusercontent.com/jorge933/api-github/6decdfc/src/services/router.service.ts
jorge933/api-github 6decdfc src/services/router.service.ts
true
200
620
import { ROUTES } from "../constants/routes"; import { RoutesType } from "../models/types.model"; export class RouterService { getParams() { const hashedRoute = window.location.hash; const targetRoute = this.getTargetRoute(hashedRoute); const routeAndParams = targetRoute.split("/"); return routeAndPa...
3
spektr08/uber_backend_nest
bfb8355
src/user/user.controller.ts
TypeScript
www.github.com/spektr08/uber_backend_nest/tree/main/src/user/user.controller.ts
https://raw.githubusercontent.com/spektr08/uber_backend_nest/bfb8355/src/user/user.controller.ts
spektr08/uber_backend_nest bfb8355 src/user/user.controller.ts
true
200
654
import { Controller, Post, Body } from '@nestjs/common'; import { UserService } from './user.service'; import { CreateUserDto } from './dto/create-user.dto'; @Controller('users') export class UserController { constructor(private readonly userService: UserService) {} @Post() async createUser(@Body() create...
1
Secured-Finance/secured-finance-subgraph
a6e3415
src/utils/string.ts
TypeScript
www.github.com/Secured-Finance/secured-finance-subgraph/tree/main/src/utils/string.ts
https://raw.githubusercontent.com/Secured-Finance/secured-finance-subgraph/a6e3415/src/utils/string.ts
Secured-Finance/secured-finance-subgraph a6e3415 src/utils/string.ts
true
200
886
import { BigInt, ByteArray, Bytes } from '@graphprotocol/graph-ts'; export const EMPTY_BYTES32_PREFIX = ByteArray.fromHexString( '0x0000000000000000000000000000000000000000000000000000000000000000' ); export function toBytes32(text: string): Bytes { const bytes = Bytes.fromUTF8(text); const emptyBytes = B...
4
Horlarmmy/SupreMall
e51b111
src/token.ts
TypeScript
www.github.com/Horlarmmy/SupreMall/tree/main/src/token.ts
https://raw.githubusercontent.com/Horlarmmy/SupreMall/e51b111/src/token.ts
Horlarmmy/SupreMall e51b111 src/token.ts
true
200
1,924
import { nat64, $query, $update, ic } from 'azle'; type Account = { address: string; balance: nat64; }; type State = { accounts: { [key: string]: Account; }; name: string; ticker: string; totalSupply: nat64; }; let state: State = { accounts: {}, name: "", ticker: "", ...
0
deXveYloZper/checkinFirenze
068ae3f
server/src/routes/auth.routes.ts
TypeScript
www.github.com/deXveYloZper/checkinFirenze/tree/main/server/src/routes/auth.routes.ts
https://raw.githubusercontent.com/deXveYloZper/checkinFirenze/068ae3f/server/src/routes/auth.routes.ts
deXveYloZper/checkinFirenze 068ae3f server/src/routes/auth.routes.ts
true
200
2,405
// server/src/routes/auth.routes.ts import { Router, Request, Response } from 'express'; import bcrypt from 'bcrypt'; import jwt from 'jsonwebtoken'; import User from '../models/User.model'; import { JWT_SECRET } from '../config'; const router = Router(); /** * @route POST /register * @desc Regist...
7
aidear3/moon_dogs_event-service
eea10b0
src/nft-store/nft-store.service.ts
TypeScript
www.github.com/aidear3/moon_dogs_event-service/tree/main/src/nft-store/nft-store.service.ts
https://raw.githubusercontent.com/aidear3/moon_dogs_event-service/eea10b0/src/nft-store/nft-store.service.ts
aidear3/moon_dogs_event-service eea10b0 src/nft-store/nft-store.service.ts
true
200
7,967
import { Injectable } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { Repository } from 'typeorm'; import { CollectionEntity, NftEntity, TransactionEntity, UserEntity, } from '../database/entities'; import { LoggerService } from '../shared/services/logger/logger.service'; imp...
2
dayoonasanya/stream
85bec6d
backend/src/middlewares/auth.middleware.ts
TypeScript
www.github.com/dayoonasanya/stream/tree/main/backend/src/middlewares/auth.middleware.ts
https://raw.githubusercontent.com/dayoonasanya/stream/85bec6d/backend/src/middlewares/auth.middleware.ts
dayoonasanya/stream 85bec6d backend/src/middlewares/auth.middleware.ts
true
200
835
import { verifyToken } from "../config/jwt.config"; import { Request, Response, NextFunction } from "express"; export interface AuthRequest extends Request{ user?: { userId: string; role: string; }; } export const authenticateJWT = (req: AuthRequest, res: Response, next: NextFunction) => { ...
6
Mateen7c7/Nextjs-notes
4958484
src/appwrite.ts
TypeScript
www.github.com/Mateen7c7/Nextjs-notes/tree/main/src/appwrite.ts
https://raw.githubusercontent.com/Mateen7c7/Nextjs-notes/4958484/src/appwrite.ts
Mateen7c7/Nextjs-notes 4958484 src/appwrite.ts
true
200
392
import { Client, Databases } from "appwrite"; export const client = new Client(); client .setEndpoint("http://localhost:3030/v1") .setProject("65fd0662aac70dd398cc"); export const databases = new Databases(client); export const notesDatabaseId = "65fd0698edd62ebf8048"; export const booksCollectionId = "65fd0b62...
3
jaussems/byte24-assesment
4df8c2a
app/lib/data.ts
TypeScript
www.github.com/jaussems/byte24-assesment/tree/main/app/lib/data.ts
https://raw.githubusercontent.com/jaussems/byte24-assesment/4df8c2a/app/lib/data.ts
jaussems/byte24-assesment 4df8c2a app/lib/data.ts
true
200
2,661
import {sql} from '@vercel/postgres'; import { unstable_noStore as noStore } from 'next/cache'; import {sortEnums} from "@/app/lib/enums"; export async function fetchEvents(query?: string, filter?: string) { noStore(); const orderBy = (() => { switch (filter) { case sortEnums.SORTBYLOCATI...
1
tuvetula/watch4movies
6c5e47b
src/app/shared/models/firebase.models.ts
TypeScript
www.github.com/tuvetula/watch4movies/tree/main/src/app/shared/models/firebase.models.ts
https://raw.githubusercontent.com/tuvetula/watch4movies/6c5e47b/src/app/shared/models/firebase.models.ts
tuvetula/watch4movies 6c5e47b src/app/shared/models/firebase.models.ts
true
200
1,182
export interface FirebaseErrorModel { code: string; message: string } export const firebaseErrors = { "auth/user-not-found": "Aucun utilisateur ne correspond à cet e-mail" , "auth/email-already-in-use": "Un compte est déjà existant avec cette adresse mail.", "auth/wrong-password": "Le mot de ...
5
LeeAdcock/robocodeJs.com
05a97bf
server/src/api/arena.ts
TypeScript
www.github.com/LeeAdcock/robocodeJs.com/tree/main/server/src/api/arena.ts
https://raw.githubusercontent.com/LeeAdcock/robocodeJs.com/05a97bf/server/src/api/arena.ts
LeeAdcock/robocodeJs.com 05a97bf server/src/api/arena.ts
true
200
8,406
import express from "express"; import userService from "../services/UserService"; import appService from "../services/AppService"; import arenaService from "../services/ArenaService"; import environmentService from "../services/EnvironmentService"; import arenaMemberService from "../services/ArenaMemberService"; import...
4
I-am-ZiHao/Todo_list
a5d4a94
src/hooks/todo.ts
TypeScript
www.github.com/I-am-ZiHao/Todo_list/tree/main/src/hooks/todo.ts
https://raw.githubusercontent.com/I-am-ZiHao/Todo_list/a5d4a94/src/hooks/todo.ts
I-am-ZiHao/Todo_list a5d4a94 src/hooks/todo.ts
true
200
1,504
import { useCallback, useEffect, useState } from "react"; const API_HOST = "http://localhost:3000"; const API_GET_DATA = `${API_HOST}/posts/1`; export type TodoItem = { id: string; title: string; status: TodoStatus; }; export type Todolist = TodoItem[]; export const useTodoList = () => { const [todoList, se...
0
wulzymart/freight-genie-backend
bafdf16
src/apis/v1/modules/vendor/customers/routes.ts
TypeScript
www.github.com/wulzymart/freight-genie-backend/tree/main/src/apis/v1/modules/vendor/customers/routes.ts
https://raw.githubusercontent.com/wulzymart/freight-genie-backend/bafdf16/src/apis/v1/modules/vendor/customers/routes.ts
wulzymart/freight-genie-backend bafdf16 src/apis/v1/modules/vendor/customers/routes.ts
true
200
1,259
import {FastifyInstance} from "fastify"; import { addCustomer, getCustomerById, getCustomerByPhone, getCustomerCorporate, makeCustomerCorporate, validateCustomerId, walletRefill, } from "./controllers.js"; import {authorizationMiddlewareGenerator} from "../../../middlewares/auth.js"; import {StaffRole} fr...
7
hv4r3rv4ll1/HanskaholfidNode
64ea10c
public/ts/main.ts
TypeScript
www.github.com/hv4r3rv4ll1/HanskaholfidNode/tree/main/public/ts/main.ts
https://raw.githubusercontent.com/hv4r3rv4ll1/HanskaholfidNode/64ea10c/public/ts/main.ts
hv4r3rv4ll1/HanskaholfidNode 64ea10c public/ts/main.ts
true
200
18,270
(function ($) { "use strict"; // Spinner var spinner = function () { setTimeout(function () { if ($('#spinner').length > 0) { $('#spinner').removeClass('show'); } }, 1); }; spinner(); // Initiate the wowjs new WOW().init(); ...
2
diegui98/Front-End-DogsVsCats
7de2f7a
src/app/app-routing.module.ts
TypeScript
www.github.com/diegui98/Front-End-DogsVsCats/tree/main/src/app/app-routing.module.ts
https://raw.githubusercontent.com/diegui98/Front-End-DogsVsCats/7de2f7a/src/app/app-routing.module.ts
diegui98/Front-End-DogsVsCats 7de2f7a src/app/app-routing.module.ts
true
200
686
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { DogsComponent } from './components/dogs/dogs.component'; import { DogsVsCatsComponent } from './components/dogsVsCats/dogsVsCats.component'; import { WelcomeComponent } from './components/welcome/welcome.component...
6
ravi-teamarcs/pique-api
98c9e98
src/modules/admin/users/Dto/create-user.dto.ts
TypeScript
www.github.com/ravi-teamarcs/pique-api/tree/main/src/modules/admin/users/Dto/create-user.dto.ts
https://raw.githubusercontent.com/ravi-teamarcs/pique-api/98c9e98/src/modules/admin/users/Dto/create-user.dto.ts
ravi-teamarcs/pique-api 98c9e98 src/modules/admin/users/Dto/create-user.dto.ts
true
200
535
import { IsEmail, IsEnum, IsNotEmpty, IsOptional, IsString, Length } from 'class-validator'; export class CreateUserDto { @IsNotEmpty() @IsString() name: string; @IsNotEmpty() @IsEmail() email: string; @IsNotEmpty() @IsString() password: string; @IsNotEmpty() @IsString() @Length(10, 13) ph...
3
acCoder-eng/recipe_app_nestjs
5001cba
src/recipe-categories/recipe-category.controller.ts
TypeScript
www.github.com/acCoder-eng/recipe_app_nestjs/tree/main/src/recipe-categories/recipe-category.controller.ts
https://raw.githubusercontent.com/acCoder-eng/recipe_app_nestjs/5001cba/src/recipe-categories/recipe-category.controller.ts
acCoder-eng/recipe_app_nestjs 5001cba src/recipe-categories/recipe-category.controller.ts
true
200
926
import { Controller, Post, Delete, Get, Param } from '@nestjs/common'; import { RecipeCategoryService } from './recipe-category.service'; @Controller('recipe-categories') export class RecipeCategoryController { constructor(private readonly recipeCategoryService: RecipeCategoryService) {} @Post(':recipeId/:categor...
1
A7medAlmubarak/smart-therapist-clinic
59be85e
src/presentation/controllers/city/City.Controller.ts
TypeScript
www.github.com/A7medAlmubarak/smart-therapist-clinic/tree/main/src/presentation/controllers/city/City.Controller.ts
https://raw.githubusercontent.com/A7medAlmubarak/smart-therapist-clinic/59be85e/src/presentation/controllers/city/City.Controller.ts
A7medAlmubarak/smart-therapist-clinic 59be85e src/presentation/controllers/city/City.Controller.ts
true
200
1,182
import { Response, NextFunction } from "express"; import AuthenticatedRequest from "../../../domain/interfaces/utils/AuthenticatedRequest"; import { successfulResponse } from "../../../application/utils/responseMessage"; import { CityService } from "../../../application/services/city/City.Service"; import { inject,...
5
diogocezar/diocodes
4b9eeae
src/app/api/cron/sync/route.ts
TypeScript
www.github.com/diogocezar/diocodes/tree/main/src/app/api/cron/sync/route.ts
https://raw.githubusercontent.com/diogocezar/diocodes/4b9eeae/src/app/api/cron/sync/route.ts
diogocezar/diocodes 4b9eeae src/app/api/cron/sync/route.ts
true
200
752
import { logger } from "@/lib/logger"; import { sync } from "@/lib/sync"; import { getErrorMessage } from "@/lib/utils"; export const revalidate = 0; export const fetchCache = "force-no-store"; export const POST = async (req: Request) => { try { if ( req.headers.get("Authorization") !== `Bearer ${process....
0
lucianavarela/ipsaq
dee74c3
src/app/pages/sermon-edit/sermon-edit.component.ts
TypeScript
www.github.com/lucianavarela/ipsaq/tree/main/src/app/pages/sermon-edit/sermon-edit.component.ts
https://raw.githubusercontent.com/lucianavarela/ipsaq/dee74c3/src/app/pages/sermon-edit/sermon-edit.component.ts
lucianavarela/ipsaq dee74c3 src/app/pages/sermon-edit/sermon-edit.component.ts
true
200
9,743
import { Component, OnInit, ViewChild } from "@angular/core"; import { ActivatedRoute, Router } from "@angular/router"; import { Sermon } from "src/app/classes/sermon"; import { SermonSong } from "src/app/classes/sermon-song"; import { Song } from "src/app/classes/song"; import { SermonsService } from "src/app/services...
4
joseernestoroldan/magicmarblefoundation
08dbfdc
routes.ts
TypeScript
www.github.com/joseernestoroldan/magicmarblefoundation/tree/main/routes.ts
https://raw.githubusercontent.com/joseernestoroldan/magicmarblefoundation/08dbfdc/routes.ts
joseernestoroldan/magicmarblefoundation 08dbfdc routes.ts
true
200
844
/** * An array of routes that are accesible for all the public * These routes do not require authentication * @type {string[]} */ export const publicRoutes = [ "/", "/about", "/diaries", "/donations", "/gallery", "/getinvolved", "/grantees", "/projects", "/projects/project/:id", "/projectscarous...
6
Kakazablone/alx-backend-javascript
2676400
0x04-TypeScript/task_0/js/main.ts
TypeScript
www.github.com/Kakazablone/alx-backend-javascript/tree/main/0x04-TypeScript/task_0/js/main.ts
https://raw.githubusercontent.com/Kakazablone/alx-backend-javascript/2676400/0x04-TypeScript/task_0/js/main.ts
Kakazablone/alx-backend-javascript 2676400 0x04-TypeScript/task_0/js/main.ts
true
200
766
interface Student { firstName: string; lastName: string; age: number; location: string; } const student1: Student = { firstName: "Zablon", lastName: "Samba", age: 25, location: "Nairobi", }; const student2: Student = { firstName: "Jane", lastName: "Doe", age: 23, location: "Dar Es Salaam", }; ...
3
hertles/angular.shop
a45d79c
src/app/shared/modules/product/components/product-list/product/product.component.ts
TypeScript
www.github.com/hertles/angular.shop/tree/main/src/app/shared/modules/product/components/product-list/product/product.component.ts
https://raw.githubusercontent.com/hertles/angular.shop/a45d79c/src/app/shared/modules/product/components/product-list/product/product.component.ts
hertles/angular.shop a45d79c src/app/shared/modules/product/components/product-list/product/product.component.ts
true
200
1,295
import { ChangeDetectorRef, Component, DoCheck, EventEmitter, Input, KeyValueDiffers, Output, } from '@angular/core'; import {ChosenProduct} from "@models/product.model"; @Component({ selector: 'app-product', templateUrl: './product.component.html', styleUrls: ['./product.component.scss'] }) export...
1
roneydourados/reactjs-nextjs
1048fa7
api/src/modules/city/city.module.ts
TypeScript
www.github.com/roneydourados/reactjs-nextjs/tree/main/api/src/modules/city/city.module.ts
https://raw.githubusercontent.com/roneydourados/reactjs-nextjs/1048fa7/api/src/modules/city/city.module.ts
roneydourados/reactjs-nextjs 1048fa7 api/src/modules/city/city.module.ts
true
200
501
import { Module } from '@nestjs/common'; import { CityService } from './city.service'; import { CityController } from './city.controller'; import { PrismaModule } from '../../providers/prisma/prisma.module'; import { CityRepository } from './repository/city.repository'; import { CachedbModule } from 'src/providers/cach...
0
Ronaldo1999/ismp-register
7da5212
src/app/class/programme/programme.ts
TypeScript
www.github.com/Ronaldo1999/ismp-register/tree/main/src/app/class/programme/programme.ts
https://raw.githubusercontent.com/Ronaldo1999/ismp-register/7da5212/src/app/class/programme/programme.ts
Ronaldo1999/ismp-register 7da5212 src/app/class/programme/programme.ts
true
200
364
import { Cour } from "../cour/cour"; export class Programme { nomperiode!: string; nomparcours!: string; nomregroupements!: string; nompromotion!: string; nomue!: string; idperiode!: number; idparcours!: number; idregroupements!: number; idpromotion!: number; idue!: number; ...
5
Scarlett-Cococo/Interactive-Web
6e461c0
node_modules/@deck.gl/aggregation-layers/dist/common/aggregator/cpu-aggregator/sort-bins.d.ts
TypeScript
www.github.com/Scarlett-Cococo/Interactive-Web/tree/main/node_modules/@deck.gl/aggregation-layers/dist/common/aggregator/cpu-aggregator/sort-bins.d.ts
https://raw.githubusercontent.com/Scarlett-Cococo/Interactive-Web/6e461c0/node_modules/%40deck.gl/aggregation-layers/dist/common/aggregator/cpu-aggregator/sort-bins.d.ts
Scarlett-Cococo/Interactive-Web 6e461c0 node_modules/@deck.gl/aggregation-layers/dist/common/aggregator/cpu-aggregator/sort-bins.d.ts
true
200
532
import type { Bin } from "./cpu-aggregator.js"; /** Group data points into bins */ export declare function sortBins({ pointCount, getBinId }: { pointCount: number; getBinId: (index: number) => number[] | null; }): Bin[]; /** Pack bin ids into a typed array */ export declare function packBinIds({ bins, dimension...
6
vasantsaladi/cmu_hackathon
d7bd079
scripts/handleRevenue.ts
TypeScript
www.github.com/vasantsaladi/cmu_hackathon/tree/main/scripts/handleRevenue.ts
https://raw.githubusercontent.com/vasantsaladi/cmu_hackathon/d7bd079/scripts/handleRevenue.ts
vasantsaladi/cmu_hackathon d7bd079 scripts/handleRevenue.ts
true
200
4,560
import { StoryClient, type StoryConfig } from '@story-protocol/core-sdk'; import { http } from 'viem'; import { privateKeyToAccount } from 'viem/accounts'; import { type Address } from 'viem'; import dotenv from 'dotenv'; dotenv.config(); // Setup Story Protocol client const rawPrivateKey = process.env.WALLET_PRIVATE...
4
Lorepelhu98/fS0124B-lorenco-pelhuri
99e66e9
m3/s3/g5 compito/film/src/app/core/core.module.ts
TypeScript
www.github.com/Lorepelhu98/fS0124B-lorenco-pelhuri/tree/main/m3/s3/g5 compito/film/src/app/core/core.module.ts
https://raw.githubusercontent.com/Lorepelhu98/fS0124B-lorenco-pelhuri/99e66e9/m3/s3/g5%20compito/film/src/app/core/core.module.ts
Lorepelhu98/fS0124B-lorenco-pelhuri 99e66e9 m3/s3/g5 compito/film/src/app/core/core.module.ts
true
200
350
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { LoginModule } from './auth/login/login.module'; import { RegisterModule } from './auth/register/register.module'; @NgModule({ declarations: [], imports: [ CommonModule, LoginModule, RegisterModule ] }...
3
aminya/setup-cpp
6370aaa
src/sccache/__tests__/sccache.test.ts
TypeScript
www.github.com/aminya/setup-cpp/tree/main/src/sccache/__tests__/sccache.test.ts
https://raw.githubusercontent.com/aminya/setup-cpp/6370aaa/src/sccache/__tests__/sccache.test.ts
aminya/setup-cpp 6370aaa src/sccache/__tests__/sccache.test.ts
true
200
801
import { getUbuntuVersion } from "ubuntu-version" import { isUbuntu } from "../../utils/env/isUbuntu.js" import type { InstallationInfo } from "../../utils/setup/setupBin.js" import { testBin } from "../../utils/tests/test-helpers.js" import { setupSccache } from "../sccache.js" jest.setTimeout(300000) describe("setup...
1