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
creasty/animation-essential
d15665a
src/cubicBezier.test.ts
TypeScript
www.github.com/creasty/animation-essential/tree/main/src/cubicBezier.test.ts
https://raw.githubusercontent.com/creasty/animation-essential/d15665a/src/cubicBezier.test.ts
creasty/animation-essential d15665a src/cubicBezier.test.ts
true
200
1,156
import { cubicBezier } from "./cubicBezier"; import { Easing } from "./easing"; const ts = [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0]; describe("cubicBezier", () => { test("emulates Easing.Linear", () => { const fn = cubicBezier(0, 0, 1, 1); ts.forEach((t) => { expect(fn(t)).toEqual(Easin...
6
ralvescosta/nestjs_rest_api
c980994
src/resources/users/users.module.ts
TypeScript
www.github.com/ralvescosta/nestjs_rest_api/tree/main/src/resources/users/users.module.ts
https://raw.githubusercontent.com/ralvescosta/nestjs_rest_api/c980994/src/resources/users/users.module.ts
ralvescosta/nestjs_rest_api c980994 src/resources/users/users.module.ts
true
200
314
import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { User } from './users.entity'; import { UserRepository } from './users.repository'; @Module({ imports: [TypeOrmModule.forFeature([User, UserRepository])], exports: [TypeOrmModule] }) export class UsersModule {}
7
MoovyChat/Moovy
25fbc62
web-vite/src/pages/redux/slices/misc/miscSlice.ts
TypeScript
www.github.com/MoovyChat/Moovy/tree/main/web-vite/src/pages/redux/slices/misc/miscSlice.ts
https://raw.githubusercontent.com/MoovyChat/Moovy/25fbc62/web-vite/src/pages/redux/slices/misc/miscSlice.ts
MoovyChat/Moovy 25fbc62 web-vite/src/pages/redux/slices/misc/miscSlice.ts
true
200
4,022
import { createSlice } from "@reduxjs/toolkit"; import { filterType, videoFilterSettings, } from "../../../../helpers/interfaces"; type toxicProps = { identity_attack: number; insult: number; obscene: number; severe_toxicity: number; threat: number; toxicity: number; }; type props = { theme: string;...
4
pedromarques-dev/library-manager
baadde7
src/strategies/fine/fine.strategy.ts
TypeScript
www.github.com/pedromarques-dev/library-manager/tree/main/src/strategies/fine/fine.strategy.ts
https://raw.githubusercontent.com/pedromarques-dev/library-manager/baadde7/src/strategies/fine/fine.strategy.ts
pedromarques-dev/library-manager baadde7 src/strategies/fine/fine.strategy.ts
true
200
437
import { FinesRepository } from 'src/modules/fines/repositories/fines.repository'; import { PrismaService } from 'src/prisma/prisma.service'; export abstract class FineStrategy { private readonly prismaService = new PrismaService(); protected readonly repository = new FinesRepository(this.prismaService); ...
0
lokimischief006/task4
2396512
src/app/single/single.component.ts
TypeScript
www.github.com/lokimischief006/task4/tree/main/src/app/single/single.component.ts
https://raw.githubusercontent.com/lokimischief006/task4/2396512/src/app/single/single.component.ts
lokimischief006/task4 2396512 src/app/single/single.component.ts
true
200
404
import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { ApiService } from '../api.service'; @Component({ selector: 'app-single', standalone: true, imports: [], templateUrl: './single.component.html', styleUrl: './single.component.css' }) export class SingleCompon...
3
kimfield98/Wastebasket
49f3030
kimfield-world/app/create-account/actions.ts
TypeScript
www.github.com/kimfield98/Wastebasket/tree/main/kimfield-world/app/create-account/actions.ts
https://raw.githubusercontent.com/kimfield98/Wastebasket/49f3030/kimfield-world/app/create-account/actions.ts
kimfield98/Wastebasket 49f3030 kimfield-world/app/create-account/actions.ts
true
200
1,744
"use server"; import { z } from "zod"; export const checkPasswords = ({ password, confirmPassword, }: { password: string; confirmPassword: string; }) => password === confirmPassword; const CreateAccountSchema = z .object({ name: z .string({ invalid_type_error: "이름을 입력해주세요", requir...
7
rijk/repro-rsc-issue
2300037
lib/db/rules.ts
TypeScript
www.github.com/rijk/repro-rsc-issue/tree/main/lib/db/rules.ts
https://raw.githubusercontent.com/rijk/repro-rsc-issue/2300037/lib/db/rules.ts
rijk/repro-rsc-issue 2300037 lib/db/rules.ts
true
200
3,062
import { isAdmin, isSysadmin } from '@lib/auth/client' import type { Prisma } from '@prisma/client' import isEqual from 'lodash-es/isEqual' import { prisma } from '../db' const notAllowedError = new Error('Sorry, you are not allowed to do this') const checkPermission = async ({ model, action, args, }: Prisma.M...
6
Archit15-03/portfolio-template
f4e8dba
src/app/resume/resume.component.ts
TypeScript
www.github.com/Archit15-03/portfolio-template/tree/main/src/app/resume/resume.component.ts
https://raw.githubusercontent.com/Archit15-03/portfolio-template/f4e8dba/src/app/resume/resume.component.ts
Archit15-03/portfolio-template f4e8dba src/app/resume/resume.component.ts
true
200
635
import { Component, Renderer2 } from '@angular/core'; import { Title } from '@angular/platform-browser'; @Component({ selector: 'app-resume', templateUrl: './resume.component.html', styleUrl: './resume.component.css' }) export class ResumeComponent { constructor(private titleService:Title,private renderer: Ren...
4
franthescomarchesi/clean-architecture
122602b
src/domain/customer/value_object/address.ts
TypeScript
www.github.com/franthescomarchesi/clean-architecture/tree/main/src/domain/customer/value_object/address.ts
https://raw.githubusercontent.com/franthescomarchesi/clean-architecture/122602b/src/domain/customer/value_object/address.ts
franthescomarchesi/clean-architecture 122602b src/domain/customer/value_object/address.ts
true
200
1,256
export default class Address { _street: string = ""; _number: number = 0; _zip: string = ""; _city: string = ""; constructor(street: string, number: number, zip: string, city: string) { this._street = street; this.validateStreet(); this._number = number; this.validateNumbe...
0
2408-Team-3/flytrap-javascript
43f3745
src/utils/fileReader.ts
TypeScript
www.github.com/2408-Team-3/flytrap-javascript/tree/main/src/utils/fileReader.ts
https://raw.githubusercontent.com/2408-Team-3/flytrap-javascript/43f3745/src/utils/fileReader.ts
2408-Team-3/flytrap-javascript 43f3745 src/utils/fileReader.ts
true
200
586
import axios from "axios"; /** * Reads the content of a source file asynchronously via an HTTP GET request. * @param filePath - The URL or path to the source file. * @returns A promise resolving to the file content as a string, or `null` if the file cannot be read. */ export const readSourceFile = async ( filePa...
7
Jericho-JERIX/Vineyard
8076e15
src/scripts/register.ts
TypeScript
www.github.com/Jericho-JERIX/Vineyard/tree/main/src/scripts/register.ts
https://raw.githubusercontent.com/Jericho-JERIX/Vineyard/8076e15/src/scripts/register.ts
Jericho-JERIX/Vineyard 8076e15 src/scripts/register.ts
true
200
975
import { REST, Routes } from "discord.js"; import { Ping } from "../commands/ping"; import { SlashCommand } from "./types/SlashCommand"; import * as dotenv from "dotenv"; import { SlashCommandObject } from "./types/SlashCommandObject"; dotenv.config(); const { TOKEN, CLIENT_ID, GUILD_ID }: any = process.env; const r...
6
Aishajami/Typescript-45-Exercise-with-Nodejs
19da951
Assignment 42/main.ts
TypeScript
www.github.com/Aishajami/Typescript-45-Exercise-with-Nodejs/tree/main/Assignment 42/main.ts
https://raw.githubusercontent.com/Aishajami/Typescript-45-Exercise-with-Nodejs/19da951/Assignment%2042/main.ts
Aishajami/Typescript-45-Exercise-with-Nodejs 19da951 Assignment 42/main.ts
true
200
602
//Define the function to show magicians name function show_magician(magician: string[]){ magician.forEach(name => console.log(name)); } //function to make magician great through .map() it will modify array function make_great(magician: string[]){ return magician.map(name => `The Great ${name}`); } //Define an ...
4
rafaelq80/blogpessoal_fastfy
c298e2d
src/app.ts
TypeScript
www.github.com/rafaelq80/blogpessoal_fastfy/tree/main/src/app.ts
https://raw.githubusercontent.com/rafaelq80/blogpessoal_fastfy/c298e2d/src/app.ts
rafaelq80/blogpessoal_fastfy c298e2d src/app.ts
true
200
2,021
import fastify, { FastifyInstance } from "fastify" import { Database } from "./data/Database" import { DatabaseConfig } from "./config/DatabaseConfig" import { PostagemController } from "./controllers/PostagemController" import { PostagemRepository } from "./repositories/PostagemRepository" import { PostagemRoutes } fr...
3
manglakunal2701/OnlineQuizWebApplication
a0151dd
Angular-Quiz-App-master/src/app/questions/questions.component.ts
TypeScript
www.github.com/manglakunal2701/OnlineQuizWebApplication/tree/main/Angular-Quiz-App-master/src/app/questions/questions.component.ts
https://raw.githubusercontent.com/manglakunal2701/OnlineQuizWebApplication/a0151dd/Angular-Quiz-App-master/src/app/questions/questions.component.ts
manglakunal2701/OnlineQuizWebApplication a0151dd Angular-Quiz-App-master/src/app/questions/questions.component.ts
true
200
1,812
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { switchMap } from 'rxjs/operators'; import { QuestionsService } from '../questions.service'; import { Quiz, Answers, Choice, Question } from '../quiz.model'; @Component({ selector: 'app-questions', templa...
0
gonalc/cross-out-countries-api
af840a4
src/api/invitations/invitationModel.ts
TypeScript
www.github.com/gonalc/cross-out-countries-api/tree/main/src/api/invitations/invitationModel.ts
https://raw.githubusercontent.com/gonalc/cross-out-countries-api/af840a4/src/api/invitations/invitationModel.ts
gonalc/cross-out-countries-api af840a4 src/api/invitations/invitationModel.ts
true
200
1,356
import { DataTypes, Model } from 'sequelize' import type { CreationOptional } from 'sequelize' import sequelize from '../../db' import UserModel from '../users/userModel' import { InvitationAttributes, InvitationCreationAttributes, } from './invitationTypes' const tableName = 'invitation' class InvitationModel ex...
2
orangelab-kr/openapi-discount
7af0dbb
src/middlewares/discount.ts
TypeScript
www.github.com/orangelab-kr/openapi-discount/tree/main/src/middlewares/discount.ts
https://raw.githubusercontent.com/orangelab-kr/openapi-discount/7af0dbb/src/middlewares/discount.ts
orangelab-kr/openapi-discount 7af0dbb src/middlewares/discount.ts
true
200
942
import dayjs from 'dayjs'; import { Discount, RESULT, Wrapper, WrapperCallback } from '..'; export function DiscountMiddleware(props?: { throwIfIsUsed?: boolean; throwIfIsExpired?: boolean; }): WrapperCallback { const { throwIfIsUsed, throwIfIsExpired } = { throwIfIsUsed: false, throwIfIsExpired: false, ...
1
CuongLe1912/StockFE
1dc2ba7
src/app/modules/badwordapi/import.badword/import.badword.component.ts
TypeScript
www.github.com/CuongLe1912/StockFE/tree/main/src/app/modules/badwordapi/import.badword/import.badword.component.ts
https://raw.githubusercontent.com/CuongLe1912/StockFE/1dc2ba7/src/app/modules/badwordapi/import.badword/import.badword.component.ts
CuongLe1912/StockFE 1dc2ba7 src/app/modules/badwordapi/import.badword/import.badword.component.ts
true
200
2,423
import { AppInjector } from "../../../app.module"; import { BadwordApiService } from "../badwordapi.service"; import { Component, OnInit, ViewChild } from "@angular/core"; import { EntityHelper } from "../../../_core/helpers/entity.helper"; import { ToastrHelper } from "../../../_core/helpers/toastr.helper"; import { E...
7
Crossbell-Box/xSync
cdcd894
sites/x-sync/src/components/scenes/hooks/use-scene-state.ts
TypeScript
www.github.com/Crossbell-Box/xSync/tree/main/sites/x-sync/src/components/scenes/hooks/use-scene-state.ts
https://raw.githubusercontent.com/Crossbell-Box/xSync/cdcd894/sites/x-sync/src/components/scenes/hooks/use-scene-state.ts
Crossbell-Box/xSync cdcd894 sites/x-sync/src/components/scenes/hooks/use-scene-state.ts
true
200
889
import React from "react"; import { SceneConfig } from "../types"; export function useSceneState(scenes: SceneConfig[]) { const idToSceneMap = React.useMemo( () => scenes.reduce( (map, scene) => { map[scene.id] = scene; return map; }, {} as Record<SceneConfig["id"], SceneConfig>, ), [...
6
melihcanaydin/AeroPath
36d7cee
src/app.ts
TypeScript
www.github.com/melihcanaydin/AeroPath/tree/main/src/app.ts
https://raw.githubusercontent.com/melihcanaydin/AeroPath/36d7cee/src/app.ts
melihcanaydin/AeroPath 36d7cee src/app.ts
true
200
675
import express from 'express'; import morgan from 'morgan'; import { RouteController } from './api/controllers/routeController'; import { errorHandler } from './api/middlewares/errorHandler'; import { container } from './config/dependencyContainer'; export async function createApp() { const app = express(); c...
4
BinaryStudioAcademy/bsa-winter-2023-2024-resumegemm
6d4499b
backend/src/bundles/statistics/statistics.service.ts
TypeScript
www.github.com/BinaryStudioAcademy/bsa-winter-2023-2024-resumegemm/tree/main/backend/src/bundles/statistics/statistics.service.ts
https://raw.githubusercontent.com/BinaryStudioAcademy/bsa-winter-2023-2024-resumegemm/6d4499b/backend/src/bundles/statistics/statistics.service.ts
BinaryStudioAcademy/bsa-winter-2023-2024-resumegemm 6d4499b backend/src/bundles/statistics/statistics.service.ts
true
200
4,395
import { addDays, addMonths, addWeeks, format, min, subDays, subMonths, subWeeks, } from 'date-fns'; import { type StatisticsRecord, StatisticsPeriods, } from 'shared/build/index.js'; import { type ResumeShareService } from '../resume-share/resume-share.service.js'; import { ...
3
Dari8987898/EndoStats-v2
88a707e
src/app/tables/gm/gm-table.component.ts
TypeScript
www.github.com/Dari8987898/EndoStats-v2/tree/main/src/app/tables/gm/gm-table.component.ts
https://raw.githubusercontent.com/Dari8987898/EndoStats-v2/88a707e/src/app/tables/gm/gm-table.component.ts
Dari8987898/EndoStats-v2 88a707e src/app/tables/gm/gm-table.component.ts
true
200
1,726
import { Component, OnInit, ViewChild } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { MatPaginator, MatPaginatorModule } from '@angular/material/paginator'; import { MatSortModule, MatSort } from '@angular/material/sort...
0
zaim001/MyShop
4f032dc
AngularFrontEnd/src/app/admin/dashboard/dashboard.component.ts
TypeScript
www.github.com/zaim001/MyShop/tree/main/AngularFrontEnd/src/app/admin/dashboard/dashboard.component.ts
https://raw.githubusercontent.com/zaim001/MyShop/4f032dc/AngularFrontEnd/src/app/admin/dashboard/dashboard.component.ts
zaim001/MyShop 4f032dc AngularFrontEnd/src/app/admin/dashboard/dashboard.component.ts
true
200
2,634
import { HttpClient } from '@angular/common/http'; import { Component, Input, OnInit } from '@angular/core'; import { KeycloakService } from 'keycloak-angular'; import { CategoriesComponent } from '../categories/categories.component'; import { ProductsComponent } from '../products/products.component'; import { Product ...
2
Magal97/GoBarber
8acd783
appgobarber/src/components/Button/styles.ts
TypeScript
www.github.com/Magal97/GoBarber/tree/main/appgobarber/src/components/Button/styles.ts
https://raw.githubusercontent.com/Magal97/GoBarber/8acd783/appgobarber/src/components/Button/styles.ts
Magal97/GoBarber 8acd783 appgobarber/src/components/Button/styles.ts
true
200
417
import styled from 'styled-components/native'; import {RectButton} from 'react-native-gesture-handler'; export const Container = styled(RectButton)` width: 100%; height: 60px; background: #ff9000; border-radius: 10px; margin-top: 8px; justify-content: center; align-items:center; `; export const Button...
1
pariyazandakbariy/stationApp
9f04276
src/app/components/login/login.label.ts
TypeScript
www.github.com/pariyazandakbariy/stationApp/tree/main/src/app/components/login/login.label.ts
https://raw.githubusercontent.com/pariyazandakbariy/stationApp/9f04276/src/app/components/login/login.label.ts
pariyazandakbariy/stationApp 9f04276 src/app/components/login/login.label.ts
true
200
811
export interface ILoginLabel { titleHeader: string; user: string; password: string; submit: string; requiredError: string; rememberMe: string; emptyField: string; minlength: string; maxlength: string; isNumber: string; isForgetPassword: string; } export const Labels: ILoginLabel = { titleHeader...
7
Kr4pper/aoc
8055579
src/ts/utils/run.ts
TypeScript
www.github.com/Kr4pper/aoc/tree/main/src/ts/utils/run.ts
https://raw.githubusercontent.com/Kr4pper/aoc/8055579/src/ts/utils/run.ts
Kr4pper/aoc 8055579 src/ts/utils/run.ts
true
200
873
import {join} from 'path'; import {readInput, toDay} from './input'; export interface RunResult { part1: number; part2: number; elapsedMs: number; } type HrTime = [sec: number, nano: number]; const deltaMs = ( [startSec, startNano]: HrTime, [endSec, endNano]: HrTime, ) => ((endSec - startSec) * 1e...
6
makhmudov-kay/tarteeb.web
418beed
src/app/pages/students/components/personal-data/personal-data.component.ts
TypeScript
www.github.com/makhmudov-kay/tarteeb.web/tree/main/src/app/pages/students/components/personal-data/personal-data.component.ts
https://raw.githubusercontent.com/makhmudov-kay/tarteeb.web/418beed/src/app/pages/students/components/personal-data/personal-data.component.ts
makhmudov-kay/tarteeb.web 418beed src/app/pages/students/components/personal-data/personal-data.component.ts
true
200
1,197
import { NgFor, NgIf } from '@angular/common'; import { Component, EventEmitter, Input, Output } from '@angular/core'; import { FormsModule, ReactiveFormsModule, UntypedFormGroup, } from '@angular/forms'; import { NzFormModule } from 'ng-zorro-antd/form'; import { NzInputModule } from 'ng-zorro-antd/input'; impor...
3
daniel-hortencio/finances-server
f5ba638
src/modules/auth/repositories/RefreshTokenRepository.ts
TypeScript
www.github.com/daniel-hortencio/finances-server/tree/main/src/modules/auth/repositories/RefreshTokenRepository.ts
https://raw.githubusercontent.com/daniel-hortencio/finances-server/f5ba638/src/modules/auth/repositories/RefreshTokenRepository.ts
daniel-hortencio/finances-server f5ba638 src/modules/auth/repositories/RefreshTokenRepository.ts
true
200
1,266
import { IRefreshTokenRepository } from "./implementations/IRefreshTokenRepository"; import { knex } from "../../../shared/config/database"; class RefreshTokenRepository implements IRefreshTokenRepository { private readonly table_name = 'refresh_token' async findById(id_refresh_token: string) { const refresh...
4
kakasoo/fake-wanted
34dfbd5
src/providers/common/BbsArticleSnapshotProvider.ts
TypeScript
www.github.com/kakasoo/fake-wanted/tree/main/src/providers/common/BbsArticleSnapshotProvider.ts
https://raw.githubusercontent.com/kakasoo/fake-wanted/34dfbd5/src/providers/common/BbsArticleSnapshotProvider.ts
kakasoo/fake-wanted 34dfbd5 src/providers/common/BbsArticleSnapshotProvider.ts
true
200
2,265
import { Prisma } from "@prisma/client"; import { v4 } from "uuid"; import { IBbsArticle } from "@kakasoo/fake-wanted-api/lib/structures/common/IBbsArticle"; import { IEntity } from "@kakasoo/fake-wanted-api/lib/structures/common/IEntity"; import { MyGlobal } from "../../MyGlobal"; import { AttachmentFileProvider } f...
0
OussamaWR/library-managnement-front_end
a263959
src/app/components/forgot-password/forgot-password.component.ts
TypeScript
www.github.com/OussamaWR/library-managnement-front_end/tree/main/src/app/components/forgot-password/forgot-password.component.ts
https://raw.githubusercontent.com/OussamaWR/library-managnement-front_end/a263959/src/app/components/forgot-password/forgot-password.component.ts
OussamaWR/library-managnement-front_end a263959 src/app/components/forgot-password/forgot-password.component.ts
true
200
2,032
import { LoginComponent } from './../login/login.component'; import { MatDialog } from '@angular/material/dialog'; import { NgxUiLoaderService } from 'ngx-ui-loader'; import { DialogRef } from '@angular/cdk/dialog'; import { SnackbarService } from './../../services/snackbar.service'; import { UserService } from './../....
1
zee-ham-su/social-media-analytics
4fc4488
src/analytics-data/tests/analytics-data.service.spec.ts
TypeScript
www.github.com/zee-ham-su/social-media-analytics/tree/main/src/analytics-data/tests/analytics-data.service.spec.ts
https://raw.githubusercontent.com/zee-ham-su/social-media-analytics/4fc4488/src/analytics-data/tests/analytics-data.service.spec.ts
zee-ham-su/social-media-analytics 4fc4488 src/analytics-data/tests/analytics-data.service.spec.ts
true
200
510
import { Test, TestingModule } from '@nestjs/testing'; import { AnalyticsDataService } from './analytics-data.service'; describe('AnalyticsDataService', () => { let service: AnalyticsDataService; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ providers: [Analytic...
5
pi-base/web
6aec1b0
packages/viewer/src/types/index.ts
TypeScript
www.github.com/pi-base/web/tree/main/packages/viewer/src/types/index.ts
https://raw.githubusercontent.com/pi-base/web/6aec1b0/packages/viewer/src/types/index.ts
pi-base/web 6aec1b0 packages/viewer/src/types/index.ts
true
200
836
export type { Formula } from '@pi-base/core' import type { Formula, Ref as R } from '@pi-base/core' export type Ref = R.Ref export type Property = { id: number name: string aliases: string[] description: string refs: Ref[] } export type Space = { id: number name: string aliases: string[] descriptio...
2
CoreMedia/ckeditor-plugins
2f822b8
packages/ckeditor5-coremedia-example-data/src/richtext/WelcomeTextData.ts
TypeScript
www.github.com/CoreMedia/ckeditor-plugins/tree/main/packages/ckeditor5-coremedia-example-data/src/richtext/WelcomeTextData.ts
https://raw.githubusercontent.com/CoreMedia/ckeditor-plugins/2f822b8/packages/ckeditor5-coremedia-example-data/src/richtext/WelcomeTextData.ts
CoreMedia/ckeditor-plugins 2f822b8 packages/ckeditor5-coremedia-example-data/src/richtext/WelcomeTextData.ts
true
200
857
import { ExampleData } from "../ExampleData"; import { h1, p, richtext, h2 } from "../RichText"; const rawText = `${h1("CKEditor 5: CoreMedia Plugin Showcase")}\ ${p(`\ This example instance of CKEditor 5 serves as a showcase for plugins provided \ by CoreMedia. Most of these plugins are mandatory to use CKEditor 5 as...
7
taniguchi1234/kakeibo
1eff499
node_modules/igniteui-react/lib/igr-nav-drawer-item.d.ts
TypeScript
www.github.com/taniguchi1234/kakeibo/tree/main/node_modules/igniteui-react/lib/igr-nav-drawer-item.d.ts
https://raw.githubusercontent.com/taniguchi1234/kakeibo/1eff499/node_modules/igniteui-react/lib/igr-nav-drawer-item.d.ts
taniguchi1234/kakeibo 1eff499 node_modules/igniteui-react/lib/igr-nav-drawer-item.d.ts
true
200
2,654
import * as React from 'react'; import { NavDrawerItem } from "./NavDrawerItem"; import { ReactRenderer, PortalManager } from "igniteui-react-core"; import { ContentChildrenManager } from "igniteui-react-core"; /** * Represents a navigation drawer item. */ export declare class IgrNavDrawerItem<P extends IIgrNav...
3
betula-bookmarks/turnly
3b0e94c
apps/widgets-api/src/models/LocationModel.ts
TypeScript
www.github.com/betula-bookmarks/turnly/tree/main/apps/widgets-api/src/models/LocationModel.ts
https://raw.githubusercontent.com/betula-bookmarks/turnly/3b0e94c/apps/widgets-api/src/models/LocationModel.ts
betula-bookmarks/turnly 3b0e94c apps/widgets-api/src/models/LocationModel.ts
true
200
825
/** * Copyright (c) Turnly Inc. (https://turnly.app) * * Licensed under MIT License. See LICENSE for terms. */ import { ArgsType, Field, Float, ID, Int, ObjectType } from 'type-graphql' @ObjectType() export class LocationModel { @Field(() => ID) id: string @Field() name: string @Field() address: stri...
0
lucasnapomucena/sound
fd4bd90
src/app/components/dialog/dialog-album/dialog-album.component.spec.ts
TypeScript
www.github.com/lucasnapomucena/sound/tree/main/src/app/components/dialog/dialog-album/dialog-album.component.spec.ts
https://raw.githubusercontent.com/lucasnapomucena/sound/fd4bd90/src/app/components/dialog/dialog-album/dialog-album.component.spec.ts
lucasnapomucena/sound fd4bd90 src/app/components/dialog/dialog-album/dialog-album.component.spec.ts
true
200
632
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { DialogAlbumComponent } from './dialog-album.component'; describe('DialogAlbumComponent', () => { let component: DialogAlbumComponent; let fixture: ComponentFixture<DialogAlbumComponent>; beforeEach(async () => { await TestBed.confi...
4
djamilssb/hackathon-2
30bb534
Point.ts
TypeScript
www.github.com/djamilssb/hackathon-2/tree/main/Point.ts
https://raw.githubusercontent.com/djamilssb/hackathon-2/30bb534/Point.ts
djamilssb/hackathon-2 30bb534 Point.ts
true
200
468
export class Point { public x: number; public y: number; constructor(x: number, y: number) { this.x = x; this.y = y; } getX() { return this.x } getY() { return this.y } touch(pos: Point): boolean { if (this !== pos) { if (pos.ge...
5
yanevdw/react-project
7627102
src/models/common-types.d.ts
TypeScript
www.github.com/yanevdw/react-project/tree/main/src/models/common-types.d.ts
https://raw.githubusercontent.com/yanevdw/react-project/7627102/src/models/common-types.d.ts
yanevdw/react-project 7627102 src/models/common-types.d.ts
true
200
1,804
export interface MdCover { vol?: string; w: number; h: number; b2key: string; } // Comic Information API response export interface FirstChap { chap: string; hid: string; lang: string; group_name: string[]; vol?: string; } export interface Link { al: string; ap: string; bw: string; kt: strin...
2
BakdauletBolat/info-map-front
5638062
src/domain/stores.ts
TypeScript
www.github.com/BakdauletBolat/info-map-front/tree/main/src/domain/stores.ts
https://raw.githubusercontent.com/BakdauletBolat/info-map-front/5638062/src/domain/stores.ts
BakdauletBolat/info-map-front 5638062 src/domain/stores.ts
true
200
4,020
import { computed, reactive, ref, watch } from "vue"; import { ICategory, IGeographicRegion, IGeographicResponse, IGeometryObject, IGetUpdateInfo, } from "./models.ts"; import apiInstance from "../api/instance.ts"; export const geographic_region = ref<IGeographicRegion | null>(); export const categories = re...
1
14sf/sfmv7
49a4cc9
src/services/wallet/types.ts
TypeScript
www.github.com/14sf/sfmv7/tree/main/src/services/wallet/types.ts
https://raw.githubusercontent.com/14sf/sfmv7/49a4cc9/src/services/wallet/types.ts
14sf/sfmv7 49a4cc9 src/services/wallet/types.ts
true
200
703
export interface WalletProvider { id: string; name: string; icon: string; description: string; isInstalled: () => boolean; connect: () => Promise<string>; } export interface WalletState { address: string | null; isConnected: boolean; provider: WalletProvider | null; chainId: number | null; balanc...
6
erickson1999/proyecto-vinculacion-merge
576eb82
middleware.ts
TypeScript
www.github.com/erickson1999/proyecto-vinculacion-merge/tree/main/middleware.ts
https://raw.githubusercontent.com/erickson1999/proyecto-vinculacion-merge/576eb82/middleware.ts
erickson1999/proyecto-vinculacion-merge 576eb82 middleware.ts
true
200
2,912
// middleware.ts import { NextResponse } from 'next/server'; import { NextRequest } from 'next/server'; import errors from './utils/ErrorsMiddlware'; import { jwtVerify } from 'jose'; // This function can be marked `async` if using `await` inside export async function middleware(request: NextRequest) { const { method ...
7
QuimDJ/Router
bd929e1
dlca/select1/src/app/app.component.ts
TypeScript
www.github.com/QuimDJ/Router/tree/main/dlca/select1/src/app/app.component.ts
https://raw.githubusercontent.com/QuimDJ/Router/bd929e1/dlca/select1/src/app/app.component.ts
QuimDJ/Router bd929e1 dlca/select1/src/app/app.component.ts
true
200
856
import { Component } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterOutlet } from '@angular/router'; import {FormsModule} from '@angular/forms' interface level { num: number, name: string }; @Component({ selector: 'app-root', standalone: true, imports: [CommonModule, Router...
3
haritha99ch/Crime-Watch
705af79
src/Crimewatch-Backend/src/Services/ModeratorReportService.ts
TypeScript
www.github.com/haritha99ch/Crime-Watch/tree/main/src/Crimewatch-Backend/src/Services/ModeratorReportService.ts
https://raw.githubusercontent.com/haritha99ch/Crime-Watch/705af79/src/Crimewatch-Backend/src/Services/ModeratorReportService.ts
haritha99ch/Crime-Watch 705af79 src/Crimewatch-Backend/src/Services/ModeratorReportService.ts
true
200
2,824
import Status from "../../../Crimewatch-Shared/Enums/Status"; import { ReportDocument } from "../../../Crimewatch-Shared/Models/Report"; import { UpdateQuery } from "mongoose"; import ReportModel from "../Models/ReportModel"; import IRepository from "./IRepository"; import Repository from "./Repository"; class Moderat...
0
jaab/WatsonX
fb3f3cd
jaab_llm/app/node_modules/@carbon/react/lib/components/MultiSelect/MultiSelectPropTypes.d.ts
TypeScript
www.github.com/jaab/WatsonX/tree/main/jaab_llm/app/node_modules/@carbon/react/lib/components/MultiSelect/MultiSelectPropTypes.d.ts
https://raw.githubusercontent.com/jaab/WatsonX/fb3f3cd/jaab_llm/app/node_modules/%40carbon/react/lib/components/MultiSelect/MultiSelectPropTypes.d.ts
jaab/WatsonX fb3f3cd jaab_llm/app/node_modules/@carbon/react/lib/components/MultiSelect/MultiSelectPropTypes.d.ts
true
200
2,544
/** * Copyright IBM Corp. 2016, 2023 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import PropTypes from 'prop-types'; export declare const sortingPropTypes: { /** * Provide a compare function that is used to determi...
4
tembingol/student_project
0e31d65
src/features/comments/services/comments-service.ts
TypeScript
www.github.com/tembingol/student_project/tree/main/src/features/comments/services/comments-service.ts
https://raw.githubusercontent.com/tembingol/student_project/0e31d65/src/features/comments/services/comments-service.ts
tembingol/student_project 0e31d65 src/features/comments/services/comments-service.ts
true
200
4,467
import { CommentInputModel, CommentViewModel } from "../../../input-output-types/comments-models" import { ServicesResponseNew, HTTP_STATUS_CODE, PaginationResponseType } from "../../../input-output-types/types" import { postsQueryService } from "../../posts/services/posts-query-service" import { commentsQueryRepositor...
7
IgnatZakalinsky/expr
1ce5db8
src/s4-hw4/f5-comments/il/index.ts
TypeScript
www.github.com/IgnatZakalinsky/expr/tree/main/src/s4-hw4/f5-comments/il/index.ts
https://raw.githubusercontent.com/IgnatZakalinsky/expr/1ce5db8/src/s4-hw4/f5-comments/il/index.ts
IgnatZakalinsky/expr 1ce5db8 src/s4-hw4/f5-comments/il/index.ts
true
200
572
import {Router} from 'express' import {CommentsIL} from './commentsIL' import {userAuthMiddleware} from '../../f3-auth/il/middlewares' import {commentValidationsMiddleware} from './middlewares' import {validationsErrorsMiddleware} from '../../../s3-hw3/globalMiddlewares' export const commentsRouter = Router() comment...
3
FYMG/rss-puzzle
b6a17a6
src/app/components/puzzle/puzzleComponent.ts
TypeScript
www.github.com/FYMG/rss-puzzle/tree/main/src/app/components/puzzle/puzzleComponent.ts
https://raw.githubusercontent.com/FYMG/rss-puzzle/b6a17a6/src/app/components/puzzle/puzzleComponent.ts
FYMG/rss-puzzle b6a17a6 src/app/components/puzzle/puzzleComponent.ts
true
200
3,379
import createComponent, { BaseComponent, FunctionComponent, IProps, } from '@components/baseComponent'; import mergeClassLists from '@utils/helpers/mergeClassLists'; import mergeChildrenLists from '@utils/helpers/mergeChildrenLists'; import applyDragEvents from '@components/puzzle/puzzelComponentEvents'; i...
0
hojonggggg/clothesseller-api
d836611
src/domains/seller/products/products.service.ts
TypeScript
www.github.com/hojonggggg/clothesseller-api/tree/main/src/domains/seller/products/products.service.ts
https://raw.githubusercontent.com/hojonggggg/clothesseller-api/d836611/src/domains/seller/products/products.service.ts
hojonggggg/clothesseller-api d836611 src/domains/seller/products/products.service.ts
true
200
13,451
import { Injectable } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { DataSource, Repository, Brackets, In } from 'typeorm'; import { SellerProduct } from 'src/commons/shared/products/entities/seller-product.entity'; import { SellerProductOption } from 'src/commons/shared/products/en...
7
Naveed17/medpro
e72c9e4
src/features/dialog/components/preConsultationDialog/components/overrides/preConsultationDialogStyled.ts
TypeScript
www.github.com/Naveed17/medpro/tree/main/src/features/dialog/components/preConsultationDialog/components/overrides/preConsultationDialogStyled.ts
https://raw.githubusercontent.com/Naveed17/medpro/e72c9e4/src/features/dialog/components/preConsultationDialog/components/overrides/preConsultationDialogStyled.ts
Naveed17/medpro e72c9e4 src/features/dialog/components/preConsultationDialog/components/overrides/preConsultationDialogStyled.ts
true
200
392
import {styled} from "@mui/material/styles"; import {Stack} from "@mui/material"; const PreConsultationDialogStyled = styled(Stack)(() => ({ "& .MuiAvatarGroup-avatar": { width: 24, height: 24 }, "& .MuiAvatarGroup-avatar:not([type])": { color: "black", fontSize: 12, ...
3
schradermade/hotspotti
fae4989
common/src/auth/jwt.strategy.ts
TypeScript
www.github.com/schradermade/hotspotti/tree/main/common/src/auth/jwt.strategy.ts
https://raw.githubusercontent.com/schradermade/hotspotti/fae4989/common/src/auth/jwt.strategy.ts
schradermade/hotspotti fae4989 common/src/auth/jwt.strategy.ts
true
200
662
import { Injectable } from '@nestjs/common'; import { PassportStrategy } from '@nestjs/passport'; import { ExtractJwt, Strategy } from 'passport-jwt'; import { AppConfigService } from '../services/app-config.service'; @Injectable() export class JwtStrategy extends PassportStrategy(Strategy) { constructor(appConfigSe...
0
carlwuaku/druglaneclientv15
601fb31
src/environments/environment.ts
TypeScript
www.github.com/carlwuaku/druglaneclientv15/tree/main/src/environments/environment.ts
https://raw.githubusercontent.com/carlwuaku/druglaneclientv15/601fb31/src/environments/environment.ts
carlwuaku/druglaneclientv15 601fb31 src/environments/environment.ts
true
200
435
// This file can be replaced during build by using the `fileReplacements` array. // `ng build` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. export const environment = { production: false, name: "dev", host: "http://127.0.0.1:5000/", rout...
7
sigma83l/streaming-app
4f3db04
src/auth/Strategies/rt.startegy.ts
TypeScript
www.github.com/sigma83l/streaming-app/tree/main/src/auth/Strategies/rt.startegy.ts
https://raw.githubusercontent.com/sigma83l/streaming-app/4f3db04/src/auth/Strategies/rt.startegy.ts
sigma83l/streaming-app 4f3db04 src/auth/Strategies/rt.startegy.ts
true
200
1,204
import { PassportStrategy } from "@nestjs/passport"; import { JwtPayload } from '../types/index'; import { ForbiddenException, Injectable } from '@nestjs/common'; import { ExtractJwt, Strategy } from "passport-jwt"; import { Request } from 'express'; import { RefreshJwtPayload } from "../types/jwtPayload.rt"; @Inject...
3
Gorack/gorack.github.io
a3e71d5
src/app/app.component.ts
TypeScript
www.github.com/Gorack/gorack.github.io/tree/main/src/app/app.component.ts
https://raw.githubusercontent.com/Gorack/gorack.github.io/a3e71d5/src/app/app.component.ts
Gorack/gorack.github.io a3e71d5 src/app/app.component.ts
true
200
559
import { Component } from '@angular/core'; import { RouterOutlet } from '@angular/router'; import {HeaderComponent} from "./components/header.component"; import {ContainerComponent} from "./components/container.component"; import {FooterComponent} from "./components/footer.component"; @Component({ selector: 'app-roo...
0
HCarriere/morse-quest
fdd7c19
src/interface/Combat.ts
TypeScript
www.github.com/HCarriere/morse-quest/tree/main/src/interface/Combat.ts
https://raw.githubusercontent.com/HCarriere/morse-quest/fdd7c19/src/interface/Combat.ts
HCarriere/morse-quest fdd7c19 src/interface/Combat.ts
true
200
24,525
import { Enemy } from "@game/content/Enemy"; import { EngineObject } from "@game/core/EngineObject"; import { GameGraphics } from "@game/system/GameGraphics"; import { Player } from "@game/system/Player"; import { GameInterface } from "./GameInterface"; import { GameController } from "@game/system/GameController"; impo...
7
sivanIN/ProductDetailsCart_Guided_AUG1
b31faeb
src/app/components/product/product.component.ts
TypeScript
www.github.com/sivanIN/ProductDetailsCart_Guided_AUG1/tree/main/src/app/components/product/product.component.ts
https://raw.githubusercontent.com/sivanIN/ProductDetailsCart_Guided_AUG1/b31faeb/src/app/components/product/product.component.ts
sivanIN/ProductDetailsCart_Guided_AUG1 b31faeb src/app/components/product/product.component.ts
true
200
1,066
import { Component, OnInit, ViewChild } from '@angular/core'; import { EcommerceAppService } from 'src/app/services/ecommerce-app.service'; import { Product } from 'src/app/product'; import { Router } from '@angular/router'; @Component({ selector: 'app-product', templateUrl: './product.component.html', styleUr...
3
Kelvin-Ofili/typescript-react-quizapp
5e5e621
src/Api.ts
TypeScript
www.github.com/Kelvin-Ofili/typescript-react-quizapp/tree/main/src/Api.ts
https://raw.githubusercontent.com/Kelvin-Ofili/typescript-react-quizapp/5e5e621/src/Api.ts
Kelvin-Ofili/typescript-react-quizapp 5e5e621 src/Api.ts
true
200
791
import { shuffleArray } from "./utils"; export type Question = { category: string; correct_answer: string; incorrect_answers: string[]; difficulty: string; question: string; type: string; }; export type QuestionState = Question & { answers: string[] }; export enum Difficulty { EASY = "easy", MEDIUM = "medium",...
0
despider001/step-counter-api
af2f47e
src/app.ts
TypeScript
www.github.com/despider001/step-counter-api/tree/main/src/app.ts
https://raw.githubusercontent.com/despider001/step-counter-api/af2f47e/src/app.ts
despider001/step-counter-api af2f47e src/app.ts
true
200
668
import express from "express"; import { Database } from "./config/db"; import { router as teamsRouter } from "./routes/teams"; import { router as membersRouter } from "./routes/members"; import { router as swaggerRouter } from "./routes/swagger"; // initiate database new Database(); // Create Express server const app...
7
tractr/stack
6f14770
libs/terraform/component/deployment-trigger/src/lib/deployment-trigger.component.ts
TypeScript
www.github.com/tractr/stack/tree/main/libs/terraform/component/deployment-trigger/src/lib/deployment-trigger.component.ts
https://raw.githubusercontent.com/tractr/stack/6f14770/libs/terraform/component/deployment-trigger/src/lib/deployment-trigger.component.ts
tractr/stack 6f14770 libs/terraform/component/deployment-trigger/src/lib/deployment-trigger.component.ts
true
200
1,318
import { snake } from 'case'; import { DeploymentTriggerEventComponent } from './deployment-trigger-event.component'; import { DeploymentTriggerRoleComponent } from './deployment-trigger-role.component'; import { DeploymentTriggerComponentArtifacts, DeploymentTriggerComponentConfig, } from './interfaces'; import ...
3
bezaleel22/kutchey-store
9773051
src/lib/utils/formsnap.ts
TypeScript
www.github.com/bezaleel22/kutchey-store/tree/main/src/lib/utils/formsnap.ts
https://raw.githubusercontent.com/bezaleel22/kutchey-store/9773051/src/lib/utils/formsnap.ts
bezaleel22/kutchey-store 9773051 src/lib/utils/formsnap.ts
true
200
370
import { Form as FormSnap } from 'formsnap' import HiddenInput from './components/HideInput.svelte' const Form = FormSnap.Root const Field = FormSnap.Field const Label = FormSnap.Label const Input = FormSnap.Input const Description = FormSnap.Description const Validation = FormSnap.Validation export { Form, Field, La...
7
KleinMason/codewars
475fa74
typescript/src/challenges/MexicanWave.ts
TypeScript
www.github.com/KleinMason/codewars/tree/main/typescript/src/challenges/MexicanWave.ts
https://raw.githubusercontent.com/KleinMason/codewars/475fa74/typescript/src/challenges/MexicanWave.ts
KleinMason/codewars 475fa74 typescript/src/challenges/MexicanWave.ts
true
200
328
// https://www.codewars.com/kata/58f5c63f1e26ecda7e000029 export function wave(word: string): Array<string> { let wave: string[] = []; for (let i = 0; i < word.length; i++) { if (word.charAt(i) === ' ') continue; wave.push(word.slice(0, i) + word.charAt(i).toUpperCase() + word.slice(i + 1)); } return ...
3
Z-Teknologsektionen/ztek
f690a8a
src/schemas/user.ts
TypeScript
www.github.com/Z-Teknologsektionen/ztek/tree/main/src/schemas/user.ts
https://raw.githubusercontent.com/Z-Teknologsektionen/ztek/f690a8a/src/schemas/user.ts
Z-Teknologsektionen/ztek f690a8a src/schemas/user.ts
true
200
681
import { AccountRoles } from "@prisma/client"; import { z } from "zod"; import { objectId } from "~/schemas/helpers/custom-zod-helpers"; export const updateUserRolesSchema = z.object({ id: objectId, roles: z .nativeEnum(AccountRoles) .array() .max( Object.values(AccountRoles).length, "Du ka...
0
shmudivel/nextjs13-fullstack
380a4cf
graphql/index.ts
TypeScript
www.github.com/shmudivel/nextjs13-fullstack/tree/main/graphql/index.ts
https://raw.githubusercontent.com/shmudivel/nextjs13-fullstack/380a4cf/graphql/index.ts
shmudivel/nextjs13-fullstack 380a4cf graphql/index.ts
true
200
2,651
// export const createProjectMutation = ` // mutation CreateProject($input: ProjectCreateInput!) { // projectCreate(input: $input) { // project { // id // title // description // createdBy { // email // name // } // } // } // } // `; // export const updateProjectMutation = ` /...
7
tradengr/crwn-clothing
71137d2
client/src/redux/store.ts
TypeScript
www.github.com/tradengr/crwn-clothing/tree/main/client/src/redux/store.ts
https://raw.githubusercontent.com/tradengr/crwn-clothing/71137d2/client/src/redux/store.ts
tradengr/crwn-clothing 71137d2 client/src/redux/store.ts
true
200
1,024
import { configureStore, Middleware } from '@reduxjs/toolkit'; import { persistStore, persistReducer, PersistConfig } from 'redux-persist'; import storage from 'redux-persist/lib/storage'; import logger from 'redux-logger'; import { rootReducer } from './rootReducer'; type ExtendedPersistConfig = PersistConfig<RootSt...
3
hossein647/shopping-food-front-development
8aa748b
src/app/front/main-content/motst-papular/motst-papular.component.ts
TypeScript
www.github.com/hossein647/shopping-food-front-development/tree/main/src/app/front/main-content/motst-papular/motst-papular.component.ts
https://raw.githubusercontent.com/hossein647/shopping-food-front-development/8aa748b/src/app/front/main-content/motst-papular/motst-papular.component.ts
hossein647/shopping-food-front-development 8aa748b src/app/front/main-content/motst-papular/motst-papular.component.ts
true
200
4,508
import { Component, ElementRef, Input, OnChanges, OnInit, QueryList, SimpleChanges, ViewChild, ViewChildren } from '@angular/core'; import { Food } from 'src/app/__dashboard/foods/state/food.model'; import { Snackbar } from 'src/app/___share/helper/snackbar'; import { GlobalFront } from '../../_interfaces/global-front....
0
shankha1997/Angular_Custom_Micro_Frontend
d3eb566
mfeapp2/src/app/services/version-check.service.ts
TypeScript
www.github.com/shankha1997/Angular_Custom_Micro_Frontend/tree/main/mfeapp2/src/app/services/version-check.service.ts
https://raw.githubusercontent.com/shankha1997/Angular_Custom_Micro_Frontend/d3eb566/mfeapp2/src/app/services/version-check.service.ts
shankha1997/Angular_Custom_Micro_Frontend d3eb566 mfeapp2/src/app/services/version-check.service.ts
true
200
1,981
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; @Injectable({ providedIn: 'root' }) export class VersionCheckService { // this will be replaced by actual hash post-build.js private currentHash = '{{POST_BUILD_ENTERS_HASH_HERE}}'; public counting : any; construc...
7
Mohamed-khedrr/books-store-frontend
ed61baa
src/app/app.component.ts
TypeScript
www.github.com/Mohamed-khedrr/books-store-frontend/tree/main/src/app/app.component.ts
https://raw.githubusercontent.com/Mohamed-khedrr/books-store-frontend/ed61baa/src/app/app.component.ts
Mohamed-khedrr/books-store-frontend ed61baa src/app/app.component.ts
true
200
445
import { Component } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterOutlet } from '@angular/router'; import { NavComponent } from './nav/nav.component'; @Component({ selector: 'app-root', standalone: true, templateUrl: './app.component.html', styleUrl: './app.component.scs...
3
spknetwork/union-indexer-node
306ab76
src/workers/post-stats.ts
TypeScript
www.github.com/spknetwork/union-indexer-node/tree/main/src/workers/post-stats.ts
https://raw.githubusercontent.com/spknetwork/union-indexer-node/306ab76/src/workers/post-stats.ts
spknetwork/union-indexer-node 306ab76 src/workers/post-stats.ts
true
200
2,062
import { mongo } from '../services/db' import { HiveClient, sleep } from '../utils' /** * Calculates aggregate number of comments, views, votes, etc of posts on the backend * */ void (async () => { const db = mongo.db('spk-union-indexer') const hiveStreamState = db.collection('hive_stream_state') const posts...
0
Axuan105/Axuan-Blog
61810db
docs/blog/sidebar.ts
TypeScript
www.github.com/Axuan105/Axuan-Blog/tree/main/docs/blog/sidebar.ts
https://raw.githubusercontent.com/Axuan105/Axuan-Blog/61810db/docs/blog/sidebar.ts
Axuan105/Axuan-Blog 61810db docs/blog/sidebar.ts
true
200
409
import { DefaultTheme } from 'vitepress' const frameworkMiniSidebar: DefaultTheme.SidebarItem [] = [ { text: '博客', items: [ { text: '防抖和节流', link: '/blog/list/01-防抖和节流.md' }, { text: 'Flex布局', link: '/blog/list/02-Flex布局.md' }, { text: 'Vue.$nextTick的原理', link: '/blog/list/03-nextTick.md' ...
7
felipemotarocha/aceleramais-api
c286dd1
src/services/bonification/bonification.service.spec.ts
TypeScript
www.github.com/felipemotarocha/aceleramais-api/tree/main/src/services/bonification/bonification.service.spec.ts
https://raw.githubusercontent.com/felipemotarocha/aceleramais-api/c286dd1/src/services/bonification/bonification.service.spec.ts
felipemotarocha/aceleramais-api c286dd1 src/services/bonification/bonification.service.spec.ts
true
200
5,063
import { BonificationRepositoryAbstract } from '../../repositories/bonification/bonification.repository' import { BonificationRepositoryStub, validBonification } from '../../repositories/bonification/bonification.repository.stub' import { BonificationService, BonificationServiceAbstract } from './bonification.s...
2
CunhaGuilhermeBR/gest-o-gastos
06a1b25
src/domain/model/product.ts
TypeScript
www.github.com/CunhaGuilhermeBR/gest-o-gastos/tree/main/src/domain/model/product.ts
https://raw.githubusercontent.com/CunhaGuilhermeBR/gest-o-gastos/06a1b25/src/domain/model/product.ts
CunhaGuilhermeBR/gest-o-gastos 06a1b25 src/domain/model/product.ts
true
200
359
import { ObjectId } from "typeorm"; export enum UserRole { ADMIN = "admin", USER = "user", } export class ProductM { _id: ObjectId; name: string; description?: string; price: number; options?: string[]; active: boolean; category_id: ObjectId; category_label: string; create_...
3
gabacode/infoscuola
267a06b
frontend/src/types.ts
TypeScript
www.github.com/gabacode/infoscuola/tree/main/frontend/src/types.ts
https://raw.githubusercontent.com/gabacode/infoscuola/267a06b/frontend/src/types.ts
gabacode/infoscuola 267a06b frontend/src/types.ts
true
200
293
type Attachment = { filename: string; content: string; }; type Summary = { file: string; text: string; }; export interface Log { id: number; subject: string; sender: string; body: string; attachments?: Attachment[]; summary: Summary[]; processed: boolean; received_at: string; }
1
only-one-punch/AI_Creat_A_Game
6177621
assets/scripts/manager/SceneManager.ts
TypeScript
www.github.com/only-one-punch/AI_Creat_A_Game/tree/main/assets/scripts/manager/SceneManager.ts
https://raw.githubusercontent.com/only-one-punch/AI_Creat_A_Game/6177621/assets/scripts/manager/SceneManager.ts
only-one-punch/AI_Creat_A_Game 6177621 assets/scripts/manager/SceneManager.ts
true
200
3,033
import { _decorator, director, Director, Scene, game } from 'cc'; const { ccclass } = _decorator; import { EventManager } from './EventManager'; export enum SceneEvents { SCENE_LOADING_START = 'SCENE_LOADING_START', SCENE_LOADING_PROGRESS = 'SCENE_LOADING_PROGRESS', SCENE_LOADING_COMPLETE = 'SCENE_LOADING...
6
dstarapp/mora-light-frontend
38cc1bc
packages/core/src/types/trigger/index.ts
TypeScript
www.github.com/dstarapp/mora-light-frontend/tree/main/packages/core/src/types/trigger/index.ts
https://raw.githubusercontent.com/dstarapp/mora-light-frontend/38cc1bc/packages/core/src/types/trigger/index.ts
dstarapp/mora-light-frontend 38cc1bc packages/core/src/types/trigger/index.ts
true
200
519
import { LoadingTrigger } from './types/loading'; import { ButtonTrigger } from './types/button'; import { ClockTrigger } from './types/clock'; export * from './types/loading'; export * from './types/button'; export * from './types/clock'; export type SupportedTriggerType = // supported type 'loading' | 'button' ...
0
julia-otomo/Projeto-Full-Stack-Motors-Front-End
3fe77c4
src/Components/Forms/RecoverForm/style.ts
TypeScript
www.github.com/julia-otomo/Projeto-Full-Stack-Motors-Front-End/tree/main/src/Components/Forms/RecoverForm/style.ts
https://raw.githubusercontent.com/julia-otomo/Projeto-Full-Stack-Motors-Front-End/3fe77c4/src/Components/Forms/RecoverForm/style.ts
julia-otomo/Projeto-Full-Stack-Motors-Front-End 3fe77c4 src/Components/Forms/RecoverForm/style.ts
true
200
324
import styled from "styled-components"; const StyledDiv = styled.div` fieldset { margin-top: 20px; margin-bottom: 20px; border: none; padding-bottom: 24px; } input { width: 100%; display: flex; height: 48px; margin-top: 12px; padding-left: 15px; } ` export default Styled...
5
mlatka9/event-organizer
45b2cef
apps/frontend/src/libs/cloudinary.ts
TypeScript
www.github.com/mlatka9/event-organizer/tree/main/apps/frontend/src/libs/cloudinary.ts
https://raw.githubusercontent.com/mlatka9/event-organizer/45b2cef/apps/frontend/src/libs/cloudinary.ts
mlatka9/event-organizer 45b2cef apps/frontend/src/libs/cloudinary.ts
true
200
1,016
import axios from 'axios'; const CLOUDINARY_UPLOAD_PRESET = 'uvm9hyxi'; const CLOUDINARY_UPLOAD_LINK = 'https://api.cloudinary.com/v1_1/dw6bikqwf/image/upload'; interface UploadImageType { url: string; width: number; height: number; } const uploadImage = async ( selectedImage: File, uploadProgressCallback?...
4
siva1907/anguler-property_Investment
ccdaab3
src/app/app.module.ts
TypeScript
www.github.com/siva1907/anguler-property_Investment/tree/main/src/app/app.module.ts
https://raw.githubusercontent.com/siva1907/anguler-property_Investment/ccdaab3/src/app/app.module.ts
siva1907/anguler-property_Investment ccdaab3 src/app/app.module.ts
true
200
2,965
import { CUSTOM_ELEMENTS_SCHEMA, Component, NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppComponent } from './app.component'; import { RouterModule } from '@angular/router'; import { AdminHomeComponent } from './admin/adminhome.component'; import { AdminModule ...
7
yuqingzhijie/painter-demo
aadbbae
src/luban/geom/part/Geometry3d.ts
TypeScript
www.github.com/yuqingzhijie/painter-demo/tree/main/src/luban/geom/part/Geometry3d.ts
https://raw.githubusercontent.com/yuqingzhijie/painter-demo/aadbbae/src/luban/geom/part/Geometry3d.ts
yuqingzhijie/painter-demo aadbbae src/luban/geom/part/Geometry3d.ts
true
200
449
import type { Color, Container, Device } from '@gl-painter/gl-canvas' import { Context, Geometry } from '@gl-painter/gl-canvas' export type DrawOptions = { color?: Color opacity?: number } export default abstract class Geometry3d extends Geometry { constructor(container: Container, id: number) { super(conta...
3
DariA99P/Diplom
adf6e61
src/pages/View/neuroDrawingComponent/components/subAndsub/styled.ts
TypeScript
www.github.com/DariA99P/Diplom/tree/main/src/pages/View/neuroDrawingComponent/components/subAndsub/styled.ts
https://raw.githubusercontent.com/DariA99P/Diplom/adf6e61/src/pages/View/neuroDrawingComponent/components/subAndsub/styled.ts
DariA99P/Diplom adf6e61 src/pages/View/neuroDrawingComponent/components/subAndsub/styled.ts
true
200
987
import styled from 'styled-components'; import { Modal } from 'antd'; export const SubAndSubComponentStyled = styled.div` display: flex; flex-direction: row; margin: 24px; justify-content: space-between; width: 100%; `; export const ColumnStyled = styled.div` display: flex; flex-direction: column; `; e...
2
spt30/notes-app-redux-lecture
e2a7207
src/common/types.ts
TypeScript
www.github.com/spt30/notes-app-redux-lecture/tree/main/src/common/types.ts
https://raw.githubusercontent.com/spt30/notes-app-redux-lecture/e2a7207/src/common/types.ts
spt30/notes-app-redux-lecture e2a7207 src/common/types.ts
true
200
987
export enum NOTE_STATUS { actual = 'actual', old = 'old', deleted = 'deleted' } export interface IPureNote { title: string; description: string; status: NOTE_STATUS; created: Date; } export interface INote extends IPureNote { id: number; } // Все типы Action'ов export enum ACTIONS { ...
1
NatalyKokhaniuk/javascript-frameworks
130e562
2/02-classes-and-interfaces/examples/02-inheritance/02-base-methods.ts
TypeScript
www.github.com/NatalyKokhaniuk/javascript-frameworks/tree/main/2/02-classes-and-interfaces/examples/02-inheritance/02-base-methods.ts
https://raw.githubusercontent.com/NatalyKokhaniuk/javascript-frameworks/130e562/2/02-classes-and-interfaces/examples/02-inheritance/02-base-methods.ts
NatalyKokhaniuk/javascript-frameworks 130e562 2/02-classes-and-interfaces/examples/02-inheritance/02-base-methods.ts
true
200
1,932
// базовий тип даних class Shape { public name: string; constructor(name) { this.name = name; } public getInfo(): string { return `This is ${this.name}.`; } } // похідний тип даних class Rect extends Shape { private width: number; private height: number; ...
6
gleysonabreu/socialnetwork
dad9d17
src/controllers/PostController.ts
TypeScript
www.github.com/gleysonabreu/socialnetwork/tree/main/src/controllers/PostController.ts
https://raw.githubusercontent.com/gleysonabreu/socialnetwork/dad9d17/src/controllers/PostController.ts
gleysonabreu/socialnetwork dad9d17 src/controllers/PostController.ts
true
200
5,591
import { Request, Response, NextFunction } from "express"; import knex from "@database/connection"; import IPost from "@dtos/IPost"; import IPostUser from "@dtos/IPostUser"; import AppError from "../AppError"; import ConvertFileNames from "../utils/PostUpload"; import ImageLink from "../utils/ImageLink"; class PostCon...
0
geunheejung/ts-training
94a6208
src/accessorDecorator.ts
TypeScript
www.github.com/geunheejung/ts-training/tree/main/src/accessorDecorator.ts
https://raw.githubusercontent.com/geunheejung/ts-training/94a6208/src/accessorDecorator.ts
geunheejung/ts-training 94a6208 src/accessorDecorator.ts
true
200
570
class Rectangle { private height: number; private width: number; constructor(height: number, width: number) { this.height = height; this.width = width; } @Configurable(false) get h() { return this.height; } @Configurable(false) get w() { return this.width; } } const rec = new Rec...
5
gilangh/price-tracker-web
d3b6325
src/hooks/useProduct.ts
TypeScript
www.github.com/gilangh/price-tracker-web/tree/main/src/hooks/useProduct.ts
https://raw.githubusercontent.com/gilangh/price-tracker-web/d3b6325/src/hooks/useProduct.ts
gilangh/price-tracker-web d3b6325 src/hooks/useProduct.ts
true
200
3,211
import { useState, useCallback, useRef } from 'react'; import { toast } from 'sonner'; import { Product } from '@/types'; import { productService } from '@/lib/services/product-service'; import { ApiError } from '@/lib/api-client'; import { getErrorMessage } from '@/utils/error-handler'; interface UseProductReturn { ...
4
debsishu/ec-static-api
2134eb7
server/types/Error.ts
TypeScript
www.github.com/debsishu/ec-static-api/tree/main/server/types/Error.ts
https://raw.githubusercontent.com/debsishu/ec-static-api/2134eb7/server/types/Error.ts
debsishu/ec-static-api 2134eb7 server/types/Error.ts
true
200
603
export class ResponseError extends Error { status: string; statusCode: number; constructor(status: string, message: string, statusCode: number) { super(message); this.status = status; this.statusCode = statusCode; // This is to ensure instanceof properly works Object.setPrototypeOf(this, Res...
7
jonmargolin/frombuilder
7c3bcca
src/store/store.ts
TypeScript
www.github.com/jonmargolin/frombuilder/tree/main/src/store/store.ts
https://raw.githubusercontent.com/jonmargolin/frombuilder/7c3bcca/src/store/store.ts
jonmargolin/frombuilder 7c3bcca src/store/store.ts
true
200
1,715
import { configureStore, createSlice, PayloadAction } from '@reduxjs/toolkit'; import { FieldName, OperatorOptions } from '../utils/const'; import { Field } from '../utils/types'; // Define the initial state const initialState: { fields: Array<Field> } = { fields: [{ variable: FieldName.devices, operator: 'Equals'...
2
selmaheric/yudiel-react-qr-scanner
627ba13
src/hooks/useDevices.ts
TypeScript
www.github.com/selmaheric/yudiel-react-qr-scanner/tree/main/src/hooks/useDevices.ts
https://raw.githubusercontent.com/selmaheric/yudiel-react-qr-scanner/627ba13/src/hooks/useDevices.ts
selmaheric/yudiel-react-qr-scanner 627ba13 src/hooks/useDevices.ts
true
200
434
import { useState, useEffect } from 'react'; export function useDevices() { const [devices, setDevices] = useState<MediaDeviceInfo[]>([]); async function getDevices() { return (await navigator.mediaDevices.enumerateDevices()).filter(({ kind }) => kind === 'videoinput'); } useEffect(() => { ...
3
Abi-shk/biscord
aef2514
pages/api/socket/messages/index.ts
TypeScript
www.github.com/Abi-shk/biscord/tree/main/pages/api/socket/messages/index.ts
https://raw.githubusercontent.com/Abi-shk/biscord/aef2514/pages/api/socket/messages/index.ts
Abi-shk/biscord aef2514 pages/api/socket/messages/index.ts
true
200
2,576
import { currentProfilePages } from "@/lib/current-profile-pages"; import { db } from "@/lib/db"; import { NextApiResponseServerIo } from "@/types"; import { NextApiRequest } from "next"; export default async function handler(req:NextApiRequest,res:NextApiResponseServerIo){ if(req.method!=="POST"){ return...
1
DesignPlain/PlainDashboard
b8360a3
src/app/Models/codegen/gcp/types/bigquery_JobCopyDestinationTable.ts
TypeScript
www.github.com/DesignPlain/PlainDashboard/tree/main/src/app/Models/codegen/gcp/types/bigquery_JobCopyDestinationTable.ts
https://raw.githubusercontent.com/DesignPlain/PlainDashboard/b8360a3/src/app/Models/codegen/gcp/types/bigquery_JobCopyDestinationTable.ts
DesignPlain/PlainDashboard b8360a3 src/app/Models/codegen/gcp/types/bigquery_JobCopyDestinationTable.ts
true
200
1,351
import { InputType, InputType_String_GetTypes, InputType_Number_GetTypes, InputType_Map_GetTypes, } from '../../ds_base/InputType'; import { DynamicUIProps } from '../../ds_base/DynamicUIProps'; export interface bigquery_JobCopyDestinationTable { // The ID of the dataset containing this table. datasetId?: ...
6
Brian0-2/UpTask_Fontend
fe4e71d
src/api/NoteAPI.ts
TypeScript
www.github.com/Brian0-2/UpTask_Fontend/tree/main/src/api/NoteAPI.ts
https://raw.githubusercontent.com/Brian0-2/UpTask_Fontend/fe4e71d/src/api/NoteAPI.ts
Brian0-2/UpTask_Fontend fe4e71d src/api/NoteAPI.ts
true
200
1,129
import { isAxiosError } from "axios"; import { Note, NoteFormData, Project, Task } from "../types"; import api from "@/lib/axios"; type NoteAPIType = { formData: NoteFormData, projectId : Project['_id'], taskId: Task['_id'], noteId: Note['_id'] } export async function createNote ({projectId, taskId, ...
0
maitrikpatel2025/Microservices-with-Node-JS-and-React
2c71947
Ticket-App/auth/src/app.ts
TypeScript
www.github.com/maitrikpatel2025/Microservices-with-Node-JS-and-React/tree/main/Ticket-App/auth/src/app.ts
https://raw.githubusercontent.com/maitrikpatel2025/Microservices-with-Node-JS-and-React/2c71947/Ticket-App/auth/src/app.ts
maitrikpatel2025/Microservices-with-Node-JS-and-React 2c71947 Ticket-App/auth/src/app.ts
true
200
837
import express from 'express'; import 'express-async-errors'; import { json } from 'body-parser'; import cookieSession from 'cookie-session' import { currentUserRouter } from './routes/current-user'; import { signinRouter } from './routes/signin'; import { signoutRouter } from './routes/signout'; import { signupRoute...
5
BrenoGHeat/m5-template-entrega-Breno
8a5019b
src/controllers/users.controllers.ts
TypeScript
www.github.com/BrenoGHeat/m5-template-entrega-Breno/tree/main/src/controllers/users.controllers.ts
https://raw.githubusercontent.com/BrenoGHeat/m5-template-entrega-Breno/8a5019b/src/controllers/users.controllers.ts
BrenoGHeat/m5-template-entrega-Breno 8a5019b src/controllers/users.controllers.ts
true
200
880
import { inject, injectable } from "tsyringe"; import { UsersServices } from "../services/users.services"; import { Request, Response } from "express"; @injectable() export class UsersControllers{ constructor(@inject("UserServices") private usersServices: UsersServices ){} async register(req: Request, res: Re...
3
hack2024/wallaby-nest-node
d8075aa
src/common/infrastructure/clients/http/HttpClient.ts
TypeScript
www.github.com/hack2024/wallaby-nest-node/tree/main/src/common/infrastructure/clients/http/HttpClient.ts
https://raw.githubusercontent.com/hack2024/wallaby-nest-node/d8075aa/src/common/infrastructure/clients/http/HttpClient.ts
hack2024/wallaby-nest-node d8075aa src/common/infrastructure/clients/http/HttpClient.ts
true
200
1,367
export type RetriesConfig = { retries: number; }; export default interface HttpClient { request<T>(options: HttpRequestOptions): Promise<HttpResponse<T>>; get<T>( operationId: string, url: string, timeout: number, headers?: any, retries?: RetriesConfig ): Promise<HttpResponse<T>>; post<T>...
2
datdv-hp/otc-cms
c18cfed
src/modules/auth/api.ts
TypeScript
www.github.com/datdv-hp/otc-cms/tree/main/src/modules/auth/api.ts
https://raw.githubusercontent.com/datdv-hp/otc-cms/c18cfed/src/modules/auth/api.ts
datdv-hp/otc-cms c18cfed src/modules/auth/api.ts
true
200
686
import axiosInstance, { ApiService } from '@/plugins/axios'; import { IAuthTokens, ISignInBody, IUserProfile } from './types'; import { IBodyResponse } from '@/common/type'; class AuthApiService extends ApiService { signIn(body: ISignInBody): Promise<IBodyResponse<IAuthTokens>> { return this.client.post(`${this....
7
wikpza/ModernISght
6f06afb
backend/account_service/src/repository/address.repository.ts
TypeScript
www.github.com/wikpza/ModernISght/tree/main/backend/account_service/src/repository/address.repository.ts
https://raw.githubusercontent.com/wikpza/ModernISght/6f06afb/backend/account_service/src/repository/address.repository.ts
wikpza/ModernISght 6f06afb backend/account_service/src/repository/address.repository.ts
true
200
5,957
import {IAddressesRepository} from "../interface/addressRepository.interface"; import {Address, CreateAddress, User, UserAddresses} from "../models"; import UserAddressesModel from "../database/schemas/address.schema"; import {NotFoundError} from "../utils/error"; import mongoose from "mongoose"; import nodemailer from...
1
bambooGHT/monmusu-tag
559ea64
src/monmusu_canvas/unitSpine/unitSpineEvent/spineEvent.ts
TypeScript
www.github.com/bambooGHT/monmusu-tag/tree/main/src/monmusu_canvas/unitSpine/unitSpineEvent/spineEvent.ts
https://raw.githubusercontent.com/bambooGHT/monmusu-tag/559ea64/src/monmusu_canvas/unitSpine/unitSpineEvent/spineEvent.ts
bambooGHT/monmusu-tag 559ea64 src/monmusu_canvas/unitSpine/unitSpineEvent/spineEvent.ts
true
200
482
import type { Spine } from "pixi-spine"; import type { UnitSpineConfig } from "../config"; import type { AppConfig } from "@/monmusu_canvas/appConfig"; abstract class SpineEvent { spine!: Spine; constructor(protected appConfig: AppConfig, protected config: UnitSpineConfig) { } //開啓 abstract open(...args: any[]...
6
vtunon7/Spread-API-Buda
58acf80
src/utils/cache.ts
TypeScript
www.github.com/vtunon7/Spread-API-Buda/tree/main/src/utils/cache.ts
https://raw.githubusercontent.com/vtunon7/Spread-API-Buda/58acf80/src/utils/cache.ts
vtunon7/Spread-API-Buda 58acf80 src/utils/cache.ts
true
200
1,457
import axios from "axios"; import { fetchMarketIds } from "../services/marketService"; export let cachedMarketIds: string[]; export async function getCachedMarketIds() { if (!cachedMarketIds) { cachedMarketIds = (await fetchMarketIds()) as string[]; } return cachedMarketIds; } export let orderBookCache: { ...
0
kpilszak/buy-and-sell
d2ce8c2
buy-and-sell-frontend/src/app/edit-listing-page/edit-listing-page.component.ts
TypeScript
www.github.com/kpilszak/buy-and-sell/tree/main/buy-and-sell-frontend/src/app/edit-listing-page/edit-listing-page.component.ts
https://raw.githubusercontent.com/kpilszak/buy-and-sell/d2ce8c2/buy-and-sell-frontend/src/app/edit-listing-page/edit-listing-page.component.ts
kpilszak/buy-and-sell d2ce8c2 buy-and-sell-frontend/src/app/edit-listing-page/edit-listing-page.component.ts
true
200
1,003
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { Listing } from '../types'; import { ListingsService } from '../listings.service'; @Component({ selector: 'app-edit-listing-page', templateUrl: './edit-listing-page.component.html', styleUrls: ['....
4
happySP0816/sellscale-ts-frontend-sp
976fe89
src/utils/requests/client.ts
TypeScript
www.github.com/happySP0816/sellscale-ts-frontend-sp/tree/main/src/utils/requests/client.ts
https://raw.githubusercontent.com/happySP0816/sellscale-ts-frontend-sp/976fe89/src/utils/requests/client.ts
happySP0816/sellscale-ts-frontend-sp 976fe89 src/utils/requests/client.ts
true
200
530
import { API_URL } from '@constants/data'; import { MsgResponse } from 'src'; import { processResponse } from './utils'; /** * Get all SDRs for the client * @param userToken * @returns - MsgResponse */ export async function getClientSDRs(userToken: string): Promise<MsgResponse> { const response = await fetch(`${...
5
KinPeter/Old-Code
5498d2e
PKStart-v3/pks-e2e/web-e2e/support/commands.ts
TypeScript
www.github.com/KinPeter/Old-Code/tree/main/PKStart-v3/pks-e2e/web-e2e/support/commands.ts
https://raw.githubusercontent.com/KinPeter/Old-Code/5498d2e/PKStart-v3/pks-e2e/web-e2e/support/commands.ts
KinPeter/Old-Code 5498d2e PKStart-v3/pks-e2e/web-e2e/support/commands.ts
true
200
1,310
import po from './page-objects/auth.po' // // function customCommand(param: any): void { // console.warn(param); // } // // NOTE: You can use it like so: // Cypress.Commands.add('customCommand', customCommand); // // *********************************************** // This example commands.js shows you how to // creat...
3
HuyHoang2358/Web-dtp
f2be35b
src/DTP_3D/module/entity/shape.ts
TypeScript
www.github.com/HuyHoang2358/Web-dtp/tree/main/src/DTP_3D/module/entity/shape.ts
https://raw.githubusercontent.com/HuyHoang2358/Web-dtp/f2be35b/src/DTP_3D/module/entity/shape.ts
HuyHoang2358/Web-dtp f2be35b src/DTP_3D/module/entity/shape.ts
true
200
1,166
import { getCesiumColor, getViewer } from '@/DTP_3D/lib/common'; import * as Cesium from 'cesium'; export const addCylinder = (name:string, position: any, radius:number) => { const viewer = getViewer(); return viewer.entities.add({ name: name, position: Cesium.Cartesian3.fromDegrees(position.lng, position.l...
2
BogdanDevima/boilerplate
a82f046
apps/backend/test/app.e2e-spec.ts
TypeScript
www.github.com/BogdanDevima/boilerplate/tree/main/apps/backend/test/app.e2e-spec.ts
https://raw.githubusercontent.com/BogdanDevima/boilerplate/a82f046/apps/backend/test/app.e2e-spec.ts
BogdanDevima/boilerplate a82f046 apps/backend/test/app.e2e-spec.ts
true
200
795
import { Test } from '@nestjs/testing'; import request from 'supertest'; import { AppModule } from 'src/app/app.module'; import type { INestApplication } from '@nestjs/common'; import type { TestingModule } from '@nestjs/testing'; describe('AppController (e2e)', () => { let app: INestApplication; beforeEach(asy...
7