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
core-marine-dev/nmea-parser
27e4bac
src/sentences.ts
TypeScript
www.github.com/core-marine-dev/nmea-parser/tree/main/src/sentences.ts
https://raw.githubusercontent.com/core-marine-dev/nmea-parser/27e4bac/src/sentences.ts
core-marine-dev/nmea-parser 27e4bac src/sentences.ts
true
200
5,608
import { getChecksum, numberChecksumToString, stringChecksumToNumber } from "./checksum"; import { CHECKSUM_LENGTH, DELIMITER, END_FLAG, END_FLAG_LENGTH, MINIMAL_LENGTH, SEPARATOR, START_FLAG, START_FLAG_LENGTH } from "./constants"; import { NMEALikeSchema, NMEAUknownSentenceSchema, NMEAUnparsedSentenceSchema } from "....
1
NguyenDucDuong28/Dashboard-Angular
beda997
src/app/nv-them/nv-them.component.spec.ts
TypeScript
www.github.com/NguyenDucDuong28/Dashboard-Angular/tree/main/src/app/nv-them/nv-them.component.spec.ts
https://raw.githubusercontent.com/NguyenDucDuong28/Dashboard-Angular/beda997/src/app/nv-them/nv-them.component.spec.ts
NguyenDucDuong28/Dashboard-Angular beda997 src/app/nv-them/nv-them.component.spec.ts
true
200
560
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { NvThemComponent } from './nv-them.component'; describe('NvThemComponent', () => { let component: NvThemComponent; let fixture: ComponentFixture<NvThemComponent>; beforeEach(() => { TestBed.configureTestingModule({ declaration...
6
Lawrise/Pulse
a3acad2
back/src/controllers/friendController.ts
TypeScript
www.github.com/Lawrise/Pulse/tree/main/back/src/controllers/friendController.ts
https://raw.githubusercontent.com/Lawrise/Pulse/a3acad2/back/src/controllers/friendController.ts
Lawrise/Pulse a3acad2 back/src/controllers/friendController.ts
true
200
4,649
import { Response, Request } from "express"; import { Friend, User } from "../nmodels"; import { Op } from "sequelize"; interface TransformedFriend { friendshipId: string; friend: { id: string; username: string; email: string; }; } interface FriendWithAssociations extends Friend { user?: User; f...
0
DinoSirovica/Lab5-NJS
bc6a033
src/app/main/main.component.ts
TypeScript
www.github.com/DinoSirovica/Lab5-NJS/tree/main/src/app/main/main.component.ts
https://raw.githubusercontent.com/DinoSirovica/Lab5-NJS/bc6a033/src/app/main/main.component.ts
DinoSirovica/Lab5-NJS bc6a033 src/app/main/main.component.ts
true
200
1,992
import { Component } from '@angular/core'; import {PostClass} from "../post-class"; import {PostServiceService} from "../services/post-service.service"; import {AuthService} from "../services/auth.service"; import {User} from "../user"; import {Router} from "@angular/router"; @Component({ selector: 'app-main', tem...
7
aryansingla45/flask-template
036bbd6
src/apps/frontend/types/auth.ts
TypeScript
www.github.com/aryansingla45/flask-template/tree/main/src/apps/frontend/types/auth.ts
https://raw.githubusercontent.com/aryansingla45/flask-template/036bbd6/src/apps/frontend/types/auth.ts
aryansingla45/flask-template 036bbd6 src/apps/frontend/types/auth.ts
true
200
606
import { JsonObject } from './common-types'; export class AccessToken { accountId: string; token: string; constructor(json: JsonObject) { this.accountId = json.account_id as string; this.token = json.token as string; } } export enum KeyboardKeys { BACKSPACE = 'Backspace', } export class PhoneNumber...
3
placidenduwayo1/fullstack-application-java-spring-angular
9a50e38
backend-frontend-app/angular-project-front/src/app/pages/module-employee-manager/compo-employee-manager/compo-employee-manager.component.ts
TypeScript
www.github.com/placidenduwayo1/fullstack-application-java-spring-angular/tree/main/backend-frontend-app/angular-project-front/src/app/pages/module-employee-manager/compo-employee-manager/compo-employee-manager.component.ts
https://raw.githubusercontent.com/placidenduwayo1/fullstack-application-java-spring-angular/9a50e38/backend-frontend-app/angular-project-front/src/app/pages/module-employee-manager/compo-employee-manager/compo-employee-manager.component.ts
placidenduwayo1/fullstack-application-java-spring-angular 9a50e38 backend-frontend-app/angular-project-front/src/app/pages/module-employee-manager/compo-employee-manager/compo-employee-manager.component.ts
true
200
2,222
import { EmployeeEventPublisher } from '../../../shared/events-publisher/events.publisher'; import { ActivatedRoute, Router } from '@angular/router'; import { Component, OnInit } from '@angular/core'; import { EmployeeEvent } from 'src/app/shared/models/events.model'; import { Employee } from 'src/app/shared/models/emp...
5
mliebelt/pgn-parser
142cc2c
test/test-games.ts
TypeScript
www.github.com/mliebelt/pgn-parser/tree/main/test/test-games.ts
https://raw.githubusercontent.com/mliebelt/pgn-parser/142cc2c/test/test-games.ts
mliebelt/pgn-parser 142cc2c test/test-games.ts
true
200
5,162
import { suite } from 'uvu'; import assert from 'uvu/assert'; import {parseGames} from "../src" const readingZero = suite("When reading 0 games") readingZero("should read 0 games from empty string", function () { let res = parseGames("") assert.ok(res) assert.is(res.length, 0) }) readin...
4
mohdmishal18/NextStep-Backend
0e6c7ef
src/repository/mentee.repository.ts
TypeScript
www.github.com/mohdmishal18/NextStep-Backend/tree/main/src/repository/mentee.repository.ts
https://raw.githubusercontent.com/mohdmishal18/NextStep-Backend/0e6c7ef/src/repository/mentee.repository.ts
mohdmishal18/NextStep-Backend 0e6c7ef src/repository/mentee.repository.ts
true
200
5,710
import { Model } from "mongoose"; import { IMenteeRepository } from "../interfaces/repositories/IMentee.repository"; import IMentee, {IRegisterMentee} from "../entities/mentee.entity"; import UserModel from "../frameworks/models/user.model"; import { IPost } from "../entities/post.entity"; import PostModel from "../fra...
6
andresmeireles/speaker-ui
6aedf49
src/lib/actions/toast.ts
TypeScript
www.github.com/andresmeireles/speaker-ui/tree/main/src/lib/actions/toast.ts
https://raw.githubusercontent.com/andresmeireles/speaker-ui/6aedf49/src/lib/actions/toast.ts
andresmeireles/speaker-ui 6aedf49 src/lib/actions/toast.ts
true
200
825
import type { ToastOptions } from '$lib/interfaces/toast'; import { toast } from '@zerodevx/svelte-toast'; const defaultOpts = { duration: 2000, theme: { '--toastBackground': '#48BB78', '--toastProgressBackground': '#2F855C' } }; export const triggerToastMessage = (message: string, opts?: ToastOptions ) => { ...
1
suhyeoonn/book-rating-frontend
c1c067f
src/entities/review/api/post-review.ts
TypeScript
www.github.com/suhyeoonn/book-rating-frontend/tree/main/src/entities/review/api/post-review.ts
https://raw.githubusercontent.com/suhyeoonn/book-rating-frontend/c1c067f/src/entities/review/api/post-review.ts
suhyeoonn/book-rating-frontend c1c067f src/entities/review/api/post-review.ts
true
200
859
import axiosClient from "@/shared/axios"; import { AddReviewResponse } from "../model/review.interface"; import axios from "axios"; export const postReview = async ({ myBookId, content, rating, levels, }: { myBookId: number; content: string; rating: number; levels: string[]; }) => { try { return ...
0
anolkurian/RA_MolStar_Website
a352b43
api/src/server.ts
TypeScript
www.github.com/anolkurian/RA_MolStar_Website/tree/main/api/src/server.ts
https://raw.githubusercontent.com/anolkurian/RA_MolStar_Website/a352b43/api/src/server.ts
anolkurian/RA_MolStar_Website a352b43 api/src/server.ts
true
200
2,901
import express, { Request, Response } from 'express'; import bodyParser from 'body-parser'; import cors from 'cors'; import bcrypt from 'bcryptjs'; import jwt from 'jsonwebtoken'; import { ConnectionPool, config } from 'mssql'; const app = express(); const PORT = 5000; // Set your desired port number // Middleware ap...
2
lucasvinicios/alura_dev
56f9b8e
src/app/shared/menu/menu.component.ts
TypeScript
www.github.com/lucasvinicios/alura_dev/tree/main/src/app/shared/menu/menu.component.ts
https://raw.githubusercontent.com/lucasvinicios/alura_dev/56f9b8e/src/app/shared/menu/menu.component.ts
lucasvinicios/alura_dev 56f9b8e src/app/shared/menu/menu.component.ts
true
200
985
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; @Component({ selector: 'app-menu', templateUrl: './menu.component.html', styleUrls: ['./menu.component.css'] }) export class MenuComponent implements OnInit { public iconEditor = ''; public iconCommunity = '...
7
ZenBit-Tech/HiveIn_fe
9d6fce7
src/components/settingsMenu/styles.ts
TypeScript
www.github.com/ZenBit-Tech/HiveIn_fe/tree/main/src/components/settingsMenu/styles.ts
https://raw.githubusercontent.com/ZenBit-Tech/HiveIn_fe/9d6fce7/src/components/settingsMenu/styles.ts
ZenBit-Tech/HiveIn_fe 9d6fce7 src/components/settingsMenu/styles.ts
true
200
360
import styled from "styled-components"; import { PRIMARY } from "utils/consts/colorConsts"; /* eslint-disable import/prefer-default-export */ export const SButton = styled("button")` display: block; background-color: inherit; border: 1px solid ${PRIMARY}; width: 120px; padding: 5px; margin-bottom: 5px; b...
3
vivex-protocol/vivex-frontend
cdcfbfb
src/App/CreateTicket/state/instrument.ts
TypeScript
www.github.com/vivex-protocol/vivex-frontend/tree/main/src/App/CreateTicket/state/instrument.ts
https://raw.githubusercontent.com/vivex-protocol/vivex-frontend/cdcfbfb/src/App/CreateTicket/state/instrument.ts
vivex-protocol/vivex-frontend cdcfbfb src/App/CreateTicket/state/instrument.ts
true
200
1,862
import { CtxInstrumentId, Pair, availablePairs } from "@/api/graphql/instruments" import { createSignalState } from "@/utils/observable-utils" import { state } from "@react-rxjs/core" import { createSignal } from "@react-rxjs/utils" import { combineLatest, map, startWith, switchMap } from "rxjs" import { unwrapInstrume...
5
vue-mini/vue-mini
c0920cf
packages/core/src/lifecycle.ts
TypeScript
www.github.com/vue-mini/vue-mini/tree/main/packages/core/src/lifecycle.ts
https://raw.githubusercontent.com/vue-mini/vue-mini/c0920cf/packages/core/src/lifecycle.ts
vue-mini/vue-mini c0920cf packages/core/src/lifecycle.ts
true
200
8,880
import type { AppInstance, PageInstance, ComponentInstance } from './instance' import { currentApp, currentComponent, getCurrentInstance } from './instance' import { AppLifecycle } from './app' import type { Query } from './page' import { PageLifecycle } from './page' import { ComponentLifecycle } from './component' im...
4
pstachula-dev/advent-of-code
1518f54
2024/ts/day12/index.ts
TypeScript
www.github.com/pstachula-dev/advent-of-code/tree/main/2024/ts/day12/index.ts
https://raw.githubusercontent.com/pstachula-dev/advent-of-code/1518f54/2024/ts/day12/index.ts
pstachula-dev/advent-of-code 1518f54 2024/ts/day12/index.ts
true
200
4,144
import { debugGrid, INPUT_PATH, runner, directions, SAMPLE_PATH, splitLines, getGrid, } from '../../../lib/utils'; const path = `${__dirname}/${INPUT_PATH}`; type Node = [number, number]; const directionsDiagonal = [ // Top-left [ [-1, 0], [-1, 1], [0, 1], ], // Top-right [ [0...
6
atheken/cncjs-mobile-pendant
b0c51eb
vite.config.ts
TypeScript
www.github.com/atheken/cncjs-mobile-pendant/tree/main/vite.config.ts
https://raw.githubusercontent.com/atheken/cncjs-mobile-pendant/b0c51eb/vite.config.ts
atheken/cncjs-mobile-pendant b0c51eb vite.config.ts
true
200
437
import { defineConfig } from 'vite'; import { svelte } from '@sveltejs/vite-plugin-svelte'; // https://vitejs.dev/config/ /** @type {import('vite').UserConfig} */ export default defineConfig({ base: '', plugins: [svelte()], server: { hmr: { host: 'localhost', clientPort: 5173 }, host: true, proxy: { ...
0
CrysnaSony/Library-Management
8a4d1d0
server/controllers/bookController.ts
TypeScript
www.github.com/CrysnaSony/Library-Management/tree/main/server/controllers/bookController.ts
https://raw.githubusercontent.com/CrysnaSony/Library-Management/8a4d1d0/server/controllers/bookController.ts
CrysnaSony/Library-Management 8a4d1d0 server/controllers/bookController.ts
true
200
4,045
import fs from "fs"; import csv from "csv-parser"; import { stringify } from "csv-stringify"; import authorController from "./authorController"; import { readFile } from "fs/promises"; import { object, string } from "yup"; import path from "path" interface Book { title: string, isbn: string, authors: string...
2
Austinsahm/Parrot
da50f52
src/app/widgets/dashboard-widgets/dashboard-device-field/dashboard-device-field.component.ts
TypeScript
www.github.com/Austinsahm/Parrot/tree/main/src/app/widgets/dashboard-widgets/dashboard-device-field/dashboard-device-field.component.ts
https://raw.githubusercontent.com/Austinsahm/Parrot/da50f52/src/app/widgets/dashboard-widgets/dashboard-device-field/dashboard-device-field.component.ts
Austinsahm/Parrot da50f52 src/app/widgets/dashboard-widgets/dashboard-device-field/dashboard-device-field.component.ts
true
200
2,719
import { ChangeDetectionStrategy, Component, forwardRef, Input, OnInit, Output, EventEmitter, } from "@angular/core"; import { FormControl, NG_VALUE_ACCESSOR } from "@angular/forms"; import { MatSelectChange } from "@angular/material/select"; import { Observable, Subject } from "rxjs"; import { map, takeU...
5
Jean-Dresbach/Pokedex
279fac3
src/types/pokemon.ts
TypeScript
www.github.com/Jean-Dresbach/Pokedex/tree/main/src/types/pokemon.ts
https://raw.githubusercontent.com/Jean-Dresbach/Pokedex/279fac3/src/types/pokemon.ts
Jean-Dresbach/Pokedex 279fac3 src/types/pokemon.ts
true
200
2,807
export type Generations = | "All" | "Gen-I" | "Gen-II" | "Gen-III" | "Gen-IV" | "Gen-V" | "Gen-VI" | "Gen-VII" | "Gen-VIII" | "Gen-IX" export type Type = | "normal" | "fighting" | "flying" | "poison" | "ground" | "rock" | "bug" | "ghost" | "steel" | "fire" | "water" | "grass...
3
anttiromppanen/sign-language-teacher
63d16f3
tests/training.spec.ts
TypeScript
www.github.com/anttiromppanen/sign-language-teacher/tree/main/tests/training.spec.ts
https://raw.githubusercontent.com/anttiromppanen/sign-language-teacher/63d16f3/tests/training.spec.ts
anttiromppanen/sign-language-teacher 63d16f3 tests/training.spec.ts
true
200
662
import { test, expect } from "@playwright/test"; test.describe("/training", () => { test("should show camera error when webcam is not detected", async ({ page, }) => { await page .context() .grantPermissions([], { origin: "http://localhost:3000" }); await page.goto("http://localhost:3000/t...
1
icaroribeiro/full-stack-app-with-reactjs-nodejs-python-docker
8fada94
apps/server1/src/api/utils/api-error-handler.ts
TypeScript
www.github.com/icaroribeiro/full-stack-app-with-reactjs-nodejs-python-docker/tree/main/apps/server1/src/api/utils/api-error-handler.ts
https://raw.githubusercontent.com/icaroribeiro/full-stack-app-with-reactjs-nodejs-python-docker/8fada94/apps/server1/src/api/utils/api-error-handler.ts
icaroribeiro/full-stack-app-with-reactjs-nodejs-python-docker 8fada94 apps/server1/src/api/utils/api-error-handler.ts
true
200
1,289
import { NextFunction, Request, Response } from 'express' import httpStatus from 'http-status' import { ValidateError } from 'tsoa' import { Detail, ServerError } from '../../server-error' import { APIErrorResponse } from '../shared' class APIErrorHandler { public handleError( error: unknown, req: Request, ...
7
johnwesley18/AGILE-ACTIONS-UST-
b2794ea
FrontEnd/src/app/pages/become-pro/become-pro.component.ts
TypeScript
www.github.com/johnwesley18/AGILE-ACTIONS-UST-/tree/main/FrontEnd/src/app/pages/become-pro/become-pro.component.ts
https://raw.githubusercontent.com/johnwesley18/AGILE-ACTIONS-UST-/b2794ea/FrontEnd/src/app/pages/become-pro/become-pro.component.ts
johnwesley18/AGILE-ACTIONS-UST- b2794ea FrontEnd/src/app/pages/become-pro/become-pro.component.ts
true
200
6,923
import { Component, ElementRef, ViewChild } from '@angular/core'; import { FormBuilder, FormGroup, FormsModule, ReactiveFormsModule, Validators, } from '@angular/forms'; import { QuoteCardComponent } from '../../components/quote-card/quote-card.component'; import { NgFor } from '@angular/common'; import { Com...
4
NiveshJ/Our-Sentiments
a8f5f4b
src/helpers/types.d.ts
TypeScript
www.github.com/NiveshJ/Our-Sentiments/tree/main/src/helpers/types.d.ts
https://raw.githubusercontent.com/NiveshJ/Our-Sentiments/a8f5f4b/src/helpers/types.d.ts
NiveshJ/Our-Sentiments a8f5f4b src/helpers/types.d.ts
true
200
458
export type ProductData = { id: string; title: string; imageUrl: string; }; export interface ProductReviewData { reviewerName: string; reviewTitle: string; reviewBody: string; reviewStars: number; } export interface ReviewData extends ProductReviewData { positive: number; neutral: ...
6
zxy19/flarum-collector
a507dd1
js/dist-typings/forum/utils/userValueUtil.d.ts
TypeScript
www.github.com/zxy19/flarum-collector/tree/main/js/dist-typings/forum/utils/userValueUtil.d.ts
https://raw.githubusercontent.com/zxy19/flarum-collector/a507dd1/js/dist-typings/forum/utils/userValueUtil.d.ts
zxy19/flarum-collector a507dd1 js/dist-typings/forum/utils/userValueUtil.d.ts
true
200
488
import HumanizeUtils from "../../common/utils/HumanizeUtils"; import Condition from "../../common/models/Condition"; import { ConditionData } from "../../common/types/data"; export default class userValueUtil { private humanize; private conditionMap; constructor(humanize: HumanizeUtils, conditionMap?: Recor...
2
Zengry10/back-interactive-order-terminal
c399efa
app/Controllers/Http/OrdersController.ts
TypeScript
www.github.com/Zengry10/back-interactive-order-terminal/tree/main/app/Controllers/Http/OrdersController.ts
https://raw.githubusercontent.com/Zengry10/back-interactive-order-terminal/c399efa/app/Controllers/Http/OrdersController.ts
Zengry10/back-interactive-order-terminal c399efa app/Controllers/Http/OrdersController.ts
true
200
1,187
import type { HttpContextContract } from '@ioc:Adonis/Core/HttpContext' import ValidatorOrder from '../../Validators/Admin/OrderValidator' import Order from '../../Models/Order' // import '@adonisjs/websocket/build/adonis-websocket-client' // import { use } from '@adonisjs/websocket-client' // import { Server } from 's...
0
AnteroAndres/E-Shop
d1bc42e
app/api/order/route.ts
TypeScript
www.github.com/AnteroAndres/E-Shop/tree/main/app/api/order/route.ts
https://raw.githubusercontent.com/AnteroAndres/E-Shop/d1bc42e/app/api/order/route.ts
AnteroAndres/E-Shop d1bc42e app/api/order/route.ts
true
200
701
import { getCurrentUser } from '@/actions/getCurrentUser'; import prisma from '@/libs/prismadb'; import { NextApiResponse } from 'next'; export async function PUT(request: Request, res: NextApiResponse){ const currentUser = await getCurrentUser(); if(!currentUser) { res.status(401).json({ error: 'No...
5
guendev/it-backend
9c59fdd
src/app/upload/upload.controller.ts
TypeScript
www.github.com/guendev/it-backend/tree/main/src/app/upload/upload.controller.ts
https://raw.githubusercontent.com/guendev/it-backend/9c59fdd/src/app/upload/upload.controller.ts
guendev/it-backend 9c59fdd src/app/upload/upload.controller.ts
true
200
2,127
import { Body, Controller, Post, Request, UploadedFile, UseGuards, UseInterceptors } from '@nestjs/common' import * as fs from 'fs' import uploadSingleFilter from '@app/upload/filter/upload-single.filter' import uploadDocumentFilter from '@app/upload/filter/upload-document.filter' import { UploadSingleEn...
3
elfennani/scheduler
fda8630
pages/api/auth/[...nextauth].ts
TypeScript
www.github.com/elfennani/scheduler/tree/main/pages/api/auth/[...nextauth].ts
https://raw.githubusercontent.com/elfennani/scheduler/fda8630/pages/api/auth/%5B...nextauth%5D.ts
elfennani/scheduler fda8630 pages/api/auth/[...nextauth].ts
true
200
1,922
import { MongoDBAdapter } from "@next-auth/mongodb-adapter"; import { PrismaAdapter } from "@next-auth/prisma-adapter"; import { User } from "@prisma/client"; import { AuthOptions } from "next-auth"; import NextAuth from "next-auth/next"; import Credentials from "next-auth/providers/credentials"; import sha256 from "sh...
1
isleoflan/dashboard
9872389
src/app/store/app.state.ts
TypeScript
www.github.com/isleoflan/dashboard/tree/main/src/app/store/app.state.ts
https://raw.githubusercontent.com/isleoflan/dashboard/9872389/src/app/store/app.state.ts
isleoflan/dashboard 9872389 src/app/store/app.state.ts
true
200
380
import { AuthStoreReducer } from '@/store/auth'; import { OnboardingStoreReducer } from "@/store/onboarding"; import { SeatStoreReducer } from "@/store/seat"; import { UserStoreReducer } from "@/store/user"; export interface AppState { auth: AuthStoreReducer.State; seat: SeatStoreReducer.State; user: UserStoreR...
4
ivobasteiro/TP2-Proyecto
7a80b9d
src/models/Pelicula.ts
TypeScript
www.github.com/ivobasteiro/TP2-Proyecto/tree/main/src/models/Pelicula.ts
https://raw.githubusercontent.com/ivobasteiro/TP2-Proyecto/7a80b9d/src/models/Pelicula.ts
ivobasteiro/TP2-Proyecto 7a80b9d src/models/Pelicula.ts
true
200
981
class Pelicula { private id: Number; private nombre: string; // private int numero private url_imagen: string; private es_pelicula: Number; private descripcion: string; constructor(id: Number, nombre: string, url_imagen: string, es_pelicula: Number, descripcion: string) { this.id = id; ...
6
Aditya0732/Discord
b0dbcc0
app/api/channels/route.ts
TypeScript
www.github.com/Aditya0732/Discord/tree/main/app/api/channels/route.ts
https://raw.githubusercontent.com/Aditya0732/Discord/b0dbcc0/app/api/channels/route.ts
Aditya0732/Discord b0dbcc0 app/api/channels/route.ts
true
200
1,570
import { currentProfile } from "@/lib/current-profile"; import { db } from "@/lib/db"; import { MemberRole } from "@prisma/client"; import { NextResponse } from "next/server"; export async function POST( req:Request ){ try{ const profile = await currentProfile(); const { name , type } = await r...
2
yanweiyi11/micode-frontend
8b0f91e
src/stores/user.ts
TypeScript
www.github.com/yanweiyi11/micode-frontend/tree/main/src/stores/user.ts
https://raw.githubusercontent.com/yanweiyi11/micode-frontend/8b0f91e/src/stores/user.ts
yanweiyi11/micode-frontend 8b0f91e src/stores/user.ts
true
200
1,056
import { defineStore } from "pinia"; import { User, UserControllerService, UserLoginRequest, UserVO, } from "@/../openapi"; import router from "@/router"; import { ElMessage } from "element-plus"; const useUserStore = defineStore("user", { persist: { enabled: true, strategies: [ { stora...
0
thientan2610/MEGOO_APP
6b14ca2
src/services/group.service.ts
TypeScript
www.github.com/thientan2610/MEGOO_APP/tree/main/src/services/group.service.ts
https://raw.githubusercontent.com/thientan2610/MEGOO_APP/6b14ca2/src/services/group.service.ts
thientan2610/MEGOO_APP 6b14ca2 src/services/group.service.ts
true
200
2,027
import axios from 'axios'; import AsyncStorage from '@react-native-async-storage/async-storage'; import {URL_HOST} from '../core/config/api/api.config'; export const getUserGroup = async () => { const groupEndpoint = `api/pkg-mgmt/gr/user?limit=20`; const reqUrl = `${URL_HOST}${groupEndpoint}`; console.log('Ge...
1
jrposada/r-interview
a32e536
packages/frontend/src/core/hooks/transcribes/use-transcribes-download.ts
TypeScript
www.github.com/jrposada/r-interview/tree/main/packages/frontend/src/core/hooks/transcribes/use-transcribes-download.ts
https://raw.githubusercontent.com/jrposada/r-interview/a32e536/packages/frontend/src/core/hooks/transcribes/use-transcribes-download.ts
jrposada/r-interview a32e536 packages/frontend/src/core/hooks/transcribes/use-transcribes-download.ts
true
200
1,276
import { useMutation, useQueryClient } from '@tanstack/react-query'; import axios from 'axios'; import useSnackbar from '../../../ui/snackbar/use-snackbar'; import { t } from 'i18next'; import { ApiResponse } from '@shared/models/api-response'; type UseTranscribesDownloadParams = { onError?: (message: string) => voi...
7
MORARU12/books-app-assignment
053e3ac
src/app/store.ts
TypeScript
www.github.com/MORARU12/books-app-assignment/tree/main/src/app/store.ts
https://raw.githubusercontent.com/MORARU12/books-app-assignment/053e3ac/src/app/store.ts
MORARU12/books-app-assignment 053e3ac src/app/store.ts
true
200
1,053
import { configureStore, ThunkAction, Action, combineReducers, } from "@reduxjs/toolkit"; import { persistStore, persistReducer } from "redux-persist"; import storage from "redux-persist/lib/storage"; import thunkMiddleware from "redux-thunk"; import searchReducer from "../features/search/searchSlice"; import b...
5
hyperjump-io/json-schema-language-tools
9638948
language-server/src/test/test-client.ts
TypeScript
www.github.com/hyperjump-io/json-schema-language-tools/tree/main/language-server/src/test/test-client.ts
https://raw.githubusercontent.com/hyperjump-io/json-schema-language-tools/9638948/language-server/src/test/test-client.ts
hyperjump-io/json-schema-language-tools 9638948 language-server/src/test/test-client.ts
true
200
9,826
import { access, mkdtemp, readFile, rm, writeFile } from "node:fs/promises"; import { Duplex } from "node:stream"; import { tmpdir } from "node:os"; import { join } from "node:path"; import { fileURLToPath } from "node:url"; import { ConfigurationRequest, DidChangeConfigurationNotification, DidChangeWatchedFilesN...
3
SachinRupani/react-native-basic-story-view
30e462d
src/basic-story-view/hooks/useBasicStoryViewActions.ts
TypeScript
www.github.com/SachinRupani/react-native-basic-story-view/tree/main/src/basic-story-view/hooks/useBasicStoryViewActions.ts
https://raw.githubusercontent.com/SachinRupani/react-native-basic-story-view/30e462d/src/basic-story-view/hooks/useBasicStoryViewActions.ts
SachinRupani/react-native-basic-story-view 30e462d src/basic-story-view/hooks/useBasicStoryViewActions.ts
true
200
878
import { useState } from 'react'; import type { StorySlideItemDataEntity } from '../data/StorySlideItemDataEntity'; export const useBasicStoryViewActions = ( dataItems: Array<StorySlideItemDataEntity> ) => { const [currentIndex, setCurrentIndex] = useState<number>(0); const moveToNextSlide = (onFinalSlideClickA...
4
yingj1999/Pointer
b326788
pointer-app/src/app/upload-picture/upload-picture.component.ts
TypeScript
www.github.com/yingj1999/Pointer/tree/main/pointer-app/src/app/upload-picture/upload-picture.component.ts
https://raw.githubusercontent.com/yingj1999/Pointer/b326788/pointer-app/src/app/upload-picture/upload-picture.component.ts
yingj1999/Pointer b326788 pointer-app/src/app/upload-picture/upload-picture.component.ts
true
200
1,543
import { Component, OnInit, Output, EventEmitter, Input } from '@angular/core'; import {UploadPictureService} from './uploadPictureService'; @Component({ selector: 'app-upload-picture', templateUrl: './upload-picture.component.html', styleUrls: ['./upload-picture.component.css'] }) export class UploadPictureComp...
6
amirr-cl/outlook-add-in
8adfaa0
src/theme.ts
TypeScript
www.github.com/amirr-cl/outlook-add-in/tree/main/src/theme.ts
https://raw.githubusercontent.com/amirr-cl/outlook-add-in/8adfaa0/src/theme.ts
amirr-cl/outlook-add-in 8adfaa0 src/theme.ts
true
200
647
import { createTheme, Theme } from "@mui/material/styles"; export const lightTheme: Theme = createTheme({ palette: { primary: { main: "#6264A7", light: "#3B7BDB", }, secondary: { main: "#454691", light: "#fff", }, error: { main: "#FF0404", }, }, typography: {...
2
keisha-rw/lit-components-lib
861d5b9
packages/react/src/lib/components/pagination-item/pagination-item.d.ts
TypeScript
www.github.com/keisha-rw/lit-components-lib/tree/main/packages/react/src/lib/components/pagination-item/pagination-item.d.ts
https://raw.githubusercontent.com/keisha-rw/lit-components-lib/861d5b9/packages/react/src/lib/components/pagination-item/pagination-item.d.ts
keisha-rw/lit-components-lib 861d5b9 packages/react/src/lib/components/pagination-item/pagination-item.d.ts
true
200
566
import * as React from 'react'; export declare const PdsPaginationItem: React.FunctionComponent<Partial<{ variant: "no-arrows-first" | "no-arrows-last" | "no-arrows-one-item"; href: string; active: boolean; hideFlyers: boolean; }> & { ref?: React.Ref<any> | undefined; } & { style?: React.CSSProp...
0
nagelandrey/vue-starter-template
2b30453
src/router/index.ts
TypeScript
www.github.com/nagelandrey/vue-starter-template/tree/main/src/router/index.ts
https://raw.githubusercontent.com/nagelandrey/vue-starter-template/2b30453/src/router/index.ts
nagelandrey/vue-starter-template 2b30453 src/router/index.ts
true
200
1,572
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router' import { RouteNames } from '@/models/RouteNames' import { useAuthStore } from '@/stores/auth' const routes: Array<RouteRecordRaw> = [ { path: '/', name: RouteNames.Home, component: () => import('@/views/PageHome.vue'), }, { ...
3
danilofreitas25/Projeto-tenis
508217c
src/app/page/home/home.page.ts
TypeScript
www.github.com/danilofreitas25/Projeto-tenis/tree/main/src/app/page/home/home.page.ts
https://raw.githubusercontent.com/danilofreitas25/Projeto-tenis/508217c/src/app/page/home/home.page.ts
danilofreitas25/Projeto-tenis 508217c src/app/page/home/home.page.ts
true
200
1,120
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-home', templateUrl: './home.page.html', styleUrls: ['./home.page.scss'], }) export class HomePage implements OnInit { isModalOpen = false; setOpen(isOpen: boolean) { this.isModalOpen = isOpen; } isModalOpen1 = false; ...
7
thenriet/hippopocrate
5d9f0b0
angular-client/src/app/liste-service/liste-service.component.ts
TypeScript
www.github.com/thenriet/hippopocrate/tree/main/angular-client/src/app/liste-service/liste-service.component.ts
https://raw.githubusercontent.com/thenriet/hippopocrate/5d9f0b0/angular-client/src/app/liste-service/liste-service.component.ts
thenriet/hippopocrate 5d9f0b0 angular-client/src/app/liste-service/liste-service.component.ts
true
200
771
import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { ServiceHippo } from '../model/serviceHippo'; import { ServiceHippoService } from '../service/service-hippo.service'; @Component({ selector: 'app-liste-service', templateUrl: './liste-service.component.html', sty...
1
filipemendes89/po-myarena
6df4340
src/app/people/people-widget/people-widget.component.ts
TypeScript
www.github.com/filipemendes89/po-myarena/tree/main/src/app/people/people-widget/people-widget.component.ts
https://raw.githubusercontent.com/filipemendes89/po-myarena/6df4340/src/app/people/people-widget/people-widget.component.ts
filipemendes89/po-myarena 6df4340 src/app/people/people-widget/people-widget.component.ts
true
200
2,733
import { Component, ViewChild } from '@angular/core' import { Router } from '@angular/router' import { PoDynamicViewField, PoInfoOrientation, PoNotificationService, PoToasterType } from '@po-ui/ng-components' import { PeopleService } from '../people.service' export enum Level { Estreante = 1, Iniciante = 2, Inte...
4
Alness1314/inventorys-system-api
b2cb888
src/virtual-machine/dto/response-virtual-machine.dto.ts
TypeScript
www.github.com/Alness1314/inventorys-system-api/tree/main/src/virtual-machine/dto/response-virtual-machine.dto.ts
https://raw.githubusercontent.com/Alness1314/inventorys-system-api/b2cb888/src/virtual-machine/dto/response-virtual-machine.dto.ts
Alness1314/inventorys-system-api b2cb888 src/virtual-machine/dto/response-virtual-machine.dto.ts
true
200
327
import { ResponseApplicationInfoDto } from 'src/application-info/dto/response-application-info.dto'; export class ResponseVirtualMachineDto { id: string; nameVM: string; description: string; ipVM: string; externalIp: string; applicationInfo: ResponseApplicationInfoDto[]; dateCreate: Date; deleted: bool...
6
kuyeol/angular-front
d0f476d
src/app/app.module.ts
TypeScript
www.github.com/kuyeol/angular-front/tree/main/src/app/app.module.ts
https://raw.githubusercontent.com/kuyeol/angular-front/d0f476d/src/app/app.module.ts
kuyeol/angular-front d0f476d src/app/app.module.ts
true
200
655
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { XyzComponent } from './x...
2
1939323749/deno_project
28962a6
src/index.ts
TypeScript
www.github.com/1939323749/deno_project/tree/main/src/index.ts
https://raw.githubusercontent.com/1939323749/deno_project/28962a6/src/index.ts
1939323749/deno_project 28962a6 src/index.ts
true
200
1,304
import { Controller as MuseumController, Repository as MuseumRepository, } from "./museums/index.ts"; import { UserController, Repository, TokenController, TokenRepository, } from "./user/index.ts"; import { createServer } from "./web/index.ts"; import { MongoClient } from "./deps.ts"; const museumReposito...
0
woobottle/wordle-challenge
af3dd47
src/hooks/useTheme.ts
TypeScript
www.github.com/woobottle/wordle-challenge/tree/main/src/hooks/useTheme.ts
https://raw.githubusercontent.com/woobottle/wordle-challenge/af3dd47/src/hooks/useTheme.ts
woobottle/wordle-challenge af3dd47 src/hooks/useTheme.ts
true
200
389
import { ThemeContext } from "styled-components"; import { useContext } from "react"; const useTheme = () => { const { currentTheme, setTheme } = useContext(ThemeContext); const toggleTheme = () => { if (currentTheme === "light") { setTheme("dark"); return; } setTheme("light"); return;...
5
mirkogonzalezv/aws_url_prefirmada
04c6c2d
src/app.service.ts
TypeScript
www.github.com/mirkogonzalezv/aws_url_prefirmada/tree/main/src/app.service.ts
https://raw.githubusercontent.com/mirkogonzalezv/aws_url_prefirmada/04c6c2d/src/app.service.ts
mirkogonzalezv/aws_url_prefirmada 04c6c2d src/app.service.ts
true
200
408
import { Injectable } from '@nestjs/common'; import { UrlPresignedUseCases } from './url-presigned.usecase'; @Injectable() export class AppService { constructor(private readonly urlPresignedUseCases: UrlPresignedUseCases) {} async getPresignedUrl(filename: string) { const bucketName = process.env.AWS_BUCKET_N...
7
HA0N1/game-nest
c13a8e5
src/user/user.service.ts
TypeScript
www.github.com/HA0N1/game-nest/tree/main/src/user/user.service.ts
https://raw.githubusercontent.com/HA0N1/game-nest/c13a8e5/src/user/user.service.ts
HA0N1/game-nest c13a8e5 src/user/user.service.ts
true
200
14,732
import { Injectable, ConflictException, UnauthorizedException, NotFoundException, BadRequestException, Request, } from '@nestjs/common'; import { CreateUserDto } from './dto/create-user.dto'; import { UpdateUserDto } from './dto/update-user.dto'; import { EmailLoginDto } from './dto/emailLogin.dto'; import ...
3
jakewheeler/goty-app
8fb2a07
server/src/middleware/index.ts
TypeScript
www.github.com/jakewheeler/goty-app/tree/main/server/src/middleware/index.ts
https://raw.githubusercontent.com/jakewheeler/goty-app/8fb2a07/server/src/middleware/index.ts
jakewheeler/goty-app 8fb2a07 server/src/middleware/index.ts
true
200
940
import { admin } from '../firebase/firestore'; import { Response, NextFunction, Request } from 'express'; const getAuthToken = (req: Request, next: NextFunction): void => { if ( req.headers.authorization && req.headers.authorization.split(' ')[0] === 'Bearer' ) { req.token = req.headers.authorization.s...
1
stable-packages/store
778fee4
packages/global-store/ts/typesInternal.ts
TypeScript
www.github.com/stable-packages/store/tree/main/packages/global-store/ts/typesInternal.ts
https://raw.githubusercontent.com/stable-packages/store/778fee4/packages/global-store/ts/typesInternal.ts
stable-packages/store 778fee4 packages/global-store/ts/typesInternal.ts
true
200
563
import type { StoreInitializer, StoreValue, StoreVersion } from './types.js' export interface StoreId { moduleName: string key?: string | undefined } export type Stores = Record< StoreId['moduleName'], Record<string, { versions: StoreVersion[]; initializers: StoreInitializer<StoreValue>[]; value: StoreValue }> > ...
4
elvate-app/elvate-frontend
a5bf1ca
src/hooks/useCall.ts
TypeScript
www.github.com/elvate-app/elvate-frontend/tree/main/src/hooks/useCall.ts
https://raw.githubusercontent.com/elvate-app/elvate-frontend/a5bf1ca/src/hooks/useCall.ts
elvate-app/elvate-frontend a5bf1ca src/hooks/useCall.ts
true
200
1,037
import { ContractReceipt, ContractTransaction } from "ethers"; import { useDispatch } from "react-redux"; import useSnackbar from "src/hooks/useSnackbar"; import { addTransaction } from "src/state/transactions/actions"; const WAIT_BLOCK = 1; const useCall = <T extends (...args: any[]) => any>(f: T, label: string) => ...
2
elifesciences/enhanced-preprints-import
18d69b5
src/types.ts
TypeScript
www.github.com/elifesciences/enhanced-preprints-import/tree/main/src/types.ts
https://raw.githubusercontent.com/elifesciences/enhanced-preprints-import/18d69b5/src/types.ts
elifesciences/enhanced-preprints-import 18d69b5 src/types.ts
true
200
889
import { DocMap } from '@elifesciences/docmap-ts'; // Arguments that could be passed through all workflows. export type WorkflowArgs = { workflowArgs?: { xsltTransformPassthrough?: boolean, preferPreprintContent?: boolean, xsltBlacklist?: string, encodaDefaultVersion?: string, }, }; export type Im...
6
derekgygax/practice-hub
4d2d24b
learning/Clerk_Auth/clerk_nextjs15/src/middleware.ts
TypeScript
www.github.com/derekgygax/practice-hub/tree/main/learning/Clerk_Auth/clerk_nextjs15/src/middleware.ts
https://raw.githubusercontent.com/derekgygax/practice-hub/4d2d24b/learning/Clerk_Auth/clerk_nextjs15/src/middleware.ts
derekgygax/practice-hub 4d2d24b learning/Clerk_Auth/clerk_nextjs15/src/middleware.ts
true
200
1,128
import { clerkMiddleware, createRouteMatcher } from '@clerk/nextjs/server'; // Protect all routes except the ones outlined const isPublicRoute = createRouteMatcher([ '/sign-in(.*)', '/sign-up(.*)' ]); export default clerkMiddleware(async (auth, req) => { if (!isPublicRoute(req)) { await auth.protect(); } ...
7
CA1R7/yurex-client
c989d21
src/redux/reducers/chat.reducer.ts
TypeScript
www.github.com/CA1R7/yurex-client/tree/main/src/redux/reducers/chat.reducer.ts
https://raw.githubusercontent.com/CA1R7/yurex-client/c989d21/src/redux/reducers/chat.reducer.ts
CA1R7/yurex-client c989d21 src/redux/reducers/chat.reducer.ts
true
200
860
import { Action } from ".."; export interface MessageType { id: string; timestamp: number; tag: { code: string | null; pin: number | null }; username: string; isAdmin: boolean; verified: boolean; message: string; } export interface ChatReducer { isTeamType: boolean; chat_types_menu: boolean; chat_...
3
Odracir2435/AngulaMongodbNodejs
8e9fdc6
Frontend/src/app/usuario/usuario.component.ts
TypeScript
www.github.com/Odracir2435/AngulaMongodbNodejs/tree/main/Frontend/src/app/usuario/usuario.component.ts
https://raw.githubusercontent.com/Odracir2435/AngulaMongodbNodejs/8e9fdc6/Frontend/src/app/usuario/usuario.component.ts
Odracir2435/AngulaMongodbNodejs 8e9fdc6 Frontend/src/app/usuario/usuario.component.ts
true
200
2,873
import { Component, OnInit } from '@angular/core'; import { FormControl, FormGroup, FormBuilder, Validator } from '@angular/forms'; import { ActivatedRoute } from '@angular/router'; import { ToastrService } from 'ngx-toastr'; import { Usuario } from '../model/usuario'; import { UsuarioService } from '../service/usuario...
4
polbac/carcosa-nft
b01beed
src/index.ts
TypeScript
www.github.com/polbac/carcosa-nft/tree/main/src/index.ts
https://raw.githubusercontent.com/polbac/carcosa-nft/b01beed/src/index.ts
polbac/carcosa-nft b01beed src/index.ts
true
200
2,505
import * as PIXI from "pixi.js"; import * as Tone from "tone"; import { Nature } from "./components/Nature"; import { Eye } from "./components/Eye"; import { Light } from "./components/Light"; import "./style.css"; const app = new PIXI.Application({ backgroundColor: 0x000000, resizeTo: window, }); const sta...
1
DenBerez/denbox
0cfdba4
src/constants/gameSettings.ts
TypeScript
www.github.com/DenBerez/denbox/tree/main/src/constants/gameSettings.ts
https://raw.githubusercontent.com/DenBerez/denbox/0cfdba4/src/constants/gameSettings.ts
DenBerez/denbox 0cfdba4 src/constants/gameSettings.ts
true
200
1,878
import { GameType, GameTypeConfig } from '@/types/game'; import { GameSettings, LetterRaceSettings, PictureGameSettings } from '@/types/settings'; import { TextFields as LetterIcon } from '@mui/icons-material'; /** * Game settings and configuration constants * - Defines default settings for different game types (cur...
0
pratikdevelop/SafePassVaultWebUI
09af8e7
src/app/services/organization.service.ts
TypeScript
www.github.com/pratikdevelop/SafePassVaultWebUI/tree/main/src/app/services/organization.service.ts
https://raw.githubusercontent.com/pratikdevelop/SafePassVaultWebUI/09af8e7/src/app/services/organization.service.ts
pratikdevelop/SafePassVaultWebUI 09af8e7 src/app/services/organization.service.ts
true
200
1,461
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { environment } from '../../environments/environment'; import { Observable } from 'rxjs'; @Injectable({ providedIn: 'root' }) export class OrganizationService { private apiUrl = environment.api_url; constructo...
2
nmukassa1/designspo-webpage
26d6388
src/app/authActions/actions.ts
TypeScript
www.github.com/nmukassa1/designspo-webpage/tree/main/src/app/authActions/actions.ts
https://raw.githubusercontent.com/nmukassa1/designspo-webpage/26d6388/src/app/authActions/actions.ts
nmukassa1/designspo-webpage 26d6388 src/app/authActions/actions.ts
true
200
394
"use server"; import { redirect } from "next/navigation"; import { createClient } from "../supabase/superbaseServer"; export async function signOut() { const supabase = await createClient(); const { error } = await supabase.auth.signOut(); if (error) { console.error("Error signing out:", error); } else { ...
5
johnmerga/ERAP-Backend
70c3bf3
src/service/chat.service.ts
TypeScript
www.github.com/johnmerga/ERAP-Backend/tree/main/src/service/chat.service.ts
https://raw.githubusercontent.com/johnmerga/ERAP-Backend/70c3bf3/src/service/chat.service.ts
johnmerga/ERAP-Backend 70c3bf3 src/service/chat.service.ts
true
200
5,213
import httpStatus from "http-status"; import { ChatDal } from "../dal/chat.dal"; import { ApiError } from "../errors"; import { Chat, IChatDoc, IChatMessages, NewChat, NewChatMessages, UpdateChatBody, } from "../model/chat"; import { IUserDoc } from "../model/user"; import { IOptions, QueryResult, Operation...
6
jamesikjo/armonvan-photography
189e97e
frontend/src/pages/api/mail.ts
TypeScript
www.github.com/jamesikjo/armonvan-photography/tree/main/frontend/src/pages/api/mail.ts
https://raw.githubusercontent.com/jamesikjo/armonvan-photography/189e97e/frontend/src/pages/api/mail.ts
jamesikjo/armonvan-photography 189e97e frontend/src/pages/api/mail.ts
true
200
762
import type { NextApiRequest, NextApiResponse } from "next"; import mail from "@sendgrid/mail"; mail.setApiKey(process.env.SENDGRID_API_KEY as string); const handler = async (req: NextApiRequest, res: NextApiResponse) => { const body = JSON.parse(req.body); const message = ` Name: ${body.name}\r\n Em...
7
velkan14/api-web-template
b5283b5
apps/api/src/v1/models/product.ts
TypeScript
www.github.com/velkan14/api-web-template/tree/main/apps/api/src/v1/models/product.ts
https://raw.githubusercontent.com/velkan14/api-web-template/b5283b5/apps/api/src/v1/models/product.ts
velkan14/api-web-template b5283b5 apps/api/src/v1/models/product.ts
true
200
981
import { db } from "../../config/database"; import { Product } from "../interfaces/product"; export const getProduct = async ({ productId }: { productId: string }) => { const products = await db<Product>("products") .select() .where({ id: productId }); if (products.length > 0) return products[0]; return...
4
nokdoot/nft-trade-market
dbf6a0c
scripts/cancel-trade-receipt.ts
TypeScript
www.github.com/nokdoot/nft-trade-market/tree/main/scripts/cancel-trade-receipt.ts
https://raw.githubusercontent.com/nokdoot/nft-trade-market/dbf6a0c/scripts/cancel-trade-receipt.ts
nokdoot/nft-trade-market dbf6a0c scripts/cancel-trade-receipt.ts
true
200
624
import { ethers } from 'hardhat'; import env from 'env-var'; const NFT_TRADE_MARKET_ADDRESS = env.get('NFT_TRADE_MARKET_ADDRESS').required().asString(); const NFT_ADDRESS = env.get('NFT_ADDRESS').required().asString(); (async () => { const [admin, test1, test2] = await ethers.getSigners(); const nftTradeMarket = ...
1
2jiwon/nomad_corders_courses
c12fcb8
clone-carrot-market/carrot-market/libs/client/client.ts
TypeScript
www.github.com/2jiwon/nomad_corders_courses/tree/main/clone-carrot-market/carrot-market/libs/client/client.ts
https://raw.githubusercontent.com/2jiwon/nomad_corders_courses/c12fcb8/clone-carrot-market/carrot-market/libs/client/client.ts
2jiwon/nomad_corders_courses c12fcb8 clone-carrot-market/carrot-market/libs/client/client.ts
true
200
376
import { Prisma, PrismaClient } from "@prisma/client"; declare global { var client: PrismaClient | undefined; } // global client๋ฅผ client์— ์ €์žฅ. ํ•ด๋‹น ๊ฐ’์ด ์—†์œผ๋ฉด PrismaClient ์ƒ์„ฑ const client = global.client || new PrismaClient(); // ๊ฐœ๋ฐœ๋ชจ๋“œ ์ผ ๋•Œ๋งŒ if (process.env.NODE_ENV === "development") { global.client = client; } export ...
3
dayanaedwin/grocify
949c381
frontend/src/thunks/authThunk.ts
TypeScript
www.github.com/dayanaedwin/grocify/tree/main/frontend/src/thunks/authThunk.ts
https://raw.githubusercontent.com/dayanaedwin/grocify/949c381/frontend/src/thunks/authThunk.ts
dayanaedwin/grocify 949c381 frontend/src/thunks/authThunk.ts
true
200
1,162
import { createAsyncThunk } from "@reduxjs/toolkit"; import { APIS } from "../constants"; import { axiosInstance } from "../helpers"; export interface LoginForm { email: string; password: string; } export interface RegisterForm { name: string; email: string; password: string; } export interface A...
2
leomoraiscam/imdb-nestjs
9384835
src/modules/casts/services/createActor.service.spec.ts
TypeScript
www.github.com/leomoraiscam/imdb-nestjs/tree/main/src/modules/casts/services/createActor.service.spec.ts
https://raw.githubusercontent.com/leomoraiscam/imdb-nestjs/9384835/src/modules/casts/services/createActor.service.spec.ts
leomoraiscam/imdb-nestjs 9384835 src/modules/casts/services/createActor.service.spec.ts
true
200
1,499
import { ACTORS_REPOSITORY } from '@/config/constants/repositories.constants'; import { ConflictException } from '@nestjs/common'; import { Test } from '@nestjs/testing'; import { InMemoryActorsRepository } from '../repositories/in-memory/InMemoryActors.repositories'; import { CreateActorService } from './CreateActor....
0
Sopo2023/SOPO_Design_system
2b0e779
packages/components/src/ui/Button/DisabledButton/SOPODisbledButton.stories.ts
TypeScript
www.github.com/Sopo2023/SOPO_Design_system/tree/main/packages/components/src/ui/Button/DisabledButton/SOPODisbledButton.stories.ts
https://raw.githubusercontent.com/Sopo2023/SOPO_Design_system/2b0e779/packages/components/src/ui/Button/DisabledButton/SOPODisbledButton.stories.ts
Sopo2023/SOPO_Design_system 2b0e779 packages/components/src/ui/Button/DisabledButton/SOPODisbledButton.stories.ts
true
200
654
import type { Meta, StoryObj } from "@storybook/react"; import { SOPODisbledButton } from "./SOPODisbledButton"; import { CSSProperties } from "react"; const meta = { title: "ui/SOPOButton/SOPODisbledButton", component: SOPODisbledButton, parameters: { layout: "centered", }, tags: ["autodocs"], } satisfi...
4
HolliverCosta/WAITERAPP
57c5ed3
api/src/app/useCases/categories/listProductsByCategory.ts
TypeScript
www.github.com/HolliverCosta/WAITERAPP/tree/main/api/src/app/useCases/categories/listProductsByCategory.ts
https://raw.githubusercontent.com/HolliverCosta/WAITERAPP/57c5ed3/api/src/app/useCases/categories/listProductsByCategory.ts
HolliverCosta/WAITERAPP 57c5ed3 api/src/app/useCases/categories/listProductsByCategory.ts
true
200
319
import { Request, Response } from 'express'; import { Product } from '../../models/Product'; export async function listProductsByCategory(req: Request, res: Response) { const { categoryId } = req.params; const products = await Product.find().where('category').equals(categoryId); return res.json(products); }
7
durrantlab/prot2prot
08c7c97
src/UI/Tabs/Prot2ProtParams/ViewSetup.ts
TypeScript
www.github.com/durrantlab/prot2prot/tree/main/src/UI/Tabs/Prot2ProtParams/ViewSetup.ts
https://raw.githubusercontent.com/durrantlab/prot2prot/08c7c97/src/UI/Tabs/Prot2ProtParams/ViewSetup.ts
durrantlab/prot2prot 08c7c97 src/UI/Tabs/Prot2ProtParams/ViewSetup.ts
true
200
14,624
// This file is part of Prot2Prot, released under the Apache 2.0 License. See // LICENSE.md or go to https://opensource.org/licenses/Apache-2.0 for full // details. Copyright 2022 Jacob D. Durrant. import { InputColorScheme } from "../../../Pix2Pix/InputImage/ColorSchemes/InputColorScheme"; import { drawImageDataOnCan...
0
Gtrab618/gtrabHall
59e00fd
src/components/models/factures/facture.ts
TypeScript
www.github.com/Gtrab618/gtrabHall/tree/main/src/components/models/factures/facture.ts
https://raw.githubusercontent.com/Gtrab618/gtrabHall/59e00fd/src/components/models/factures/facture.ts
Gtrab618/gtrabHall 59e00fd src/components/models/factures/facture.ts
true
200
647
import { Payment_Form } from "../savedFactura/bill/payment_form"; export class Facture{ id:number=0; document:Document=new Document(); number:string=""; api_client_name:string=""; reference_code:string=""; identification:string=""; graphic_representation_name:string=""; company: string=...
2
zakyasra/learn-ts
a62424c
src/index.ts
TypeScript
www.github.com/zakyasra/learn-ts/tree/main/src/index.ts
https://raw.githubusercontent.com/zakyasra/learn-ts/a62424c/src/index.ts
zakyasra/learn-ts a62424c src/index.ts
true
200
1,344
let namaSaya: string = "zakyasra"; // string let username: number = 123; // number let isDead: boolean = true; // boolean // initilisasi awal kosong nilai let pacarSaya: number; pacarSaya = 5; let pacarsSaya: number | string; // union pacarsSaya = "lima"; let listPacar: string[]; // array biasa listPacar = ["sana", ...
4
voiceflow/test-history-rebase
12fbc65
apps/creator-app/src/models/Account.ts
TypeScript
www.github.com/voiceflow/test-history-rebase/tree/main/apps/creator-app/src/models/Account.ts
https://raw.githubusercontent.com/voiceflow/test-history-rebase/12fbc65/apps/creator-app/src/models/Account.ts
voiceflow/test-history-rebase 12fbc65 apps/creator-app/src/models/Account.ts
true
200
255
export interface Account { email: string; name: string; verified: boolean; creator_id: number; image?: string | null; created: string; first_login?: boolean; gid?: string; fid?: string; okta_id?: string; saml_provider_id?: string; }
0
lisandroveron/weatherapp
ab3c532
src/app/components/card/card.component.ts
TypeScript
www.github.com/lisandroveron/weatherapp/tree/main/src/app/components/card/card.component.ts
https://raw.githubusercontent.com/lisandroveron/weatherapp/ab3c532/src/app/components/card/card.component.ts
lisandroveron/weatherapp ab3c532 src/app/components/card/card.component.ts
true
200
346
import { Component, Input, OnInit } from '@angular/core'; @Component({ selector: 'app-card', templateUrl: './card.component.html', styleUrls: ['./card.component.css'] }) export class CardComponent implements OnInit { @Input() timepoint:string; @Input() temp:string; @Input() weather:string; constructor(){ }; ...
7
AlexisAnzieu/donjon-dragon
0b48038
app/api/sounds/route.ts
TypeScript
www.github.com/AlexisAnzieu/donjon-dragon/tree/main/app/api/sounds/route.ts
https://raw.githubusercontent.com/AlexisAnzieu/donjon-dragon/0b48038/app/api/sounds/route.ts
AlexisAnzieu/donjon-dragon 0b48038 app/api/sounds/route.ts
true
200
1,676
import prisma from "@/prisma/db"; import { NextRequest, NextResponse } from "next/server"; export async function POST(request: NextRequest) { try { const { soundLibraryId, ...data } = await request.json(); const sound = await prisma.sound.create({ data: { ...data, soundLibrary: { conne...
2
ggsilva28/marvel-app-frontend
ab4adea
src/app/pages/home/home.component.ts
TypeScript
www.github.com/ggsilva28/marvel-app-frontend/tree/main/src/app/pages/home/home.component.ts
https://raw.githubusercontent.com/ggsilva28/marvel-app-frontend/ab4adea/src/app/pages/home/home.component.ts
ggsilva28/marvel-app-frontend ab4adea src/app/pages/home/home.component.ts
true
200
1,956
import { Component, OnInit } from '@angular/core'; //Services import { AuthService, IUser } from 'src/app/api/auth.service'; import { MarvelApiService } from 'src/app/api/marvel-api.service'; //Icons import { faArrowRightFromBracket } from '@fortawesome/free-solid-svg-icons'; @Component({ selector: 'app-home', t...
4
Creator674/projectV1
12be70c
src/theme/components/heading.ts
TypeScript
www.github.com/Creator674/projectV1/tree/main/src/theme/components/heading.ts
https://raw.githubusercontent.com/Creator674/projectV1/12be70c/src/theme/components/heading.ts
Creator674/projectV1 12be70c src/theme/components/heading.ts
true
200
628
import { defineStyleConfig } from '@chakra-ui/react'; export const headingTheme = defineStyleConfig({ defaultProps: {}, baseStyle: {}, variants: { h1: { fontSize: ['4xl'], fontWeight: 'bold', }, h2: { fontSize: { base: '3xl', lg: 'xl' }, fontWeight: 'bold', }, h3: { ...
7
Valerii-Martyniuk/JS-Advanced-lesson12
fb77302
src/app/shared/services/category/category.service.ts
TypeScript
www.github.com/Valerii-Martyniuk/JS-Advanced-lesson12/tree/main/src/app/shared/services/category/category.service.ts
https://raw.githubusercontent.com/Valerii-Martyniuk/JS-Advanced-lesson12/fb77302/src/app/shared/services/category/category.service.ts
Valerii-Martyniuk/JS-Advanced-lesson12 fb77302 src/app/shared/services/category/category.service.ts
true
200
1,046
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { environment } from 'src/app/environment/environment'; import { CategoryRequest, CategoryResponse, } from '../../interfaces/category.interface'; @Injectable({ providedIn: 'roo...
0
Hwang9170/Black-Scholes-model
036910e
src/utils/blackScholes.ts
TypeScript
www.github.com/Hwang9170/Black-Scholes-model/tree/main/src/utils/blackScholes.ts
https://raw.githubusercontent.com/Hwang9170/Black-Scholes-model/036910e/src/utils/blackScholes.ts
Hwang9170/Black-Scholes-model 036910e src/utils/blackScholes.ts
true
200
900
export function blackScholes(S: number, K: number, T: number, r: number, sigma: number, optionType: 'call' = 'call'): number { const d1 = (Math.log(S / K) + (r + 0.5 * sigma * sigma) * T) / (sigma * Math.sqrt(T)); const d2 = d1 - sigma * Math.sqrt(T); const normCDF = (x: number) => (1 + erf(x / Math.sqrt(2))) / ...
2
sahil3754/shop-for-home
e70aea8
ShopForHome/src/app/service/coupen.service.ts
TypeScript
www.github.com/sahil3754/shop-for-home/tree/main/ShopForHome/src/app/service/coupen.service.ts
https://raw.githubusercontent.com/sahil3754/shop-for-home/e70aea8/ShopForHome/src/app/service/coupen.service.ts
sahil3754/shop-for-home e70aea8 ShopForHome/src/app/service/coupen.service.ts
true
200
678
import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { CartService } from './cart.service'; @Injectable({ providedIn: 'root' }) export class CoupenService { coupensList: Array<any> = [ {name: 'Wooden Dining Chair', discount: 20, coupenCode: 'AIP13'}, {name: 'Alen 6 Seater ...
4
Diawara223/MalidevAgence
ded1614
src/app/folder/commandes/commandes.page.spec.ts
TypeScript
www.github.com/Diawara223/MalidevAgence/tree/main/src/app/folder/commandes/commandes.page.spec.ts
https://raw.githubusercontent.com/Diawara223/MalidevAgence/ded1614/src/app/folder/commandes/commandes.page.spec.ts
Diawara223/MalidevAgence ded1614 src/app/folder/commandes/commandes.page.spec.ts
true
200
470
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { CommandesPage } from './commandes.page'; describe('CommandesPage', () => { let component: CommandesPage; let fixture: ComponentFixture<CommandesPage>; beforeEach(async(() => { fixture = TestBed.createComponent(CommandesPage); co...
7
PROCOLLAB-github/procollab
3072c2c
projects/social_platform/src/app/office/feed/shared/closed-vacancy/closed-vacancy.component.spec.ts
TypeScript
www.github.com/PROCOLLAB-github/procollab/tree/main/projects/social_platform/src/app/office/feed/shared/closed-vacancy/closed-vacancy.component.spec.ts
https://raw.githubusercontent.com/PROCOLLAB-github/procollab/3072c2c/projects/social_platform/src/app/office/feed/shared/closed-vacancy/closed-vacancy.component.spec.ts
PROCOLLAB-github/procollab 3072c2c projects/social_platform/src/app/office/feed/shared/closed-vacancy/closed-vacancy.component.spec.ts
true
200
736
/** @format */ import { ComponentFixture, TestBed } from "@angular/core/testing"; import { ClosedVacancyComponent } from "./closed-vacancy.component"; import { RouterTestingModule } from "@angular/router/testing"; describe("OpenVacancyComponent", () => { let component: ClosedVacancyComponent; let fixture: Compon...
0
jesus149/portal-monitoreo-abasto-deepscan
53892bc
src/app/pages/fr004/fr004.component.ts
TypeScript
www.github.com/jesus149/portal-monitoreo-abasto-deepscan/tree/main/src/app/pages/fr004/fr004.component.ts
https://raw.githubusercontent.com/jesus149/portal-monitoreo-abasto-deepscan/53892bc/src/app/pages/fr004/fr004.component.ts
jesus149/portal-monitoreo-abasto-deepscan 53892bc src/app/pages/fr004/fr004.component.ts
true
200
11,109
import { Component, OnInit, ViewChild, Inject } from '@angular/core'; import { MatPaginator } from '@angular/material/paginator'; import { MatTableDataSource } from '@angular/material/table'; import { MatSort } from '@angular/material/sort'; import { HttpClient } from "@angular/common/http"; import { DatePipe } from '@...
2
rnd-forests/n
eacff0e
packages/order-processor-service/src/routes/__tests__/order.spec.ts
TypeScript
www.github.com/rnd-forests/n/tree/main/packages/order-processor-service/src/routes/__tests__/order.spec.ts
https://raw.githubusercontent.com/rnd-forests/n/eacff0e/packages/order-processor-service/src/routes/__tests__/order.spec.ts
rnd-forests/n eacff0e packages/order-processor-service/src/routes/__tests__/order.spec.ts
true
200
2,360
/* eslint-disable @typescript-eslint/no-unsafe-argument */ /* eslint-disable @typescript-eslint/no-unsafe-return */ import { RequestHandler } from 'express'; import request, { Response } from 'supertest'; import { app } from '../../app'; import { orderFactory } from '../../test'; const mockServiceCreateOrder = jest.f...
4
Khimish009/process-editor
cc657c4
.history/client/src/modules/blocks-flow/model/create-relation/use-create-relation_20250207174236.ts
TypeScript
www.github.com/Khimish009/process-editor/tree/main/.history/client/src/modules/blocks-flow/model/create-relation/use-create-relation_20250207174236.ts
https://raw.githubusercontent.com/Khimish009/process-editor/cc657c4/.history/client/src/modules/blocks-flow/model/create-relation/use-create-relation_20250207174236.ts
Khimish009/process-editor cc657c4 .history/client/src/modules/blocks-flow/model/create-relation/use-create-relation_20250207174236.ts
true
200
1,696
import { blocksFlowApi } from "../../api" import type { Block, Relation } from "../../domain/block" import { isPortTypesSame, portIsAlreadyInUse, portsAreEqual, type Port } from "../../domain/port" export const useSelectPort = ({ port, blocks, onSuccess }: { port: Port, blocks: Block[], onSuc...
7
DanielBortot/practica-3-comp-nube
a9e3ddf
src/config/envs.ts
TypeScript
www.github.com/DanielBortot/practica-3-comp-nube/tree/main/src/config/envs.ts
https://raw.githubusercontent.com/DanielBortot/practica-3-comp-nube/a9e3ddf/src/config/envs.ts
DanielBortot/practica-3-comp-nube a9e3ddf src/config/envs.ts
true
200
758
import 'dotenv/config' import * as joi from 'joi'; interface EnvVars { PORT: number; DB_HOST: string; DB_USER: string; DB_PASSWORD: string; DB_NAME: string; } const envsSchema = joi.object({ PORT: joi.number().required(), DB_HOST: joi.string().required(), DB_USER: joi.string().required...
0
IgnacioNMiranda/chrono
8d010b6
src/pages/api/user/fetch-data.ts
TypeScript
www.github.com/IgnacioNMiranda/chrono/tree/main/src/pages/api/user/fetch-data.ts
https://raw.githubusercontent.com/IgnacioNMiranda/chrono/8d010b6/src/pages/api/user/fetch-data.ts
IgnacioNMiranda/chrono 8d010b6 src/pages/api/user/fetch-data.ts
true
200
892
import type { NextApiRequest, NextApiResponse } from 'next' import { User } from 'database/models' import { connectToDatabase } from 'database/connection' const fetchData = async (req: NextApiRequest, res: NextApiResponse) => { if (req.method !== 'GET') return res.status(400).end('Bad request') if (!req.query.ema...
2
Sergip8/taskflow_demo_angular
bae557f
src/app/components/shared/spinner/spinner.component.ts
TypeScript
www.github.com/Sergip8/taskflow_demo_angular/tree/main/src/app/components/shared/spinner/spinner.component.ts
https://raw.githubusercontent.com/Sergip8/taskflow_demo_angular/bae557f/src/app/components/shared/spinner/spinner.component.ts
Sergip8/taskflow_demo_angular bae557f src/app/components/shared/spinner/spinner.component.ts
true
200
418
import { CommonModule } from '@angular/common'; import { Component, Input } from '@angular/core'; import { fadeInOut } from '../utils/animations'; @Component({ selector: 'btn-spinner', standalone: true, imports: [CommonModule], templateUrl: './spinner.component.html', styleUrls: ['./spinner.component.css'],...
0
yun199905/todo-list
1ef7420
src/features/auth/auth.controller.ts
TypeScript
www.github.com/yun199905/todo-list/tree/main/src/features/auth/auth.controller.ts
https://raw.githubusercontent.com/yun199905/todo-list/1ef7420/src/features/auth/auth.controller.ts
yun199905/todo-list 1ef7420 src/features/auth/auth.controller.ts
true
200
1,282
import { Body, Controller, ForbiddenException, Post, UseGuards, } from '@nestjs/common'; import { AuthService } from './auth.service'; import { UserService } from '../user/user.service'; import { CreateUserDto } from '../user/dto/create-user.dto'; import { IUserPayload } from './interfaces/payload.interface';...
4
igorCrni/PIivt
7744518
04-front-end/src/stores/AppStore.ts
TypeScript
www.github.com/igorCrni/PIivt/tree/main/04-front-end/src/stores/AppStore.ts
https://raw.githubusercontent.com/igorCrni/PIivt/7744518/04-front-end/src/stores/AppStore.ts
igorCrni/PIivt 7744518 04-front-end/src/stores/AppStore.ts
true
200
589
import { configureStore , combineReducers } from "@reduxjs/toolkit"; import { AuthStoreReducer, DefaultAuthStoreData } from "./AuthReducer"; const reducer = combineReducers({ auth: AuthStoreReducer, }); const AppStore = configureStore({ reducer: reducer, preloadedState: { auth: { ...JS...
2
SalaniLeo/sweatyRSS
eda71b7
frontend/src/routes/feeds/fetch/+server.ts
TypeScript
www.github.com/SalaniLeo/sweatyRSS/tree/main/frontend/src/routes/feeds/fetch/+server.ts
https://raw.githubusercontent.com/SalaniLeo/sweatyRSS/eda71b7/frontend/src/routes/feeds/fetch/%2Bserver.ts
SalaniLeo/sweatyRSS eda71b7 frontend/src/routes/feeds/fetch/+server.ts
true
200
681
import { env } from '$env/dynamic/private'; export async function POST({ request, cookies }) { let backendUrl = env.BACKEND; const { feed_url } = await request.json(); let response = await fetch(`${backendUrl}/api/feed/fetch`, { method: 'POST', headers: { 'Authorization': `Bear...
7
PSKP-95/retail-store
ee34137
retail-ui/src/app/services/products.service.ts
TypeScript
www.github.com/PSKP-95/retail-store/tree/main/retail-ui/src/app/services/products.service.ts
https://raw.githubusercontent.com/PSKP-95/retail-store/ee34137/retail-ui/src/app/services/products.service.ts
PSKP-95/retail-store ee34137 retail-ui/src/app/services/products.service.ts
true
200
521
import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Item } from '../models/item.model'; @Injectable({ providedIn: 'root' }) export class ProductsService { url = "/api/item/" constructor(private http: HttpClient)...
0
afolabipeace/contact-app
5dd7db0
src/app/app-routing.module.ts
TypeScript
www.github.com/afolabipeace/contact-app/tree/main/src/app/app-routing.module.ts
https://raw.githubusercontent.com/afolabipeace/contact-app/5dd7db0/src/app/app-routing.module.ts
afolabipeace/contact-app 5dd7db0 src/app/app-routing.module.ts
true
200
2,069
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { ApiComponent } from './api/api.component'; import { ContactAppComponent } from './contact-app/contact-app.component'; import { ContactListComponent } from './contact-list/contact-list.component'; import { Dashboar...
4
Jerry-Yeh/Han-Chau
2a3c378
src/components/Radio/interface.ts
TypeScript
www.github.com/Jerry-Yeh/Han-Chau/tree/main/src/components/Radio/interface.ts
https://raw.githubusercontent.com/Jerry-Yeh/Han-Chau/2a3c378/src/components/Radio/interface.ts
Jerry-Yeh/Han-Chau 2a3c378 src/components/Radio/interface.ts
true
200
1,147
import type { AbstractContorlItemProps } from '../ControlItem/interface'; import type { Nullable } from '~/typings/utils'; export type RadioGroupOptionType = 'default' | 'button'; export type RadioValueType = string | number | boolean; export interface RadioProps extends AbstractContorlItemProps { value: RadioValueT...
2
anandspaces/magadh-rasam
8a4cb60
frontend/src/store/authSlice.ts
TypeScript
www.github.com/anandspaces/magadh-rasam/tree/main/frontend/src/store/authSlice.ts
https://raw.githubusercontent.com/anandspaces/magadh-rasam/8a4cb60/frontend/src/store/authSlice.ts
anandspaces/magadh-rasam 8a4cb60 frontend/src/store/authSlice.ts
true
200
935
import { createSlice, PayloadAction } from "@reduxjs/toolkit"; import Cookies from "js-cookie"; interface AuthState { isAuthenticated: boolean; token: string | null; } const initialState: AuthState = { isAuthenticated: !!Cookies.get("access_token") || !!Cookies.get("fallback_auth"), token: Cookies.get("access...
7
krzysztof-siek/FlexiCrew
ed57650
src/app/auth/auth.module.ts
TypeScript
www.github.com/krzysztof-siek/FlexiCrew/tree/main/src/app/auth/auth.module.ts
https://raw.githubusercontent.com/krzysztof-siek/FlexiCrew/ed57650/src/app/auth/auth.module.ts
krzysztof-siek/FlexiCrew ed57650 src/app/auth/auth.module.ts
true
200
668
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import {AuthRoutingModule} from "./auth-routing.module"; import {LoginComponent} from "./login/login.component"; import {RegisterComponent} from "./register/register.component"; import {ReactiveFormsModule} from "@angular/forms"; ...
4
nudriin/belajar-nestjs
050fbc9
src/configure/configure.module.ts
TypeScript
www.github.com/nudriin/belajar-nestjs/tree/main/src/configure/configure.module.ts
https://raw.githubusercontent.com/nudriin/belajar-nestjs/050fbc9/src/configure/configure.module.ts
nudriin/belajar-nestjs 050fbc9 src/configure/configure.module.ts
true
200
511
import { Module } from '@nestjs/common'; import { ConfigureController } from './configure/configure.controller'; import { Configure, createConnection } from './configure/configure'; import { ConfigService } from '@nestjs/config'; @Module({ controllers: [ConfigureController], providers: [ // menggunakan...
0
glowbuzzer/gb-buerli
c506a7a
src/types.ts
TypeScript
www.github.com/glowbuzzer/gb-buerli/tree/main/src/types.ts
https://raw.githubusercontent.com/glowbuzzer/gb-buerli/c506a7a/src/types.ts
glowbuzzer/gb-buerli c506a7a src/types.ts
true
200
4,327
import { GraphicType } from "@buerli.io/core" import { PrimitiveCone } from "./scene/PrimitiveCone" import { PanelForCone } from "./selection/PanelForCone" import { PanelForArc } from "./selection/PanelForArc" import { PanelForLine } from "./selection/PanelForLine" import { PanelForCylinder } from "./selection/PanelFor...
5