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
Hashir-Khan777/ME-P-Frontend
57776f4
src/components/Shipping Address/style.ts
TypeScript
www.github.com/Hashir-Khan777/ME-P-Frontend/tree/main/src/components/Shipping Address/style.ts
https://raw.githubusercontent.com/Hashir-Khan777/ME-P-Frontend/57776f4/src/components/Shipping%20Address/style.ts
Hashir-Khan777/ME-P-Frontend 57776f4 src/components/Shipping Address/style.ts
true
200
587
import styled from "styled-components"; import { mobile, tablet } from "../../utils/responsive"; import Theme from "../../constants/theme"; export const ContainerDiv = styled.div` max-width: 90%; margin: auto; ${mobile` max-width: 85%; `} ` export const ParentDiv = styled.div` max-width: 60%; margin-right: auto;...
3
d2dynamo/BonkBot
b30c9c5
src/modules/gamerWord/list.ts
TypeScript
www.github.com/d2dynamo/BonkBot/tree/main/src/modules/gamerWord/list.ts
https://raw.githubusercontent.com/d2dynamo/BonkBot/b30c9c5/src/modules/gamerWord/list.ts
d2dynamo/BonkBot b30c9c5 src/modules/gamerWord/list.ts
true
200
8,149
import { DiscordUID, GamerWord as GamerWordDoc, } from "../../interfaces/database"; import GamerWord from "./gamerWord"; import connectCollection from "../database/mongo"; import { ObjectId, WithId } from "mongodb"; import MemoryCache from "../memcacher"; import { getGuildWithOID } from "../guild/get"; // Cache wo...
2
Subash234513/Angular-16
0c51531
src/app/fa/assetcat/assetcat.component.spec.ts
TypeScript
www.github.com/Subash234513/Angular-16/tree/main/src/app/fa/assetcat/assetcat.component.spec.ts
https://raw.githubusercontent.com/Subash234513/Angular-16/0c51531/src/app/fa/assetcat/assetcat.component.spec.ts
Subash234513/Angular-16 0c51531 src/app/fa/assetcat/assetcat.component.spec.ts
true
200
642
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { AssetcatComponent } from './assetcat.component'; describe('AssetcatComponent', () => { let component: AssetcatComponent; let fixture: ComponentFixture<AssetcatComponent>; beforeEach(async(() => { TestBed.configureTestingModu...
1
nagvarunkondreddy/task
1048ad5
src/environments/environment.ts
TypeScript
www.github.com/nagvarunkondreddy/task/tree/main/src/environments/environment.ts
https://raw.githubusercontent.com/nagvarunkondreddy/task/1048ad5/src/environments/environment.ts
nagvarunkondreddy/task 1048ad5 src/environments/environment.ts
true
200
1,072
// This file can be replaced during build by using the `fileReplacements` array. // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. export const environment = { production: false, firebase:{ apiKey: "AIzaSyA-vtzQdKiOu47ra4...
0
elon-avisror/free-udemy-courses
a700958
src/puppeteer/YoSamplesFetcher.ts
TypeScript
www.github.com/elon-avisror/free-udemy-courses/tree/main/src/puppeteer/YoSamplesFetcher.ts
https://raw.githubusercontent.com/elon-avisror/free-udemy-courses/a700958/src/puppeteer/YoSamplesFetcher.ts
elon-avisror/free-udemy-courses a700958 src/puppeteer/YoSamplesFetcher.ts
true
200
1,770
import * as puppeteer from 'puppeteer'; import Helper from '../util/TimeHelper'; import Fetcher from './Fetcher'; export default class YoSamplesFetcher extends Fetcher { constructor() { super('https://yofreesamples.com/courses/free-discounted-udemy-courses-list/'); } async fetch(page: puppeteer.Pa...
7
ekwoka/awesome-alpine
112effc
packages/toasts/src/index.ts
TypeScript
www.github.com/ekwoka/awesome-alpine/tree/main/packages/toasts/src/index.ts
https://raw.githubusercontent.com/ekwoka/awesome-alpine/112effc/packages/toasts/src/index.ts
ekwoka/awesome-alpine 112effc packages/toasts/src/index.ts
true
200
8,710
import type { Alpine, PluginCallback } from 'alpinejs'; import { Toast, type ToastOptions, type ToastOptionsSet } from './Toast.ts'; import { defaultOptions } from './defaultOptions.ts'; export const Toasts = ((AlpineOrDefaults: Alpine | Partial<ToastOptions>) => { const defaults = isAlpine(AlpineOrDefaults) ? ...
6
Mk1499/IslamQuiz
7c84aa1
src/Components/AuthHead/styles.ts
TypeScript
www.github.com/Mk1499/IslamQuiz/tree/main/src/Components/AuthHead/styles.ts
https://raw.githubusercontent.com/Mk1499/IslamQuiz/7c84aa1/src/Components/AuthHead/styles.ts
Mk1499/IslamQuiz 7c84aa1 src/Components/AuthHead/styles.ts
true
200
2,581
/* eslint-disable prettier/prettier */ import {Platform, StyleSheet} from 'react-native'; import Constants from '../../Config/Constants'; import ThemeColors from '../../Models/ThemeColors.model'; import {getActiveLang} from '../../translate'; const {colors} = Constants; const makeStyle = (themeColors: ThemeColors) =>...
5
Vincenza-Genuardi/Franco_Genuardi_GP
b7798bf
CLIENT/client-angular/src/app/app.module.ts
TypeScript
www.github.com/Vincenza-Genuardi/Franco_Genuardi_GP/tree/main/CLIENT/client-angular/src/app/app.module.ts
https://raw.githubusercontent.com/Vincenza-Genuardi/Franco_Genuardi_GP/b7798bf/CLIENT/client-angular/src/app/app.module.ts
Vincenza-Genuardi/Franco_Genuardi_GP b7798bf CLIENT/client-angular/src/app/app.module.ts
true
200
965
import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { HomeComponent } from './home/home.component'; import { ContattiComponent } from './contatti/contatti.com...
3
Eyaajmii/HayatiProject
5a8a244
src/app/classes/participant.ts
TypeScript
www.github.com/Eyaajmii/HayatiProject/tree/main/src/app/classes/participant.ts
https://raw.githubusercontent.com/Eyaajmii/HayatiProject/5a8a244/src/app/classes/participant.ts
Eyaajmii/HayatiProject 5a8a244 src/app/classes/participant.ts
true
200
766
import { Personne } from "./personne"; export class Participant extends Personne{ id!:number; AgeParticipant!:number; sexeParticipant!:string; maladieParticipant!:boolean; constructor(IdPersonne:number,Nompersonne:string,PrenomPersonne:string, NationnalitePersonne:string,AdressePersonne:str...
2
dexkum-2myzZy-jipzid/task-manager
faf3df9
config/FirebaseConfig.ts
TypeScript
www.github.com/dexkum-2myzZy-jipzid/task-manager/tree/main/config/FirebaseConfig.ts
https://raw.githubusercontent.com/dexkum-2myzZy-jipzid/task-manager/faf3df9/config/FirebaseConfig.ts
dexkum-2myzZy-jipzid/task-manager faf3df9 config/FirebaseConfig.ts
true
200
1,030
// Import the functions you need from the SDKs you need import { initializeApp } from "firebase/app"; import { getAuth } from "firebase/auth"; import { getFirestore } from "firebase/firestore"; import { getStorage } from "firebase/storage"; import { API_KEY, AUTH_DOMAIN, PROJECT_ID, STORAGE_BUCKET, MESSAGING_...
1
ifeanyiisitor/trekatrade-app
f6d1bc0
app/hooks/use-form.ts
TypeScript
www.github.com/ifeanyiisitor/trekatrade-app/tree/main/app/hooks/use-form.ts
https://raw.githubusercontent.com/ifeanyiisitor/trekatrade-app/f6d1bc0/app/hooks/use-form.ts
ifeanyiisitor/trekatrade-app f6d1bc0 app/hooks/use-form.ts
true
200
1,911
import * as rhf from 'react-hook-form' import { MutableRefObject, useState } from 'react' import { ZodSchema, z } from 'zod' import { zodResolver } from '@hookform/resolvers/zod' import { ActionResponse } from '@/lib/next-actions/types' import { setFormServerValidationIssues } from '@/lib/next-actions/client-utils' im...
0
KasparKipp/merit-aktiva
ffb81a9
test/aktiva/taxes/getTaxes.test.ts
TypeScript
www.github.com/KasparKipp/merit-aktiva/tree/main/test/aktiva/taxes/getTaxes.test.ts
https://raw.githubusercontent.com/KasparKipp/merit-aktiva/ffb81a9/test/aktiva/taxes/getTaxes.test.ts
KasparKipp/merit-aktiva ffb81a9 test/aktiva/taxes/getTaxes.test.ts
true
200
1,951
import { describe, it, expect } from "vitest"; import getTaxes from "@/aktiva/taxes/getTaxes"; import { isUuid } from "@/aktiva/testutils"; import { MeritConfig } from "@/types"; const taxesTestConfig = { apiId: process.env.TEST_MERIT_API_ID as MeritConfig["apiId"], apiKey: process.env.TEST_MERIT_API_KEY as MeritC...
4
wdfwwkkee/tech-shop
aeaa19c
server/src/specs/specs.module.ts
TypeScript
www.github.com/wdfwwkkee/tech-shop/tree/main/server/src/specs/specs.module.ts
https://raw.githubusercontent.com/wdfwwkkee/tech-shop/aeaa19c/server/src/specs/specs.module.ts
wdfwwkkee/tech-shop aeaa19c server/src/specs/specs.module.ts
true
200
859
import { Module } from '@nestjs/common'; import { SpecsService } from './specs.service'; import { SpecsController } from './specs.controller'; import { TypeOrmModule } from '@nestjs/typeorm'; import { Spec } from './entities/spec.entity'; import { JwtModule } from '@nestjs/jwt'; import { ConfigModule, ConfigService } f...
7
bitglu/adminbox
f7c7e57
src/services/supabase/schemas/providers.schema.ts
TypeScript
www.github.com/bitglu/adminbox/tree/main/src/services/supabase/schemas/providers.schema.ts
https://raw.githubusercontent.com/bitglu/adminbox/f7c7e57/src/services/supabase/schemas/providers.schema.ts
bitglu/adminbox f7c7e57 src/services/supabase/schemas/providers.schema.ts
true
200
912
export type Json = | string | number | boolean | null | { [key: string]: Json } | Json[]; export interface ProvidersDatabase { public: { Tables: { providers: { Row: { id: number; created_at: string; description: string; name: string; cha...
5
EstebanBedoya/motel-backend
d7462d0
apps/records/src/records.module.ts
TypeScript
www.github.com/EstebanBedoya/motel-backend/tree/main/apps/records/src/records.module.ts
https://raw.githubusercontent.com/EstebanBedoya/motel-backend/d7462d0/apps/records/src/records.module.ts
EstebanBedoya/motel-backend d7462d0 apps/records/src/records.module.ts
true
200
1,881
import { Module } from '@nestjs/common'; import { RecordsService } from './records.service'; import { RecordsController } from './records.controller'; import { AUTH_SERVICE, DatabaseModule, LoggerModule, ROOMS_SERVICE, } from '@app/common'; import { ConfigModule, ConfigService } from '@nestjs/config'; import * ...
6
FraglyG/shop_sim_public
476232b
src_frontend/modules/ribbonCart.ts
TypeScript
www.github.com/FraglyG/shop_sim_public/tree/main/src_frontend/modules/ribbonCart.ts
https://raw.githubusercontent.com/FraglyG/shop_sim_public/476232b/src_frontend/modules/ribbonCart.ts
FraglyG/shop_sim_public 476232b src_frontend/modules/ribbonCart.ts
true
200
803
export async function updateRibbonCartIcon() { try { const response = await fetch('/v1/api/item/get/cart'); const result = await response.json(); if (!result.success) { console.error('Failed to update ribbon cart icon', result.error || result.message || 'Unknown error'); ...
2
muhammad-hari/todo_sample
444bba2
Todoist/Todoist.Presentation/todoistui/src/app/demo/components/pages/crud/crud.component.ts
TypeScript
www.github.com/muhammad-hari/todo_sample/tree/main/Todoist/Todoist.Presentation/todoistui/src/app/demo/components/pages/crud/crud.component.ts
https://raw.githubusercontent.com/muhammad-hari/todo_sample/444bba2/Todoist/Todoist.Presentation/todoistui/src/app/demo/components/pages/crud/crud.component.ts
muhammad-hari/todo_sample 444bba2 Todoist/Todoist.Presentation/todoistui/src/app/demo/components/pages/crud/crud.component.ts
true
200
6,504
import { Component, OnInit } from '@angular/core'; import { Product } from 'src/app/demo/api/product'; import { MessageService } from 'primeng/api'; import { Table } from 'primeng/table'; import { ProductService } from 'src/app/demo/service/product.service'; import { Priority } from './models/priority.model'; import { ...
3
jlgrimes/bubble
38f461f
src/features/Tournament/state/tournamentThunks.ts
TypeScript
www.github.com/jlgrimes/bubble/tree/main/src/features/Tournament/state/tournamentThunks.ts
https://raw.githubusercontent.com/jlgrimes/bubble/38f461f/src/features/Tournament/state/tournamentThunks.ts
jlgrimes/bubble 38f461f src/features/Tournament/state/tournamentThunks.ts
true
200
465
import { ThunkDispatch, Action } from "@reduxjs/toolkit"; import { AppThunk, RootState } from "../../../app/store"; import { initializeTournament } from "./tournamentSlice"; export const startTournament = (): AppThunk => (dispatch: ThunkDispatch<RootState, unknown, Action>, getState: () => RootState) => { if (getSta...
7
tosarus/min-fin
995313a
src/layouts/utils/accountUtils.ts
TypeScript
www.github.com/tosarus/min-fin/tree/main/src/layouts/utils/accountUtils.ts
https://raw.githubusercontent.com/tosarus/min-fin/995313a/src/layouts/utils/accountUtils.ts
tosarus/min-fin 995313a src/layouts/utils/accountUtils.ts
true
200
3,000
import { Account, AccountType, getAssetAccountTypes, getBudgetAccountTypes, TransactionType } from '../../types'; export function accountTypeName(type?: AccountType, plural?: boolean): string { switch (type) { case AccountType.Banking: return plural ? 'Bank Accounts' : 'Bank Account'; case AccountType....
6
Nithinpunathumkandy/v2-source-code
ad4620f
src/app/modules/bpm/apr-store.ts
TypeScript
www.github.com/Nithinpunathumkandy/v2-source-code/tree/main/src/app/modules/bpm/apr-store.ts
https://raw.githubusercontent.com/Nithinpunathumkandy/v2-source-code/ad4620f/src/app/modules/bpm/apr-store.ts
Nithinpunathumkandy/v2-source-code ad4620f src/app/modules/bpm/apr-store.ts
true
200
2,944
import { observable, action, computed } from "mobx-angular"; class Store { @observable operationFrequancy=[ {id:1, value: 'Daily'}, {id:2, value: 'Weekly'}, {id:3, value: 'Monthly'}, {id:4, value: 'Quarterly'}, {id:5, value: 'Yearly'}, {id:5, value: 'Continuosly'...
3
wesleyoliveirasilva/nlwGamePlay
cf7f4f0
src/components/Appointment/styles.ts
TypeScript
www.github.com/wesleyoliveirasilva/nlwGamePlay/tree/main/src/components/Appointment/styles.ts
https://raw.githubusercontent.com/wesleyoliveirasilva/nlwGamePlay/cf7f4f0/src/components/Appointment/styles.ts
wesleyoliveirasilva/nlwGamePlay cf7f4f0 src/components/Appointment/styles.ts
true
200
1,295
import { StyleSheet } from "react-native" import { theme } from "../../global/styles/theme" //import { theme } from "../../global/styles/theme" export const styles = StyleSheet.create({ container: { width: '100%', flexDirection: 'row', alignSelf: 'center', }, content: { flex...
5
tpenzo/transport
8d9e7a8
src/app/api/user/driver/assign/route.ts
TypeScript
www.github.com/tpenzo/transport/tree/main/src/app/api/user/driver/assign/route.ts
https://raw.githubusercontent.com/tpenzo/transport/8d9e7a8/src/app/api/user/driver/assign/route.ts
tpenzo/transport 8d9e7a8 src/app/api/user/driver/assign/route.ts
true
200
721
import CarType from '@/models/CarType'; import User from '@/models/User'; import { withSetupHandler } from '@/utils/withSetupHandler'; import { NextRequest, NextResponse } from 'next/server'; export const POST = withSetupHandler(async (req: NextRequest) => { try { const data = await req.json(); con...
2
IngSoft-DA2/228352-262843-291192
c6326c4
Frontend/src/app/services/request.service.ts
TypeScript
www.github.com/IngSoft-DA2/228352-262843-291192/tree/main/Frontend/src/app/services/request.service.ts
https://raw.githubusercontent.com/IngSoft-DA2/228352-262843-291192/c6326c4/Frontend/src/app/services/request.service.ts
IngSoft-DA2/228352-262843-291192 c6326c4 Frontend/src/app/services/request.service.ts
true
200
1,922
import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http'; import { Observable } from 'rxjs'; import { environment } from '../../environments/environment'; import { ManagerRequest } from '../models/ManagerRequest'; import { ListRequests } from '../models/List...
7
zdn-trong-phan/zdn-dating-dev-branch-be
f67319a
src/notification/dto/create-notification.dto.ts
TypeScript
www.github.com/zdn-trong-phan/zdn-dating-dev-branch-be/tree/main/src/notification/dto/create-notification.dto.ts
https://raw.githubusercontent.com/zdn-trong-phan/zdn-dating-dev-branch-be/f67319a/src/notification/dto/create-notification.dto.ts
zdn-trong-phan/zdn-dating-dev-branch-be f67319a src/notification/dto/create-notification.dto.ts
true
200
1,082
import { AutoMap } from '@automapper/classes'; import { ApiProperty } from '@nestjs/swagger'; import { IsBoolean, IsNotEmpty, IsString } from 'class-validator'; import { NotiType } from 'src/shared/enums'; import { User } from 'src/user/entities/user.entity'; import { OneToOne, JoinColumn } from 'typeorm'; export clas...
3
KRiNGU/fast-buy-backend
c02cc52
src/user/user.controller.spec.ts
TypeScript
www.github.com/KRiNGU/fast-buy-backend/tree/main/src/user/user.controller.spec.ts
https://raw.githubusercontent.com/KRiNGU/fast-buy-backend/c02cc52/src/user/user.controller.spec.ts
KRiNGU/fast-buy-backend c02cc52 src/user/user.controller.spec.ts
true
200
3,008
import { User } from '@prisma/client'; import { mockUser } from './mock/user.mock'; import { UserController } from './user.controller'; import { UserService } from './user.service'; describe('UserController', () => { let controller: UserController; let service: UserService; beforeEach(async () => { service ...
5
SharanSMenon/math-solver
ce98c3c
src/app/cards/step-card/step-item/step-item.component.ts
TypeScript
www.github.com/SharanSMenon/math-solver/tree/main/src/app/cards/step-card/step-item/step-item.component.ts
https://raw.githubusercontent.com/SharanSMenon/math-solver/ce98c3c/src/app/cards/step-card/step-item/step-item.component.ts
SharanSMenon/math-solver ce98c3c src/app/cards/step-card/step-item/step-item.component.ts
true
200
1,431
import { Component, Input, OnInit } from '@angular/core'; @Component({ selector: 'app-step-item', templateUrl: './step-item.component.html', styleUrls: ['./step-item.component.scss'] }) export class StepItemComponent implements OnInit { @Input("step-item") stepItem: string stepsMap: any stepType: string ...
2
danielOuattara/TypeScript_The_Net_Ninja
30fd887
08_function_basics/src/sandbox.ts
TypeScript
www.github.com/danielOuattara/TypeScript_The_Net_Ninja/tree/main/08_function_basics/src/sandbox.ts
https://raw.githubusercontent.com/danielOuattara/TypeScript_The_Net_Ninja/30fd887/08_function_basics/src/sandbox.ts
danielOuattara/TypeScript_The_Net_Ninja 30fd887 08_function_basics/src/sandbox.ts
true
200
1,633
let greeting = () => { return "Hello World !"; }; console.log(greeting()); // greeting = "Hello!" // X Incorrect: greet is known to be a function, not a string //---------------------------------------------------- let greeting2: Function; // function declaration greeting2 = () => { console.log("...
7
nguyentrungmen/serverless-project4-main
be2b506
backend/src/helpers/attachmentUtils.ts
TypeScript
www.github.com/nguyentrungmen/serverless-project4-main/tree/main/backend/src/helpers/attachmentUtils.ts
https://raw.githubusercontent.com/nguyentrungmen/serverless-project4-main/be2b506/backend/src/helpers/attachmentUtils.ts
nguyentrungmen/serverless-project4-main be2b506 backend/src/helpers/attachmentUtils.ts
true
200
614
import * as AWS from 'aws-sdk' import * as AWSXRay from 'aws-xray-sdk' const XAWS = AWSXRay.captureAWS(AWS) export class TodosStorage { constructor( private readonly todosStorage = process.env.ATTACHMENT_S3_BUCKET, private readonly s3 = new XAWS.S3({ signatureVersion: 'v4'}) ) {} async getB...
6
rajsnghhh/PMS
209c6dc
src/app/Tender/Components/tender-details-list/tender-details-list.component.ts
TypeScript
www.github.com/rajsnghhh/PMS/tree/main/src/app/Tender/Components/tender-details-list/tender-details-list.component.ts
https://raw.githubusercontent.com/rajsnghhh/PMS/209c6dc/src/app/Tender/Components/tender-details-list/tender-details-list.component.ts
rajsnghhh/PMS 209c6dc src/app/Tender/Components/tender-details-list/tender-details-list.component.ts
true
200
8,750
import { Component, ElementRef, OnInit, ViewChild } from '@angular/core'; import { Router } from '@angular/router'; import { PaginationService } from 'src/app/Shared/Services/pagination.service'; import { ngxCsv } from 'ngx-csv/ngx-csv'; import jsPDF from 'jspdf' import 'jspdf-autotable' import { APIService } from 's...
5
GonVieira/backlog-manager
bef1181
src/pages/ProfilePage/style.ts
TypeScript
www.github.com/GonVieira/backlog-manager/tree/main/src/pages/ProfilePage/style.ts
https://raw.githubusercontent.com/GonVieira/backlog-manager/bef1181/src/pages/ProfilePage/style.ts
GonVieira/backlog-manager bef1181 src/pages/ProfilePage/style.ts
true
200
6,555
import styled from "styled-components"; interface BackgroundImg { backgroundImg: string; } interface ModalLogic { modalIsOpen: boolean; } export const ProfileBodyContainer = styled.div<ModalLogic>` display: flex; justify-content: flex-start; align-items: center; background-color: #000000; height: 250%;...
2
ilyashich/APSI-Work-Tracking-Frontend
60cfce1
src/app/pages/pages.module.ts
TypeScript
www.github.com/ilyashich/APSI-Work-Tracking-Frontend/tree/main/src/app/pages/pages.module.ts
https://raw.githubusercontent.com/ilyashich/APSI-Work-Tracking-Frontend/60cfce1/src/app/pages/pages.module.ts
ilyashich/APSI-Work-Tracking-Frontend 60cfce1 src/app/pages/pages.module.ts
true
200
2,945
import { NgModule } from '@angular/core'; import { CommandColumnService, EditService, GridModule } from '@syncfusion/ej2-angular-grids'; import { PageService, SortService, FilterService, GroupService, ToolbarService } from '@syncfusion/ej2-angular-grids'; import { ButtonModule, RadioButtonModule } from '@syncfusion/ej2...
3
Joyeuxman/nest-demo
f53bfe4
src/common/httpExceptionFilter.ts
TypeScript
www.github.com/Joyeuxman/nest-demo/tree/main/src/common/httpExceptionFilter.ts
https://raw.githubusercontent.com/Joyeuxman/nest-demo/f53bfe4/src/common/httpExceptionFilter.ts
Joyeuxman/nest-demo f53bfe4 src/common/httpExceptionFilter.ts
true
200
590
/** * 异常拦截器 */ import { ArgumentsHost, ExceptionFilter, HttpException } from '@nestjs/common'; import { Request, Response } from 'express'; export class HttpExceptionFilter implements ExceptionFilter { catch(exception: HttpException, host: ArgumentsHost) { const ctx = host.switchToHttp(); const request = ...
7
sugoroku-y/memo
67da84f
src/utils/dom.ts
TypeScript
www.github.com/sugoroku-y/memo/tree/main/src/utils/dom.ts
https://raw.githubusercontent.com/sugoroku-y/memo/67da84f/src/utils/dom.ts
sugoroku-y/memo 67da84f src/utils/dom.ts
true
200
14,215
function asText(node: Node | null | undefined): Text | undefined { return node?.nodeType === Node.TEXT_NODE ? (node as Text) : undefined; } function asElement(node: Node | null | undefined): Element | undefined { return node?.nodeType === Node.ELEMENT_NODE ? (node as Element) : undefined; } function closest<K ext...
5
TeddyStar911/oc-shop
d601828
src/app/pages/system/support/privacy-policy/privacy-policy.component.ts
TypeScript
www.github.com/TeddyStar911/oc-shop/tree/main/src/app/pages/system/support/privacy-policy/privacy-policy.component.ts
https://raw.githubusercontent.com/TeddyStar911/oc-shop/d601828/src/app/pages/system/support/privacy-policy/privacy-policy.component.ts
TeddyStar911/oc-shop d601828 src/app/pages/system/support/privacy-policy/privacy-policy.component.ts
true
200
627
import { Component } from '@angular/core'; import {HeaderComponent} from "../../../../components/common/header/header.component"; import {FooterComponent} from "../../../../components/common/footer/footer.component"; import {SupportWrapperComponent} from "../../../../components/support/support-wrapper/support-wrapper.c...
2
4abaev/warehouse-back
1f98d72
src/auth/dto/auth.dto.ts
TypeScript
www.github.com/4abaev/warehouse-back/tree/main/src/auth/dto/auth.dto.ts
https://raw.githubusercontent.com/4abaev/warehouse-back/1f98d72/src/auth/dto/auth.dto.ts
4abaev/warehouse-back 1f98d72 src/auth/dto/auth.dto.ts
true
200
411
import { ApiProperty } from '@nestjs/swagger'; import { IsOptional, IsString } from 'class-validator'; export class AuthDto { @ApiProperty({ default: 'vlad123', }) @IsString() login: string; @ApiProperty({ example: '123qwerty', required: false, }) @IsOptional() @IsString() password: stri...
3
ahmaddioxide/Rekhta-ToyProgrammingLanguage
613526a
examples/runner.ts
TypeScript
www.github.com/ahmaddioxide/Rekhta-ToyProgrammingLanguage/tree/main/examples/runner.ts
https://raw.githubusercontent.com/ahmaddioxide/Rekhta-ToyProgrammingLanguage/613526a/examples/runner.ts
ahmaddioxide/Rekhta-ToyProgrammingLanguage 613526a examples/runner.ts
true
200
1,193
import { Interpreter } from "../src/interpreter/Interpreter"; import { Parser } from "../src/Parser"; const args = process.argv.slice(2); if (!args) throw new Error("Please provide a example name"); run(args[0]); function run(file: string) { const parser = new Parser(); const interpreter = new Interpreter(); ...
6
anukulpandey/reef-react-lib-anukul
b1404ac
src/hooks/useAllPools.ts
TypeScript
www.github.com/anukulpandey/reef-react-lib-anukul/tree/main/src/hooks/useAllPools.ts
https://raw.githubusercontent.com/anukulpandey/reef-react-lib-anukul/b1404ac/src/hooks/useAllPools.ts
anukulpandey/reef-react-lib-anukul b1404ac src/hooks/useAllPools.ts
true
200
975
import { AxiosInstance } from 'axios'; import { ALL_POOLS } from '../graphql/pools'; import { POLL_INTERVAL, getIconUrl } from '../utils'; import { useState } from 'react'; import useInterval from './userInterval'; import { PoolWithReserves } from '../state'; import { graphqlRequest } from '../appState/accountState'; ...
7
tejajagadeep/patient-data-processor
90d205b
Temp/frontend/latest/patientdataprocessor-frontend/src/app/service/auth/authentication-data.service.ts
TypeScript
www.github.com/tejajagadeep/patient-data-processor/tree/main/Temp/frontend/latest/patientdataprocessor-frontend/src/app/service/auth/authentication-data.service.ts
https://raw.githubusercontent.com/tejajagadeep/patient-data-processor/90d205b/Temp/frontend/latest/patientdataprocessor-frontend/src/app/service/auth/authentication-data.service.ts
tejajagadeep/patient-data-processor 90d205b Temp/frontend/latest/patientdataprocessor-frontend/src/app/service/auth/authentication-data.service.ts
true
200
3,061
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { map } from 'rxjs/operators'; import { API_URL } from 'src/app/app.constants'; import { MessageResponse } from 'src/app/model/message-response'; import { UserDataService } from '../d...
5
anilnankar/Angular-8
774a567
src/app/member-details/member-details.component.spec.ts
TypeScript
www.github.com/anilnankar/Angular-8/tree/main/src/app/member-details/member-details.component.spec.ts
https://raw.githubusercontent.com/anilnankar/Angular-8/774a567/src/app/member-details/member-details.component.spec.ts
anilnankar/Angular-8 774a567 src/app/member-details/member-details.component.spec.ts
true
200
1,649
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { of } from 'rxjs'; import { ReactiveFormsModule , FormGroup, Validators } from '@angular/forms'; import { HttpClientTestingModule } from '@angular/common/http/testing'; import { RouterTestingModule } from '@angular/router/testing'; impor...
2
seyed-ruzaik/Restaurant-ordering-system-
6c4efdd
src/services/dish.service.ts
TypeScript
www.github.com/seyed-ruzaik/Restaurant-ordering-system-/tree/main/src/services/dish.service.ts
https://raw.githubusercontent.com/seyed-ruzaik/Restaurant-ordering-system-/6c4efdd/src/services/dish.service.ts
seyed-ruzaik/Restaurant-ordering-system- 6c4efdd src/services/dish.service.ts
true
200
1,610
import { Request, Response } from "express"; import { createDishHelper, updateDishHelper, deleteDishHelper, getDishByIdHelper, getAllDishesHelper, } from "../helpers/dish.helper"; // Function to create a new dish export const createDish = async (req: Request, res: Response) => { await createDis...
3
nramc/journeys
117db4f
src/app/page/tools/tools.component.ts
TypeScript
www.github.com/nramc/journeys/tree/main/src/app/page/tools/tools.component.ts
https://raw.githubusercontent.com/nramc/journeys/117db4f/src/app/page/tools/tools.component.ts
nramc/journeys 117db4f src/app/page/tools/tools.component.ts
true
200
627
import {ChangeDetectionStrategy, Component} from '@angular/core'; import {ImageResizeComponent} from "../../component/image-resize/image-resize.component"; import {TOOLS_PAGE_INFO} from "../../model/page.info.model"; import {PageHeaderComponent} from "../../component/page-header/page-header.component"; @Component({ ...
7
vladtopolev/video-flow
f44d5a6
src/hooks/useWindowSize.ts
TypeScript
www.github.com/vladtopolev/video-flow/tree/main/src/hooks/useWindowSize.ts
https://raw.githubusercontent.com/vladtopolev/video-flow/f44d5a6/src/hooks/useWindowSize.ts
vladtopolev/video-flow f44d5a6 src/hooks/useWindowSize.ts
true
200
582
import { useEffect, useState } from 'react'; const useWindowSize = () => { const [state, setState] = useState<{ width: number; height: number }>({ width: window.innerWidth, height: window.innerHeight, }); useEffect((): (() => void) | void => { const handler = () => { setState({ width: ...
5
mAbadsa/blog
4919c2d
src/screens/ReadingList/components/EmptyListMessage/style.ts
TypeScript
www.github.com/mAbadsa/blog/tree/main/src/screens/ReadingList/components/EmptyListMessage/style.ts
https://raw.githubusercontent.com/mAbadsa/blog/4919c2d/src/screens/ReadingList/components/EmptyListMessage/style.ts
mAbadsa/blog 4919c2d src/screens/ReadingList/components/EmptyListMessage/style.ts
true
200
464
import styled from 'styled-components'; export const StyledContainer = styled('div')` ${({ theme }) => ` display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 8rem 4rem; `} `; export const StyledSpan = styled('span')` ${({ theme }) => ` color: #717...
2
Zondax/izari-filecoin
98b659b
src/address/utils.ts
TypeScript
www.github.com/Zondax/izari-filecoin/tree/main/src/address/utils.ts
https://raw.githubusercontent.com/Zondax/izari-filecoin/98b659b/src/address/utils.ts
Zondax/izari-filecoin 98b659b src/address/utils.ts
true
200
2,566
import blake from 'blakejs' import { ACTOR_ID_ETHEREUM_MASK, ACTOR_ID_ETHEREUM_MASK_LEN, ETH_ADDRESS_LEN, Network, NetworkPrefix } from '../artifacts/address.js' /** * Calculates the checksum of a given payload according to filecoin specifications * For more information about checksums, please refer to this {@link h...
3
sabinn12/Task-Manager-App
c184f38
src/server.ts
TypeScript
www.github.com/sabinn12/Task-Manager-App/tree/main/src/server.ts
https://raw.githubusercontent.com/sabinn12/Task-Manager-App/c184f38/src/server.ts
sabinn12/Task-Manager-App c184f38 src/server.ts
true
200
1,174
import express from 'express'; import dotenv from 'dotenv'; import cors from 'cors'; import prisma from './config/db'; import userRoutes from './routes/userRoutes'; import taskRoutes from './routes/taskRoutes'; import boardRoutes from './routes/boardRoutes'; import { initializeSocket } from './config/socket'; import ht...
6
ankit0511/WhisperSend
69354a2
src/app/api/suggest-messages/route.ts
TypeScript
www.github.com/ankit0511/WhisperSend/tree/main/src/app/api/suggest-messages/route.ts
https://raw.githubusercontent.com/ankit0511/WhisperSend/69354a2/src/app/api/suggest-messages/route.ts
ankit0511/WhisperSend 69354a2 src/app/api/suggest-messages/route.ts
true
200
1,006
import { openai } from '@ai-sdk/openai'; import { streamText } from 'ai'; // Allow streaming responses up to 30 seconds export const maxDuration = 30; export async function POST(request: Request) { console.log('Request received'); // Log when the request is received try { // Parse the request body const ...
7
Carlosss2/Mi_conversor
c937e51
src/app/app.routes.ts
TypeScript
www.github.com/Carlosss2/Mi_conversor/tree/main/src/app/app.routes.ts
https://raw.githubusercontent.com/Carlosss2/Mi_conversor/c937e51/src/app/app.routes.ts
Carlosss2/Mi_conversor c937e51 src/app/app.routes.ts
true
200
523
import { Routes } from '@angular/router'; import { AsciiComponent } from './components/ascii/ascii.component'; import { HomeComponent } from './components/home/home.component'; import { BinComponent } from './components/bin/bin.component'; export const routes: Routes = [ { path: "", redirectTo: "home",path...
5
Nguyenvanle/multi-koala
4cd2f15
web/src/features/lessons/actions/post-lessons.ts
TypeScript
www.github.com/Nguyenvanle/multi-koala/tree/main/web/src/features/lessons/actions/post-lessons.ts
https://raw.githubusercontent.com/Nguyenvanle/multi-koala/4cd2f15/web/src/features/lessons/actions/post-lessons.ts
Nguyenvanle/multi-koala 4cd2f15 web/src/features/lessons/actions/post-lessons.ts
true
200
574
"use server"; import { lessonService } from "@/features/lessons/services/lesson"; import { AddFormValues } from "@/features/lessons/types/add-form"; import { revalidateTag } from "next/cache"; export async function postLesson(courseId: string, data: AddFormValues) { const res = await lessonService.create(courseId, ...
3
theopensystemslab/fairhold-dashboard
166f093
app/data/rentRepo.ts
TypeScript
www.github.com/theopensystemslab/fairhold-dashboard/tree/main/app/data/rentRepo.ts
https://raw.githubusercontent.com/theopensystemslab/fairhold-dashboard/166f093/app/data/rentRepo.ts
theopensystemslab/fairhold-dashboard 166f093 app/data/rentRepo.ts
true
200
751
import prisma from "./db"; const getRentByITL3AndBedrooms = async (itl3: string, bedrooms: number): Promise<number> => { try { const result = await prisma.rent.findMany({ where: { itl3: itl3, bedrooms: bedrooms, } }); if (result.length === 0 || result[0].monthlyMeanRent === n...
2
Karthik150502/menufy-turbo
e8993f3
apps/admin-frontend/tailwind.config.ts
TypeScript
www.github.com/Karthik150502/menufy-turbo/tree/main/apps/admin-frontend/tailwind.config.ts
https://raw.githubusercontent.com/Karthik150502/menufy-turbo/e8993f3/apps/admin-frontend/tailwind.config.ts
Karthik150502/menufy-turbo e8993f3 apps/admin-frontend/tailwind.config.ts
true
200
344
import type { Config } from "tailwindcss"; import sharedConfig from "@repo/tailwind-config" const config: Pick<Config, "content" | "presets"> = { content: [ "./src/pages/**/*.{js,ts,jsx,tsx,mdx}", "./src/components/**/*.{js,ts,jsx,tsx,mdx}", "./src/app/**/*.{js,ts,jsx,tsx,mdx}", ], presets: [sharedConfig], };...
6
cloudermaker/boardGame
4f9f111
src/lib/gameManager.ts
TypeScript
www.github.com/cloudermaker/boardGame/tree/main/src/lib/gameManager.ts
https://raw.githubusercontent.com/cloudermaker/boardGame/4f9f111/src/lib/gameManager.ts
cloudermaker/boardGame 4f9f111 src/lib/gameManager.ts
true
200
2,306
import { ECellContent, TCell } from '../game/cell'; const getNextMove = (x: number, y: number, gameTab: TCell[][]): number[] => { const possibleNextMoves: number[][] = []; for (let i = x - 1; i <= x + 1; i++) { for (let j = y - 1; j <= y + 1; j++) { if (gameTab[i] && gameTab[i][j]) { pos...
7
thebarber22/TheBarberApp
a563d0d
src/app/hidden-login/hidden-login.page.spec.ts
TypeScript
www.github.com/thebarber22/TheBarberApp/tree/main/src/app/hidden-login/hidden-login.page.spec.ts
https://raw.githubusercontent.com/thebarber22/TheBarberApp/a563d0d/src/app/hidden-login/hidden-login.page.spec.ts
thebarber22/TheBarberApp a563d0d src/app/hidden-login/hidden-login.page.spec.ts
true
200
689
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { IonicModule } from '@ionic/angular'; import { HiddenLoginPage } from './hidden-login.page'; describe('HomePage', () => { let component: HiddenLoginPage; let fixture: ComponentFixture<HiddenLoginPage>; beforeEach(waitForAsy...
5
alexbrestby/mozgotren
de42fb3
src/components/sliders/sliders.ts
TypeScript
www.github.com/alexbrestby/mozgotren/tree/main/src/components/sliders/sliders.ts
https://raw.githubusercontent.com/alexbrestby/mozgotren/de42fb3/src/components/sliders/sliders.ts
alexbrestby/mozgotren de42fb3 src/components/sliders/sliders.ts
true
200
9,523
import { getElement } from '../../utils/utils'; export function sliderTitleTimeout(): void { const mainSlide = getElement('.slider'); const image1 = getElement('.item1'); const image2 = getElement('.item2'); const image3 = getElement('.item3'); const range = getElement('.range') as HTMLInputElement; async...
2
nishith-p/task-nap
27b7184
api/src/controllers/project.controller.ts
TypeScript
www.github.com/nishith-p/task-nap/tree/main/api/src/controllers/project.controller.ts
https://raw.githubusercontent.com/nishith-p/task-nap/27b7184/api/src/controllers/project.controller.ts
nishith-p/task-nap 27b7184 api/src/controllers/project.controller.ts
true
200
6,523
import { Response, Request, NextFunction } from 'express'; import { and, eq } from 'drizzle-orm'; import createHttpError from 'http-errors'; import { db } from '../db/connect'; import { projects, userOnProjects } from '../db/schema'; import { sendApiResponse } from '../util/response'; const getProject = async (req: R...
6
MichaelWorker1004/ABSurgery
fdd86b2
SurgeonPortal.Api/ClientApp/src/app/app.component.spec.ts
TypeScript
www.github.com/MichaelWorker1004/ABSurgery/tree/main/SurgeonPortal.Api/ClientApp/src/app/app.component.spec.ts
https://raw.githubusercontent.com/MichaelWorker1004/ABSurgery/fdd86b2/SurgeonPortal.Api/ClientApp/src/app/app.component.spec.ts
MichaelWorker1004/ABSurgery fdd86b2 SurgeonPortal.Api/ClientApp/src/app/app.component.spec.ts
true
200
851
import { TestBed } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AppComponent } from './app.component'; import { NgxsModule, Store } from '@ngxs/store'; import { surgeonPortalState } from './state/surgeon-portal.state'; import { HttpClientTestingModule } from '@an...
1
MohamedGouaouri/cla-managers-dashboard
4598e4d
app/src/app/auth/auth.ts
TypeScript
www.github.com/MohamedGouaouri/cla-managers-dashboard/tree/main/app/src/app/auth/auth.ts
https://raw.githubusercontent.com/MohamedGouaouri/cla-managers-dashboard/4598e4d/app/src/app/auth/auth.ts
MohamedGouaouri/cla-managers-dashboard 4598e4d app/src/app/auth/auth.ts
true
200
675
import jwt from 'jsonwebtoken' import { cookies } from 'next/headers' export interface LoginFormData { email: string, password: string } export interface RegisterFormData { first_name: string, last_name: string, email: string, password: string } export async function logout() { cookies()....
0
danyavol/equipment-service-system
265ef4b
client/src/app/modules/admin/components/orders-list-table/orders-list-table.component.ts
TypeScript
www.github.com/danyavol/equipment-service-system/tree/main/client/src/app/modules/admin/components/orders-list-table/orders-list-table.component.ts
https://raw.githubusercontent.com/danyavol/equipment-service-system/265ef4b/client/src/app/modules/admin/components/orders-list-table/orders-list-table.component.ts
danyavol/equipment-service-system 265ef4b client/src/app/modules/admin/components/orders-list-table/orders-list-table.component.ts
true
200
959
import { Component, Input } from '@angular/core'; import { Order } from 'src/app/shared/interfaces/order.interface'; import { ColumnConfig } from 'src/app/shared/interfaces/table.interface'; @Component({ selector: 'ess-orders-list-table', templateUrl: './orders-list-table.component.html', styleUrls: ['./or...
7
AyazKemal/DatingApp-Kem
9b564f9
client/src/app/members/member-detail/member-detail.component.ts
TypeScript
www.github.com/AyazKemal/DatingApp-Kem/tree/main/client/src/app/members/member-detail/member-detail.component.ts
https://raw.githubusercontent.com/AyazKemal/DatingApp-Kem/9b564f9/client/src/app/members/member-detail/member-detail.component.ts
AyazKemal/DatingApp-Kem 9b564f9 client/src/app/members/member-detail/member-detail.component.ts
true
200
4,003
import { Component, OnDestroy, OnInit, ViewChild, inject } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { Member } from '../../_models/member'; import { TabDirective, TabsModule, TabsetComponent } from 'ngx-bootstrap/tabs'; import { GalleryItem, GalleryModule, ImageItem } from ...
4
d-756/016-angular8-novo-custom-element
24d5d9a
src/environments/environment.ts
TypeScript
www.github.com/d-756/016-angular8-novo-custom-element/tree/main/src/environments/environment.ts
https://raw.githubusercontent.com/d-756/016-angular8-novo-custom-element/24d5d9a/src/environments/environment.ts
d-756/016-angular8-novo-custom-element 24d5d9a src/environments/environment.ts
true
200
1,160
// This file can be replaced during build by using the `fileReplacements` array. // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. export const environment = { production: false, // tslint:disable-next-line: max-line-length ...
5
SalmaElayane/Gestion-garage-front
a542679
src/app/back-office/facture/addfacture/addfacture.service.spec.ts
TypeScript
www.github.com/SalmaElayane/Gestion-garage-front/tree/main/src/app/back-office/facture/addfacture/addfacture.service.spec.ts
https://raw.githubusercontent.com/SalmaElayane/Gestion-garage-front/a542679/src/app/back-office/facture/addfacture/addfacture.service.spec.ts
SalmaElayane/Gestion-garage-front a542679 src/app/back-office/facture/addfacture/addfacture.service.spec.ts
true
200
377
import { TestBed } from '@angular/core/testing'; import { AddfactureService } from './addfacture.service'; describe('AddfactureService', () => { let service: AddfactureService; beforeEach(() => { TestBed.configureTestingModule({}); service = TestBed.inject(AddfactureService); }); it('should be creat...
6
jopfre/periscope_tech_tests_frontend
e174969
src/theme.ts
TypeScript
www.github.com/jopfre/periscope_tech_tests_frontend/tree/main/src/theme.ts
https://raw.githubusercontent.com/jopfre/periscope_tech_tests_frontend/e174969/src/theme.ts
jopfre/periscope_tech_tests_frontend e174969 src/theme.ts
true
200
1,871
import HurmeBold from './fonts/HurmeGeometricSans3-Bold.3eb395d8.woff2'; import DMSans from './fonts/DMSans-Regular.451a3489.woff2'; import DMSansBold from './fonts/DMSans-Bold.318e4ab1.woff2'; const theme = { palette: { primary: { main: '#262d4c', }, }, typography: { fontFamily: 'DMSans, sans-...
2
KannanKathirvelm/guardian-update
64f0bcb
src/app/shared/providers/service/course/course.service.ts
TypeScript
www.github.com/KannanKathirvelm/guardian-update/tree/main/src/app/shared/providers/service/course/course.service.ts
https://raw.githubusercontent.com/KannanKathirvelm/guardian-update/64f0bcb/src/app/shared/providers/service/course/course.service.ts
KannanKathirvelm/guardian-update 64f0bcb src/app/shared/providers/service/course/course.service.ts
true
200
9,988
import { Injectable } from '@angular/core'; import { FeaturedCourseListModel, NavigatorProgram } from '@app/shared/models/course/course'; import { setSkippedContent } from '@app/shared/stores/actions/milestone.action'; import { getSkippedContentsByClassId } from '@app/shared/stores/reducers/milestone.reducer'; import {...
3
LucimaraSouzah/Training-FIAP
a2055cf
logica/src/Pessoa/Pessoa.ts
TypeScript
www.github.com/LucimaraSouzah/Training-FIAP/tree/main/logica/src/Pessoa/Pessoa.ts
https://raw.githubusercontent.com/LucimaraSouzah/Training-FIAP/a2055cf/logica/src/Pessoa/Pessoa.ts
LucimaraSouzah/Training-FIAP a2055cf logica/src/Pessoa/Pessoa.ts
true
200
285
class Pessoa { nome: string; idade: number; constructor(parametroNome: string, parametroIdade: number) { this.nome = parametroNome; this.idade = parametroIdade; console.log(`A pessoa ${this.nome} de idade ${this.idade} está andando.`); } } export default Pessoa;
1
khush1610/Video-Player
5655eeb
youtube/src/utils/parseData.ts
TypeScript
www.github.com/khush1610/Video-Player/tree/main/youtube/src/utils/parseData.ts
https://raw.githubusercontent.com/khush1610/Video-Player/5655eeb/youtube/src/utils/parseData.ts
khush1610/Video-Player 5655eeb youtube/src/utils/parseData.ts
true
200
2,896
import axios from "axios"; import { YOUTUBE_API_URL } from "../utils/constants.ts"; import { HomePageVideos } from "../type.ts"; import { timeSince } from "./timeS.ts"; import { parseVideoDuration } from "./parseVideoDur.ts"; import { convertRawtoString } from "./convertRawtoStrings.ts"; const API_KEY = process.env.R...
7
kzadd/sms-kaufmann
ede8e1e
src/app/features/sms-send/ui/containers/sms-send-massive/sms-send-massive.container.component.ts
TypeScript
www.github.com/kzadd/sms-kaufmann/tree/main/src/app/features/sms-send/ui/containers/sms-send-massive/sms-send-massive.container.component.ts
https://raw.githubusercontent.com/kzadd/sms-kaufmann/ede8e1e/src/app/features/sms-send/ui/containers/sms-send-massive/sms-send-massive.container.component.ts
kzadd/sms-kaufmann ede8e1e src/app/features/sms-send/ui/containers/sms-send-massive/sms-send-massive.container.component.ts
true
200
3,349
import { ChangeDetectionStrategy, Component, inject, OnInit } from '@angular/core' import { toSignal } from '@angular/core/rxjs-interop' import { FormGroup, NonNullableFormBuilder, ReactiveFormsModule } from '@angular/forms' import { NgIcon, provideIcons } from '@ng-icons/core' import { matCancel, matError, matSend } f...
4
rohit-lodhi1/CMS_ANGULAR
3a33a01
src/app/hr/accounts/invoices/invoice-view/invoice-view.component.ts
TypeScript
www.github.com/rohit-lodhi1/CMS_ANGULAR/tree/main/src/app/hr/accounts/invoices/invoice-view/invoice-view.component.ts
https://raw.githubusercontent.com/rohit-lodhi1/CMS_ANGULAR/3a33a01/src/app/hr/accounts/invoices/invoice-view/invoice-view.component.ts
rohit-lodhi1/CMS_ANGULAR 3a33a01 src/app/hr/accounts/invoices/invoice-view/invoice-view.component.ts
true
200
2,997
import { Component, ElementRef, OnInit, ViewChild } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { Invoice } from 'src/app/entites/invoice'; import { InvoicesService } from 'src/app/services/invoices.service'; import { Clients } from 'src/app/entites/clients'; import { Projects } from...
6
Quervin/MyleasingUI
4c3e10d
src/app/myleasing/owners/detailsOwners/detailsOwners.component.ts
TypeScript
www.github.com/Quervin/MyleasingUI/tree/main/src/app/myleasing/owners/detailsOwners/detailsOwners.component.ts
https://raw.githubusercontent.com/Quervin/MyleasingUI/4c3e10d/src/app/myleasing/owners/detailsOwners/detailsOwners.component.ts
Quervin/MyleasingUI 4c3e10d src/app/myleasing/owners/detailsOwners/detailsOwners.component.ts
true
200
3,660
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { OwnerResponse } from 'src/app/models/ownerResponse'; import { ResponseRequest } from 'src/app/models/responseRequest'; import { UserResponse } from 'src/app/models/userResponse'; import { ApiService } f...
2
wwwscss/sanya228
80a35b3
dbQueries/categories/getAllCategories.ts
TypeScript
www.github.com/wwwscss/sanya228/tree/main/dbQueries/categories/getAllCategories.ts
https://raw.githubusercontent.com/wwwscss/sanya228/80a35b3/dbQueries/categories/getAllCategories.ts
wwwscss/sanya228 80a35b3 dbQueries/categories/getAllCategories.ts
true
200
428
import { Client } from "pg"; const QUERY = "SELECT * FROM categories"; interface ICategoryFromDB { id: number; name: string; } export const getAllCategories = async ( client: Client ): Promise<ICategoryFromDB[]> => { try { const res = await client.query(QUERY); console.log(res.rows); return res.r...
0
Wissal-Tarhouni/SnapFacev1
121255b
src/app/face-snaps/components/face-snap-list/face-snap-list.component.ts
TypeScript
www.github.com/Wissal-Tarhouni/SnapFacev1/tree/main/src/app/face-snaps/components/face-snap-list/face-snap-list.component.ts
https://raw.githubusercontent.com/Wissal-Tarhouni/SnapFacev1/121255b/src/app/face-snaps/components/face-snap-list/face-snap-list.component.ts
Wissal-Tarhouni/SnapFacev1 121255b src/app/face-snaps/components/face-snap-list/face-snap-list.component.ts
true
200
929
import { Component, OnDestroy, OnInit } from '@angular/core'; import { FaceSnap } from '../../../core/models/face-snap.model'; import { FaceSnapsService } from '../../../core/services/face-snaps.service'; import { Observable, Subject, interval, takeUntil, tap } from 'rxjs'; @Component({ selector: 'app-face-snap-list...
3
mik3ymikes/cityWatchTest
0e9899e
src/app/shared/components/eventz/eventz.component.ts
TypeScript
www.github.com/mik3ymikes/cityWatchTest/tree/main/src/app/shared/components/eventz/eventz.component.ts
https://raw.githubusercontent.com/mik3ymikes/cityWatchTest/0e9899e/src/app/shared/components/eventz/eventz.component.ts
mik3ymikes/cityWatchTest 0e9899e src/app/shared/components/eventz/eventz.component.ts
true
200
4,832
import { Component, Input, OnInit } from '@angular/core'; import { Event } from '../../models/event'; import { DatePipe } from '@angular/common'; import { User } from '../../models/user'; import { UserService } from '../../../core/services/user.service'; import {FormsModule } from '@angular/forms'; import { EventServic...
1
marcel0paixao/angular-product-crud
e33eac8
src/app/components/product/product-create/product-create.component.ts
TypeScript
www.github.com/marcel0paixao/angular-product-crud/tree/main/src/app/components/product/product-create/product-create.component.ts
https://raw.githubusercontent.com/marcel0paixao/angular-product-crud/e33eac8/src/app/components/product/product-create/product-create.component.ts
marcel0paixao/angular-product-crud e33eac8 src/app/components/product/product-create/product-create.component.ts
true
200
3,173
import { Component } from '@angular/core'; import { ProductService } from '../product.service'; import { Router } from '@angular/router'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { ErrorMessages } from '../../models/errorMessage'; import { AuthService } from '../../auth/auth.service';...
4
Sirraff/Project01_438_G11
35c4c80
seasonal-bites/app/database/UserDatabase.ts
TypeScript
www.github.com/Sirraff/Project01_438_G11/tree/main/seasonal-bites/app/database/UserDatabase.ts
https://raw.githubusercontent.com/Sirraff/Project01_438_G11/35c4c80/seasonal-bites/app/database/UserDatabase.ts
Sirraff/Project01_438_G11 35c4c80 seasonal-bites/app/database/UserDatabase.ts
true
200
6,833
// UserDatabase.ts import * as SQLite from 'expo-sqlite'; interface FullUser { id: number; name_user: string; base_id: string; favorites: string; last_login: Date; location: string; } // Global variable to store the database instance let dbInstance: SQLite.SQLiteDatabase | null = null; // Opens the datab...
7
flocon-trpg/servers
52d6682
apps/web-server/src/hooks/useOpenFloconUploaderFile.ts
TypeScript
www.github.com/flocon-trpg/servers/tree/main/apps/web-server/src/hooks/useOpenFloconUploaderFile.ts
https://raw.githubusercontent.com/flocon-trpg/servers/52d6682/apps/web-server/src/hooks/useOpenFloconUploaderFile.ts
flocon-trpg/servers 52d6682 apps/web-server/src/hooks/useOpenFloconUploaderFile.ts
true
200
2,006
import { App } from 'antd'; import { useAtomValue } from 'jotai'; import fileDownload from 'js-file-download'; import React from 'react'; import { getIdTokenResultAtom } from './useSetupApp'; import { useSingleExecuteAsync1 } from './useSingleExecuteAsync'; import { useWebConfig } from './useWebConfig'; import { files,...
5
wenceslauthiagon/kafka-api-services
0f3bdb2
apps/otc/src/infrastructure/nest/controllers/spread/get_by_user_and_currencies.controller.ts
TypeScript
www.github.com/wenceslauthiagon/kafka-api-services/tree/main/apps/otc/src/infrastructure/nest/controllers/spread/get_by_user_and_currencies.controller.ts
https://raw.githubusercontent.com/wenceslauthiagon/kafka-api-services/0f3bdb2/apps/otc/src/infrastructure/nest/controllers/spread/get_by_user_and_currencies.controller.ts
wenceslauthiagon/kafka-api-services 0f3bdb2 apps/otc/src/infrastructure/nest/controllers/spread/get_by_user_and_currencies.controller.ts
true
200
2,135
import { Logger } from 'winston'; import { Controller } from '@nestjs/common'; import { Payload, KafkaContext, Ctx } from '@nestjs/microservices'; import { CacheTTL, KafkaMessage, KafkaMessagePattern, KafkaResponse, LoggerParam, MicroserviceController, RepositoryParam, } from '@zro/common'; import { Spre...
6
uchel09/chell-chat-app
72156c1
lib/uploadToCloudinary.ts
TypeScript
www.github.com/uchel09/chell-chat-app/tree/main/lib/uploadToCloudinary.ts
https://raw.githubusercontent.com/uchel09/chell-chat-app/72156c1/lib/uploadToCloudinary.ts
uchel09/chell-chat-app 72156c1 lib/uploadToCloudinary.ts
true
200
618
export const uploadToCloudinary = async (images: File[]) => { let imgArr = []; for (const item of images) { const formData = new FormData(); formData.append("file", item); formData.append("upload_preset", "wzzcd2we"); formData.append("cloud_name", "dis16svjq"); formData.append("folder", "posts...
2
felipeaguilera245/angular-test
f77825b
src/app/services/countries.service.ts
TypeScript
www.github.com/felipeaguilera245/angular-test/tree/main/src/app/services/countries.service.ts
https://raw.githubusercontent.com/felipeaguilera245/angular-test/f77825b/src/app/services/countries.service.ts
felipeaguilera245/angular-test f77825b src/app/services/countries.service.ts
true
200
940
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { map } from 'rxjs/operators'; @Injectable({ providedIn: 'root' }) export class CountriesService { constructor(private http: HttpClient) { console.log("levantando servicio countries"); } getPaises() { ...
0
anhnv1202/3DHA_System_Back_End
176179f
src/modules/discount/discount.repository.ts
TypeScript
www.github.com/anhnv1202/3DHA_System_Back_End/tree/main/src/modules/discount/discount.repository.ts
https://raw.githubusercontent.com/anhnv1202/3DHA_System_Back_End/176179f/src/modules/discount/discount.repository.ts
anhnv1202/3DHA_System_Back_End 176179f src/modules/discount/discount.repository.ts
true
200
428
import { Discount } from '@models/discount.model'; import { Injectable } from '@nestjs/common'; import { InjectModel } from '@nestjs/mongoose'; import { Model } from 'mongoose'; import { BaseRepository } from 'src/base/base.repository'; @Injectable() export class DiscountsRepository extends BaseRepository<Discount> { ...
1
tonkeeper/ton-console
69a7c3d
src/app/providers/with-chakra/theme/components/tabs/baseStyle.ts
TypeScript
www.github.com/tonkeeper/ton-console/tree/main/src/app/providers/with-chakra/theme/components/tabs/baseStyle.ts
https://raw.githubusercontent.com/tonkeeper/ton-console/69a7c3d/src/app/providers/with-chakra/theme/components/tabs/baseStyle.ts
tonkeeper/ton-console 69a7c3d src/app/providers/with-chakra/theme/components/tabs/baseStyle.ts
true
200
966
import textStyles from 'src/app/providers/with-chakra/theme/foundations/textStyles'; import { definePartsStyle } from './parts'; export default definePartsStyle({ tab: { ...textStyles.label2, position: 'relative', _after: { content: '""', display: 'block', ...
3
deathstarSti/eAuctions-Project
7b0eaee
admin-user-details.component.ts
TypeScript
www.github.com/deathstarSti/eAuctions-Project/tree/main/admin-user-details.component.ts
https://raw.githubusercontent.com/deathstarSti/eAuctions-Project/7b0eaee/admin-user-details.component.ts
deathstarSti/eAuctions-Project 7b0eaee admin-user-details.component.ts
true
200
1,313
import {Component, OnInit} from '@angular/core'; import {RestService} from '../rest.service'; import {ActivatedRoute, Router} from '@angular/router'; import {User} from '../model/user'; @Component({ selector: 'app-admin-user-details', templateUrl: './admin-user-details.component.html', styleUrls: ['./admin...
4
ayoub-aitouna/Transcendent
c2a9ac2
src/frontend/src/lib/bracket-data-processer.ts
TypeScript
www.github.com/ayoub-aitouna/Transcendent/tree/main/src/frontend/src/lib/bracket-data-processer.ts
https://raw.githubusercontent.com/ayoub-aitouna/Transcendent/c2a9ac2/src/frontend/src/lib/bracket-data-processer.ts
ayoub-aitouna/Transcendent c2a9ac2 src/frontend/src/lib/bracket-data-processer.ts
true
200
1,155
import { Brackets } from "@/type/dashboard/tournament"; const RoundList = ( list: Brackets[], size: number, round_number?: number ): Brackets[] => { if (!list) list = []; for (let i = list.length; i < size; i++) { list.push({ player: {}, round_number: round_number || -1, }); } return list; }; const ...
7
and-period/furuneko
c9d0dc1
web/src/plugins/vuetify.ts
TypeScript
www.github.com/and-period/furuneko/tree/main/web/src/plugins/vuetify.ts
https://raw.githubusercontent.com/and-period/furuneko/c9d0dc1/web/src/plugins/vuetify.ts
and-period/furuneko c9d0dc1 web/src/plugins/vuetify.ts
true
200
2,127
import { createVuetify } from 'vuetify/lib/framework.mjs' import { md3 } from 'vuetify/blueprints' import { ja } from 'vuetify/locale' import * as components from 'vuetify/components' import * as labs from 'vuetify/labs/components' import * as directives from 'vuetify/directives' import { aliases, mdi } from 'vuetify/i...
5
KirillRodichev/react-native-linechart
6f8d673
src/hooks/useVerticalLabelValue.ts
TypeScript
www.github.com/KirillRodichev/react-native-linechart/tree/main/src/hooks/useVerticalLabelValue.ts
https://raw.githubusercontent.com/KirillRodichev/react-native-linechart/6f8d673/src/hooks/useVerticalLabelValue.ts
KirillRodichev/react-native-linechart 6f8d673 src/hooks/useVerticalLabelValue.ts
true
200
861
import { interpolate, SharedValue, useDerivedValue, } from 'react-native-reanimated'; import { useLineChartConfig } from '../components'; import { ILineChartInterpolationRanges } from '../LineChart.types'; interface IUseVerticalLabelValueProps { y: SharedValue<number> | number; interpolationRangesY: ILineCh...
6
ShaileeGavnekar/NobelsEducationApp
b653d31
server/src/Student/student.controller.ts
TypeScript
www.github.com/ShaileeGavnekar/NobelsEducationApp/tree/main/server/src/Student/student.controller.ts
https://raw.githubusercontent.com/ShaileeGavnekar/NobelsEducationApp/b653d31/server/src/Student/student.controller.ts
ShaileeGavnekar/NobelsEducationApp b653d31 server/src/Student/student.controller.ts
true
200
7,137
import express from 'express' import studentService from './student.service' import { isError } from '../Subject/subject.service' import HttpStatusCodes from 'http-status-codes' import { isUndefined } from 'lodash' import { getFileStream } from '../Upload/upload' class StudentController { async getStudentById(req: e...
2
Metsuge/Typescript-Game
de07a93
src/utils/ecs/entity.ts
TypeScript
www.github.com/Metsuge/Typescript-Game/tree/main/src/utils/ecs/entity.ts
https://raw.githubusercontent.com/Metsuge/Typescript-Game/de07a93/src/utils/ecs/entity.ts
Metsuge/Typescript-Game de07a93 src/utils/ecs/entity.ts
true
200
1,901
import { IComponent } from "./component.h"; // internal type, not accessible outsite entity.ts type constr<T> = { new(...args: unknown[]): T } // type of Component to expect export abstract class Entity { protected _components: IComponent[] = []; // give read-only access for the outside world /*Getter methods...
3
JoshuaCoquelle/ShopBooster
3f5ee32
src/products/product.types.ts
TypeScript
www.github.com/JoshuaCoquelle/ShopBooster/tree/main/src/products/product.types.ts
https://raw.githubusercontent.com/JoshuaCoquelle/ShopBooster/3f5ee32/src/products/product.types.ts
JoshuaCoquelle/ShopBooster 3f5ee32 src/products/product.types.ts
true
200
362
export interface IProduct { id: number; title: string; description: string; category: "electronics" | "jewelery" | "men's clothing" | "women's clothing"; image: string; price: number; rating: Record<string, number>; } export interface IProductService { all: () => Promise<Response>; } export interface ...
4
diegofelipesoares/minhas-tarefas
16d962c
src/styles/index.ts
TypeScript
www.github.com/diegofelipesoares/minhas-tarefas/tree/main/src/styles/index.ts
https://raw.githubusercontent.com/diegofelipesoares/minhas-tarefas/16d962c/src/styles/index.ts
diegofelipesoares/minhas-tarefas 16d962c src/styles/index.ts
true
200
1,254
import styled, { createGlobalStyle } from "styled-components"; import variaveis from "./variaveis"; const EstiloGlobal = createGlobalStyle` *{ margin: 0; padding: 0; box-sizing: border-box; font-family: Roboto, sans-serif; } ` //criando container export const Container = styled.div` display:grid; grid-tem...
7
WebKieth/blank-ui
c91d358
vue/src/plugins/iconify/main.ts
TypeScript
www.github.com/WebKieth/blank-ui/tree/main/vue/src/plugins/iconify/main.ts
https://raw.githubusercontent.com/WebKieth/blank-ui/c91d358/vue/src/plugins/iconify/main.ts
WebKieth/blank-ui c91d358 vue/src/plugins/iconify/main.ts
true
200
817
import { App, ref } from "vue" import { IconifyOptions, IconifyProvided } from "./types" export const $iconify = Symbol('iconify') export const $icons = Symbol('icons') export const installIcons = ( app: App, options: IconifyOptions = { spriteUrl: 'https://cdn.jsdelivr.net/npm/remixicon@4.6.0/fonts/remixico...
0
AaronHernandezPerez/pathfinding-visualizer
0502a25
src/algorithms/unweighted/breadthFirstSearch.ts
TypeScript
www.github.com/AaronHernandezPerez/pathfinding-visualizer/tree/main/src/algorithms/unweighted/breadthFirstSearch.ts
https://raw.githubusercontent.com/AaronHernandezPerez/pathfinding-visualizer/0502a25/src/algorithms/unweighted/breadthFirstSearch.ts
AaronHernandezPerez/pathfinding-visualizer 0502a25 src/algorithms/unweighted/breadthFirstSearch.ts
true
200
1,804
import { AlgorithmsParameters, AlgorithmsReturn, VisitedPath, } from 'algorithms/types'; import { getConnectingNodes, getPath } from 'algorithms/utils'; import Queue from 'structures/Queue'; import { GridNode, NodeType } from 'types'; /** * 1. Add root node to the queue, and mark it as visited(already explored)...
2
reynaldineo/Project-Management-Board
8e0653f
src/hooks/PostNewTask.ts
TypeScript
www.github.com/reynaldineo/Project-Management-Board/tree/main/src/hooks/PostNewTask.ts
https://raw.githubusercontent.com/reynaldineo/Project-Management-Board/8e0653f/src/hooks/PostNewTask.ts
reynaldineo/Project-Management-Board 8e0653f src/hooks/PostNewTask.ts
true
200
528
import { useMutation } from "@tanstack/react-query"; import api from "../lib/api"; import { PostTask } from "../types/task/PostTask"; import { toast } from "react-toastify"; export default function PostNewTask() { const { mutate: mutateNewTask, isPending } = useMutation({ mutationFn: (newTask: PostTask) => { ...
5
jinzhongjia/newMovieAdmin
e66c977
src/data/movies.ts
TypeScript
www.github.com/jinzhongjia/newMovieAdmin/tree/main/src/data/movies.ts
https://raw.githubusercontent.com/jinzhongjia/newMovieAdmin/e66c977/src/data/movies.ts
jinzhongjia/newMovieAdmin e66c977 src/data/movies.ts
true
200
3,596
import { general_render } from '@/data/tool' import { useStateStore, useMovieStore } from '@/store' import { del_content } from '@/tool/api' import { Movie, cloneMovie } from '@/types/base' import type { DataTableColumns } from 'naive-ui' import { NButton, NSpace } from 'naive-ui' const stateStore = useStateStore() co...
6
Charlygraphy23/trello-clone-backend
0d1d390
src/models/user/invite.model.ts
TypeScript
www.github.com/Charlygraphy23/trello-clone-backend/tree/main/src/models/user/invite.model.ts
https://raw.githubusercontent.com/Charlygraphy23/trello-clone-backend/0d1d390/src/models/user/invite.model.ts
Charlygraphy23/trello-clone-backend 0d1d390 src/models/user/invite.model.ts
true
200
716
import mongoose from 'mongoose'; export interface InviteModelType { _id?: mongoose.Types.ObjectId, email?: string; accepted?: boolean, boardId?: mongoose.Types.ObjectId } const schema = new mongoose.Schema<InviteModelType>( { email: { type: String, default: '', ...
1
mizumaru1108/maru_be_tender
d4f404f
apps/pwa/src/redux/store.ts
TypeScript
www.github.com/mizumaru1108/maru_be_tender/tree/main/apps/pwa/src/redux/store.ts
https://raw.githubusercontent.com/mizumaru1108/maru_be_tender/d4f404f/apps/pwa/src/redux/store.ts
mizumaru1108/maru_be_tender d4f404f apps/pwa/src/redux/store.ts
true
200
1,249
import { configureStore, getDefaultMiddleware } from '@reduxjs/toolkit'; import { useDispatch as useAppDispatch, useSelector as useAppSelector, TypedUseSelectorHook, } from 'react-redux'; import { persistStore, persistReducer } from 'redux-persist'; import { rootPersistConfig, rootReducer } from './rootReducer'; ...
3
Connects-You/connects_you_server
a5c08c3
src/utils/index.ts
TypeScript
www.github.com/Connects-You/connects_you_server/tree/main/src/utils/index.ts
https://raw.githubusercontent.com/Connects-You/connects_you_server/a5c08c3/src/utils/index.ts
Connects-You/connects_you_server a5c08c3 src/utils/index.ts
true
200
1,579
import { Response } from "express"; import { NetworkResponse } from "../constants"; export * from "./calculations"; export * from "./client"; export * from "./crypto"; export * from "./geoData"; export class Reject { code; error; reason; constructor({ code, error, reason, }: { code: number;...
4
kevinquintanah12/frontgersonmanager
a0888ae
src/app/interest/interest.component.ts
TypeScript
www.github.com/kevinquintanah12/frontgersonmanager/tree/main/src/app/interest/interest.component.ts
https://raw.githubusercontent.com/kevinquintanah12/frontgersonmanager/a0888ae/src/app/interest/interest.component.ts
kevinquintanah12/frontgersonmanager a0888ae src/app/interest/interest.component.ts
true
200
4,711
import { Component, OnInit } from '@angular/core'; import { GraphqlInterestService } from '../services/interest.services'; import { StorageService } from '../services/storage.service'; import { Router, ActivatedRoute } from '@angular/router'; @Component({ selector: 'app-interest', templateUrl: './interest.componen...
7
Guiners/Used-Auto-Parts-Marketplace
692ae94
server/src/services/userService.ts
TypeScript
www.github.com/Guiners/Used-Auto-Parts-Marketplace/tree/main/server/src/services/userService.ts
https://raw.githubusercontent.com/Guiners/Used-Auto-Parts-Marketplace/692ae94/server/src/services/userService.ts
Guiners/Used-Auto-Parts-Marketplace 692ae94 server/src/services/userService.ts
true
200
1,730
import jwt from 'jsonwebtoken'; import bcrypt from 'bcrypt'; import { User } from '../entities/userEntity'; const UserDB = require('../model/User'); const BlacklistedTokenDB = require('../model/blackListedTokens'); const jwtAuth = require('../middlewear/jwtAuth') const register = async (user: User) => { try { ...
0
arabahimrane/portfolio
0a69b4b
client/src/app/shared/service/api.service.ts
TypeScript
www.github.com/arabahimrane/portfolio/tree/main/client/src/app/shared/service/api.service.ts
https://raw.githubusercontent.com/arabahimrane/portfolio/0a69b4b/client/src/app/shared/service/api.service.ts
arabahimrane/portfolio 0a69b4b client/src/app/shared/service/api.service.ts
true
200
2,760
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { ApiPath } from './API'; import { catchError, map, Observable, tap } from 'rxjs'; import { ClientsData } from '../interface/clientData'; import { Certificate } from '../interface/certicates'; import { MyCookieService ...
2
youtics/wpDesdeCeroLaBancaria
62d1f8b
src/app/dashboard/list-post/list-post.component.ts
TypeScript
www.github.com/youtics/wpDesdeCeroLaBancaria/tree/main/src/app/dashboard/list-post/list-post.component.ts
https://raw.githubusercontent.com/youtics/wpDesdeCeroLaBancaria/62d1f8b/src/app/dashboard/list-post/list-post.component.ts
youtics/wpDesdeCeroLaBancaria 62d1f8b src/app/dashboard/list-post/list-post.component.ts
true
200
644
import { Component, OnInit } from '@angular/core'; import { ServicioApiService } from 'src/app/services/servicio-api.service'; @Component({ selector: 'app-list-post', templateUrl: './list-post.component.html', styleUrls: ['./list-post.component.css'] }) export class ListPostComponent implements OnInit { listP...
1
mkskumar12345/zylax
650c198
src/serverActions/contactUsActions.ts
TypeScript
www.github.com/mkskumar12345/zylax/tree/main/src/serverActions/contactUsActions.ts
https://raw.githubusercontent.com/mkskumar12345/zylax/650c198/src/serverActions/contactUsActions.ts
mkskumar12345/zylax 650c198 src/serverActions/contactUsActions.ts
true
200
464
import allApiRoutes from "@/constants/allApiRoutes"; import { postDataWrapper } from "@/fetcher/fetchWrapper"; import toast from "react-hot-toast"; export const contactActions = async (payload: any) => { const response = await postDataWrapper(allApiRoutes.contact.CONTACT, payload); console.log({ payload }); if (...
6
gaweCodes/NutriFit
29f3f12
NutriFit.Client.Angular/src/app/app.component.ts
TypeScript
www.github.com/gaweCodes/NutriFit/tree/main/NutriFit.Client.Angular/src/app/app.component.ts
https://raw.githubusercontent.com/gaweCodes/NutriFit/29f3f12/NutriFit.Client.Angular/src/app/app.component.ts
gaweCodes/NutriFit 29f3f12 NutriFit.Client.Angular/src/app/app.component.ts
true
200
335
import { Component } from '@angular/core'; import { RouterOutlet } from '@angular/router'; import { globalModules } from '../shared/GlobalModules'; @Component({ selector: 'app-root', imports: [RouterOutlet, globalModules], templateUrl: './app.component.html', styleUrl: './app.component.scss', }) export class A...
5
thewanionly/entertainment-web-app
ec58ac7
src/services/medias/fetchUpcomingMedias.ts
TypeScript
www.github.com/thewanionly/entertainment-web-app/tree/main/src/services/medias/fetchUpcomingMedias.ts
https://raw.githubusercontent.com/thewanionly/entertainment-web-app/ec58ac7/src/services/medias/fetchUpcomingMedias.ts
thewanionly/entertainment-web-app ec58ac7 src/services/medias/fetchUpcomingMedias.ts
true
200
1,788
import { MediaCardType } from '@/types/medias'; import { MediasApiMediaType, MediasApiMovie, MediasApiResponse, MediasApiTV, } from './mediasApi.types'; import { transformMediaResults } from './mediasApi.utils'; const options: RequestInit = { method: 'GET', headers: { accept: 'application/json', A...
3