hexsha
stringlengths
40
40
size
int64
5
1.05M
ext
stringclasses
588 values
lang
stringclasses
305 values
max_stars_repo_path
stringlengths
3
363
max_stars_repo_name
stringlengths
5
118
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
10
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringdate
2015-01-01 00:00:35
2022-03-31 23:43:49
max_stars_repo_stars_event_max_datetime
stringdate
2015-01-01 12:37:38
2022-03-31 23:59:52
max_issues_repo_path
stringlengths
3
363
max_issues_repo_name
stringlengths
5
118
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
10
max_issues_count
float64
1
134k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
363
max_forks_repo_name
stringlengths
5
135
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
10
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringdate
2015-01-01 00:01:02
2022-03-31 23:27:27
max_forks_repo_forks_event_max_datetime
stringdate
2015-01-03 08:55:07
2022-03-31 23:59:24
content
stringlengths
5
1.05M
avg_line_length
float64
1.13
1.04M
max_line_length
int64
1
1.05M
alphanum_fraction
float64
0
1
a8d4eefafd420e618669573fbfce301503934fa4
449
ts
TypeScript
Level-1/TypeScript/Introduction/src/route.ts
thiagorcode/GoStack13
a6e05e4c13f12e1ae965bf33e07d23b915df6585
[ "MIT" ]
null
null
null
Level-1/TypeScript/Introduction/src/route.ts
thiagorcode/GoStack13
a6e05e4c13f12e1ae965bf33e07d23b915df6585
[ "MIT" ]
null
null
null
Level-1/TypeScript/Introduction/src/route.ts
thiagorcode/GoStack13
a6e05e4c13f12e1ae965bf33e07d23b915df6585
[ "MIT" ]
null
null
null
import { Request, Response } from "express"; import createUser from './services/CreateUser'; export function helloWorld(req: Request, res: Response) { // req => Vai ser do tipo Request e Res => Response const user = createUser({ email: 'thiago.rodrigues@gmail.com', password: 'Rapaz123@1', techs: ['Node.js...
37.416667
109
0.657016
d12a4a98042be098add46f689e497901f938de8d
278
ts
TypeScript
src/controllers/tasks/index.ts
Issue-Tracker-M/backend-monolith
58a8f118ebbf5b2abd931c0e650ab45e2e11e6d9
[ "MIT" ]
null
null
null
src/controllers/tasks/index.ts
Issue-Tracker-M/backend-monolith
58a8f118ebbf5b2abd931c0e650ab45e2e11e6d9
[ "MIT" ]
4
2020-10-17T02:02:08.000Z
2020-10-27T10:20:35.000Z
src/controllers/tasks/index.ts
Issue-Tracker-M/backend-monolith
58a8f118ebbf5b2abd931c0e650ab45e2e11e6d9
[ "MIT" ]
null
null
null
export * from "./createTask"; export * from "./getTask"; export * from "./deleteTask"; export * from "./editTask"; export * from "./comments/createComment"; export * from "./comments/deleteComment"; export * from "./comments/editComment"; export * from "./comments/getComment";
30.888889
41
0.697842
3bed6a296186862330ff5d95ed4ec25a3c7be764
2,344
ts
TypeScript
src/parametros/parametros.controller.ts
HitSystems/tocBackend
84e727df10b59906042d099f8b8bc2fb5226505d
[ "MIT" ]
null
null
null
src/parametros/parametros.controller.ts
HitSystems/tocBackend
84e727df10b59906042d099f8b8bc2fb5226505d
[ "MIT" ]
null
null
null
src/parametros/parametros.controller.ts
HitSystems/tocBackend
84e727df10b59906042d099f8b8bc2fb5226505d
[ "MIT" ]
null
null
null
import { Body, Controller, Post, Get } from '@nestjs/common'; import { parametrosInstance } from "./parametros.clase"; @Controller('parametros') export class ParametrosController { @Post('todoInstalado') todoInstalado() { const res = parametrosInstance.todoInstalado(); if (res) { con...
37.806452
126
0.53285
1d074aa35a65c82e2694e26b120fcf1f7c1fb7e8
2,550
ts
TypeScript
web/src/pages/api/github/branches.ts
keethburu/vivliostyle-pub
a76887b7ec574b02c6646e349f53809c22c2359f
[ "Apache-2.0" ]
null
null
null
web/src/pages/api/github/branches.ts
keethburu/vivliostyle-pub
a76887b7ec574b02c6646e349f53809c22c2359f
[ "Apache-2.0" ]
null
null
null
web/src/pages/api/github/branches.ts
keethburu/vivliostyle-pub
a76887b7ec574b02c6646e349f53809c22c2359f
[ "Apache-2.0" ]
null
null
null
import {NextApiHandler} from 'next'; import {Octokit} from '@octokit/rest'; import {Endpoints} from '@octokit/types'; import githubApp from '@services/githubApp'; import firebaseAdmin from '@services/firebaseAdmin'; import {decrypt} from '@utils/encryption'; import { createAppAuth } from '@octokit/auth-app'; import { ...
29.651163
82
0.652157
1d4bfb3be95efd27ecb8f1eeebb878e9dd3deaae
1,531
ts
TypeScript
src/app/groups/groups.module.ts
ubd-frog/frog_ng
6c00fd21d8a73617245878f17f21077e7bfc284d
[ "MIT" ]
1
2016-11-30T12:15:02.000Z
2016-11-30T12:15:02.000Z
src/app/groups/groups.module.ts
theiviaxx/frog_ng
6c00fd21d8a73617245878f17f21077e7bfc284d
[ "MIT" ]
66
2016-11-08T23:32:41.000Z
2018-10-22T16:55:52.000Z
src/app/groups/groups.module.ts
dreamhaven/frog_ng
396005692c1a15dbdbd6c447c5d729b0bc836539
[ "MIT" ]
2
2016-11-30T12:15:13.000Z
2018-08-28T04:13:54.000Z
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { SortablejsModule } from 'angular-sortablejs'; import { MatButtonModule, MatInputModule } from '@angular/material'; import { GroupsRoutingModule } from './groups-routing.module'; import { GroupEditorComponent } from './g...
34.795455
86
0.702155
d4a2fcf95e1cf9a2ef0c89fcb12ead149bf8dad9
422
ts
TypeScript
src/core/utils/primitives/HTMLDocument.ts
the-yamiteru/susskind
c19176d3506264e4788c8a87aa436a27d54eeaf1
[ "MIT" ]
null
null
null
src/core/utils/primitives/HTMLDocument.ts
the-yamiteru/susskind
c19176d3506264e4788c8a87aa436a27d54eeaf1
[ "MIT" ]
16
2021-08-18T20:18:54.000Z
2021-08-23T20:56:52.000Z
src/core/utils/primitives/HTMLDocument.ts
the-yamiteru/susskind
c19176d3506264e4788c8a87aa436a27d54eeaf1
[ "MIT" ]
null
null
null
import {Children} from "../../types/common"; import {Document} from "./Document"; import renderChildren from "../help/renderChildren"; import {Body, Head, Html} from "../../tags"; export const HTMLDocument = (headChildren?: Children, bodyChildren?: Children) => Document("text/html", renderChildren([ Html(n...
35.166667
81
0.625592
003a883d3f7ab368a6fb046d3f563b09fdba0e5d
335
ts
TypeScript
frontend/src/app/data/types.ts
StoXProject/StoX
8d4345e0bf6984a89a07e45033a266ed4f69e415
[ "MIT" ]
4
2021-11-22T17:16:14.000Z
2022-01-14T12:14:49.000Z
frontend/src/app/data/types.ts
StoXProject/StoX
8d4345e0bf6984a89a07e45033a266ed4f69e415
[ "MIT" ]
23
2020-04-16T10:27:16.000Z
2022-03-22T19:42:21.000Z
frontend/src/app/data/types.ts
StoXProject/StoX
8d4345e0bf6984a89a07e45033a266ed4f69e415
[ "MIT" ]
null
null
null
/*Named index converted to standard object. This is a generic form of 'any' if representing an object with fields, not an array */ export type NamedIndex<T> = { [key: string]: T; } /*Array of Standar objects - Named Indexes */ export type NamedStringIndex = NamedIndex<string>; export type NamedStringTable = NamedS...
33.5
130
0.740299
00a4f190b4113d5135758f07e517941526d9703c
80
ts
TypeScript
center/deps.ts
bodo-apps/bodo_server
77fe532fa5ec79a8faa1cee0d046468f8bc9def3
[ "Apache-2.0" ]
null
null
null
center/deps.ts
bodo-apps/bodo_server
77fe532fa5ec79a8faa1cee0d046468f8bc9def3
[ "Apache-2.0" ]
null
null
null
center/deps.ts
bodo-apps/bodo_server
77fe532fa5ec79a8faa1cee0d046468f8bc9def3
[ "Apache-2.0" ]
null
null
null
export { listenAndServe, } from "https://deno.land/std@0.63.0/http/server.ts";
26.666667
53
0.7
8bb98493290e9d3a8c255347affc1ef612c305b1
1,308
ts
TypeScript
Songhay.Blog/ClientApp/src/app/components/app-blog-entry/app-blog-entry.component.ts
BryanWilhite/Songhay.Blog
6b052b6d365e86babde0049615acd6d939abb6df
[ "MIT" ]
null
null
null
Songhay.Blog/ClientApp/src/app/components/app-blog-entry/app-blog-entry.component.ts
BryanWilhite/Songhay.Blog
6b052b6d365e86babde0049615acd6d939abb6df
[ "MIT" ]
54
2018-06-30T00:16:39.000Z
2019-07-18T21:17:46.000Z
Songhay.Blog/ClientApp/src/app/components/app-blog-entry/app-blog-entry.component.ts
BryanWilhite/Songhay.Blog
6b052b6d365e86babde0049615acd6d939abb6df
[ "MIT" ]
null
null
null
import { Component, OnInit } from '@angular/core'; import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; import { ActivatedRoute } from '@angular/router'; import { BlogEntriesService } from '../../services/songhay-blog-entries.service'; @Component({ selector: 'app-blog-entry', templateUrl: './ap...
33.538462
98
0.625382
e36d414a66e4a8517fc4e08b0a41d2adc0d9f0d3
765
ts
TypeScript
src/Octoken.ts
superbrothers/octoken-action
b1fde76604b98586ac25b33995ffe88aed5a5365
[ "MIT" ]
12
2021-01-12T02:07:14.000Z
2022-03-27T01:17:56.000Z
src/Octoken.ts
superbrothers/octoken-action
b1fde76604b98586ac25b33995ffe88aed5a5365
[ "MIT" ]
1
2021-01-25T01:04:33.000Z
2021-01-25T01:04:33.000Z
src/Octoken.ts
superbrothers/octoken-action
b1fde76604b98586ac25b33995ffe88aed5a5365
[ "MIT" ]
2
2021-01-23T09:13:26.000Z
2021-07-23T21:25:05.000Z
import * as core from "@actions/core"; import * as github from "@actions/github"; import { TokenCreator } from "./TokenCreator"; export const run = async (): Promise<void> => { try { const appId = parseInt( core.getInput("github_app_id", { required: true }), 10 ); const privateKey = core.getI...
26.37931
67
0.653595
69528e1c91aa0cd44ac8e698913655dfcfda096f
228
ts
TypeScript
devui/button/demo/size/size.component.ts
sspku-yqLiu/ng-devui
200e2488b26a094bfcadfd8ea240c74783301d60
[ "MIT" ]
1
2021-04-30T08:46:54.000Z
2021-04-30T08:46:54.000Z
devui/button/demo/size/size.component.ts
ZOUJIELynn/ng-devui
2ce4c72efb465872eaab50b10ed41eb779c2caed
[ "MIT" ]
null
null
null
devui/button/demo/size/size.component.ts
ZOUJIELynn/ng-devui
2ce4c72efb465872eaab50b10ed41eb779c2caed
[ "MIT" ]
1
2020-05-17T11:08:38.000Z
2020-05-17T11:08:38.000Z
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'd-button-size', templateUrl: './size.component.html', }) export class SizeComponent implements OnInit { constructor() { } ngOnInit() { } }
15.2
50
0.662281
48b5f34a6b0c52fd2d52cbb73014992fe0ffb5e7
4,908
ts
TypeScript
src/app/movie/movie.service.ts
Magystius/ng-pet-project
2d6e401031cc7b3963e5f0e5a134c87c53ccf92b
[ "MIT" ]
null
null
null
src/app/movie/movie.service.ts
Magystius/ng-pet-project
2d6e401031cc7b3963e5f0e5a134c87c53ccf92b
[ "MIT" ]
null
null
null
src/app/movie/movie.service.ts
Magystius/ng-pet-project
2d6e401031cc7b3963e5f0e5a134c87c53ccf92b
[ "MIT" ]
null
null
null
import {Injectable} from '@angular/core'; import {HttpClient, HttpErrorResponse} from '@angular/common/http'; import {Subject} from 'rxjs/Subject'; import {Movie} from './movie'; import 'rxjs/add/operator/retry'; import 'rxjs/add/operator/map'; import 'rxjs/add/operator/publish'; import 'rxjs/add/operator/do'; import {...
36.902256
109
0.645069
48fe1c42b4b00a465c59094de63ad850ba6b480d
709
ts
TypeScript
src/helpers.ts
MohdSK2/GoogleDrive
417ea8dce73bb53585d9960a8c92610d8ee8f07c
[ "MIT" ]
null
null
null
src/helpers.ts
MohdSK2/GoogleDrive
417ea8dce73bb53585d9960a8c92610d8ee8f07c
[ "MIT" ]
null
null
null
src/helpers.ts
MohdSK2/GoogleDrive
417ea8dce73bb53585d9960a8c92610d8ee8f07c
[ "MIT" ]
1
2020-11-17T12:51:32.000Z
2020-11-17T12:51:32.000Z
// General easy functions/methods to have. import { MimeTypes } from "./GoogleMimeTypes"; export function getBoolean(value) { switch (value) { case true: case "true": case 1: case "1": case "on": case "yes": return true; default: return false; } } export fu...
18.657895
52
0.589563
f80932d417797ea5ddaeacc8a50854a7f2940005
15,920
ts
TypeScript
src/BattleDebugger.ts
chinhodado/Blood-Brothers-PvP-Simulator
fdd5f4a6db4d192476a487f77d2b264505a0936b
[ "MIT" ]
17
2015-02-12T23:59:59.000Z
2021-09-02T10:04:08.000Z
src/BattleDebugger.ts
chinhodado/Blood-Brothers-PvP-Simulator
fdd5f4a6db4d192476a487f77d2b264505a0936b
[ "MIT" ]
20
2015-01-10T02:50:55.000Z
2015-11-02T03:11:53.000Z
src/BattleDebugger.ts
chinhodado/Blood-Brothers-PvP-Simulator
fdd5f4a6db4d192476a487f77d2b264505a0936b
[ "MIT" ]
8
2015-02-26T17:14:48.000Z
2018-12-13T23:34:47.000Z
/// <reference path="Status.ts"/> /** * Responsible for stuffs in the debugger mode */ class BattleDebugger { static IS_DEBUG_MODE = true; private static _instance: BattleDebugger = null; constructor() { if (BattleDebugger._instance) { throw new Error("Error: Instantiation failed: ...
48.242424
135
0.564447
555be1f45976b42c0a2a1b4afdc60a138cee8cf5
3,345
ts
TypeScript
std/web/results.ts
kbarbounakis/centroid
d1bc1bc189d3d1f66d1f2359a2bcef8f955b6b5a
[ "BSD-3-Clause" ]
2
2020-05-29T13:57:59.000Z
2020-05-29T14:23:09.000Z
std/web/results.ts
kbarbounakis/centroid
d1bc1bc189d3d1f66d1f2359a2bcef8f955b6b5a
[ "BSD-3-Clause" ]
1
2020-06-08T12:07:52.000Z
2020-06-11T17:29:14.000Z
std/web/results.ts
kbarbounakis/centroid
d1bc1bc189d3d1f66d1f2359a2bcef8f955b6b5a
[ "BSD-3-Clause" ]
1
2020-05-23T05:05:49.000Z
2020-05-23T05:05:49.000Z
// MOST Web Framework Centroid for Deno Copyright (c) 2020, // THEMOST LP All rights reserved BSD-3-Clause license import { HttpContext } from "./context.ts"; import { Response } from "https://deno.land/std/http/server.ts"; import { HttpEndResult } from "./signals.ts"; /** * Represents a generic http result */ expor...
28.347458
68
0.564425
1563cba7c3f9f679d76ab932f31f3903154f5877
351
ts
TypeScript
packages/generator-moped-output-demo/src/db-migrations/bundle.ts
mopedjs/moped
bbebae45ee2db17500d6c0c9f5fe252294e6a47a
[ "MIT" ]
17
2015-01-22T01:52:47.000Z
2019-03-11T00:54:05.000Z
packages/generator-moped-output-demo/src/db-migrations/bundle.ts
mopedjs/moped
bbebae45ee2db17500d6c0c9f5fe252294e6a47a
[ "MIT" ]
18
2015-09-30T20:01:49.000Z
2022-03-08T22:49:50.000Z
packages/monorepo-demo/src/db-migrations/bundle.ts
mopedjs/moped
bbebae45ee2db17500d6c0c9f5fe252294e6a47a
[ "MIT" ]
null
null
null
// auto generated by @moped/db-pg-migrations - do not edit by hand import migrations, { MigrationsPackage, operation, } from '@moped/db-pg-migrations'; export {MigrationsPackage}; export default migrations({ id: 'd000jcbyi08ktdk0glnc', index: 1, name: '00001-init.ts', operation: async () => operation(awai...
23.4
66
0.700855
31c56a60a2bb4c3c962f06d6322f2f65b80df414
774
ts
TypeScript
tests/cases/fourslash/commentSelection2.ts
monciego/TypeScript
06fb30725d4a70708b28f2a4613543ce8c4cd645
[ "Apache-2.0" ]
49,134
2015-01-01T02:37:27.000Z
2019-05-06T20:38:53.000Z
tests/cases/fourslash/commentSelection2.ts
IvanJasenov/TypeScript
ff2ff98ee45a18cd221a425508a1e0c8a1bbe4a2
[ "Apache-2.0" ]
26,488
2015-01-01T13:57:03.000Z
2019-05-06T20:40:00.000Z
tests/cases/fourslash/commentSelection2.ts
IvanJasenov/TypeScript
ff2ff98ee45a18cd221a425508a1e0c8a1bbe4a2
[ "Apache-2.0" ]
8,518
2015-01-05T03:29:29.000Z
2019-05-06T14:37:49.000Z
// Common jsx insert comment. //@Filename: file.tsx //// const a = <MyContainer> //// [|<MyFirstComponent /> //// <MySecondComponent />|] //// </MyContainer>; //// const b = <MyContainer> //// {/*<MyF[|irstComponent />*/} //// {/*<MySec|]ondComponent />*/} //// </MyContainer>; //// const c =...
26.689655
39
0.549096
d3b5e6c883747a75b87569849d0ebfa4a0806916
155
ts
TypeScript
build/types/shuffle.d.ts
DerSchmale/array-utils
587919fc8516c0accabb314163fe80e0f23eec99
[ "MIT" ]
6
2022-01-16T14:38:16.000Z
2022-01-16T15:40:16.000Z
build/types/shuffle.d.ts
DerSchmale/array-utils
587919fc8516c0accabb314163fe80e0f23eec99
[ "MIT" ]
null
null
null
build/types/shuffle.d.ts
DerSchmale/array-utils
587919fc8516c0accabb314163fe80e0f23eec99
[ "MIT" ]
null
null
null
import { TypedArray } from "./types"; export declare function shuffle<T>(array: T[]): T[]; export declare function shuffle(array: TypedArray): TypedArray;
38.75
63
0.735484
d3da106da3dae6473098f09c9678d3e1ecbe0566
1,426
ts
TypeScript
backend/src/controllers/common/userAuthentification.ts
theochap/artWebApp
8924dbb4b1e21936cd02cd047c01e8690dc51a93
[ "MIT" ]
1
2022-03-15T22:45:50.000Z
2022-03-15T22:45:50.000Z
backend/src/controllers/common/userAuthentification.ts
theochap/artWebApp
8924dbb4b1e21936cd02cd047c01e8690dc51a93
[ "MIT" ]
null
null
null
backend/src/controllers/common/userAuthentification.ts
theochap/artWebApp
8924dbb4b1e21936cd02cd047c01e8690dc51a93
[ "MIT" ]
1
2022-03-15T22:45:52.000Z
2022-03-15T22:45:52.000Z
import config from "config"; import { ObjectId } from "mongodb"; const jwt = require("jsonwebtoken"); import { Response, Request } from "express" export class Authentificate { static async authMiddleware(req: Request, res: Response, next) { const token: string = req.token; if (token) { ...
31.688889
102
0.525947
87005d575c69304ebd1968c1a3f18e042729f5be
2,783
ts
TypeScript
src/modules/product/product.controller.ts
thaothao99/backend-mobile
dd017d19d856e1c5bacbf62cfcc2e3db8b879357
[ "MIT" ]
null
null
null
src/modules/product/product.controller.ts
thaothao99/backend-mobile
dd017d19d856e1c5bacbf62cfcc2e3db8b879357
[ "MIT" ]
null
null
null
src/modules/product/product.controller.ts
thaothao99/backend-mobile
dd017d19d856e1c5bacbf62cfcc2e3db8b879357
[ "MIT" ]
null
null
null
import { Body, Controller, Get, HttpStatus, Param, Post, Query, Res } from '@nestjs/common'; import { VariantProductService } from '../variant-product/variant-product.service'; import { ProductService } from './product.service'; @Controller('product') export class ProductController { constructor( private r...
36.142857
92
0.607258
1917ce4424172cff17a503047e8baf6b216c2a48
329
ts
TypeScript
src/app/strategy/context.ts
jbroni/snake
6924d7e7e476e281ace1f7f4dcf4a2199ce4a63c
[ "MIT" ]
12
2020-05-24T12:01:41.000Z
2021-12-10T13:54:56.000Z
src/app/strategy/context.ts
jbroni/snake
6924d7e7e476e281ace1f7f4dcf4a2199ce4a63c
[ "MIT" ]
5
2020-06-01T18:00:17.000Z
2022-02-27T05:14:56.000Z
src/app/strategy/context.ts
jbroni/snake
6924d7e7e476e281ace1f7f4dcf4a2199ce4a63c
[ "MIT" ]
12
2020-05-22T08:26:19.000Z
2021-04-16T02:16:18.000Z
export enum SnakeDirection { left = 37, up = 38, right = 39, down = 40 } export interface Position { x: number; y: number; } export interface Snake { direction: SnakeDirection; parts: Position[]; } export interface Context { snake: Snake; fruit: Position; obstacles: Positi...
13.708333
30
0.613982
19245cc8390f049d2e475eb1dc204cdfe805456d
617
tsx
TypeScript
src/providers/UsersListProvider.tsx
Hiidees/react-project-mvvm
991d57d66b030f5b750f773b28c4c78a4630f41c
[ "MIT" ]
null
null
null
src/providers/UsersListProvider.tsx
Hiidees/react-project-mvvm
991d57d66b030f5b750f773b28c4c78a4630f41c
[ "MIT" ]
null
null
null
src/providers/UsersListProvider.tsx
Hiidees/react-project-mvvm
991d57d66b030f5b750f773b28c4c78a4630f41c
[ "MIT" ]
null
null
null
import { default as UsersListController } from "../controllers/UsersListController"; import UsersViewModel from "../view-models/UsersViewModel"; import { LoginViewModel } from "../view-models/LoginViewModel"; import { PageThemeController } from "../controllers/PageThemeController"; export default function UsersListPro...
34.277778
84
0.742301
7b98abb0008fcb8f557e4a41e950a8ef6ba73c88
244
tsx
TypeScript
platform-ui/packages/commons/src/utils/toast.tsx
elveahuang/platform
f2e668cd94983ebfa3b3b9dd63e46b62c25a0589
[ "Apache-2.0" ]
49
2015-10-21T15:28:23.000Z
2022-03-21T04:34:57.000Z
platform-ui/packages/commons/src/utils/toast.tsx
elveahuang/platform
f2e668cd94983ebfa3b3b9dd63e46b62c25a0589
[ "Apache-2.0" ]
2
2016-01-01T12:36:49.000Z
2016-01-22T08:58:20.000Z
platform-ui/packages/commons/src/utils/toast.tsx
elveahuang/platform
f2e668cd94983ebfa3b3b9dd63e46b62c25a0589
[ "Apache-2.0" ]
30
2015-10-27T18:21:52.000Z
2020-11-16T08:11:42.000Z
import React, { FC } from 'react'; import { toast, ToastContainer } from 'react-toastify'; // import 'react-toastify/dist/ReactToastify.css'; export const AppToastProvider: FC = () => { return <ToastContainer />; }; export default toast;
22.181818
55
0.696721
d03604a73d5426af2743139f9346408cc759199a
7,800
ts
TypeScript
src/utils.ts
chafan-dev/frontend
f5ac197b3e056d11d184b8add29d254c6cd1aaa9
[ "Apache-2.0" ]
48
2021-03-05T04:52:45.000Z
2022-01-04T11:40:04.000Z
src/utils.ts
chafan-dev/chafan-frontend
f5ac197b3e056d11d184b8add29d254c6cd1aaa9
[ "Apache-2.0" ]
133
2021-03-05T05:08:31.000Z
2022-01-11T02:42:54.000Z
src/utils.ts
chafan-dev/chafan-frontend
f5ac197b3e056d11d184b8add29d254c6cd1aaa9
[ "Apache-2.0" ]
8
2021-03-14T04:14:14.000Z
2022-01-04T04:45:41.000Z
import { AxiosRequestConfig } from 'axios'; const CHAFAN_TOKEN = 'chafan:token'; export const getLocalValue = (key: string, defaultVal: string | null = null) => { try { const v = localStorage.getItem(key); if (v === null) { return defaultVal; } return v; } catch (e) { return defaultVal; ...
23.853211
91
0.615256
bcc968ebbcb8470ce3a321655721aef21d460943
194
ts
TypeScript
adonis-typings/container.ts
Melchyore/adonis-dynamodb
cc2342e57d2d1020ca87b9765d1295ebc760dc48
[ "MIT" ]
null
null
null
adonis-typings/container.ts
Melchyore/adonis-dynamodb
cc2342e57d2d1020ca87b9765d1295ebc760dc48
[ "MIT" ]
null
null
null
adonis-typings/container.ts
Melchyore/adonis-dynamodb
cc2342e57d2d1020ca87b9765d1295ebc760dc48
[ "MIT" ]
null
null
null
declare module '@ioc:Adonis/Core/Application' { import * as Module from '@ioc:Adonis/Addons/DynamoDB' export interface ContainerBindings { 'Adonis/Addons/DynamoDB': typeof Module } }
24.25
55
0.731959
da63576237a5f663653ed793d92ece8a87204070
424
ts
TypeScript
ts/src/FormContainer.ts
PaymentHighway/paymenthighway-javascript-lib
57b1de1148de7a1c6c0d3e5af7dcc53602e70be3
[ "MIT" ]
2
2019-11-08T14:02:25.000Z
2020-09-15T10:17:07.000Z
ts/src/FormContainer.ts
solinor/paymenthighway-javascript-lib
57b1de1148de7a1c6c0d3e5af7dcc53602e70be3
[ "MIT" ]
7
2016-12-19T12:29:24.000Z
2017-08-17T12:40:04.000Z
ts/src/FormContainer.ts
PaymentHighway/paymenthighway-javascript-lib
57b1de1148de7a1c6c0d3e5af7dcc53602e70be3
[ "MIT" ]
3
2016-11-12T16:10:17.000Z
2017-08-11T11:06:22.000Z
import {Method} from './util/Method'; import {Pair} from './util/Pair'; export class FormContainer { constructor(public method: Method, public baseUrl: string, public actionUrl: string, public nameValuePairs: Pair<string, string>[], public requestId: ...
26.5
62
0.587264
eaa4c9e1fca83c8d447776dcd72df6f16b49bb9a
2,687
ts
TypeScript
world-wire-web/src/app/versions/shared/services/version.guard.ts
GFTN/gftn-services
29b0dd9b76547c6400b4f448e9b7c287833af81e
[ "Apache-2.0" ]
5
2021-10-06T01:04:36.000Z
2022-02-26T00:12:15.000Z
world-wire-web/src/app/versions/shared/services/version.guard.ts
GFTN/gftn-services
29b0dd9b76547c6400b4f448e9b7c287833af81e
[ "Apache-2.0" ]
null
null
null
world-wire-web/src/app/versions/shared/services/version.guard.ts
GFTN/gftn-services
29b0dd9b76547c6400b4f448e9b7c287833af81e
[ "Apache-2.0" ]
3
2021-12-29T21:14:02.000Z
2022-03-07T09:58:01.000Z
// © Copyright IBM Corporation 2020. All rights reserved. // SPDX-License-Identifier: Apache2.0 // import { Injectable } from '@angular/core'; import { ActivatedRouteSnapshot, CanActivate, RouterStateSnapshot, Router } from '@angular/router'; import { Observable } from 'rxjs'; import { SwaggerService } from './swagger...
36.310811
141
0.602159
062707f47d0497a10f528a6b5e98abf177114431
1,278
tsx
TypeScript
src/app/core/components/modules/FormGroup/index.test.tsx
calazans10/bookmarks-client
d3c81895ae595b0c86016a05b9546be2bbfc3b0c
[ "MIT" ]
null
null
null
src/app/core/components/modules/FormGroup/index.test.tsx
calazans10/bookmarks-client
d3c81895ae595b0c86016a05b9546be2bbfc3b0c
[ "MIT" ]
null
null
null
src/app/core/components/modules/FormGroup/index.test.tsx
calazans10/bookmarks-client
d3c81895ae595b0c86016a05b9546be2bbfc3b0c
[ "MIT" ]
1
2020-06-10T23:19:52.000Z
2020-06-10T23:19:52.000Z
import React from 'react'; import { render } from '@testing-library/react'; import FormGroup from '.'; describe('FormGroup', () => { const defaultMeta = { active: false, data: {}, dirty: false, dirtySinceLastSubmit: false, error: 'This field is required.', invalid: true, pristine: true, ...
24.113208
67
0.541471
881086d03969f424d57fde9e2a4cdc01b169af24
1,281
ts
TypeScript
blueprints/component-test/mocha-files/tests/__testType__/__path__/__test__.ts
Bouke/ember-cli-typescript
6d8addb84716f56b1251ada9e80d8e880c04a9ef
[ "MIT" ]
6
2018-08-16T21:06:15.000Z
2018-08-16T21:43:50.000Z
blueprints/component-test/mocha-files/tests/__testType__/__path__/__test__.ts
Bouke/ember-cli-typescript
6d8addb84716f56b1251ada9e80d8e880c04a9ef
[ "MIT" ]
59
2019-08-16T13:22:23.000Z
2021-08-02T11:26:12.000Z
blueprints/component-test/mocha-files/tests/__testType__/__path__/__test__.ts
Bouke/ember-cli-typescript
6d8addb84716f56b1251ada9e80d8e880c04a9ef
[ "MIT" ]
16
2015-09-30T21:39:27.000Z
2021-03-26T11:21:12.000Z
import { expect } from 'chai'; import { describeComponent, it } from 'ember-mocha';<% if (testType === 'integration') { %> import hbs from 'htmlbars-inline-precompile';<% } %> describeComponent('<%= componentPathName %>', '<%= friendlyTestDescription %>', { <% if (testType === 'integration' ) { %>integration: tr...
40.03125
157
0.572209
8871e1fc46f848badcd6f6740d6764cb31aee183
1,012
ts
TypeScript
dist/managers/Song.d.ts
ElDondo/discord-music-player
2fb63ede46b09e4fbeaeaac0242ceda0cd26c0ce
[ "MIT" ]
null
null
null
dist/managers/Song.d.ts
ElDondo/discord-music-player
2fb63ede46b09e4fbeaeaac0242ceda0cd26c0ce
[ "MIT" ]
null
null
null
dist/managers/Song.d.ts
ElDondo/discord-music-player
2fb63ede46b09e4fbeaeaac0242ceda0cd26c0ce
[ "MIT" ]
null
null
null
import { User } from 'discord.js'; import { Player, Queue, RawSong } from '..'; export declare class Song { player: Player; queue: Queue; name: string; author: string; url: string; thumbnail: string; requestedBy?: User; duration: string; isLive: boolean; isFirst: boolean; see...
22.488889
64
0.561265
888504312a0055a0cd2e870199de9e4401631a4e
860
ts
TypeScript
src/BackfillPromiseShim.ts
BadOPCode/backfill-promise
2771cad9c834c75afa632a9e37032e32eaf09eec
[ "MIT" ]
null
null
null
src/BackfillPromiseShim.ts
BadOPCode/backfill-promise
2771cad9c834c75afa632a9e37032e32eaf09eec
[ "MIT" ]
null
null
null
src/BackfillPromiseShim.ts
BadOPCode/backfill-promise
2771cad9c834c75afa632a9e37032e32eaf09eec
[ "MIT" ]
null
null
null
import { EventHandler } from "./EventHandler"; const emitter = new EventHandler({ handle: "BackfillPromise", }); export class PromiseShim { public name: string; public args: any; private callbackSuccess: () => void; private callbackFail: () => void; constructor(bfId: string, functionName: str...
27.741935
72
0.593023
948d8ab8ca74e2a458967261e1837afd7c656684
2,806
ts
TypeScript
src/wrapper/CoindockWs.ts
tommuhm/coindock-node
3c26a5b83548cfe178e8001d1eaa9dc0b9233bf2
[ "MIT" ]
4
2019-03-12T13:59:55.000Z
2019-04-01T16:50:31.000Z
src/wrapper/CoindockWs.ts
tommuhm/coindock-node
3c26a5b83548cfe178e8001d1eaa9dc0b9233bf2
[ "MIT" ]
null
null
null
src/wrapper/CoindockWs.ts
tommuhm/coindock-node
3c26a5b83548cfe178e8001d1eaa9dc0b9233bf2
[ "MIT" ]
null
null
null
import WebSocket from 'ws'; import {JsonOhlcv, WsOhlcvOpts} from '../types'; import Beautifier from '../util/Beautifier'; export default class CoindockWs { private readonly baseUrl: string; private readonly combinedUrl: string; private readonly debugStreams: boolean; private readonly apiKey: string; private...
31.52809
113
0.581967
0fe317ddcd16b1e04060064a71eedfd1444d364a
1,088
ts
TypeScript
packages/insomnia-app/app/ui/components/editors/__tests__/environment-editor.test.ts
michaeldclifford/insomnia
c566650f41e8bd642a1727270472bb9d00b350c4
[ "MIT" ]
2
2021-09-01T06:53:34.000Z
2021-11-09T11:27:54.000Z
packages/insomnia-app/app/ui/components/editors/__tests__/environment-editor.test.ts
michaeldclifford/insomnia
c566650f41e8bd642a1727270472bb9d00b350c4
[ "MIT" ]
null
null
null
packages/insomnia-app/app/ui/components/editors/__tests__/environment-editor.test.ts
michaeldclifford/insomnia
c566650f41e8bd642a1727270472bb9d00b350c4
[ "MIT" ]
null
null
null
import { NUNJUCKS_TEMPLATE_GLOBAL_PROPERTY_NAME } from '../../../../templating'; import { ensureKeyIsValid } from '../environment-editor'; describe('ensureKeyIsValid', () => { it.each(['$', '$a', '$ab'])('%s should be invalid when as key begins with $', key => { expect(ensureKeyIsValid(key)).toBe(`"${key}" canno...
40.296296
99
0.588235
45b957abaa21c7379275cf97904da5ffec15a77f
149
ts
TypeScript
backend/src/database/documents/user.document.ts
aliakseiherman/mern-multitenancy
9bc4a8b89163c2306aea965a683ff256f645dd0c
[ "MIT" ]
4
2020-12-31T20:51:09.000Z
2021-12-17T01:17:03.000Z
backend/src/database/documents/user.document.ts
aliakseiherman/mtexpress
9bc4a8b89163c2306aea965a683ff256f645dd0c
[ "MIT" ]
null
null
null
backend/src/database/documents/user.document.ts
aliakseiherman/mtexpress
9bc4a8b89163c2306aea965a683ff256f645dd0c
[ "MIT" ]
2
2021-11-10T10:23:34.000Z
2022-03-25T20:07:03.000Z
import { Document } from "mongoose" export interface User extends Document { _id: Number, username: String, password: String, salt: String }
18.625
40
0.718121
db2a142f45dd2d4fd0fea66bad1bc343cd1a7159
18,631
ts
TypeScript
sdk/network/arm-network/src/operations/securityPartnerProviders.ts
v-tsun/azure-sdk-for-js
694c3b7f99151609e733fa7a2b5dbfce43816a34
[ "MIT" ]
2
2020-04-16T06:13:42.000Z
2020-04-21T12:19:04.000Z
sdk/network/arm-network/src/operations/securityPartnerProviders.ts
v-tsun/azure-sdk-for-js
694c3b7f99151609e733fa7a2b5dbfce43816a34
[ "MIT" ]
339
2019-07-09T18:03:50.000Z
2019-10-20T23:55:45.000Z
sdk/network/arm-network/src/operations/securityPartnerProviders.ts
nflaig/azure-sdk-for-js
d66de696b7eb287b89fcd9284d6582077c0e7097
[ "MIT" ]
1
2019-10-21T01:32:44.000Z
2019-10-21T01:32:44.000Z
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ i...
38.895616
330
0.758628
e012d8a9f655d0ff6751e2119b5f24e8309625a5
63
ts
TypeScript
index.ts
nginformatica/jodit
de864bbd15941ce7040b9dae1af188c2f64ff029
[ "MIT" ]
null
null
null
index.ts
nginformatica/jodit
de864bbd15941ce7040b9dae1af188c2f64ff029
[ "MIT" ]
null
null
null
index.ts
nginformatica/jodit
de864bbd15941ce7040b9dae1af188c2f64ff029
[ "MIT" ]
null
null
null
export { Jodit } from './src/jodit' export * from './src/types'
31.5
35
0.650794
5c1ea67acfccf4e4b091d3fdc109fe2f21d60d58
561
ts
TypeScript
src/services/api.ts
jdnichollsc/randomuser-me
c03b911afc2828b9c69775be44c726f80b1116cb
[ "MIT" ]
1
2019-07-15T02:54:57.000Z
2019-07-15T02:54:57.000Z
src/services/api.ts
jdnichollsc/randomuser-me
c03b911afc2828b9c69775be44c726f80b1116cb
[ "MIT" ]
2
2020-05-22T05:50:22.000Z
2020-05-22T05:50:23.000Z
src/services/api.ts
jdnichollsc/randomuser-me
c03b911afc2828b9c69775be44c726f80b1116cb
[ "MIT" ]
1
2019-07-14T17:10:54.000Z
2019-07-14T17:10:54.000Z
import axios from 'axios' import get from 'lodash/get' import map from 'lodash/map' import { API_URL, API_KEY, API_TIMEOUT } from '../constants' import { Photo } from '../models' const getPhotos = async (): Promise<Photo[]> => { const response = await axios.get(`${API_URL}/${API_KEY}`, { params: { fmt: 'js...
23.375
75
0.59893
780c1fe97ac99f81f3ae1e03325ebe4d45b6e984
1,676
ts
TypeScript
client/src/react-app-env.d.ts
lkuoch/react-video-streaming-app
e9b96c1a3aecaae09b78afbb4070bf2f674d4dd1
[ "Unlicense" ]
1
2020-03-20T09:08:33.000Z
2020-03-20T09:08:33.000Z
client/src/react-app-env.d.ts
lkuoch/react-video-streaming-app
e9b96c1a3aecaae09b78afbb4070bf2f674d4dd1
[ "Unlicense" ]
null
null
null
client/src/react-app-env.d.ts
lkuoch/react-video-streaming-app
e9b96c1a3aecaae09b78afbb4070bf2f674d4dd1
[ "Unlicense" ]
1
2021-02-03T20:36:34.000Z
2021-02-03T20:36:34.000Z
/// <reference types="react-scripts" /> //! TODO (REMOVE) import { IStreamApiProps, IStreamApiState } from "./redux/StreamApiStore"; import { RouteComponentProps } from "react-router"; declare namespace RVSA { // #region ===[ AuthStore.tsx ]=== export interface IAuthStoreState { isSignedIn: boolean | null; ...
24.289855
74
0.654535
ab948a582c6630925d60735b7a8f31a32bd1756d
1,615
ts
TypeScript
models/share-buttons.models.d.ts
tusharwalzade216/ngx-sharebuttons
77f24968aca41b8c5772cf5663fe2c414373f7d1
[ "MIT" ]
null
null
null
models/share-buttons.models.d.ts
tusharwalzade216/ngx-sharebuttons
77f24968aca41b8c5772cf5663fe2c414373f7d1
[ "MIT" ]
null
null
null
models/share-buttons.models.d.ts
tusharwalzade216/ngx-sharebuttons
77f24968aca41b8c5772cf5663fe2c414373f7d1
[ "MIT" ]
null
null
null
import { Observable } from 'rxjs/Observable'; import { ShareButtonDirective } from '../directives/share-button.directive'; export interface ShareButtonsOptions { theme?: string; include?: string[]; exclude?: string[]; size?: number; title?: string; description?: string; image?: string; t...
25.634921
76
0.671827
35b736add2534128e1eee556ed7bc8f853c6caa5
398
tsx
TypeScript
packages/react/src/components/IonPopover.tsx
itsonit/ionic-framework
d3a24d19c9a3b8ba80b6339e04c8ab96f9ae6da1
[ "MIT" ]
1
2020-10-19T13:21:52.000Z
2020-10-19T13:21:52.000Z
packages/react/src/components/IonPopover.tsx
itsonit/ionic-framework
d3a24d19c9a3b8ba80b6339e04c8ab96f9ae6da1
[ "MIT" ]
125
2020-07-14T02:50:17.000Z
2021-07-29T02:39:44.000Z
packages/react/src/components/IonPopover.tsx
itsonit/ionic-framework
d3a24d19c9a3b8ba80b6339e04c8ab96f9ae6da1
[ "MIT" ]
2
2015-10-03T15:20:56.000Z
2021-11-16T20:22:03.000Z
import { PopoverOptions, popoverController } from '@ionic/core'; import { createOverlayComponent } from './createOverlayComponent'; export type ReactPopoverOptions = Omit<PopoverOptions, 'component' | 'componentProps'> & { children: React.ReactNode; }; export const IonPopover = /*@__PURE__*/createOverlayComponent<...
39.8
139
0.788945
35d45bab9bcb5d7f5ccb4d11b590ea90e93e1fe3
385
ts
TypeScript
test/highlight/endsWithHighlight.test.ts
guangzan/tel-highlight
8c92374e761298a0941617c7c3dbc463b086ea69
[ "MIT" ]
null
null
null
test/highlight/endsWithHighlight.test.ts
guangzan/tel-highlight
8c92374e761298a0941617c7c3dbc463b086ea69
[ "MIT" ]
null
null
null
test/highlight/endsWithHighlight.test.ts
guangzan/tel-highlight
8c92374e761298a0941617c7c3dbc463b086ea69
[ "MIT" ]
null
null
null
import { telHighlight } from "../../src"; import { test, expect, it } from "vitest"; test("highlight endsWith", () => { const input = { tel: "12345678910", highlight: "78910", }; const output = [ { num: "123456", isHighlight: false, }, { num: "78910", isHighlight: true...
18.333333
46
0.537662
fe5978d90eada7569829f26c6b6d6955a40ed780
2,888
ts
TypeScript
projects/element-angular/src/lib/date-picker/picker-panel.ts
dkashinsky/element-angular
8cfae62dd72366c1bb8d35846fa05ea33a86460c
[ "MIT" ]
null
null
null
projects/element-angular/src/lib/date-picker/picker-panel.ts
dkashinsky/element-angular
8cfae62dd72366c1bb8d35846fa05ea33a86460c
[ "MIT" ]
6
2021-02-21T22:55:29.000Z
2022-02-27T11:35:46.000Z
projects/element-angular/src/lib/date-picker/picker-panel.ts
dkashinsky/element-angular
8cfae62dd72366c1bb8d35846fa05ea33a86460c
[ "MIT" ]
null
null
null
import { Component, EventEmitter, Input, OnChanges, OnInit, Optional, Output, SimpleChanges } from '@angular/core' import { ElDataPicker } from './picker' import { dropAnimation } from '../shared/animation/drop.animation' export type DateModelItem = { month: number, year: number, yearRange: number[], } @Compone...
26.018018
114
0.652008
3adfe30a045b4de3586b97766985e628ced7944f
953
ts
TypeScript
node_modules/angular2-highcharts/dist/index.ngfactory.ts
quandosale/client-sportsapp
70b7e52121a886d7553ceca39439d9b548b01c8c
[ "MIT" ]
null
null
null
node_modules/angular2-highcharts/dist/index.ngfactory.ts
quandosale/client-sportsapp
70b7e52121a886d7553ceca39439d9b548b01c8c
[ "MIT" ]
null
null
null
node_modules/angular2-highcharts/dist/index.ngfactory.ts
quandosale/client-sportsapp
70b7e52121a886d7553ceca39439d9b548b01c8c
[ "MIT" ]
null
null
null
/** * This file is generated by the Angular 2 template compiler. * Do not edit. */ /* tslint:disable */ import * as import0 from '@angular/core/src/linker/ng_module_factory'; import * as import1 from './index'; import * as import2 from '@angular/core/src/di/injector'; class ChartModuleInjector extends import0.NgMo...
36.653846
150
0.739769
3e40591515231d3257b5f70897901621bed4b821
2,910
ts
TypeScript
src/models/privacy.ts
microsoftgraph/msgraph-sdk-typescript
387255263b049c6f8a0a5e4168f6d4b00ae3626b
[ "MIT" ]
null
null
null
src/models/privacy.ts
microsoftgraph/msgraph-sdk-typescript
387255263b049c6f8a0a5e4168f6d4b00ae3626b
[ "MIT" ]
11
2022-03-24T20:02:36.000Z
2022-03-29T17:47:17.000Z
src/models/privacy.ts
microsoftgraph/msgraph-sdk-typescript
387255263b049c6f8a0a5e4168f6d4b00ae3626b
[ "MIT" ]
null
null
null
import {createSubjectRightsRequestFromDiscriminatorValue} from './createSubjectRightsRequestFromDiscriminatorValue'; import {SubjectRightsRequest} from './index'; import {AdditionalDataHolder, Parsable, ParseNode, SerializationWriter} from '@microsoft/kiota-abstractions'; export class Privacy implements AdditionalData...
46.190476
178
0.717182
3e4546a926de7c050f034bdbcaeb899670b12cef
1,719
tsx
TypeScript
lib/components/mode-icon.tsx
vercel-support/analysis-ui
2784b189d49b858cf0e0b239ba4b3d3198252a84
[ "MIT" ]
null
null
null
lib/components/mode-icon.tsx
vercel-support/analysis-ui
2784b189d49b858cf0e0b239ba4b3d3198252a84
[ "MIT" ]
null
null
null
lib/components/mode-icon.tsx
vercel-support/analysis-ui
2784b189d49b858cf0e0b239ba4b3d3198252a84
[ "MIT" ]
null
null
null
import {Box, BoxProps, Text} from '@chakra-ui/core' import { faBicycle, faBus, faCar, faWalking, faShip, faSubway, faTrain, faParking } from '@fortawesome/free-solid-svg-icons' import toStartCase from 'lodash/startCase' import Icon from './icon' type Mode = | 'BICYCLE' | 'BICYCLE_RENT' | 'BUS' ...
19.314607
66
0.584061
ac8e133c967a127e09528d02b076bf8129cb1232
755
ts
TypeScript
src/entities/hospital.entity.ts
josiahkosgei/aa-back-end
26f8d21ff330a5483265cbbf5c079d2db29e2cba
[ "MIT" ]
null
null
null
src/entities/hospital.entity.ts
josiahkosgei/aa-back-end
26f8d21ff330a5483265cbbf5c079d2db29e2cba
[ "MIT" ]
null
null
null
src/entities/hospital.entity.ts
josiahkosgei/aa-back-end
26f8d21ff330a5483265cbbf5c079d2db29e2cba
[ "MIT" ]
null
null
null
import { Entity, Column, OneToMany } from 'typeorm'; import { Admission } from '.'; import { BaseEntity } from './base.entity'; import { Complaint } from './complaint.entity'; import { DeepPartial } from '../lib/common-types'; /** * @description * A Hospital represents a single hospital and complaints reported at th...
26.964286
82
0.700662
8c53cb33c9933e87bac9982293ade8fe191936aa
822
ts
TypeScript
domains/entities/users.social/entity.ts
s-solyanik/domains
80d1f1e357a4cc25fb414db03cf8c92cb20864f1
[ "MIT" ]
null
null
null
domains/entities/users.social/entity.ts
s-solyanik/domains
80d1f1e357a4cc25fb414db03cf8c92cb20864f1
[ "MIT" ]
null
null
null
domains/entities/users.social/entity.ts
s-solyanik/domains
80d1f1e357a4cc25fb414db03cf8c92cb20864f1
[ "MIT" ]
null
null
null
import type { IdentifierI } from 'utils/unique-id'; import { Entity } from 'domains/core/entity'; import type { UserSocialType } from 'domains/entities/users.social/type'; import { UserSocialValueObject } from 'domains/entities/users.social/value-object'; interface UserSocialProps { readonly id: IdentifierI ...
26.516129
83
0.681265
67a5c7449386855c36bb4236646b1cad27474ff0
1,089
tsx
TypeScript
src/States/Styles.tsx
dzucconi/storybook-states
f1c485debe59c2022edca9d86380a30a7a810d2b
[ "MIT" ]
6
2020-02-26T22:42:54.000Z
2022-01-06T22:22:37.000Z
src/States/Styles.tsx
dzucconi/storybook-states
f1c485debe59c2022edca9d86380a30a7a810d2b
[ "MIT" ]
22
2020-02-28T20:29:37.000Z
2022-02-27T00:19:46.000Z
src/States/Styles.tsx
dzucconi/storybook-states
f1c485debe59c2022edca9d86380a30a7a810d2b
[ "MIT" ]
null
null
null
import React, { useContext } from "react"; export type StateStyles = { state: React.CSSProperties; stateProps: React.CSSProperties; statePropsActive: React.CSSProperties; }; export const DEFAULT_STYLES: StateStyles = { state: { border: "1px dotted #ddd", padding: "0.5rem", marginBottom: "1rem", ...
21.352941
75
0.646465
28daf14e856f817aad33b8c097cf4ce4e98636cc
444
ts
TypeScript
cypress/integration/knobs.spec.ts
vineesh-venugopal/storybook
d4027f01c6c9edaa5dc92bda2b16a1236d895b29
[ "MIT" ]
3
2020-04-08T12:18:51.000Z
2020-04-16T07:41:45.000Z
cypress/integration/knobs.spec.ts
vineesh-venugopal/storybook
d4027f01c6c9edaa5dc92bda2b16a1236d895b29
[ "MIT" ]
null
null
null
cypress/integration/knobs.spec.ts
vineesh-venugopal/storybook
d4027f01c6c9edaa5dc92bda2b16a1236d895b29
[ "MIT" ]
1
2020-10-22T19:26:11.000Z
2020-10-22T19:26:11.000Z
import { clickAddon, visitExample } from '../helper'; describe('Knobs', () => { beforeEach(() => { visitExample('official-storybook', '?path=/story/addons-knobs-withknobs--tweaks-static-values'); }); it('[text] it should change a string value', () => { clickAddon('Knobs'); cy.get('#Name').clear().t...
27.75
100
0.605856
e1a7114436b0efa679194f70eb6ac9fa1add8f0d
408
ts
TypeScript
renderer/home/__tests__/sagas.ts
foggg7777/i18n-manager
48eb42808713df9c632f9fbb8eae6225f1061f31
[ "MIT" ]
null
null
null
renderer/home/__tests__/sagas.ts
foggg7777/i18n-manager
48eb42808713df9c632f9fbb8eae6225f1061f31
[ "MIT" ]
null
null
null
renderer/home/__tests__/sagas.ts
foggg7777/i18n-manager
48eb42808713df9c632f9fbb8eae6225f1061f31
[ "MIT" ]
null
null
null
import { testSaga } from 'redux-saga-test-plan'; import { setRecentFoldersAsync } from '../sagas'; import { actions } from '../actions'; describe('home/sagas', () => { it('setRecentFoldersAsync', () => { const recent = ['folder1', 'folder2']; testSaga(setRecentFoldersAsync, { data: recent }) .next() ...
21.473684
53
0.60049
844baed5c563f6a3bcab5787349b98caba6a3dbc
193
ts
TypeScript
lib/utils/pkg.ts
FatGrizzly/statty
8b94e2357cd68dde95d3ff46b8bfefff2a824045
[ "MIT" ]
11
2020-07-17T03:38:46.000Z
2021-08-13T13:22:07.000Z
lib/utils/pkg.ts
FatGrizzly/statty
8b94e2357cd68dde95d3ff46b8bfefff2a824045
[ "MIT" ]
6
2020-12-13T11:14:13.000Z
2021-12-09T16:34:17.000Z
lib/utils/pkg.ts
FatGrizzly/statty
8b94e2357cd68dde95d3ff46b8bfefff2a824045
[ "MIT" ]
4
2020-07-19T14:35:14.000Z
2021-06-07T11:24:49.000Z
import { readPackageUpSync as readPkg } from 'read-pkg-up' const pkg = readPkg() export const name = pkg?.packageJson.name ?? 'statty' export const version = pkg?.packageJson.version ?? 'dev'
32.166667
58
0.73057
84ea7429e7a1475dc3cab5bde957c13e1e0b2d65
1,090
ts
TypeScript
src/utils.ts
JiangWeixian/vitest-extra
31f5d0f87117b624090d33461557282f84f3a40d
[ "MIT" ]
null
null
null
src/utils.ts
JiangWeixian/vitest-extra
31f5d0f87117b624090d33461557282f84f3a40d
[ "MIT" ]
null
null
null
src/utils.ts
JiangWeixian/vitest-extra
31f5d0f87117b624090d33461557282f84f3a40d
[ "MIT" ]
null
null
null
import path from 'path' import { kebabCase } from 'lodash-es' const ANSI_COLOR = /[\u001B\u009B][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g export const getFilename = ( ctx: { testPath: string currentTestName: string assertionCalls: any }, expected?: string, ) => { const formatt...
24.222222
96
0.615596
172d661d2b64b44c94638c1193a72b55f51a76fd
631
ts
TypeScript
src/styled/MovieOverview/OverviewGrid.ts
ValeryFilipev/Movie_DB_Cinema
a4eb0dafaf4246acdb80ce1bb3564140e4c777d3
[ "MIT" ]
null
null
null
src/styled/MovieOverview/OverviewGrid.ts
ValeryFilipev/Movie_DB_Cinema
a4eb0dafaf4246acdb80ce1bb3564140e4c777d3
[ "MIT" ]
1
2020-11-15T18:11:19.000Z
2020-11-15T18:11:19.000Z
src/styled/MovieOverview/OverviewGrid.ts
ValeryFilipev/Movie_DB_Cinema
a4eb0dafaf4246acdb80ce1bb3564140e4c777d3
[ "MIT" ]
null
null
null
import styled from 'styled-components'; import { getBreakpoint } from '../../helpers/theme'; const OverviewGrid = styled.div` width: 100%; display: grid; background-color: rgba(0, 0, 0, 0.5); grid-template: 'info' 'backdrop' 'stats'; @media (min-width: ${getBreakpoint('sm')}) { grid-template: 'backdrop ...
26.291667
52
0.660856
37c101338a5bdb2b662a69f6cff813e70856ebd1
1,053
ts
TypeScript
front-end/src/app/app.routing.ts
Iruora/SpringBoot-Angular6-login-example
8bbf777f18d90aeb2a4326d6da298773cb9f95eb
[ "MIT" ]
3
2021-01-19T04:50:35.000Z
2022-02-06T13:36:56.000Z
front-end/src/app/app.routing.ts
Iruora/SpringBoot-Angular6-login-example
8bbf777f18d90aeb2a4326d6da298773cb9f95eb
[ "MIT" ]
1
2022-03-02T02:59:34.000Z
2022-03-02T02:59:34.000Z
front-end/src/app/app.routing.ts
Iruora/SpringBoot-Angular6-login-example
8bbf777f18d90aeb2a4326d6da298773cb9f95eb
[ "MIT" ]
8
2019-06-06T12:49:53.000Z
2021-12-03T09:40:13.000Z
import { Component } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import {LoginComponent} from './components/login/login.component'; import {RegisterComponent} from './components/register/register.component'; import {ProfileComponent} from './components/profile/profile.component'; ...
45.782609
83
0.717949
fdc3d61ffba19da9ceecd438696be09cbeef1a83
1,577
ts
TypeScript
src/components/event/index.ts
imReCoder/event-backend
15a542238bf3ad7a771192d4a7eabc2d89a5c06b
[ "MIT" ]
null
null
null
src/components/event/index.ts
imReCoder/event-backend
15a542238bf3ad7a771192d4a7eabc2d89a5c06b
[ "MIT" ]
null
null
null
src/components/event/index.ts
imReCoder/event-backend
15a542238bf3ad7a771192d4a7eabc2d89a5c06b
[ "MIT" ]
null
null
null
import eventController from "./event.controller"; import { s3UploadMulter } from "../../lib/services/s3"; import eventPortfolioController from "../eventPortfolio/eventPortfolio.controller"; export default [ { path: "/event/create", method: "post", handler:[eventController.create,eventPortfol...
25.031746
121
0.558656
a950b559da1ed96b5a614de827c6477b060a39ef
1,691
tsx
TypeScript
packages/slate-plugins/src/elements/heading/renderElementHeading.tsx
xevious78/slate-plugins
d7c370e9404da4e80975d34b7a32023ad8745cc5
[ "MIT" ]
null
null
null
packages/slate-plugins/src/elements/heading/renderElementHeading.tsx
xevious78/slate-plugins
d7c370e9404da4e80975d34b7a32023ad8745cc5
[ "MIT" ]
null
null
null
packages/slate-plugins/src/elements/heading/renderElementHeading.tsx
xevious78/slate-plugins
d7c370e9404da4e80975d34b7a32023ad8745cc5
[ "MIT" ]
null
null
null
import * as React from 'react'; import { RenderElementProps } from 'slate-react'; import { getElementComponent } from '../../common/utils/getElementComponent'; import { HeadingElement1, HeadingElement2, HeadingElement3, HeadingElement4, HeadingElement5, HeadingElement6, } from './components'; import { Headi...
30.196429
77
0.64932
252554d18dec41541e8bf376a62e58c19424fab8
1,453
ts
TypeScript
src/products/products.service.ts
Brontoz554/nest-js-rework
2e3acb74f7a2e09882177c92c2b9aba453ba6842
[ "MIT" ]
null
null
null
src/products/products.service.ts
Brontoz554/nest-js-rework
2e3acb74f7a2e09882177c92c2b9aba453ba6842
[ "MIT" ]
null
null
null
src/products/products.service.ts
Brontoz554/nest-js-rework
2e3acb74f7a2e09882177c92c2b9aba453ba6842
[ "MIT" ]
null
null
null
import { Injectable } from '@nestjs/common'; import { InjectModel } from '@nestjs/mongoose'; import { Model } from 'mongoose'; import { CreateProductDto } from './dto/create-product-dto'; import { Product, ProductDocument } from './schemas/product.schema'; import { UpdateProductDto } from './dto/update-product-dto'; @...
25.946429
78
0.666896
b86e7348d4818cbc2bacf56c7a4d6a549431527e
754
tsx
TypeScript
src/pages/Artist/index.tsx
avrcoelho/cm-pwa-test
687b6314ddc7e78d4033d45ab0ddb01a932b16fa
[ "MIT" ]
null
null
null
src/pages/Artist/index.tsx
avrcoelho/cm-pwa-test
687b6314ddc7e78d4033d45ab0ddb01a932b16fa
[ "MIT" ]
null
null
null
src/pages/Artist/index.tsx
avrcoelho/cm-pwa-test
687b6314ddc7e78d4033d45ab0ddb01a932b16fa
[ "MIT" ]
null
null
null
import React from 'react'; import { useSelector } from 'react-redux'; import { ApplicationState } from '../../store'; import { IArtist } from '../../store/ducks/artists/types'; import Header from '../../components/Header'; import Search from '../../components/Search'; import DataArtist from '../../components/DataArti...
23.5625
58
0.578249
145c6120c0b04a80c26d749761da68073c2cd48b
1,558
tsx
TypeScript
src/components/CategoryModal/index.tsx
waugustoaf/smart-money
60d661bcf92adc82821000e2bbdbd2ad309c3e88
[ "MIT" ]
null
null
null
src/components/CategoryModal/index.tsx
waugustoaf/smart-money
60d661bcf92adc82821000e2bbdbd2ad309c3e88
[ "MIT" ]
null
null
null
src/components/CategoryModal/index.tsx
waugustoaf/smart-money
60d661bcf92adc82821000e2bbdbd2ad309c3e88
[ "MIT" ]
null
null
null
import React, { useCallback } from 'react'; import { FlatList } from 'react-native-gesture-handler'; import { Container, ItemButton, ItemButtonText, ButtonsView, CloseButton, CloseButtonText, FlatView } from './styles'; import { useCategory } from '../../hooks/Category'; import { ICategory } from '../.....
28.851852
100
0.632221
14728de5dd5be4a7232e9213110844dc098c391c
101
ts
TypeScript
common/types/index.ts
jtberglund/trackdat
bb9fc4f78807749edb57bcd0a6e01dba65cf5bd0
[ "0BSD" ]
null
null
null
common/types/index.ts
jtberglund/trackdat
bb9fc4f78807749edb57bcd0a6e01dba65cf5bd0
[ "0BSD" ]
1
2022-01-22T20:29:18.000Z
2022-01-22T20:29:18.000Z
common/types/index.ts
jtberglund/trackdat
bb9fc4f78807749edb57bcd0a6e01dba65cf5bd0
[ "0BSD" ]
null
null
null
import Carrier from './Carrier'; import type Package from './Package'; export { Carrier, Package };
20.2
37
0.712871
b8c12aec742e21e7a552df42a8d522900d694adc
3,576
ts
TypeScript
src/app/shared/api.service.ts
pr4shantS0naw4n3/productTenantFrontEnd
d44961ce29cb6eba8fa2632daa4db03872f3d0d4
[ "MIT" ]
null
null
null
src/app/shared/api.service.ts
pr4shantS0naw4n3/productTenantFrontEnd
d44961ce29cb6eba8fa2632daa4db03872f3d0d4
[ "MIT" ]
null
null
null
src/app/shared/api.service.ts
pr4shantS0naw4n3/productTenantFrontEnd
d44961ce29cb6eba8fa2632daa4db03872f3d0d4
[ "MIT" ]
null
null
null
import { FormGroup, FormControl } from '@angular/forms'; import { environment } from './../../environments/environment'; import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { CookieService } from 'ngx-cookie-service'; const httpOptions = { headers: new H...
33.420561
180
0.711409
65014cb224d30938f1951660aeb229bd83c055f0
368
ts
TypeScript
src/client/component/cg-tab.ts
ishara/component-base
ba5b627d4fd4270ea6c13908524851899e222c62
[ "MIT" ]
null
null
null
src/client/component/cg-tab.ts
ishara/component-base
ba5b627d4fd4270ea6c13908524851899e222c62
[ "MIT" ]
null
null
null
src/client/component/cg-tab.ts
ishara/component-base
ba5b627d4fd4270ea6c13908524851899e222c62
[ "MIT" ]
null
null
null
import {Input, Component} from 'angular2/core'; /** * Created by ishara on 22/04/2016. */ @Component({ selector: 'cg-tab', template: ` <div class="ui bottom attached tab segment" [class.active]="active"> <ng-content></ng-content> </div> ` }) export class CGTab { @Input('title') title: string...
16
47
0.619565
86d0a5966cb29750823c21ca90ed0f230b38d5fa
298
ts
TypeScript
src/instance/app.ts
NathanMBR/blog-typescript
4059e9d017176c612f3c153056301aafa9cf0e11
[ "MIT" ]
3
2021-07-26T21:35:10.000Z
2021-08-31T18:56:29.000Z
src/instance/app.ts
NathanMBR/blog-typescript
4059e9d017176c612f3c153056301aafa9cf0e11
[ "MIT" ]
null
null
null
src/instance/app.ts
NathanMBR/blog-typescript
4059e9d017176c612f3c153056301aafa9cf0e11
[ "MIT" ]
null
null
null
// Modules import express from "express"; const app = express(); import cors from "cors"; // Settings app.use(express.urlencoded({extended: false})); app.use(express.json()); app.use(cors()); // Routes import routes from "../routes/routes" app.use(routes); // Instance export export default app;
18.625
47
0.708054
865b8faa5db6dd5f082fd05fdeca4dda3aaf0afa
107
ts
TypeScript
api/types/CachedBill.d.ts
code-debug228/deleter-v2
413831e7be5df1fbbd16ad2377bed0ec18528d9d
[ "MIT" ]
17
2020-12-20T11:49:48.000Z
2021-08-02T18:16:40.000Z
api/types/CachedBill.d.ts
code-debug228/deleter-v2
413831e7be5df1fbbd16ad2377bed0ec18528d9d
[ "MIT" ]
6
2020-12-19T21:15:59.000Z
2021-08-10T18:30:09.000Z
api/types/CachedBill.d.ts
code-debug228/deleter-v2
413831e7be5df1fbbd16ad2377bed0ec18528d9d
[ "MIT" ]
8
2021-03-29T14:02:30.000Z
2021-08-05T09:53:33.000Z
export default interface CachedBill { payUrl: string, comment: string | undefined, amount: number, }
17.833333
37
0.728972
4feeadb3bba649304f0a60fa3ae229d0930865eb
497
ts
TypeScript
source/js/script.ts
MDauphin319/WEB501Project1
d17545429b6eca9d8fe7f1bc3614a7fc120bc594
[ "MIT" ]
null
null
null
source/js/script.ts
MDauphin319/WEB501Project1
d17545429b6eca9d8fe7f1bc3614a7fc120bc594
[ "MIT" ]
2
2021-03-10T09:06:38.000Z
2021-10-06T07:05:49.000Z
source/js/script.ts
MDauphin319/WEB501Project1
d17545429b6eca9d8fe7f1bc3614a7fc120bc594
[ "MIT" ]
null
null
null
//Accordian with smooth slide $('.accordion').on('click', '.accordion-control', function(event) { event.preventDefault(); $(event.target) .next('.accordion-panel') .not('animated') .addClass('animated') .slideToggle(function(){ $(event.target) .next('.accordion-panel').removeClass('animated'); })...
26.157895
67
0.62173
89bb79a5264973f20fce02d3fac03ce596c86ed4
2,352
ts
TypeScript
src/app/app.component.ts
ClientsideDesign/ngx-d3-starter-pack
0ce48b376ec3a7fdeccfdd47729df4392f123c3e
[ "MIT" ]
null
null
null
src/app/app.component.ts
ClientsideDesign/ngx-d3-starter-pack
0ce48b376ec3a7fdeccfdd47729df4392f123c3e
[ "MIT" ]
5
2021-05-11T17:43:06.000Z
2022-03-02T09:06:39.000Z
src/app/app.component.ts
ClientsideDesign/ngx-d3-starter-pack
0ce48b376ec3a7fdeccfdd47729df4392f123c3e
[ "MIT" ]
null
null
null
import { Component } from '@angular/core'; import { LabelledChartData, DatedChartDataGroups, TerritoryData, VennDiagramSet } from './charts/chart-interfaces'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { newCustomers:...
26.133333
115
0.502976
c1049c7ebc44bf99e4ffc8f3ada2e1e63ab8e688
36
ts
TypeScript
packages/web-app/src/modules/notifications/index.ts
81CuongVn/salad
de9b3f8d08dafcf7fe0e496723119b5ec9ef1628
[ "MIT" ]
128
2019-05-15T18:15:40.000Z
2022-03-24T11:36:34.000Z
packages/web-app/src/modules/notifications/index.ts
81CuongVn/salad
de9b3f8d08dafcf7fe0e496723119b5ec9ef1628
[ "MIT" ]
394
2019-05-27T19:30:41.000Z
2020-05-28T05:56:01.000Z
packages/web-app/src/modules/notifications/index.ts
81CuongVn/salad
de9b3f8d08dafcf7fe0e496723119b5ec9ef1628
[ "MIT" ]
103
2019-05-15T15:57:18.000Z
2022-03-23T19:11:38.000Z
export * from './NotificationStore'
18
35
0.75
c13868b680efc86504b65aaaeef43d229abf4e07
677
ts
TypeScript
settings/index.ts
BinPar/legendPrototype
ae1c8efe85ad5aad5644afc28121e6791f703d5d
[ "WTFPL" ]
null
null
null
settings/index.ts
BinPar/legendPrototype
ae1c8efe85ad5aad5644afc28121e6791f703d5d
[ "WTFPL" ]
3
2020-04-14T14:37:05.000Z
2021-05-11T04:31:05.000Z
settings/index.ts
BinPar/legendPrototype
ae1c8efe85ad5aad5644afc28121e6791f703d5d
[ "WTFPL" ]
null
null
null
/** * Settings used by the application */ /** * Maximum number of points of interest to generate in the random view */ export const minPoints = 10; /** * Maximum number of points of interest to generate in the random view */ export const maxPoints = 30; /** * Margin to the borders of the screen from 0 to 0....
18.805556
70
0.700148
5b64b8c78659da2525d8d5b717950432ea3a51d6
2,146
tsx
TypeScript
frontend/ui-pablo/app/updaters/addLiquidity/Updater.tsx
Dom-Roth/composable
55a73435d1eec6e37fc86914004efbb77dac9659
[ "Unlicense" ]
47
2021-11-11T09:20:38.000Z
2022-03-30T11:17:26.000Z
frontend/ui-pablo/app/updaters/addLiquidity/Updater.tsx
Dom-Roth/composable
55a73435d1eec6e37fc86914004efbb77dac9659
[ "Unlicense" ]
333
2021-11-09T12:24:59.000Z
2022-03-31T17:31:01.000Z
frontend/ui-pablo/app/updaters/addLiquidity/Updater.tsx
Dom-Roth/composable
55a73435d1eec6e37fc86914004efbb77dac9659
[ "Unlicense" ]
17
2021-11-22T18:14:46.000Z
2022-03-14T07:47:19.000Z
import { useEffect } from "react"; import { useParachainApi } from "substrate-react"; import { getAsset, getAssetByOnChainId } from "@/defi/polkadot/Assets"; import { isValidAssetPair } from "../utils"; import { AssetId } from "@/defi/polkadot/types"; import { DEFAULT_NETWORK_ID } from "@/updaters/constants"; import { ...
29
102
0.642125
5b6a8da534cfe26a859e66b001389e1f7b4d19a3
351
ts
TypeScript
src/public-api.ts
VinitTomar/ng-generic-toggle
9e962027410e90b375143e1bd270aa3e1f200946
[ "MIT" ]
1
2020-04-25T17:23:16.000Z
2020-04-25T17:23:16.000Z
src/public-api.ts
VinitTomar/ng-generic-toggle
9e962027410e90b375143e1bd270aa3e1f200946
[ "MIT" ]
null
null
null
src/public-api.ts
VinitTomar/ng-generic-toggle
9e962027410e90b375143e1bd270aa3e1f200946
[ "MIT" ]
null
null
null
/* * Public API Surface of ng-generic-toggle */ export * from './lib/ng-generic-toggle/components/ng-generic-toggle.component'; export * from './lib/ng-generic-toggle/ng-generic-toggle.module'; export * from './lib/ng-generic-toggle/directives/checked-state.directive'; export * from './lib/ng-generic-toggle/directiv...
39
79
0.752137
e78e9a939c2752c7f94136306e882d6dc45c438d
1,552
tsx
TypeScript
src/Components/UserInfo/index.tsx
ParkEunwoo/travel_frontend
d5e77d55dee709f2240d2aca44bfcd6a2a54d08f
[ "MIT" ]
null
null
null
src/Components/UserInfo/index.tsx
ParkEunwoo/travel_frontend
d5e77d55dee709f2240d2aca44bfcd6a2a54d08f
[ "MIT" ]
5
2021-05-10T01:07:24.000Z
2022-02-26T15:15:48.000Z
src/Components/UserInfo/index.tsx
ParkEunwoo/travel_frontend
d5e77d55dee709f2240d2aca44bfcd6a2a54d08f
[ "MIT" ]
null
null
null
import React from 'react'; import { StyleSheet, Text, View, TextInput, TouchableOpacity, Image, ScrollView } from 'react-native'; interface Props { navigation: any; name: string; profile: string; introduct: string; } interface State {} export default class UserInfo extends React.Component<Props, ...
23.876923
103
0.530928
f0691d9db57de02db38775c2c545bc64b549fce3
226
ts
TypeScript
src/services/index.ts
insac96/onlis
5012122365d2e9833d0edbd96078ba703e9b84b2
[ "MIT" ]
null
null
null
src/services/index.ts
insac96/onlis
5012122365d2e9833d0edbd96078ba703e9b84b2
[ "MIT" ]
null
null
null
src/services/index.ts
insac96/onlis
5012122365d2e9833d0edbd96078ba703e9b84b2
[ "MIT" ]
null
null
null
export { default as Layout } from './layout' export { default as Breakpoint } from './breakpoint' export { default as Device } from './device' export { default as Theme } from './theme' export { default as Icon } from './icon'
45.2
52
0.69469
6b8de1d976317ab7bb10ebd8d3b27c85ce7b8b69
25,218
ts
TypeScript
src/visualText.ts
gbraad/vscode-nlp
4d19ad777b9d76770a0b91ae0f3ef7d5901d36a1
[ "MIT" ]
null
null
null
src/visualText.ts
gbraad/vscode-nlp
4d19ad777b9d76770a0b91ae0f3ef7d5901d36a1
[ "MIT" ]
null
null
null
src/visualText.ts
gbraad/vscode-nlp
4d19ad777b9d76770a0b91ae0f3ef7d5901d36a1
[ "MIT" ]
null
null
null
import * as vscode from 'vscode'; import * as path from 'path'; import * as fs from 'fs'; import * as os from 'os'; import { Analyzer } from './analyzer'; import { dirfuncs } from './dirfuncs'; import { JsonState } from './jsonState'; import { nlpStatusBar } from './status'; export enum vtStatus { UNKNOWN, VERSION, VE...
38.976816
139
0.553969
41236cddec2c63380431cd88277e7135d97e8155
9,600
ts
TypeScript
src/actions/Posts.ts
nitrog7/metropolisjs
5ab491337eb73e25f0f8f652004ca7f5878e15c4
[ "MIT" ]
null
null
null
src/actions/Posts.ts
nitrog7/metropolisjs
5ab491337eb73e25f0f8f652004ca7f5878e15c4
[ "MIT" ]
null
null
null
src/actions/Posts.ts
nitrog7/metropolisjs
5ab491337eb73e25f0f8f652004ca7f5878e15c4
[ "MIT" ]
null
null
null
/** * Copyright (c) 2019-Present, Nitrogen Labs, Inc. * Copyrights licensed under the MIT License. See the accompanying LICENSE file for terms. */ import {FluxFramework} from '@nlabs/arkhamjs'; import {parseId, parseNum, parseString, parseVarChar} from '@nlabs/utils'; import {Post} from '../adapters/Post'; import {...
25.6
120
0.5225
27229a97f3674f951643ac27683624620125f015
2,120
tsx
TypeScript
frontend/src/app.tsx
Victin09/vira-project-manager
7cff63cd5b3985dc4eb8666a7bb5dc77cb62d59a
[ "MIT" ]
2
2021-09-30T12:53:51.000Z
2021-10-01T10:07:44.000Z
frontend/src/app.tsx
Victin09/vira-project-manager
7cff63cd5b3985dc4eb8666a7bb5dc77cb62d59a
[ "MIT" ]
27
2021-09-13T12:59:02.000Z
2021-09-30T12:54:34.000Z
frontend/src/app.tsx
Victin09/vira-project-manager
7cff63cd5b3985dc4eb8666a7bb5dc77cb62d59a
[ "MIT" ]
null
null
null
import React, { useEffect, useState } from 'react'; import { I18nProvider } from 'vira-i18n-react'; import { CookiesProvider } from 'react-cookie'; import { BrowserRouter as Router, Redirect, Route } from 'react-router-dom'; import './styles/index.css'; import es from '@common/i18n/es.json'; import en from '@common/i1...
33.650794
102
0.503774
5ac487226e20b90014f2d9129439b51001d67f78
14,913
ts
TypeScript
src/roomPlanner/building.ts
fangxm233/messyBot
c39336ce35163a6690c955f11439c4b8a660a291
[ "Unlicense" ]
1
2020-02-20T16:25:35.000Z
2020-02-20T16:25:35.000Z
src/roomPlanner/building.ts
fangxm233/messyBot
c39336ce35163a6690c955f11439c4b8a660a291
[ "Unlicense" ]
2
2020-06-14T02:33:44.000Z
2020-07-19T10:12:28.000Z
src/roomPlanner/building.ts
fangxm233/messyBot
c39336ce35163a6690c955f11439c4b8a660a291
[ "Unlicense" ]
1
2020-01-30T01:59:00.000Z
2020-01-30T01:59:00.000Z
export const structureLayout:{ [rcl: number]: { rcl: number, buildings: { [structureType: string]: { pos: Coord[] } } } } = { 1: { rcl:1, buildings:{ extension:{pos:[]}, spawn:{ pos:[ {x:3,y:8} ...
30.066532
61
0.218467
a5db8a27b8da3963b62a1ef3ff5b7e25046cd2c9
521
tsx
TypeScript
src/components/PathPlayer/index.tsx
theprimone/react-amap-trial
c9ae86373e626678555e0f442f2d57ad62ac4847
[ "MIT" ]
null
null
null
src/components/PathPlayer/index.tsx
theprimone/react-amap-trial
c9ae86373e626678555e0f442f2d57ad62ac4847
[ "MIT" ]
null
null
null
src/components/PathPlayer/index.tsx
theprimone/react-amap-trial
c9ae86373e626678555e0f442f2d57ad62ac4847
[ "MIT" ]
null
null
null
import React from 'react'; import AMap from './AMap'; import Player, { PlayerProps } from './Player'; export interface PathPlayerProps extends Omit<PlayerProps, '__map__'> { } export default class extends React.Component<PathPlayerProps> { render() { const { panelWidth, height = '100vh', ...rest } = this.props;...
23.681818
71
0.608445
5788198de759c8f7acd604ae57586935406ab803
3,459
ts
TypeScript
src/vfs.ts
VinayaSathyanarayana/prisma-test-utils
3093e7111b371262a15cb2cd3524980117417fe4
[ "MIT" ]
86
2019-06-18T09:56:56.000Z
2022-03-22T20:04:55.000Z
src/vfs.ts
prisma/prisma-faker
830f01d5d0d6a6c3f5783049b2cc76c5ecee8212
[ "MIT" ]
37
2019-10-01T04:16:06.000Z
2021-11-01T13:53:34.000Z
src/vfs.ts
VinayaSathyanarayana/prisma-test-utils
3093e7111b371262a15cb2cd3524980117417fe4
[ "MIT" ]
6
2019-11-01T09:28:00.000Z
2021-08-24T03:42:20.000Z
import * as fs from 'fs' import * as path from 'path' import { CompilerOptions, createCompilerHost, createProgram, createSourceFile, } from 'typescript' import { promisify } from 'util' const mkdir = promisify(fs.mkdir) const writeFile = promisify(fs.writeFile) const copyFile = promisify(fs.copyFile) const rea...
23.855172
78
0.605666
7172218582bf18b8a8358f863287f7016e112d4f
278
ts
TypeScript
packages/dynamics/src/RigidBodyRemoteHandle.interface.ts
mcharytoniuk/personalidol
8bd0590a308f119afb6ac1f1b31a9be8ade97910
[ "MIT" ]
10
2019-12-22T08:15:53.000Z
2020-08-16T03:02:47.000Z
packages/dynamics/src/RigidBodyRemoteHandle.interface.ts
mcharytoniuk/personalidol
8bd0590a308f119afb6ac1f1b31a9be8ade97910
[ "MIT" ]
null
null
null
packages/dynamics/src/RigidBodyRemoteHandle.interface.ts
mcharytoniuk/personalidol
8bd0590a308f119afb6ac1f1b31a9be8ade97910
[ "MIT" ]
1
2020-01-09T15:16:48.000Z
2020-01-09T15:16:48.000Z
import type { Vector3Simple } from "../../quakemaps/src/Vector3Simple.type"; export interface RigidBodyRemoteHandle { applyCentralForce(vector3: Vector3Simple): void; applyCentralImpulse(vector3: Vector3Simple): void; setLinearVelocity(vector3: Vector3Simple): void; }
27.8
76
0.780576
0a2bccc6bb19378c2274f65b0de05a0a6124b757
2,871
tsx
TypeScript
components/chip/Chip.tsx
casser/react-toolbox
fbf497031f43c9d7004f5e03c720f2bcf4539db3
[ "MIT" ]
null
null
null
components/chip/Chip.tsx
casser/react-toolbox
fbf497031f43c9d7004f5e03c720f2bcf4539db3
[ "MIT" ]
null
null
null
components/chip/Chip.tsx
casser/react-toolbox
fbf497031f43c9d7004f5e03c720f2bcf4539db3
[ "MIT" ]
null
null
null
import * as React from "react"; import ReactToolbox from "../types"; export interface ChipTheme { /** * Added to the root element when the component includes an avatar. */ avatar?: string; /** * Used for the root element. */ chip?: string; /** * Added to the root element when the component is ...
26.583333
90
0.613027
767bda50a5928c6f95f62f454beea86a48a399d8
486
ts
TypeScript
src/app/components/index/idea/idea.module.ts
ameer98/College-management
5566be60afe5749bbf38f7b2d3c83bd43d525dce
[ "MIT" ]
null
null
null
src/app/components/index/idea/idea.module.ts
ameer98/College-management
5566be60afe5749bbf38f7b2d3c83bd43d525dce
[ "MIT" ]
null
null
null
src/app/components/index/idea/idea.module.ts
ameer98/College-management
5566be60afe5749bbf38f7b2d3c83bd43d525dce
[ "MIT" ]
null
null
null
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { IdeaRoutingModule } from './idea-routing.module'; import { IdeaComponent } from './idea.component'; import { NavbarModule } from '../navbar/navbar.module'; import { RouterModule } from '@angular/router'; @NgModule({ ...
24.3
58
0.703704
f9e278b994385528745313087cda2805abc30799
565
ts
TypeScript
BudgetTrack/ClientApp/src/app/home/home.component.ts
ermirbeqiraj/expense-tracker
02bac0ffbe5ede69b38c23d6e226138e37fcc5a5
[ "MIT" ]
null
null
null
BudgetTrack/ClientApp/src/app/home/home.component.ts
ermirbeqiraj/expense-tracker
02bac0ffbe5ede69b38c23d6e226138e37fcc5a5
[ "MIT" ]
6
2020-01-04T17:09:28.000Z
2022-02-26T08:42:50.000Z
BudgetTrack/ClientApp/src/app/home/home.component.ts
ermirbeqiraj/expense-tracker
02bac0ffbe5ede69b38c23d6e226138e37fcc5a5
[ "MIT" ]
2
2019-11-26T21:14:35.000Z
2020-09-22T09:11:20.000Z
import { Component, OnInit } from '@angular/core'; import { ExpenseGroupModel } from '../models/ExpenseGroupModel'; import { ExpenseGroupsService } from '../services/expese-group.service'; @Component({ selector: 'app-home', templateUrl: './home.component.html', }) export class HomeComponent implements OnInit { ...
26.904762
72
0.695575
3fc04bc83d8440f07d00d84c95ac2a98a832a2c7
14,733
ts
TypeScript
test/unit/OidcClientSettings.test.ts
rvdkooy/oidc-client-ts
80941a7c718d5f5bf22c56ed8b0b093971eeb653
[ "Apache-2.0" ]
null
null
null
test/unit/OidcClientSettings.test.ts
rvdkooy/oidc-client-ts
80941a7c718d5f5bf22c56ed8b0b093971eeb653
[ "Apache-2.0" ]
null
null
null
test/unit/OidcClientSettings.test.ts
rvdkooy/oidc-client-ts
80941a7c718d5f5bf22c56ed8b0b093971eeb653
[ "Apache-2.0" ]
null
null
null
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. import { Log } from '../../src/utils'; import { MetadataService } from '../../src/MetadataService'; import { OidcClientSettingsStore } from '.....
28.224138
107
0.473766
cfdc4564a74ea18d5c9561dc84c1311f0416a3a1
515
ts
TypeScript
packages/gatsby-theme-blog-posts/gatsby-config.ts
wmalarski/microfrontends
4e165237107173f6ba38e39a28d6952d6062117f
[ "MIT" ]
null
null
null
packages/gatsby-theme-blog-posts/gatsby-config.ts
wmalarski/microfrontends
4e165237107173f6ba38e39a28d6952d6062117f
[ "MIT" ]
null
null
null
packages/gatsby-theme-blog-posts/gatsby-config.ts
wmalarski/microfrontends
4e165237107173f6ba38e39a28d6952d6062117f
[ "MIT" ]
null
null
null
import { config } from "dotenv"; config({ path: `.env.${process.env.NODE_ENV}`, debug: true }); export const plugins = [ "gatsby-plugin-typescript", { resolve: "gatsby-plugin-page-creator", options: { path: `${__dirname}/src/pages` } }, { resolve: `gatsby-source-contentful`, opti...
20.6
71
0.634951
f54504e063ab20bbbfcd44cc597405d5178cb1eb
987
ts
TypeScript
src/app/views/authent/auth.module.ts
EdenaTics/vehicle
2f6dbc7b00e86d9352caabc3fb703d837c908729
[ "Apache-2.0" ]
null
null
null
src/app/views/authent/auth.module.ts
EdenaTics/vehicle
2f6dbc7b00e86d9352caabc3fb703d837c908729
[ "Apache-2.0" ]
1
2019-06-09T08:16:09.000Z
2019-06-09T08:16:09.000Z
src/app/views/authent/auth.module.ts
EdenaTics/vehicle
2f6dbc7b00e86d9352caabc3fb703d837c908729
[ "Apache-2.0" ]
null
null
null
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { AuthComponent } from './auth.component'; import { AuthRoutingRoutes } from './auth-routing.routing'; import { FormsModule } from '@angular/forms'; import { LoginComponent } from './login/login.component'; import { Passwor...
37.961538
118
0.754813
2d8eaa9602aa06665c96d2ddbae3e5020efe73c5
926
tsx
TypeScript
src/components/Hue.component.tsx
Profesor08/react-color-palette
4b9f1e3ee9aa19d9a9b7bf5495773a681870616d
[ "MIT" ]
null
null
null
src/components/Hue.component.tsx
Profesor08/react-color-palette
4b9f1e3ee9aa19d9a9b7bf5495773a681870616d
[ "MIT" ]
null
null
null
src/components/Hue.component.tsx
Profesor08/react-color-palette
4b9f1e3ee9aa19d9a9b7bf5495773a681870616d
[ "MIT" ]
null
null
null
import React, { useCallback, useMemo, useRef } from "react"; import { HueProps } from "../interfaces/Hue.interface"; import { getHueCoordinates } from "../utils/coordinates.util"; import { toColor } from "../utils/toColor.util"; import { Interactive } from "./Interactive.component"; export const Hue = ({ width, color,...
31.931034
118
0.636069
93444652f76fc8d5a1611b72e80bc63dda478be8
1,023
ts
TypeScript
Basics/ex03 - json web token/src/main.ts
hoppfull/Learning-Node
d6017e305f007ca028830603f31204e1d042652b
[ "MIT" ]
null
null
null
Basics/ex03 - json web token/src/main.ts
hoppfull/Learning-Node
d6017e305f007ca028830603f31204e1d042652b
[ "MIT" ]
null
null
null
Basics/ex03 - json web token/src/main.ts
hoppfull/Learning-Node
d6017e305f007ca028830603f31204e1d042652b
[ "MIT" ]
null
null
null
import http = require('http') import jwt = require('jsonwebtoken') const PRIVATE_KEY = 'myprivatekey' http.createServer((request, response) => { if (request.method === 'GET' && request.url === '/') { response.writeHead(200, { 'Content-Type': 'text/plain' }) const token = jwt.sign({ name: 'admin', ...
39.346154
108
0.630499
9a02df32f290343e948255c2a4d7d9ce9cdcb2d3
21,905
ts
TypeScript
src/litepicker.ts
Sadere/Litepicker
80b962a5891bbf21c410d67e6ae83fc7e94b6c68
[ "MIT" ]
null
null
null
src/litepicker.ts
Sadere/Litepicker
80b962a5891bbf21c410d67e6ae83fc7e94b6c68
[ "MIT" ]
null
null
null
src/litepicker.ts
Sadere/Litepicker
80b962a5891bbf21c410d67e6ae83fc7e94b6c68
[ "MIT" ]
null
null
null
import { Calendar } from './calendar'; import { DateTime } from './datetime'; import * as style from './scss/main.scss'; export class Litepicker extends Calendar { protected triggerElement; protected backdrop; constructor(options) { super(); this.options = { ...this.options, ...options }; if ((thi...
29.48183
98
0.604474
9a81dcffa29833489541c07d3e709902a03f7c2e
92
ts
TypeScript
Backend/src/models/users/users.interface.ts
Mueller-Patrick/Betterzon
ddebe78f151a75ae86f916a3e387635de0949adb
[ "MIT" ]
6
2020-10-19T05:03:00.000Z
2021-12-30T18:37:46.000Z
Backend/src/models/users/users.interface.ts
Mueller-Patrick/Betterzon
ddebe78f151a75ae86f916a3e387635de0949adb
[ "MIT" ]
null
null
null
Backend/src/models/users/users.interface.ts
Mueller-Patrick/Betterzon
ddebe78f151a75ae86f916a3e387635de0949adb
[ "MIT" ]
2
2021-06-15T14:01:39.000Z
2021-06-15T22:07:21.000Z
import {User} from './user.interface'; export interface Users { [key: number]: User; }
15.333333
38
0.652174
f74d798756f7b8ca6475dd799415261ae3bc6f27
3,074
ts
TypeScript
packages/transforms/rename/src/wrapRename.ts
crudolf/graphql-mesh
5487e79eda16623e43fee22de487f151fdf24c31
[ "MIT" ]
1
2021-06-10T00:58:47.000Z
2021-06-10T00:58:47.000Z
packages/transforms/rename/src/wrapRename.ts
crudolf/graphql-mesh
5487e79eda16623e43fee22de487f151fdf24c31
[ "MIT" ]
null
null
null
packages/transforms/rename/src/wrapRename.ts
crudolf/graphql-mesh
5487e79eda16623e43fee22de487f151fdf24c31
[ "MIT" ]
1
2022-03-22T22:46:11.000Z
2022-03-22T22:46:11.000Z
import { GraphQLSchema } from 'graphql'; import { MeshTransform, YamlConfig, MeshTransformOptions } from '@graphql-mesh/types'; import { RenameTypes, RenameObjectFields, RenameRootFields, RenameRootTypes, RenameInputObjectFields, } from '@graphql-tools/wrap'; import { ExecutionResult, Request } from '@graphql...
39.922078
118
0.709174
7999bc8a5a0dfcf646cd747ae58cc2fdc9f212ab
7,675
ts
TypeScript
packages/conf/src/index.ts
fny/js-lingui
eb68e51363748fd82f4a0a51c0697fa859d83632
[ "MIT" ]
null
null
null
packages/conf/src/index.ts
fny/js-lingui
eb68e51363748fd82f4a0a51c0697fa859d83632
[ "MIT" ]
null
null
null
packages/conf/src/index.ts
fny/js-lingui
eb68e51363748fd82f4a0a51c0697fa859d83632
[ "MIT" ]
null
null
null
import path from "path" import fs from "fs" import chalk from "chalk" import { cosmiconfigSync } from "cosmiconfig" import { validate } from "jest-validate" export type CatalogFormat = "lingui" | "minimal" | "po" | "csv" export type CatalogFormatOptions = { origins?: boolean } export type OrderBy = "messageId" | "...
24.918831
78
0.656417
7478457eeb1ea95ae5de0f5a122d6230072fcd3b
88
ts
TypeScript
infra/webpack-config/src/types/index.ts
JumpLinkNetwork/tinybind
ac2d73281eff4f35415aaef4f198b6b8e316934c
[ "MIT" ]
null
null
null
infra/webpack-config/src/types/index.ts
JumpLinkNetwork/tinybind
ac2d73281eff4f35415aaef4f198b6b8e316934c
[ "MIT" ]
1
2018-07-09T10:05:56.000Z
2018-07-09T10:05:56.000Z
infra/webpack-config/src/types/index.ts
JumpLinkNetwork/tinybind
ac2d73281eff4f35415aaef4f198b6b8e316934c
[ "MIT" ]
1
2018-07-08T23:20:23.000Z
2018-07-08T23:20:23.000Z
export * from "./config-style"; export * from "./config"; export * from "./loader-item";
29.333333
31
0.647727
ffefbb30fe2e2d227cf278bbc09194c29adc20e2
1,163
ts
TypeScript
interpreter/exec/CallStack.ts
WunschUnreif/CS383-Visualization
5ff0c76301a5fd0d19fcd77d0b292f3dcc3d4f07
[ "MIT" ]
2
2020-04-11T14:13:52.000Z
2020-07-16T13:36:23.000Z
interpreter/exec/CallStack.ts
WunschUnreif/CS383-Visualization
5ff0c76301a5fd0d19fcd77d0b292f3dcc3d4f07
[ "MIT" ]
1
2020-04-11T14:21:58.000Z
2020-04-12T14:26:28.000Z
interpreter/exec/CallStack.ts
WunschUnreif/CS383-Visualization
5ff0c76301a5fd0d19fcd77d0b292f3dcc3d4f07
[ "MIT" ]
null
null
null
import { Expr } from "../expr/Expr"; import { Env } from "./Env"; export class CallStack { frames : CallFrame[] = [] poped : CallFrame; pushFrame(expr: Expr, env: Env) { this.frames.push(new CallFrame(expr, env)); } popFrame() { if(this.frames.length !== 0) { this.pop...
21.145455
73
0.496131
e230e655f6e64871c639722a0e1da0225fe66e9b
452
ts
TypeScript
src/app/app.component.ts
Muriithijoe/Quotes
7c8f984ee073199871f4c1111fca71df6e825a15
[ "Unlicense" ]
null
null
null
src/app/app.component.ts
Muriithijoe/Quotes
7c8f984ee073199871f4c1111fca71df6e825a15
[ "Unlicense" ]
null
null
null
src/app/app.component.ts
Muriithijoe/Quotes
7c8f984ee073199871f4c1111fca71df6e825a15
[ "Unlicense" ]
null
null
null
import { Component } from '@angular/core'; import {Quote} from './quote' @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { quotes = [ new Quote('Arya Stark', 'Leave one wolf alive the sheep are never safe', 'George kim'...
26.588235
112
0.65708
e258cb94a8af903a15a4ac370cb54a61c77d6a75
410
tsx
TypeScript
apps/web-app/src/components/layout/main-layout.tsx
caohuilin/changesets-test
b6a2379cea213c4749a64ede9dd39798da43f049
[ "MIT" ]
1
2021-09-11T01:42:32.000Z
2021-09-11T01:42:32.000Z
apps/web-app/src/components/layout/main-layout.tsx
VikasShashidhar/next-monorepo
067cb792ce85c527f50c3a5e897758cb7af2ac31
[ "MIT" ]
1
2021-08-19T08:14:50.000Z
2021-08-19T08:14:50.000Z
apps/web-app/src/components/layout/main-layout.tsx
VikasShashidhar/next-monorepo
067cb792ce85c527f50c3a5e897758cb7af2ac31
[ "MIT" ]
null
null
null
import GithubIcon from '@your-org/ui-lib/icons/social/github.svg'; import { css } from '@emotion/react'; export const MainLayout: React.FC = (props) => { const { children } = props; return ( <div className="flex flex-col h-screen"> <main>{children}</main> <footer> <GithubIcon css=...
21.578947
66
0.536585
955beab90db3e2d0a54424160bb625db1688498e
470
tsx
TypeScript
src/pages/docs/languages.tsx
hartzell/site
8ecd8cd2a2d67e721cb6c0fe38dc948e94f46241
[ "MIT" ]
null
null
null
src/pages/docs/languages.tsx
hartzell/site
8ecd8cd2a2d67e721cb6c0fe38dc948e94f46241
[ "MIT" ]
null
null
null
src/pages/docs/languages.tsx
hartzell/site
8ecd8cd2a2d67e721cb6c0fe38dc948e94f46241
[ "MIT" ]
null
null
null
import React from 'react' import { PageProps, Link } from 'gatsby' import DocsLayout from '../../components/docslayout' import DocsNote from '../../components/docsnote' import SEO from '../../components/seo' import Languages from '../../components/content/docs/languages' const Docs = (props: PageProps) => ( <DocsL...
26.111111
63
0.706383
3bcf026da319cfa47782ac31f82bd1061bbd2561
1,185
ts
TypeScript
src/app/custom-dialog/custom-dialog.component.ts
LMFinney/angular-type-partial-ngbmodal
a9ed21b258b6ebb74637ac81fd412443c29028d8
[ "MIT" ]
null
null
null
src/app/custom-dialog/custom-dialog.component.ts
LMFinney/angular-type-partial-ngbmodal
a9ed21b258b6ebb74637ac81fd412443c29028d8
[ "MIT" ]
10
2019-06-10T01:00:57.000Z
2022-03-02T02:36:15.000Z
src/app/custom-dialog/custom-dialog.component.ts
LMFinney/angular-type-partial-ngbmodal
a9ed21b258b6ebb74637ac81fd412443c29028d8
[ "MIT" ]
3
2019-09-20T17:19:50.000Z
2020-09-18T19:34:01.000Z
import { ChangeDetectionStrategy, Component } from '@angular/core'; import { FormControl, Validators } from '@angular/forms'; import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; @Component({ selector: 'app-custom-dialog', template: ` <div> <div class="modal-header"> <h4 class="modal-title">Ice C...
25.76087
60
0.642194
54dde8759446a225268afb463de4f7a17b54342d
3,072
tsx
TypeScript
src/components/home-page/medicine-section.tsx
simpledotorg/bp-passport
af5336081996ef65ae5b6585fa03499984f092be
[ "MIT" ]
3
2021-06-01T00:31:41.000Z
2022-02-10T19:42:37.000Z
src/components/home-page/medicine-section.tsx
simpledotorg/bp-passport
af5336081996ef65ae5b6585fa03499984f092be
[ "MIT" ]
26
2020-04-07T09:30:53.000Z
2022-02-10T19:31:05.000Z
src/components/home-page/medicine-section.tsx
simpledotorg/bp-passport
af5336081996ef65ae5b6585fa03499984f092be
[ "MIT" ]
5
2020-07-11T05:50:14.000Z
2022-02-10T19:42:42.000Z
import React from 'react' import {View, StyleSheet, TouchableHighlight} from 'react-native' import {useIntl, FormattedMessage} from 'react-intl' import {StackNavigationProp} from '@react-navigation/stack' import {containerStyles, colors} from '../../styles' import SCREENS from '../../constants/screens' import {RootSta...
25.38843
78
0.53776
073d6aa53ca1e6728771d7ad0ad03e8ef47a951b
904
tsx
TypeScript
components/socials_bar.tsx
dhzdhd/Portfolio-v2
a28f35fd78a44937c6beb469f3f38c696407f536
[ "MIT" ]
null
null
null
components/socials_bar.tsx
dhzdhd/Portfolio-v2
a28f35fd78a44937c6beb469f3f38c696407f536
[ "MIT" ]
null
null
null
components/socials_bar.tsx
dhzdhd/Portfolio-v2
a28f35fd78a44937c6beb469f3f38c696407f536
[ "MIT" ]
null
null
null
import Link from "next/link"; import styles from '../styles/components/SocialsBar.module.sass' import { Icon } from '@iconify/react'; const SocialsBar = () => { return ( <ul className={styles.bar}> <li className={styles.icon}> <a className={styles.link} title="Discord" href="htt...
39.304348
142
0.573009
df47fcb8205b93bfd82ffaf82260df2ffcddc7f2
270
ts
TypeScript
server/validators/rooms/createRoom.ts
misa198/misa-radio
bae1845f19ec7d6ec3690eb3bf60a87cdc6752e5
[ "MIT" ]
1
2021-09-20T01:34:49.000Z
2021-09-20T01:34:49.000Z
server/validators/rooms/createRoom.ts
misa198/misa-radio
bae1845f19ec7d6ec3690eb3bf60a87cdc6752e5
[ "MIT" ]
null
null
null
server/validators/rooms/createRoom.ts
misa198/misa-radio
bae1845f19ec7d6ec3690eb3bf60a87cdc6752e5
[ "MIT" ]
null
null
null
import * as joi from 'joi'; export const createRoomValidator = (input: { name: string }) => { const schema = joi.object({ name: joi.string().required().max(25), }); const { error, value } = schema.validate(input); if (error) throw error; return value; };
24.545455
65
0.633333