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
DroidsOnRoids/fullstack-recruitment-task-2024-api
d124831
src/recruitment-task/products/use-cases/get-paginated-products.ts
TypeScript
www.github.com/DroidsOnRoids/fullstack-recruitment-task-2024-api/tree/main/src/recruitment-task/products/use-cases/get-paginated-products.ts
https://raw.githubusercontent.com/DroidsOnRoids/fullstack-recruitment-task-2024-api/d124831/src/recruitment-task/products/use-cases/get-paginated-products.ts
DroidsOnRoids/fullstack-recruitment-task-2024-api d124831 src/recruitment-task/products/use-cases/get-paginated-products.ts
true
200
776
import { Inject } from '@nestjs/common'; import { Pagination } from '../../pagination'; import { ProductsRepository } from '../../ports'; import { UseCase } from '../../use-case'; import { Product } from '../models/product'; interface GetPaginatedProductsInput { pagination: Pagination; } interface GetPaginatedProduc...
2
Rexkit/tabatime-mono
09dce20
apps/backend/src/app/trainings/trainings.module.ts
TypeScript
www.github.com/Rexkit/tabatime-mono/tree/main/apps/backend/src/app/trainings/trainings.module.ts
https://raw.githubusercontent.com/Rexkit/tabatime-mono/09dce20/apps/backend/src/app/trainings/trainings.module.ts
Rexkit/tabatime-mono 09dce20 apps/backend/src/app/trainings/trainings.module.ts
true
200
612
import { Module } from '@nestjs/common'; import { MongooseModule } from '@nestjs/mongoose'; import { TrainingsService } from './trainings.service'; import { TrainingsController } from './trainings.controller'; import { TrainingModel, TrainingSchema } from './models/training.model'; import { UsersModule } from '../user...
7
LucyJVIan/show
b68157b
src/resources/sections/NewsDetail/NewsDetail-styles.ts
TypeScript
www.github.com/LucyJVIan/show/tree/main/src/resources/sections/NewsDetail/NewsDetail-styles.ts
https://raw.githubusercontent.com/LucyJVIan/show/b68157b/src/resources/sections/NewsDetail/NewsDetail-styles.ts
LucyJVIan/show b68157b src/resources/sections/NewsDetail/NewsDetail-styles.ts
true
200
3,152
import styled from 'styled-components'; import { colors, device, fontAvenirNextCyr } from 'resources/constants'; import { font } from 'resources/utils'; export const Root = styled.div` display: flex; flex-direction: column; row-gap: 60px; max-width: 100%; font-family: ${fontAvenirNextCyr.style.fon...
3
Jimmy-Vela06/Zeal-Intern-Angular
eae696b
intern-project/src/app/home/home.component.ts
TypeScript
www.github.com/Jimmy-Vela06/Zeal-Intern-Angular/tree/main/intern-project/src/app/home/home.component.ts
https://raw.githubusercontent.com/Jimmy-Vela06/Zeal-Intern-Angular/eae696b/intern-project/src/app/home/home.component.ts
Jimmy-Vela06/Zeal-Intern-Angular eae696b intern-project/src/app/home/home.component.ts
true
200
371
import { Component } from '@angular/core'; import { CommonModule } from '@angular/common'; import { ThreeJsComponent } from '../three-js/three-js.component'; @Component({ selector: 'app-home', standalone: true, imports: [CommonModule, ThreeJsComponent], templateUrl: './home.component.html', styleUrl: './hom...
6
oleksapanchuk/glasses-store-angular
7479a47
src/app/app.component.ts
TypeScript
www.github.com/oleksapanchuk/glasses-store-angular/tree/main/src/app/app.component.ts
https://raw.githubusercontent.com/oleksapanchuk/glasses-store-angular/7479a47/src/app/app.component.ts
oleksapanchuk/glasses-store-angular 7479a47 src/app/app.component.ts
true
200
773
import {Component} from '@angular/core'; import {CommonModule} from '@angular/common'; import {HttpClientModule} from '@angular/common/http'; import {RouterOutlet} from '@angular/router'; import {HeaderComponent} from "./components/utils/header/header.component"; import {FooterComponent} from './components/utils/footer...
0
codesandbox/codesandbox-desktop
9fcd773
src/view/helpers.ts
TypeScript
www.github.com/codesandbox/codesandbox-desktop/tree/main/src/view/helpers.ts
https://raw.githubusercontent.com/codesandbox/codesandbox-desktop/9fcd773/src/view/helpers.ts
codesandbox/codesandbox-desktop 9fcd773 src/view/helpers.ts
true
200
376
import type { TabGroup, Tab } from "electron-tabs"; import { urls } from "./config"; export const toggleBackgroundColor = (tabGroup: TabGroup, activeTab: Tab) => { const nav = tabGroup.shadowRoot.querySelector(".nav"); if (activeTab.webviewAttributes.src.includes(urls.project)) { nav.classList.add("project");...
2
nadir-eliel/conexa
7000d17
src/auth/auth.service.spec.ts
TypeScript
www.github.com/nadir-eliel/conexa/tree/main/src/auth/auth.service.spec.ts
https://raw.githubusercontent.com/nadir-eliel/conexa/7000d17/src/auth/auth.service.spec.ts
nadir-eliel/conexa 7000d17 src/auth/auth.service.spec.ts
true
200
3,523
import { Test, TestingModule } from '@nestjs/testing'; import { AuthService } from './auth.service'; import { UsersService } from '../users/users.service'; import { JwtService } from '@nestjs/jwt'; import { UnauthorizedException } from '@nestjs/common'; import * as bcrypt from 'bcryptjs'; describe('AuthService', () =>...
7
anguyen44/react_app_full_stack
d7214ff
src/shared/store/selectors/teams.selector.ts
TypeScript
www.github.com/anguyen44/react_app_full_stack/tree/main/src/shared/store/selectors/teams.selector.ts
https://raw.githubusercontent.com/anguyen44/react_app_full_stack/d7214ff/src/shared/store/selectors/teams.selector.ts
anguyen44/react_app_full_stack d7214ff src/shared/store/selectors/teams.selector.ts
true
200
834
import { createSelector } from "@reduxjs/toolkit"; import { sortItemsByDisplayName } from "shared/utils/sort.utils"; import { RootState } from ".."; export const sortTeamsListByName = (sortType: SortType) => createSelector( (state: RootState) => state.userReducer.teams, (teams) => { if (teams) { ...
3
bimeiras/rentalx-ignite
c73d161
src/shared/container/providers/MailProvider/implementations/EtherealMailProvider.ts
TypeScript
www.github.com/bimeiras/rentalx-ignite/tree/main/src/shared/container/providers/MailProvider/implementations/EtherealMailProvider.ts
https://raw.githubusercontent.com/bimeiras/rentalx-ignite/c73d161/src/shared/container/providers/MailProvider/implementations/EtherealMailProvider.ts
bimeiras/rentalx-ignite c73d161 src/shared/container/providers/MailProvider/implementations/EtherealMailProvider.ts
true
200
1,472
import { injectable } from "tsyringe"; import { IMailProvider } from "../IMailProvider"; import nodemailer, { Transporter } from "nodemailer"; import handlebars from "handlebars" import fs from "fs" @injectable() class EtherealMailProvider implements IMailProvider { private client: Transporter constructor() ...
6
favian-dev/favian-simplor
04bd8ab
src/app/components/usage-page/modal-example-vii/modal-example-vii.component.ts
TypeScript
www.github.com/favian-dev/favian-simplor/tree/main/src/app/components/usage-page/modal-example-vii/modal-example-vii.component.ts
https://raw.githubusercontent.com/favian-dev/favian-simplor/04bd8ab/src/app/components/usage-page/modal-example-vii/modal-example-vii.component.ts
favian-dev/favian-simplor 04bd8ab src/app/components/usage-page/modal-example-vii/modal-example-vii.component.ts
true
200
662
import { Component } from '@angular/core'; import { CommonModule } from '@angular/common'; import { SplModalService, SplStrokeButtonDirective } from '@favian/simplor'; import { TestModalViiComponent } from './test-modal-vii/test-modal-vii.component'; @Component({ selector: 'app-modal-example-vii', standalone: true...
0
bridge-design/wc-design-system
339d133
scripts/add-component.ts
TypeScript
www.github.com/bridge-design/wc-design-system/tree/main/scripts/add-component.ts
https://raw.githubusercontent.com/bridge-design/wc-design-system/339d133/scripts/add-component.ts
bridge-design/wc-design-system 339d133 scripts/add-component.ts
true
200
2,358
/* eslint-disable no-console */ import { green, yellow } from 'colorette'; import fs from 'fs'; import { ncp } from 'ncp'; const PREFIX = 'WC'; try { const args = process.argv; const newComponentName = args.pop(); if (!newComponentName) { console.error('Please provide component name'); process.exit(0);...
5
wassim15374/gestion_employee
5957579
src/app/pages/gestion-department/list/list.component.ts
TypeScript
www.github.com/wassim15374/gestion_employee/tree/main/src/app/pages/gestion-department/list/list.component.ts
https://raw.githubusercontent.com/wassim15374/gestion_employee/5957579/src/app/pages/gestion-department/list/list.component.ts
wassim15374/gestion_employee 5957579 src/app/pages/gestion-department/list/list.component.ts
true
200
806
import { Component ,OnInit } from '@angular/core'; import { DepartmentService } from '../../../services/department.service'; // lors de l'imort sans autre modification dans la page il y a une erreur @Component({ selector: 'app-list', templateUrl: './list.component.html', styleUrls: ['./list.component.css'] }) e...
1
qlaffont/starter-web
2aa1c0f
services/apis/RestAPIService.ts
TypeScript
www.github.com/qlaffont/starter-web/tree/main/services/apis/RestAPIService.ts
https://raw.githubusercontent.com/qlaffont/starter-web/2aa1c0f/services/apis/RestAPIService.ts
qlaffont/starter-web 2aa1c0f services/apis/RestAPIService.ts
true
200
837
import { getAccessToken } from 'next-protected-auth'; import { env } from '../env'; const base = env.NEXT_PUBLIC_API_URL; class RestAPIService { static login = `${base}/auth/login`; public static async logout() { const res = await fetch(`${base}/auth/logout`, { method: 'POST', headers: { ...
2
Joveee05/ticket-booking-system
8b75f57
src/server.ts
TypeScript
www.github.com/Joveee05/ticket-booking-system/tree/main/src/server.ts
https://raw.githubusercontent.com/Joveee05/ticket-booking-system/8b75f57/src/server.ts
Joveee05/ticket-booking-system 8b75f57 src/server.ts
true
200
531
import 'reflect-metadata'; import { App } from '@/app'; import { EventRoute } from '@routes/event.route'; import { ValidateEnv } from '@utils/validateEnv'; import { WaitingListRoute } from './routes/waitlist.route'; import { TicketRoute } from './routes/ticket.route'; import { UserRoute } from './routes/users.route'; i...
7
Hiten1007/ZapMe-Backend
4b765f9
src/schemas/userSignUp.ts
TypeScript
www.github.com/Hiten1007/ZapMe-Backend/tree/main/src/schemas/userSignUp.ts
https://raw.githubusercontent.com/Hiten1007/ZapMe-Backend/4b765f9/src/schemas/userSignUp.ts
Hiten1007/ZapMe-Backend 4b765f9 src/schemas/userSignUp.ts
true
200
310
import { z } from "zod"; export const userSignupSchema = z.object({ email: z.string().email(), username: z.string().min(1).max(20), name: z.string().min(1), password: z.string().min(4, "Password must be at least 8 characters long"), }); export type UserSignupInput = z.infer<typeof userSignupSchema>;
4
Raellopes368/ludo-edu
caf3548
src/app/use-cases/students/get-question-to-answer.ts
TypeScript
www.github.com/Raellopes368/ludo-edu/tree/main/src/app/use-cases/students/get-question-to-answer.ts
https://raw.githubusercontent.com/Raellopes368/ludo-edu/caf3548/src/app/use-cases/students/get-question-to-answer.ts
Raellopes368/ludo-edu caf3548 src/app/use-cases/students/get-question-to-answer.ts
true
200
950
import { QuestionsRepository } from '@app/repositories/QuestionsRepository'; import { HttpException, HttpStatus, Injectable } from '@nestjs/common'; import { CheckStudentCanGetAQuestionToAnswer } from './check-student-can-get-a-question-to-answer'; interface GetQuestionToAnswerRequest { user_id: string; game_id: s...
3
shu1224/mcu-112-web-12131564-final
ec9ee4a
src/app/article-preview/article-preview.component.ts
TypeScript
www.github.com/shu1224/mcu-112-web-12131564-final/tree/main/src/app/article-preview/article-preview.component.ts
https://raw.githubusercontent.com/shu1224/mcu-112-web-12131564-final/ec9ee4a/src/app/article-preview/article-preview.component.ts
shu1224/mcu-112-web-12131564-final ec9ee4a src/app/article-preview/article-preview.component.ts
true
200
1,142
import { Component, HostBinding } from '@angular/core'; import { TagListComponent } from '../tag-list/tag-list.component'; import { FavoriteButtonComponent } from '../favorite-button/favorite-button.component'; import { Article } from '../model/article'; import { DatePipe } from '@angular/common'; @Component({ sele...
5
YuryDash/test-coworc
a687b84
src/ReduxCounter/redux/reducers/maxMinReducer.ts
TypeScript
www.github.com/YuryDash/test-coworc/tree/main/src/ReduxCounter/redux/reducers/maxMinReducer.ts
https://raw.githubusercontent.com/YuryDash/test-coworc/a687b84/src/ReduxCounter/redux/reducers/maxMinReducer.ts
YuryDash/test-coworc a687b84 src/ReduxCounter/redux/reducers/maxMinReducer.ts
true
200
976
type addMinValueAT = ReturnType<typeof addMinValueAC>; type addMaxValueAT = ReturnType<typeof addMaxValueAC>; type ActionType = addMinValueAT | addMaxValueAT; const initialState: MaxMinStateType = { numberValueMin: 0, numberValueMax: 1, }; export type MaxMinStateType = { numberValueMin: number; numberValueMa...
0
imran786asus/chat-app
5443bd1
client/src/app/services/user.service.ts
TypeScript
www.github.com/imran786asus/chat-app/tree/main/client/src/app/services/user.service.ts
https://raw.githubusercontent.com/imran786asus/chat-app/5443bd1/client/src/app/services/user.service.ts
imran786asus/chat-app 5443bd1 client/src/app/services/user.service.ts
true
200
1,159
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { environment } from 'src/environments/environment'; import { Observable } from 'rxjs'; import { Router } from '@angular/router'; @Injectable({ providedIn: 'root' }) export class UserService { URL: string = envir...
6
Aujasvi09/datingApp
14e6652
src/app/members/member-detail/member-detail.component.ts
TypeScript
www.github.com/Aujasvi09/datingApp/tree/main/src/app/members/member-detail/member-detail.component.ts
https://raw.githubusercontent.com/Aujasvi09/datingApp/14e6652/src/app/members/member-detail/member-detail.component.ts
Aujasvi09/datingApp 14e6652 src/app/members/member-detail/member-detail.component.ts
true
200
932
import { Component, computed, inject, input } from '@angular/core'; import { Member } from '../../models/Member'; import { RouterLink } from '@angular/router'; import { LikeService } from '../../_services/like.service'; @Component({ selector: 'app-member-detail', standalone: true, imports: [RouterLink], templa...
1
Harsha707/casecobra
af6f7ac
src/app/configure/preview/actions.ts
TypeScript
www.github.com/Harsha707/casecobra/tree/main/src/app/configure/preview/actions.ts
https://raw.githubusercontent.com/Harsha707/casecobra/af6f7ac/src/app/configure/preview/actions.ts
Harsha707/casecobra af6f7ac src/app/configure/preview/actions.ts
true
200
1,731
"use server"; import { BASE_PRICE, PRODUCT_PRICES } from "@/config/products"; import { db } from "@/db"; import { razorpay } from "@/lib/razorpay"; import { getKindeServerSession } from "@kinde-oss/kinde-auth-nextjs/server"; import { Order } from "@prisma/client"; export const createCheckoutSession = async ({ confi...
2
FernandoGarcia1/movies-app
97e6fcd
src/app/components/auth/auth.module.ts
TypeScript
www.github.com/FernandoGarcia1/movies-app/tree/main/src/app/components/auth/auth.module.ts
https://raw.githubusercontent.com/FernandoGarcia1/movies-app/97e6fcd/src/app/components/auth/auth.module.ts
FernandoGarcia1/movies-app 97e6fcd src/app/components/auth/auth.module.ts
true
200
528
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { AuthComponent } from './auth/auth.component'; import { ReactiveFormsModule } from '@angular/forms'; import { RouterModule } from '@angular/router'; import { MaterialModule } from '../shared/material.module'; @NgModule...
7
alessandro-stella/most-amazing
05851d2
utils/hooks/useScreenSize.ts
TypeScript
www.github.com/alessandro-stella/most-amazing/tree/main/utils/hooks/useScreenSize.ts
https://raw.githubusercontent.com/alessandro-stella/most-amazing/05851d2/utils/hooks/useScreenSize.ts
alessandro-stella/most-amazing 05851d2 utils/hooks/useScreenSize.ts
true
200
826
import { useEffect, useState } from "react"; function useScreenSize(maxWidth = 768): { size: { width: number; height: number }; isMobile: boolean; } { const [isMobile, setIsMobile] = useState(false); const [width, setWidth] = useState(0); const [height, setHeight] = useState(0); const handleRe...
4
vmbdev/littleterrarium-material
3448200
src/app/components/plant/forms/plant-form-specie/plant-form-specie.component.ts
TypeScript
www.github.com/vmbdev/littleterrarium-material/tree/main/src/app/components/plant/forms/plant-form-specie/plant-form-specie.component.ts
https://raw.githubusercontent.com/vmbdev/littleterrarium-material/3448200/src/app/components/plant/forms/plant-form-specie/plant-form-specie.component.ts
vmbdev/littleterrarium-material 3448200 src/app/components/plant/forms/plant-form-specie/plant-form-specie.component.ts
true
200
2,564
import { ChangeDetectionStrategy, Component, forwardRef, inject, } from '@angular/core'; import { CommonModule } from '@angular/common'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; import { MatAutocompleteModule } from '@angular/material/autocomplete'; import { MatFormFieldModule }...
6
willnguyen1312/reproduce-pro
b3c613a
src/mocks/handlers.ts
TypeScript
www.github.com/willnguyen1312/reproduce-pro/tree/main/src/mocks/handlers.ts
https://raw.githubusercontent.com/willnguyen1312/reproduce-pro/b3c613a/src/mocks/handlers.ts
willnguyen1312/reproduce-pro b3c613a src/mocks/handlers.ts
true
200
321
import { HttpResponse, graphql } from "msw"; let currentNumber = 1; export const handlers = [ graphql.query("GetNumber", async () => { // Wait 2s await new Promise((resolve) => setTimeout(resolve, 1000)); return HttpResponse.json({ data: { value: currentNumber++, }, }); }), ];...
0
macsoftechnologies/edmium_latest
aa4f209
src/reminder/reminder.service.ts
TypeScript
www.github.com/macsoftechnologies/edmium_latest/tree/main/src/reminder/reminder.service.ts
https://raw.githubusercontent.com/macsoftechnologies/edmium_latest/aa4f209/src/reminder/reminder.service.ts
macsoftechnologies/edmium_latest aa4f209 src/reminder/reminder.service.ts
true
200
1,421
import { Injectable, HttpStatus, NotFoundException } from '@nestjs/common'; import { Reminders } from './dto/reminder.schema'; import { InjectModel } from '@nestjs/mongoose'; import { Model } from 'mongoose'; import { APIResponse } from 'src/dto/api-response-dto'; import { CreateReminderDto } from './dto/reminder.dto';...
5
sidpd51/Product-Catalog-Service
f1bce43
src/repository/implementations/ProductRepository.ts
TypeScript
www.github.com/sidpd51/Product-Catalog-Service/tree/main/src/repository/implementations/ProductRepository.ts
https://raw.githubusercontent.com/sidpd51/Product-Catalog-Service/f1bce43/src/repository/implementations/ProductRepository.ts
sidpd51/Product-Catalog-Service f1bce43 src/repository/implementations/ProductRepository.ts
true
200
1,556
import { inject, injectable } from "inversify"; import { IProductFilter, IProductQuery, } from "../../dtos/filterProduct"; import Product, { IProductModel } from "../../model/productModel"; import IProductRepository from "../interfaces/IProductRepository"; import GenericRepository from "./GenericRepository"; import TYP...
3
khalillakhdhar/localstoreApp
5478acc
src/app/todo/todo-routing.module.ts
TypeScript
www.github.com/khalillakhdhar/localstoreApp/tree/main/src/app/todo/todo-routing.module.ts
https://raw.githubusercontent.com/khalillakhdhar/localstoreApp/5478acc/src/app/todo/todo-routing.module.ts
khalillakhdhar/localstoreApp 5478acc src/app/todo/todo-routing.module.ts
true
200
641
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { TodoComponent } from './todo.component'; import { CreateComponent } from './create/create.component'; import { UpdateComponent } from './update/update.component'; const routes: Routes = [ { path:'',redirectT...
1
JohnMadakin/csts
7fc7319
test/integration/user.test.ts
TypeScript
www.github.com/JohnMadakin/csts/tree/main/test/integration/user.test.ts
https://raw.githubusercontent.com/JohnMadakin/csts/7fc7319/test/integration/user.test.ts
JohnMadakin/csts 7fc7319 test/integration/user.test.ts
true
200
3,229
import request from "supertest"; import app from "../../src/app"; import models from '../../src/models'; import { hashPassword } from '../../src/helpers/authhelper'; const baseURL = '/api/v1'; describe("GET /", () => { it("should return 200 OK", () => { return request(app).get("/") .expect(200); }); });...
2
kirchik95/pebitoro-backend
32b7133
src/modules/tasks/tasks.service.ts
TypeScript
www.github.com/kirchik95/pebitoro-backend/tree/main/src/modules/tasks/tasks.service.ts
https://raw.githubusercontent.com/kirchik95/pebitoro-backend/32b7133/src/modules/tasks/tasks.service.ts
kirchik95/pebitoro-backend 32b7133 src/modules/tasks/tasks.service.ts
true
200
5,530
import { FastifyRequest } from 'fastify'; import { and, desc, eq, ilike, inArray, or, sql } from 'drizzle-orm'; import { intersection, map, values } from 'lodash-es'; import { taskCategories, tasks } from '@db/schema'; import { GetTasksParams, PriorityEnum, StatusEnum, Task } from './tasks.types'; export const getTa...
7
ArrayIterator/gettext-l10n
2fa6e93
src/Gettext/Interfaces/Metadata/Attributes/GettextCommentsInterface.ts
TypeScript
www.github.com/ArrayIterator/gettext-l10n/tree/main/src/Gettext/Interfaces/Metadata/Attributes/GettextCommentsInterface.ts
https://raw.githubusercontent.com/ArrayIterator/gettext-l10n/2fa6e93/src/Gettext/Interfaces/Metadata/Attributes/GettextCommentsInterface.ts
ArrayIterator/gettext-l10n 2fa6e93 src/Gettext/Interfaces/Metadata/Attributes/GettextCommentsInterface.ts
true
200
541
import ArrayStringInterface from '../../../../Interfaces/ArrayStringInterface'; import CloneableInterface from '../../../../Interfaces/CloneableInterface'; export default interface GettextCommentsInterface extends ArrayStringInterface, CloneableInterface { /** * List of comments * * @return {Array<s...
0
loki99928/foture_crm
8f02646
server/src/app.utils.ts
TypeScript
www.github.com/loki99928/foture_crm/tree/main/server/src/app.utils.ts
https://raw.githubusercontent.com/loki99928/foture_crm/8f02646/server/src/app.utils.ts
loki99928/foture_crm 8f02646 server/src/app.utils.ts
true
200
703
/** * Random line generation * * @param len number * @constructor */ export const GET_ALPHA_NUMERIC_RANDOM = function(len:number): string { if ((len==undefined) || (len<=0)) {len=1;} const characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; let result = ''; let ifFirst = ...
6
aimeerim1/adaparser
c1fed5d
src/common/Footer/footerData.ts
TypeScript
www.github.com/aimeerim1/adaparser/tree/main/src/common/Footer/footerData.ts
https://raw.githubusercontent.com/aimeerim1/adaparser/c1fed5d/src/common/Footer/footerData.ts
aimeerim1/adaparser c1fed5d src/common/Footer/footerData.ts
true
200
1,203
import {faTelegram, faWhatsapp} from "@fortawesome/free-brands-svg-icons"; import {IconDefinition} from "@fortawesome/free-regular-svg-icons"; export const contactLinks:contacts[] = [ { to: 'https://wa.me/+79231023027', icon: faWhatsapp, text: 'WhatsApp' }, { to: 'https://web.telegram.org/a/#6944523790', icon:...
3
BCWResearch/hashport-framework
032890c
packages/sdk/lib/types/api/bridge.ts
TypeScript
www.github.com/BCWResearch/hashport-framework/tree/main/packages/sdk/lib/types/api/bridge.ts
https://raw.githubusercontent.com/BCWResearch/hashport-framework/032890c/packages/sdk/lib/types/api/bridge.ts
BCWResearch/hashport-framework 032890c packages/sdk/lib/types/api/bridge.ts
true
200
2,414
export type BridgeParams = FungibleBridgeParams | NonfungibleBridgeParams; type FungibleBridgeParams = BridgeParamsBase & { amount: string; tokenId?: never; }; type NonfungibleBridgeParams = BridgeParamsBase & { tokenId: string; amount?: never; }; type BridgeParamsBase = { sourceNetworkId: string...
5
minhzung/minhzung.github.io
e877b1e
src/content/config.ts
TypeScript
www.github.com/minhzung/minhzung.github.io/tree/main/src/content/config.ts
https://raw.githubusercontent.com/minhzung/minhzung.github.io/e877b1e/src/content/config.ts
minhzung/minhzung.github.io e877b1e src/content/config.ts
true
200
586
// Import utilities from `astro:content` import { z, defineCollection } from "astro:content"; // Post collection schema const postsCollection = defineCollection({ type: 'content', schema:({ image }) => z.object({ title: z.string(), description: z.string(), pubDate: z.date(), image: z.un...
4
cruzgerman216/Springfield-Book-It-app
bec71fe
src/app/shared/book/book.component.ts
TypeScript
www.github.com/cruzgerman216/Springfield-Book-It-app/tree/main/src/app/shared/book/book.component.ts
https://raw.githubusercontent.com/cruzgerman216/Springfield-Book-It-app/bec71fe/src/app/shared/book/book.component.ts
cruzgerman216/Springfield-Book-It-app bec71fe src/app/shared/book/book.component.ts
true
200
470
import { Component, Input, OnInit } from '@angular/core'; import { BookshelfService } from 'src/app/bookshelf/bookshelf.service'; import { Book } from './book.model'; @Component({ selector: 'app-book', templateUrl: './book.component.html', styleUrls: ['./book.component.css'] }) export class BookComponent impleme...
1
jku-vds-lab/pro2future-multiple-stacked-charts
d3f9c8a
src/constants.ts
TypeScript
www.github.com/jku-vds-lab/pro2future-multiple-stacked-charts/tree/main/src/constants.ts
https://raw.githubusercontent.com/jku-vds-lab/pro2future-multiple-stacked-charts/d3f9c8a/src/constants.ts
jku-vds-lab/pro2future-multiple-stacked-charts d3f9c8a src/constants.ts
true
200
3,577
export enum Settings { plotSettings = 'plotSettings', colorSelector = 'colorSelector', colorSettings = 'colorSettings', generalSettings = 'generalSettings', legendSettings = 'legendSettings', tooltipTitleSettings = 'tooltipTitleSettings', zoomingSettings = 'zoomingSettings', xAxisBreakSe...
2
prodeapp/prodeapp
a4f45b4
packages/react-app/src/lib/connext/ajv.ts
TypeScript
www.github.com/prodeapp/prodeapp/tree/main/packages/react-app/src/lib/connext/ajv.ts
https://raw.githubusercontent.com/prodeapp/prodeapp/a4f45b4/packages/react-app/src/lib/connext/ajv.ts
prodeapp/prodeapp a4f45b4 packages/react-app/src/lib/connext/ajv.ts
true
200
351
import Ajv from 'ajv' import addFormats from 'ajv-formats' export const ajv = addFormats(new Ajv(), [ 'date-time', 'time', 'date', 'email', 'hostname', 'ipv4', 'ipv6', 'uri', 'uri-reference', 'uuid', 'uri-template', 'json-pointer', 'relative-json-pointer', 'regex', ]) .addKeyword('kin...
7
HipsterBrown/xs-dev
4dbbe16
src/types.ts
TypeScript
www.github.com/HipsterBrown/xs-dev/tree/main/src/types.ts
https://raw.githubusercontent.com/HipsterBrown/xs-dev/4dbbe16/src/types.ts
HipsterBrown/xs-dev 4dbbe16 src/types.ts
true
200
668
import type { GluegunToolbox } from 'gluegun' import type { PlatformSetupArgs, SetupArgs } from './toolbox/setup/types' import type { BuildArgs } from './toolbox/build/index' export type Device = | 'darwin' | 'mac' | 'linux' | 'lin' | 'windows_nt' | 'windows' | 'win' | 'esp8266' | 'esp32' | 'wasm' ...
3
kernello/cloudabisweb
e330ce1
src/app/app.module.ts
TypeScript
www.github.com/kernello/cloudabisweb/tree/main/src/app/app.module.ts
https://raw.githubusercontent.com/kernello/cloudabisweb/e330ce1/src/app/app.module.ts
kernello/cloudabisweb e330ce1 src/app/app.module.ts
true
200
1,826
import { NgModule,CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { BrowserModule,Title } from '@angular/platform-browser'; import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { RouterModule, Routes } from '@angul...
0
siddhireddy/Foodbox
3cffd30
src/app/services/login.service.ts
TypeScript
www.github.com/siddhireddy/Foodbox/tree/main/src/app/services/login.service.ts
https://raw.githubusercontent.com/siddhireddy/Foodbox/3cffd30/src/app/services/login.service.ts
siddhireddy/Foodbox 3cffd30 src/app/services/login.service.ts
true
200
452
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { Observable } from 'rxjs'; import { User } from '../Models/user'; @Injectable({ providedIn: 'root' }) export class LoginService { constructor(private http:HttpClient) { } baseURL="http://localhost:8080/api/v...
6
Pcrab/type-challenge
f71500e
src/medium/9142-checkrepeatedchars.ts
TypeScript
www.github.com/Pcrab/type-challenge/tree/main/src/medium/9142-checkrepeatedchars.ts
https://raw.githubusercontent.com/Pcrab/type-challenge/f71500e/src/medium/9142-checkrepeatedchars.ts
Pcrab/type-challenge f71500e src/medium/9142-checkrepeatedchars.ts
true
200
1,369
/* 9142 - CheckRepeatedChars ------- by Hong (@RThong) #medium #union #string ### Question Implement type ```CheckRepeatedChars<S>``` which will return whether type ```S``` contains duplicated chars? For example: ```ts type CheckRepeatedChars<'abc'> // false type CheckRepeatedChars<'aba'> // t...
4
ivanovf/checklist-nestjs
1fb44fc
src/activity/activity.module.ts
TypeScript
www.github.com/ivanovf/checklist-nestjs/tree/main/src/activity/activity.module.ts
https://raw.githubusercontent.com/ivanovf/checklist-nestjs/1fb44fc/src/activity/activity.module.ts
ivanovf/checklist-nestjs 1fb44fc src/activity/activity.module.ts
true
200
807
import { Module } from '@nestjs/common'; import { ActivityService } from './activity.service'; import { ActivityController } from './activity.controller'; import { MongooseModule } from '@nestjs/mongoose'; import { Activity, ActivitySchema } from './entities/activity.entity'; import { ActivityType, ActivityTypeSche...
1
PaulRill00/dev-demo
ba37e29
src/ducks/Auth/types.ts
TypeScript
www.github.com/PaulRill00/dev-demo/tree/main/src/ducks/Auth/types.ts
https://raw.githubusercontent.com/PaulRill00/dev-demo/ba37e29/src/ducks/Auth/types.ts
PaulRill00/dev-demo ba37e29 src/ducks/Auth/types.ts
true
200
308
import { IUser } from '@dmgincs/utils'; import { PayloadAction } from '@reduxjs/toolkit'; export type ReduxAuthUser = IUser & { authToken: string|undefined }; export type AuthState = { readonly authUser: ReduxAuthUser|null; }; export type AuthSetUserActionPayload = PayloadAction<ReduxAuthUser|null>;
2
taikoxyz/dao-mono
bd72992
packages/ui/tests/proposal-encryption.test.ts
TypeScript
www.github.com/taikoxyz/dao-mono/tree/main/packages/ui/tests/proposal-encryption.test.ts
https://raw.githubusercontent.com/taikoxyz/dao-mono/bd72992/packages/ui/tests/proposal-encryption.test.ts
taikoxyz/dao-mono bd72992 packages/ui/tests/proposal-encryption.test.ts
true
200
6,169
import { expect, test, describe, beforeAll } from "bun:test"; import { encryptProposal, encryptSymmetricKey, decryptProposal, decryptSymmetricKey } from "../utils/encryption/index"; import libsodium from "libsodium-wrappers"; import { generateSymmetricKey } from "@/utils/encryption/symmetric"; import { generateKeyPair ...
5
m0rtyyy/PixiJsRuletaAngular
58d22b3
src/app/core/guards/guards-data.guard.ts
TypeScript
www.github.com/m0rtyyy/PixiJsRuletaAngular/tree/main/src/app/core/guards/guards-data.guard.ts
https://raw.githubusercontent.com/m0rtyyy/PixiJsRuletaAngular/58d22b3/src/app/core/guards/guards-data.guard.ts
m0rtyyy/PixiJsRuletaAngular 58d22b3 src/app/core/guards/guards-data.guard.ts
true
200
2,359
//CHATGTP import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router'; import { Observable } from 'rxjs'; import { DataServiceService } from 'src/app/data/services/data-service.service'; import { AuthService } from 'src/app/auth/servic...
3
devstartshop/angular-primeng-table-nested-json
5f234c0
src/app/app.module.ts
TypeScript
www.github.com/devstartshop/angular-primeng-table-nested-json/tree/main/src/app/app.module.ts
https://raw.githubusercontent.com/devstartshop/angular-primeng-table-nested-json/5f234c0/src/app/app.module.ts
devstartshop/angular-primeng-table-nested-json 5f234c0 src/app/app.module.ts
true
200
775
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppComponent } from './app.component'; import { CommonTableComponent } from './common-table/common-table.component'; import { FieldPipe } from './pipes/field.pipe'; import {BrowserAnimationsModule} from '@angu...
6
stevesdiary/type-orm
87faeda
src/http/controllers/AuthorsController.ts
TypeScript
www.github.com/stevesdiary/type-orm/tree/main/src/http/controllers/AuthorsController.ts
https://raw.githubusercontent.com/stevesdiary/type-orm/87faeda/src/http/controllers/AuthorsController.ts
stevesdiary/type-orm 87faeda src/http/controllers/AuthorsController.ts
true
200
2,923
import { NextFunction, Request, Response } from "express"; import { AppDataSource } from "../../database/data-source"; import { Author } from "../../database/entities/Author"; import { ResponseUtl } from "../../utils/Response"; import { Paginator } from "../../database/Paginator"; import { CreateAuthorDTO} from "../dto...
4
tranvinhan2k/bsmart_frontend
eafd21a
src/components/molecules/ManageAnalyticSection/BarChartRevenue/style.ts
TypeScript
www.github.com/tranvinhan2k/bsmart_frontend/tree/main/src/components/molecules/ManageAnalyticSection/BarChartRevenue/style.ts
https://raw.githubusercontent.com/tranvinhan2k/bsmart_frontend/eafd21a/src/components/molecules/ManageAnalyticSection/BarChartRevenue/style.ts
tranvinhan2k/bsmart_frontend eafd21a src/components/molecules/ManageAnalyticSection/BarChartRevenue/style.ts
true
200
379
import { SxProps } from '@mui/material'; import { Theme } from '@mui/material/styles'; import { FontFamily } from '~/assets/variables'; const titleBarChart: SxProps<Theme> = { fontFamily: FontFamily.medium, fontSize: 20, }; const wrapperBarChart: SxProps<Theme> = { height: 400, width: '100%', }; const sx = { ...
0
IntegracionContinuaPoligran/Reporte
dc8b9b3
src/app/pages/usuarios/usuarios.component.ts
TypeScript
www.github.com/IntegracionContinuaPoligran/Reporte/tree/main/src/app/pages/usuarios/usuarios.component.ts
https://raw.githubusercontent.com/IntegracionContinuaPoligran/Reporte/dc8b9b3/src/app/pages/usuarios/usuarios.component.ts
IntegracionContinuaPoligran/Reporte dc8b9b3 src/app/pages/usuarios/usuarios.component.ts
true
200
5,999
import { Component, OnInit } from '@angular/core'; import { UsuarioService } from 'src/app/services/usuario.service'; import { Router } from '@angular/router'; import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; import { ProyectoModel } from 'src/app/models/proyecto.model'; import { UsuarioModel } from 'src/app/mode...
1
kreakl/barmap
7b91918
apps/backend/bar-catalogue/src/presenters/graphql/dto/bar/query-bar.args.ts
TypeScript
www.github.com/kreakl/barmap/tree/main/apps/backend/bar-catalogue/src/presenters/graphql/dto/bar/query-bar.args.ts
https://raw.githubusercontent.com/kreakl/barmap/7b91918/apps/backend/bar-catalogue/src/presenters/graphql/dto/bar/query-bar.args.ts
kreakl/barmap 7b91918 apps/backend/bar-catalogue/src/presenters/graphql/dto/bar/query-bar.args.ts
true
200
338
import { PaginatedQueryParams } from '@catalogue/presenters/graphql/dto'; import { IsArray, IsNumber, IsOptional } from 'class-validator'; import { ArgsType } from '@nestjs/graphql'; @ArgsType() export class BarQueryArgs extends PaginatedQueryParams { @IsNumber({}, { each: true }) @IsArray() @IsOptional() type...
7
ZhichGaming/dimensional-bird
387cc0f
src/app/shaders/FragmentShader.ts
TypeScript
www.github.com/ZhichGaming/dimensional-bird/tree/main/src/app/shaders/FragmentShader.ts
https://raw.githubusercontent.com/ZhichGaming/dimensional-bird/387cc0f/src/app/shaders/FragmentShader.ts
ZhichGaming/dimensional-bird 387cc0f src/app/shaders/FragmentShader.ts
true
200
296
export const fragmentShader = /* glsl */ ` precision mediump float; varying vec2 vUv; uniform sampler2D baseTexture; uniform sampler2D bloomTexture; void main() { vec4 intensity = vec4(1.0); gl_FragColor = (texture2D(baseTexture, vUv) + intensity * texture2D(bloomTexture, vUv)); } `;
2
abd-rabaya/task-alphaomega
dbad486
src/components/chart/HeatmapChart.styles.ts
TypeScript
www.github.com/abd-rabaya/task-alphaomega/tree/main/src/components/chart/HeatmapChart.styles.ts
https://raw.githubusercontent.com/abd-rabaya/task-alphaomega/dbad486/src/components/chart/HeatmapChart.styles.ts
abd-rabaya/task-alphaomega dbad486 src/components/chart/HeatmapChart.styles.ts
true
200
781
import styled from '@emotion/styled'; import { appTheme } from "scichart-example-dependencies"; export const Container = styled.div` width: 1000px; background: ${appTheme.DarkIndigo}; `; export const ControlsContainer = styled.div` position: relative; padding: 3px; gap: 8px; width: 100%; c...
5
nanopack-buffer/ts-nanopack
d2f1fff
src/rpc/in-memory-channel.ts
TypeScript
www.github.com/nanopack-buffer/ts-nanopack/tree/main/src/rpc/in-memory-channel.ts
https://raw.githubusercontent.com/nanopack-buffer/ts-nanopack/d2f1fff/src/rpc/in-memory-channel.ts
nanopack-buffer/ts-nanopack d2f1fff src/rpc/in-memory-channel.ts
true
200
948
import { NanoBufReader } from "../reader.js" import type { RpcClientChannel, RpcServerChannel } from "./rpc-channel.js" class InMemoryRpcChannel implements RpcClientChannel, RpcServerChannel { private requestHandler: ((requestReader: NanoBufReader) => void) | null = null private responseHandler: ((responseReader: Na...
4
vinchibana/react-jira
153509b
src/utils/user.ts
TypeScript
www.github.com/vinchibana/react-jira/tree/main/src/utils/user.ts
https://raw.githubusercontent.com/vinchibana/react-jira/153509b/src/utils/user.ts
vinchibana/react-jira 153509b src/utils/user.ts
true
200
429
import { User } from "../types/user"; import { useHttp } from "./http"; import { useAsync } from "./use-async"; import { useEffect } from "react"; import { cleanObject } from "./index"; export const useUsers = (param?: Partial<User>) => { const client = useHttp(); const { run, ...result } = useAsync<User[]>(); u...
0
orozDev/kahoot_back_build
f1b7cf7
quiz/entities/question.entity.d.ts
TypeScript
www.github.com/orozDev/kahoot_back_build/tree/main/quiz/entities/question.entity.d.ts
https://raw.githubusercontent.com/orozDev/kahoot_back_build/f1b7cf7/quiz/entities/question.entity.d.ts
orozDev/kahoot_back_build f1b7cf7 quiz/entities/question.entity.d.ts
true
200
382
import { BaseEntity } from '../../options/base-entity.options'; import { QuizEntity } from './quiz.entity'; import { AnswerEntity } from './answer.entity'; export declare class QuestionEntity extends BaseEntity { title: string; content: string; image: string; time: number; quiz: QuizEntity; quiz...
5
seniorchris/shopping-site
59e90b0
src/app/components/product-details/product-details.component.ts
TypeScript
www.github.com/seniorchris/shopping-site/tree/main/src/app/components/product-details/product-details.component.ts
https://raw.githubusercontent.com/seniorchris/shopping-site/59e90b0/src/app/components/product-details/product-details.component.ts
seniorchris/shopping-site 59e90b0 src/app/components/product-details/product-details.component.ts
true
200
738
import { Component, inject, Input, OnInit } from '@angular/core'; import { item } from '../../productinterface'; import { CommonModule } from '@angular/common'; import { ProductService } from './serves/product.service'; @Component({ selector: 'app-product-details', imports: [CommonModule], templateUrl: './produc...
0
Michaella1982/Corona-Virus-App
6ab2243
src/app/app.module.ts
TypeScript
www.github.com/Michaella1982/Corona-Virus-App/tree/main/src/app/app.module.ts
https://raw.githubusercontent.com/Michaella1982/Corona-Virus-App/6ab2243/src/app/app.module.ts
Michaella1982/Corona-Virus-App 6ab2243 src/app/app.module.ts
true
200
976
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { AddCasesComponent } from './add-cases/add-cases.component'; import { CasesComponent } from './cases/case...
4
ibqn/nuxt-real-estate
365d651
src/server/api/houses.get.ts
TypeScript
www.github.com/ibqn/nuxt-real-estate/tree/main/src/server/api/houses.get.ts
https://raw.githubusercontent.com/ibqn/nuxt-real-estate/365d651/src/server/api/houses.get.ts
ibqn/nuxt-real-estate 365d651 src/server/api/houses.get.ts
true
200
729
import { querySchema } from "@/validators/query" import { housesData } from "@/server//houses-data" export default defineEventHandler(async (event) => { const result = await getValidatedQuery(event, (query) => querySchema.safeParse(query) ) if (!result.success) { throw result.error.issues } const q...
5
MeganusWesker/nodejs-boiler-plate-ts
e0fc04f
app.ts
TypeScript
www.github.com/MeganusWesker/nodejs-boiler-plate-ts/tree/main/app.ts
https://raw.githubusercontent.com/MeganusWesker/nodejs-boiler-plate-ts/e0fc04f/app.ts
MeganusWesker/nodejs-boiler-plate-ts e0fc04f app.ts
true
200
372
import express from "express"; import {config} from "dotenv"; import errorMiddleware from "./middlewares/error"; const app=express(); config({path:"./config/config.env"}) app.use(express.json()); app.use(express.urlencoded({extended:true})); // imprting import user from "./routes/userRoutes" app.use('/api/v1',us...
0
conneto/admin_web_v2
1deaeec
src/app/pages/manage-request/mod-campaign/campaign-request-detail/campaign-request-detail.component.ts
TypeScript
www.github.com/conneto/admin_web_v2/tree/main/src/app/pages/manage-request/mod-campaign/campaign-request-detail/campaign-request-detail.component.ts
https://raw.githubusercontent.com/conneto/admin_web_v2/1deaeec/src/app/pages/manage-request/mod-campaign/campaign-request-detail/campaign-request-detail.component.ts
conneto/admin_web_v2 1deaeec src/app/pages/manage-request/mod-campaign/campaign-request-detail/campaign-request-detail.component.ts
true
200
895
import { Location } from '@angular/common'; import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { Campaign } from 'src/app/models/campaign/campaign.model'; import { CampaignService } from 'src/app/services/campaign/campaign.service'; @Component({ selector: 'app...
4
Hristo-Spasov/za-vacheria-FE
d1ed04b
src/components/ui/framer-animations/questions.ts
TypeScript
www.github.com/Hristo-Spasov/za-vacheria-FE/tree/main/src/components/ui/framer-animations/questions.ts
https://raw.githubusercontent.com/Hristo-Spasov/za-vacheria-FE/d1ed04b/src/components/ui/framer-animations/questions.ts
Hristo-Spasov/za-vacheria-FE d1ed04b src/components/ui/framer-animations/questions.ts
true
200
579
/** * Animation variants for question transitions * * @param direction - The direction of animation: * -1 = animate to previous question * 1 = animate to next question */ export type AnimationDirection = number; // -1 for previous, 1 for next const questionsVariants = { en...
5
jlcsolutionscr/facturacion-web
03ed103
src/state/receipt/reducer.ts
TypeScript
www.github.com/jlcsolutionscr/facturacion-web/tree/main/src/state/receipt/reducer.ts
https://raw.githubusercontent.com/jlcsolutionscr/facturacion-web/03ed103/src/state/receipt/reducer.ts
jlcsolutionscr/facturacion-web 03ed103 src/state/receipt/reducer.ts
true
200
2,898
import { createSlice } from "@reduxjs/toolkit"; import { receiptInitialState } from "state/InitialState"; import { logout } from "state/session/reducer"; import { RootState } from "state/store"; import { defaultProductDetails, defaultReceipt } from "utils/defaults"; export const receiptSlice = createSlice({ name: "...
0
paired55/procrast
505d62d
src/app/app.routes.ts
TypeScript
www.github.com/paired55/procrast/tree/main/src/app/app.routes.ts
https://raw.githubusercontent.com/paired55/procrast/505d62d/src/app/app.routes.ts
paired55/procrast 505d62d src/app/app.routes.ts
true
200
679
import { Routes } from '@angular/router'; import { DefaultComponent } from './shared/layouts/default/default.component'; import { LoginComponent } from './pages/login/login.component'; import { MasterComponent } from './shared/layouts/master/master.component'; import { TodoComponent } from './pages/todo/todo.component'...
4
Seredeep/silver.dev-challenge
ba375fc
backend/src/banking/banking.controller.ts
TypeScript
www.github.com/Seredeep/silver.dev-challenge/tree/main/backend/src/banking/banking.controller.ts
https://raw.githubusercontent.com/Seredeep/silver.dev-challenge/ba375fc/backend/src/banking/banking.controller.ts
Seredeep/silver.dev-challenge ba375fc backend/src/banking/banking.controller.ts
true
200
2,674
import { BadRequestException, Body, Controller, Get, Param, Patch, Post, UseInterceptors } from '@nestjs/common'; import { RateLimiter } from 'src/rate-limiter/rate-limiter.decorator'; import { RateLimiterInterceptor } from 'src/rate-limiter/rate-limiter.interceptor'; import { BankingService } from './banking.service';...
5
Tamilarasan1810/Angular
35974e2
server-blueprint/src/app/serverEelement.model.ts
TypeScript
www.github.com/Tamilarasan1810/Angular/tree/main/server-blueprint/src/app/serverEelement.model.ts
https://raw.githubusercontent.com/Tamilarasan1810/Angular/35974e2/server-blueprint/src/app/serverEelement.model.ts
Tamilarasan1810/Angular 35974e2 server-blueprint/src/app/serverEelement.model.ts
true
200
319
export class ServerElements { static push(ele: any) { throw new Error('Method not implemented.'); } public name: string; public type: string; public content: string; constructor(name: string, content: string, type: string) { this.name = name; this.content = content; this.type = type; } }
0
Doc-Kristen/post-viewer
307fc3e
src/services/postApi.ts
TypeScript
www.github.com/Doc-Kristen/post-viewer/tree/main/src/services/postApi.ts
https://raw.githubusercontent.com/Doc-Kristen/post-viewer/307fc3e/src/services/postApi.ts
Doc-Kristen/post-viewer 307fc3e src/services/postApi.ts
true
200
714
import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react' import { TPost } from 'types/TPost' const BACKEND_URL = 'https://api.nasa.gov/planetary' const API_KEY = 'jrUx9o5OoXFA2RJjYEwNYQzdJi16B4EnhKSUFO0G' export const postsApi = createApi({ reducerPath: 'postsApi', baseQuery: fetchBaseQuery({ baseUr...
4
Compacct/Compacct----Angular
765c0e0
app/admin/common/Harbauer/project-plan-approve/project-plan-approve.component.ts
TypeScript
www.github.com/Compacct/Compacct----Angular/tree/main/app/admin/common/Harbauer/project-plan-approve/project-plan-approve.component.ts
https://raw.githubusercontent.com/Compacct/Compacct----Angular/765c0e0/app/admin/common/Harbauer/project-plan-approve/project-plan-approve.component.ts
Compacct/Compacct----Angular 765c0e0 app/admin/common/Harbauer/project-plan-approve/project-plan-approve.component.ts
true
200
12,162
import { MessageService } from 'primeng/api'; import { Component, OnInit, ViewEncapsulation } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { CompacctCommonApi } from '../../../shared/compacct.services/common.api.service'; import { CompacctGlobalApiService } from '../../../shared/compa...
5
KUSITMS-Team-A/Frontend-web
161fd02
components/styles/user/third/style.ts
TypeScript
www.github.com/KUSITMS-Team-A/Frontend-web/tree/main/components/styles/user/third/style.ts
https://raw.githubusercontent.com/KUSITMS-Team-A/Frontend-web/161fd02/components/styles/user/third/style.ts
KUSITMS-Team-A/Frontend-web 161fd02 components/styles/user/third/style.ts
true
200
1,241
import styled from "@emotion/styled"; import { Button, TextField } from "@mui/material"; export const AskBox = styled.div` width: 100%; display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 1rem; `; export const AskTitle = styled.div` grid-column: 1 / 2; display: flex; justify-content:...
0
AnthonyFlowers/vue-cs
d62f2dd
src/components/graphing/prim.ts
TypeScript
www.github.com/AnthonyFlowers/vue-cs/tree/main/src/components/graphing/prim.ts
https://raw.githubusercontent.com/AnthonyFlowers/vue-cs/d62f2dd/src/components/graphing/prim.ts
AnthonyFlowers/vue-cs d62f2dd src/components/graphing/prim.ts
true
200
2,443
import { Edge } from "./edge"; import { Graph, Result, Vertex } from "./graph"; import { Path } from "./path"; export class Prim extends Graph { constructor() { super("Prim's Algorithm"); } public findPath(fromVertexId: number, toVertexId: number): Path | null { const mst = this.generateMST(fromVertexId...
4
Theklinto/HomeStorage
e48cfbf
frontend/src/services/ImageService.ts
TypeScript
www.github.com/Theklinto/HomeStorage/tree/main/frontend/src/services/ImageService.ts
https://raw.githubusercontent.com/Theklinto/HomeStorage/e48cfbf/frontend/src/services/ImageService.ts
Theklinto/HomeStorage e48cfbf frontend/src/services/ImageService.ts
true
200
1,893
import { BaseService } from "./BaseService"; export class ImageService extends BaseService { public static getImageById(id: string | undefined): string { if (id) { return `${ImageService.baseUrl}images/${id}`; } return ""; } public static getImageByUrl(url: string | und...
0
layanfaqhawi/todo-list
2963d55
src/todo-db/todo-db.module.ts
TypeScript
www.github.com/layanfaqhawi/todo-list/tree/main/src/todo-db/todo-db.module.ts
https://raw.githubusercontent.com/layanfaqhawi/todo-list/2963d55/src/todo-db/todo-db.module.ts
layanfaqhawi/todo-list 2963d55 src/todo-db/todo-db.module.ts
true
200
332
import { Module } from '@nestjs/common'; import { TodoDbService } from './todo-db.service'; import { TodoDbController } from './todo-db.controller'; import { PrismaModule } from '../prisma.module'; @Module({ controllers: [TodoDbController], providers: [TodoDbService], imports: [PrismaModule] }) export class Todo...
4
allenshore989/website-Jiujie
43c4105
src/app/api/admin/create-emergency-admin/route.ts
TypeScript
www.github.com/allenshore989/website-Jiujie/tree/main/src/app/api/admin/create-emergency-admin/route.ts
https://raw.githubusercontent.com/allenshore989/website-Jiujie/43c4105/src/app/api/admin/create-emergency-admin/route.ts
allenshore989/website-Jiujie 43c4105 src/app/api/admin/create-emergency-admin/route.ts
true
200
1,883
import { NextRequest, NextResponse } from 'next/server'; import { PrismaClient } from '@prisma/client'; import { hashSync } from 'bcrypt'; const prisma = new PrismaClient(); const EMERGENCY_SECRET = process.env.EMERGENCY_SECRET || 'only-for-development-use'; export async function GET(request: NextRequest) { try { ...
0
beraichimane99/FrontQuiz
8360eb2
src/app/services/questionService/questions.service.ts
TypeScript
www.github.com/beraichimane99/FrontQuiz/tree/main/src/app/services/questionService/questions.service.ts
https://raw.githubusercontent.com/beraichimane99/FrontQuiz/8360eb2/src/app/services/questionService/questions.service.ts
beraichimane99/FrontQuiz 8360eb2 src/app/services/questionService/questions.service.ts
true
200
423
import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { Observable } from 'rxjs/internal/Observable'; @Injectable({ providedIn: 'root', }) export class QuestionsService { questionsUrl = 'http://192.168.123.70:5555/api/quiz/questions'; constructor(private http: Http...
5
pinax-network/eos-evm-miner
03e7f70
src/eth_getBalance.spec.ts
TypeScript
www.github.com/pinax-network/eos-evm-miner/tree/main/src/eth_getBalance.spec.ts
https://raw.githubusercontent.com/pinax-network/eos-evm-miner/03e7f70/src/eth_getBalance.spec.ts
pinax-network/eos-evm-miner 03e7f70 src/eth_getBalance.spec.ts
true
200
544
import assert from "node:assert"; import { eth_getBalance } from "./eth_getBalance.js" import { PrivateKey } from "@wharfkit/session"; import { test } from "bun:test"; import { createSession } from "./createSession.js"; // start the miner const session = createSession({ actor: "miner.enf", privateKey: PrivateK...
4
sahil143/secret-santa
13201d4
api/graphql/event.ts
TypeScript
www.github.com/sahil143/secret-santa/tree/main/api/graphql/event.ts
https://raw.githubusercontent.com/sahil143/secret-santa/13201d4/api/graphql/event.ts
sahil143/secret-santa 13201d4 api/graphql/event.ts
true
200
665
import { objectType } from "nexus"; export const Event = objectType({ name: "Event", definition(t) { t.string("id"); t.string("name"); t.dateTime("date"); t.implements("timestampsObject"); t.boolean("sendReminder"); t.field("user", { type: "User", description: "Event created by ...
0
GeOrGe-EdWaR/hotel-management-system
89f51c2
src/app/app-routing.module.ts
TypeScript
www.github.com/GeOrGe-EdWaR/hotel-management-system/tree/main/src/app/app-routing.module.ts
https://raw.githubusercontent.com/GeOrGe-EdWaR/hotel-management-system/89f51c2/src/app/app-routing.module.ts
GeOrGe-EdWaR/hotel-management-system 89f51c2 src/app/app-routing.module.ts
true
200
911
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { adminGuard } from './core/guards/admin.guard'; const routes: Routes = [ { path: 'auth', loadChildren: () => import('./feature/auth/auth.module').then((m) => m.AuthModule), }, { path: 'dash...
3
nokia/network-as-code-ts
ddf1a5b
integration-tests/location.itest.ts
TypeScript
www.github.com/nokia/network-as-code-ts/tree/main/integration-tests/location.itest.ts
https://raw.githubusercontent.com/nokia/network-as-code-ts/ddf1a5b/integration-tests/location.itest.ts
nokia/network-as-code-ts ddf1a5b integration-tests/location.itest.ts
true
200
1,519
import { beforeAll, beforeEach, describe, expect, test } from "@jest/globals"; import "dotenv/config"; import { NetworkAsCodeClient } from "../src"; import { configureClient } from "./configClient"; let client: NetworkAsCodeClient; beforeAll((): any => { client = configureClient() }); describe("Location retrieva...
5
JCLedesmaDev/Album-Virtual
6dfc499
Server/src/routes/albumCollections/controller.ts
TypeScript
www.github.com/JCLedesmaDev/Album-Virtual/tree/main/Server/src/routes/albumCollections/controller.ts
https://raw.githubusercontent.com/JCLedesmaDev/Album-Virtual/6dfc499/Server/src/routes/albumCollections/controller.ts
JCLedesmaDev/Album-Virtual 6dfc499 Server/src/routes/albumCollections/controller.ts
true
200
1,558
import { Request, Response, NextFunction } from "express" import { matchedData } from "express-validator" import { IPagination } from "../../interface/IPagination" import { controllerWrapper } from "../../utils/controllerWrapper" import { ICreateCollectionDto } from "./dto/ICreateCollection.dto" import { IDeleteCollect...
6
levantamdhcn/chat-app
6d09e09
server/src/routes/contact/index.ts
TypeScript
www.github.com/levantamdhcn/chat-app/tree/main/server/src/routes/contact/index.ts
https://raw.githubusercontent.com/levantamdhcn/chat-app/6d09e09/server/src/routes/contact/index.ts
levantamdhcn/chat-app 6d09e09 server/src/routes/contact/index.ts
true
200
2,466
import { Request, Response, Router } from "express"; import { CreatedUser } from "../../interfaces/user"; import { authMiddleware } from "../../middlewares"; import controller from "../../controllers/contact"; class Contact { public route = Router(); public controller = controller; constructor() { this.init(...
4
ermekov-davlet-u/beauty-salon-nest
2a9615b
src/master_uslugi/entity/master_uslugi.entity.ts
TypeScript
www.github.com/ermekov-davlet-u/beauty-salon-nest/tree/main/src/master_uslugi/entity/master_uslugi.entity.ts
https://raw.githubusercontent.com/ermekov-davlet-u/beauty-salon-nest/2a9615b/src/master_uslugi/entity/master_uslugi.entity.ts
ermekov-davlet-u/beauty-salon-nest 2a9615b src/master_uslugi/entity/master_uslugi.entity.ts
true
200
715
import { Master } from "src/master/entity/master.entity"; import { Order } from "src/order/entity/order.entity"; import { Uslugi } from "src/uslugi/entity/uslugi.entity"; import { Column, Entity, ManyToOne, OneToMany, PrimaryGeneratedColumn } from "typeorm"; @Entity("master_uslugi") export class MasterUslugi { @...
1
github-Hamid/Buy_Properly
046f51a
src/app/app-routing.module.ts
TypeScript
www.github.com/github-Hamid/Buy_Properly/tree/main/src/app/app-routing.module.ts
https://raw.githubusercontent.com/github-Hamid/Buy_Properly/046f51a/src/app/app-routing.module.ts
github-Hamid/Buy_Properly 046f51a src/app/app-routing.module.ts
true
200
451
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { UiComponent } from './components/ui/ui.component'; import { DataComponent } from './components/data/data.component'; const routes: Routes = [ {path: "", component: DataComponent}, {path: 'ui', component: UiCom...
7
ehfp/ticketing
1f29f08
tickets/src/models/__test__/ticket.test.ts
TypeScript
www.github.com/ehfp/ticketing/tree/main/tickets/src/models/__test__/ticket.test.ts
https://raw.githubusercontent.com/ehfp/ticketing/1f29f08/tickets/src/models/__test__/ticket.test.ts
ehfp/ticketing 1f29f08 tickets/src/models/__test__/ticket.test.ts
true
200
924
import { Ticket } from "../ticket"; it('implements optimistic concurrency control', async () => { const ticket = Ticket.build({ title: 'concert', price: 5, userId: '123' }); await ticket.save(); const firstInstance = await Ticket.findById(ticket.id); const secondInstance = await Ticket.findById...
2
hungibninc/video-sharing-be
d37f81e
src/videos/dtos/video.dto.ts
TypeScript
www.github.com/hungibninc/video-sharing-be/tree/main/src/videos/dtos/video.dto.ts
https://raw.githubusercontent.com/hungibninc/video-sharing-be/d37f81e/src/videos/dtos/video.dto.ts
hungibninc/video-sharing-be d37f81e src/videos/dtos/video.dto.ts
true
200
501
import { Expose, Transform } from 'class-transformer'; export class VideoDto { @Expose() id: number; @Expose() title: string; @Expose() desc: string; @Expose() url: string; /** * this entire line right here says take the original video entity then Look at its user property and look at that use...
0
Alanmora94/TP2020Pelis
701a130
src/app/servicios/componenetes/agregar-favorito.service.ts
TypeScript
www.github.com/Alanmora94/TP2020Pelis/tree/main/src/app/servicios/componenetes/agregar-favorito.service.ts
https://raw.githubusercontent.com/Alanmora94/TP2020Pelis/701a130/src/app/servicios/componenetes/agregar-favorito.service.ts
Alanmora94/TP2020Pelis 701a130 src/app/servicios/componenetes/agregar-favorito.service.ts
true
200
1,307
import { Injectable } from '@angular/core'; import { Favoritos } from '../../clases/favoritos'; import { HttpService } from '../API/http.service'; @Injectable({ providedIn: 'root' }) export class AgregarFavoritoService { lista: Array<Favoritos> = []; aux : any; miObjeto: Favoritos; constructor(private htt...
3
matej-bittner/better_todo
2eeb192
app/api/delete-todo/[id]/route.ts
TypeScript
www.github.com/matej-bittner/better_todo/tree/main/app/api/delete-todo/[id]/route.ts
https://raw.githubusercontent.com/matej-bittner/better_todo/2eeb192/app/api/delete-todo/%5Bid%5D/route.ts
matej-bittner/better_todo 2eeb192 app/api/delete-todo/[id]/route.ts
true
200
264
import { prisma } from "@/lib/prisma"; import { NextResponse } from "next/server"; export async function DELETE(request: any, { params }: any) { const id = params.id; await prisma.todo.delete({ where: { id }, }); return NextResponse.json(request); }
5
AsmaaHassanHamza2022/New-Dashboard
f31736b
src/app/pages/courses-page/courses-page.component.ts
TypeScript
www.github.com/AsmaaHassanHamza2022/New-Dashboard/tree/main/src/app/pages/courses-page/courses-page.component.ts
https://raw.githubusercontent.com/AsmaaHassanHamza2022/New-Dashboard/f31736b/src/app/pages/courses-page/courses-page.component.ts
AsmaaHassanHamza2022/New-Dashboard f31736b src/app/pages/courses-page/courses-page.component.ts
true
200
961
import { Component, OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { AddNewCourseComponent } from 'src/app/components/add-new-course/add-new-course.component'; import { MyCourses } from 'src/app/models/Course'; import { CouresService } from 'src/app/services/coures.service';...
1
Pawel2923/AirTrans
e5abdbc
api/services/airfield.ts
TypeScript
www.github.com/Pawel2923/AirTrans/tree/main/api/services/airfield.ts
https://raw.githubusercontent.com/Pawel2923/AirTrans/e5abdbc/api/services/airfield.ts
Pawel2923/AirTrans e5abdbc api/services/airfield.ts
true
200
3,472
import db from "./db"; import helper from "../helper"; import config from "../config"; import { Airfield_info, Runways, Terminals, Taxiways } from "../Types"; import { Err } from "../Types"; import { ResultSetHeader } from "mysql2"; const tableNames = ["Runways", "Terminals", "Taxiways"]; const runwaysProperties = ["...
7
minhtri06/data-annotation
10490b0
src/services/token.service.ts
TypeScript
www.github.com/minhtri06/data-annotation/tree/main/src/services/token.service.ts
https://raw.githubusercontent.com/minhtri06/data-annotation/10490b0/src/services/token.service.ts
minhtri06/data-annotation 10490b0 src/services/token.service.ts
true
200
2,918
import jwt, { VerifyOptions } from 'jsonwebtoken' import moment, { Moment } from 'moment' import { inject, injectable } from 'inversify' import ENV_CONFIG from '@src/configs/env.config' import { IToken, ITokenModel, TokenDocument, UserDocument } from '@src/models' import { ITokenService } from './token.service.interfa...
2
davisperezg/ft
c0ee435
src/features/Productos/validations/producto.schema.ts
TypeScript
www.github.com/davisperezg/ft/tree/main/src/features/Productos/validations/producto.schema.ts
https://raw.githubusercontent.com/davisperezg/ft/c0ee435/src/features/Productos/validations/producto.schema.ts
davisperezg/ft c0ee435 src/features/Productos/validations/producto.schema.ts
true
200
1,262
import * as yup from "yup"; export const schemaFormProducto = yup.object({ tipAfeIgv: yup .string() .required("El tipo de afectación del IGV es obligatorio"), cantidad: yup .number() .min(0.000001, "La cantidad debe ser al menos 0.000001") .required("La cantidad es obligatoria"), unidad: yup....
4
payouri/passwordless-api
c16f067
front/src/customHooks/useTranslation/index.ts
TypeScript
www.github.com/payouri/passwordless-api/tree/main/front/src/customHooks/useTranslation/index.ts
https://raw.githubusercontent.com/payouri/passwordless-api/c16f067/front/src/customHooks/useTranslation/index.ts
payouri/passwordless-api c16f067 front/src/customHooks/useTranslation/index.ts
true
200
1,322
import { useTranslation as useI18nTranslation, initReactI18next, } from "react-i18next"; import i18n, { TOptions } from "i18next"; import { TranslationKey } from "../../internationalization/translationsMap"; import { useEffect, useState } from "react"; import { EN_US } from "../../internationalization/en"; export ...
0
ZhuoxuanLiu/scanner-robot-front-end
41f02e6
config/routes.ts
TypeScript
www.github.com/ZhuoxuanLiu/scanner-robot-front-end/tree/main/config/routes.ts
https://raw.githubusercontent.com/ZhuoxuanLiu/scanner-robot-front-end/41f02e6/config/routes.ts
ZhuoxuanLiu/scanner-robot-front-end 41f02e6 config/routes.ts
true
200
940
export default [ { path: '/user', layout: false, routes: [ { path: '/user/login', layout: false, name: 'login', component: './user/Login', }, { path: '/user', redirect: '/user/login', }, { name: 'register-result', ...
6
AjayFrancisTechversant/FirebaseProject
731b4a6
src/Modules/LoginPage/style.ts
TypeScript
www.github.com/AjayFrancisTechversant/FirebaseProject/tree/main/src/Modules/LoginPage/style.ts
https://raw.githubusercontent.com/AjayFrancisTechversant/FirebaseProject/731b4a6/src/Modules/LoginPage/style.ts
AjayFrancisTechversant/FirebaseProject 731b4a6 src/Modules/LoginPage/style.ts
true
200
1,190
import {StyleSheet} from 'react-native'; import {ScreenContextType} from '../../Contexts/ScreenContext'; import ColorPalette from '../../Assets/Themes/ColorPalette'; const styles = ( height: number, width: number, isPortrait: boolean, isTypeTablet: boolean, screenContext: ScreenContextType, ) => StyleSheet...
3
happycloudy/oprosnik-db
c5aeb13
src/auth/auth.controller.ts
TypeScript
www.github.com/happycloudy/oprosnik-db/tree/main/src/auth/auth.controller.ts
https://raw.githubusercontent.com/happycloudy/oprosnik-db/c5aeb13/src/auth/auth.controller.ts
happycloudy/oprosnik-db c5aeb13 src/auth/auth.controller.ts
true
200
654
import { Body, Controller, HttpCode, HttpStatus, Post } from '@nestjs/common'; import { AuthService } from './auth.service'; import { Public } from '../shared/decorators/public'; import { CreateUserDto } from '../users/dto/create-user.dto'; @Controller('auth') export class AuthController { constructor(private authSe...
5
ynitun/demos
d18706a
wftc-api/src/api/api.module.ts
TypeScript
www.github.com/ynitun/demos/tree/main/wftc-api/src/api/api.module.ts
https://raw.githubusercontent.com/ynitun/demos/d18706a/wftc-api/src/api/api.module.ts
ynitun/demos d18706a wftc-api/src/api/api.module.ts
true
200
316
import { Module } from '@nestjs/common'; import { ApiController } from './api.controller'; import { ApiService } from './api.service'; import { PrismaModule } from '../prisma/prisma.module'; @Module({ controllers: [ApiController], providers: [ApiService], imports: [PrismaModule] }) export class ApiModule {}
2
voyd-lang/voyd
54476e0
src/assembler.ts
TypeScript
www.github.com/voyd-lang/voyd/tree/main/src/assembler.ts
https://raw.githubusercontent.com/voyd-lang/voyd/54476e0/src/assembler.ts
voyd-lang/voyd 54476e0 src/assembler.ts
true
200
21,313
import binaryen from "binaryen"; import { Call } from "./syntax-objects/call.js"; import { Expr } from "./syntax-objects/expr.js"; import { Fn } from "./syntax-objects/fn.js"; import { Identifier } from "./syntax-objects/identifier.js"; import { Int } from "./syntax-objects/int.js"; import { Type, Primitive, Obje...
1
eric12397/papacatzzi-client
9ef55a4
src/hooks.server.ts
TypeScript
www.github.com/eric12397/papacatzzi-client/tree/main/src/hooks.server.ts
https://raw.githubusercontent.com/eric12397/papacatzzi-client/9ef55a4/src/hooks.server.ts
eric12397/papacatzzi-client 9ef55a4 src/hooks.server.ts
true
200
1,883
import { redirect, type Handle, type RequestEvent } from "@sveltejs/kit" import jwt from "jsonwebtoken" const SECRET = import.meta.env.JWT_SECRET export const handle: Handle = async ({ event, resolve }) => { event.locals.user = await authenticateUser(event) if (event.url.pathname.startsWith("/upload")) {...
7
emulvihill/bitcoin-dip-trader
239121a
BTCParameterOptimization.ts
TypeScript
www.github.com/emulvihill/bitcoin-dip-trader/tree/main/BTCParameterOptimization.ts
https://raw.githubusercontent.com/emulvihill/bitcoin-dip-trader/239121a/BTCParameterOptimization.ts
emulvihill/bitcoin-dip-trader 239121a BTCParameterOptimization.ts
true
200
7,168
import {BTCData, calculateProfitLoss, DipTradingParameters, loadBtcData} from "./BTC_DipTradingAnalyzer"; interface OptimizationResult extends DipTradingParameters { netProfitLoss: number; iterations: number; } interface DynamicParams { dipFraction: number; profitFraction: number; sellFraction: nu...
4
developerB1/hospital-management-system
edf0e55
src/app/Components/dashboard/dashboard.component.ts
TypeScript
www.github.com/developerB1/hospital-management-system/tree/main/src/app/Components/dashboard/dashboard.component.ts
https://raw.githubusercontent.com/developerB1/hospital-management-system/edf0e55/src/app/Components/dashboard/dashboard.component.ts
developerB1/hospital-management-system edf0e55 src/app/Components/dashboard/dashboard.component.ts
true
200
2,055
import { Component, OnInit } from '@angular/core'; import { PatientService } from '../../Services/patient.service'; import { CommonModule } from '@angular/common'; import { ReactiveFormsModule } from '@angular/forms'; import { DoctorService } from '../../Services/doctor.service'; import { NurseService } from '../../Ser...
0
leellun/lanheerp-admin
6608482
src/api/cms/prefrenceAreaApi.ts
TypeScript
www.github.com/leellun/lanheerp-admin/tree/main/src/api/cms/prefrenceAreaApi.ts
https://raw.githubusercontent.com/leellun/lanheerp-admin/6608482/src/api/cms/prefrenceAreaApi.ts
leellun/lanheerp-admin 6608482 src/api/cms/prefrenceAreaApi.ts
true
200
505
import { httpRequest, httpRequestWithMsg } from "@/utils/request"; import type { Page } from "../types"; export interface PrefrenceArea { id: string //优选专区id name: string //优选专区名称 subTitle: string //子标题 pic: string //展示图片 sort: number //排序 showStatus: number //显示状态 } export function _getPrefrenc...
3