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
giveffektivt/donation-platform
a02b37e
src/donor/types.ts
TypeScript
www.github.com/giveffektivt/donation-platform/tree/main/src/donor/types.ts
https://raw.githubusercontent.com/giveffektivt/donation-platform/a02b37e/src/donor/types.ts
giveffektivt/donation-platform a02b37e src/donor/types.ts
true
200
334
export type Donor = { id: string; created_at: Date; updated_at: Date; }; export type DonorWithContactInfo = Donor & { name: string; email: string; }; export type DonorWithSensitiveInfo = DonorWithContactInfo & { address: string; postcode: string; city: string; country: string; tin: string; birth...
7
Wangsheng-Funeral-Parlor/HuTao-GD
e3959ac
src/convertFile/ExcelBinOutput/WeaponLevelExcelConfig.ts
TypeScript
www.github.com/Wangsheng-Funeral-Parlor/HuTao-GD/tree/main/src/convertFile/ExcelBinOutput/WeaponLevelExcelConfig.ts
https://raw.githubusercontent.com/Wangsheng-Funeral-Parlor/HuTao-GD/e3959ac/src/convertFile/ExcelBinOutput/WeaponLevelExcelConfig.ts
Wangsheng-Funeral-Parlor/HuTao-GD e3959ac src/convertFile/ExcelBinOutput/WeaponLevelExcelConfig.ts
true
200
367
import WeaponLevelExcelConfigList from '$DT/ExcelBinOutput/WeaponLevelExcelConfig' import Reader from './reader' export class WeaponLevelExcelConfigReader extends Reader { declare data: WeaponLevelExcelConfigList constructor(ver: string) { super('WeaponLevelExcelConfigData', ver) } } export default (ver: s...
5
Sany18/alter-space.biz.ua
bb71cba
3d-shooter/src/components/ConcreteWall/ConcreteWall.ts
TypeScript
www.github.com/Sany18/alter-space.biz.ua/tree/main/3d-shooter/src/components/ConcreteWall/ConcreteWall.ts
https://raw.githubusercontent.com/Sany18/alter-space.biz.ua/bb71cba/3d-shooter/src/components/ConcreteWall/ConcreteWall.ts
Sany18/alter-space.biz.ua bb71cba 3d-shooter/src/components/ConcreteWall/ConcreteWall.ts
true
200
738
import * as THREE from 'three'; import { loadTexture } from '../../utils/three-utils'; import { AbstractObject } from '../abstract-object'; import { Scene } from '../../types/extended-threejs-types/scene.type'; const wallTexture = loadTexture('wall.jpg'); let counter = 0; export class ConcreteWall extends AbstractO...
3
bookshelves-project/bookshelves
d536cf8
resources/Libraries/useFoliate.ts
TypeScript
www.github.com/bookshelves-project/bookshelves/tree/main/resources/Libraries/useFoliate.ts
https://raw.githubusercontent.com/bookshelves-project/bookshelves/d536cf8/resources/Libraries/useFoliate.ts
bookshelves-project/bookshelves d536cf8 resources/Libraries/useFoliate.ts
true
200
397
import type { Ebook } from '@/Types' import { FoliateEngine } from './Foliate' // import * as foliate from './Foliate/library/viewer' export async function useFoliate(url: string | undefined) { const engine = await FoliateEngine.make(url) // const native = await foliate.makeBook(url) console.log(engine) consol...
0
eb47780/Smart-Health-System
460e63a
client-app/src/app/stores/weightStore.ts
TypeScript
www.github.com/eb47780/Smart-Health-System/tree/main/client-app/src/app/stores/weightStore.ts
https://raw.githubusercontent.com/eb47780/Smart-Health-System/460e63a/client-app/src/app/stores/weightStore.ts
eb47780/Smart-Health-System 460e63a client-app/src/app/stores/weightStore.ts
true
200
3,672
import { makeAutoObservable, runInAction} from "mobx"; import agent from "../api/agent"; import {v4 as uuid} from'uuid'; import { Patient } from "../models/patient"; import { Doctor } from "../models/doctor"; import { Prescription } from "../models/prescription"; import { Weight } from "../models/weight"; export defa...
1
r96922081/r96922081.github.io
09afce7
my_modules/generated_defs.ts
TypeScript
www.github.com/r96922081/r96922081.github.io/tree/main/my_modules/generated_defs.ts
https://raw.githubusercontent.com/r96922081/r96922081.github.io/09afce7/my_modules/generated_defs.ts
r96922081/r96922081.github.io 09afce7 my_modules/generated_defs.ts
true
200
5,362
import * as collapse_menu from "./collapse_menu.js" import * as index from "./index.js" export var landscapes : string[] = [] landscapes.push("DSCN2598.png") landscapes.push("DSCN3670.png") landscapes.push("DSCN3674.png") landscapes.push("DSCN3705.png") landscapes.push("DSCN3896.png") landscapes.push("DSC_0465.png") l...
4
ASW-Project-Team/Bagni-X-Booking-System
bd10833
client/src/app/pages/admin/admin-bookings/admin-bookings.component.ts
TypeScript
www.github.com/ASW-Project-Team/Bagni-X-Booking-System/tree/main/client/src/app/pages/admin/admin-bookings/admin-bookings.component.ts
https://raw.githubusercontent.com/ASW-Project-Team/Bagni-X-Booking-System/bd10833/client/src/app/pages/admin/admin-bookings/admin-bookings.component.ts
ASW-Project-Team/Bagni-X-Booking-System bd10833 client/src/app/pages/admin/admin-bookings/admin-bookings.component.ts
true
200
1,359
import { Component, OnInit } from '@angular/core'; import {Booking} from "../../../shared/models/booking.model"; import {ApiService} from "../../../core/api/api.service"; import {PageEvent} from "@angular/material/paginator"; @Component({ selector: 'app-admin-bookings', templateUrl: './admin-bookings.component.htm...
7
SaiGaneshPS/smart-resume-optimzer
8310777
backend/src/services/emailService.ts
TypeScript
www.github.com/SaiGaneshPS/smart-resume-optimzer/tree/main/backend/src/services/emailService.ts
https://raw.githubusercontent.com/SaiGaneshPS/smart-resume-optimzer/8310777/backend/src/services/emailService.ts
SaiGaneshPS/smart-resume-optimzer 8310777 backend/src/services/emailService.ts
true
200
1,334
import nodemailer from 'nodemailer'; export class EmailService { private transporter; constructor() { this.transporter = nodemailer.createTransport({ service: process.env.EMAIL_SERVICE, auth: { user: process.env.EMAIL_USERNAME, pass: process.env.EMAIL_PASSWORD, }, }); }...
5
Drallireeh/AngularFihr
d24311e
src/app/Components/Statics/Header/header-app-name/header-app-name.component.spec.ts
TypeScript
www.github.com/Drallireeh/AngularFihr/tree/main/src/app/Components/Statics/Header/header-app-name/header-app-name.component.spec.ts
https://raw.githubusercontent.com/Drallireeh/AngularFihr/d24311e/src/app/Components/Statics/Header/header-app-name/header-app-name.component.spec.ts
Drallireeh/AngularFihr d24311e src/app/Components/Statics/Header/header-app-name/header-app-name.component.spec.ts
true
200
650
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { HeaderAppNameComponent } from './header-app-name.component'; describe('HeaderAppNameComponent', () => { let component: HeaderAppNameComponent; let fixture: ComponentFixture<HeaderAppNameComponent>; beforeEach(async () => { await Te...
3
Ruvini-Rangathara-org/NestJs-Security-Demo
534c78a
src/in-memory-user-jwt/auth/auth.module.ts
TypeScript
www.github.com/Ruvini-Rangathara-org/NestJs-Security-Demo/tree/main/src/in-memory-user-jwt/auth/auth.module.ts
https://raw.githubusercontent.com/Ruvini-Rangathara-org/NestJs-Security-Demo/534c78a/src/in-memory-user-jwt/auth/auth.module.ts
Ruvini-Rangathara-org/NestJs-Security-Demo 534c78a src/in-memory-user-jwt/auth/auth.module.ts
true
200
804
import { Module } from '@nestjs/common'; import { AuthService } from './auth.service'; import { UsersModule } from '../users/users.module'; import { JwtModule } from '@nestjs/jwt'; import { AuthController } from './auth.controller'; import { jwtConstants } from './constants'; import { AuthGuard } from './auth.guard'; i...
0
theAshura/All-project
f4f2ecb
logistic123/src/models/api/ship-department/ship-department.model.ts
TypeScript
www.github.com/theAshura/All-project/tree/main/logistic123/src/models/api/ship-department/ship-department.model.ts
https://raw.githubusercontent.com/theAshura/All-project/f4f2ecb/logistic123/src/models/api/ship-department/ship-department.model.ts
theAshura/All-project f4f2ecb logistic123/src/models/api/ship-department/ship-department.model.ts
true
200
1,470
import { ErrorField } from 'models/common.model'; export enum Scope { internal = 'internal', external = 'external', } export enum Status { active = 'active', inactive = 'inactive', } export interface ShipDepartment { id: string; name: string; code: string; status: string; description?: string; cre...
4
amrrdev/Food-Order-System-API
962cb44
middlewares/globalErrorHandler.ts
TypeScript
www.github.com/amrrdev/Food-Order-System-API/tree/main/middlewares/globalErrorHandler.ts
https://raw.githubusercontent.com/amrrdev/Food-Order-System-API/962cb44/middlewares/globalErrorHandler.ts
amrrdev/Food-Order-System-API 962cb44 middlewares/globalErrorHandler.ts
true
200
1,003
import { Mongo11000Error } from "../dto"; import AppError from "../utility/AppError"; import express, { Request, Response, NextFunction } from "express"; type DatabaseError = Mongo11000Error; export default (err: AppError | DatabaseError, req: Request, res: Response, next: NextFunction) => { if ("code" in err && er...
1
darlanalp/ecommerceMentoria
a3274e5
modules/feature/auth/form/src/lib/auth-form/auth-form-email/auth-form-email.component.spec.ts
TypeScript
www.github.com/darlanalp/ecommerceMentoria/tree/main/modules/feature/auth/form/src/lib/auth-form/auth-form-email/auth-form-email.component.spec.ts
https://raw.githubusercontent.com/darlanalp/ecommerceMentoria/a3274e5/modules/feature/auth/form/src/lib/auth-form/auth-form-email/auth-form-email.component.spec.ts
darlanalp/ecommerceMentoria a3274e5 modules/feature/auth/form/src/lib/auth-form/auth-form-email/auth-form-email.component.spec.ts
true
200
824
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { AuthFormComponent } from '../auth-form.component'; import { AuthFormEmailComponent } from './auth-form-email.component'; describe('AuthFormEmailComponent', () => { let component: AuthFormEmailComponent; let fixture: ComponentFixture<AuthFo...
5
HariO7/Araigen_Assignment
00e0f4e
server/src/models/products.models.ts
TypeScript
www.github.com/HariO7/Araigen_Assignment/tree/main/server/src/models/products.models.ts
https://raw.githubusercontent.com/HariO7/Araigen_Assignment/00e0f4e/server/src/models/products.models.ts
HariO7/Araigen_Assignment 00e0f4e server/src/models/products.models.ts
true
200
637
import mongoose from "mongoose"; export interface ProductType { _id: mongoose.Types.ObjectId; productName: string; price: number; category: string; image: string; } const ProductSchema = new mongoose.Schema({ _id: { type: mongoose.Types.ObjectId, default: new mongoose.Types.ObjectId(), }, prod...
3
gauravnegi1998/Ecommerce-frontend
9590e3c
src/app/pipes/dateFormat.pipe.ts
TypeScript
www.github.com/gauravnegi1998/Ecommerce-frontend/tree/main/src/app/pipes/dateFormat.pipe.ts
https://raw.githubusercontent.com/gauravnegi1998/Ecommerce-frontend/9590e3c/src/app/pipes/dateFormat.pipe.ts
gauravnegi1998/Ecommerce-frontend 9590e3c src/app/pipes/dateFormat.pipe.ts
true
200
302
import { Pipe, PipeTransform } from "@angular/core"; import moment from "moment"; @Pipe({ name: "dateFormat" }) export class DateFormatPipe implements PipeTransform { transform(value: Date, format: string = "DD MMMM yyyy", ...args: any[]) { return moment(value).format(format) } }
0
harigupta1979/AcrossAssist
636b449
src/app/Services/toast.service.ts
TypeScript
www.github.com/harigupta1979/AcrossAssist/tree/main/src/app/Services/toast.service.ts
https://raw.githubusercontent.com/harigupta1979/AcrossAssist/636b449/src/app/Services/toast.service.ts
harigupta1979/AcrossAssist 636b449 src/app/Services/toast.service.ts
true
200
1,323
import { Injectable } from '@angular/core'; import { MatSnackBar } from '@angular/material/snack-bar'; @Injectable({ providedIn: 'root', }) export class ToastService { constructor(private snackBar: MatSnackBar) {} showSuccess(message: string, action: string = 'OK') { this.snackBar.open(message, action, { ...
7
NicoTorres05/Angular-empresa-empleados
62403ca
src/app/component/company/create-comp/create-comp.component.ts
TypeScript
www.github.com/NicoTorres05/Angular-empresa-empleados/tree/main/src/app/component/company/create-comp/create-comp.component.ts
https://raw.githubusercontent.com/NicoTorres05/Angular-empresa-empleados/62403ca/src/app/component/company/create-comp/create-comp.component.ts
NicoTorres05/Angular-empresa-empleados 62403ca src/app/component/company/create-comp/create-comp.component.ts
true
200
2,079
import { Component, inject } from '@angular/core'; import { FormControl, FormGroup, ReactiveFormsModule, Validators } from "@angular/forms"; import { CommonModule } from '@angular/common'; import { Router } from '@angular/router'; import {Company} from '../../../model/Company'; import {CompanyService} from '../../../s...
4
Sonic853/CS2-Gamestate-Integration-Data
cd88dda
src/player/weapon/machinegun.ts
TypeScript
www.github.com/Sonic853/CS2-Gamestate-Integration-Data/tree/main/src/player/weapon/machinegun.ts
https://raw.githubusercontent.com/Sonic853/CS2-Gamestate-Integration-Data/cd88dda/src/player/weapon/machinegun.ts
Sonic853/CS2-Gamestate-Integration-Data cd88dda src/player/weapon/machinegun.ts
true
200
439
import { Weapon } from "./base/weapon" /** * 机枪 * * "Hey man! Hold it down, It"s a Machine Gun! Machine Gun!" * * "Haha, Okay!" */ export interface MachineGun extends Weapon { /** 机枪名称 */ name: "weapon_m249" | "weapon_negev" /** 机枪类型 */ type: "Machine Gun" } /** * 判断机枪 */ export const MachineGunOf = ...
5
PavelBiriukov/Evrodom
e157052
frontend/src/store/action-creators/cartItems.ts
TypeScript
www.github.com/PavelBiriukov/Evrodom/tree/main/frontend/src/store/action-creators/cartItems.ts
https://raw.githubusercontent.com/PavelBiriukov/Evrodom/e157052/frontend/src/store/action-creators/cartItems.ts
PavelBiriukov/Evrodom e157052 frontend/src/store/action-creators/cartItems.ts
true
200
3,192
import axios from "axios"; import { Dispatch } from "react"; import { BasketAction, BasketActionType } from "../../type/basket"; export const addToBasket = (item: any,) => { return async (dispatch: Dispatch<BasketAction>) => { try { const response = await axios.post('https://eurodom.kg/api/user...
1
RoenLie/weave
a33a192
packages/vite-plugins/import-css-sheet/src/index.ts
TypeScript
www.github.com/RoenLie/weave/tree/main/packages/vite-plugins/import-css-sheet/src/index.ts
https://raw.githubusercontent.com/RoenLie/weave/a33a192/packages/vite-plugins/import-css-sheet/src/index.ts
RoenLie/weave a33a192 packages/vite-plugins/import-css-sheet/src/index.ts
true
200
1,256
import type { PluginOption } from 'vite'; import { ImportCSSSheet } from './import-css-sheet.js'; export const importCSSSheet = (options?: Partial<{ transformers: ((code: string, id: string) => string)[]; additionalCode: string[]; minify: boolean; }>): PluginOption => { const { transformer...
3
PandaGuerrier/H2R-Website
594f74e
app/Middleware/Default.ts
TypeScript
www.github.com/PandaGuerrier/H2R-Website/tree/main/app/Middleware/Default.ts
https://raw.githubusercontent.com/PandaGuerrier/H2R-Website/594f74e/app/Middleware/Default.ts
PandaGuerrier/H2R-Website 594f74e app/Middleware/Default.ts
true
200
565
import type { HttpContextContract } from '@ioc:Adonis/Core/HttpContext' import User from 'App/Models/User' export default class Default { public async handle({ auth, response }: HttpContextContract, next: () => Promise<void>) { const user = auth.user as User if(!hasRole(user)) { await next() ...
0
melquisedeque-magalhaes/image-generator-ia
f34ec18
src/hook/useGenerateImg.ts
TypeScript
www.github.com/melquisedeque-magalhaes/image-generator-ia/tree/main/src/hook/useGenerateImg.ts
https://raw.githubusercontent.com/melquisedeque-magalhaes/image-generator-ia/f34ec18/src/hook/useGenerateImg.ts
melquisedeque-magalhaes/image-generator-ia f34ec18 src/hook/useGenerateImg.ts
true
200
3,073
import { openIaConfig } from '@/service/openIaConfig' import { ImagesResponseDataInner } from 'openai' import { FormEvent, useCallback, useEffect, useState } from 'react' import { saveAs } from 'file-saver' export function useGenerateImg() { const [placeholder, setPlaceholder] = useState<string | null>(null) const...
4
ericpeweh/github-repositories-explorer
76d5d7c
src/hooks/api/useGetUserRepositories.ts
TypeScript
www.github.com/ericpeweh/github-repositories-explorer/tree/main/src/hooks/api/useGetUserRepositories.ts
https://raw.githubusercontent.com/ericpeweh/github-repositories-explorer/76d5d7c/src/hooks/api/useGetUserRepositories.ts
ericpeweh/github-repositories-explorer 76d5d7c src/hooks/api/useGetUserRepositories.ts
true
200
730
// API import { fetchUserRepositores } from "../../api/repositories"; // Hooks import { useQuery } from "@tanstack/react-query"; // Helpers import { REPOS_DATA_KEY } from "../../helpers/constants"; // Types import { TGetUserRepositoriesResponse } from "../../types/api/repositories"; import { IRequestError } from ".....
7
Aabhishek-Raj/ShareSpace
2e90938
payments/src/events/listeners/__test__/orderCancelledListener.test.ts
TypeScript
www.github.com/Aabhishek-Raj/ShareSpace/tree/main/payments/src/events/listeners/__test__/orderCancelledListener.test.ts
https://raw.githubusercontent.com/Aabhishek-Raj/ShareSpace/2e90938/payments/src/events/listeners/__test__/orderCancelledListener.test.ts
Aabhishek-Raj/ShareSpace 2e90938 payments/src/events/listeners/__test__/orderCancelledListener.test.ts
true
200
1,362
import mongoose from "mongoose" import { Message } from 'node-nats-streaming' import { OrderCancelledEvent, OrderStatus } from "@sharespace/common" import { OrderCancelledListener } from "../orderCancelledListener" import { natsWrapper } from "../../../natsWrapper" import { Order } from "../../../models/order" const s...
1
viliussab/t3-app
d5bca28
src/pages/api/trpc/[trpc].ts
TypeScript
www.github.com/viliussab/t3-app/tree/main/src/pages/api/trpc/[trpc].ts
https://raw.githubusercontent.com/viliussab/t3-app/d5bca28/src/pages/api/trpc/%5Btrpc%5D.ts
viliussab/t3-app d5bca28 src/pages/api/trpc/[trpc].ts
true
200
518
import { createNextApiHandler } from "@trpc/server/adapters/next"; import { env } from "../../../env/server.mjs"; import { appRouter } from "../../../server/api"; import { createContext } from "../../../server/api/context"; export default createNextApiHandler({ router: appRouter, createContext, onError: env....
5
ageerle/ruoyi-admin
4a2aa60
apps/web-antd/src/store/dict.ts
TypeScript
www.github.com/ageerle/ruoyi-admin/tree/main/apps/web-antd/src/store/dict.ts
https://raw.githubusercontent.com/ageerle/ruoyi-admin/4a2aa60/apps/web-antd/src/store/dict.ts
ageerle/ruoyi-admin 4a2aa60 apps/web-antd/src/store/dict.ts
true
200
2,766
/* eslint-disable @typescript-eslint/no-non-null-assertion */ import type { DictData } from '#/api/system/dict/dict-data-model'; import { reactive } from 'vue'; import { defineStore } from 'pinia'; /** * antd使用 select和radio通用 * 本质上是对DictData的拓展 */ export interface DictOption extends DictData { disabled?: boolea...
6
CryptoBlades/village-builder
8d39fc6
src/app/solidity/king-vault.service.ts
TypeScript
www.github.com/CryptoBlades/village-builder/tree/main/src/app/solidity/king-vault.service.ts
https://raw.githubusercontent.com/CryptoBlades/village-builder/8d39fc6/src/app/solidity/king-vault.service.ts
CryptoBlades/village-builder 8d39fc6 src/app/solidity/king-vault.service.ts
true
200
1,675
import {Injectable} from '@angular/core'; import {Contract} from "web3-eth-contract"; import {Store} from "@ngxs/store"; import {Web3Service} from "../services/web3.service"; import KingVault from "../../../build/contracts/KingVault.json"; import {UntilDestroy} from "@ngneat/until-destroy"; import {KingService} from "....
2
fil-studio/fils
c3acbdb
examples/src/selective-glow/js/App.ts
TypeScript
www.github.com/fil-studio/fils/tree/main/examples/src/selective-glow/js/App.ts
https://raw.githubusercontent.com/fil-studio/fils/c3acbdb/examples/src/selective-glow/js/App.ts
fil-studio/fils c3acbdb examples/src/selective-glow/js/App.ts
true
200
4,111
import { BoxGeometry, CylinderGeometry, DirectionalLight, Mesh, MeshPhongMaterial, ShaderChunk, SphereGeometry, TorusKnotGeometry } from 'three'; import Stats from 'three/examples/jsm/libs/stats.module.js'; import { GUI } from 'three/examples/jsm/libs/lil-gui.module.min.js'; import { OrbitControls } from 'three/example...
3
Goodnessmbakara/BlockVerify
5e82f61
server/routes.ts
TypeScript
www.github.com/Goodnessmbakara/BlockVerify/tree/main/server/routes.ts
https://raw.githubusercontent.com/Goodnessmbakara/BlockVerify/5e82f61/server/routes.ts
Goodnessmbakara/BlockVerify 5e82f61 server/routes.ts
true
200
2,471
import type { Express } from "express"; import { createServer, type Server } from "http"; import { setupAuth } from "./auth"; import { storage } from "./storage"; import { insertCredentialSchema } from "@shared/schema"; import { Connection, PublicKey } from "@solana/web3.js"; import { z } from "zod"; // Extract only u...
0
matheusmirandaferreira/rancho-montana
7ab6d2f
src/components/HorsesDetailsCarousel/styles.ts
TypeScript
www.github.com/matheusmirandaferreira/rancho-montana/tree/main/src/components/HorsesDetailsCarousel/styles.ts
https://raw.githubusercontent.com/matheusmirandaferreira/rancho-montana/7ab6d2f/src/components/HorsesDetailsCarousel/styles.ts
matheusmirandaferreira/rancho-montana 7ab6d2f src/components/HorsesDetailsCarousel/styles.ts
true
200
1,142
import styled, { css } from 'styled-components'; export const Container = styled.div` ${({ theme }) => css` .expanded-img { width: 100%; height: 300px; border-radius: 0.5rem; background-color: ${theme.white}; box-shadow: 0 0 8px ${theme.gray500}; display: flex; align-it...
4
philip-peterson/webdevchallenge
2a73cc4
src/styles.ts
TypeScript
www.github.com/philip-peterson/webdevchallenge/tree/main/src/styles.ts
https://raw.githubusercontent.com/philip-peterson/webdevchallenge/2a73cc4/src/styles.ts
philip-peterson/webdevchallenge 2a73cc4 src/styles.ts
true
200
464
import styled from 'styled-components' export const Container = styled.div` background: red; text-align: center; line-height: 0; background: radial-gradient(circle at 50% 0%, rgba(27,31,51,1) 0%, rgba(76,54,47,1) 50%, rgba(74,175,184,1) 100%); ` export const HeadFrame = styled.div` position: relative; dis...
7
juan-esteban-daza/pokeshowdown-teambuilder
d0b8de1
pages/PokemonDetailList.ts
TypeScript
www.github.com/juan-esteban-daza/pokeshowdown-teambuilder/tree/main/pages/PokemonDetailList.ts
https://raw.githubusercontent.com/juan-esteban-daza/pokeshowdown-teambuilder/d0b8de1/pages/PokemonDetailList.ts
juan-esteban-daza/pokeshowdown-teambuilder d0b8de1 pages/PokemonDetailList.ts
true
200
2,607
// PokemonDetailsPage.ts import { Page, Locator, expect } from '@playwright/test'; export class PokemonDetailsPage { readonly page: Page; readonly itemSlot: Locator; readonly abilitySlot: Locator; readonly ivSpreadDropdown: Locator; readonly evStatInputs: { [key: string]: Locator }; readonly ev...
1
franciscoalex2407/primeng-start
f49ddd7
src/app/app.component.ts
TypeScript
www.github.com/franciscoalex2407/primeng-start/tree/main/src/app/app.component.ts
https://raw.githubusercontent.com/franciscoalex2407/primeng-start/f49ddd7/src/app/app.component.ts
franciscoalex2407/primeng-start f49ddd7 src/app/app.component.ts
true
200
526
import { Component } from '@angular/core'; import { RouterOutlet } from '@angular/router'; import { LayoutService } from './layout/service/layout.service'; @Component({ selector: 'app-root', imports: [RouterOutlet], templateUrl: './app.component.html', styleUrl: './app.component.scss', }) export class AppComponent...
6
DevPatils/Fundev-Frontend
ebcabe0
Fundevfrontend/src/assets/Services/PatentService.ts
TypeScript
www.github.com/DevPatils/Fundev-Frontend/tree/main/Fundevfrontend/src/assets/Services/PatentService.ts
https://raw.githubusercontent.com/DevPatils/Fundev-Frontend/ebcabe0/Fundevfrontend/src/assets/Services/PatentService.ts
DevPatils/Fundev-Frontend ebcabe0 Fundevfrontend/src/assets/Services/PatentService.ts
true
200
1,065
// src/services/patentService.ts const API_BASE_URL = 'https://fundev-backend.onrender.com'; // Adjust this based on your backend URL // const API_BASE_URL='http://localhost:3000'; export const fetchAllPatents = async () => { const response = await fetch(`${API_BASE_URL}/api/patent/getAllPatents`); if (!respon...
2
ITSS-Academy/Soliqs
44e9117
server/src/chat/entities/chat.entity.ts
TypeScript
www.github.com/ITSS-Academy/Soliqs/tree/main/server/src/chat/entities/chat.entity.ts
https://raw.githubusercontent.com/ITSS-Academy/Soliqs/44e9117/server/src/chat/entities/chat.entity.ts
ITSS-Academy/Soliqs 44e9117 server/src/chat/entities/chat.entity.ts
true
200
408
import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose'; import mongoose, { HydratedDocument } from 'mongoose'; export type ChatDocument = HydratedDocument<Chat>; @Schema({ timestamps: true }) export class Chat { @Prop() name: string; @Prop({ type: mongoose.Types.ObjectId, ref: 'Profile', required: true...
3
jeanpcoelho/ProjetoNestJS
120a5fa
dist/users/repositories/users-repository.service.d.ts
TypeScript
www.github.com/jeanpcoelho/ProjetoNestJS/tree/main/dist/users/repositories/users-repository.service.d.ts
https://raw.githubusercontent.com/jeanpcoelho/ProjetoNestJS/120a5fa/dist/users/repositories/users-repository.service.d.ts
jeanpcoelho/ProjetoNestJS 120a5fa dist/users/repositories/users-repository.service.d.ts
true
200
976
import { Users } from "@prisma/client"; import { CreateUsersDTO } from "../dtos/create-usersDTO"; import { UpdateUsersDTO } from "d:/Documentos/CloneGit/nestjs-prisma/src/users/dtos/update-usersDTO"; import { PrismaService } from "src/prisma/prisma.service"; export declare class UsersRepositoryService { private rea...
0
IMFIL/ecom-intelligence
08870c7
fe-app/src/types/competitor.ts
TypeScript
www.github.com/IMFIL/ecom-intelligence/tree/main/fe-app/src/types/competitor.ts
https://raw.githubusercontent.com/IMFIL/ecom-intelligence/08870c7/fe-app/src/types/competitor.ts
IMFIL/ecom-intelligence 08870c7 fe-app/src/types/competitor.ts
true
200
523
export interface Technology { name: string; category: string; } export interface Competitor { name: string; description: string; strengths: string[]; weaknesses: string[]; revenue?: string; traffic?: string; threats?: string[]; technologies?: Technology[]; website?: string; speedIndex?: number...
4
kostya12362/hardhat-subgraph-local
2c84276
dex223-core/hardhat.config.ts
TypeScript
www.github.com/kostya12362/hardhat-subgraph-local/tree/main/dex223-core/hardhat.config.ts
https://raw.githubusercontent.com/kostya12362/hardhat-subgraph-local/2c84276/dex223-core/hardhat.config.ts
kostya12362/hardhat-subgraph-local 2c84276 dex223-core/hardhat.config.ts
true
200
1,511
import "solidity-coverage"; import "@nomicfoundation/hardhat-toolbox"; // import "@nomiclabs/hardhat-ethers"; import { HardhatUserConfig, task } from "hardhat/config"; require("dotenv").config(); const DEFAULT_MNEMONIC = "test test test test test test test test test test test junk"; const MNEMONIC = process.env.MN...
7
LuchoGT/aula_plantilla_practica
c5f0c85
src/services/ApiService.ts
TypeScript
www.github.com/LuchoGT/aula_plantilla_practica/tree/main/src/services/ApiService.ts
https://raw.githubusercontent.com/LuchoGT/aula_plantilla_practica/c5f0c85/src/services/ApiService.ts
LuchoGT/aula_plantilla_practica c5f0c85 src/services/ApiService.ts
true
200
2,042
import { User } from "@/interfaces/user"; import Service from "./Service"; class ApiService extends Service { async getLogin({ name, password }: User): Promise<any> { try { const response = await this.http.post("/api/v1/auth", { name, password }); return this.handleResponse(response); } catch (...
2
Raphael2001/ServerValidationNext
7262482
src/constants/form-inputs-types.ts
TypeScript
www.github.com/Raphael2001/ServerValidationNext/tree/main/src/constants/form-inputs-types.ts
https://raw.githubusercontent.com/Raphael2001/ServerValidationNext/7262482/src/constants/form-inputs-types.ts
Raphael2001/ServerValidationNext 7262482 src/constants/form-inputs-types.ts
true
200
647
const FORM_INPUTS_TYPES = { INPUT: "input", RADIO: "radio", AUTO_COMPLETE: "auto-complete", SELECT: "select", ANIMATED_INPUT: "animated-input", TEXT_AREA: "text-area", ANIMATED_TEXT_AREA: "animated-text-area", AUTO_GROW_TEXT_AREA: "auto-grow-text-area", ANIMATED_AUTO_GROW_TEXT_AREA: "animated-auto-gro...
3
120dev/marvel-project-nestjs
0deb435
API/src/series/series-query-params.middleware.spec.ts
TypeScript
www.github.com/120dev/marvel-project-nestjs/tree/main/API/src/series/series-query-params.middleware.spec.ts
https://raw.githubusercontent.com/120dev/marvel-project-nestjs/0deb435/API/src/series/series-query-params.middleware.spec.ts
120dev/marvel-project-nestjs 0deb435 API/src/series/series-query-params.middleware.spec.ts
true
200
1,526
import { SeriesQueryParamsMiddleware } from './series-query-params.middleware'; import { HttpException } from '@nestjs/common'; import { CacheService } from '../cache/cache.service'; describe('SeriesQueryParamsMiddleware', () => { let middleware: SeriesQueryParamsMiddleware; let mockCacheService: CacheService; l...
0
leaderlist/red-book
0cc8921
src/stores/storage.ts
TypeScript
www.github.com/leaderlist/red-book/tree/main/src/stores/storage.ts
https://raw.githubusercontent.com/leaderlist/red-book/0cc8921/src/stores/storage.ts
leaderlist/red-book 0cc8921 src/stores/storage.ts
true
200
1,289
import AsyncStorage from '@react-native-async-storage/async-storage'; import { ToastAndroid } from 'react-native'; export const setStorage = <T>(key: string, value: T) => { try { return AsyncStorage.setItem(key, JSON.stringify(value)); } catch (e) { ToastAndroid.show('数据保存失败,请重试', ToastAndroid.SHORT); } ...
5
WeBoost/aurora
42a3d78
hooks/useTemplates.ts
TypeScript
www.github.com/WeBoost/aurora/tree/main/hooks/useTemplates.ts
https://raw.githubusercontent.com/WeBoost/aurora/42a3d78/hooks/useTemplates.ts
WeBoost/aurora 42a3d78 hooks/useTemplates.ts
true
200
3,865
import { useState } from 'react'; import { supabase } from '@/lib/supabase'; export const TEMPLATES = { restaurant: { id: 'restaurant', name: 'Restaurant', description: 'Modern design perfect for restaurants and dining establishments', preview: 'https://images.unsplash.com/photo-1517248135467-4c7edca...
4
DaniellaMoran/HappyBirthdayMyLove
30a26d3
src/app/components/pages/home-page/home-page.component.ts
TypeScript
www.github.com/DaniellaMoran/HappyBirthdayMyLove/tree/main/src/app/components/pages/home-page/home-page.component.ts
https://raw.githubusercontent.com/DaniellaMoran/HappyBirthdayMyLove/30a26d3/src/app/components/pages/home-page/home-page.component.ts
DaniellaMoran/HappyBirthdayMyLove 30a26d3 src/app/components/pages/home-page/home-page.component.ts
true
200
1,029
import { GetPressedButtonsService } from './../../../services/get-pressed-buttons.service'; import { Component, OnInit } from '@angular/core'; @Component({ selector: 'home-page', templateUrl: './home-page.component.html', styleUrls: ['./home-page.component.css'] }) export class HomePageComponent { apps: any[] ...
7
deshmukhsagar940/Project
2eb668c
Banking/src/app/admin/account/account.component.ts
TypeScript
www.github.com/deshmukhsagar940/Project/tree/main/Banking/src/app/admin/account/account.component.ts
https://raw.githubusercontent.com/deshmukhsagar940/Project/2eb668c/Banking/src/app/admin/account/account.component.ts
deshmukhsagar940/Project 2eb668c Banking/src/app/admin/account/account.component.ts
true
200
8,097
import { Component, ElementRef, ViewChild, OnInit } from '@angular/core'; import {HttpClient} from '@angular/common/http'; import { MatDialog, MatPaginator, MatSort} from '@angular/material'; import {Observable} from 'rxjs/Observable'; import {BehaviorSubject} from 'rxjs/BehaviorSubject'; import {DataSource} from '@ang...
6
zer0-os/zOS
dffa284
src/store/message-info/saga.ts
TypeScript
www.github.com/zer0-os/zOS/tree/main/src/store/message-info/saga.ts
https://raw.githubusercontent.com/zer0-os/zOS/dffa284/src/store/message-info/saga.ts
zer0-os/zOS dffa284 src/store/message-info/saga.ts
true
200
1,107
import { call, fork, put, take, takeLatest } from 'redux-saga/effects'; import { SagaActionTypes, Stage, setSelectedMessageId, setStage } from './index'; import { Events, getAuthChannel } from '../authentication/channels'; import { mapMessageReadByUsers } from '../messages/saga'; import { resetConversationManagement }...
2
mdrasel101126/book-catalog-backend
81d7546
src/app/routes/index.ts
TypeScript
www.github.com/mdrasel101126/book-catalog-backend/tree/main/src/app/routes/index.ts
https://raw.githubusercontent.com/mdrasel101126/book-catalog-backend/81d7546/src/app/routes/index.ts
mdrasel101126/book-catalog-backend 81d7546 src/app/routes/index.ts
true
200
529
import { Router } from "express"; import { UserRoute } from "../modules/user/user.route"; import { BookRoute } from "../modules/book/book.route"; import { ReviewRoute } from "../modules/review/review.route"; const router = Router(); const moduleRoutes = [ { path: "/users", route: UserRoute, }, { pat...
3
eormeno12/mipichanga-fields-api
da634af
src/fields/dtos/fields.dtos.ts
TypeScript
www.github.com/eormeno12/mipichanga-fields-api/tree/main/src/fields/dtos/fields.dtos.ts
https://raw.githubusercontent.com/eormeno12/mipichanga-fields-api/da634af/src/fields/dtos/fields.dtos.ts
eormeno12/mipichanga-fields-api da634af src/fields/dtos/fields.dtos.ts
true
200
1,074
import { ApiProperty, PartialType } from '@nestjs/swagger'; import { Type } from 'class-transformer'; import { IsNotEmpty, IsString, IsUrl, ValidateNested } from 'class-validator'; export class FieldLocationDto { @ApiProperty({ description: 'El prefijo de la ubicación' }) @IsNotEmpty() @IsString() readonly pre...
0
ony3000-lab/duty-table-clean-architecture
cc45b72
layers/layer-0/helpers.ts
TypeScript
www.github.com/ony3000-lab/duty-table-clean-architecture/tree/main/layers/layer-0/helpers.ts
https://raw.githubusercontent.com/ony3000-lab/duty-table-clean-architecture/cc45b72/layers/layer-0/helpers.ts
ony3000-lab/duty-table-clean-architecture cc45b72 layers/layer-0/helpers.ts
true
200
735
import { SUN, FRI, SAT } from 'shared-kernel'; import type { Day, Slot } from './entities'; export function weightedValueOf(day: Day) { if ( day.isPublicHoliday || [SAT, SUN].includes(day.dayOfTheWeek) ) { return 2; } if ([FRI].includes(day.dayOfTheWeek)) { return 1.5; } return 1; } exp...
4
areddicks1014/portfolio-mini
f87360c
src/services/theme.service.ts
TypeScript
www.github.com/areddicks1014/portfolio-mini/tree/main/src/services/theme.service.ts
https://raw.githubusercontent.com/areddicks1014/portfolio-mini/f87360c/src/services/theme.service.ts
areddicks1014/portfolio-mini f87360c src/services/theme.service.ts
true
200
1,470
// /src/services/theme.ts export enum Theme { Light = "light", Dark = "dark", } export const getTheme = (): Theme => { if (typeof window !== 'undefined' && typeof localStorage !== "undefined" && localStorage.getItem("theme")) { return localStorage.getItem("theme") as Theme; } // Check if window is defi...
7
raviraj845/Todo-Frontend-Angular
d31b2d7
src/app/service/http/http-interceptor-basic.service.ts
TypeScript
www.github.com/raviraj845/Todo-Frontend-Angular/tree/main/src/app/service/http/http-interceptor-basic.service.ts
https://raw.githubusercontent.com/raviraj845/Todo-Frontend-Angular/d31b2d7/src/app/service/http/http-interceptor-basic.service.ts
raviraj845/Todo-Frontend-Angular d31b2d7 src/app/service/http/http-interceptor-basic.service.ts
true
200
1,043
import { Injectable } from '@angular/core'; import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BasicAuthenticationService } from '../basic-authentication.service'; @Injectable({ providedIn: 'root' }) export class HttpInterceptorBas...
6
davideastmond/dreamjournal-web
005d621
src/utils/string-helpers.ts
TypeScript
www.github.com/davideastmond/dreamjournal-web/tree/main/src/utils/string-helpers.ts
https://raw.githubusercontent.com/davideastmond/dreamjournal-web/005d621/src/utils/string-helpers.ts
davideastmond/dreamjournal-web 005d621 src/utils/string-helpers.ts
true
200
749
import dayjs from "dayjs"; const excerpt = require("excerpt"); export const isEmailValid = ({ email }: { email?: string | null }): boolean => { if (!email) return false; const regEx = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-...
2
Lao-Qi/XiaoQiu
dcdb55f
eventsHandle/groupchat/signIn.ts
TypeScript
www.github.com/Lao-Qi/XiaoQiu/tree/main/eventsHandle/groupchat/signIn.ts
https://raw.githubusercontent.com/Lao-Qi/XiaoQiu/dcdb55f/eventsHandle/groupchat/signIn.ts
Lao-Qi/XiaoQiu dcdb55f eventsHandle/groupchat/signIn.ts
true
200
2,729
/** * [签到]指令: * 签到被触发时,会根据当前群成员的签到天数自动发放积分 * (每日仅可签到一次,凌晨12:00重置次数) */ import path from 'path' import { setPacksack } from '../scorePlayMethods/packsack/tools' import type { SendContent, CommandFn } from '../../lib/interface' const sendContent: SendContent = { name: '签到', reg: [ /^签到$/, /...
3
italo041/serverless-test
e39a6b3
src/infrastructure/express/routes/index.ts
TypeScript
www.github.com/italo041/serverless-test/tree/main/src/infrastructure/express/routes/index.ts
https://raw.githubusercontent.com/italo041/serverless-test/e39a6b3/src/infrastructure/express/routes/index.ts
italo041/serverless-test e39a6b3 src/infrastructure/express/routes/index.ts
true
200
811
import express, { NextFunction, Request, Response, Router } from "express"; import { config } from "../../config"; import { AppDependencies } from "../../interfaces/Postgre"; import { userRouter } from "./user"; import { swapiRouter } from "./swapi"; export const apiRouter = (dependencies: AppDependencies): Router =...
0
noumanzakirfunavry/noumanzakirfunavry
c2559bc
libs/dtos/src/request/categories/add.categories.request.dto.ts
TypeScript
www.github.com/noumanzakirfunavry/noumanzakirfunavry/tree/main/libs/dtos/src/request/categories/add.categories.request.dto.ts
https://raw.githubusercontent.com/noumanzakirfunavry/noumanzakirfunavry/c2559bc/libs/dtos/src/request/categories/add.categories.request.dto.ts
noumanzakirfunavry/noumanzakirfunavry c2559bc libs/dtos/src/request/categories/add.categories.request.dto.ts
true
200
450
import { IsBoolean, IsNotEmpty, IsNumber, IsOptional, IsString } from "class-validator"; export class AddCategoriesRequestDto{ @IsNotEmpty() @IsString() title:string @IsOptional() @IsNumber() parentCategoryId:number @IsNotEmpty() @IsBoolean() isActive:boolean @IsNotE...
4
peppersora/react-masterclass
b58e959
src/styled.d.ts
TypeScript
www.github.com/peppersora/react-masterclass/tree/main/src/styled.d.ts
https://raw.githubusercontent.com/peppersora/react-masterclass/b58e959/src/styled.d.ts
peppersora/react-masterclass b58e959 src/styled.d.ts
true
200
499
/* 이 파일은 일종의, 우리가 이전에 설치해놓은 이 파일을 override(덮어쓰기) 할것임 */ // import original module declarations import 'styled-components'; // 내가 전에 해놓은 styled components의 테마 정의를 확장 // and extend them! declare module 'styled-components' { export interface DefaultTheme { // 테마가 어떻게 보일지 설명할 부분 => 테마의 형태, 속성 textColor: string; ...
6
sanjayhanumegowda/Meeting-Room-Booking
0e52365
src/app/pages/booking-room-page/booking-room-page.component.ts
TypeScript
www.github.com/sanjayhanumegowda/Meeting-Room-Booking/tree/main/src/app/pages/booking-room-page/booking-room-page.component.ts
https://raw.githubusercontent.com/sanjayhanumegowda/Meeting-Room-Booking/0e52365/src/app/pages/booking-room-page/booking-room-page.component.ts
sanjayhanumegowda/Meeting-Room-Booking 0e52365 src/app/pages/booking-room-page/booking-room-page.component.ts
true
200
3,198
import { Component, OnInit } from '@angular/core'; import { FormGroup, FormBuilder, Validators, AbstractControl } from '@angular/forms'; import { formatDate } from '@angular/common'; import { rooms } from 'src/app/staticData'; import { GlaobalVariableService } from 'src/app/services/glaobal-variable.service'; import { ...
2
AndreaC-dev/Repo_ciclo2_backvynils
c944e4e
backvynils/e2e/src/hu03bands.e2e-spec.ts
TypeScript
www.github.com/AndreaC-dev/Repo_ciclo2_backvynils/tree/main/backvynils/e2e/src/hu03bands.e2e-spec.ts
https://raw.githubusercontent.com/AndreaC-dev/Repo_ciclo2_backvynils/c944e4e/backvynils/e2e/src/hu03bands.e2e-spec.ts
AndreaC-dev/Repo_ciclo2_backvynils c944e4e backvynils/e2e/src/hu03bands.e2e-spec.ts
true
200
1,350
import { AppPage } from './bands.po'; import { browser, by, element, logging } from 'protractor'; describe('HU03 Band-list', () => { let page: AppPage; beforeEach(() => { page = new AppPage() }); it('should display Bands Button', () => { page.navigateTo(); expect(page.getButton().getText()).toEqual...
3
HDXim/HD-Notes
c04fa2b
helpers/groupHelper.ts
TypeScript
www.github.com/HDXim/HD-Notes/tree/main/helpers/groupHelper.ts
https://raw.githubusercontent.com/HDXim/HD-Notes/c04fa2b/helpers/groupHelper.ts
HDXim/HD-Notes c04fa2b helpers/groupHelper.ts
true
200
2,797
import { where } from "firebase/firestore"; import ClassFirestore from "./firebaseFirestore"; import NoteHelper, { Note } from "./noteHelper"; export interface Group { groupId: string; groupTitle: string; noteAmount: number; } export interface GroupDetail { groupId: string; groupTitle: string; notes: Note[...
0
damolaoladipo/freshcart-server
b15d635
src/controllers/wishlist.controller.ts
TypeScript
www.github.com/damolaoladipo/freshcart-server/tree/main/src/controllers/wishlist.controller.ts
https://raw.githubusercontent.com/damolaoladipo/freshcart-server/b15d635/src/controllers/wishlist.controller.ts
damolaoladipo/freshcart-server b15d635 src/controllers/wishlist.controller.ts
true
200
2,983
import { NextFunction, Request, Response } from "express"; import asyncHandler from "../middlewares/async.mdw"; import ErrorResponse from "../utils/error.util"; import WishList from "../models/Wishlist.model"; /** * @name getWishList * @description Retrieves a user's wishlist * @route GET /wishlist * @access Priv...
4
huffmanks/slack-clone
b4284cf
src/app/api/channels/[channelId]/route.ts
TypeScript
www.github.com/huffmanks/slack-clone/tree/main/src/app/api/channels/[channelId]/route.ts
https://raw.githubusercontent.com/huffmanks/slack-clone/b4284cf/src/app/api/channels/%5BchannelId%5D/route.ts
huffmanks/slack-clone b4284cf src/app/api/channels/[channelId]/route.ts
true
200
586
import { NextResponse } from 'next/server' import { prisma } from '@/lib/prisma' import type { Params } from '@/types' export async function GET(request: Request, { params }: Params) { const id = params.channelId if (!id) { return NextResponse.json({ message: 'No channel found.' }) } const c...
6
erastian/portfolio
7b13922
src/shared/api/useSkills.ts
TypeScript
www.github.com/erastian/portfolio/tree/main/src/shared/api/useSkills.ts
https://raw.githubusercontent.com/erastian/portfolio/7b13922/src/shared/api/useSkills.ts
erastian/portfolio 7b13922 src/shared/api/useSkills.ts
true
200
356
import { supabase } from "./supabase"; export async function getSkills() { const { data, error } = await supabase .from("skills") .select(`*, techDetails(*)`) .eq("isPublished", true) .order("order", { ascending: true }); if (error) { console.error("Error fetching skills", error); t...
2
ZzzandyzzZ/CURSOS-PLATZI
b104370
escuela desarrollo web/Javascript/Nodejs/Projects/MongoDb websockets/src/components/user/network.ts
TypeScript
www.github.com/ZzzandyzzZ/CURSOS-PLATZI/tree/main/escuela desarrollo web/Javascript/Nodejs/Projects/MongoDb websockets/src/components/user/network.ts
https://raw.githubusercontent.com/ZzzandyzzZ/CURSOS-PLATZI/b104370/escuela%20desarrollo%20web/Javascript/Nodejs/Projects/MongoDb%20websockets/src/components/user/network.ts
ZzzandyzzZ/CURSOS-PLATZI b104370 escuela desarrollo web/Javascript/Nodejs/Projects/MongoDb websockets/src/components/user/network.ts
true
200
633
import { Router } from 'express'; import { success, error } from '../../network/response'; import * as ctrl from './controller'; const router = Router(); router.get('/', async (req, res) => { try { const users = await ctrl.listUsers(); success(req, res, users, 200); } catch (e) { error(req, res, 'Int...
3
HazleyJarquin/Hazoe-ui
7b3179c
src/theme/theme.ts
TypeScript
www.github.com/HazleyJarquin/Hazoe-ui/tree/main/src/theme/theme.ts
https://raw.githubusercontent.com/HazleyJarquin/Hazoe-ui/7b3179c/src/theme/theme.ts
HazleyJarquin/Hazoe-ui 7b3179c src/theme/theme.ts
true
200
668
import { extendTheme } from "@chakra-ui/react"; export const theme = extendTheme({ colors: { primary: "#E53D6E", primaryHover: "#FF6699", secondary: "#2D3748", secondaryHover: "#4A5568", accent: "#ED8936", accentHover: "#F6AD55", warning: "#ECC94B", warningHover: "#F6E05E", dange...
4
mahbubhasantamim/parking-lot
8180661
src/feature/parking-slot/parking-slot.controller.ts
TypeScript
www.github.com/mahbubhasantamim/parking-lot/tree/main/src/feature/parking-slot/parking-slot.controller.ts
https://raw.githubusercontent.com/mahbubhasantamim/parking-lot/8180661/src/feature/parking-slot/parking-slot.controller.ts
mahbubhasantamim/parking-lot 8180661 src/feature/parking-slot/parking-slot.controller.ts
true
200
1,763
import { NextFunction, Request, Response } from "express" import { IIdParamDto } from "../../common/dto/params.dto" import { StatusCode } from "../../config/constant/code.constant" import { MyResponse } from "../../utils/my-response.util" import { ParkingSlotService } from "./parking-slot.service" export const Parking...
2
al-ula/saicms
d4bfcfa
admin/tailwind.config.ts
TypeScript
www.github.com/al-ula/saicms/tree/main/admin/tailwind.config.ts
https://raw.githubusercontent.com/al-ula/saicms/d4bfcfa/admin/tailwind.config.ts
al-ula/saicms d4bfcfa admin/tailwind.config.ts
true
200
360
/** @type {import('tailwindcss').Config} */ import daisyui from "daisyui" import catppuccin from "@catppuccin/daisyui" export default { content: ["./templates/**/*.{html,hbs}", "./src/**/*.{js,ts,jsx,tsx}"], theme: { extend: {}, }, plugins: [ daisyui, ], daisyui: { themes: [ catppuccin("l...
6
akshayramani-coder/AngularProject-Claims
e27c955
src/app/common/model/saveevent-details-dialogue/saveevent-details-dialogue.component.ts
TypeScript
www.github.com/akshayramani-coder/AngularProject-Claims/tree/main/src/app/common/model/saveevent-details-dialogue/saveevent-details-dialogue.component.ts
https://raw.githubusercontent.com/akshayramani-coder/AngularProject-Claims/e27c955/src/app/common/model/saveevent-details-dialogue/saveevent-details-dialogue.component.ts
akshayramani-coder/AngularProject-Claims e27c955 src/app/common/model/saveevent-details-dialogue/saveevent-details-dialogue.component.ts
true
200
1,503
import { Component, Inject, OnInit } from '@angular/core'; import { AllCommonService } from 'src/app/views/registration/services/common-service/all-common.service'; import { PolicyService } from 'src/app/views/registration/services/common-service/policy.service'; import { MatDialog, MAT_DIALOG_DATA, MatDialogRef } from...
3
tertyb/colmanfullstack
f660d25
frontend/src/services/userService.ts
TypeScript
www.github.com/tertyb/colmanfullstack/tree/main/frontend/src/services/userService.ts
https://raw.githubusercontent.com/tertyb/colmanfullstack/f660d25/frontend/src/services/userService.ts
tertyb/colmanfullstack f660d25 frontend/src/services/userService.ts
true
200
2,817
import axios from 'axios'; import useSWR from 'swr'; // Replace with your Axios instance setup import { showToast } from '../consts/toast'; import { IGenericResponse, IUser } from '../interfaces/user'; import { getAuthTokenByName, refreshTokenName, removeAuthTokens, updateTokens } from '../utils/functions/localstorage'...
4
quentintaranpino/nostrcheck-server
86c944e
src/lib/payments/core.ts
TypeScript
www.github.com/quentintaranpino/nostrcheck-server/tree/main/src/lib/payments/core.ts
https://raw.githubusercontent.com/quentintaranpino/nostrcheck-server/86c944e/src/lib/payments/core.ts
quentintaranpino/nostrcheck-server 86c944e src/lib/payments/core.ts
true
200
27,529
import app from "../../app.js"; import { accounts, emptyInvoice, emptyTransaction, invoice, transaction } from "../../interfaces/payments.js"; import { isModuleEnabled } from "../config.js"; import { dbDelete, dbInsert, dbMultiSelect, dbSelect, dbUpdate } from "../database.js" import { logger } from "../logger.js"; imp...
0
nazarmsx/car-parts-delivery-dashboard
07e05c7
src/app/modules/routes/components/status-history/route-history.component.ts
TypeScript
www.github.com/nazarmsx/car-parts-delivery-dashboard/tree/main/src/app/modules/routes/components/status-history/route-history.component.ts
https://raw.githubusercontent.com/nazarmsx/car-parts-delivery-dashboard/07e05c7/src/app/modules/routes/components/status-history/route-history.component.ts
nazarmsx/car-parts-delivery-dashboard 07e05c7 src/app/modules/routes/components/status-history/route-history.component.ts
true
200
3,725
import {Component, Input, ViewChild, ElementRef} from '@angular/core'; import {FormBuilder} from '@angular/forms'; import {ApiService} from '../../../../services'; import {first} from 'rxjs/operators'; import {Location} from "@angular/common"; import {Route, RouteStatus, RouteUpdateLog} from '../../../../models' import...
2
wheatandcat/StarStrikerX
fde7136
client/src/lib/gameUtils.ts
TypeScript
www.github.com/wheatandcat/StarStrikerX/tree/main/client/src/lib/gameUtils.ts
https://raw.githubusercontent.com/wheatandcat/StarStrikerX/fde7136/client/src/lib/gameUtils.ts
wheatandcat/StarStrikerX fde7136 client/src/lib/gameUtils.ts
true
200
3,084
import { Vector3 } from "three"; import { EnemyType, PowerUpType } from "./types"; import { ENEMY_PROPERTIES, ENEMY_POWERUP_DROP_CHANCE, GAME_WIDTH, GAME_HEIGHT } from "./constants"; // Normalize a direction vector export function normalizeDirection(direction: [number, number]): [number, number] { const magnitude = ...
3
Diggsey/dpass
b53043b
src/entries/shared/host/extension/unlock.ts
TypeScript
www.github.com/Diggsey/dpass/tree/main/src/entries/shared/host/extension/unlock.ts
https://raw.githubusercontent.com/Diggsey/dpass/b53043b/src/entries/shared/host/extension/unlock.ts
Diggsey/dpass b53043b src/entries/shared/host/extension/unlock.ts
true
200
1,999
import browser from "webextension-polyfill" import { insideUserAction } from "./userAction" import { BROWSER_ACTION, BrowserClickAction } from "./browserAction" const pendingResolvers: ((arg: void) => void)[] = [] let unlockPopupInfo: { windowId: number tabId: number } | null = null export const requestUnlock...
6
imran-farooq7/techlio
16efd92
src/app/app.module.ts
TypeScript
www.github.com/imran-farooq7/techlio/tree/main/src/app/app.module.ts
https://raw.githubusercontent.com/imran-farooq7/techlio/16efd92/src/app/app.module.ts
imran-farooq7/techlio 16efd92 src/app/app.module.ts
true
200
1,579
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { ProfileComponent } from './portfolio/profile/profile.component'; import { ProfileListComponent } from '....
4
jubairahmed22/nextjs-healthcare-client-2
670542d
src/lib/theme/theme.ts
TypeScript
www.github.com/jubairahmed22/nextjs-healthcare-client-2/tree/main/src/lib/theme/theme.ts
https://raw.githubusercontent.com/jubairahmed22/nextjs-healthcare-client-2/670542d/src/lib/theme/theme.ts
jubairahmed22/nextjs-healthcare-client-2 670542d src/lib/theme/theme.ts
true
200
619
import { createTheme } from '@mui/material/styles'; export const theme = createTheme({ palette: { primary: { main: "#1586FD", }, secondary: { main: "#666f73", }, }, components:{ MuiButton: { defaultProps: { variant: "contained" }, styleOverri...
0
Kenzie-Academy-Brasil-Developers/KiMovies-davidson
05cb3ed
src/services/users/createUsers.services.ts
TypeScript
www.github.com/Kenzie-Academy-Brasil-Developers/KiMovies-davidson/tree/main/src/services/users/createUsers.services.ts
https://raw.githubusercontent.com/Kenzie-Academy-Brasil-Developers/KiMovies-davidson/05cb3ed/src/services/users/createUsers.services.ts
Kenzie-Academy-Brasil-Developers/KiMovies-davidson 05cb3ed src/services/users/createUsers.services.ts
true
200
641
import { IUser, IUserRequest } from "../../interfaces/users"; import AppDataSource from "../../data-source"; import { User } from "../../entities/user.entity"; import userResponseSchemas from "../../schemas/users/userResponse.schemas"; const createUsersServices = async ( infoNewUser: IUserRequest ): Promise<IUser> =...
3
ahm91ed/standalone
65c44a8
src/app/Components/cart/cart.component.ts
TypeScript
www.github.com/ahm91ed/standalone/tree/main/src/app/Components/cart/cart.component.ts
https://raw.githubusercontent.com/ahm91ed/standalone/65c44a8/src/app/Components/cart/cart.component.ts
ahm91ed/standalone 65c44a8 src/app/Components/cart/cart.component.ts
true
200
2,186
import { Component, OnInit, Renderer2 } from '@angular/core'; import { CommonModule } from '@angular/common'; import { CartService } from 'src/app/Core/Services/cart.service'; import { CuttextPipe } from 'src/app/Core/Pipes/cuttext.pipe'; import { RouterLink } from '@angular/router'; @Component({ selector: 'app-cart...
4
Kasekopf/loop-casual
709d5c2
src/engine/engine.ts
TypeScript
www.github.com/Kasekopf/loop-casual/tree/main/src/engine/engine.ts
https://raw.githubusercontent.com/Kasekopf/loop-casual/709d5c2/src/engine/engine.ts
Kasekopf/loop-casual 709d5c2 src/engine/engine.ts
true
200
7,864
import { Location, Monster, myAdventures } from "kolmafia"; import { Task } from "./task"; import { $effect, $familiar, $item, $locations, $skill, have, Macro, PropertiesManager, } from "libram"; import { CombatActions, MyActionDefaults } from "./combat"; import { Engine as BaseEngine, CombatResources, ...
0
wesleyshynes/based-engine
c6e77da
src/games/the-squeeze/levels/level-01.ts
TypeScript
www.github.com/wesleyshynes/based-engine/tree/main/src/games/the-squeeze/levels/level-01.ts
https://raw.githubusercontent.com/wesleyshynes/based-engine/c6e77da/src/games/the-squeeze/levels/level-01.ts
wesleyshynes/based-engine c6e77da src/games/the-squeeze/levels/level-01.ts
true
200
780
import { LEVEL_01_BOUNDARIES, LEVEL_01_EXIT_DOORS, LEVEL_01_PUSH_BOXES, LEVEL_01_WALLS } from "../constants/level01Constants"; import { SqueezeBaseLevel } from "./SqueezeBaseLevel"; import BGMusic from '../../../assets/the-squeeze/tunetank.com_5630_ready-to-play_by_alexey-anisimov__1.mp3' export class Level01 extends ...
2
Gloria1011/ng_weather
acfbd29
src/app/weather/weather.component.ts
TypeScript
www.github.com/Gloria1011/ng_weather/tree/main/src/app/weather/weather.component.ts
https://raw.githubusercontent.com/Gloria1011/ng_weather/acfbd29/src/app/weather/weather.component.ts
Gloria1011/ng_weather acfbd29 src/app/weather/weather.component.ts
true
200
906
import { Component, OnInit } from '@angular/core'; import { WeatherModel } from '../modules/weather.model'; import { WeatherService } from '../services/weather.service'; @Component({ selector: 'app-weather', templateUrl: './weather.component.html', styleUrls: ['./weather.component.css'] }) export class WeatherCo...
6
KJWHUB/vue3-admin-template-el-plus
74130b5
src/shared/stores/modules/layout.ts
TypeScript
www.github.com/KJWHUB/vue3-admin-template-el-plus/tree/main/src/shared/stores/modules/layout.ts
https://raw.githubusercontent.com/KJWHUB/vue3-admin-template-el-plus/74130b5/src/shared/stores/modules/layout.ts
KJWHUB/vue3-admin-template-el-plus 74130b5 src/shared/stores/modules/layout.ts
true
200
602
import { ref } from 'vue' import { defineStore } from 'pinia' export const useLayoutStore = defineStore('layout', () => { const isSidebarFold = ref(false) const headerHeight = ref(80) const sidebarWidth = ref(200) const toggleSidebarFold = () => { isSidebarFold.value = !isSidebarFold.value if (isSid...
1
giniedp/nw-buddy
a1bce12
apps/web/app/widgets/model-viewer/model-viewer.stories.ts
TypeScript
www.github.com/giniedp/nw-buddy/tree/main/apps/web/app/widgets/model-viewer/model-viewer.stories.ts
https://raw.githubusercontent.com/giniedp/nw-buddy/a1bce12/apps/web/app/widgets/model-viewer/model-viewer.stories.ts
giniedp/nw-buddy a1bce12 apps/web/app/widgets/model-viewer/model-viewer.stories.ts
true
200
1,198
import { CommonModule } from '@angular/common' import { Component, importProvidersFrom } from '@angular/core' import { Meta, StoryObj, applicationConfig, moduleMetadata } from '@storybook/angular' import { of } from 'rxjs' import { NwModule } from '~/nw' import { AppTestingModule } from '~/test' import { LayoutModule }...
3
maycowjordny/core
7db242a
src/infra/database/prisma/mappers/attachment/update-attachment-mapper.ts
TypeScript
www.github.com/maycowjordny/core/tree/main/src/infra/database/prisma/mappers/attachment/update-attachment-mapper.ts
https://raw.githubusercontent.com/maycowjordny/core/7db242a/src/infra/database/prisma/mappers/attachment/update-attachment-mapper.ts
maycowjordny/core 7db242a src/infra/database/prisma/mappers/attachment/update-attachment-mapper.ts
true
200
379
import { Attachment } from "@/domain/entities/attachment-entity"; import { Prisma } from "@prisma/client"; import { AttachmentMapper } from "./attachment-mapper"; export class UpdateAttachmentMapper extends AttachmentMapper { static convertToPrisma(attachment: Attachment): Prisma.AttachmentUpdateInput { re...
4
malmz/dfoto-remix
2a369d6
app/lib/.server/middleware/auth.ts
TypeScript
www.github.com/malmz/dfoto-remix/tree/main/app/lib/.server/middleware/auth.ts
https://raw.githubusercontent.com/malmz/dfoto-remix/2a369d6/app/lib/.server/middleware/auth.ts
malmz/dfoto-remix 2a369d6 app/lib/.server/middleware/auth.ts
true
200
990
import { isFuture } from 'date-fns'; import type { ServerContext } from 'remix-create-express-app/context'; import type { MiddleWareFunction } from 'remix-create-express-app/middleware'; import { extractUserFromToken, keycloak } from '../auth'; import { getSession } from './session'; export function getUser(context: S...
0
YokelKing/FlowVid
6e5e774
src/app/component/jobs/jobs.module.ts
TypeScript
www.github.com/YokelKing/FlowVid/tree/main/src/app/component/jobs/jobs.module.ts
https://raw.githubusercontent.com/YokelKing/FlowVid/6e5e774/src/app/component/jobs/jobs.module.ts
YokelKing/FlowVid 6e5e774 src/app/component/jobs/jobs.module.ts
true
200
2,173
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { JobsListComponent } from './jobs-list/jobs-list.component'; import { RouterModule, Routes } from '@angular/router'; import { NgbModule, NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; import { JobCreateEditCompone...
2
sillsdev/transcriber
a3a2f3c
src/utils/useCheckOnline.ts
TypeScript
www.github.com/sillsdev/transcriber/tree/main/src/utils/useCheckOnline.ts
https://raw.githubusercontent.com/sillsdev/transcriber/a3a2f3c/src/utils/useCheckOnline.ts
sillsdev/transcriber a3a2f3c src/utils/useCheckOnline.ts
true
200
2,265
import { useGetGlobal, useGlobal } from '../context/GlobalContext'; import * as actions from '../store'; import Axios from 'axios'; import JSONAPISource from '@orbit/jsonapi'; import { OrbitNetworkErrorRetries } from '../api-variable'; import { API_CONFIG } from '../api-variable'; import { useDispatch } from 'react-red...
6
mghieth/payment
b5179c5
src/app/pages/saving-goal/saving-goal.component.spec.ts
TypeScript
www.github.com/mghieth/payment/tree/main/src/app/pages/saving-goal/saving-goal.component.spec.ts
https://raw.githubusercontent.com/mghieth/payment/b5179c5/src/app/pages/saving-goal/saving-goal.component.spec.ts
mghieth/payment b5179c5 src/app/pages/saving-goal/saving-goal.component.spec.ts
true
200
621
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { SavingGoalComponent } from './saving-goal.component'; describe('SavingGoalComponent', () => { let component: SavingGoalComponent; let fixture: ComponentFixture<SavingGoalComponent>; beforeEach(async () => { await TestBed.configureT...
3
shshamim63/Task-Budget
c75603f
src/auth/guards/auth.guard.spec.ts
TypeScript
www.github.com/shshamim63/Task-Budget/tree/main/src/auth/guards/auth.guard.spec.ts
https://raw.githubusercontent.com/shshamim63/Task-Budget/c75603f/src/auth/guards/auth.guard.spec.ts
shshamim63/Task-Budget c75603f src/auth/guards/auth.guard.spec.ts
true
200
5,582
import { Test, TestingModule } from '@nestjs/testing'; import { UnauthorizedException } from '@nestjs/common'; import { AuthGuard } from './auth.guard'; import { TokenService } from '../../token/token.service'; import { ERROR_NAME, RESPONSE_MESSAGE } from '../../utils/constants'; import { generateMockEncryptedString...
2
giwankim/nestjs-hexagonal-architecture
07d362f
src/alarm/adapter/in/web/alarm.controller.ts
TypeScript
www.github.com/giwankim/nestjs-hexagonal-architecture/tree/main/src/alarm/adapter/in/web/alarm.controller.ts
https://raw.githubusercontent.com/giwankim/nestjs-hexagonal-architecture/07d362f/src/alarm/adapter/in/web/alarm.controller.ts
giwankim/nestjs-hexagonal-architecture 07d362f src/alarm/adapter/in/web/alarm.controller.ts
true
200
1,159
import { Body, Controller, Get, Inject, Post } from '@nestjs/common'; import { CreateAlarmCommand } from '@alarm/application/port/in/create-alarm.command'; import { CREATE_ALARM_USE_CASE, CreateAlarmUseCase, } from '@alarm/application/port/in/create-alarm.use-case'; import { GET_ALARMS_USE_CASE, GetAlarmsUseCas...
0
HerrSteen/insiders
52bd480
src/store.ts
TypeScript
www.github.com/HerrSteen/insiders/tree/main/src/store.ts
https://raw.githubusercontent.com/HerrSteen/insiders/52bd480/src/store.ts
HerrSteen/insiders 52bd480 src/store.ts
true
200
520
import { configureStore, ThunkAction, Action } from '@reduxjs/toolkit'; import insidersReducer from "./Insiders/insidersSlice"; import editorReducer from "./editor/editorSlice"; export const store = configureStore({ reducer: { insiders: insidersReducer, editor: editorReducer, }, }); export type AppDispatc...
1
lexsalt/typescrip-crash-course
839a743
src/index.ts
TypeScript
www.github.com/lexsalt/typescrip-crash-course/tree/main/src/index.ts
https://raw.githubusercontent.com/lexsalt/typescrip-crash-course/839a743/src/index.ts
lexsalt/typescrip-crash-course 839a743 src/index.ts
true
200
1,125
// Basic types let id: number = 5 let company: string = "Traversy Media" let isPublished: boolean = true let x: any = "hello" //let age: number let ids: number[] = [1,2,3,4,5] let arr: any[] = [1,true,"hello"] // tuple let person: [number,string,boolean] = [1,"Brad", true] // tuple array let employee: [number,s...
5
anhthi-projects/1-personal-nodejs
0d2f256
src/routes/users/users.controller.ts
TypeScript
www.github.com/anhthi-projects/1-personal-nodejs/tree/main/src/routes/users/users.controller.ts
https://raw.githubusercontent.com/anhthi-projects/1-personal-nodejs/0d2f256/src/routes/users/users.controller.ts
anhthi-projects/1-personal-nodejs 0d2f256 src/routes/users/users.controller.ts
true
200
1,675
import { Body, Controller, Get, HttpCode, HttpStatus, Param, Put, UseInterceptors, } from '@nestjs/common'; import { ApiOkResponse, ApiOperation, ApiTags } from '@nestjs/swagger'; import { RestrictUserInterceptor } from 'src/interceptors/restrict-user.interceptor'; import { IsPublic } from 'src/metadata...
4
saidmaadan/inventivelabs_
89bdb74
src/app/admin/newsletter/subscribers/actions.ts
TypeScript
www.github.com/saidmaadan/inventivelabs_/tree/main/src/app/admin/newsletter/subscribers/actions.ts
https://raw.githubusercontent.com/saidmaadan/inventivelabs_/89bdb74/src/app/admin/newsletter/subscribers/actions.ts
saidmaadan/inventivelabs_ 89bdb74 src/app/admin/newsletter/subscribers/actions.ts
true
200
442
'use server' import { prisma } from "@/lib/prisma" import { revalidatePath } from "next/cache" export async function deleteSubscriber(id: string) { try { await prisma.newsletter.delete({ where: { id } }) revalidatePath('/admin/newsletter/subscribers') return { success: true } } catch (error) { con...
6
Alex-Stranger-Dev/Bookstore-React-Next.js
cf4c1c3
src/store/books.ts
TypeScript
www.github.com/Alex-Stranger-Dev/Bookstore-React-Next.js/tree/main/src/store/books.ts
https://raw.githubusercontent.com/Alex-Stranger-Dev/Bookstore-React-Next.js/cf4c1c3/src/store/books.ts
Alex-Stranger-Dev/Bookstore-React-Next.js cf4c1c3 src/store/books.ts
true
200
620
import {createSlice, PayloadAction} from "@reduxjs/toolkit"; import {IBook} from "@/data/types"; interface IBookState { books: IBook[]; } const initialState: IBookState = { books: [], }; const booksSlice = createSlice({ name: 'books', initialState, reducers: { setBooks: (state, action) =...
3
SrijanBhageria/The-Vintage-Vault-Co.-backend
4154b97
digiboard/common/recoil/users/users.atom.ts
TypeScript
www.github.com/SrijanBhageria/The-Vintage-Vault-Co.-backend/tree/main/digiboard/common/recoil/users/users.atom.ts
https://raw.githubusercontent.com/SrijanBhageria/The-Vintage-Vault-Co.-backend/4154b97/digiboard/common/recoil/users/users.atom.ts
SrijanBhageria/The-Vintage-Vault-Co.-backend 4154b97 digiboard/common/recoil/users/users.atom.ts
true
200
293
import { atom, selector } from "recoil" export const usersAtom = atom<{[key: string]: Move[]}>({ key: "users", default: {}, }) export const userIds = selector({ key: "userIds", get: ({get}) => { const users = get(usersAtom) return Object.keys(users) } })
2
gabguezDev/redux-tool
2ba349c
src/store/slices/counter/counterSlice.ts
TypeScript
www.github.com/gabguezDev/redux-tool/tree/main/src/store/slices/counter/counterSlice.ts
https://raw.githubusercontent.com/gabguezDev/redux-tool/2ba349c/src/store/slices/counter/counterSlice.ts
gabguezDev/redux-tool 2ba349c src/store/slices/counter/counterSlice.ts
true
200
566
import { createSlice } from "@reduxjs/toolkit"; import type { PayloadAction } from "@reduxjs/toolkit"; interface CounterState { value: number; } const initialState = { value: 22 } as CounterState; export const counterSlice = createSlice({ name: "counter", initialState, reducers: { increment(state) { state.v...
0
cobategit/jpj-api-fastify
9bd7795
src/domain/use-cases/purchasing/findbank-by-freight.ts
TypeScript
www.github.com/cobategit/jpj-api-fastify/tree/main/src/domain/use-cases/purchasing/findbank-by-freight.ts
https://raw.githubusercontent.com/cobategit/jpj-api-fastify/9bd7795/src/domain/use-cases/purchasing/findbank-by-freight.ts
cobategit/jpj-api-fastify 9bd7795 src/domain/use-cases/purchasing/findbank-by-freight.ts
true
200
703
import { AppError } from "@jpj-common/module"; import { FreightBankEntity, FreightEntity } from "../../entity"; import { IGetBankByFreightIdUseCase, IPurchasingRepo } from "../../interfaces"; export class GetBankByFreightIdUseCase implements IGetBankByFreightIdUseCase { private purchasingRepo: IPurchasingRepo ...
4
ChinhLe111/Uberental
63b1de6
src/app/pages/posts/posts.component.ts
TypeScript
www.github.com/ChinhLe111/Uberental/tree/main/src/app/pages/posts/posts.component.ts
https://raw.githubusercontent.com/ChinhLe111/Uberental/63b1de6/src/app/pages/posts/posts.component.ts
ChinhLe111/Uberental 63b1de6 src/app/pages/posts/posts.component.ts
true
200
6,790
import { ChangeDetectionStrategy, Component, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core'; import { FormControl } from '@angular/forms'; import { debounceTime, distinctUntilChanged, takeUntil, throttleTime, Subject, withLatestFrom, take } from 'rxjs'; import { Message, getLanguage } from '@ut...
6
ixjb94/indicators
fc9fcd5
src/core/extract/kvo.ts
TypeScript
www.github.com/ixjb94/indicators/tree/main/src/core/extract/kvo.ts
https://raw.githubusercontent.com/ixjb94/indicators/fc9fcd5/src/core/extract/kvo.ts
ixjb94/indicators fc9fcd5 src/core/extract/kvo.ts
true
200
1,587
/** * * @param high * @param low * @param close * @param volume * @param short_period * @param long_period * @param size * @returns */ export async function kvo( high: Array<number>, low: Array<number>, close: Array<number>, volume: Array<number>, short_period: number, long_period: numb...
5
RhonalG24/FormsApp
941f51e
src/app/reactive/pages/dynamic-page/dynamic-page.component.ts
TypeScript
www.github.com/RhonalG24/FormsApp/tree/main/src/app/reactive/pages/dynamic-page/dynamic-page.component.ts
https://raw.githubusercontent.com/RhonalG24/FormsApp/941f51e/src/app/reactive/pages/dynamic-page/dynamic-page.component.ts
RhonalG24/FormsApp 941f51e src/app/reactive/pages/dynamic-page/dynamic-page.component.ts
true
200
2,156
import { Component } from '@angular/core'; import { FormArray, FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms'; import { ValidatorsService } from '../../../shared/services/validator.service'; @Component({ templateUrl: './dynamic-page.component.html', styles: `` }) export class DynamicPageCo...
7
teamfacade/sigmate-backend
fcafdc5
src/models/Image.ts
TypeScript
www.github.com/teamfacade/sigmate-backend/tree/main/src/models/Image.ts
https://raw.githubusercontent.com/teamfacade/sigmate-backend/fcafdc5/src/models/Image.ts
teamfacade/sigmate-backend fcafdc5 src/models/Image.ts
true
200
3,610
import { AllowNull, BelongsTo, BelongsToMany, Column, DataType, Default, HasMany, Model, PrimaryKey, Table, } from 'sequelize-typescript'; import { Optional } from 'sequelize/types'; import Block from './Block'; import Category from './Category'; import ForumPost from './ForumPost'; import ForumPost...
3