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
JMIKEPAD/firebase-manager
bb414fc
src/app/components/main-dialog/main-dialog.component.ts
TypeScript
www.github.com/JMIKEPAD/firebase-manager/tree/main/src/app/components/main-dialog/main-dialog.component.ts
https://raw.githubusercontent.com/JMIKEPAD/firebase-manager/bb414fc/src/app/components/main-dialog/main-dialog.component.ts
JMIKEPAD/firebase-manager bb414fc src/app/components/main-dialog/main-dialog.component.ts
true
200
309
import { Component } from '@angular/core'; import { RouterLink } from '@angular/router'; @Component({ selector: 'app-main-dialog', standalone: true, imports: [RouterLink], templateUrl: './main-dialog.component.html', styleUrl: './main-dialog.component.scss' }) export class MainDialogComponent { }
1
wepp-store/weppstore-fe
7ba670b
src/shared/apis/queries/auth/sign-out.ts
TypeScript
www.github.com/wepp-store/weppstore-fe/tree/main/src/shared/apis/queries/auth/sign-out.ts
https://raw.githubusercontent.com/wepp-store/weppstore-fe/7ba670b/src/shared/apis/queries/auth/sign-out.ts
wepp-store/weppstore-fe 7ba670b src/shared/apis/queries/auth/sign-out.ts
true
200
966
'use client'; import { useMutation, UseMutationOptions } from '@tanstack/react-query'; import { useRouter } from 'next/navigation'; import { PATH, REFRESH_TOKEN_KEY } from '@/shared/constants'; import { removeSession } from '@/shared/auth'; import { axiosInstance } from '@/shared/apis/axios'; import { PATH_API } from ...
0
if22b042/InnoLab2
89e934a
src/Services/schoolService.ts
TypeScript
www.github.com/if22b042/InnoLab2/tree/main/src/Services/schoolService.ts
https://raw.githubusercontent.com/if22b042/InnoLab2/89e934a/src/Services/schoolService.ts
if22b042/InnoLab2 89e934a src/Services/schoolService.ts
true
200
1,167
import { calculateDistance } from '../serviceFunctions/distanceCalculatorService'; import { getLinesFromCsv } from '../serviceFunctions/getLines'; import { Platform } from 'react-native'; export async function SchoolServiceCalc(lat: number, lon: number): Promise<number> { const RADIUS = 500; const filePath = "../...
4
Smurf-Engineer/E-Commerce-f
f974ccd
src/components/AffiliatesPayouts/data.ts
TypeScript
www.github.com/Smurf-Engineer/E-Commerce-f/tree/main/src/components/AffiliatesPayouts/data.ts
https://raw.githubusercontent.com/Smurf-Engineer/E-Commerce-f/f974ccd/src/components/AffiliatesPayouts/data.ts
Smurf-Engineer/E-Commerce-f f974ccd src/components/AffiliatesPayouts/data.ts
true
200
472
/** * AffiliatesPayouts Queries */ import gql from 'graphql-tag' export const getAffiliatePaymentsQuery = gql` query getAffiliatePayments( $limit: Int $offset: Int $searchText: String ) { paymentsQuery: getPayouts( limit: $limit offset: $offset searchText: $searchText ) { ...
6
ArmanSattar/example
1ba6ea8
apps/backend/services/websocket/src/handlers/broadcastPlayersOnline.ts
TypeScript
www.github.com/ArmanSattar/example/tree/main/apps/backend/services/websocket/src/handlers/broadcastPlayersOnline.ts
https://raw.githubusercontent.com/ArmanSattar/example/1ba6ea8/apps/backend/services/websocket/src/handlers/broadcastPlayersOnline.ts
ArmanSattar/example 1ba6ea8 apps/backend/services/websocket/src/handlers/broadcastPlayersOnline.ts
true
200
1,333
import { WebSocketApiHandler } from "sst/node/websocket-api"; import { getLogger } from "@solspin/logger"; import { broadcastMessage } from "@solspin/web-socket-message"; import { getAllConnectionIds } from "../data-access/connectionRepository"; const logger = getLogger("broadcast-active-players-handler"); const table...
5
amine-akrichi/SunnyDrive
df2745b
src/app/features/request/request-routing.module.ts
TypeScript
www.github.com/amine-akrichi/SunnyDrive/tree/main/src/app/features/request/request-routing.module.ts
https://raw.githubusercontent.com/amine-akrichi/SunnyDrive/df2745b/src/app/features/request/request-routing.module.ts
amine-akrichi/SunnyDrive df2745b src/app/features/request/request-routing.module.ts
true
200
390
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import {RequestPageComponent} from "./pages/request-page/request-page.component"; const routes: Routes = [ { path:'', component: RequestPageComponent } ]; @NgModule({ imports: [RouterModule.forChild(routes)...
7
copyandpaetow/starwars-quartett
72b737f
src/data/utils.ts
TypeScript
www.github.com/copyandpaetow/starwars-quartett/tree/main/src/data/utils.ts
https://raw.githubusercontent.com/copyandpaetow/starwars-quartett/72b737f/src/data/utils.ts
copyandpaetow/starwars-quartett 72b737f src/data/utils.ts
true
200
663
export const whenBrowserHasTime = () => new Promise((resolve) => { try { requestIdleCallback(resolve, { timeout: 2000 }); } catch (error) { //safari doesnt have requestIdleCallback yet requestAnimationFrame(() => { requestAnimationFrame(resolve); }); } }); export const shuffleArray = <ArrayType...
2
rubytubi/C_lang_Study
effee37
TypeScript/practice_type.ts
TypeScript
www.github.com/rubytubi/C_lang_Study/tree/main/TypeScript/practice_type.ts
https://raw.githubusercontent.com/rubytubi/C_lang_Study/effee37/TypeScript/practice_type.ts
rubytubi/C_lang_Study effee37 TypeScript/practice_type.ts
true
200
1,222
let cat: string = 'bmw'; let isAdult: boolean = true; let a: number[] = [1, 2, 3, 4, 5]; let a2: Array<number> = [6, 7, 8, 9]; let week1: string[] = ['mon', 'tue', 'wed']; let week2: Array<string> = ['mon', 'tue', 'wed']; week1.push('thu'); // tuple let b: [string, number]; // 각각 type을 다르게 사용 가능 b = ['sm', 60]; b[0...
3
Pagantus/minebot
05e22ec
server/src/domain/task/getBoundindBoxBlock.ts
TypeScript
www.github.com/Pagantus/minebot/tree/main/server/src/domain/task/getBoundindBoxBlock.ts
https://raw.githubusercontent.com/Pagantus/minebot/05e22ec/server/src/domain/task/getBoundindBoxBlock.ts
Pagantus/minebot 05e22ec server/src/domain/task/getBoundindBoxBlock.ts
true
200
954
import { Vec3 } from 'vec3'; import { RangePosition } from '../types'; import { Task } from './base'; import { BaseTaskError } from './error'; class GetBoundingBoxBlockTask extends Task<Vec3, RangePosition> { protected async start(point: Vec3): Promise<RangePosition> { const block = this.bot.findBlock({ ...
0
im7ven/react-testing
3e6ca7f
src/data/category-data.ts
TypeScript
www.github.com/im7ven/react-testing/tree/main/src/data/category-data.ts
https://raw.githubusercontent.com/im7ven/react-testing/3e6ca7f/src/data/category-data.ts
im7ven/react-testing 3e6ca7f src/data/category-data.ts
true
200
465
export const categories = [ "Rent", "Mortgage", "Utilities", "Water", "Gas", "Groceries", "Dining Out", "Transportation", "Insurance", "Health & Wellness", "Fitness", "Hobbies", "Clothing", "Gifts", "Charity", "Education", "Childcare", "Pets", "Travel", "Vacation", "Savings", ...
1
JoseMurilloc/back-end-gorbarber
a030ec5
src/modules/users/services/CreateUserServices.spec.ts
TypeScript
www.github.com/JoseMurilloc/back-end-gorbarber/tree/main/src/modules/users/services/CreateUserServices.spec.ts
https://raw.githubusercontent.com/JoseMurilloc/back-end-gorbarber/a030ec5/src/modules/users/services/CreateUserServices.spec.ts
JoseMurilloc/back-end-gorbarber a030ec5 src/modules/users/services/CreateUserServices.spec.ts
true
200
1,620
import 'reflect-metadata'; import CreateSession from '@modules/users/services/CreateSessionServices'; import FakeUserRepository from '../infra/typeorm/repositories/fakes/FakeUserRepository'; import CreateUserServices from './CreateUserServices'; import FakeHashProvider from '../providers/HashProvider/fakes/FakeHashPro...
4
Artem-GitHub/originals-task
c49adf4
services/index.ts
TypeScript
www.github.com/Artem-GitHub/originals-task/tree/main/services/index.ts
https://raw.githubusercontent.com/Artem-GitHub/originals-task/c49adf4/services/index.ts
Artem-GitHub/originals-task c49adf4 services/index.ts
true
200
486
import { $fetch } from 'ofetch'; import TaskService from '@/services/task'; import UserService from '@/services/user'; const baseApiUrl: string = import.meta.env.VITE_BASE_API_URL; if (!baseApiUrl) { throw new Error('VITE_BASE_API_URL not found in env file'); } const fetchApi = $fetch.create({ baseURL: baseApiUr...
6
JUBINBIJU/Gadgeon-auth
2469cce
src/app/signin/signin.component.spec.ts
TypeScript
www.github.com/JUBINBIJU/Gadgeon-auth/tree/main/src/app/signin/signin.component.spec.ts
https://raw.githubusercontent.com/JUBINBIJU/Gadgeon-auth/2469cce/src/app/signin/signin.component.spec.ts
JUBINBIJU/Gadgeon-auth 2469cce src/app/signin/signin.component.spec.ts
true
200
956
import { HttpClient } from '@angular/common/http'; import { Component, OnInit } from '@angular/core'; import { FormGroup,FormBuilder } from '@angular/forms'; import {Router} from '@angular/router' @Component({ selector: 'app-signin', templateUrl: './signin.component.html', styleUrls: ['./signin.component.css'] ...
2
CristhianDevCod/primera-aplicaci-n-angular
a6f403c
src/app/layout/header/cart-button/cart-button.component.ts
TypeScript
www.github.com/CristhianDevCod/primera-aplicaci-n-angular/tree/main/src/app/layout/header/cart-button/cart-button.component.ts
https://raw.githubusercontent.com/CristhianDevCod/primera-aplicaci-n-angular/a6f403c/src/app/layout/header/cart-button/cart-button.component.ts
CristhianDevCod/primera-aplicaci-n-angular a6f403c src/app/layout/header/cart-button/cart-button.component.ts
true
200
736
import { Component } from '@angular/core'; import { MatBadgeModule } from '@angular/material/badge'; import { MatIcon } from '@angular/material/icon'; import { CartService } from '../../../api/services/cart.service'; import { Router, RouterLink } from '@angular/router'; @Component({ selector: 'app-cart-button', ...
7
rit3zh/Music-PlayerDJS
a980a15
src/api/calls/youtube/functions/getSuggestions.ts
TypeScript
www.github.com/rit3zh/Music-PlayerDJS/tree/main/src/api/calls/youtube/functions/getSuggestions.ts
https://raw.githubusercontent.com/rit3zh/Music-PlayerDJS/a980a15/src/api/calls/youtube/functions/getSuggestions.ts
rit3zh/Music-PlayerDJS a980a15 src/api/calls/youtube/functions/getSuggestions.ts
true
200
1,716
import Context from "../../../../context/index"; import request from "../../../../classes/Request"; // @type import type { Type } from "../../../../@types/index"; export async function getSuggestion(id: string) { const context = Context.createInitialYoutubeContextStructure({ client: { name: "WEB_REMIX", ...
0
quicksync84/Doc_Flow_62
20cde5f
src/code.ts
TypeScript
www.github.com/quicksync84/Doc_Flow_62/tree/main/src/code.ts
https://raw.githubusercontent.com/quicksync84/Doc_Flow_62/20cde5f/src/code.ts
quicksync84/Doc_Flow_62 20cde5f src/code.ts
true
200
268
console.log('Plugin starting...'); figma.showUI(__html__, { width: 300, height: 200, themeColors: true }); figma.ui.onmessage = msg => { console.log('Message received:', msg); if (msg.type === 'log') { console.log('UI Message:', msg.message); } };
5
snowpact/starter-snowpact
f7b0579
backend/src/entrypoints/api/loader/getHonoApp.ts
TypeScript
www.github.com/snowpact/starter-snowpact/tree/main/backend/src/entrypoints/api/loader/getHonoApp.ts
https://raw.githubusercontent.com/snowpact/starter-snowpact/f7b0579/backend/src/entrypoints/api/loader/getHonoApp.ts
snowpact/starter-snowpact f7b0579 backend/src/entrypoints/api/loader/getHonoApp.ts
true
200
1,196
import { OpenAPIHono } from '@hono/zod-openapi'; import { Env } from 'hono'; import { ZodError } from 'zod'; import { UserPayloadOptions } from '@/application/services/authToken/authToken.service.interface'; import { User } from '@/domain/entities/user/user.entity'; export interface CustomEnvInterface extends Env { ...
1
Sana-Abid46/100-Days-of-Coding-Challenge
5092129
day-08/Question 24/main.ts
TypeScript
www.github.com/Sana-Abid46/100-Days-of-Coding-Challenge/tree/main/day-08/Question 24/main.ts
https://raw.githubusercontent.com/Sana-Abid46/100-Days-of-Coding-Challenge/5092129/day-08/Question%2024/main.ts
Sana-Abid46/100-Days-of-Coding-Challenge 5092129 day-08/Question 24/main.ts
true
200
1,259
// More Conditional Tests: You don’t have to limit the number of tests you create to 10. If you want to try more comparisons, write more tests. Have at least one True and one False result for each of the following: // • Tests for equality and inequality with strings let colour: string = "red"; let colour2: string = "...
4
vev-design/editor-plugins
4181f40
bynder/src/client.ts
TypeScript
www.github.com/vev-design/editor-plugins/tree/main/bynder/src/client.ts
https://raw.githubusercontent.com/vev-design/editor-plugins/4181f40/bynder/src/client.ts
vev-design/editor-plugins 4181f40 bynder/src/client.ts
true
200
6,470
import { BynderAPIAsset, BynderMetaProperties, BynderMetaProperty, Filter, KVBynderMetaProperties, KVBynderMetaProperty, } from './types'; import { PROPERTY_PREFIX } from "./constants"; import { EditorPluginKv, EditorPluginKvKey } from '@vev/utils'; import { RequestProperties } from './settings'; interface A...
3
irvingvjuarez/ts-py-algorithms
155c6e3
typescript/src/get-max-gifts.ts
TypeScript
www.github.com/irvingvjuarez/ts-py-algorithms/tree/main/typescript/src/get-max-gifts.ts
https://raw.githubusercontent.com/irvingvjuarez/ts-py-algorithms/155c6e3/typescript/src/get-max-gifts.ts
irvingvjuarez/ts-py-algorithms 155c6e3 typescript/src/get-max-gifts.ts
true
200
1,378
function iterateThruCities(value: number, maxLevel: number, elements: Array<number>, limit: number, count: number): number { if (value === limit) return value if (value > limit) return 0 if (count >= maxLevel) return value const values: number[] = [] for (let index in elements) { const newElements = [....
6
patelb268/form-builder
5bf6c6e
src/app/form/capstone/shared/drag-drop-content/elements/checkbox-property/checkbox-property.component.ts
TypeScript
www.github.com/patelb268/form-builder/tree/main/src/app/form/capstone/shared/drag-drop-content/elements/checkbox-property/checkbox-property.component.ts
https://raw.githubusercontent.com/patelb268/form-builder/5bf6c6e/src/app/form/capstone/shared/drag-drop-content/elements/checkbox-property/checkbox-property.component.ts
patelb268/form-builder 5bf6c6e src/app/form/capstone/shared/drag-drop-content/elements/checkbox-property/checkbox-property.component.ts
true
200
8,877
import { Component, Input, Output, OnInit, EventEmitter } from '@angular/core'; import { UUID } from 'angular2-uuid'; import * as _ from 'lodash'; @Component({ selector: 'app-checkbox-property', templateUrl: './checkbox-property.component.html', styleUrls: ['./checkbox-property.component.scss'] }) export class ...
2
mtsgamorim/DrivenPass-API
92c063c
routes/wifiRouter.ts
TypeScript
www.github.com/mtsgamorim/DrivenPass-API/tree/main/routes/wifiRouter.ts
https://raw.githubusercontent.com/mtsgamorim/DrivenPass-API/92c063c/routes/wifiRouter.ts
mtsgamorim/DrivenPass-API 92c063c routes/wifiRouter.ts
true
200
805
import { Router } from "express"; import validateSchema from "../middlewares/schemaValidator.js"; import validateTokenExists from "../middlewares/validateTokenExists.js"; import validateIdQueryMiddleware from "../middlewares/validateIdQueryMiddleware.js"; import validateIdParamMiddleware from "../middlewares/validateId...
7
AutoSoftOSS/autorepo-api
00b280a
source/commands/init/test.ts
TypeScript
www.github.com/AutoSoftOSS/autorepo-api/tree/main/source/commands/init/test.ts
https://raw.githubusercontent.com/AutoSoftOSS/autorepo-api/00b280a/source/commands/init/test.ts
AutoSoftOSS/autorepo-api 00b280a source/commands/init/test.ts
true
200
464
import clee, { parseString } from "clee"; import { structure } from "../../structure.js"; export const initTest = clee("test") .option("-c", "--cwd", "[path]", "Directory to initialize the test directory within", parseString) .action(async ({ cwd }) => { const root = structure(cwd); const file = root.files...
0
FlyingPug/EduSynth
fe32d9c
EduSynth-UI/src/service/quiz.service.ts
TypeScript
www.github.com/FlyingPug/EduSynth/tree/main/EduSynth-UI/src/service/quiz.service.ts
https://raw.githubusercontent.com/FlyingPug/EduSynth/fe32d9c/EduSynth-UI/src/service/quiz.service.ts
FlyingPug/EduSynth fe32d9c EduSynth-UI/src/service/quiz.service.ts
true
200
1,351
import { inject, Injectable } from "@angular/core"; import { Query } from "../models/common/query"; import { QuizTitleModel } from "../models/quiz/quiz-title-model"; import { Page } from "../models/common/page"; import { ApiClient } from "./api.service"; import { QuizResponseDto } from "../models/quiz/response/quiz-res...
5
LoushikLK/movies-tv-shows-with-next
295ac16
src/hooks/useApiData.ts
TypeScript
www.github.com/LoushikLK/movies-tv-shows-with-next/tree/main/src/hooks/useApiData.ts
https://raw.githubusercontent.com/LoushikLK/movies-tv-shows-with-next/295ac16/src/hooks/useApiData.ts
LoushikLK/movies-tv-shows-with-next 295ac16 src/hooks/useApiData.ts
true
200
738
import React from "react"; const useApiData = (url: any) => { const [data, setData] = React.useState<any>({}); const [loading, setLoading] = React.useState(true); const [error, setError] = React.useState<any>(null); const fetchData = async (url: string) => { setLoading(true); try { const respons...
1
DimajTech/AdminApp
42b443f
admin-app/src/app/services/course.service.ts
TypeScript
www.github.com/DimajTech/AdminApp/tree/main/admin-app/src/app/services/course.service.ts
https://raw.githubusercontent.com/DimajTech/AdminApp/42b443f/admin-app/src/app/services/course.service.ts
DimajTech/AdminApp 42b443f admin-app/src/app/services/course.service.ts
true
200
2,766
import { HttpClient, HttpHeaders } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { Course } from '../models/course.model'; import { Observable } from 'rxjs'; const ADMIN_API_URL = 'https://administratorapi-b4eqd2exgxdwekfy.mexicocentral-01.azurewebsites.net/api/' const PROFESSOR_API_U...
4
Cass81097/social-media-be
7c00363
src/data-source.ts
TypeScript
www.github.com/Cass81097/social-media-be/tree/main/src/data-source.ts
https://raw.githubusercontent.com/Cass81097/social-media-be/7c00363/src/data-source.ts
Cass81097/social-media-be 7c00363 src/data-source.ts
true
200
883
// import "reflect-metadata" // import { DataSource } from "typeorm" // export const AppDataSource = new DataSource({ // type: "mysql", // host: "127.0.0.1", // port: 3306, // username: "root", // password: "123456", // database: "social_media", // synchronize: true, // entities: ["dist...
3
Tishan-001/nest-simple-crud
9289461
src/app.module.ts
TypeScript
www.github.com/Tishan-001/nest-simple-crud/tree/main/src/app.module.ts
https://raw.githubusercontent.com/Tishan-001/nest-simple-crud/9289461/src/app.module.ts
Tishan-001/nest-simple-crud 9289461 src/app.module.ts
true
200
760
import { Module } from '@nestjs/common'; import { MongooseModule } from '@nestjs/mongoose'; import { GraphQLModule } from '@nestjs/graphql'; import { ApolloDriver, ApolloDriverConfig } from '@nestjs/apollo'; import { join } from 'path'; import { AppController } from './app.controller'; import { AppService } from './app...
6
YashwanthVanumu/face_recog
c4f6eb8
src/app/mark-leave/mark-leave.component.ts
TypeScript
www.github.com/YashwanthVanumu/face_recog/tree/main/src/app/mark-leave/mark-leave.component.ts
https://raw.githubusercontent.com/YashwanthVanumu/face_recog/c4f6eb8/src/app/mark-leave/mark-leave.component.ts
YashwanthVanumu/face_recog c4f6eb8 src/app/mark-leave/mark-leave.component.ts
true
200
2,487
import { HttpClient } from '@angular/common/http'; import { Component, OnInit } from '@angular/core'; import { MarkleaveserviceService } from '../markleaveservice.service'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { EmployeeserviceService } from '../employeeservice.service'; import { ...
7
ValentynaKoriahina/Country-Weather-ExchangeRate-App
321f8df
src/app/services/my-http.service.ts
TypeScript
www.github.com/ValentynaKoriahina/Country-Weather-ExchangeRate-App/tree/main/src/app/services/my-http.service.ts
https://raw.githubusercontent.com/ValentynaKoriahina/Country-Weather-ExchangeRate-App/321f8df/src/app/services/my-http.service.ts
ValentynaKoriahina/Country-Weather-ExchangeRate-App 321f8df src/app/services/my-http.service.ts
true
200
354
import { Injectable } from '@angular/core'; import { CapacitorHttp, HttpOptions } from '@capacitor/core'; @Injectable({ providedIn: 'root' }) export class MyHttpService { constructor() { } // Asynchronous method for making GET requests using Capacitor's Http async get(options: HttpOptions) { return await ...
2
hanchayi/leetcode
b206f27
83.remove-duplicates-from-sorted-list.ts
TypeScript
www.github.com/hanchayi/leetcode/tree/main/83.remove-duplicates-from-sorted-list.ts
https://raw.githubusercontent.com/hanchayi/leetcode/b206f27/83.remove-duplicates-from-sorted-list.ts
hanchayi/leetcode b206f27 83.remove-duplicates-from-sorted-list.ts
true
200
1,139
/* * @lc app=leetcode id=83 lang=typescript * * [83] Remove Duplicates from Sorted List */ // @lc code=start /** * Definition for singly-linked list. * class ListNode { * val: number * next: ListNode | null * constructor(val?: number, next?: ListNode | null) { * this.val = (val===undefine...
0
adnansharifpk/test_react_redux_ts_web
8e19672
src/features/products/productAPI.ts
TypeScript
www.github.com/adnansharifpk/test_react_redux_ts_web/tree/main/src/features/products/productAPI.ts
https://raw.githubusercontent.com/adnansharifpk/test_react_redux_ts_web/8e19672/src/features/products/productAPI.ts
adnansharifpk/test_react_redux_ts_web 8e19672 src/features/products/productAPI.ts
true
200
1,387
import api from '../../utils/apiInterceptor'; // Import the shared API instance // Define the FetchProductsParams interface export interface FetchProductsParams { searchTerm: string; orderBy: string; sortDirection: 'asc' | 'desc'; } // Define the async function for fetching products export const fetchProducts =...
1
shanitiwari01/supreme-system
5f87d7e
Projects/ServiceDataLayer/AccountSDL.ts
TypeScript
www.github.com/shanitiwari01/supreme-system/tree/main/Projects/ServiceDataLayer/AccountSDL.ts
https://raw.githubusercontent.com/shanitiwari01/supreme-system/5f87d7e/Projects/ServiceDataLayer/AccountSDL.ts
shanitiwari01/supreme-system 5f87d7e Projects/ServiceDataLayer/AccountSDL.ts
true
200
18,799
import { BOOLEAN_STATUS, ERROR_CODES, USER_ROLES, ACCOUNT_API_TYPES } from "utility"; import { RunQuery } from "./Config/Sql"; import { BaseDTO, UserDTO, UserModel, VerifyUserModel } from "datamodels"; import CommonSDL from "./CommonSDL"; import brcypt from "bcryptjs"; type ValueOf<T> = T[keyof T]; export default clas...
4
KaotoIO/vscode-kaoto
b8ddefd
src/helpers/ClasspathRootFinder.ts
TypeScript
www.github.com/KaotoIO/vscode-kaoto/tree/main/src/helpers/ClasspathRootFinder.ts
https://raw.githubusercontent.com/KaotoIO/vscode-kaoto/b8ddefd/src/helpers/ClasspathRootFinder.ts
KaotoIO/vscode-kaoto b8ddefd src/helpers/ClasspathRootFinder.ts
true
200
1,666
/** * Copyright 2025 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
6
nrprosper/budget-buddy
8aaf7ce
src/hooks/useAuthApi.ts
TypeScript
www.github.com/nrprosper/budget-buddy/tree/main/src/hooks/useAuthApi.ts
https://raw.githubusercontent.com/nrprosper/budget-buddy/8aaf7ce/src/hooks/useAuthApi.ts
nrprosper/budget-buddy 8aaf7ce src/hooks/useAuthApi.ts
true
200
1,486
import {useAuth} from "@/context/AuthContext"; import {useMutation} from "@tanstack/react-query"; import {LoginRequest, RegisterRequest} from "@/types"; import {login as apiLogin, register} from "@/api/auth"; import {useRouter} from "next/navigation"; import {useAccounts} from "@/hooks/useAccounts"; import {toast} from...
7
TheKingYouNeed/Tiw-Project
b7d9e37
product-frontend/src/app/app.component.ts
TypeScript
www.github.com/TheKingYouNeed/Tiw-Project/tree/main/product-frontend/src/app/app.component.ts
https://raw.githubusercontent.com/TheKingYouNeed/Tiw-Project/b7d9e37/product-frontend/src/app/app.component.ts
TheKingYouNeed/Tiw-Project b7d9e37 product-frontend/src/app/app.component.ts
true
200
507
import { Component } from '@angular/core'; import { RouterModule } from '@angular/router'; import { ProductListComponent } from './components/product-list/product-list.component'; import { ProductFormComponent } from './components/product-form/product-form.component'; @Component({ selector: 'app-root', templateUrl...
0
akashvyavahare25/easei-fe
3d2d93c
projects/dashboard/src/app/page/plant-dashboard/alarm/alarm.component.ts
TypeScript
www.github.com/akashvyavahare25/easei-fe/tree/main/projects/dashboard/src/app/page/plant-dashboard/alarm/alarm.component.ts
https://raw.githubusercontent.com/akashvyavahare25/easei-fe/3d2d93c/projects/dashboard/src/app/page/plant-dashboard/alarm/alarm.component.ts
akashvyavahare25/easei-fe 3d2d93c projects/dashboard/src/app/page/plant-dashboard/alarm/alarm.component.ts
true
200
18,285
//@ts-nocheck import { Component, ElementRef, Inject, OnInit, ViewChild } from '@angular/core'; import {EmailValidator, FormBuilder, FormControl, Validators} from '@angular/forms'; import {MatDialog, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material/dialog'; import {AfterViewInit} from '@angular/core'; import {Mat...
4
frokzy10/Redux-furniture
614822b
src/app/providers/StoreProvider/config/StoreSchema.ts
TypeScript
www.github.com/frokzy10/Redux-furniture/tree/main/src/app/providers/StoreProvider/config/StoreSchema.ts
https://raw.githubusercontent.com/frokzy10/Redux-furniture/614822b/src/app/providers/StoreProvider/config/StoreSchema.ts
frokzy10/Redux-furniture 614822b src/app/providers/StoreProvider/config/StoreSchema.ts
true
200
375
import {productList} from "../../../../entities/ShowProduct"; import {productCurrentReducer} from "../../../../entities/ProductCurrent/model/reducer/productCurrent"; interface RootState { products: typeof productList; productCurrent:typeof productCurrentReducer } interface IActions { type:string; payl...
0
Andriy22/StudentMaster2.0
f498dc0
frontend/src/app/routes/teacher/group/attendance/attendance.component.ts
TypeScript
www.github.com/Andriy22/StudentMaster2.0/tree/main/frontend/src/app/routes/teacher/group/attendance/attendance.component.ts
https://raw.githubusercontent.com/Andriy22/StudentMaster2.0/f498dc0/frontend/src/app/routes/teacher/group/attendance/attendance.component.ts
Andriy22/StudentMaster2.0 f498dc0 frontend/src/app/routes/teacher/group/attendance/attendance.component.ts
true
200
2,533
import { AfterViewInit, Component, Input, OnInit, ViewChild } from '@angular/core'; import { SubjectInfoModel } from '@shared/models/subject-info.model'; import { MatPaginator } from '@angular/material/paginator'; import { TeacherService } from '@core/services/teacher.service'; import { GroupService } from '@core/servi...
7
ilyes-bouhari/itexc-agency
b89ca67
src/auth/auth.module.ts
TypeScript
www.github.com/ilyes-bouhari/itexc-agency/tree/main/src/auth/auth.module.ts
https://raw.githubusercontent.com/ilyes-bouhari/itexc-agency/b89ca67/src/auth/auth.module.ts
ilyes-bouhari/itexc-agency b89ca67 src/auth/auth.module.ts
true
200
1,238
import { Module } from '@nestjs/common'; import { JwtModule } from '@nestjs/jwt'; import { PassportModule } from '@nestjs/passport'; import { TypeOrmModule } from '@nestjs/typeorm'; import { User } from 'src/users/entities/user.entity'; import { UsersService } from 'src/users/users.service'; import { AuthController } f...
1
diyanaco/dy_sms_tui
e3d1051
tuition/src/app/_guards/auth-guard.service.ts
TypeScript
www.github.com/diyanaco/dy_sms_tui/tree/main/tuition/src/app/_guards/auth-guard.service.ts
https://raw.githubusercontent.com/diyanaco/dy_sms_tui/e3d1051/tuition/src/app/_guards/auth-guard.service.ts
diyanaco/dy_sms_tui e3d1051 tuition/src/app/_guards/auth-guard.service.ts
true
200
1,481
import { Injectable } from '@angular/core'; import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; import { UserAuthService } from 'app/_services/user-auth.service'; import { AuthenticationService } from '../_services/authentication.service'; @Injectable({ providedIn: 'roo...
4
luminahi/data-structures
c09a13d
typescript/queue/queue.ts
TypeScript
www.github.com/luminahi/data-structures/tree/main/typescript/queue/queue.ts
https://raw.githubusercontent.com/luminahi/data-structures/c09a13d/typescript/queue/queue.ts
luminahi/data-structures c09a13d typescript/queue/queue.ts
true
200
1,529
type QueueNode<T> = { value: T; right: QueueNode<T> | null; left: QueueNode<T> | null; }; export class Queue<T> { private head: QueueNode<T> | null; private tail: QueueNode<T> | null; private size: number; public constructor() { this.head = null; this.tail = null; t...
6
controlemix/multikart-api
2cb15e3
src/resources/menus/interfaces/menu.interface.ts
TypeScript
www.github.com/controlemix/multikart-api/tree/main/src/resources/menus/interfaces/menu.interface.ts
https://raw.githubusercontent.com/controlemix/multikart-api/2cb15e3/src/resources/menus/interfaces/menu.interface.ts
controlemix/multikart-api 2cb15e3 src/resources/menus/interfaces/menu.interface.ts
true
200
412
import { IsNotEmpty, MinLength, IsEmail, IsEnum } from 'class-validator'; import { MenuChildrenDto } from '../dto/menu-children.dto'; export interface IMenuDtoAttributes { id?: number; title?: string; type?: string; megaMenu?: boolean; path?: string; badgeValue?: string; active?: boolean; na...
7
BRsurendra31/Typescript
8693796
01_intro/intro.ts
TypeScript
www.github.com/BRsurendra31/Typescript/tree/main/01_intro/intro.ts
https://raw.githubusercontent.com/BRsurendra31/Typescript/8693796/01_intro/intro.ts
BRsurendra31/Typescript 8693796 01_intro/intro.ts
true
200
548
// Go to readme console.log("This is a typescript code"); class Test{} let obj : Test = new Test(); let firstName = "surendra"; console.log("type of obj is :",typeof obj, "and type of firstName is :", typeof firstName); //op : // This is a typescript code // 01_intro.js:10 type of obj is : object and type of firs...
1
KKardd/nestjs-study
eb0018e
s3-test/src/s3-upload/s3-upload.module.ts
TypeScript
www.github.com/KKardd/nestjs-study/tree/main/s3-test/src/s3-upload/s3-upload.module.ts
https://raw.githubusercontent.com/KKardd/nestjs-study/eb0018e/s3-test/src/s3-upload/s3-upload.module.ts
KKardd/nestjs-study eb0018e s3-test/src/s3-upload/s3-upload.module.ts
true
200
737
import { Module } from '@nestjs/common'; import { MulterModule } from '@nestjs/platform-express'; import { ConfigModule, ConfigService } from '@nestjs/config'; import { S3Client } from '@aws-sdk/client-s3'; import * as mime from 'mime-types'; import s3Storage from 'multer-s3'; import * as multerS3 from 'multer-s3'; imp...
0
onursenel/rentacar-pair1-angular
e18af7a
src/app/features/models/components/models-list/models-list.component.ts
TypeScript
www.github.com/onursenel/rentacar-pair1-angular/tree/main/src/app/features/models/components/models-list/models-list.component.ts
https://raw.githubusercontent.com/onursenel/rentacar-pair1-angular/e18af7a/src/app/features/models/components/models-list/models-list.component.ts
onursenel/rentacar-pair1-angular e18af7a src/app/features/models/components/models-list/models-list.component.ts
true
200
2,592
import { CommonModule } from "@angular/common"; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnChanges, OnInit, SimpleChanges } from "@angular/core"; import { RouterModule } from "@angular/router"; import { ModelListItemDto } from "../../models/model-list-item-dto"; import { ModelsApiService }...
4
ViniciusMassari/ddd-com-node
7ee178a
test/repositories/in-memory-notifications-repository.ts
TypeScript
www.github.com/ViniciusMassari/ddd-com-node/tree/main/test/repositories/in-memory-notifications-repository.ts
https://raw.githubusercontent.com/ViniciusMassari/ddd-com-node/7ee178a/test/repositories/in-memory-notifications-repository.ts
ViniciusMassari/ddd-com-node 7ee178a test/repositories/in-memory-notifications-repository.ts
true
200
816
import type { NotificationsRepository } from "@/domain/notification/application/repositories/notifications-repository"; import type { Notification } from "@/domain/notification/enterprise/entities/notification"; export class InMemoryNotificationsRepository implements NotificationsRepository { async findById(id: strin...
6
ubitech/onenet-dashboard-frontend
5a69df6
src/app/features/auth/auth.module.ts
TypeScript
www.github.com/ubitech/onenet-dashboard-frontend/tree/main/src/app/features/auth/auth.module.ts
https://raw.githubusercontent.com/ubitech/onenet-dashboard-frontend/5a69df6/src/app/features/auth/auth.module.ts
ubitech/onenet-dashboard-frontend 5a69df6 src/app/features/auth/auth.module.ts
true
200
702
import {NgModule} from '@angular/core'; import {AuthService} from './services/auth.service'; import {SharedModule} from 'src/app/shared/shared.module'; import {LoginPageComponent} from './pages/login/login.page.component'; import {RegisterPageComponent} from './pages/register/register.page.component'; import {ForgotPas...
7
2Eduardo/tutorial-nlw4
a3383d4
server/src/services/SubmitFeedbackService.test.ts
TypeScript
www.github.com/2Eduardo/tutorial-nlw4/tree/main/server/src/services/SubmitFeedbackService.test.ts
https://raw.githubusercontent.com/2Eduardo/tutorial-nlw4/a3383d4/server/src/services/SubmitFeedbackService.test.ts
2Eduardo/tutorial-nlw4 a3383d4 server/src/services/SubmitFeedbackService.test.ts
true
200
1,432
import { SubmitFeedbackService } from "./SubmitFeedbackService" describe('Submit feedback', () => { const createFeedbackSpy = jest.fn(); const sendEmailSpy = jest.fn(); const submitFeedbackService = new SubmitFeedbackService( { create: createFeedbackSpy }, { sendMail: sendEmailSpy } ); it('should b...
1
mustaavaruus/chart
8b6af89
src/app/calculator/calculator.component.ts
TypeScript
www.github.com/mustaavaruus/chart/tree/main/src/app/calculator/calculator.component.ts
https://raw.githubusercontent.com/mustaavaruus/chart/8b6af89/src/app/calculator/calculator.component.ts
mustaavaruus/chart 8b6af89 src/app/calculator/calculator.component.ts
true
200
1,379
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-calculator', templateUrl: './calculator.component.html', styleUrls: ['./calculator.component.scss'] }) export class CalculatorComponent implements OnInit { constructor() { } input1: string; input2: string; number1: number; ...
0
kaykeeb3/ui-twitter
7051e02
src/components/FollowSuggestion/styles.ts
TypeScript
www.github.com/kaykeeb3/ui-twitter/tree/main/src/components/FollowSuggestion/styles.ts
https://raw.githubusercontent.com/kaykeeb3/ui-twitter/7051e02/src/components/FollowSuggestion/styles.ts
kaykeeb3/ui-twitter 7051e02 src/components/FollowSuggestion/styles.ts
true
200
631
import styled from "styled-components"; import Button from "../Button"; export const Container = styled.div` display: flex; align-items: center; justify-content: space-between; > div { display: flex; align-items: center; } `; export const Avatar = styled.div` width: 49px; height: 49px; backg...
4
maarten-dpd/famPlan
12b6247
src/app/services/family.service.ts
TypeScript
www.github.com/maarten-dpd/famPlan/tree/main/src/app/services/family.service.ts
https://raw.githubusercontent.com/maarten-dpd/famPlan/12b6247/src/app/services/family.service.ts
maarten-dpd/famPlan 12b6247 src/app/services/family.service.ts
true
200
4,684
import { Injectable } from '@angular/core'; import {FamilyMember} from '../../datatypes/familyMember'; import { addDoc, collection, collectionData, CollectionReference, doc, DocumentReference, Firestore, query, setDoc, updateDoc, where } from '@angular/fire/firestore'; import { firstValueFrom, Observable, tak...
6
Eric-Muthemba/backend
799d519
src/api/transactions/transactionsRouter.ts
TypeScript
www.github.com/Eric-Muthemba/backend/tree/main/src/api/transactions/transactionsRouter.ts
https://raw.githubusercontent.com/Eric-Muthemba/backend/799d519/src/api/transactions/transactionsRouter.ts
Eric-Muthemba/backend 799d519 src/api/transactions/transactionsRouter.ts
true
200
2,701
import { OpenAPIRegistry } from '@asteasolutions/zod-to-openapi'; import express, { Request, Response, Router } from 'express'; import { MpesaSTKPushCallbackSchema, triggerPaymentSchema } from '@/api/transactions/transactionsSchema'; import { transactionsService } from '@/api/transactions/transactionsService'; import ...
0
fourside/monthly_debt_hours
1829453
vite.config.ts
TypeScript
www.github.com/fourside/monthly_debt_hours/tree/main/vite.config.ts
https://raw.githubusercontent.com/fourside/monthly_debt_hours/1829453/vite.config.ts
fourside/monthly_debt_hours 1829453 vite.config.ts
true
200
859
import { crx, defineManifest } from "@crxjs/vite-plugin"; import react from "@vitejs/plugin-react-swc"; import { visualizer } from "rollup-plugin-visualizer"; import { defineConfig } from "vite"; import packageJson from "./package.json"; const manifest = defineManifest({ manifest_version: 3, name: "Monthly debt ho...
7
martinezmn/discord-bot
84099b8
src/utils/measures.calculator.ts
TypeScript
www.github.com/martinezmn/discord-bot/tree/main/src/utils/measures.calculator.ts
https://raw.githubusercontent.com/martinezmn/discord-bot/84099b8/src/utils/measures.calculator.ts
martinezmn/discord-bot 84099b8 src/utils/measures.calculator.ts
true
200
2,450
import moment, { Moment } from 'moment'; import { TimeMeasure } from '../entities/time.measure'; export class MeasuresCalculator { async calculate(timeMeasure: TimeMeasure): Promise<TimeMeasure> { if (!timeMeasure.loggedAt) { throw new Error('Cannot calculate without loggetAt attribute.'); } const...
1
cat4git/BankNote
c8ee139
src/utils/removeItemByIndex.ts
TypeScript
www.github.com/cat4git/BankNote/tree/main/src/utils/removeItemByIndex.ts
https://raw.githubusercontent.com/cat4git/BankNote/c8ee139/src/utils/removeItemByIndex.ts
cat4git/BankNote c8ee139 src/utils/removeItemByIndex.ts
true
200
362
const removeItemByIndex = (arr: [any], index: number) => { // Create a shallow copy of the original array const newArray = arr.slice(); // Check if the index is valid if (index >= 0 && index < newArray.length) { // Remove the object at the specified index newArray.splice(index, 1); } return newArr...
4
aydink88/tweeter-react
cb204c8
src/types/Context.ts
TypeScript
www.github.com/aydink88/tweeter-react/tree/main/src/types/Context.ts
https://raw.githubusercontent.com/aydink88/tweeter-react/cb204c8/src/types/Context.ts
aydink88/tweeter-react cb204c8 src/types/Context.ts
true
200
751
import type { Dispatch } from 'react' import type { TUser } from './User' export type TState = { user: TUser misc: { appLoading: boolean } error: string alertMessage: string } export type TContext = { state: TState dispatch: Dispatch<TAction> autoLogin(): Promise<void> } // map for action types matchin...
6
mehranr1990/Aria-Rate
dd3a6f1
src/app/pages/currency-converter/currency-converter.component.ts
TypeScript
www.github.com/mehranr1990/Aria-Rate/tree/main/src/app/pages/currency-converter/currency-converter.component.ts
https://raw.githubusercontent.com/mehranr1990/Aria-Rate/dd3a6f1/src/app/pages/currency-converter/currency-converter.component.ts
mehranr1990/Aria-Rate dd3a6f1 src/app/pages/currency-converter/currency-converter.component.ts
true
200
1,688
import { Component, OnInit } from '@angular/core'; import { initialRates } from '../../core/data/initialRates'; import { CommonModule, KeyValuePipe } from '@angular/common'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { addToDataase, getDatabase, initializeDatabase, updateCurrentAE...
7
douglasjrosa/sys-rbx-frontend
eb52d22
src/pages/api/db/empresas/search/powerbi/inativo/index.ts
TypeScript
www.github.com/douglasjrosa/sys-rbx-frontend/tree/main/src/pages/api/db/empresas/search/powerbi/inativo/index.ts
https://raw.githubusercontent.com/douglasjrosa/sys-rbx-frontend/eb52d22/src/pages/api/db/empresas/search/powerbi/inativo/index.ts
douglasjrosa/sys-rbx-frontend eb52d22 src/pages/api/db/empresas/search/powerbi/inativo/index.ts
true
200
997
import { NextApiRequest, NextApiResponse } from "next" export default async function GetEmpresa ( req: NextApiRequest, res: NextApiResponse ) { if ( req.method === "GET" ) { const Vendedor = req.query.Vendedor const token = process.env.ATORIZZATION_TOKEN const url = process.env.NEXT_PUBLIC_STRAPI_API_URL +...
1
jamesmikesell/dns-scanning-updater
e12dd8a
synchronizer.ts
TypeScript
www.github.com/jamesmikesell/dns-scanning-updater/tree/main/synchronizer.ts
https://raw.githubusercontent.com/jamesmikesell/dns-scanning-updater/e12dd8a/synchronizer.ts
jamesmikesell/dns-scanning-updater e12dd8a synchronizer.ts
true
200
2,905
import { CloudflareDNSUpdater } from "./cloudflare-dns-updater"; import { CloudflareConfig, Config } from "./config"; import { IpResolver } from "./ip-address-resolver"; export class Synchronizer { private disposed = false; private currentSchedule: NodeJS.Timeout | undefined; constructor(private subDomain: s...
4
ronipozn/academig
7fca932
src/app/footer/footer.module.ts
TypeScript
www.github.com/ronipozn/academig/tree/main/src/app/footer/footer.module.ts
https://raw.githubusercontent.com/ronipozn/academig/7fca932/src/app/footer/footer.module.ts
ronipozn/academig 7fca932 src/app/footer/footer.module.ts
true
200
826
import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {RouterModule} from '@angular/router'; import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import {FooterComponent} from './footer/footer.component'; import { MatButtonModule, MatInputModule, ...
6
awhuiyun/pomogrids-prod
1a6c8fd
src/stores/user.ts
TypeScript
www.github.com/awhuiyun/pomogrids-prod/tree/main/src/stores/user.ts
https://raw.githubusercontent.com/awhuiyun/pomogrids-prod/1a6c8fd/src/stores/user.ts
awhuiyun/pomogrids-prod 1a6c8fd src/stores/user.ts
true
200
768
import { create } from "zustand"; import { User } from "firebase/auth"; interface IUseUserStore { user: User | null; user_id: string; email: string; tier: string; setUser: (user: User | null) => void; setUserId: (id: string) => void; setEmail: (email: string) => void; setTier: (tier: string) => void; }...
0
dipanc1/linkedin-clone
c0761fd
frontend/src/app/home/models/friendRequest.ts
TypeScript
www.github.com/dipanc1/linkedin-clone/tree/main/frontend/src/app/home/models/friendRequest.ts
https://raw.githubusercontent.com/dipanc1/linkedin-clone/c0761fd/frontend/src/app/home/models/friendRequest.ts
dipanc1/linkedin-clone c0761fd frontend/src/app/home/models/friendRequest.ts
true
200
367
export type FriendRequestStatusType = | 'not-sent' | 'waiting-for-current-user-response' | 'pending' | 'accepted' | 'declined'; export interface FriendRequestStatus { status?: FriendRequestStatusType; } export interface FriendRequest { id: number; creator: number; receiver: number; status?: Friend...
7
MaiaMatthews/desafio-techlead
2b93516
front/src/app/services/localstorage.service.ts
TypeScript
www.github.com/MaiaMatthews/desafio-techlead/tree/main/front/src/app/services/localstorage.service.ts
https://raw.githubusercontent.com/MaiaMatthews/desafio-techlead/2b93516/front/src/app/services/localstorage.service.ts
MaiaMatthews/desafio-techlead 2b93516 front/src/app/services/localstorage.service.ts
true
200
460
import { Injectable } from '@angular/core'; interface StoragedObject { userId: string; } @Injectable({ providedIn: 'root', }) export class LocalStorageService { private USER_ID: string = 'object'; public getUserId(): string | null { return localStorage.getItem(this.USER_ID); } public saveUserId(data...
4
gexposito943/Exerciciapis
5c4263c
src/app/app.component.ts
TypeScript
www.github.com/gexposito943/Exerciciapis/tree/main/src/app/app.component.ts
https://raw.githubusercontent.com/gexposito943/Exerciciapis/5c4263c/src/app/app.component.ts
gexposito943/Exerciciapis 5c4263c src/app/app.component.ts
true
200
422
import { Component } from '@angular/core'; import { RouterOutlet } from '@angular/router'; import { LlistaRickmortyComponent } from './llista-rickmorty/llista-rickmorty.component'; @Component({ selector: 'app-root', standalone: true, imports: [RouterOutlet,LlistaRickmortyComponent], templateUrl: './app.componen...
1
Kisilov-Vadim/realworld
ba02554
src/modals/Auth/hooks/usAuth.ts
TypeScript
www.github.com/Kisilov-Vadim/realworld/tree/main/src/modals/Auth/hooks/usAuth.ts
https://raw.githubusercontent.com/Kisilov-Vadim/realworld/ba02554/src/modals/Auth/hooks/usAuth.ts
Kisilov-Vadim/realworld ba02554 src/modals/Auth/hooks/usAuth.ts
true
200
1,112
import {useCallback, useState, useEffect} from 'react'; import {Keyboard} from 'react-native'; import {AuthStore} from '../../../store'; import {showErrorModals} from '../../../utils/errors'; import useStore from './useStore'; const useAuth = () => { const {isLoading, user, errors} = useStore(); const onNameCha...
6
dimaslanjaka/bin
463f3fe
lib/utils.d.mts
TypeScript
www.github.com/dimaslanjaka/bin/tree/main/lib/utils.d.mts
https://raw.githubusercontent.com/dimaslanjaka/bin/463f3fe/lib/utils.d.mts
dimaslanjaka/bin 463f3fe lib/utils.d.mts
true
200
457
import * as minimist from 'minimist'; /** * delete file recursive * @param {string} fullPath */ declare function del(fullPath: string): void; /** * glob stream handler * @param {glob.Glob} globStream */ declare function delStream(globStream: glob.Glob): void; declare function getArgs(): minimist.ParsedArgs; /** ...
0
tuslok/shoppingPlaywright
2878c6e
tests/login.spec.ts
TypeScript
www.github.com/tuslok/shoppingPlaywright/tree/main/tests/login.spec.ts
https://raw.githubusercontent.com/tuslok/shoppingPlaywright/2878c6e/tests/login.spec.ts
tuslok/shoppingPlaywright 2878c6e tests/login.spec.ts
true
200
2,060
import { test, expect } from "@playwright/test"; import { LandingPage } from "../pages/landing.page"; import { MyAccountPage } from "../pages/myaccount.page"; import { userLogin } from "../data/userAccess.spec"; test.use({ launchOptions: { slowMo: 1_000, }, }); test.describe("User sign in Generic shop", () =>...
7
qiongxing/my-wyy
8c7bec1
src/app/share/pipes/play-count.pipe.spec.ts
TypeScript
www.github.com/qiongxing/my-wyy/tree/main/src/app/share/pipes/play-count.pipe.spec.ts
https://raw.githubusercontent.com/qiongxing/my-wyy/8c7bec1/src/app/share/pipes/play-count.pipe.spec.ts
qiongxing/my-wyy 8c7bec1 src/app/share/pipes/play-count.pipe.spec.ts
true
200
639
import { PlayCountPipe } from './play-count.pipe'; import { TestBed, inject } from '@angular/core/testing'; fdescribe('PlayCountPipe', () => { beforeEach(() => { TestBed.configureTestingModule({ providers: [PlayCountPipe] }) }) it('create an instance', () => { const pipe = new PlayCountPipe(); ...
6
raphaeltcf/E-commerce
9e55982
src/modules/email/email.service.ts
TypeScript
www.github.com/raphaeltcf/E-commerce/tree/main/src/modules/email/email.service.ts
https://raw.githubusercontent.com/raphaeltcf/E-commerce/9e55982/src/modules/email/email.service.ts
raphaeltcf/E-commerce 9e55982 src/modules/email/email.service.ts
true
200
460
import { Injectable } from '@nestjs/common'; import { CreateEmailDto } from './dto/create-email.dto'; import { MailerService } from '@nestjs-modules/mailer'; @Injectable() export class EmailService { constructor(private mailerService: MailerService) {} async sendMail(data: CreateEmailDto) { await this.mailerS...
4
wassimD28/Fire-Fist
ab966bb
src/app/pages/exercise-index/exercise-index.component.ts
TypeScript
www.github.com/wassimD28/Fire-Fist/tree/main/src/app/pages/exercise-index/exercise-index.component.ts
https://raw.githubusercontent.com/wassimD28/Fire-Fist/ab966bb/src/app/pages/exercise-index/exercise-index.component.ts
wassimD28/Fire-Fist ab966bb src/app/pages/exercise-index/exercise-index.component.ts
true
200
2,150
import { AuthService } from './../../core/services/auth/auth.service'; import { Component, OnInit } from '@angular/core'; import { SideFilterComponent } from '../../shared/components/side-filter/side-filter.component'; import { Exercise } from '../../core/models/interfaces/exercise.interface'; import { ExerciseCategory...
5
IgorBosin/ob
9a518b4
src/shared/api/getKlines.ts
TypeScript
www.github.com/IgorBosin/ob/tree/main/src/shared/api/getKlines.ts
https://raw.githubusercontent.com/IgorBosin/ob/9a518b4/src/shared/api/getKlines.ts
IgorBosin/ob 9a518b4 src/shared/api/getKlines.ts
true
200
1,820
import axios from 'axios' export async function getKline( pair: string, interval: string, startTime: null | number, limit = 1000 ) { const url = `https://fapi.binance.com/fapi/v1/klines?symbol=${pair}USDT&interval=${interval}&limit=${limit}&startTime=${startTime}` const data = await axios.get<BaseResponseT...
0
vinhnt2002/vegy-app
62fb241
lib/actions/payment.ts
TypeScript
www.github.com/vinhnt2002/vegy-app/tree/main/lib/actions/payment.ts
https://raw.githubusercontent.com/vinhnt2002/vegy-app/62fb241/lib/actions/payment.ts
vinhnt2002/vegy-app 62fb241 lib/actions/payment.ts
true
200
3,845
import { appwriteConfig, databases, getCurrentUser } from "../appwrite"; // @ts-ignore import { ID, Query } from "react-native-appwrite"; // Create Payment export async function createPayment( userId: string, amount: number, status: string, slotId: string, method: string ) { try { const payment = awai...
7
Jekarobot/NewTypes
37a2599
src/scripts/movie.ts
TypeScript
www.github.com/Jekarobot/NewTypes/tree/main/src/scripts/movie.ts
https://raw.githubusercontent.com/Jekarobot/NewTypes/37a2599/src/scripts/movie.ts
Jekarobot/NewTypes 37a2599 src/scripts/movie.ts
true
200
1,532
export default class Movie { private title: string; private enTitle: string; private year: number; private country: string; private slogan: string; private genres: string[]; private duration: string | number; private price: number; private id: number; constructor(title: string, ...
1
joaquin9830/PaginaJuniorTechTroopers
4b6ea08
juniortech/src/app/components/carousel/carousel.component.ts
TypeScript
www.github.com/joaquin9830/PaginaJuniorTechTroopers/tree/main/juniortech/src/app/components/carousel/carousel.component.ts
https://raw.githubusercontent.com/joaquin9830/PaginaJuniorTechTroopers/4b6ea08/juniortech/src/app/components/carousel/carousel.component.ts
joaquin9830/PaginaJuniorTechTroopers 4b6ea08 juniortech/src/app/components/carousel/carousel.component.ts
true
200
370
import { Component } from '@angular/core'; import { Router } from '@angular/router'; @Component({ selector: 'app-carousel', templateUrl: './carousel.component.html', styleUrl: './carousel.component.css' }) export class CarouselComponent { constructor(private router:Router){} ngOnInit(){ } chatbot...
3
MAHMOUD5446/DEPI-E-commerce
93f3035
src/app/components/home/Components/home-carousel/home-carousel.component.ts
TypeScript
www.github.com/MAHMOUD5446/DEPI-E-commerce/tree/main/src/app/components/home/Components/home-carousel/home-carousel.component.ts
https://raw.githubusercontent.com/MAHMOUD5446/DEPI-E-commerce/93f3035/src/app/components/home/Components/home-carousel/home-carousel.component.ts
MAHMOUD5446/DEPI-E-commerce 93f3035 src/app/components/home/Components/home-carousel/home-carousel.component.ts
true
200
2,321
import { Component, ElementRef, QueryList, ViewChild, ViewChildren, } from '@angular/core'; import { AllProductsService } from '../../../../services/all-products.service'; import { Router } from '@angular/router'; import { IallProducts } from '../../../../interfaces/interface-all-product'; @Component({ sel...
4
Analist009/teleprompter
1f687f9
src/components/TeleprompterEditor/hooks/useSpeechSynthesis.ts
TypeScript
www.github.com/Analist009/teleprompter/tree/main/src/components/TeleprompterEditor/hooks/useSpeechSynthesis.ts
https://raw.githubusercontent.com/Analist009/teleprompter/1f687f9/src/components/TeleprompterEditor/hooks/useSpeechSynthesis.ts
Analist009/teleprompter 1f687f9 src/components/TeleprompterEditor/hooks/useSpeechSynthesis.ts
true
200
1,091
import { useState, useCallback } from 'react'; interface UseSpeechSynthesisProps { language?: string; } export const useSpeechSynthesis = ({ language = 'he-IL' }: UseSpeechSynthesisProps) => { const [isSpeaking, setIsSpeaking] = useState(false); const [error, setError] = useState<string | null>(null); const ...
6
tiagoabarros/api-rest-nodejs-typescript
f2baf5c
src/server/controllers/people/UpdateById.ts
TypeScript
www.github.com/tiagoabarros/api-rest-nodejs-typescript/tree/main/src/server/controllers/people/UpdateById.ts
https://raw.githubusercontent.com/tiagoabarros/api-rest-nodejs-typescript/f2baf5c/src/server/controllers/people/UpdateById.ts
tiagoabarros/api-rest-nodejs-typescript f2baf5c src/server/controllers/people/UpdateById.ts
true
200
1,372
import { Request, Response } from "express"; import { StatusCodes } from "http-status-codes"; import * as yup from "yup"; import { IPerson } from "../../database/models"; import { validation } from "../../shared/middleware"; import { PeopleProvider } from "../../database/providers/People"; interface IParamsProps { ...
2
ponty96/salesreg-mobile
742574b
src/Functions/timeoutLink.ts
TypeScript
www.github.com/ponty96/salesreg-mobile/tree/main/src/Functions/timeoutLink.ts
https://raw.githubusercontent.com/ponty96/salesreg-mobile/742574b/src/Functions/timeoutLink.ts
ponty96/salesreg-mobile 742574b src/Functions/timeoutLink.ts
true
200
3,488
import { ApolloLink, Observable, Operation, NextLink } from 'apollo-link' import { DefinitionNode } from 'graphql' import { NotificationBanner } from '../Components/NotificationBanner' import configureNotificationBanner from './configureNotificationBanner' const DEFAULT_TIMEOUT: number = 15000 /** * Aborts the reque...
5
CookingAtKIT/cak-webapp
27d569a
src/app/pages/homescreen/homescreen.module.ts
TypeScript
www.github.com/CookingAtKIT/cak-webapp/tree/main/src/app/pages/homescreen/homescreen.module.ts
https://raw.githubusercontent.com/CookingAtKIT/cak-webapp/27d569a/src/app/pages/homescreen/homescreen.module.ts
CookingAtKIT/cak-webapp 27d569a src/app/pages/homescreen/homescreen.module.ts
true
200
598
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { IonicModule } from '@ionic/angular'; import { HomescreenPageRoutingModule } from './homescreen-routing.module'; import { HomescreenPage } from './homescreen.page'; import {...
7
yyc-git/3DProgramPattern
d8175ea
管道模式代码/story_after/src/Engine.ts
TypeScript
www.github.com/yyc-git/3DProgramPattern/tree/main/管道模式代码/story_after/src/Engine.ts
https://raw.githubusercontent.com/yyc-git/3DProgramPattern/d8175ea/%E7%AE%A1%E9%81%93%E6%A8%A1%E5%BC%8F%E4%BB%A3%E7%A0%81/story_after/src/Engine.ts
yyc-git/3DProgramPattern d8175ea 管道模式代码/story_after/src/Engine.ts
true
200
812
import { state } from "./EngineStateType" import * as EngineInPC from "./EngineInPC" import * as EngineInMobile from "./EngineInMobile" let _isPC = () => { return globalThis.isPC } export let createState = (): state => { return { engineInPC: { gl: null }, engineInMobile: { ...
1
seano424/portfolio-re-design
c5a968a
sanity/schemaTypes/code.ts
TypeScript
www.github.com/seano424/portfolio-re-design/tree/main/sanity/schemaTypes/code.ts
https://raw.githubusercontent.com/seano424/portfolio-re-design/c5a968a/sanity/schemaTypes/code.ts
seano424/portfolio-re-design c5a968a sanity/schemaTypes/code.ts
true
200
641
export const code = { name: 'code', title: 'Code', type: 'object', fields: [ { name: 'filename', title: 'Filename', type: 'string', }, { name: 'language', title: 'Language', type: 'string', options: { list: [ { title: 'JavaScript', value: 'javascript' }, { title: 'TypeScript...
3
LloydMariano/GCShelf
b09c1bf
src/app/public/request-history/request-history.component.ts
TypeScript
www.github.com/LloydMariano/GCShelf/tree/main/src/app/public/request-history/request-history.component.ts
https://raw.githubusercontent.com/LloydMariano/GCShelf/b09c1bf/src/app/public/request-history/request-history.component.ts
LloydMariano/GCShelf b09c1bf src/app/public/request-history/request-history.component.ts
true
200
633
import { Component, OnInit } from '@angular/core'; import { DataService } from 'src/app/Services/data.service'; import { Router } from '@angular/router'; @Component({ selector: 'app-request-history', templateUrl: './request-history.component.html', styleUrls: ['./request-history.component.scss'] }) export class ...
4
akashchauhan99/ecommerce-assignment
cf3b767
src/schema/product.ts
TypeScript
www.github.com/akashchauhan99/ecommerce-assignment/tree/main/src/schema/product.ts
https://raw.githubusercontent.com/akashchauhan99/ecommerce-assignment/cf3b767/src/schema/product.ts
akashchauhan99/ecommerce-assignment cf3b767 src/schema/product.ts
true
200
1,535
import { boolean, number, object, string, TypeOf, union } from 'zod'; import { COMMON_STATUS, SORT_VALUES } from '../constant/common'; export const createProductSchema = object({ body: object({ name: string({ required_error: 'Name is required' }), description: string({ required_error: 'Description is require...
6
Vuckosm91/issue-tracker
233699c
app/validationSchemas.ts
TypeScript
www.github.com/Vuckosm91/issue-tracker/tree/main/app/validationSchemas.ts
https://raw.githubusercontent.com/Vuckosm91/issue-tracker/233699c/app/validationSchemas.ts
Vuckosm91/issue-tracker 233699c app/validationSchemas.ts
true
200
518
import { z } from "zod"; export const issueSchema = z.object({ title: z.string().min(1, "Title is required").max(255), description: z.string().min(1, "Description is required").max(65535), }); export const patchIssueSchema = z.object({ title: z.string().min(1, "Title is required").max(255).optional(),...
2
auquocthien/angular_firstproject
e399a57
src/app/components/blackjack/component/row/row.component.ts
TypeScript
www.github.com/auquocthien/angular_firstproject/tree/main/src/app/components/blackjack/component/row/row.component.ts
https://raw.githubusercontent.com/auquocthien/angular_firstproject/e399a57/src/app/components/blackjack/component/row/row.component.ts
auquocthien/angular_firstproject e399a57 src/app/components/blackjack/component/row/row.component.ts
true
200
2,861
import { AfterViewInit, Component, ElementRef, EventEmitter, Input, OnChanges, OnInit, Output, QueryList, Renderer2, SimpleChanges, ViewChild, ViewChildren, } from '@angular/core'; import { Player, PlayerScorePerRound, Result } from '../../model/player.model'; import { faSync } from '@fortawes...
0
MatthiasWanner/nest_gql-scrum_poker_server
0d2f6e5
src/app.resolver.ts
TypeScript
www.github.com/MatthiasWanner/nest_gql-scrum_poker_server/tree/main/src/app.resolver.ts
https://raw.githubusercontent.com/MatthiasWanner/nest_gql-scrum_poker_server/0d2f6e5/src/app.resolver.ts
MatthiasWanner/nest_gql-scrum_poker_server 0d2f6e5 src/app.resolver.ts
true
200
324
import { Query, Resolver } from '@nestjs/graphql'; import { AppService } from './app.service'; import { Message } from './models/app.models'; @Resolver('App') export class AppResolver { constructor(private appService: AppService) {} @Query(() => Message) async hello() { return this.appService.getHello(); ...
5
lifinance/sdk
8112c88
src/services/balance.ts
TypeScript
www.github.com/lifinance/sdk/tree/main/src/services/balance.ts
https://raw.githubusercontent.com/lifinance/sdk/8112c88/src/services/balance.ts
lifinance/sdk 8112c88 src/services/balance.ts
true
200
3,696
import { ChainType, type Token, type TokenAmount } from '@lifi/types' import { config } from '../config.js' import { ValidationError } from '../errors/errors.js' import { isToken } from '../typeguards.js' /** * Returns the balances of a specific token a wallet holds across all aggregated chains. * @param walletAddre...
7
vtp1201/sunbrightvn_nest
19a9ac7
src/databases/prisma/models/ActionStepType.ts
TypeScript
www.github.com/vtp1201/sunbrightvn_nest/tree/main/src/databases/prisma/models/ActionStepType.ts
https://raw.githubusercontent.com/vtp1201/sunbrightvn_nest/19a9ac7/src/databases/prisma/models/ActionStepType.ts
vtp1201/sunbrightvn_nest 19a9ac7 src/databases/prisma/models/ActionStepType.ts
true
200
1,901
import { createModel } from 'schemix'; import { createdTime, deleted, oneToMany, updatedTime } from '../mixins'; import { MODEL_NAME, RAW_STRING, TABLE_NAME } from '../utils'; import { ATTRIBUTE, COLUMN, RELATION } from '../utils/enums/ActionStepType'; import { actionProcessStep, historyLogCDC, notificationTemplate } ...
1
wcardosos/limpsys
b415641
api/tests/domain/customers/mappers/customer.spec.ts
TypeScript
www.github.com/wcardosos/limpsys/tree/main/api/tests/domain/customers/mappers/customer.spec.ts
https://raw.githubusercontent.com/wcardosos/limpsys/b415641/api/tests/domain/customers/mappers/customer.spec.ts
wcardosos/limpsys b415641 api/tests/domain/customers/mappers/customer.spec.ts
true
200
887
import { CustomerMapper } from '@/domain/customers/mappers/customer' import { makeCustomer } from 'tests/utils/factories/entities/make-customer' describe('Mapper: Customer', () => { const customerMock = makeCustomer() const customerAsObject = { id: customerMock.id.value, name: customerMock.name, email:...
6
nkitsaini/focus_timer
f8b2433
src/lib/shortcut.ts
TypeScript
www.github.com/nkitsaini/focus_timer/tree/main/src/lib/shortcut.ts
https://raw.githubusercontent.com/nkitsaini/focus_timer/f8b2433/src/lib/shortcut.ts
nkitsaini/focus_timer f8b2433 src/lib/shortcut.ts
true
200
991
// from: https://svelte.dev/repl/acd92c9726634ec7b3d8f5f759824d15?version=4.2.10 export const shortcut = <T extends HTMLElement>(node: T, params: {control?:boolean, alt?: boolean, shift?: boolean, code: KeyboardEvent['code'], callback?: (node: T) => void}) => { let handler: any; const removeHandler = () => wind...
4
Karlito8888/Ate-leslie-project
9bf35c7
frontend/src/store/api/eventApi.ts
TypeScript
www.github.com/Karlito8888/Ate-leslie-project/tree/main/frontend/src/store/api/eventApi.ts
https://raw.githubusercontent.com/Karlito8888/Ate-leslie-project/9bf35c7/frontend/src/store/api/eventApi.ts
Karlito8888/Ate-leslie-project 9bf35c7 frontend/src/store/api/eventApi.ts
true
200
1,575
import { BaseEntity, createExtendedApi } from './baseApi'; interface Event extends BaseEntity { title: string; description: string; date: string; location: string; image?: string; capacity: number; price: number; category: string; createdBy: string; } interface EventRequest { title: string; desc...
2
ailton-fortes/myAcademy
c5700e5
src/app/features/community/community.component.ts
TypeScript
www.github.com/ailton-fortes/myAcademy/tree/main/src/app/features/community/community.component.ts
https://raw.githubusercontent.com/ailton-fortes/myAcademy/c5700e5/src/app/features/community/community.component.ts
ailton-fortes/myAcademy c5700e5 src/app/features/community/community.component.ts
true
200
8,808
import { Component, OnInit } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { PostService } from '../../core/services/post.service'; import { AuthService } from '../../core/services/auth.service'; import { Post } from '../../core/models/post.mo...
5
mmasser95/spoti-hi-fi
9539da2
src/APIService/library.ts
TypeScript
www.github.com/mmasser95/spoti-hi-fi/tree/main/src/APIService/library.ts
https://raw.githubusercontent.com/mmasser95/spoti-hi-fi/9539da2/src/APIService/library.ts
mmasser95/spoti-hi-fi 9539da2 src/APIService/library.ts
true
200
2,336
import { useAuth } from "@/store/useAuth"; import { storeToRefs } from "pinia"; import { Ref } from "vue"; import { getAuthHeaders } from "./utils"; import { Library as LibraryType } from "@/types/Library"; import { LibraryRepository } from "./core/LibraryRepository"; export default class Library implements LibraryRep...
0
dendifan/donepin-express-backend
d6722a8
src/environments/env.ts
TypeScript
www.github.com/dendifan/donepin-express-backend/tree/main/src/environments/env.ts
https://raw.githubusercontent.com/dendifan/donepin-express-backend/d6722a8/src/environments/env.ts
dendifan/donepin-express-backend d6722a8 src/environments/env.ts
true
200
354
import {ProdEnviornment} from "./prod.env"; import {DevEnviornment} from "./dev.env"; export interface Enviornment { db_url:string; jwt_secret_key: string; } export function getEnvironment() { if(process.env.NODE_ENV === 'production') { return ProdEnviornment; } else { r...
7
antonabaltusov/middle.messenger.praktikum.yandex
d2667ab
src/utils/Block.ts
TypeScript
www.github.com/antonabaltusov/middle.messenger.praktikum.yandex/tree/main/src/utils/Block.ts
https://raw.githubusercontent.com/antonabaltusov/middle.messenger.praktikum.yandex/d2667ab/src/utils/Block.ts
antonabaltusov/middle.messenger.praktikum.yandex d2667ab src/utils/Block.ts
true
200
6,170
import EventBus from './EventBus'; import { nanoid } from 'nanoid'; import Handlebars from 'handlebars'; import deepEqual from '../helpers/deepEqual'; // eslint-disable-next-line no-use-before-define type Events = Values<typeof Block.EVENTS>; export class Block<P extends Record<string, any>> { static EVENTS = { ...
3
GabrielFontenele/DictionaryApi
67d0b6e
src/modules/words/repositories/IWordsRepository.ts
TypeScript
www.github.com/GabrielFontenele/DictionaryApi/tree/main/src/modules/words/repositories/IWordsRepository.ts
https://raw.githubusercontent.com/GabrielFontenele/DictionaryApi/67d0b6e/src/modules/words/repositories/IWordsRepository.ts
GabrielFontenele/DictionaryApi 67d0b6e src/modules/words/repositories/IWordsRepository.ts
true
200
1,239
import { Favorite, History, Word } from "@prisma/client"; import { ICreateHistoryDTO } from "../dtos/ICreateHistoryDTO"; import { ICreateWordDTO } from "../dtos/ICreateWordDTO"; import { IFindDTO } from "../dtos/IFindDTO"; import { ISearchDTO } from "../dtos/ISearchTDO"; export interface IWordsRepository { createMa...
1
eeshalteluri/checkche
66858cf
models/User.ts
TypeScript
www.github.com/eeshalteluri/checkche/tree/main/models/User.ts
https://raw.githubusercontent.com/eeshalteluri/checkche/66858cf/models/User.ts
eeshalteluri/checkche 66858cf models/User.ts
true
200
863
import mongoose, { Schema, Document } from "mongoose"; import UserType from "@/types/user"; const UserSchema = new mongoose.Schema<UserType>({ name: { type: String, required: true }, // Name is required email: { type: String, required: true, unique: true }, // Email is required and must be unique image: { type: ...
6
sabasm/fullstack_mvp
c95e752
backend/src/authz/authz.module.ts
TypeScript
www.github.com/sabasm/fullstack_mvp/tree/main/backend/src/authz/authz.module.ts
https://raw.githubusercontent.com/sabasm/fullstack_mvp/c95e752/backend/src/authz/authz.module.ts
sabasm/fullstack_mvp c95e752 backend/src/authz/authz.module.ts
true
200
518
import { Module } from '@nestjs/common'; import { AuthzController } from './controllers/authz.controller'; import { AuthzService } from './services/authz.service'; import { UserModule } from 'src/user/user.module'; import { JwtStrategy } from './strategies/jwt.strategy'; import { PassportModule } from '@nestjs/passport...
4
kurkul608/argentina-remote-workers-app
7e36f8a
backend-nestjs/src/users/user.module.ts
TypeScript
www.github.com/kurkul608/argentina-remote-workers-app/tree/main/backend-nestjs/src/users/user.module.ts
https://raw.githubusercontent.com/kurkul608/argentina-remote-workers-app/7e36f8a/backend-nestjs/src/users/user.module.ts
kurkul608/argentina-remote-workers-app 7e36f8a backend-nestjs/src/users/user.module.ts
true
200
467
import { forwardRef, Module } from '@nestjs/common'; import { UserService } from './user.service'; import { MongooseModule } from '@nestjs/mongoose'; import { User, UserSchema } from './user.schema'; import { BotModule } from '../bot/bot.module'; @Module({ imports: [ MongooseModule.forFeature([{ name: User.name,...
2