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
Mitsunee/flyffu-api-playground
d9f674d
src/utils/get-item-data.ts
TypeScript
www.github.com/Mitsunee/flyffu-api-playground/tree/main/src/utils/get-item-data.ts
https://raw.githubusercontent.com/Mitsunee/flyffu-api-playground/d9f674d/src/utils/get-item-data.ts
Mitsunee/flyffu-api-playground d9f674d src/utils/get-item-data.ts
true
200
1,074
import { isFile, readFile, writeFile } from "@foxkit/node-util/fs"; import { API, PATHS } from "~/paths"; const cache = new Map<number, ItemData>(); /** * Fetches item data, either from cache or API * @param id Item ID * @returns Data of Item */ export async function getItemData(id: number): Promise<ItemData> { ...
5
Crei03/ProyectoDS5
bc9d20d
src/pages/api/CreateUsser.ts
TypeScript
www.github.com/Crei03/ProyectoDS5/tree/main/src/pages/api/CreateUsser.ts
https://raw.githubusercontent.com/Crei03/ProyectoDS5/bc9d20d/src/pages/api/CreateUsser.ts
Crei03/ProyectoDS5 bc9d20d src/pages/api/CreateUsser.ts
true
200
2,345
import type { APIRoute } from "astro"; import { supabase } from "../../lib/database"; import { hashPassword } from "../../lib/HPassword"; export const POST: APIRoute = async ({ request, redirect }) => { try { // Obtener los datos del formulario const formData = await request.formData(); // Extraer los v...
6
lillithkt/ccmanager
378d530
src/app.d.ts
TypeScript
www.github.com/lillithkt/ccmanager/tree/main/src/app.d.ts
https://raw.githubusercontent.com/lillithkt/ccmanager/378d530/src/app.d.ts
lillithkt/ccmanager 378d530 src/app.d.ts
true
200
450
// See https://kit.svelte.dev/docs/types#app import type { Node } from '$lib/server/client/node'; import type { ExtendedWebSocketServer } from '$lib/server/websocket/server'; // for information about these interfaces declare global { namespace App { // interface Error {} interface Locals { wss: ExtendedWebSoc...
2
pablo-cg/rut-random-ts
877df19
src/utils/useRutUtils.ts
TypeScript
www.github.com/pablo-cg/rut-random-ts/tree/main/src/utils/useRutUtils.ts
https://raw.githubusercontent.com/pablo-cg/rut-random-ts/877df19/src/utils/useRutUtils.ts
pablo-cg/rut-random-ts 877df19 src/utils/useRutUtils.ts
true
200
979
import { useOptionsStore } from '@/stores/options' import { validate, format } from '@fiquu/cl-rut' import { storeToRefs } from 'pinia' export const useRutUtils = () => { const optionsStore = useOptionsStore() const { maxRut, minRut } = storeToRefs(optionsStore) function getRandomNumber(min: number, max: number...
1
xompass/web-sdk
0688044
src/models/sensorTypes/MultiZoneObjectTracking/MultiZoneObjectTrackingFeedback.ts
TypeScript
www.github.com/xompass/web-sdk/tree/main/src/models/sensorTypes/MultiZoneObjectTracking/MultiZoneObjectTrackingFeedback.ts
https://raw.githubusercontent.com/xompass/web-sdk/0688044/src/models/sensorTypes/MultiZoneObjectTracking/MultiZoneObjectTrackingFeedback.ts
xompass/web-sdk 0688044 src/models/sensorTypes/MultiZoneObjectTracking/MultiZoneObjectTrackingFeedback.ts
true
200
822
import { YoloClassLabel } from '../YoloClassLabel'; export type MultiZoneObjectTrackingFeedback = { files?: { sequence?: { container?: string; name?: string; type?: 'image/jpg' | 'image/jpeg' | 'image/png'; field?: string; originalFilename?: string; meta?: Record<string, any>;...
4
techpacsend/pacsend
9a53416
src/app/frontend/loader/loader.service.ts
TypeScript
www.github.com/techpacsend/pacsend/tree/main/src/app/frontend/loader/loader.service.ts
https://raw.githubusercontent.com/techpacsend/pacsend/9a53416/src/app/frontend/loader/loader.service.ts
techpacsend/pacsend 9a53416 src/app/frontend/loader/loader.service.ts
true
200
1,020
import { Injectable } from '@angular/core'; import {map, catchError } from 'rxjs/operators' @Injectable({ providedIn: 'root' }) export class LoaderService { private static loaderEnabled: boolean; constructor() { } get loaderEnabled() { return LoaderService.loaderEnabled; } public static showLoader()...
6
JustJavaConsultancy/maestro-core-banking
0fd62c2
src/test/javascript/e2e/entities/approval-workflow/approval-workflow-update.page-object.ts
TypeScript
www.github.com/JustJavaConsultancy/maestro-core-banking/tree/main/src/test/javascript/e2e/entities/approval-workflow/approval-workflow-update.page-object.ts
https://raw.githubusercontent.com/JustJavaConsultancy/maestro-core-banking/0fd62c2/src/test/javascript/e2e/entities/approval-workflow/approval-workflow-update.page-object.ts
JustJavaConsultancy/maestro-core-banking 0fd62c2 src/test/javascript/e2e/entities/approval-workflow/approval-workflow-update.page-object.ts
true
200
2,833
import { element, by, ElementFinder } from 'protractor'; import { waitUntilDisplayed, waitUntilHidden, isVisible } from '../../util/utils'; const expect = chai.expect; export default class ApprovalWorkflowUpdatePage { pageTitle: ElementFinder = element(by.id('apiGatewayApp.approvalWorkflow.home.createOrEditLabel'))...
3
jbenavv-prog/sagrilaft-front
2475b9d
src/app/Sagrilaft/components/money-laundering/money-laundering.component.ts
TypeScript
www.github.com/jbenavv-prog/sagrilaft-front/tree/main/src/app/Sagrilaft/components/money-laundering/money-laundering.component.ts
https://raw.githubusercontent.com/jbenavv-prog/sagrilaft-front/2475b9d/src/app/Sagrilaft/components/money-laundering/money-laundering.component.ts
jbenavv-prog/sagrilaft-front 2475b9d src/app/Sagrilaft/components/money-laundering/money-laundering.component.ts
true
200
3,710
import { Component, Input, OnInit } from '@angular/core'; import { FormBuilder, FormControl, Validators } from '@angular/forms'; import { SagrilaftService } from 'src/app/service/sagrilaft.service'; import jwt_decode from 'jwt-decode'; import swal from 'sweetalert'; import { GeneralStatusService } from 'src/app/service...
5
ganeshkrishna98/TechnicalTest
a58eb42
src/app/features/document/document.component.ts
TypeScript
www.github.com/ganeshkrishna98/TechnicalTest/tree/main/src/app/features/document/document.component.ts
https://raw.githubusercontent.com/ganeshkrishna98/TechnicalTest/a58eb42/src/app/features/document/document.component.ts
ganeshkrishna98/TechnicalTest a58eb42 src/app/features/document/document.component.ts
true
200
3,525
import { ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { SharedService } from 'app/services/shared/shared.service'; import { DocumentService } from 'app/services/documents/document.service'; import { FormControl, FormGroup } from '@angular/forms'; import { take } from 'rxjs'; import { HTTP_RESPONS...
1
Tablada29/DentalApp
b5f846b
FrontEnd/src/app/paginas/admin/usuarios/detalle-usuario-admin/detalle-usuario-admin.module.ts
TypeScript
www.github.com/Tablada29/DentalApp/tree/main/FrontEnd/src/app/paginas/admin/usuarios/detalle-usuario-admin/detalle-usuario-admin.module.ts
https://raw.githubusercontent.com/Tablada29/DentalApp/b5f846b/FrontEnd/src/app/paginas/admin/usuarios/detalle-usuario-admin/detalle-usuario-admin.module.ts
Tablada29/DentalApp b5f846b FrontEnd/src/app/paginas/admin/usuarios/detalle-usuario-admin/detalle-usuario-admin.module.ts
true
200
666
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { IonicModule } from '@ionic/angular'; import { DetalleUsuarioAdminPageRoutingModule } from './detalle-usuario-admin-routing.module'; import { DetalleUsuarioAdminPage } from ...
2
SUW-Tech/Blank
0a4438e
shared/icons/src/meta/icons.ts
TypeScript
www.github.com/SUW-Tech/Blank/tree/main/shared/icons/src/meta/icons.ts
https://raw.githubusercontent.com/SUW-Tech/Blank/0a4438e/shared/icons/src/meta/icons.ts
SUW-Tech/Blank 0a4438e shared/icons/src/meta/icons.ts
true
200
1,225
import { type IconSetOptions, optionsSvgToJson } from '@/tools/svgToJson' const options: IconSetOptions[] = [ { sourceDir: './assets/payment', targetFile: './json/payment.json', prefix: 'payment', iconSetInfo: { name: 'Payment', author: { name...
0
askscl/Geeker-admin
a5bb59a
src/views/tsLearn/学习/infer用法.ts
TypeScript
www.github.com/askscl/Geeker-admin/tree/main/src/views/tsLearn/学习/infer用法.ts
https://raw.githubusercontent.com/askscl/Geeker-admin/a5bb59a/src/views/tsLearn/%E5%AD%A6%E4%B9%A0/infer%E7%94%A8%E6%B3%95.ts
askscl/Geeker-admin a5bb59a src/views/tsLearn/学习/infer用法.ts
true
200
1,897
/* infer 就是推导泛型参数(动态类型) infer 声明只能出现在extends子语句中 infer 后面跟一个变量名 infer协变 infer逆变 infer提取【头部、尾部】元素 infer删除【第一个,最后一个】元素 infer递归 */ // 获取promise返回的参数 interface User2 { name: string; age: number } type PromiseType2 = Promise<User>; type PromiseType3 = Promise<Promise<Promise<Use...
7
lucasedfc/nest-js-course-fh
a0f39bb
pokedex/src/pokemon/pokemon.service.ts
TypeScript
www.github.com/lucasedfc/nest-js-course-fh/tree/main/pokedex/src/pokemon/pokemon.service.ts
https://raw.githubusercontent.com/lucasedfc/nest-js-course-fh/a0f39bb/pokedex/src/pokemon/pokemon.service.ts
lucasedfc/nest-js-course-fh a0f39bb pokedex/src/pokemon/pokemon.service.ts
true
200
3,246
import { BadRequestException, Injectable, InternalServerErrorException, NotFoundException, } from '@nestjs/common'; import { CreatePokemonDto } from './dto/create-pokemon.dto'; import { UpdatePokemonDto } from './dto/update-pokemon.dto'; import { Model, isValidObjectId } from 'mongoose'; import { Pokemon } from...
6
samaraza/developpement-gestion-front
84060fe
src/app/app-routing.module.ts
TypeScript
www.github.com/samaraza/developpement-gestion-front/tree/main/src/app/app-routing.module.ts
https://raw.githubusercontent.com/samaraza/developpement-gestion-front/84060fe/src/app/app-routing.module.ts
samaraza/developpement-gestion-front 84060fe src/app/app-routing.module.ts
true
200
3,958
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { ProfileComponent } from './profile/profile.component'; import { LoginComponent } from './login/login.component'; import { HomeComponent } from './home/home.component'; import { BodyComponent } from './body/body.co...
3
Tim16-J-N/pki-bsep-tim16
826b1d5
Frontend/src/app/component/add-subject/add-subject.component.ts
TypeScript
www.github.com/Tim16-J-N/pki-bsep-tim16/tree/main/Frontend/src/app/component/add-subject/add-subject.component.ts
https://raw.githubusercontent.com/Tim16-J-N/pki-bsep-tim16/826b1d5/Frontend/src/app/component/add-subject/add-subject.component.ts
Tim16-J-N/pki-bsep-tim16 826b1d5 Frontend/src/app/component/add-subject/add-subject.component.ts
true
200
3,337
import { HttpErrorResponse } from '@angular/common/http'; import { SubjectService } from './../../service/subject.service'; import { Entity } from 'src/app/model/entity'; import { Component, OnInit } from '@angular/core'; import { ToastrService } from 'ngx-toastr'; import { MatDialogRef } from '@angular/material/dialog...
5
GuiPiangers/quiro-malu-backend
7490fbf
src/core/shared/observers/NotificationObserver/NotificationObserver.ts
TypeScript
www.github.com/GuiPiangers/quiro-malu-backend/tree/main/src/core/shared/observers/NotificationObserver/NotificationObserver.ts
https://raw.githubusercontent.com/GuiPiangers/quiro-malu-backend/7490fbf/src/core/shared/observers/NotificationObserver/NotificationObserver.ts
GuiPiangers/quiro-malu-backend 7490fbf src/core/shared/observers/NotificationObserver/NotificationObserver.ts
true
200
927
import { Notification } from "../../../notification/models/Notification"; export type NotificationObserverEvent = (data: { notification?: Notification; totalNotRead: number; }) => Promise<void>; class NotificationObserver { private observers: Map<string, NotificationObserverEvent> = new Map(); addObserver(us...
4
soyma20/crud_in_localStorage
efe69bb
src/app/app-routing.module.ts
TypeScript
www.github.com/soyma20/crud_in_localStorage/tree/main/src/app/app-routing.module.ts
https://raw.githubusercontent.com/soyma20/crud_in_localStorage/efe69bb/src/app/app-routing.module.ts
soyma20/crud_in_localStorage efe69bb src/app/app-routing.module.ts
true
200
709
import {NgModule} from '@angular/core'; import {CommonModule} from '@angular/common'; import {RouterModule, Routes} from "@angular/router"; import {MainLayoutComponent} from "./layouts/main-layout/main-layout.component"; const routes: Routes = [{ path: '', component: MainLayoutComponent, children: [ {path: '', ...
1
SamGCM/front-rde
1812c1f
src/hooks/filterData.ts
TypeScript
www.github.com/SamGCM/front-rde/tree/main/src/hooks/filterData.ts
https://raw.githubusercontent.com/SamGCM/front-rde/1812c1f/src/hooks/filterData.ts
SamGCM/front-rde 1812c1f src/hooks/filterData.ts
true
200
505
import { getBlock } from "../services/getBlock" import { TRegister } from "../types/register" type TResult = { "@odata.context": string, value: TRegister[] } export const filterData = async ( params: TRegister ):Promise<{ block: TResult, isError: boolean, isLoading: boolean }> => { cons...
2
Jonied-mirza-shakib/university-management-auth-service
a2020a5
src/shared/catchAsync.ts
TypeScript
www.github.com/Jonied-mirza-shakib/university-management-auth-service/tree/main/src/shared/catchAsync.ts
https://raw.githubusercontent.com/Jonied-mirza-shakib/university-management-auth-service/a2020a5/src/shared/catchAsync.ts
Jonied-mirza-shakib/university-management-auth-service a2020a5 src/shared/catchAsync.ts
true
200
318
import { Request,Response,NextFunction, RequestHandler } from 'express'; const catchAsync=(fn:RequestHandler)=>{ return async (req:Request,res:Response,next:NextFunction)=>{ try{ await fn(req,res,next); }catch(error){ next(error) } } } export default catchAsync;
0
projeto-qrious/authentication-microservice
7d2ad9b
src/auth/auth.service.ts
TypeScript
www.github.com/projeto-qrious/authentication-microservice/tree/main/src/auth/auth.service.ts
https://raw.githubusercontent.com/projeto-qrious/authentication-microservice/7d2ad9b/src/auth/auth.service.ts
projeto-qrious/authentication-microservice 7d2ad9b src/auth/auth.service.ts
true
200
1,993
import { BadRequestException, Injectable, UnauthorizedException, } from '@nestjs/common'; import { FirebaseService } from '../auth/firebase/firebase.service'; import { CreateUserDto } from './dto/create-user.dto'; import { LoginUserDto } from './dto/login-user.dto'; import * as admin from 'firebase-admin'; import...
7
luislong0/05-fast-feet-api
b61f195
src/infra/http/controllers/create-package.controller.ts
TypeScript
www.github.com/luislong0/05-fast-feet-api/tree/main/src/infra/http/controllers/create-package.controller.ts
https://raw.githubusercontent.com/luislong0/05-fast-feet-api/b61f195/src/infra/http/controllers/create-package.controller.ts
luislong0/05-fast-feet-api b61f195 src/infra/http/controllers/create-package.controller.ts
true
200
1,594
/* eslint-disable @typescript-eslint/no-non-null-assertion */ import { BadRequestException, Body, Controller, HttpCode, Post, UseGuards, UsePipes, } from '@nestjs/common' import { z } from 'zod' import { ZodValidationPipe } from '@/infra/http/pipes/zod-validation-pipe' import { CreatePackageUseCase } from...
3
brisolarag/app-imBroke
c2766f1
src/app/sections/main/home/history/history.component.ts
TypeScript
www.github.com/brisolarag/app-imBroke/tree/main/src/app/sections/main/home/history/history.component.ts
https://raw.githubusercontent.com/brisolarag/app-imBroke/c2766f1/src/app/sections/main/home/history/history.component.ts
brisolarag/app-imBroke c2766f1 src/app/sections/main/home/history/history.component.ts
true
200
1,702
import { Component } from '@angular/core'; import { TransactionItem } from '../../../../../models/transaction-item'; import { ItemComponent } from '../../../../components/transactions/item/item.component'; @Component({ selector: 'app-history', standalone: true, imports: [ItemComponent], templateUrl: './history...
6
asmacharfeddine/Frontend-PFE-Master
409d2a0
src/app/staff/people/patient-care-folder-page/form/medicationPart.model.ts
TypeScript
www.github.com/asmacharfeddine/Frontend-PFE-Master/tree/main/src/app/staff/people/patient-care-folder-page/form/medicationPart.model.ts
https://raw.githubusercontent.com/asmacharfeddine/Frontend-PFE-Master/409d2a0/src/app/staff/people/patient-care-folder-page/form/medicationPart.model.ts
asmacharfeddine/Frontend-PFE-Master 409d2a0 src/app/staff/people/patient-care-folder-page/form/medicationPart.model.ts
true
200
686
import { Medication } from "app/admin/medications/medications-list/medication.model"; import { Prescription } from "app/staff/prescription/prescription.model"; import { DayTakes } from "../day-takes/dayTakes.model"; import { Status } from "app/staff/prescription/status.model"; export class MedicationPart { medication...
5
wesleybordelon/jessfielder-photography
86f2707
server.ts
TypeScript
www.github.com/wesleybordelon/jessfielder-photography/tree/main/server.ts
https://raw.githubusercontent.com/wesleybordelon/jessfielder-photography/86f2707/server.ts
wesleybordelon/jessfielder-photography 86f2707 server.ts
true
200
3,730
import { APP_BASE_HREF } from '@angular/common'; import { CommonEngine } from '@angular/ssr'; import express from 'express'; import { fileURLToPath } from 'node:url'; import { dirname, join, resolve } from 'node:path'; import bootstrap from './src/main.server'; //import { MongoClient, ServerApiVersion } from 'mongodb';...
4
kkanakaprasad/olt-api-nest-
54c1680
src/category/category.module.ts
TypeScript
www.github.com/kkanakaprasad/olt-api-nest-/tree/main/src/category/category.module.ts
https://raw.githubusercontent.com/kkanakaprasad/olt-api-nest-/54c1680/src/category/category.module.ts
kkanakaprasad/olt-api-nest- 54c1680 src/category/category.module.ts
true
200
472
import { Module } from '@nestjs/common'; import { MongooseModule } from '@nestjs/mongoose'; import { MODEL_ENUMS } from 'src/shared/enums/models.enums'; import { CategorySchema } from './category.schema'; import { CategoryService } from './category.service'; @Module({ imports: [MongooseModule.forFeature([{ name: M...
2
robcronin/Advent-of-Code-2022
bcf93cd
src/utils/__tests__/grid.test.ts
TypeScript
www.github.com/robcronin/Advent-of-Code-2022/tree/main/src/utils/__tests__/grid.test.ts
https://raw.githubusercontent.com/robcronin/Advent-of-Code-2022/bcf93cd/src/utils/__tests__/grid.test.ts
robcronin/Advent-of-Code-2022 bcf93cd src/utils/__tests__/grid.test.ts
true
200
6,341
import { countValueInGrid, deepCopyGrid, genNewGrid, getNeighbourCoords, isCoordValid, printGrid, reversePrintGrid, runFnOnGrid, } from '../grid'; describe('genNewGrid', () => { it('should generate a new grid', () => { expect(genNewGrid({ numRows: 2, numCols: 3, defaultValue: 0 })).toEqual({ ...
0
jur5806/jt-design-fullStackProject
69f4e9b
mock/user.ts
TypeScript
www.github.com/jur5806/jt-design-fullStackProject/tree/main/mock/user.ts
https://raw.githubusercontent.com/jur5806/jt-design-fullStackProject/69f4e9b/mock/user.ts
jur5806/jt-design-fullStackProject 69f4e9b mock/user.ts
true
200
4,692
/* * @Author: jt 2602818429@qq.com * @Date: 2023-12-19 16:20:55 * @LastEditors: jt 2602818429@qq.com * @LastEditTime: 2023-12-20 09:43:47 * @FilePath: \jt-design\mock\user.ts * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ i...
7
marknemm/ReactNativeBase
599e1ed
interfaces/theme.ts
TypeScript
www.github.com/marknemm/ReactNativeBase/tree/main/interfaces/theme.ts
https://raw.githubusercontent.com/marknemm/ReactNativeBase/599e1ed/interfaces/theme.ts
marknemm/ReactNativeBase 599e1ed interfaces/theme.ts
true
200
2,527
import { Colors, CreateThemeOptions, Theme } from '@rneui/themed'; import { FontWeight } from '@interfaces/styles'; import { ScaledSize } from 'react-native'; export { FontWeight }; /** * Symbolic or numeric-string font weight. */ export type Bold = boolean | '100' | '200' | '300' | '400' | '500' | '600' | '700' | ...
3
RethySen995/SimpleIonicVue3
56f0bb8
src/main.ts
TypeScript
www.github.com/RethySen995/SimpleIonicVue3/tree/main/src/main.ts
https://raw.githubusercontent.com/RethySen995/SimpleIonicVue3/56f0bb8/src/main.ts
RethySen995/SimpleIonicVue3 56f0bb8 src/main.ts
true
200
2,772
/* eslint-disable vue/multi-word-component-names */ import { createApp } from 'vue'; import App from './App.vue'; import router from './router'; import i18n from '@/i18n'; import { IonicVue } from '@ionic/vue'; /* Core CSS required for Ionic components to work properly */ import '@ionic/vue/css/core.css'; /* Basic C...
6
di22/plane-ticket
cd1cbca
src/app/core/services/route.service.ts
TypeScript
www.github.com/di22/plane-ticket/tree/main/src/app/core/services/route.service.ts
https://raw.githubusercontent.com/di22/plane-ticket/cd1cbca/src/app/core/services/route.service.ts
di22/plane-ticket cd1cbca src/app/core/services/route.service.ts
true
200
462
import {Injectable} from '@angular/core'; import {Router} from '@angular/router'; import {Path} from "../constants/path"; @Injectable({ providedIn: 'root' }) export class RouteService { constructor(private router: Router) {} navigateToPassenger(): void { this.navigate(Path.Passenger); } navigateToHome(...
5
nikolayzhechev/Solartis
fa45ed5
src/app/dashboard/dashboard-routing.module.ts
TypeScript
www.github.com/nikolayzhechev/Solartis/tree/main/src/app/dashboard/dashboard-routing.module.ts
https://raw.githubusercontent.com/nikolayzhechev/Solartis/fa45ed5/src/app/dashboard/dashboard-routing.module.ts
nikolayzhechev/Solartis fa45ed5 src/app/dashboard/dashboard-routing.module.ts
true
200
1,117
import { RouterModule, Routes } from "@angular/router"; import { AddBatteryComponent } from "./add-battery/add-battery.component"; import { AddSolarComponent } from "./add-solar/add-solar.component"; import { AddTechComponent } from "./add-tech/add-tech.component"; import { BatteryComponent } from "./item-details/batte...
1
quocduy2003/Ngrx_wed_news
f87b3e4
src/effects/article.effect.ts
TypeScript
www.github.com/quocduy2003/Ngrx_wed_news/tree/main/src/effects/article.effect.ts
https://raw.githubusercontent.com/quocduy2003/Ngrx_wed_news/f87b3e4/src/effects/article.effect.ts
quocduy2003/Ngrx_wed_news f87b3e4 src/effects/article.effect.ts
true
200
1,021
import { Injectable } from "@angular/core"; import { createEffect, ofType,Actions } from "@ngrx/effects"; import { catchError, map, of, switchMap } from "rxjs"; import { Article } from "src/app/models/article.model"; import { ArticleService } from "src/app/services/article.service"; import * as ArticleActions from '../...
0
spacejens/tloegbbl
bd898fc
backend/src/rest/team-type.controller.ts
TypeScript
www.github.com/spacejens/tloegbbl/tree/main/backend/src/rest/team-type.controller.ts
https://raw.githubusercontent.com/spacejens/tloegbbl/bd898fc/backend/src/rest/team-type.controller.ts
spacejens/tloegbbl bd898fc backend/src/rest/team-type.controller.ts
true
200
712
import { Body, Controller, Get, Param, Post } from '@nestjs/common'; import { TeamTypeService } from '../persistence/team-type.service'; import { TeamTypeImportService } from '../import/team-type-import.service'; import { TeamType } from '../dtos'; @Controller('team-type') export class TeamTypeController { construct...
2
gustavo1020/NotiGestFront
32156df
src/app/app.config.ts
TypeScript
www.github.com/gustavo1020/NotiGestFront/tree/main/src/app/app.config.ts
https://raw.githubusercontent.com/gustavo1020/NotiGestFront/32156df/src/app/app.config.ts
gustavo1020/NotiGestFront 32156df src/app/app.config.ts
true
200
688
import { ApplicationConfig, importProvidersFrom } from '@angular/core'; import { provideRouter } from '@angular/router'; import { provideHttpClient, withInterceptors } from '@angular/common/http'; import { routes } from './app.routes'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; impo...
7
John-Githublab/caveDigital_mobile_app
9ad417a
screens/login/styles.ts
TypeScript
www.github.com/John-Githublab/caveDigital_mobile_app/tree/main/screens/login/styles.ts
https://raw.githubusercontent.com/John-Githublab/caveDigital_mobile_app/9ad417a/screens/login/styles.ts
John-Githublab/caveDigital_mobile_app 9ad417a screens/login/styles.ts
true
200
1,704
import { StyleSheet } from "react-native"; export const styles = StyleSheet.create({ container: { flex: 1, // alignItems: "center", backgroundColor: "#fff", paddingHorizontal: 20, paddingTop: 80, }, content: { alignSelf: "flex-start", gap: 6, marginBottom: 37, }, logo: { h...
3
NQuangHuy1310/TeddyShop
22f2d85
src/models/order.ts
TypeScript
www.github.com/NQuangHuy1310/TeddyShop/tree/main/src/models/order.ts
https://raw.githubusercontent.com/NQuangHuy1310/TeddyShop/22f2d85/src/models/order.ts
NQuangHuy1310/TeddyShop 22f2d85 src/models/order.ts
true
200
1,113
export interface shippingInfo { fullName: string phoneNumber: string location: string city: string state?: string } interface attributes { name?: string code?: string } export interface orderItem { product: string quantity: number price: number color?: attributes switch?: attributes option?:...
6
akhtarbhurt/typescript
3221b8f
Question43/main.ts
TypeScript
www.github.com/akhtarbhurt/typescript/tree/main/Question43/main.ts
https://raw.githubusercontent.com/akhtarbhurt/typescript/3221b8f/Question43/main.ts
akhtarbhurt/typescript 3221b8f Question43/main.ts
true
200
1,170
// Unchanged Magicians Program // Author: [Your Name] // Date: [Current Date] // Function to display magician names from an array function displayMagicians(magicians: string[]): void { for (const magician of magicians) { console.log(magician); } } // Function to make magicians great without modifying ...
4
hsjni0110/next__portfolio
554c280
utils/fetchSocials.ts
TypeScript
www.github.com/hsjni0110/next__portfolio/tree/main/utils/fetchSocials.ts
https://raw.githubusercontent.com/hsjni0110/next__portfolio/554c280/utils/fetchSocials.ts
hsjni0110/next__portfolio 554c280 utils/fetchSocials.ts
true
200
262
import { Social } from '../typings'; export const fetchSocials = async() => { const res = await fetch(`${process.env.NEXT_PUBLIC_BASE_URL}/api/getSocials`); const data = await res.json(); const socials:Social[] = data.social; return socials; }
5
lkenjim/descomplica-atv-pratica-14
3c2920e
src/app/features/products/components/product/product.component.ts
TypeScript
www.github.com/lkenjim/descomplica-atv-pratica-14/tree/main/src/app/features/products/components/product/product.component.ts
https://raw.githubusercontent.com/lkenjim/descomplica-atv-pratica-14/3c2920e/src/app/features/products/components/product/product.component.ts
lkenjim/descomplica-atv-pratica-14 3c2920e src/app/features/products/components/product/product.component.ts
true
200
770
import { Product } from '@/app/models'; import { ProductsService } from '@/app/services'; import { Component, Input } from '@angular/core'; import { Router } from '@angular/router'; @Component({ selector: 'app-product', templateUrl: './product.component.html', styleUrls: ['./product.component.scss'] }) export cl...
0
LuizVithor/Desafio
b559bf7
lib/features/titleSlice.ts
TypeScript
www.github.com/LuizVithor/Desafio/tree/main/lib/features/titleSlice.ts
https://raw.githubusercontent.com/LuizVithor/Desafio/b559bf7/lib/features/titleSlice.ts
LuizVithor/Desafio b559bf7 lib/features/titleSlice.ts
true
200
378
import { createSlice, PayloadAction } from "@reduxjs/toolkit"; const initialState: string | null = "Desafio"; const titleSlice = createSlice({ name: "title", initialState, reducers: { setTitle: (state, action: PayloadAction<string>) => { return action.payload } }, }); export const { setTitle } ...
1
aditisolanki71/covid19-tracker
0533901
src/app/services/data-services.service.ts
TypeScript
www.github.com/aditisolanki71/covid19-tracker/tree/main/src/app/services/data-services.service.ts
https://raw.githubusercontent.com/aditisolanki71/covid19-tracker/0533901/src/app/services/data-services.service.ts
aditisolanki71/covid19-tracker 0533901 src/app/services/data-services.service.ts
true
200
2,498
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { map } from 'rxjs/operators' import { GlobalDataSummary } from '../models/global-data'; import { DateWiseData } from '../models/date-wise-data' @Injectable({ providedIn: 'root' }) export class DataServicesService {...
6
kladarak/AdventOfCode2023
547f83e
ts/src/day02.ts
TypeScript
www.github.com/kladarak/AdventOfCode2023/tree/main/ts/src/day02.ts
https://raw.githubusercontent.com/kladarak/AdventOfCode2023/547f83e/ts/src/day02.ts
kladarak/AdventOfCode2023 547f83e ts/src/day02.ts
true
200
3,128
import * as fs from "fs"; import { assert } from "./assert" class Set { red: number; green: number; blue: number; constructor(r: number, g: number, b: number) { this.red = r; this.green = g; this.blue = b; } isPossible(maxSet: Set): boolean { return this.red <= maxSet.red ...
2
badrEladraoui1/WhatsGood_frontend
d8f0b25
src/app/components/chat/chat-header/chat-header.component.ts
TypeScript
www.github.com/badrEladraoui1/WhatsGood_frontend/tree/main/src/app/components/chat/chat-header/chat-header.component.ts
https://raw.githubusercontent.com/badrEladraoui1/WhatsGood_frontend/d8f0b25/src/app/components/chat/chat-header/chat-header.component.ts
badrEladraoui1/WhatsGood_frontend d8f0b25 src/app/components/chat/chat-header/chat-header.component.ts
true
200
547
import { CommonModule } from "@angular/common"; import { Component, Input } from "@angular/core"; import { Group } from "../../../models/groupe.model"; import { User } from "../../../models/user.model"; @Component({ selector: "app-chat-header", standalone: true, imports: [CommonModule], templateUrl: "./chat-he...
4
npcarlos/dynamicLoading
7b23902
externals/libraries/reducers/common/disponibilidad-inventario/core/disponibilidad-inventario.reducer.ts
TypeScript
www.github.com/npcarlos/dynamicLoading/tree/main/externals/libraries/reducers/common/disponibilidad-inventario/core/disponibilidad-inventario.reducer.ts
https://raw.githubusercontent.com/npcarlos/dynamicLoading/7b23902/externals/libraries/reducers/common/disponibilidad-inventario/core/disponibilidad-inventario.reducer.ts
npcarlos/dynamicLoading 7b23902 externals/libraries/reducers/common/disponibilidad-inventario/core/disponibilidad-inventario.reducer.ts
true
200
856
import { FETCH_DISP_INVENTARIO_ACTION, ACTUALIZAR_DISP_INVENTARIO_ACTION } from './disponibilidad-inventario.constants'; import { Map } from 'immutable'; import { ReducerDisponibilidadInventarioState } from './disponibilidad-inventario.state'; import { DisponibilidadInventarioModel } from '~libraries/domain/fullstack/d...
5
SiddheshJagdale/Twitter-clone
644b499
libs/serverAuth.ts
TypeScript
www.github.com/SiddheshJagdale/Twitter-clone/tree/main/libs/serverAuth.ts
https://raw.githubusercontent.com/SiddheshJagdale/Twitter-clone/644b499/libs/serverAuth.ts
SiddheshJagdale/Twitter-clone 644b499 libs/serverAuth.ts
true
200
664
// "use server"; import { NextApiRequest, NextApiResponse } from "next"; import prisma from "@/libs/prismadb"; import { getServerSession } from "next-auth"; import { authOptions } from "@/pages/api/auth/[...nextauth]"; const serverAuth = async (req: NextApiRequest, res: NextApiResponse) => { const session = await g...
1
Dragons0458/notes-company-test
399675a
src/modules/notes/notes.service.spec.ts
TypeScript
www.github.com/Dragons0458/notes-company-test/tree/main/src/modules/notes/notes.service.spec.ts
https://raw.githubusercontent.com/Dragons0458/notes-company-test/399675a/src/modules/notes/notes.service.spec.ts
Dragons0458/notes-company-test 399675a src/modules/notes/notes.service.spec.ts
true
200
3,362
import { faker } from '@faker-js/faker'; import { NotesEntity } from '../../entities/notes.entity'; import { QueryError } from '../../lib/query-error'; import { getRepository } from '../../orm.config'; import { CreateNoteDto, NoteIdDto, UpdateNoteDto } from './dto'; import { NotesService } from './notes.service'; jest...
7
huynhtam258/nestjs-ecom
36d625c
src/routes/auth/auth.controller.ts
TypeScript
www.github.com/huynhtam258/nestjs-ecom/tree/main/src/routes/auth/auth.controller.ts
https://raw.githubusercontent.com/huynhtam258/nestjs-ecom/36d625c/src/routes/auth/auth.controller.ts
huynhtam258/nestjs-ecom 36d625c src/routes/auth/auth.controller.ts
true
200
4,052
import { Body, Controller, Get, HttpCode, HttpStatus, Ip, Post, Query, Res } from '@nestjs/common' import { Response } from 'express' import { ZodSerializerDto } from 'nestjs-zod' import { DisableTwoFactorBodyDTO, ForgotPasswordBodyDTO, GetAuthorizationUrlResDTO, LoginBodyDTO, LoginResDTO, LogoutBodyDTO, ...
3
malciin/aoc2023
930ee19
day15.ts
TypeScript
www.github.com/malciin/aoc2023/tree/main/day15.ts
https://raw.githubusercontent.com/malciin/aoc2023/930ee19/day15.ts
malciin/aoc2023 930ee19 day15.ts
true
200
982
import { readString, sum } from "./common"; const input = readString('day15.txt').split(','); const computeHash = (ch: string) => ch.split('').reduce((acc, v) => ((acc + v.charCodeAt(0)) * 17) % 256, 0); console.log(sum(input.map(x => computeHash(x)))); const lenses: string[][] = Array.from({ length: 256 }).map(() =...
0
rmarincob/typescript-project
9c87b3b
src/utils/session.ts
TypeScript
www.github.com/rmarincob/typescript-project/tree/main/src/utils/session.ts
https://raw.githubusercontent.com/rmarincob/typescript-project/9c87b3b/src/utils/session.ts
rmarincob/typescript-project 9c87b3b src/utils/session.ts
true
200
612
import { JwtPayload } from 'jsonwebtoken' import { Tokens } from '../entity/tokens' import { Users } from '../entity/users' import { tokenRepository } from '../repositories/tokens.repositories' import CustomError from './error' export const generateSession = async (payload: JwtPayload, user: Users): Promise<void> => {...
6
phinamdesign/Student-Management-App
68aa3f1
src/app/component/conduct/conduct-list/conduct-list.component.ts
TypeScript
www.github.com/phinamdesign/Student-Management-App/tree/main/src/app/component/conduct/conduct-list/conduct-list.component.ts
https://raw.githubusercontent.com/phinamdesign/Student-Management-App/68aa3f1/src/app/component/conduct/conduct-list/conduct-list.component.ts
phinamdesign/Student-Management-App 68aa3f1 src/app/component/conduct/conduct-list/conduct-list.component.ts
true
200
974
import { Component, OnInit } from '@angular/core'; import {Observable} from 'rxjs'; import {Router} from '@angular/router'; import {ConductService} from '../../../service/conduct.service'; @Component({ selector: 'app-conduct-list', templateUrl: './conduct-list.component.html', styleUrls: ['./conduct-list.compone...
4
clowde61/HELPME
0ff97b5
src/app/app.routes.ts
TypeScript
www.github.com/clowde61/HELPME/tree/main/src/app/app.routes.ts
https://raw.githubusercontent.com/clowde61/HELPME/0ff97b5/src/app/app.routes.ts
clowde61/HELPME 0ff97b5 src/app/app.routes.ts
true
200
535
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { DefaultComponent } from './default/default.component'; // Create this component if not already existing import { WorldMapComponent } from './world-map/world-map.component'; export const routes: Routes = [ { pat...
2
BrayhanVargas/social-front
d8478cc
src/app/social/social-routing-module.ts
TypeScript
www.github.com/BrayhanVargas/social-front/tree/main/src/app/social/social-routing-module.ts
https://raw.githubusercontent.com/BrayhanVargas/social-front/d8478cc/src/app/social/social-routing-module.ts
BrayhanVargas/social-front d8478cc src/app/social/social-routing-module.ts
true
200
693
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { HomeComponent } from './pages/home/home.component'; import { ProfileComponent } from './pages/profile/profile.component'; import { LayoutComponent } from './pages/layout/layout.component'; // localhost:4200/hero...
5
malmi96/CProM_Frontend
af55586
src/app/reports/supplier-report/supplier-report.component.ts
TypeScript
www.github.com/malmi96/CProM_Frontend/tree/main/src/app/reports/supplier-report/supplier-report.component.ts
https://raw.githubusercontent.com/malmi96/CProM_Frontend/af55586/src/app/reports/supplier-report/supplier-report.component.ts
malmi96/CProM_Frontend af55586 src/app/reports/supplier-report/supplier-report.component.ts
true
200
2,695
import { Component, OnInit } from '@angular/core'; import { FormControl } from '@angular/forms'; import { Observable } from 'rxjs'; import { startWith, map } from 'rxjs/operators'; import { MaterialService } from 'src/app/services/material/material.service'; import { ReportServiceService } from 'src/app/services/report...
1
baoxiaowang/neeko-design
3ff1631
src/widgets/components/column/render.ts
TypeScript
www.github.com/baoxiaowang/neeko-design/tree/main/src/widgets/components/column/render.ts
https://raw.githubusercontent.com/baoxiaowang/neeko-design/3ff1631/src/widgets/components/column/render.ts
baoxiaowang/neeko-design 3ff1631 src/widgets/components/column/render.ts
true
200
846
import { FunctionalComponent, h } from 'vue'; import { getRenderWidget } from '../../render'; import { CommonPropsOpt } from '../../common/widget-options'; import { WidgetComponents, WidgetCompOptions } from '../../types'; const Column: FunctionalComponent<WidgetCompOptions> = (props) => { const { node, state, meta...
3
JoseGonAbellan/ecommerce-back
df5675b
src/resources/orders/infrastructure/rest/controllers/find-by-id-order.controller.ts
TypeScript
www.github.com/JoseGonAbellan/ecommerce-back/tree/main/src/resources/orders/infrastructure/rest/controllers/find-by-id-order.controller.ts
https://raw.githubusercontent.com/JoseGonAbellan/ecommerce-back/df5675b/src/resources/orders/infrastructure/rest/controllers/find-by-id-order.controller.ts
JoseGonAbellan/ecommerce-back df5675b src/resources/orders/infrastructure/rest/controllers/find-by-id-order.controller.ts
true
200
760
import { Controller, Get, Param, UseGuards } from "@nestjs/common"; import { RolesGuard } from "../../../../../common/infrastructure/rest/nest/roles.guard"; import { RolEnum } from "../../../../users/domain/entities/user.entity"; import { FindByIdOrderUseCase } from "../../../application/uses-cases/find-by-id-order.use...
7
CaseyMartin23/online-cafe-server
d8572c6
src/auth/casl/casl-ability.factory.ts
TypeScript
www.github.com/CaseyMartin23/online-cafe-server/tree/main/src/auth/casl/casl-ability.factory.ts
https://raw.githubusercontent.com/CaseyMartin23/online-cafe-server/d8572c6/src/auth/casl/casl-ability.factory.ts
CaseyMartin23/online-cafe-server d8572c6 src/auth/casl/casl-ability.factory.ts
true
200
1,803
import { Injectable } from "@nestjs/common"; import { AbilityBuilder, MongoAbility, createMongoAbility, InferSubjects, ExtractSubjectType } from "@casl/ability"; import { Action } from "src/auth/casl.action"; import { User } from "src/schemas/user.schema"; import { Product } from "src/schemas/product.schema"; import { ...
6
iwilwildan/tuliskanai
481d789
src/app/api/chat/route.ts
TypeScript
www.github.com/iwilwildan/tuliskanai/tree/main/src/app/api/chat/route.ts
https://raw.githubusercontent.com/iwilwildan/tuliskanai/481d789/src/app/api/chat/route.ts
iwilwildan/tuliskanai 481d789 src/app/api/chat/route.ts
true
200
3,035
import { OpenAIApi, Configuration } from 'openai-edge'; import { Message, OpenAIStream, StreamingTextResponse } from 'ai'; import { db } from '@/lib/db'; import { documents, messages as _messages } from '@/lib/db/schema'; import { eq } from 'drizzle-orm'; import { NextResponse } from 'next/server'; import { getContext ...
0
sesac-c/client
4c42458
src/hooks/manager/user/useUserListData.ts
TypeScript
www.github.com/sesac-c/client/tree/main/src/hooks/manager/user/useUserListData.ts
https://raw.githubusercontent.com/sesac-c/client/4c42458/src/hooks/manager/user/useUserListData.ts
sesac-c/client 4c42458 src/hooks/manager/user/useUserListData.ts
true
200
4,071
import React from 'react'; import { FilterSortGroup, FILTERS, Page, RowType, SearchTitle, TableData, UserRowContent } from '@/types'; import { formatDateToKorean } from '@/utils/formatter'; import { courseOptionsRequest, userListRequest } from '@/services/api/manager'; import { transformCourseOptions } from '@/utils/ma...
4
Hugodelima/grud-bank-account
3806db0
src/ContaPoupanca.ts
TypeScript
www.github.com/Hugodelima/grud-bank-account/tree/main/src/ContaPoupanca.ts
https://raw.githubusercontent.com/Hugodelima/grud-bank-account/3806db0/src/ContaPoupanca.ts
Hugodelima/grud-bank-account 3806db0 src/ContaPoupanca.ts
true
200
1,033
import ContaBancaria from "./ContaBancaria"; import Imprimivel from "./Imprimivel"; class ContaPoupanca extends ContaBancaria implements Imprimivel { public taxaDeOperacao:number constructor(numeroConta:string, saldo:number, taxaDeOperacao:number){ super(numeroConta,saldo) this.taxaDeOperacao ...
2
nico6106/Matcha
ce5fca4
backend/mount/src/routes/auth/auth.controllers.ts
TypeScript
www.github.com/nico6106/Matcha/tree/main/backend/mount/src/routes/auth/auth.controllers.ts
https://raw.githubusercontent.com/nico6106/Matcha/ce5fca4/backend/mount/src/routes/auth/auth.controllers.ts
nico6106/Matcha ce5fca4 backend/mount/src/routes/auth/auth.controllers.ts
true
200
2,370
import { Request, Response } from 'express'; import { Database } from "../../database/db" import { validateSignUpBody } from './middlewares/signup.middleware'; import { SignUp, SignIn, SignOut, ConfirmEmail, testJWT, ForgotPwd, TmpShowUserByEmail, ConfirmForgotPwd, ResetPwd, SignInOauth } from './auth.service'; import ...
5
yassineramzi/social_network_monitoring
f6c1f9b
src/main/resources/front/src/app/pages/auth-signin/auth-signin.module.ts
TypeScript
www.github.com/yassineramzi/social_network_monitoring/tree/main/src/main/resources/front/src/app/pages/auth-signin/auth-signin.module.ts
https://raw.githubusercontent.com/yassineramzi/social_network_monitoring/f6c1f9b/src/main/resources/front/src/app/pages/auth-signin/auth-signin.module.ts
yassineramzi/social_network_monitoring f6c1f9b src/main/resources/front/src/app/pages/auth-signin/auth-signin.module.ts
true
200
488
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { AuthSigninRoutingModule } from './auth-signin-routing.module'; import { AuthSigninComponent } from './auth-signin.component'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; @NgModule({ imports: [ ...
1
miguelrodriguez6/Football-Tactical-Camera-Data-Analysis
92e2221
frontend/src/app/app.module.ts
TypeScript
www.github.com/miguelrodriguez6/Football-Tactical-Camera-Data-Analysis/tree/main/frontend/src/app/app.module.ts
https://raw.githubusercontent.com/miguelrodriguez6/Football-Tactical-Camera-Data-Analysis/92e2221/frontend/src/app/app.module.ts
miguelrodriguez6/Football-Tactical-Camera-Data-Analysis 92e2221 frontend/src/app/app.module.ts
true
200
4,596
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import {FooterComponent} from "./core/components/footer.component"; import {RouterModule} from "@angular/router";...
7
lifaon74/observable-polyfill
14d6921
src/functions.private/link-signal-with-subscriber-internals.ts
TypeScript
www.github.com/lifaon74/observable-polyfill/tree/main/src/functions.private/link-signal-with-subscriber-internals.ts
https://raw.githubusercontent.com/lifaon74/observable-polyfill/14d6921/src/functions.private/link-signal-with-subscriber-internals.ts
lifaon74/observable-polyfill 14d6921 src/functions.private/link-signal-with-subscriber-internals.ts
true
200
910
import { type InternalObserver } from '../observable/internals.private/internal-observer.js'; import { closeSubscription } from '../subscriber/internals.private/close-subscription.js'; import { type SubscriberInternals } from '../subscriber/internals.private/subscriber-internals.js'; export function linkSignalWithSubs...
0
keyCat/node-steam-id
cc069eb
src/partsToSteamUrl/index.ts
TypeScript
www.github.com/keyCat/node-steam-id/tree/main/src/partsToSteamUrl/index.ts
https://raw.githubusercontent.com/keyCat/node-steam-id/cc069eb/src/partsToSteamUrl/index.ts
keyCat/node-steam-id cc069eb src/partsToSteamUrl/index.ts
true
200
731
import { SteamCommunityUrl, SteamIDParts } from '../types'; import partsToSteam64 from '../partsToSteam64'; import ACCOUNT_TYPE from '../_lib/const/account-type'; export default function partsToSteamUrl( { accountId, instance, type, universe }: SteamIDParts, china: boolean = false, ): SteamCommunityUrl { if (typ...
6
ConsoleLogTeam/Server
ad7f9ec
src/controllers/chat/chat.controller.ts
TypeScript
www.github.com/ConsoleLogTeam/Server/tree/main/src/controllers/chat/chat.controller.ts
https://raw.githubusercontent.com/ConsoleLogTeam/Server/ad7f9ec/src/controllers/chat/chat.controller.ts
ConsoleLogTeam/Server ad7f9ec src/controllers/chat/chat.controller.ts
true
200
2,002
import { chatSchema } from "./../../utils/validations/chat.schema"; import { Controller, Get, Res, Req, UseBefore, Post, } from "routing-controllers"; import { Service } from "typedi"; import { authorize } from "../../middlewares/auth"; import { Request, Response } from "express"; import * as chatService fr...
2
hkoba/yatt-js
e2fbe58
core/codegen0/src/codegen0/namespace/generate.ts
TypeScript
www.github.com/hkoba/yatt-js/tree/main/core/codegen0/src/codegen0/namespace/generate.ts
https://raw.githubusercontent.com/hkoba/yatt-js/e2fbe58/core/codegen0/src/codegen0/namespace/generate.ts
hkoba/yatt-js e2fbe58 core/codegen0/src/codegen0/namespace/generate.ts
true
200
3,813
#!/usr/bin/env ts-node import {parse_template} from 'lrxml' import {CodeGenContextClass, CGenSession, finalize_codefragment} from '../context' import { build_template_declaration, TemplateDeclaration , BuilderContextClass , YattBuildConfig // , Widget, Entity } from '../../declaration' import {generate_widget...
3
pya-h/GnosisBasedPredictionMarket
e83187f
app/src/core/interceptors/standard-response-transform.interceptor.ts
TypeScript
www.github.com/pya-h/GnosisBasedPredictionMarket/tree/main/app/src/core/interceptors/standard-response-transform.interceptor.ts
https://raw.githubusercontent.com/pya-h/GnosisBasedPredictionMarket/e83187f/app/src/core/interceptors/standard-response-transform.interceptor.ts
pya-h/GnosisBasedPredictionMarket e83187f app/src/core/interceptors/standard-response-transform.interceptor.ts
true
200
1,430
import { CallHandler, ExecutionContext, Injectable, NestInterceptor, } from '@nestjs/common'; import { map, Observable } from 'rxjs'; import { StandardResponse, StandardResponseStatusEnum, } from '../classes/standard-response'; // This interceptor transforms all the responses from route handlers and wraps ...
4
2naCan/Youtube-Channel-Points-Extension
dac184a
node_modules/permissionless/_types/accounts/kernel/constants.d.ts
TypeScript
www.github.com/2naCan/Youtube-Channel-Points-Extension/tree/main/node_modules/permissionless/_types/accounts/kernel/constants.d.ts
https://raw.githubusercontent.com/2naCan/Youtube-Channel-Points-Extension/dac184a/node_modules/permissionless/_types/accounts/kernel/constants.d.ts
2naCan/Youtube-Channel-Points-Extension dac184a node_modules/permissionless/_types/accounts/kernel/constants.d.ts
true
200
492
export declare const DUMMY_ECDSA_SIGNATURE = "0xfffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c"; export declare const ROOT_MODE_KERNEL_V2 = "0x00000000"; export declare const VALIDATOR_TYPE: { readonly ROOT: "0x00"; readonly VAL...
5
ChiragKottary/Ullas-Project
a91db3f
src/app/super/viewreports/viewreports.component.ts
TypeScript
www.github.com/ChiragKottary/Ullas-Project/tree/main/src/app/super/viewreports/viewreports.component.ts
https://raw.githubusercontent.com/ChiragKottary/Ullas-Project/a91db3f/src/app/super/viewreports/viewreports.component.ts
ChiragKottary/Ullas-Project a91db3f src/app/super/viewreports/viewreports.component.ts
true
200
19,641
import { Component, OnInit, ViewChild, ElementRef, Renderer2, CSP_NONCE, } from '@angular/core'; import { Chart, ChartConfiguration, ChartItem, registerables } from 'chart.js'; import { NgToastService } from 'ng-angular-popup'; import { ReadingService } from '../../services/reading/reading.service'; import ...
1
yury-kuzmiankov/angular-training
1db2c6a
src/app/shopping-list/shopping-edit/shopping-edit.component.ts
TypeScript
www.github.com/yury-kuzmiankov/angular-training/tree/main/src/app/shopping-list/shopping-edit/shopping-edit.component.ts
https://raw.githubusercontent.com/yury-kuzmiankov/angular-training/1db2c6a/src/app/shopping-list/shopping-edit/shopping-edit.component.ts
yury-kuzmiankov/angular-training 1db2c6a src/app/shopping-list/shopping-edit/shopping-edit.component.ts
true
200
600
import { Component, OnInit } from '@angular/core'; import { ShoppingListService } from '../shopping-list.service'; import { Ingredient } from 'src/app/shared/model/ingredient.model'; @Component({ selector: 'app-shopping-edit', templateUrl: './shopping-edit.component.html', styleUrls: ['./shopping-edit.component...
0
ZTZ2222/opt_expert
3fc6f37
frontend/src/redux/features/product/sizeSlice.ts
TypeScript
www.github.com/ZTZ2222/opt_expert/tree/main/frontend/src/redux/features/product/sizeSlice.ts
https://raw.githubusercontent.com/ZTZ2222/opt_expert/3fc6f37/frontend/src/redux/features/product/sizeSlice.ts
ZTZ2222/opt_expert 3fc6f37 frontend/src/redux/features/product/sizeSlice.ts
true
200
1,208
import { ISize } from "@/interfaces/product.interface"; import { apiSlice } from "@/redux/api/apiSlice"; import { EntityState, createEntityAdapter } from "@reduxjs/toolkit"; const sizesAdapter = createEntityAdapter<ISize>(); const initialState = sizesAdapter.getInitialState(); export const sizesApi = apiSlice.inject...
6
INSIinc/nice-stack
56c5a35
packages/common/src/collaboration/y-socket.ts
TypeScript
www.github.com/INSIinc/nice-stack/tree/main/packages/common/src/collaboration/y-socket.ts
https://raw.githubusercontent.com/INSIinc/nice-stack/56c5a35/packages/common/src/collaboration/y-socket.ts
INSIinc/nice-stack 56c5a35 packages/common/src/collaboration/y-socket.ts
true
200
15,332
import * as Y from 'yjs' // eslint-disable-line import * as bc from 'lib0/broadcastchannel' import * as time from 'lib0/time' import * as encoding from 'lib0/encoding' import * as decoding from 'lib0/decoding' import * as syncProtocol from './y-sync' import * as awarenessProtocol from './y-awareness' import { Observabl...
2
shaggyrec/binom
6b29abe
react/ducks/postComments.ts
TypeScript
www.github.com/shaggyrec/binom/tree/main/react/ducks/postComments.ts
https://raw.githubusercontent.com/shaggyrec/binom/6b29abe/react/ducks/postComments.ts
shaggyrec/binom 6b29abe react/ducks/postComments.ts
true
200
2,111
import { handleActions, createAction } from 'redux-actions'; import { RootState } from '../Application'; const REQUEST_LIST = 'postComments/REQUEST_LIST'; const LIST = 'postComments/LIST'; const CREATE = 'postComments/CREATE'; const UPDATE = 'postComments/UPDATE'; const DELETE = 'postComments/DELETE'; const CREATED = ...
7
viniciusstroher/todo_list
82fee2a
view/src/app/views/todo-list/todo-list.component.ts
TypeScript
www.github.com/viniciusstroher/todo_list/tree/main/view/src/app/views/todo-list/todo-list.component.ts
https://raw.githubusercontent.com/viniciusstroher/todo_list/82fee2a/view/src/app/views/todo-list/todo-list.component.ts
viniciusstroher/todo_list 82fee2a view/src/app/views/todo-list/todo-list.component.ts
true
200
2,478
import { Component, OnInit } from '@angular/core' import { Router } from '@angular/router' import * as moment from 'moment'; import { ModalTaskComponent } from '../../components/modal-task/modal-task.component' import { NgbModule,NgbActiveModal,NgbModal } from '@ng-bootstrap/ng-bootstrap' import { TodoService } from ...
3
RIFT-Luby/game-review
2d8093a
GameReview/GameReviewAngular/src/app/shared/components/loading-modal/services/loading-modal.service.ts
TypeScript
www.github.com/RIFT-Luby/game-review/tree/main/GameReview/GameReviewAngular/src/app/shared/components/loading-modal/services/loading-modal.service.ts
https://raw.githubusercontent.com/RIFT-Luby/game-review/2d8093a/GameReview/GameReviewAngular/src/app/shared/components/loading-modal/services/loading-modal.service.ts
RIFT-Luby/game-review 2d8093a GameReview/GameReviewAngular/src/app/shared/components/loading-modal/services/loading-modal.service.ts
true
200
659
import { take } from 'rxjs'; import { EventEmitter, Injectable } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { LoadingModalComponent } from '../loading-modal.component'; @Injectable({ providedIn: 'root' }) export class LoadingModalService { closed = new EventEmitter<boolean>...
4
Portal-da-Classe-Politica/portal-da-classe-politica
cf8be4f
src/app/api/consult/filters/route.ts
TypeScript
www.github.com/Portal-da-Classe-Politica/portal-da-classe-politica/tree/main/src/app/api/consult/filters/route.ts
https://raw.githubusercontent.com/Portal-da-Classe-Politica/portal-da-classe-politica/cf8be4f/src/app/api/consult/filters/route.ts
Portal-da-Classe-Politica/portal-da-classe-politica cf8be4f src/app/api/consult/filters/route.ts
true
200
487
export const dynamic = 'force-dynamic'; import { NextRequest, NextResponse } from 'next/server'; import { ConsultService } from '@services/consult/ConsultService'; export async function GET(req: NextRequest) { const dimension = req.nextUrl.searchParams.get('dimension'); console.info('get:consult/filters dimension...
5
kingstondoesit/Cypress-Notion
15a9a80
drizzle.config.ts
TypeScript
www.github.com/kingstondoesit/Cypress-Notion/tree/main/drizzle.config.ts
https://raw.githubusercontent.com/kingstondoesit/Cypress-Notion/15a9a80/drizzle.config.ts
kingstondoesit/Cypress-Notion 15a9a80 drizzle.config.ts
true
200
822
import type { Config } from 'drizzle-kit'; import * as dotenv from 'dotenv'; dotenv.config({ path: '.env' }); // Check for the database URL in environment variables if (!process.env.DATABASE_URL) { console.error('🔴 Cannot find database URL'); process.exit(1); // Exit the process if no DATABASE_URL is found } // ...
6
45Leha77/forms-builder
27b7c3f
src/app/sections/drop-section/dynamic-form-control/dynamic-form-control.component.ts
TypeScript
www.github.com/45Leha77/forms-builder/tree/main/src/app/sections/drop-section/dynamic-form-control/dynamic-form-control.component.ts
https://raw.githubusercontent.com/45Leha77/forms-builder/27b7c3f/src/app/sections/drop-section/dynamic-form-control/dynamic-form-control.component.ts
45Leha77/forms-builder 27b7c3f src/app/sections/drop-section/dynamic-form-control/dynamic-form-control.component.ts
true
200
915
import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; import { ElementStyle } from 'src/app/models/ElementStyle'; @Component({ selector: 'app-dynamic-form-control', templateUrl: './dynamic-form-control.component.html', ...
0
marceloedudev/protom
480befa
auth_service/src/packages/http/express/ExpressAdapter.ts
TypeScript
www.github.com/marceloedudev/protom/tree/main/auth_service/src/packages/http/express/ExpressAdapter.ts
https://raw.githubusercontent.com/marceloedudev/protom/480befa/auth_service/src/packages/http/express/ExpressAdapter.ts
marceloedudev/protom 480befa auth_service/src/packages/http/express/ExpressAdapter.ts
true
200
3,636
/* eslint-disable no-underscore-dangle */ import "./async-errors"; import ConfigHttp from "@/config/ConfigHttp"; import ConfigMode from "@/config/ConfigMode"; import ErrorMiddleware from "./errors"; import { ExpressAdapterRoutes } from "./ExpressAdapterRoutes"; import ExpressSubroutersListAll from "./ExpressSubrouters...
2
RyuTa960625/nest_study
4f22b58
src/users/user.service.ts
TypeScript
www.github.com/RyuTa960625/nest_study/tree/main/src/users/user.service.ts
https://raw.githubusercontent.com/RyuTa960625/nest_study/4f22b58/src/users/user.service.ts
RyuTa960625/nest_study 4f22b58 src/users/user.service.ts
true
200
2,477
import { BadRequestException, Injectable, NotFoundException } from '@nestjs/common'; import { CreateUserDto } from './dto/create-user.dto'; import { UpdateUserDto } from './dto/update-user.dto'; import { InjectRepository } from '@nestjs/typeorm'; import { User } from './entities/user.entity'; import { Repository } from...
7
mcgheej/tfx-diagram
6ab9664
libs/diagram/ui/page-ribbon/src/lib/components/line-buttons/line-width-button/line-width-button.service.ts
TypeScript
www.github.com/mcgheej/tfx-diagram/tree/main/libs/diagram/ui/page-ribbon/src/lib/components/line-buttons/line-width-button/line-width-button.service.ts
https://raw.githubusercontent.com/mcgheej/tfx-diagram/6ab9664/libs/diagram/ui/page-ribbon/src/lib/components/line-buttons/line-width-button/line-width-button.service.ts
mcgheej/tfx-diagram 6ab9664 libs/diagram/ui/page-ribbon/src/lib/components/line-buttons/line-width-button/line-width-button.service.ts
true
200
1,618
import { Injectable } from '@angular/core'; import { MatDialog, MatDialogConfig, MatDialogRef } from '@angular/material/dialog'; import { Store } from '@ngrx/store'; import { LineWidthButtonServiceActions } from '@tfx-diagram/diagram-data-access-store-actions'; import { LineWidthDialogComponent } from './line-width-dia...
4
TomatenTim/freegames-notifier
5645b0b
src/interfaces/Promotion.ts
TypeScript
www.github.com/TomatenTim/freegames-notifier/tree/main/src/interfaces/Promotion.ts
https://raw.githubusercontent.com/TomatenTim/freegames-notifier/5645b0b/src/interfaces/Promotion.ts
TomatenTim/freegames-notifier 5645b0b src/interfaces/Promotion.ts
true
200
481
interface Seller { id: string; url?: string; name: string; } interface Game { id: string; url?: string; price: number; priceCurrency: string; name: string; description: string; seller: Seller; mainImage: string; images: Array<string>; type?: 'game' | 'dlc'; } in...
1
digichains/wakandaV3
e58029b
frontend/src/interfaces/proposal.ts
TypeScript
www.github.com/digichains/wakandaV3/tree/main/frontend/src/interfaces/proposal.ts
https://raw.githubusercontent.com/digichains/wakandaV3/e58029b/frontend/src/interfaces/proposal.ts
digichains/wakandaV3 e58029b frontend/src/interfaces/proposal.ts
true
200
350
export interface IProposal { creator_address: string; id: number; name: string; app_id: string; created_on: string; description: string; end_time: string; is_open: boolean; no_count: number; updated_on: string; yes_count: number; is_claimable: string; total_votes: number; yesPercentage: numb...
5
sudheersunny/Doctor-Management-System
21a0f22
src/app/logout/logout.component.ts
TypeScript
www.github.com/sudheersunny/Doctor-Management-System/tree/main/src/app/logout/logout.component.ts
https://raw.githubusercontent.com/sudheersunny/Doctor-Management-System/21a0f22/src/app/logout/logout.component.ts
sudheersunny/Doctor-Management-System 21a0f22 src/app/logout/logout.component.ts
true
200
560
import { Component,OnInit } from '@angular/core'; import { AuthenticationService} from '../authentication.service'; import { Router } from '@angular/router'; @Component({ selector: 'app-logout', templateUrl: './logout.component.html', styleUrls: ['./logout.component.css'] }) export class LogoutComponent implemen...
3
konradk-solveq/dashboard
b32e4d0
components/typings/ManagePublications.ts
TypeScript
www.github.com/konradk-solveq/dashboard/tree/main/components/typings/ManagePublications.ts
https://raw.githubusercontent.com/konradk-solveq/dashboard/b32e4d0/components/typings/ManagePublications.ts
konradk-solveq/dashboard b32e4d0 components/typings/ManagePublications.ts
true
200
2,712
import { UseMutationResult, UseQueryResult } from "@tanstack/react-query" import { AxiosResponse } from "axios" import React, { SetStateAction } from "react" export type Publication = { id: string, type: string, draft: boolean, fallbackLanguage: string, pair: { id: number, oldDocume...
6
phsz-dev/phsz-frontend
b92f474
src/stores/case.ts
TypeScript
www.github.com/phsz-dev/phsz-frontend/tree/main/src/stores/case.ts
https://raw.githubusercontent.com/phsz-dev/phsz-frontend/b92f474/src/stores/case.ts
phsz-dev/phsz-frontend b92f474 src/stores/case.ts
true
200
5,408
import { defineStore } from 'pinia' import { ref } from 'vue' import ApiService from '../http' import Case from '../types/Case' import Page from '../types/Page' import RoughCase from '../types/RoughCase' import CaseAssay from '../types/CaseAssay' import { useAssayStore } from './assay' import Assay from '../types/assay...
0
jhatfiel/projecteuler
8ea655d
src/tictactoe/Board.ts
TypeScript
www.github.com/jhatfiel/projecteuler/tree/main/src/tictactoe/Board.ts
https://raw.githubusercontent.com/jhatfiel/projecteuler/8ea655d/src/tictactoe/Board.ts
jhatfiel/projecteuler 8ea655d src/tictactoe/Board.ts
true
200
628
export type PlayState<PlayType, StateType=number> = { play: PlayType; nextState: StateType; nextStateNormalized: StateType; } export interface Board<PlayType, StateType = number> { start(): StateType; currentPlayer(state: StateType): number; nextPlayer(state: StateType): number; legalPlays(...
7
thalesz/Graph
1488093
Servidor/server/src/model/Questoes.ts
TypeScript
www.github.com/thalesz/Graph/tree/main/Servidor/server/src/model/Questoes.ts
https://raw.githubusercontent.com/thalesz/Graph/1488093/Servidor/server/src/model/Questoes.ts
thalesz/Graph 1488093 Servidor/server/src/model/Questoes.ts
true
200
448
import mongoose, {Document, Schema, Types, ObjectId} from "mongoose"; interface IQuestoes extends Document{ _id: ObjectId, enunciado:String, } const questoesSchema = new Schema<IQuestoes>( { enunciado:{ type:String, required:true } }, { collection: 'Questões' } );...
1
joelaj06/auto-manager-api
c1fb889
src/frameworks/services/mailer/MailerImpl.ts
TypeScript
www.github.com/joelaj06/auto-manager-api/tree/main/src/frameworks/services/mailer/MailerImpl.ts
https://raw.githubusercontent.com/joelaj06/auto-manager-api/c1fb889/src/frameworks/services/mailer/MailerImpl.ts
joelaj06/auto-manager-api c1fb889 src/frameworks/services/mailer/MailerImpl.ts
true
200
988
import { IMailer } from "./IMailer"; import nodemailer from "nodemailer"; import config from "../../../config/config"; import { injectable } from "inversify"; @injectable() export class MailerImpl implements IMailer { async sendEmail(email: string, subject: string, text: string): Promise<void> { // create reusab...
2
mari-hernandez/meal-planner-app
b8aa6dd
frontend/src/screens/app/Profile/utils/profileAvatar.ts
TypeScript
www.github.com/mari-hernandez/meal-planner-app/tree/main/frontend/src/screens/app/Profile/utils/profileAvatar.ts
https://raw.githubusercontent.com/mari-hernandez/meal-planner-app/b8aa6dd/frontend/src/screens/app/Profile/utils/profileAvatar.ts
mari-hernandez/meal-planner-app b8aa6dd frontend/src/screens/app/Profile/utils/profileAvatar.ts
true
200
896
function stringToColor(string: string): string { // Calculate a hash of the string, character by character const hash = string.split("").reduce((acc, char) => { return char.charCodeAt(0) + ((acc << 5) - acc); }, 0); // Generate the three color values in hexadecimal using bitwise operations on the hash co...
4
Atheethramesh/worker_management-angualr
8ea03ba
src/app/regester/regester.component.ts
TypeScript
www.github.com/Atheethramesh/worker_management-angualr/tree/main/src/app/regester/regester.component.ts
https://raw.githubusercontent.com/Atheethramesh/worker_management-angualr/8ea03ba/src/app/regester/regester.component.ts
Atheethramesh/worker_management-angualr 8ea03ba src/app/regester/regester.component.ts
true
200
1,800
import { Component } from '@angular/core'; import { FormBuilder,Validators } from '@angular/forms'; import { DataService } from '../services/data.service'; import { Router } from '@angular/router'; @Component({ selector: 'app-regester', templateUrl: './regester.component.html', styleUrls: ['./regester.component...
5
leorcvargas/cloudparty-server
cb6ce1e
src/gameServer/domain/gameServer.ts
TypeScript
www.github.com/leorcvargas/cloudparty-server/tree/main/src/gameServer/domain/gameServer.ts
https://raw.githubusercontent.com/leorcvargas/cloudparty-server/cb6ce1e/src/gameServer/domain/gameServer.ts
leorcvargas/cloudparty-server cb6ce1e src/gameServer/domain/gameServer.ts
true
200
1,015
import { GameServerType } from './gameServerType'; type GameServerProps = { id: string; name: string; hostname: string; port: number; type: GameServerType; createdAt: Date; updatedAt: Date; deletedAt: Date | null; }; class GameServer { public id: string; public name: string; public hostname: str...
3
shashank1623/DocSync
3c29da6
backend/src/middleware/authMiddleware.ts
TypeScript
www.github.com/shashank1623/DocSync/tree/main/backend/src/middleware/authMiddleware.ts
https://raw.githubusercontent.com/shashank1623/DocSync/3c29da6/backend/src/middleware/authMiddleware.ts
shashank1623/DocSync 3c29da6 backend/src/middleware/authMiddleware.ts
true
200
752
import { Request, Response, NextFunction } from "express"; import jwt from "jsonwebtoken" const JWT_SECRET = process.env.JWT_SECRET || "your_jwt_secret"; interface JwtPayload { id: string; } export const verifyToken = (req: Request, res: Response, next: NextFunction) => { const token = req.header("Authoriza...
6
guiesco/design-thinking-ed-platform
32d1e0c
design-thinking-ed-platform-fe/src/app/pages/create-group/create-group.component.spec.ts
TypeScript
www.github.com/guiesco/design-thinking-ed-platform/tree/main/design-thinking-ed-platform-fe/src/app/pages/create-group/create-group.component.spec.ts
https://raw.githubusercontent.com/guiesco/design-thinking-ed-platform/32d1e0c/design-thinking-ed-platform-fe/src/app/pages/create-group/create-group.component.spec.ts
guiesco/design-thinking-ed-platform 32d1e0c design-thinking-ed-platform-fe/src/app/pages/create-group/create-group.component.spec.ts
true
200
1,542
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { MatDialogModule, MatDialogRef } from '@angular/material/dialog'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; import { GroupFacade } from 'src/app/stores/group-state-store/group.facade'; import { UserFacade } fro...
0
devb0x/wharmy
6011d6f
src/app/auth/verify-account/verify-account.component.ts
TypeScript
www.github.com/devb0x/wharmy/tree/main/src/app/auth/verify-account/verify-account.component.ts
https://raw.githubusercontent.com/devb0x/wharmy/6011d6f/src/app/auth/verify-account/verify-account.component.ts
devb0x/wharmy 6011d6f src/app/auth/verify-account/verify-account.component.ts
true
200
1,426
import { Component } from '@angular/core'; import {NgIf} from "@angular/common"; import {HttpClient} from "@angular/common/http"; import {ActivatedRoute, RouterLink} from "@angular/router"; import {environment} from "../../../environments/environment"; import {SpinnerComponent} from "../../layout/spinner/spinner.compo...
2
ercioalendre/api-nestjs-graphql-prisma
b90c35f
src/modules/user/services/update-one-user.service.ts
TypeScript
www.github.com/ercioalendre/api-nestjs-graphql-prisma/tree/main/src/modules/user/services/update-one-user.service.ts
https://raw.githubusercontent.com/ercioalendre/api-nestjs-graphql-prisma/b90c35f/src/modules/user/services/update-one-user.service.ts
ercioalendre/api-nestjs-graphql-prisma b90c35f src/modules/user/services/update-one-user.service.ts
true
200
1,631
import { ConflictException, Injectable, NotFoundException, } from '@nestjs/common'; import { UpdateOneUserRequestInputDto } from '@/modules/user/dtos/input/update-one-user-request-input.dto'; import { UpdateOneUserResponseOutputDto } from '@/modules/user/dtos/output/update-one-user-response-output.dto'; import { ...
1
prgrms-web-devcourse/Team-BackFro-ArtZip-FE
48e65f9
constants/exhibitionGenre.ts
TypeScript
www.github.com/prgrms-web-devcourse/Team-BackFro-ArtZip-FE/tree/main/constants/exhibitionGenre.ts
https://raw.githubusercontent.com/prgrms-web-devcourse/Team-BackFro-ArtZip-FE/48e65f9/constants/exhibitionGenre.ts
prgrms-web-devcourse/Team-BackFro-ArtZip-FE 48e65f9 constants/exhibitionGenre.ts
true
200
588
const EXHIBITION_GENRE = [ { id: 0, name: '모든 장르', value: 'ALL' }, { id: 1, name: '그림', value: 'PAINTING' }, { id: 2, name: '사진', value: 'PHOTO' }, { id: 3, name: '조형', value: 'MOLDING' }, { id: 4, name: '설치', value: 'INSTALLATION' }, { id: 5, name: '미디어', value: 'MEDIA' }, { id: 6, name: '공연', value: 'SH...
4
Bosui/full-stack-app-frontend
9b0272e
vite.config.ts
TypeScript
www.github.com/Bosui/full-stack-app-frontend/tree/main/vite.config.ts
https://raw.githubusercontent.com/Bosui/full-stack-app-frontend/9b0272e/vite.config.ts
Bosui/full-stack-app-frontend 9b0272e vite.config.ts
true
200
470
import react from '@vitejs/plugin-react'; import { defineConfig } from 'vite'; // Importuojame defineConfig import tsconfigPaths from 'vite-tsconfig-paths'; export default defineConfig({ css: { preprocessorOptions: { scss: { additionalData: `@use "@/styles/variables" as vars;`, // Pavyzdinis kintam...
7
adurc/adurc
00ca752
packages/driver-mssql/src/specs/query-builders/update.query-builder.spec.ts
TypeScript
www.github.com/adurc/adurc/tree/main/packages/driver-mssql/src/specs/query-builders/update.query-builder.spec.ts
https://raw.githubusercontent.com/adurc/adurc/00ca752/packages/driver-mssql/src/specs/query-builders/update.query-builder.spec.ts
adurc/adurc 00ca752 packages/driver-mssql/src/specs/query-builders/update.query-builder.spec.ts
true
200
5,141
import { AdurcModel } from '@adurc/core/dist/interfaces/model'; import { EntityConverter } from '../../entity.converter'; import { SimpleAdurcModel } from '../mocks/simple-adurc-model'; import { UpdateQueryBuilder } from '../../query-builders/update.builder'; import { UpdateContextQueryBuilder } from '../../query-build...
3
man0405/Owner-3D-Home
5c8f625
src/middleware.ts
TypeScript
www.github.com/man0405/Owner-3D-Home/tree/main/src/middleware.ts
https://raw.githubusercontent.com/man0405/Owner-3D-Home/5c8f625/src/middleware.ts
man0405/Owner-3D-Home 5c8f625 src/middleware.ts
true
200
1,423
import { ur } from "@faker-js/faker"; import { NextRequest, NextResponse } from "next/server"; export async function middleware(request: NextRequest) { const url = request.nextUrl.clone(); let cookie = request.cookies.get("uss"); console.log("file: middleware.ts:8 ~ middleware ~ cookie:", cookie); // if (url.pathn...
6