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
Drroweisii/emsx
2b9d55b
src/utils/constants.ts
TypeScript
www.github.com/Drroweisii/emsx/tree/main/src/utils/constants.ts
https://raw.githubusercontent.com/Drroweisii/emsx/2b9d55b/src/utils/constants.ts
Drroweisii/emsx 2b9d55b src/utils/constants.ts
true
200
1,111
export const GRID_SIZE = { ROWS: 3, COLS: 4, TOTAL_CELLS: 12, MIN_CELLS: 6, MAX_CELLS: 24, }; export const GAME_CONFIG = { INITIAL_BALANCES: { emsx: 10, usdt: 0, btc: 0 }, BASE_MINING_RATES: { emsx: 0.1, usdt: 0.01, btc: 0.001 }, MAX_LEVEL: 50, WORKER_COSTS: { emsx: 1,...
3
HexlinkOfficial/Hexlink-Web
5be9cd0
example-apps/Token-EasySending/src/graphql/preference.ts
TypeScript
www.github.com/HexlinkOfficial/Hexlink-Web/tree/main/example-apps/Token-EasySending/src/graphql/preference.ts
https://raw.githubusercontent.com/HexlinkOfficial/Hexlink-Web/5be9cd0/example-apps/Token-EasySending/src/graphql/preference.ts
HexlinkOfficial/Hexlink-Web 5be9cd0 example-apps/Token-EasySending/src/graphql/preference.ts
true
200
3,584
import { gql } from '@urql/core' import type { IUser } from '@/types'; import type { Token, Chain } from "../../functions/common"; import { handleUrqlResponse, setUrqlClientIfNecessary } from './urql' export const GET_TOKEN_PREFERENCES = gql` query GetPreferences ( $userId: String! $chain: String! ...
1
Uninen/ckeditor5-custom-vite
2fe80df
ckeditor-vite-plugin.ts
TypeScript
www.github.com/Uninen/ckeditor5-custom-vite/tree/main/ckeditor-vite-plugin.ts
https://raw.githubusercontent.com/Uninen/ckeditor5-custom-vite/2fe80df/ckeditor-vite-plugin.ts
Uninen/ckeditor5-custom-vite 2fe80df ckeditor-vite-plugin.ts
true
200
768
import { readFileSync } from 'node:fs' import type { Plugin } from 'vite' const fileRegex = /@ckeditor\/.*\.svg/ export default function VitePlugin(): Plugin { return { name: 'vite-ckeditor-svg-raw-plugin', transform(code, id) { if (fileRegex.test(id)) { code = readFileSync(id, 'utf8') ...
4
Artur-Poffo/Code-Spark-API
7355306
src/domain/course-management/application/use-cases/get-course-details.ts
TypeScript
www.github.com/Artur-Poffo/Code-Spark-API/tree/main/src/domain/course-management/application/use-cases/get-course-details.ts
https://raw.githubusercontent.com/Artur-Poffo/Code-Spark-API/7355306/src/domain/course-management/application/use-cases/get-course-details.ts
Artur-Poffo/Code-Spark-API 7355306 src/domain/course-management/application/use-cases/get-course-details.ts
true
200
999
import { left, right, type Either } from '@/core/either' import { ResourceNotFoundError } from '@/core/errors/errors/resource-not-found-error' import { type UseCase } from '@/core/use-cases/use-case' import { type Course } from '../../enterprise/entities/course' import { type CoursesRepository } from '../repositories/c...
6
PhoneThetNaingTun/little-srn
24bda72
store/Slices/UserCourseSlice.ts
TypeScript
www.github.com/PhoneThetNaingTun/little-srn/tree/main/store/Slices/UserCourseSlice.ts
https://raw.githubusercontent.com/PhoneThetNaingTun/little-srn/24bda72/store/Slices/UserCourseSlice.ts
PhoneThetNaingTun/little-srn 24bda72 store/Slices/UserCourseSlice.ts
true
200
3,388
import { ConfirmUserCoursePayload, DeleteUserCousrePayload, NewUserCoursePayload, userCourseSlice, } from "@/types/userCourse"; import { UserCourses } from "@prisma/client"; import { PayloadAction, createAsyncThunk, createSlice } from "@reduxjs/toolkit"; const initialState: userCourseSlice = { userCourse: []...
2
JoaoJesus94/star-wars-wiki
1b86251
src/redux/favouritesSlice.ts
TypeScript
www.github.com/JoaoJesus94/star-wars-wiki/tree/main/src/redux/favouritesSlice.ts
https://raw.githubusercontent.com/JoaoJesus94/star-wars-wiki/1b86251/src/redux/favouritesSlice.ts
JoaoJesus94/star-wars-wiki 1b86251 src/redux/favouritesSlice.ts
true
200
792
import { createSlice } from '@reduxjs/toolkit' import type { PayloadAction } from '@reduxjs/toolkit' import { People } from '../types' export interface FavouritesState { characters: People[] } const initialState: FavouritesState = { characters: [] } export const favouritesSlice = createSlice({ name: 'favourites', ...
4
woodonghui/quickco-2022
91d7ea5
src/controllers/work-log-employee.controller.ts
TypeScript
www.github.com/woodonghui/quickco-2022/tree/main/src/controllers/work-log-employee.controller.ts
https://raw.githubusercontent.com/woodonghui/quickco-2022/91d7ea5/src/controllers/work-log-employee.controller.ts
woodonghui/quickco-2022 91d7ea5 src/controllers/work-log-employee.controller.ts
true
200
832
import { repository, } from '@loopback/repository'; import { param, get, getModelSchemaRef, } from '@loopback/rest'; import { WorkLog, Employee, } from '../models'; import {WorkLogRepository} from '../repositories'; export class WorkLogEmployeeController { constructor( @repository(WorkLogRepository) ...
6
patiwatpanda/lab5-test
66a8ea4
src/app/components/ngstyle/ngstyle.component.ts
TypeScript
www.github.com/patiwatpanda/lab5-test/tree/main/src/app/components/ngstyle/ngstyle.component.ts
https://raw.githubusercontent.com/patiwatpanda/lab5-test/66a8ea4/src/app/components/ngstyle/ngstyle.component.ts
patiwatpanda/lab5-test 66a8ea4 src/app/components/ngstyle/ngstyle.component.ts
true
200
577
import { Component, OnInit , Output, EventEmitter} from '@angular/core'; @Component({ selector: 'app-ngstyle', templateUrl: './ngstyle.component.html', styleUrls: ['./ngstyle.component.css'] }) export class NgstyleComponent implements OnInit { @Output() messageEvent = new EventEmitter<string>(); colorProper...
2
yuvaltwina/Pawtner-Client
c743e3d
src/utils/apiService/axiosInstance.ts
TypeScript
www.github.com/yuvaltwina/Pawtner-Client/tree/main/src/utils/apiService/axiosInstance.ts
https://raw.githubusercontent.com/yuvaltwina/Pawtner-Client/c743e3d/src/utils/apiService/axiosInstance.ts
yuvaltwina/Pawtner-Client c743e3d src/utils/apiService/axiosInstance.ts
true
200
311
import { SERVER_URL } from './../data/data'; import axios from 'axios'; import Cookies from 'js-cookie'; const token = Cookies.get('login'); const axiosInstance = axios.create({ headers: { Authorization: `Bearer ${token}` }, withCredentials: true, baseURL: SERVER_URL, }); export default axiosInstance;
4
seniorsardorbek/stadium.fd
ca6379a
src/utils/redux/store/dataSlice.ts
TypeScript
www.github.com/seniorsardorbek/stadium.fd/tree/main/src/utils/redux/store/dataSlice.ts
https://raw.githubusercontent.com/seniorsardorbek/stadium.fd/ca6379a/src/utils/redux/store/dataSlice.ts
seniorsardorbek/stadium.fd ca6379a src/utils/redux/store/dataSlice.ts
true
200
1,519
import { createSlice } from '@reduxjs/toolkit' import Cookies from 'js-cookie' export const isLocalStorageAvailable = () => { try { const testKey = '__test__' localStorage.setItem(testKey, testKey) localStorage.removeItem(testKey) return true } catch (error) { return false } } const isSessionS...
6
bluuefish97/work_ms_colorful_musketeer_oldsdk
b2b60cf
assets/Plugin/AudioEffectCtrl.ts
TypeScript
www.github.com/bluuefish97/work_ms_colorful_musketeer_oldsdk/tree/main/assets/Plugin/AudioEffectCtrl.ts
https://raw.githubusercontent.com/bluuefish97/work_ms_colorful_musketeer_oldsdk/b2b60cf/assets/Plugin/AudioEffectCtrl.ts
bluuefish97/work_ms_colorful_musketeer_oldsdk b2b60cf assets/Plugin/AudioEffectCtrl.ts
true
200
2,866
import { _decorator, Component, Node, assetManager, AudioClip, game, AudioSource } from 'cc'; import ASCAd from './ADSDK/ASCAd'; const { ccclass, property } = _decorator; @ccclass('AudioEffectCtrl') export class AudioEffectCtrl extends Component { @property(AudioSource) audioSource: AudioSource = null; ...
2
lucasMR-dev/nestjs_api
ae3784b
src/category/category.service.ts
TypeScript
www.github.com/lucasMR-dev/nestjs_api/tree/main/src/category/category.service.ts
https://raw.githubusercontent.com/lucasMR-dev/nestjs_api/ae3784b/src/category/category.service.ts
lucasMR-dev/nestjs_api ae3784b src/category/category.service.ts
true
200
1,273
import { Injectable } from '@nestjs/common'; import { CreateCategoryDto } from './dto/create-category.dto'; import { UpdateCategoryDto } from './dto/update-category.dto'; import { InjectRepository } from '@nestjs/typeorm'; import { Category } from './entities/category.entity'; import { Repository } from 'typeorm'; @In...
4
GavinLowry/sdgens
2598f64
src/app/pages/shadowdark/utils/hex.ts
TypeScript
www.github.com/GavinLowry/sdgens/tree/main/src/app/pages/shadowdark/utils/hex.ts
https://raw.githubusercontent.com/GavinLowry/sdgens/2598f64/src/app/pages/shadowdark/utils/hex.ts
GavinLowry/sdgens 2598f64 src/app/pages/shadowdark/utils/hex.ts
true
200
8,514
import {Point} from './mapview'; import { TileMap, MapTile } from '../hex-map/hex-map'; export const hexRatio = 0.85; export function addPoints (a: Point, b: Point): Point { return { x: a.x + b.x, y: a.y + b.y }; } export function subtractPoints (a: Point, b: Point): Point { return { ...
6
going-hi/chat-online
e1ad25c
src/auth/auth.service.ts
TypeScript
www.github.com/going-hi/chat-online/tree/main/src/auth/auth.service.ts
https://raw.githubusercontent.com/going-hi/chat-online/e1ad25c/src/auth/auth.service.ts
going-hi/chat-online e1ad25c src/auth/auth.service.ts
true
200
2,528
import { Injectable, UnauthorizedException } from '@nestjs/common'; import { JwtService } from '@nestjs/jwt'; import { Profile } from 'passport-discord'; import { UserEntity } from '../user/user.entity'; import { ConfigService } from '@nestjs/config'; import { ACCESS_SECRET, REFRESH_SECRET } from './auth.constants'; im...
2
oltkachenko/portfolio
e382229
queries/fragments/navigation.ts
TypeScript
www.github.com/oltkachenko/portfolio/tree/main/queries/fragments/navigation.ts
https://raw.githubusercontent.com/oltkachenko/portfolio/e382229/queries/fragments/navigation.ts
oltkachenko/portfolio e382229 queries/fragments/navigation.ts
true
200
871
import groq from "groq"; import { LINK_EXTERNAL } from "./links/linkExternal"; import { LINK_INTERNAL } from "./links/linkInternal"; import { SEO } from "./seo"; export const NAVIGATION = groq` *[_type == "navigation" && language == $language && !(_id in path("drafts.**"))][0] { _id, "menuLinks": l...
4
BarryCoding/FM-Testing-Fundamentals
9e8c089
examples/element-factory/src/button.test.ts
TypeScript
www.github.com/BarryCoding/FM-Testing-Fundamentals/tree/main/examples/element-factory/src/button.test.ts
https://raw.githubusercontent.com/BarryCoding/FM-Testing-Fundamentals/9e8c089/examples/element-factory/src/button.test.ts
BarryCoding/FM-Testing-Fundamentals 9e8c089 examples/element-factory/src/button.test.ts
true
200
1,271
import { describe, it, expect, beforeEach, afterEach } from 'vitest'; import { createButton } from './button'; import { screen } from '@testing-library/dom'; import userEvent from '@testing-library/user-event'; describe('createButton', () => { let button: HTMLButtonElement; beforeEach(() => { button = createB...
2
Eduardo123Andrade/ferreira-costa
6710f0e
mobile/src/hooks/useResponseModal.ts
TypeScript
www.github.com/Eduardo123Andrade/ferreira-costa/tree/main/mobile/src/hooks/useResponseModal.ts
https://raw.githubusercontent.com/Eduardo123Andrade/ferreira-costa/6710f0e/mobile/src/hooks/useResponseModal.ts
Eduardo123Andrade/ferreira-costa 6710f0e mobile/src/hooks/useResponseModal.ts
true
200
761
import { useState } from "react" interface ModalResponse { show: boolean message: string } const INITIAL_STATE: ModalResponse = { show: false, message: "", } interface UseErrorModalActions { resetState: () => void startModalResponse: (message: string) => void } type UseModalResponseData = [ state: Mod...
4
luisfosg/coldbot
fc828b7
src/commands/button/execute.ts
TypeScript
www.github.com/luisfosg/coldbot/tree/main/src/commands/button/execute.ts
https://raw.githubusercontent.com/luisfosg/coldbot/fc828b7/src/commands/button/execute.ts
luisfosg/coldbot fc828b7 src/commands/button/execute.ts
true
200
1,781
import { ActionRowBuilder, ButtonBuilder, ButtonStyle, CacheType, ChatInputCommandInteraction, EmbedBuilder, Message } from 'discord.js' export const ButtonCommand = async ( interaction: ChatInputCommandInteraction<CacheType> | Message, args: string[] | undefined ) => { const argumento1 = interaction instanceof ...
6
condorheroblog/import-from-string
c36d3bf
src/bundler/externalPlugin.ts
TypeScript
www.github.com/condorheroblog/import-from-string/tree/main/src/bundler/externalPlugin.ts
https://raw.githubusercontent.com/condorheroblog/import-from-string/c36d3bf/src/bundler/externalPlugin.ts
condorheroblog/import-from-string c36d3bf src/bundler/externalPlugin.ts
true
200
1,431
import type { Plugin } from "esbuild"; import { isAbsolute, join } from "node:path"; import { pathToFileURL } from "node:url"; import { name } from "../../package.json"; export function externalPlugin(): Plugin { return { name: `[${name}]:external-plugin`, setup(ctx) { ctx.onResolve({ filter: /.*/ }, async (ar...
2
ericfrontdev/RemoteQuebec-Frontend
940e1bd
src/services/emailService.ts
TypeScript
www.github.com/ericfrontdev/RemoteQuebec-Frontend/tree/main/src/services/emailService.ts
https://raw.githubusercontent.com/ericfrontdev/RemoteQuebec-Frontend/940e1bd/src/services/emailService.ts
ericfrontdev/RemoteQuebec-Frontend 940e1bd src/services/emailService.ts
true
200
971
import { Job, JobApplication } from '../types'; import { api } from './api'; export async function sendApplicationEmail(job: Job, application: JobApplication) { try { const formData = new FormData(); formData.append('resume', application.resume); formData.append('jobId', job.id); formData.append('ful...
4
hermann-10/netflix-clone-angular
8927141
src/app/search/search.component.ts
TypeScript
www.github.com/hermann-10/netflix-clone-angular/tree/main/src/app/search/search.component.ts
https://raw.githubusercontent.com/hermann-10/netflix-clone-angular/8927141/src/app/search/search.component.ts
hermann-10/netflix-clone-angular 8927141 src/app/search/search.component.ts
true
200
1,307
import { Component, OnInit, effect, inject } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { TmdbService } from '../service/tmdb.service'; import { Movie } from '../service/model/movie.model'; import { debounce, filter, interval, map } from 'rxjs'; import { MovieCardComponent } from ".....
6
muhammadawaisshaikh/angular-concepts
b53c1fd
src/app/components/payment/payment.component.ts
TypeScript
www.github.com/muhammadawaisshaikh/angular-concepts/tree/main/src/app/components/payment/payment.component.ts
https://raw.githubusercontent.com/muhammadawaisshaikh/angular-concepts/b53c1fd/src/app/components/payment/payment.component.ts
muhammadawaisshaikh/angular-concepts b53c1fd src/app/components/payment/payment.component.ts
true
200
857
import { Component, OnInit } from '@angular/core'; import { PaymentProvider } from 'src/app/shared/enums/payment-provider'; @Component({ selector: 'app-payment', templateUrl: './payment.component.html', styleUrls: ['./payment.component.scss'] }) export class PaymentComponent implements OnInit { paymentProvide...
2
universaldev92/msr-fsr
c5d15c1
MSR.UI/MSR.UI.Answer/src/app/pages/procedures/procedure-edit/procedure-edit.component.ts
TypeScript
www.github.com/universaldev92/msr-fsr/tree/main/MSR.UI/MSR.UI.Answer/src/app/pages/procedures/procedure-edit/procedure-edit.component.ts
https://raw.githubusercontent.com/universaldev92/msr-fsr/c5d15c1/MSR.UI/MSR.UI.Answer/src/app/pages/procedures/procedure-edit/procedure-edit.component.ts
universaldev92/msr-fsr c5d15c1 MSR.UI/MSR.UI.Answer/src/app/pages/procedures/procedure-edit/procedure-edit.component.ts
true
200
26,816
import { Component, OnInit, ElementRef } from "@angular/core"; import { ActivatedRoute, Router } from "@angular/router"; import { SelectItem } from "primeng/api"; import { EnumPrivilege } from "../../../models/enums/privileges"; import { RoleService, Procedure, ProcedureStepModel, ProcedureTemplateService, Up...
4
ashenoooone/semantic-book-analyzer
c45faad
front/src/features/authUser/api/initUserThunk.ts
TypeScript
www.github.com/ashenoooone/semantic-book-analyzer/tree/main/front/src/features/authUser/api/initUserThunk.ts
https://raw.githubusercontent.com/ashenoooone/semantic-book-analyzer/c45faad/front/src/features/authUser/api/initUserThunk.ts
ashenoooone/semantic-book-analyzer c45faad front/src/features/authUser/api/initUserThunk.ts
true
200
866
import { createAsyncThunk } from '@reduxjs/toolkit'; import { USER_LOCALSTORAGE_KEY } from '~/shared/consts/localStorage'; import { ThunkConfig } from '~/app/providers/StoreProvider'; import { InitUserServerResponse } from '../model/types'; import { UserSliceActions } from '~/entities/User'; export const initUserThunk...
6
Nirob844/user-list-forentend
761d925
src/redux/api/teamApi.ts
TypeScript
www.github.com/Nirob844/user-list-forentend/tree/main/src/redux/api/teamApi.ts
https://raw.githubusercontent.com/Nirob844/user-list-forentend/761d925/src/redux/api/teamApi.ts
Nirob844/user-list-forentend 761d925 src/redux/api/teamApi.ts
true
200
1,738
import { IMeta, ITeam } from "../../types"; import { tagTypes } from "../teg-types"; import { baseApi } from "./baseApi"; const TEAM_URL = "/team"; export const teamApi = baseApi.injectEndpoints({ endpoints: (build) => ({ teams: build.query({ // eslint-disable-next-line @typescript-eslint/no-explicit-any ...
2
amin-mochtar/epos-frontEndFE
73f460f
src/components/epos-input/epos-input.style.ts
TypeScript
www.github.com/amin-mochtar/epos-frontEndFE/tree/main/src/components/epos-input/epos-input.style.ts
https://raw.githubusercontent.com/amin-mochtar/epos-frontEndFE/73f460f/src/components/epos-input/epos-input.style.ts
amin-mochtar/epos-frontEndFE 73f460f src/components/epos-input/epos-input.style.ts
true
200
797
import { StyleSheet, ViewStyle } from 'react-native' import { color } from 'common_ui_components/app/theme' export const EIStyle = { label: { color: color.grey66, fontWeight: '500', fontSize: 14, lineHeight: 20, } as ViewStyle, star: { color: color.primaryRed }, wrapperInput: { display: 'fl...
6
wzw0101/wzw0101.github.io
4260234
csci571/hw8/front-end/src/app/watchlist/watchlist.component.ts
TypeScript
www.github.com/wzw0101/wzw0101.github.io/tree/main/csci571/hw8/front-end/src/app/watchlist/watchlist.component.ts
https://raw.githubusercontent.com/wzw0101/wzw0101.github.io/4260234/csci571/hw8/front-end/src/app/watchlist/watchlist.component.ts
wzw0101/wzw0101.github.io 4260234 csci571/hw8/front-end/src/app/watchlist/watchlist.component.ts
true
200
465
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { WatchlistService } from '../watchlist.service'; @Component({ selector: 'app-watchlist', templateUrl: './watchlist.component.html', styleUrls: ['./watchlist.component.css'] }) export class Watchli...
4
hengly12/Study-material
553992a
src/app/app.component.ts
TypeScript
www.github.com/hengly12/Study-material/tree/main/src/app/app.component.ts
https://raw.githubusercontent.com/hengly12/Study-material/553992a/src/app/app.component.ts
hengly12/Study-material 553992a src/app/app.component.ts
true
200
286
import { Component } from '@angular/core'; import * as AOS from 'aos'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'] }) export class AppComponent { title = 'Study Material'; ngOnInit(): void { AOS.init() } }
2
solanabots/copytrade
7c9d4b5
src/sendRaydium.ts
TypeScript
www.github.com/solanabots/copytrade/tree/main/src/sendRaydium.ts
https://raw.githubusercontent.com/solanabots/copytrade/7c9d4b5/src/sendRaydium.ts
solanabots/copytrade 7c9d4b5 src/sendRaydium.ts
true
200
2,213
import RaydiumSwap from './RaydiumSwap'; import { Transaction, VersionedTransaction, LAMPORTS_PER_SOL } from '@solana/web3.js'; let cachedPoolKeys = null; export const loadPoolKeys = async (RPC_URL, WALLET_PRIVATE_KEY) => { const raydiumSwap = new RaydiumSwap(RPC_URL, WALLET_PRIVATE_KEY); await raydiumSwap.loadPo...
5
CowleyW/specks
a3ce8ec
frontend/src/app/schema-entry/schema-entry.component.ts
TypeScript
www.github.com/CowleyW/specks/tree/main/frontend/src/app/schema-entry/schema-entry.component.ts
https://raw.githubusercontent.com/CowleyW/specks/a3ce8ec/frontend/src/app/schema-entry/schema-entry.component.ts
CowleyW/specks a3ce8ec frontend/src/app/schema-entry/schema-entry.component.ts
true
200
947
import {Component, Input} from '@angular/core'; import { FormArray, FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule, Validators } from "@angular/forms"; import {NgForOf} from "@angular/common"; import {ColumnEntryComponent} from "../db-form/column-entry/column-entry.component"; impor...
0
dyrector-io/dyrectorio
d0ba469
web/crux-ui/src/validations/registry.ts
TypeScript
www.github.com/dyrector-io/dyrectorio/tree/main/web/crux-ui/src/validations/registry.ts
https://raw.githubusercontent.com/dyrector-io/dyrectorio/d0ba469/web/crux-ui/src/validations/registry.ts
dyrector-io/dyrectorio d0ba469 web/crux-ui/src/validations/registry.ts
true
200
3,532
/* eslint-disable import/prefer-default-export */ import { GITHUB_NAMESPACE_VALUES, GITLAB_NAMESPACE_VALUES, GithubNamespace, GitlabNamespace, REGISTRY_TYPE_VALUES, RegistryNamespace, RegistryType, } from '@app/models' import { descriptionRule, iconRule, nameRule } from './common' import yup from './yup' ...
6
haithamassoli/Hayat
fd13fd2
src/firebase.config.ts
TypeScript
www.github.com/haithamassoli/Hayat/tree/main/src/firebase.config.ts
https://raw.githubusercontent.com/haithamassoli/Hayat/fd13fd2/src/firebase.config.ts
haithamassoli/Hayat fd13fd2 src/firebase.config.ts
true
200
702
import Constants from "expo-constants"; import { getAuth } from "firebase/auth"; import { initializeApp } from "firebase/app"; import { getStorage } from "firebase/storage"; import { getFirestore } from "firebase/firestore"; const { apiKey, authDomain, projectId, storageBucket, messagingSenderId, appId, } ...
4
AnushervonKhidirov/portfolio-back
79c3f23
src/acquired-skill/acquired-skill.helper.ts
TypeScript
www.github.com/AnushervonKhidirov/portfolio-back/tree/main/src/acquired-skill/acquired-skill.helper.ts
https://raw.githubusercontent.com/AnushervonKhidirov/portfolio-back/79c3f23/src/acquired-skill/acquired-skill.helper.ts
AnushervonKhidirov/portfolio-back 79c3f23 src/acquired-skill/acquired-skill.helper.ts
true
200
855
import { BadRequestException, Injectable } from '@nestjs/common'; import { SkillService } from 'src/skill/skill.service'; import { AcquiredSkillEntity } from './entity/acquired-skill.entity'; import { SkillEntity } from 'src/skill/entity/skill.entity'; import { TServiceAsyncMethodReturn } from '@common/type/service-me...
7
Justjuice666/team-speak-typescript
8b0c197
src/loading.ts
TypeScript
www.github.com/Justjuice666/team-speak-typescript/tree/main/src/loading.ts
https://raw.githubusercontent.com/Justjuice666/team-speak-typescript/8b0c197/src/loading.ts
Justjuice666/team-speak-typescript 8b0c197 src/loading.ts
true
200
2,112
import { readFileSync } from "fs"; import { MyTCPClient } from './client' import { commonCode } from "./commonCode"; export function loading(client: MyTCPClient){ return new Promise(async (resolve)=>{ let userName = await client.getInput('账号:') as string let password = await client.getInput('密码:') ...
2
shauryaa19/vrv-assignment
fe30ce4
lib/api.ts
TypeScript
www.github.com/shauryaa19/vrv-assignment/tree/main/lib/api.ts
https://raw.githubusercontent.com/shauryaa19/vrv-assignment/fe30ce4/lib/api.ts
shauryaa19/vrv-assignment fe30ce4 lib/api.ts
true
200
7,563
import { User, Role, PaginatedResponse, Permission, ResourceType, LoginAttempt } from './types' import bcrypt from 'bcryptjs' import { v4 as uuidv4 } from 'uuid' // Simulated delay for API calls const delay = (ms: number) => new Promise(resolve => setTimeout(resolve, ms)) // Simulated in-memory database let users: Us...
3
JuanMaldonado95/angular-Mascotas
a931f70
src/app/Pages/mascotas/mascotas.component.ts
TypeScript
www.github.com/JuanMaldonado95/angular-Mascotas/tree/main/src/app/Pages/mascotas/mascotas.component.ts
https://raw.githubusercontent.com/JuanMaldonado95/angular-Mascotas/a931f70/src/app/Pages/mascotas/mascotas.component.ts
JuanMaldonado95/angular-Mascotas a931f70 src/app/Pages/mascotas/mascotas.component.ts
true
200
9,240
import { Component, ViewChild, OnInit } from '@angular/core'; import { MatSort } from '@angular/material/sort'; import { Mascota, products } from '../../Services/mascotas.service'; import { MatPaginator } from '@angular/material/paginator'; import { MatTableDataSource } from '@angular/material/table'; import { MatSnack...
1
doxuandung1999/AmisMessager
e7ee8d5
src/app/model/friend/friend.ts
TypeScript
www.github.com/doxuandung1999/AmisMessager/tree/main/src/app/model/friend/friend.ts
https://raw.githubusercontent.com/doxuandung1999/AmisMessager/e7ee8d5/src/app/model/friend/friend.ts
doxuandung1999/AmisMessager e7ee8d5 src/app/model/friend/friend.ts
true
200
801
import { Time } from '@angular/common'; export class Friend{ id:number; name : string; avatar : string; status : boolean; lastMassage : string; time : string; timeActive : string; noRep : number; senderId : number; number : string; email : string; constructor(id: nu...
5
carlos0818/agora
da86e48
context/menu/menuReducer.ts
TypeScript
www.github.com/carlos0818/agora/tree/main/context/menu/menuReducer.ts
https://raw.githubusercontent.com/carlos0818/agora/da86e48/context/menu/menuReducer.ts
carlos0818/agora da86e48 context/menu/menuReducer.ts
true
200
871
import { MenuState } from './' type HideMenu = 'original' | 'hide' | 'show' type MenuActionType = | { type: '[Menu] - ToggleMenu', payload: HideMenu} | { type: '[Menu] - ToggleMenuDesktop', payload: HideMenu} | { type: '[Menu] - ToggleDarkMode', payload: boolean} export const menuReducer = (state: MenuSt...
0
IQSS/dataverse-frontend
51f1d84
src/files/domain/models/FilesCountInfo.ts
TypeScript
www.github.com/IQSS/dataverse-frontend/tree/main/src/files/domain/models/FilesCountInfo.ts
https://raw.githubusercontent.com/IQSS/dataverse-frontend/51f1d84/src/files/domain/models/FilesCountInfo.ts
IQSS/dataverse-frontend 51f1d84 src/files/domain/models/FilesCountInfo.ts
true
200
461
import { FileType } from './FileMetadata' import { FileAccessOption, FileTag } from './FileCriteria' export interface FilesCountInfo { total: number perFileType: FileTypeCount[] perAccess: FileAccessCount[] perFileTag: FileTagCount[] } export interface FileTypeCount { type: FileType count: number } expor...
6
JaumePonsOrti/api_organi_green
c93f8a7
src/controllers/rol.controller.ts
TypeScript
www.github.com/JaumePonsOrti/api_organi_green/tree/main/src/controllers/rol.controller.ts
https://raw.githubusercontent.com/JaumePonsOrti/api_organi_green/c93f8a7/src/controllers/rol.controller.ts
JaumePonsOrti/api_organi_green c93f8a7 src/controllers/rol.controller.ts
true
200
3,095
import { Count, CountSchema, Filter, FilterExcludingWhere, repository, Where, } from '@loopback/repository'; import { del, get, getModelSchemaRef, param, patch, post, put, requestBody, response, } from '@loopback/rest'; import {Rol} from '../models'; import {RolRepository} from '../reposit...
4
krunalappin/nest_app
40b4553
src/blog/blog.service.ts
TypeScript
www.github.com/krunalappin/nest_app/tree/main/src/blog/blog.service.ts
https://raw.githubusercontent.com/krunalappin/nest_app/40b4553/src/blog/blog.service.ts
krunalappin/nest_app 40b4553 src/blog/blog.service.ts
true
200
2,023
import { HttpException, HttpStatus, Injectable, NotFoundException } from '@nestjs/common'; import { CreateBlogDto } from './dto/create-blog.dto'; import { UpdateBlogDto } from './dto/update-blog.dto'; import { InjectRepository } from '@nestjs/typeorm'; import { Blog } from './entities/blog.entity'; import { Repository ...
7
nguyenlong15012/MD6-Blog-FE
9094e08
src/app/app.module.ts
TypeScript
www.github.com/nguyenlong15012/MD6-Blog-FE/tree/main/src/app/app.module.ts
https://raw.githubusercontent.com/nguyenlong15012/MD6-Blog-FE/9094e08/src/app/app.module.ts
nguyenlong15012/MD6-Blog-FE 9094e08 src/app/app.module.ts
true
200
3,904
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { RegisterComponent } from './form-login/register/register.component'; import { LoginComponent } from './f...
2
pearlbea/bookstore
4967b90
data.ts
TypeScript
www.github.com/pearlbea/bookstore/tree/main/data.ts
https://raw.githubusercontent.com/pearlbea/bookstore/4967b90/data.ts
pearlbea/bookstore 4967b90 data.ts
true
200
556
import { v4 as uuidv4 } from "uuid"; export interface Book { id: string; author: string; title: string; } export const inventory: Book[] = [ { id: "2f2474b8-ee6f-4886-a34b-4f48f5dcfbc0", author: "Cate Huston", title: "The Engineering Leader: Strategies for Scaling Teams and Yourself", }, { ...
3
a-la-fois/a-la-fois
39a5cfe
packages/examples/vite.config.ts
TypeScript
www.github.com/a-la-fois/a-la-fois/tree/main/packages/examples/vite.config.ts
https://raw.githubusercontent.com/a-la-fois/a-la-fois/39a5cfe/packages/examples/vite.config.ts
a-la-fois/a-la-fois 39a5cfe packages/examples/vite.config.ts
true
200
325
import { defineConfig } from 'vite'; import path from 'node:path'; import react from '@vitejs/plugin-react'; // https://vitejs.dev/config/ export default defineConfig({ server: { open: true }, resolve: { alias: { '~': path.resolve(__dirname, 'src'), }, }, plugins: [react()],...
1
JorgeLNJunior/conversor-de-moedas
23b7f49
vite.config.ts
TypeScript
www.github.com/JorgeLNJunior/conversor-de-moedas/tree/main/vite.config.ts
https://raw.githubusercontent.com/JorgeLNJunior/conversor-de-moedas/23b7f49/vite.config.ts
JorgeLNJunior/conversor-de-moedas 23b7f49 vite.config.ts
true
200
382
/// <reference types="vitest" /> import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import eslintPlugin from 'vite-plugin-eslint' import { resolve } from 'node:path' export default defineConfig({ plugins: [vue(), eslintPlugin()], resolve: { alias: { '@components': resolve('src', 'c...
5
jefersonpa/pedidos
a7c4e5a
src/app/orders/orders-routing.module.ts
TypeScript
www.github.com/jefersonpa/pedidos/tree/main/src/app/orders/orders-routing.module.ts
https://raw.githubusercontent.com/jefersonpa/pedidos/a7c4e5a/src/app/orders/orders-routing.module.ts
jefersonpa/pedidos a7c4e5a src/app/orders/orders-routing.module.ts
true
200
499
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { OrdersComponent } from './containers/orders/orders.component'; import { OrderFormComponent } from './containers/order-form/order-form.component'; const routes: Routes = [ { path: '', component: OrdersComponent ...
6
DhanasekaranTech/libraryManagement
f954a22
src/controllers/userController.ts
TypeScript
www.github.com/DhanasekaranTech/libraryManagement/tree/main/src/controllers/userController.ts
https://raw.githubusercontent.com/DhanasekaranTech/libraryManagement/f954a22/src/controllers/userController.ts
DhanasekaranTech/libraryManagement f954a22 src/controllers/userController.ts
true
200
2,529
import { Request, Response } from 'express'; import bcrypt from 'bcrypt'; import jwt from 'jsonwebtoken'; import { AppDataSource } from '../dbConfig'; import { User } from '../models/User'; import {config} from 'dotenv'; config(); const userRepository = AppDataSource.getRepository(User); //SIGNUP NEW USER export as...
4
robmazan/epam-openfin-demo
92b4e82
packages/workspace-starter/src/dock.ts
TypeScript
www.github.com/robmazan/epam-openfin-demo/tree/main/packages/workspace-starter/src/dock.ts
https://raw.githubusercontent.com/robmazan/epam-openfin-demo/92b4e82/packages/workspace-starter/src/dock.ts
robmazan/epam-openfin-demo 92b4e82 packages/workspace-starter/src/dock.ts
true
200
1,313
import { Dock, type App, type RegistrationMetaInfo, DockButtonNames } from "@openfin/workspace"; import type { PlatformSettings } from "./shapes"; /** * Register the dock provider. * @param platformSettings The platform settings from the manifest. * @param apps The list of apps from the manifest. * @returns The re...
1
ionicprotocol/monorepo
a68d6ca
packages/chains/src/superseed/assets.ts
TypeScript
www.github.com/ionicprotocol/monorepo/tree/main/packages/chains/src/superseed/assets.ts
https://raw.githubusercontent.com/ionicprotocol/monorepo/a68d6ca/packages/chains/src/superseed/assets.ts
ionicprotocol/monorepo a68d6ca packages/chains/src/superseed/assets.ts
true
200
657
import { assetSymbols, OracleTypes, SupportedAsset, SupportedChains } from "@ionicprotocol/types"; import { parseEther } from "viem"; import { wrappedAssetDocs } from "../common"; export const WETH = "0x4200000000000000000000000000000000000006"; export const assets: SupportedAsset[] = [ { symbol: assetSymbols....
2
juliyalip/articles
0edb5d6
src/service-api/articles-api.ts
TypeScript
www.github.com/juliyalip/articles/tree/main/src/service-api/articles-api.ts
https://raw.githubusercontent.com/juliyalip/articles/0edb5d6/src/service-api/articles-api.ts
juliyalip/articles 0edb5d6 src/service-api/articles-api.ts
true
200
594
import api from './interceptors' import { IArticle } from '../interfaces/articles' type CreateArticle = Omit<IArticle, "_id" | "author" | "published">; export async function getAllArticles(currentPage: number) { try { const res = await api.get(`/articles?page=${currentPage}&limit=4`); return res.d...
3
3vilbird/ivipni
bb044f8
src/providers/network-service/network-service.ts
TypeScript
www.github.com/3vilbird/ivipni/tree/main/src/providers/network-service/network-service.ts
https://raw.githubusercontent.com/3vilbird/ivipni/bb044f8/src/providers/network-service/network-service.ts
3vilbird/ivipni bb044f8 src/providers/network-service/network-service.ts
true
200
2,121
// error line no 17 import { Injectable } from "@angular/core"; import { AlertController } from "@ionic/angular"; import { Network } from "@ionic-native/network/ngx"; import { Logger } from "../logger/logger"; /* Generated class for the NetworkService provider. See https://angular.io/docs/ts/latest/guide/dependen...
0
viveksingh03/HackerNewsFeed
0f90d2c
src/app/services/newsfeed.service.spec.ts
TypeScript
www.github.com/viveksingh03/HackerNewsFeed/tree/main/src/app/services/newsfeed.service.spec.ts
https://raw.githubusercontent.com/viveksingh03/HackerNewsFeed/0f90d2c/src/app/services/newsfeed.service.spec.ts
viveksingh03/HackerNewsFeed 0f90d2c src/app/services/newsfeed.service.spec.ts
true
200
479
import { TestBed } from '@angular/core/testing'; import { NewsfeedService } from './newsfeed.service'; import { HttpClientModule } from '@angular/common/http'; describe('NewsfeedService', () => { let service: NewsfeedService; beforeEach(() => { TestBed.configureTestingModule({ imports: [ HttpCl...
7
aldomozhirov/budget-buddy-bot
9693e82
src/spreadsheets/auth.ts
TypeScript
www.github.com/aldomozhirov/budget-buddy-bot/tree/main/src/spreadsheets/auth.ts
https://raw.githubusercontent.com/aldomozhirov/budget-buddy-bot/9693e82/src/spreadsheets/auth.ts
aldomozhirov/budget-buddy-bot 9693e82 src/spreadsheets/auth.ts
true
200
2,365
import { google } from 'googleapis'; import { OAuth2Client } from 'google-auth-library'; // If modifying these scopes, delete token.json. const SCOPES = [ 'https://www.googleapis.com/auth/drive', 'https://www.googleapis.com/auth/drive.file', 'https://www.googleapis.com/auth/spreadsheets', ]; let currentTo...
5
NAP-BN-Test/ANGULAR-WEB-CRM
dd8aeed
src/app/components/create-email/create-email.component.ts
TypeScript
www.github.com/NAP-BN-Test/ANGULAR-WEB-CRM/tree/main/src/app/components/create-email/create-email.component.ts
https://raw.githubusercontent.com/NAP-BN-Test/ANGULAR-WEB-CRM/dd8aeed/src/app/components/create-email/create-email.component.ts
NAP-BN-Test/ANGULAR-WEB-CRM dd8aeed src/app/components/create-email/create-email.component.ts
true
200
2,740
import { Component, OnInit, Output, EventEmitter, Input } from '@angular/core'; import { AppModuleService } from 'src/app/services/app-module.service'; import * as moment from 'moment'; import { CookieService } from 'ngx-cookie-service'; import { LIST_SELECT, STATUS } from 'src/app/services/constant/app-constant'; @C...
6
WildCodeSchool-CDA-FT-2024-09/Bac-A-Sable-Julien
e694d04
server/api/src/data-source.ts
TypeScript
www.github.com/WildCodeSchool-CDA-FT-2024-09/Bac-A-Sable-Julien/tree/main/server/api/src/data-source.ts
https://raw.githubusercontent.com/WildCodeSchool-CDA-FT-2024-09/Bac-A-Sable-Julien/e694d04/server/api/src/data-source.ts
WildCodeSchool-CDA-FT-2024-09/Bac-A-Sable-Julien e694d04 server/api/src/data-source.ts
true
200
424
import { DataSource } from "typeorm"; import { Status } from "./entities/status"; import { Language } from "../src/entities/language"; import { Repo } from "../src/entities/repo"; export const dataSource = new DataSource({ type: "postgres", host: "db", port: 5432, username: "postgres", password: "password", ...
4
MasterJOI/advanced-angular-forms-main
821e084
projects/forms-playground/src/app/playgrounds/template-forms/template-forms-page/template-forms-page.component.ts
TypeScript
www.github.com/MasterJOI/advanced-angular-forms-main/tree/main/projects/forms-playground/src/app/playgrounds/template-forms/template-forms-page/template-forms-page.component.ts
https://raw.githubusercontent.com/MasterJOI/advanced-angular-forms-main/821e084/projects/forms-playground/src/app/playgrounds/template-forms/template-forms-page/template-forms-page.component.ts
MasterJOI/advanced-angular-forms-main 821e084 projects/forms-playground/src/app/playgrounds/template-forms/template-forms-page/template-forms-page.component.ts
true
200
2,547
import {AfterViewInit, ChangeDetectionStrategy, Component, OnInit, ViewChild} from '@angular/core'; import {CommonModule} from '@angular/common'; import {FormsModule, NgForm} from '@angular/forms'; import {UserInfo} from '../../../core/user-info'; import {BanWordsDirective} from '../validators/ban-words.directive'; imp...
1
mandala-code/cloud-core
9f2f51f
src/services/storage/storage.service.ts
TypeScript
www.github.com/mandala-code/cloud-core/tree/main/src/services/storage/storage.service.ts
https://raw.githubusercontent.com/mandala-code/cloud-core/9f2f51f/src/services/storage/storage.service.ts
mandala-code/cloud-core 9f2f51f src/services/storage/storage.service.ts
true
200
1,985
import { Inject, Injectable, OnModuleInit } from '@nestjs/common'; import { ClientGrpc } from '@nestjs/microservices'; import { DeleteRequest, MergeRequest, STORAGE_MANAGE_SERVICE_NAME, StorageManageClient, StorageManageReply, } from '../../proto/storage_manager'; import { lastValueFrom } from 'rxjs'; /** *...
2
yusril-adr/notes-app-nest
3d54f8b
src/modules/notes/types/notes.service.ts
TypeScript
www.github.com/yusril-adr/notes-app-nest/tree/main/src/modules/notes/types/notes.service.ts
https://raw.githubusercontent.com/yusril-adr/notes-app-nest/3d54f8b/src/modules/notes/types/notes.service.ts
yusril-adr/notes-app-nest 3d54f8b src/modules/notes/types/notes.service.ts
true
200
639
import { FilterQueryType } from '@global/types/filter-type'; import { Note } from '../entities/note.entity'; export type CreateParams = { short_id: string; header: string; body: string; user_id: string; }; export type FindOneParams = Record<string, any>; export type FindAllParams = { row: number | 10; pa...
0
waustin37/enterprise-composer-app
b2bb4ea
src/app/composer.service.ts
TypeScript
www.github.com/waustin37/enterprise-composer-app/tree/main/src/app/composer.service.ts
https://raw.githubusercontent.com/waustin37/enterprise-composer-app/b2bb4ea/src/app/composer.service.ts
waustin37/enterprise-composer-app b2bb4ea src/app/composer.service.ts
true
200
1,414
/** * Title: composer.service.ts * Author: William Austin * Date: 30 August 2023 * Description: Service for Injectable Composer Class */ import { Injectable } from '@angular/core'; import { IComposer } from './composer.interface'; import { Observable } from 'rxjs'; import { of } from 'rxjs'; import { map } from '...
7
pmusole2/locations
ad999d2
src/locations/services/district.ts
TypeScript
www.github.com/pmusole2/locations/tree/main/src/locations/services/district.ts
https://raw.githubusercontent.com/pmusole2/locations/ad999d2/src/locations/services/district.ts
pmusole2/locations ad999d2 src/locations/services/district.ts
true
200
5,714
import { BadRequestException, Injectable, Logger, NotFoundException, } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { Repository } from 'typeorm'; import { DistrictDto, DistrictObj } from '../interfaces/district'; import { District } from '../models/District.entity'; @Injec...
3
simon-debruijn/gallery
6646616
src/app/domain/albums/albums.service.ts
TypeScript
www.github.com/simon-debruijn/gallery/tree/main/src/app/domain/albums/albums.service.ts
https://raw.githubusercontent.com/simon-debruijn/gallery/6646616/src/app/domain/albums/albums.service.ts
simon-debruijn/gallery 6646616 src/app/domain/albums/albums.service.ts
true
200
656
import * as repo from "../../../infra/persistence/repositories/albums.repo.js"; import { createAlbumEvent, AlbumEvent, } from "../../../infra/eventing/albums.js"; import { publishEvent } from "../../../infra/eventing/queueEvent.js"; import type { DB } from "../../../infra/persistence/db/index.js"; import { generate...
5
mnieber/moonleap
6d6f48d
titan/react_pkg/templates/src/[service]/src/frames/components/DialogButton/trim.ts
TypeScript
www.github.com/mnieber/moonleap/tree/main/titan/react_pkg/templates/src/[service]/src/frames/components/DialogButton/trim.ts
https://raw.githubusercontent.com/mnieber/moonleap/6d6f48d/titan/react_pkg/templates/src/%5Bservice%5D/src/frames/components/DialogButton/trim.ts
mnieber/moonleap 6d6f48d titan/react_pkg/templates/src/[service]/src/frames/components/DialogButton/trim.ts
true
200
2,011
import { IconS } from '/src/frames/components/Icon'; import { ModeOverlayT } from '/src/utils/trim'; export type DialogButtonTrimT = { base: { componentName: string; root: { border: any; color: any; fontSize: any; padding: any; }; Icon: { margin: any; size: any; ...
6
witoldolszyk/ip-location-app
8c7922f
src/app/services/geolocation.service.ts
TypeScript
www.github.com/witoldolszyk/ip-location-app/tree/main/src/app/services/geolocation.service.ts
https://raw.githubusercontent.com/witoldolszyk/ip-location-app/8c7922f/src/app/services/geolocation.service.ts
witoldolszyk/ip-location-app 8c7922f src/app/services/geolocation.service.ts
true
200
2,021
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable, of } from 'rxjs'; import { catchError, map } from 'rxjs/operators'; import { GeoLocation } from '../models/geo-location.model'; @Injectable({ providedIn: 'root' }) export class GeolocationService { p...
4
yusufensarcebeci/space-game-core
653379a
SpaceGame3D/SpaceGame3D/assets/scripts/Camera.ts
TypeScript
www.github.com/yusufensarcebeci/space-game-core/tree/main/SpaceGame3D/SpaceGame3D/assets/scripts/Camera.ts
https://raw.githubusercontent.com/yusufensarcebeci/space-game-core/653379a/SpaceGame3D/SpaceGame3D/assets/scripts/Camera.ts
yusufensarcebeci/space-game-core 653379a SpaceGame3D/SpaceGame3D/assets/scripts/Camera.ts
true
200
540
import { _decorator, Component, Node, Vec3 } from "cc"; const { ccclass, property } = _decorator; @ccclass("Camera") export class Camera extends Component { posOffset: Vec3 = new Vec3(0, 1.5, 4); rotOffset: Vec3 = new Vec3(-10, 0, 0); private tempVec3: Vec3 = new Vec3(); protected start(): void { this....
2
chinpratya/next14
2ea1e3b
src/testing/mocks/handlers/data-mapping/activity/collect/index.ts
TypeScript
www.github.com/chinpratya/next14/tree/main/src/testing/mocks/handlers/data-mapping/activity/collect/index.ts
https://raw.githubusercontent.com/chinpratya/next14/2ea1e3b/src/testing/mocks/handlers/data-mapping/activity/collect/index.ts
chinpratya/next14 2ea1e3b src/testing/mocks/handlers/data-mapping/activity/collect/index.ts
true
200
1,786
import { rest } from 'msw'; import { API_ENDPOINT_DATA_MAPPING_BASE_URL } from '@/config/endpoint'; import { db } from '../../../../db'; import { channelHandlers } from './channel'; import { dataRetentionHandlers } from './data-retention'; import { purposeHandlers } from './purpose'; const getDataMappingActivityCol...
0
mgrandrath/rezept-db
522ec6e
client/src/spec_helper/fixtures.ts
TypeScript
www.github.com/mgrandrath/rezept-db/tree/main/client/src/spec_helper/fixtures.ts
https://raw.githubusercontent.com/mgrandrath/rezept-db/522ec6e/client/src/spec_helper/fixtures.ts
mgrandrath/rezept-db 522ec6e client/src/spec_helper/fixtures.ts
true
200
1,317
import { diets, prepTimes, sourceTypes } from "../constants"; import { type OfflineSource, type Recipe, type RecipeInput, type OnlineSource, type RecipeId, } from "../types"; import { deepmerge } from "../util/object"; const factory = <T extends object>(defaults: (overrides?: Partial<T>) => T) => (overri...
3
lirx-js/core
d4a5259
src/signals/computed/computed.test.ts
TypeScript
www.github.com/lirx-js/core/tree/main/src/signals/computed/computed.test.ts
https://raw.githubusercontent.com/lirx-js/core/d4a5259/src/signals/computed/computed.test.ts
lirx-js/core d4a5259 src/signals/computed/computed.test.ts
true
200
3,353
import { effect } from '../effect/effect'; import { signal } from '../signal/signal'; import { IReadonlySignal } from '../signal/types/readonly-signal.type'; import { computed } from './computed'; describe('computed', () => { it('should return correct updated value', () => { const a = signal(1); expect(a())....
7
bestWangc/can_you_eat_me_game
c51ccac
backend/src/routes/fightRouter.ts
TypeScript
www.github.com/bestWangc/can_you_eat_me_game/tree/main/backend/src/routes/fightRouter.ts
https://raw.githubusercontent.com/bestWangc/can_you_eat_me_game/c51ccac/backend/src/routes/fightRouter.ts
bestWangc/can_you_eat_me_game c51ccac backend/src/routes/fightRouter.ts
true
200
924
import express from "express"; import { dailySignIn, winLevelReward, getUserFightObtainBox, openLevelRewardBox, recordFightLog, refreshTalent, startGame, costToken, } from "../controllers/fightController"; import { authenticate, authenticateNotNecessary, } from "../middlewares/authenticate"; const ...
5
GhoulRe/Angular-practice
1cec207
src/app/modalmodule/modalmodule.module.ts
TypeScript
www.github.com/GhoulRe/Angular-practice/tree/main/src/app/modalmodule/modalmodule.module.ts
https://raw.githubusercontent.com/GhoulRe/Angular-practice/1cec207/src/app/modalmodule/modalmodule.module.ts
GhoulRe/Angular-practice 1cec207 src/app/modalmodule/modalmodule.module.ts
true
200
385
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { ModalComponent } from './modal/modal.component'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; @NgModule({ declarations: [ ModalComponent ], imports: [ CommonModule, NgbModule ], entryCo...
1
AJniu/drill-v3-ts
bfb9ca5
vs-ts-xiaoman/src/utils/event-bus.ts
TypeScript
www.github.com/AJniu/drill-v3-ts/tree/main/vs-ts-xiaoman/src/utils/event-bus.ts
https://raw.githubusercontent.com/AJniu/drill-v3-ts/bfb9ca5/vs-ts-xiaoman/src/utils/event-bus.ts
AJniu/drill-v3-ts bfb9ca5 vs-ts-xiaoman/src/utils/event-bus.ts
true
200
1,354
// 定义Bus类的类型约束,BusType type BusType = { emit: (eventName: string) => void on: (eventName: string, callback: Function) => void } // 定义事件列表类型 type EventListType = { [key: string | number | symbol]: Array<Function> } // 约束类Bus必须有emit方法与on方法 class Bus implements BusType { // 定义事件列表 eventList: EventLis...
6
wrporter/up
27cf7a3
packages/logger/src/lib/Logger.ts
TypeScript
www.github.com/wrporter/up/tree/main/packages/logger/src/lib/Logger.ts
https://raw.githubusercontent.com/wrporter/up/27cf7a3/packages/logger/src/lib/Logger.ts
wrporter/up 27cf7a3 packages/logger/src/lib/Logger.ts
true
200
2,901
import type { Level } from './Level.js'; import { toSeverity } from './Level.js'; /** * Options for the base Logger. */ export interface Options { /** * Level to respect in the logger. Messages of a lower level will not be * logged. * @default "info" */ level?: Level; } /** * Log entry. Can be a st...
4
jiawei397/deno-nest
4d378a8
example/dev/src/interceptor/errors.interceptor.ts
TypeScript
www.github.com/jiawei397/deno-nest/tree/main/example/dev/src/interceptor/errors.interceptor.ts
https://raw.githubusercontent.com/jiawei397/deno-nest/4d378a8/example/dev/src/interceptor/errors.interceptor.ts
jiawei397/deno-nest 4d378a8 example/dev/src/interceptor/errors.interceptor.ts
true
200
824
import { BadGatewayException, type Context, Injectable, type NestInterceptor, Next, } from "@nest/core"; import { RoleService } from "../user/services/role.service.ts"; @Injectable() export class ErrorsInterceptor implements NestInterceptor { constructor( private readonly roleService: RoleService, ) ...
0
feitosadavi/captaacao-api
8df2332
tests/presentation/usecases/middlewares/multipart-parser.spec.ts
TypeScript
www.github.com/feitosadavi/captaacao-api/tree/main/tests/presentation/usecases/middlewares/multipart-parser.spec.ts
https://raw.githubusercontent.com/feitosadavi/captaacao-api/8df2332/tests/presentation/usecases/middlewares/multipart-parser.spec.ts
feitosadavi/captaacao-api 8df2332 tests/presentation/usecases/middlewares/multipart-parser.spec.ts
true
200
1,169
import request from 'supertest' import { Express } from 'express' import { MultipartParser } from '@/presentation/middlewares' import { setupApp } from '@/main/config/app' import { adaptMiddleware } from '@/main/adapters' describe('MultipartParser Middleware', () => { let app: Express beforeAll(async () => { ...
2
CodeSperk/health-care
8d17e31
src/helpers/axios/axiosInstance.ts
TypeScript
www.github.com/CodeSperk/health-care/tree/main/src/helpers/axios/axiosInstance.ts
https://raw.githubusercontent.com/CodeSperk/health-care/8d17e31/src/helpers/axios/axiosInstance.ts
CodeSperk/health-care 8d17e31 src/helpers/axios/axiosInstance.ts
true
200
1,264
import { ResponseErrorType, ResponseSuccessType } from "@/types"; import axios from "axios"; const instance = axios.create(); instance.defaults.headers.post["Content-Type"] = "application/json"; instance.defaults.headers["Accept"] = "application/json"; instance.defaults.timeout = 60000; instance.interceptors.request....
3
FrankGenGo/atprotocol
4ab7075
packages/sync/src/util.ts
TypeScript
www.github.com/FrankGenGo/atprotocol/tree/main/packages/sync/src/util.ts
https://raw.githubusercontent.com/FrankGenGo/atprotocol/4ab7075/packages/sync/src/util.ts
FrankGenGo/atprotocol 4ab7075 packages/sync/src/util.ts
true
200
351
import { isAccount, isCommit, isIdentity, RepoEvent } from './firehose/lexicons' export const didAndSeqForEvt = ( evt: RepoEvent, ): { did: string; seq: number } | undefined => { if (isCommit(evt)) return { seq: evt.seq, did: evt.repo } else if (isAccount(evt) || isIdentity(evt)) return { seq: evt.seq, did: ...
7
kalomcode/todo-redux-app
2325efe
src/app/todos/todo-page/todo-page.component.ts
TypeScript
www.github.com/kalomcode/todo-redux-app/tree/main/src/app/todos/todo-page/todo-page.component.ts
https://raw.githubusercontent.com/kalomcode/todo-redux-app/2325efe/src/app/todos/todo-page/todo-page.component.ts
kalomcode/todo-redux-app 2325efe src/app/todos/todo-page/todo-page.component.ts
true
200
564
import { Component } from '@angular/core'; import { State, Store } from '@ngrx/store'; import { AppState } from '../../app.reducer'; import * as actions from '../todo.actions'; @Component({ selector: 'app-todo-page', templateUrl: './todo-page.component.html', styleUrls: ['./todo-page.component.css'] }) export cl...
5
pneumaea/BazaarBot
f8700b8
src/modals/card_50_pick.ts
TypeScript
www.github.com/pneumaea/BazaarBot/tree/main/src/modals/card_50_pick.ts
https://raw.githubusercontent.com/pneumaea/BazaarBot/f8700b8/src/modals/card_50_pick.ts
pneumaea/BazaarBot f8700b8 src/modals/card_50_pick.ts
true
200
3,021
import { Client, EmbedBuilder, ModalSubmitInteraction } from "discord.js"; import * as helper from "../ext/Helper"; import { ModalInteraction } from "./IModalInteraction"; import Item from "../Classes/Item"; import Cooldown from "../types/Cooldown"; export const card_50_pick: ModalInteraction = { modalId: "card_50_p...
6
AmirHassanFouad/Offers
dafdde7
src/state/modules/offers/slice.ts
TypeScript
www.github.com/AmirHassanFouad/Offers/tree/main/src/state/modules/offers/slice.ts
https://raw.githubusercontent.com/AmirHassanFouad/Offers/dafdde7/src/state/modules/offers/slice.ts
AmirHassanFouad/Offers dafdde7 src/state/modules/offers/slice.ts
true
200
1,190
import { createSlice, PayloadAction } from "@reduxjs/toolkit"; import { OfferDetails } from "../../../types/offers"; import { requestsReducer } from "./requests"; type Status = "loading" | "idle" | "failed"; export interface State { offers: OfferDetails[]; filteredOffers: OfferDetails[]; status: Status; isLoadin...
4
bmd-studio/packet-run
ffa82f3
server/packages/backend/src/entities/address/resolver.ts
TypeScript
www.github.com/bmd-studio/packet-run/tree/main/server/packages/backend/src/entities/address/resolver.ts
https://raw.githubusercontent.com/bmd-studio/packet-run/ffa82f3/server/packages/backend/src/entities/address/resolver.ts
bmd-studio/packet-run ffa82f3 server/packages/backend/src/entities/address/resolver.ts
true
200
1,256
import { InjectRepository } from '@mikro-orm/nestjs'; import { Resolver } from '@nestjs/graphql'; import AddressModel from './model'; import Address from './index.entity'; import { EntityRepository } from '@mikro-orm/better-sqlite'; import PubSubManager from '../../providers/PubSubManager'; @Resolver(() => AddressMode...
2
azica/e-commerce
b310686
src/components/SearchBlock/styles.ts
TypeScript
www.github.com/azica/e-commerce/tree/main/src/components/SearchBlock/styles.ts
https://raw.githubusercontent.com/azica/e-commerce/b310686/src/components/SearchBlock/styles.ts
azica/e-commerce b310686 src/components/SearchBlock/styles.ts
true
200
1,252
import { Box, IconButton } from "@mui/material"; import { Link } from "react-router-dom"; import styled from "styled-components"; import { neutral04, neutral07 } from "styles/colors"; export const Wrapper = styled(Box)` width: 45px; display: flex; top: 0; right: 90px; left: 0; max-width: calc(100% - 120px...
0
RD-MISHRA/myFitness
a73b4e8
src/app/display-chart/display-chart.component.spec.ts
TypeScript
www.github.com/RD-MISHRA/myFitness/tree/main/src/app/display-chart/display-chart.component.spec.ts
https://raw.githubusercontent.com/RD-MISHRA/myFitness/a73b4e8/src/app/display-chart/display-chart.component.spec.ts
RD-MISHRA/myFitness a73b4e8 src/app/display-chart/display-chart.component.spec.ts
true
200
2,016
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { DisplayChartComponent } from './display-chart.component'; import { ChartModule } from 'primeng/chart'; import { CommonModule } from '@angular/common'; import { RouterTestingModule } from '@angular/router/testing'; import { ChangeDetect...
3
Hush-Yael/Registro-Comunal
efa7074
src/hooks/useLocalStorage.ts
TypeScript
www.github.com/Hush-Yael/Registro-Comunal/tree/main/src/hooks/useLocalStorage.ts
https://raw.githubusercontent.com/Hush-Yael/Registro-Comunal/efa7074/src/hooks/useLocalStorage.ts
Hush-Yael/Registro-Comunal efa7074 src/hooks/useLocalStorage.ts
true
200
539
import { Accessor, createEffect, createSignal, Setter } from "solid-js"; export const useLocalStorage = <T>( key: string, defaultV?: T ): [Accessor<T>, Setter<T>] => { const v = JSON.parse(localStorage.getItem(key)!); if (!v && defaultV) localStorage.setItem(key, JSON.stringify(defaultV)); const [value, setV...
7
houssem-eddinjallouli/angular-spring-app
672a274
angular/src/app/backoffice/usertestback/test/testdetails/testdetails.component.ts
TypeScript
www.github.com/houssem-eddinjallouli/angular-spring-app/tree/main/angular/src/app/backoffice/usertestback/test/testdetails/testdetails.component.ts
https://raw.githubusercontent.com/houssem-eddinjallouli/angular-spring-app/672a274/angular/src/app/backoffice/usertestback/test/testdetails/testdetails.component.ts
houssem-eddinjallouli/angular-spring-app 672a274 angular/src/app/backoffice/usertestback/test/testdetails/testdetails.component.ts
true
200
3,680
import { HttpErrorResponse } from '@angular/common/http'; import { Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; import { ActivatedRoute } from '@angular/router'; import { Question } from 'src/app/models/question'; import { QuestionOption } from 'src/app/models/quest...
5
avdhesh75WT/75way_avdhesh_ABVGIET
fafc4fd
server/src/index.ts
TypeScript
www.github.com/avdhesh75WT/75way_avdhesh_ABVGIET/tree/main/server/src/index.ts
https://raw.githubusercontent.com/avdhesh75WT/75way_avdhesh_ABVGIET/fafc4fd/server/src/index.ts
avdhesh75WT/75way_avdhesh_ABVGIET fafc4fd server/src/index.ts
true
200
904
import express, { Express } from "express"; import bodyParser from "body-parser"; import cors from "cors"; import "dotenv/config"; import connectToDatabase from "./database"; import taskRoutes from "./routes/task"; import authRoutes from "./routes/auth"; import { cronJob } from "./services/cron"; import { Job } from "n...
1
shoqqan/decentrathon-frontend
6fd227e
src/shared/services/jobs/api.ts
TypeScript
www.github.com/shoqqan/decentrathon-frontend/tree/main/src/shared/services/jobs/api.ts
https://raw.githubusercontent.com/shoqqan/decentrathon-frontend/6fd227e/src/shared/services/jobs/api.ts
shoqqan/decentrathon-frontend 6fd227e src/shared/services/jobs/api.ts
true
200
456
/* eslint-disable class-methods-use-this */ import { baseApi } from '../base' import type { TJobDto, TJobListDto, TJobListResponse } from './types' import type { TJob } from '@/shared/types' export class JobsApi { async create(args: TJobDto): Promise<TJob> { return baseApi.post('/jobs', args) } async getList(arg...
6
Overmatch-of-The-Mediterranean/Leetcode
2c6946a
动态规划/416. 分割等和子集.ts
TypeScript
www.github.com/Overmatch-of-The-Mediterranean/Leetcode/tree/main/动态规划/416. 分割等和子集.ts
https://raw.githubusercontent.com/Overmatch-of-The-Mediterranean/Leetcode/2c6946a/%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92/416.%20%E5%88%86%E5%89%B2%E7%AD%89%E5%92%8C%E5%AD%90%E9%9B%86.ts
Overmatch-of-The-Mediterranean/Leetcode 2c6946a 动态规划/416. 分割等和子集.ts
true
200
522
function canPartition(nums: number[]): boolean { // dp[i][j],表示前i个数是否能组成j // dp[i][j] = dp[i-1][j] | dp[i-1][j-nums[i]],不选第i个数和选第i个数 // 将二维dp优化成一维dp[j], let sum = 0 for(const x of nums) sum += x if(sum % 2) return false const dp = Array(sum).fill(0) dp[0] = 1 sum = 0 for(const ...
4
keeprok/turnbin_self
d2b40ac
src/features/realtime/components/trading-table/data.ts
TypeScript
www.github.com/keeprok/turnbin_self/tree/main/src/features/realtime/components/trading-table/data.ts
https://raw.githubusercontent.com/keeprok/turnbin_self/d2b40ac/src/features/realtime/components/trading-table/data.ts
keeprok/turnbin_self d2b40ac src/features/realtime/components/trading-table/data.ts
true
200
1,352
export function getData() { return [ { id: "id_1", plantName: "서울 태양광 발전소", volume: 50500, bidVolume: 25000, bidNumbers: 95, matchingButton: { active: true }, }, { id: "id_2", plantName: "인천 풍력 발전기", volume: 60800, bidVolume: 28000, bidNumbers: 110, matchingButton: { active: f...
0
Thaibaogoanh/do_an_full_clothes
a9976ae
back-end/src/modules/product/variant/dto/create-variant.dto.ts
TypeScript
www.github.com/Thaibaogoanh/do_an_full_clothes/tree/main/back-end/src/modules/product/variant/dto/create-variant.dto.ts
https://raw.githubusercontent.com/Thaibaogoanh/do_an_full_clothes/a9976ae/back-end/src/modules/product/variant/dto/create-variant.dto.ts
Thaibaogoanh/do_an_full_clothes a9976ae back-end/src/modules/product/variant/dto/create-variant.dto.ts
true
200
911
import { ArrayNotEmpty, IsArray, IsNotEmpty, IsNumber, IsOptional, IsString, IsUUID } from 'class-validator'; export class CreateVariantDto { @IsString() @IsNotEmpty() name: string; @IsNotEmpty() @IsString() sku: string; @IsNotEmpty() @IsString() barcode: string; @IsNotEmpty() @IsNumber() pr...
2
shaladin/client_los_dsf
6efd23e
src/app/shared/model/request-insurance-data-obj.model.ts
TypeScript
www.github.com/shaladin/client_los_dsf/tree/main/src/app/shared/model/request-insurance-data-obj.model.ts
https://raw.githubusercontent.com/shaladin/client_los_dsf/6efd23e/src/app/shared/model/request-insurance-data-obj.model.ts
shaladin/client_los_dsf 6efd23e src/app/shared/model/request-insurance-data-obj.model.ts
true
200
569
import { AppInsMainCvgObj } from "./app-ins-main-cvg-obj.model"; import { AppInsObjObj } from "./app-ins-obj-obj.model"; import { AppInsuranceObj } from "./app-insurance-obj.model"; export class RequestInsuranceDataObj { AppInsuranceObj: AppInsuranceObj; AppInsObjObj: AppInsObjObj; AppInsMainCvgObjs: Array...
7
amitsafi45/A-Twitter-clone
4b5431b
src/posts/posts.controller.ts
TypeScript
www.github.com/amitsafi45/A-Twitter-clone/tree/main/src/posts/posts.controller.ts
https://raw.githubusercontent.com/amitsafi45/A-Twitter-clone/4b5431b/src/posts/posts.controller.ts
amitsafi45/A-Twitter-clone 4b5431b src/posts/posts.controller.ts
true
200
1,048
import { Controller, Delete, Get, Param, Post, Put } from '@nestjs/common'; import {ApiTags} from '@nestjs/swagger' @ApiTags('posts') @Controller('api/posts') export class PostsController { //Get all post @Get() async gets():Promise<string>{ return 'Get all post' } //Get details of a po...
3
IIC3585-2023/svelte-grupo-01
9703e9a
src/lib/storeUtils.ts
TypeScript
www.github.com/IIC3585-2023/svelte-grupo-01/tree/main/src/lib/storeUtils.ts
https://raw.githubusercontent.com/IIC3585-2023/svelte-grupo-01/9703e9a/src/lib/storeUtils.ts
IIC3585-2023/svelte-grupo-01 9703e9a src/lib/storeUtils.ts
true
200
499
import type { Subscriber } from 'svelte/store'; export function subscriberHandler<T>(getState: () => T) { const subscribers: Subscriber<T>[] = []; function notifySubscribers() { const state = getState(); for (const subscriber of subscribers) subscriber(state); } function subscribe(subscriber: Subscriber<T>) ...
5
pradeep-ikonicit/scrap-master
fc8eb53
src/app/shared/components/header/header.component.ts
TypeScript
www.github.com/pradeep-ikonicit/scrap-master/tree/main/src/app/shared/components/header/header.component.ts
https://raw.githubusercontent.com/pradeep-ikonicit/scrap-master/fc8eb53/src/app/shared/components/header/header.component.ts
pradeep-ikonicit/scrap-master fc8eb53 src/app/shared/components/header/header.component.ts
true
200
490
import { DOCUMENT } from '@angular/common'; import { Component, Inject, OnInit } from '@angular/core'; @Component({ selector: 'app-header', templateUrl: './header.component.html', styleUrls: ['./header.component.css'] }) export class HeaderComponent implements OnInit { constructor(@Inject(DOCUMENT) priv...
1
smitpatel21/youtube-like-app
5e5a2c6
src/utils/ApiError.ts
TypeScript
www.github.com/smitpatel21/youtube-like-app/tree/main/src/utils/ApiError.ts
https://raw.githubusercontent.com/smitpatel21/youtube-like-app/5e5a2c6/src/utils/ApiError.ts
smitpatel21/youtube-like-app 5e5a2c6 src/utils/ApiError.ts
true
200
483
class ApiError extends Error { public statusCode: number; public success: boolean; public errors: string[]; constructor(statusCode: number, message = "", stack = "", errors:string[] = []) { super(message); this.message = message; this.statusCode = statusCode; this.success = false; this.erro...
4
GerardoRodrigues/jornada-milhas
c6deb29
src/app/busca/services/form-busca.service.ts
TypeScript
www.github.com/GerardoRodrigues/jornada-milhas/tree/main/src/app/busca/services/form-busca.service.ts
https://raw.githubusercontent.com/GerardoRodrigues/jornada-milhas/c6deb29/src/app/busca/services/form-busca.service.ts
GerardoRodrigues/jornada-milhas c6deb29 src/app/busca/services/form-busca.service.ts
true
200
4,293
import { inject, Injectable } from '@angular/core'; import { FormControl, FormGroup, Validators } from '@angular/forms'; import { ModalComponent } from '../../shared/modal/modal.component'; import { MatDialog } from '@angular/material/dialog'; import { MatChipSelectionChange } from '@angular/material/chips'; import { D...
6
uaman89/dashboard
c6d9760
src/app/pages/auth/auth-page.module.ts
TypeScript
www.github.com/uaman89/dashboard/tree/main/src/app/pages/auth/auth-page.module.ts
https://raw.githubusercontent.com/uaman89/dashboard/c6d9760/src/app/pages/auth/auth-page.module.ts
uaman89/dashboard c6d9760 src/app/pages/auth/auth-page.module.ts
true
200
349
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { AuthModule } from '../../features/auth/auth.module'; import { AuthPageComponent } from './auth-page.component'; @NgModule({ declarations: [ AuthPageComponent], imports: [ CommonModule, AuthModule ] }) exp...
0
velomapa/mbtiles
269a405
scripts/zanocuj-w-lesie/generateMbtiles.ts
TypeScript
www.github.com/velomapa/mbtiles/tree/main/scripts/zanocuj-w-lesie/generateMbtiles.ts
https://raw.githubusercontent.com/velomapa/mbtiles/269a405/scripts/zanocuj-w-lesie/generateMbtiles.ts
velomapa/mbtiles 269a405 scripts/zanocuj-w-lesie/generateMbtiles.ts
true
200
395
import { spawn } from 'child_process' const args = [ '-o', 'data-mbtiles/zanocuj-w-lesie.mbtiles', 'data-geojson/zanocuj-w-lesie.geojson', '--force', ] const child = spawn('tippecanoe', args) child.on('error', console.error) child.stdout.on('data', (data) => { process.stdout.write(data.toString()) }) chil...
7
RodolpheDeclerck/mythic-plus-party-shuffle-api
52d7fb4
src/dto/character.dto.ts
TypeScript
www.github.com/RodolpheDeclerck/mythic-plus-party-shuffle-api/tree/main/src/dto/character.dto.ts
https://raw.githubusercontent.com/RodolpheDeclerck/mythic-plus-party-shuffle-api/52d7fb4/src/dto/character.dto.ts
RodolpheDeclerck/mythic-plus-party-shuffle-api 52d7fb4 src/dto/character.dto.ts
true
200
1,004
import { IsString, IsNotEmpty, IsEnum, IsNumber } from 'class-validator'; import { CharacterClass } from '../enums/characterClass.enum.js'; import { Specialization } from '../enums/specialization.enum.js'; /** * DTO pour la création d'un personnage */ export class CharacterDto { id!: number; @IsString() @IsN...
2
JRBowman/solace-toolkit
38f8cb3
src/app/solace-toolkit/work-components/work-item/work-item.component.ts
TypeScript
www.github.com/JRBowman/solace-toolkit/tree/main/src/app/solace-toolkit/work-components/work-item/work-item.component.ts
https://raw.githubusercontent.com/JRBowman/solace-toolkit/38f8cb3/src/app/solace-toolkit/work-components/work-item/work-item.component.ts
JRBowman/solace-toolkit 38f8cb3 src/app/solace-toolkit/work-components/work-item/work-item.component.ts
true
200
1,020
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; import { MatBottomSheet } from '@angular/material/bottom-sheet'; import { WorkItemSheetEditorComponent } from './work-item-sheet-editor/work-item-sheet-editor.component'; @Component({ selector: 'work-item', templateUrl: './work-item.co...
3
eondev-inc/minervaDev
a60d870
src/app/public/recover/recover.module.ts
TypeScript
www.github.com/eondev-inc/minervaDev/tree/main/src/app/public/recover/recover.module.ts
https://raw.githubusercontent.com/eondev-inc/minervaDev/a60d870/src/app/public/recover/recover.module.ts
eondev-inc/minervaDev a60d870 src/app/public/recover/recover.module.ts
true
200
500
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { IonicModule } from '@ionic/angular'; import { RecoverPageRoutingModule } from './recover-routing.module'; import { RecoverPage } from './recover.page';...
5
msantiago0893/Fake-shop-standalone
318e755
src/app/views/customer/customer.component.ts
TypeScript
www.github.com/msantiago0893/Fake-shop-standalone/tree/main/src/app/views/customer/customer.component.ts
https://raw.githubusercontent.com/msantiago0893/Fake-shop-standalone/318e755/src/app/views/customer/customer.component.ts
msantiago0893/Fake-shop-standalone 318e755 src/app/views/customer/customer.component.ts
true
200
1,253
import { ChangeDetectionStrategy, Component } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule, RouterOutlet } from '@angular/router'; import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; import { MatMenuModule }...
4