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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f0356a4afd7b2321c98f3fb5e4255dec12d621ce | 452 | ts | TypeScript | monday-data-service/src/monday/Monday.ts | KiranGopalakrishnan/Moneyday | 403664c4f3497d3dae33be95a1ff0a28f0769650 | [
"MIT"
] | null | null | null | monday-data-service/src/monday/Monday.ts | KiranGopalakrishnan/Moneyday | 403664c4f3497d3dae33be95a1ff0a28f0769650 | [
"MIT"
] | 4 | 2021-05-11T19:17:12.000Z | 2022-02-27T07:46:00.000Z | monday-data-service/src/monday/Monday.ts | KiranGopalakrishnan/Moneyday | 403664c4f3497d3dae33be95a1ff0a28f0769650 | [
"MIT"
] | null | null | null | import mondaySdk from 'monday-sdk-js'
const monday = mondaySdk()
monday.setToken(
'eyJhbGciOiJIUzI1NiJ9.eyJ0aWQiOjU2Njg4ODUyLCJ1aWQiOjEzNzc0OTg5LCJpYWQiOiIyMDIwLTA3LTA0VDIxOjU5OjMxLjAwMFoiLCJwZXIiOiJtZTp3cml0ZSJ9._fhfnB2SnjXyTjH2fL0LxxLLu4KkBxJ89lZnrK0Vp6M'
)
class Monday {
getInstance() {
return monda... | 26.588235 | 179 | 0.743363 |
c850e0c0ee3e50227d1fcfed7c0c221e9119ce1e | 185 | ts | TypeScript | masscrm_front/src/view/modals/ImportModal/components/index.ts | Andersen-soft/MassCRM | 803d37411316a725567bcf93ba4a588a9a4644b3 | [
"BSD-4-Clause"
] | 4 | 2020-09-23T04:59:19.000Z | 2022-03-28T14:12:40.000Z | masscrm_front/src/view/modals/ImportModal/components/index.ts | Andersen-soft/MassCRM | 803d37411316a725567bcf93ba4a588a9a4644b3 | [
"BSD-4-Clause"
] | null | null | null | masscrm_front/src/view/modals/ImportModal/components/index.ts | Andersen-soft/MassCRM | 803d37411316a725567bcf93ba4a588a9a4644b3 | [
"BSD-4-Clause"
] | 3 | 2020-10-05T14:58:36.000Z | 2021-12-14T12:02:13.000Z | export * from './Actions';
export * from './Import';
export * from './Duplicates';
export * from './UploadingSettings';
export * from './FieldMatching';
export * from './MessageModal';
| 26.428571 | 36 | 0.675676 |
c68bf429840eb976b945f06fd3b7d321ec8e3dce | 146 | ts | TypeScript | packages/web/src/components/ManageSocials/interfaces.ts | dubbha/croton | b99b7d789bf0e5c757b41ba37a23329d3f20d98c | [
"MIT"
] | 9 | 2020-06-11T11:11:52.000Z | 2020-10-25T21:03:57.000Z | packages/web/src/components/ManageSocials/interfaces.ts | dubbha/croton | b99b7d789bf0e5c757b41ba37a23329d3f20d98c | [
"MIT"
] | 14 | 2020-06-21T15:11:37.000Z | 2020-09-11T13:35:50.000Z | packages/web/src/components/ManageSocials/interfaces.ts | dubbha/croton | b99b7d789bf0e5c757b41ba37a23329d3f20d98c | [
"MIT"
] | 1 | 2020-07-07T18:57:22.000Z | 2020-07-07T18:57:22.000Z | export interface AuthButtonContainerProps {
onResponseAction: string;
onErrorAction: string;
errorMessage: string;
buttonText?: string;
}
| 20.857143 | 43 | 0.780822 |
b7f1abc300d752d666f42626374428314520c4a7 | 321 | ts | TypeScript | src/type/array.ts | fiquu/is | ba39c0f08d3cde9f0edc786073fa50ca98975d61 | [
"MIT"
] | 1 | 2021-02-03T18:51:50.000Z | 2021-02-03T18:51:50.000Z | src/type/array.ts | fiquu/is | ba39c0f08d3cde9f0edc786073fa50ca98975d61 | [
"MIT"
] | null | null | null | src/type/array.ts | fiquu/is | ba39c0f08d3cde9f0edc786073fa50ca98975d61 | [
"MIT"
] | null | null | null | /**
* Checks if the given value is an array using native `Array.isArray`.
*
* @param {any} val The value to check.
*
* @returns {boolean} Whether the value is an array.
*
* @example
* isArray([]); // true
* isArray('not array'); // false
*/
export const isArray = (val: unknown): boolean => Array.isArray(val);... | 24.692308 | 70 | 0.638629 |
7ce74bc254305f5213fbe06388b65de68b8bc35c | 787 | ts | TypeScript | shift-serverless-api/src/shared/models/support-thread-info.model.ts | AlexeyPerov/FireShift | a15586d6d7bf244b6b0c7b225683b6aa1c243289 | [
"MIT"
] | 1 | 2022-01-19T15:39:55.000Z | 2022-01-19T15:39:55.000Z | shift-serverless-api/src/shared/models/support-thread-info.model.ts | AlexeyPerov/FireShift | a15586d6d7bf244b6b0c7b225683b6aa1c243289 | [
"MIT"
] | null | null | null | shift-serverless-api/src/shared/models/support-thread-info.model.ts | AlexeyPerov/FireShift | a15586d6d7bf244b6b0c7b225683b6aa1c243289 | [
"MIT"
] | null | null | null | import { Document, DocumentQuery, Model } from 'mongoose';
export interface SupportThreadInfo extends Document {
_id: string;
project: string;
threadOwnerId: string;
receiverId: string;
unread: boolean;
starred: boolean;
archived: boolean;
subject: string;
updateTime: number;
preview: string;
c... | 21.27027 | 74 | 0.743329 |
41c20a5ab8786aca6db6da7a8f085a039fe8c735 | 90 | ts | TypeScript | packages/list/src/reverse/types.ts | moneydance/typed | 4ab12cd583ee3c275cd0400bf8e3bf0ef46194d9 | [
"MIT"
] | 131 | 2017-01-14T05:35:17.000Z | 2021-03-12T12:42:41.000Z | packages/list/src/reverse/types.ts | moneydance/typed | 4ab12cd583ee3c275cd0400bf8e3bf0ef46194d9 | [
"MIT"
] | 60 | 2017-01-14T07:02:47.000Z | 2022-01-22T04:37:26.000Z | packages/list/src/reverse/types.ts | moneydance/typed | 4ab12cd583ee3c275cd0400bf8e3bf0ef46194d9 | [
"MIT"
] | 10 | 2017-09-27T01:34:21.000Z | 2020-07-19T08:49:18.000Z | import { List } from '../types'
export type Reverse = {
<A>(list: List<A>): Array<A>
}
| 15 | 31 | 0.577778 |
29afacb1bc852b9ce87c387c67a48d9c40a6f4a3 | 787 | tsx | TypeScript | src/components/PostList/DefaultPostList/DefaultViewItem.tsx | blackcowmoo/moomark-frontend | c61285c5a291df46986e529549d02cf3dfa039de | [
"MIT"
] | null | null | null | src/components/PostList/DefaultPostList/DefaultViewItem.tsx | blackcowmoo/moomark-frontend | c61285c5a291df46986e529549d02cf3dfa039de | [
"MIT"
] | 28 | 2021-03-26T14:12:51.000Z | 2022-03-26T13:01:01.000Z | src/components/PostList/DefaultPostList/DefaultViewItem.tsx | blackcowmoo/moomark-frontend | c61285c5a291df46986e529549d02cf3dfa039de | [
"MIT"
] | null | null | null | import Link from 'next/link';
import { PostListViewProps } from 'types';
import styles from './DefaultPostList.module.scss';
interface props {
value: PostListViewProps;
}
const DefaultViewItem: React.FC<props> = ({ value }) => {
const { id, title, author, like } = value;
return (
<li className={styles.Defau... | 28.107143 | 73 | 0.60737 |
cae6d5e0a0f810fe80b1c59512bb19566666204d | 390 | ts | TypeScript | packages/@surface/custom-element/internal/interfaces/custom-element.d.ts | SurfaceJS/surface | 2e9c358dffd86d51216b040edb2a92528e08de90 | [
"MIT"
] | 2 | 2020-03-26T17:25:19.000Z | 2021-02-20T19:22:03.000Z | packages/@surface/custom-element/internal/interfaces/custom-element.d.ts | SurfaceJS/surface | 2e9c358dffd86d51216b040edb2a92528e08de90 | [
"MIT"
] | null | null | null | packages/@surface/custom-element/internal/interfaces/custom-element.d.ts | SurfaceJS/surface | 2e9c358dffd86d51216b040edb2a92528e08de90 | [
"MIT"
] | null | null | null | import type { IDisposable } from "@surface/core";
export default interface ICustomlement extends HTMLElement, IDisposable
{
shadowRoot: ShadowRoot;
adoptedCallback?(): void;
attributeChangedCallback?(attributeName: string, oldValue: string | undefined, newValue: string, namespace: string | undefined): void... | 39 | 138 | 0.748718 |
336fa224a530cea0b6e87a831a19b4dbac41e3c7 | 168 | ts | TypeScript | shared/models/__tests__/utils.ts | MacZel/uszanowanko-localstack | bd67ec8708ddb945f3fe2e17ad07ebe3fb71cbf0 | [
"MIT"
] | null | null | null | shared/models/__tests__/utils.ts | MacZel/uszanowanko-localstack | bd67ec8708ddb945f3fe2e17ad07ebe3fb71cbf0 | [
"MIT"
] | null | null | null | shared/models/__tests__/utils.ts | MacZel/uszanowanko-localstack | bd67ec8708ddb945f3fe2e17ad07ebe3fb71cbf0 | [
"MIT"
] | null | null | null | import { Order } from "../online-shop.model";
export const deleteOrder = async (order_id: string) => Order.delete({ order_id: `o#${order_id}`, sk: `o#${order_id}` });
| 42 | 120 | 0.654762 |
d563fdecca581a80f0d983126f216871c87de7ff | 324 | tsx | TypeScript | src/icons/legacy/ArrowLeft.tsx | rsuite/rsuite-icons | 1df6656dd88e0342de8e5ff36c3ea1c4f1c9722e | [
"CC-BY-4.0"
] | 4 | 2020-11-03T21:08:47.000Z | 2022-02-22T09:01:54.000Z | src/icons/legacy/ArrowLeft.tsx | rsuite/rsuite-icons | 1df6656dd88e0342de8e5ff36c3ea1c4f1c9722e | [
"CC-BY-4.0"
] | 1 | 2021-10-09T04:17:17.000Z | 2021-10-09T04:17:17.000Z | src/icons/legacy/ArrowLeft.tsx | rsuite/rsuite-icons | 1df6656dd88e0342de8e5ff36c3ea1c4f1c9722e | [
"CC-BY-4.0"
] | 2 | 2021-02-15T16:34:24.000Z | 2021-12-14T10:47:12.000Z | // Generated by script, don't edit it please.
import createSvgIcon from '../../createSvgIcon';
import ArrowLeftSvg from '@rsuite/icon-font/lib/legacy/ArrowLeft';
const ArrowLeft = createSvgIcon({
as: ArrowLeftSvg,
ariaLabel: 'arrow left',
category: 'legacy',
displayName: 'ArrowLeft'
});
export default ArrowLe... | 24.923077 | 66 | 0.734568 |
231da1725a6543955fa63ba65cd7775194b6ca8d | 155 | ts | TypeScript | aemdesign-aem-compose/src/core/js/utilities/ie11.ts | aem-design/aemdesign-aem-support | a2da9936a0f1c32c15d81666458ae44829aaad36 | [
"Apache-2.0"
] | 7 | 2019-12-11T04:24:57.000Z | 2022-01-17T07:40:33.000Z | aemdesign-aem-compose/src/core/js/utilities/ie11.ts | aem-design/aemdesign-aem-support | a2da9936a0f1c32c15d81666458ae44829aaad36 | [
"Apache-2.0"
] | 65 | 2019-10-08T04:35:25.000Z | 2022-03-30T12:25:33.000Z | aemdesign-aem-compose/src/core/js/utilities/ie11.ts | aem-design/aemdesign-aem-support | a2da9936a0f1c32c15d81666458ae44829aaad36 | [
"Apache-2.0"
] | 2 | 2019-08-26T10:16:08.000Z | 2020-04-10T04:09:34.000Z | export default () => {
// Apply a global class that we can use to target different parts of the page
document.documentElement.classList.add('ie-11')
}
| 31 | 79 | 0.722581 |
eb2d2e5e3cb25ae0325b48fd8a3360cd90d0cd74 | 1,265 | ts | TypeScript | src/server/accessors/Modify.ts | cardoso/Rocket.Chat.Apps-engine | 7bf4cc158f66c1a99d60ec5b1a7ee704e3c75176 | [
"MIT"
] | null | null | null | src/server/accessors/Modify.ts | cardoso/Rocket.Chat.Apps-engine | 7bf4cc158f66c1a99d60ec5b1a7ee704e3c75176 | [
"MIT"
] | null | null | null | src/server/accessors/Modify.ts | cardoso/Rocket.Chat.Apps-engine | 7bf4cc158f66c1a99d60ec5b1a7ee704e3c75176 | [
"MIT"
] | null | null | null | import {
IModify,
IModifyCreator,
IModifyExtender,
IModifyUpdater,
INotifier,
} from '@rocket.chat/apps-ts-definition/accessors';
import { AppBridges } from '../bridges';
import { ModifyCreator } from './ModifyCreator';
import { ModifyExtender } from './ModifyExtender';
import { ModifyUpdater } fro... | 28.75 | 87 | 0.686957 |
8fc0641340ebf6bd00f49207cd803893a4c8c31f | 893 | ts | TypeScript | lib/parsers/filter_expr.ts | badeball/xpath-parser | eadc09745cd0f9ebe28b27d42bd43b2623978a08 | [
"MIT"
] | null | null | null | lib/parsers/filter_expr.ts | badeball/xpath-parser | eadc09745cd0f9ebe28b27d42bd43b2623978a08 | [
"MIT"
] | 3 | 2020-06-18T11:45:23.000Z | 2021-05-08T00:31:05.000Z | lib/parsers/filter_expr.ts | badeball/xpath-parser | eadc09745cd0f9ebe28b27d42bd43b2623978a08 | [
"MIT"
] | 1 | 2019-06-24T14:42:55.000Z | 2019-06-24T14:42:55.000Z | import XPathLexer from "xpath-lexer";
import { ExprParser, ExprNode } from "./expr";
import { PredicateNode } from "./predicate";
import { FILTER } from "../expr_type";
import * as Predicate from "./predicate";
import * as PrimaryExpr from "./primary_expr";
export interface FilterNode {
type: typeof FILTER;
p... | 21.261905 | 77 | 0.661814 |
224e9ad0f9b16bb2ab1da1158f31532e81d791c9 | 4,662 | ts | TypeScript | src/services/websocket/socketIO.ts | YDJ-FE/ts-react-vite_or_webpack | e150d4d1b39527c8c6532171504da60ca0020705 | [
"MIT"
] | 12 | 2022-01-24T08:54:37.000Z | 2022-03-29T21:38:54.000Z | src/services/websocket/socketIO.ts | YDJ-FE/ts-react-vite_or_webpack | e150d4d1b39527c8c6532171504da60ca0020705 | [
"MIT"
] | 2 | 2022-02-11T03:59:11.000Z | 2022-03-28T09:35:54.000Z | src/services/websocket/socketIO.ts | YDJ-FE/ts-react-vite_or_webpack | e150d4d1b39527c8c6532171504da60ca0020705 | [
"MIT"
] | 2 | 2022-01-24T08:54:39.000Z | 2022-03-15T04:05:05.000Z | import io, { Manager, Socket } from 'socket.io-client'
import socketioWildcard from 'socketio-wildcard'
import { message } from 'antd'
import { reaction } from 'mobx'
import { socketStore } from '@store/index'
const patch = socketioWildcard(Manager)
/**
* socket 通信
*
* @export
* @class Socket
*/
class _Socket {... | 26.793103 | 84 | 0.486915 |
2254261022b51ba921e5f8ef4c57763ff9dffc98 | 636 | ts | TypeScript | tests/play.ts | trapcodeio/toolbox | 80091ba56443a1394836538e5b5bec1bf87bfe41 | [
"MIT"
] | null | null | null | tests/play.ts | trapcodeio/toolbox | 80091ba56443a1394836538e5b5bec1bf87bfe41 | [
"MIT"
] | null | null | null | tests/play.ts | trapcodeio/toolbox | 80091ba56443a1394836538e5b5bec1bf87bfe41 | [
"MIT"
] | null | null | null | import {strLimit, strLimitWords, strLimitWordsByLength} from "../string/limit";
const xpressMongo = "A light mongodb model/helper library for nodejs, provides modeling for your documents while keeping you very close to mongodb native syntax"
const noSpace = "sdfghjkdfuytefvbndmsnbvsghjfkjhgdfghjskjhgdhjkahjdgvhsbjnbvg... | 63.6 | 161 | 0.768868 |
3093c61547b8b500a890b169a0aebf343c6dfb8f | 344 | ts | TypeScript | clients/node/client-acm-pca-node/types/GetCertificateAuthorityCertificateExceptionsUnion.ts | pravgupt/aws-sdk-js-v3 | 1fd0fab5da141d934eb98624d6c23b347806bb47 | [
"Apache-2.0"
] | null | null | null | clients/node/client-acm-pca-node/types/GetCertificateAuthorityCertificateExceptionsUnion.ts | pravgupt/aws-sdk-js-v3 | 1fd0fab5da141d934eb98624d6c23b347806bb47 | [
"Apache-2.0"
] | null | null | null | clients/node/client-acm-pca-node/types/GetCertificateAuthorityCertificateExceptionsUnion.ts | pravgupt/aws-sdk-js-v3 | 1fd0fab5da141d934eb98624d6c23b347806bb47 | [
"Apache-2.0"
] | null | null | null | import { ResourceNotFoundException } from "./ResourceNotFoundException";
import { InvalidStateException } from "./InvalidStateException";
import { InvalidArnException } from "./InvalidArnException";
export type GetCertificateAuthorityCertificateExceptionsUnion =
| ResourceNotFoundException
| InvalidStateException
... | 43 | 72 | 0.825581 |
e67b64d202b6cb23d42641f73a32a91315953c8a | 777 | tsx | TypeScript | src/components/Recipes/TagsList.tsx | tmichelogiannakis/simply-recipes | f061f800cdf438c1482b36a4d8093d77e4c09a6b | [
"MIT"
] | null | null | null | src/components/Recipes/TagsList.tsx | tmichelogiannakis/simply-recipes | f061f800cdf438c1482b36a4d8093d77e4c09a6b | [
"MIT"
] | null | null | null | src/components/Recipes/TagsList.tsx | tmichelogiannakis/simply-recipes | f061f800cdf438c1482b36a4d8093d77e4c09a6b | [
"MIT"
] | null | null | null | import { Link } from 'gatsby';
import slugify from 'slugify';
import { FetchRecipesQuery } from '../../../graphql-types';
import setupTags from '../../utils/setup-tags';
type TagsListProps = {
recipes: FetchRecipesQuery['allContentfulRecipe']['nodes'];
};
const TagsList = ({ recipes }: TagsListProps): JSX.Element =... | 25.9 | 70 | 0.563707 |
1a6f773526b31b8658970b8a000ff962766d9c0f | 163 | ts | TypeScript | src/util/helpers.ts | johndaamax/world-countries | ab3fbc95400f4496389d42de21b67ccfdbae4b89 | [
"MIT"
] | null | null | null | src/util/helpers.ts | johndaamax/world-countries | ab3fbc95400f4496389d42de21b67ccfdbae4b89 | [
"MIT"
] | null | null | null | src/util/helpers.ts | johndaamax/world-countries | ab3fbc95400f4496389d42de21b67ccfdbae4b89 | [
"MIT"
] | null | null | null | export const formatToThousands = (number: number, formatterChar = '.'): string => {
return number.toString().replace(/\B(?=(\d{3})+(?!\d))/g, formatterChar);
};
| 40.75 | 83 | 0.638037 |
c0e63cc81a6c72935b14ddfeec370637b34427d6 | 78 | ts | TypeScript | src/Pages/Portfolio/Portfolio/RecentProjects/index.ts | mmcxii/secord.io | 87bdc549e443f0aa66b8c7646a7ac2f7d90487db | [
"MIT"
] | null | null | null | src/Pages/Portfolio/Portfolio/RecentProjects/index.ts | mmcxii/secord.io | 87bdc549e443f0aa66b8c7646a7ac2f7d90487db | [
"MIT"
] | null | null | null | src/Pages/Portfolio/Portfolio/RecentProjects/index.ts | mmcxii/secord.io | 87bdc549e443f0aa66b8c7646a7ac2f7d90487db | [
"MIT"
] | null | null | null | import RecentProjects from './RecentProjects';
export default RecentProjects; | 26 | 46 | 0.833333 |
d4b601a4b4a113a52446071d38b3aaa6923d8a5e | 1,712 | tsx | TypeScript | src/components/post-card.tsx | ryohidaka/portfolio | 95af75e31a4970fa39972ca3341a285061e47451 | [
"RSA-MD"
] | 1 | 2021-04-23T01:14:20.000Z | 2021-04-23T01:14:20.000Z | src/components/post-card.tsx | ryohidaka/portfolio | 95af75e31a4970fa39972ca3341a285061e47451 | [
"RSA-MD"
] | 428 | 2021-04-22T21:07:09.000Z | 2022-03-30T08:49:07.000Z | src/components/post-card.tsx | ryohidaka/portfolio | 95af75e31a4970fa39972ca3341a285061e47451 | [
"RSA-MD"
] | null | null | null | import React from "react"
import { Link } from "gatsby"
import {
Card,
CardActionArea,
CardContent,
CardMedia,
Typography,
} from "@mui/material"
import { makeStyles } from "@mui/styles"
import { GatsbyImage, getImage } from "gatsby-plugin-image"
import { Post } from "../types"
import { formatHashTag } from "... | 22.526316 | 74 | 0.563668 |
be48e7c1f4299225e606fafee356f53fa24b019e | 663 | ts | TypeScript | types/index.d.ts | cwire-io/nodejs-sdk | dd12110eb3fcb3e4c545fcd9eb57f8360556ea85 | [
"MIT"
] | 3 | 2020-11-10T14:59:15.000Z | 2021-02-06T00:47:03.000Z | types/index.d.ts | cwire-io/nodejs-sdk | dd12110eb3fcb3e4c545fcd9eb57f8360556ea85 | [
"MIT"
] | 1 | 2021-01-30T01:39:27.000Z | 2021-07-14T15:55:03.000Z | types/index.d.ts | cwire-io/nodejs-sdk | dd12110eb3fcb3e4c545fcd9eb57f8360556ea85 | [
"MIT"
] | null | null | null | import { CWire } from './CWire';
import { DataModel } from './DataModel';
import { DataModelField } from './DataModelField';
import { DataModelAction, ModelAction, Action, MultipleEntityAction, SingleEntityAction } from './DataModelAction';
import { CWireFrontendClient, FrontendClient } from './CWireFrontendClient';
im... | 66.3 | 209 | 0.79638 |
bef97f3ff3de47c8bbbf6a0f77dfacecf5ebfa36 | 8,176 | ts | TypeScript | scripts/script.ts | mijallen/WebGameEngine | 491bb19d4252f864b303fb1554675c59e87147c7 | [
"MIT"
] | 1 | 2017-05-21T21:05:12.000Z | 2017-05-21T21:05:12.000Z | scripts/script.ts | mijallen/WebGameEngine | 491bb19d4252f864b303fb1554675c59e87147c7 | [
"MIT"
] | 5 | 2018-01-03T06:39:12.000Z | 2018-01-03T07:27:54.000Z | scripts/script.ts | mijallen/WebGameEngine | 491bb19d4252f864b303fb1554675c59e87147c7 | [
"MIT"
] | null | null | null | // custom scene with a light
class TestLightScene extends Scene {
private light: Vector3f;
public constructor() {
super();
this.light = new Vector3f(0.0, 0.0, 0.0);
}
public getLight(): Vector3f {
return this.light;
}
public setLight(light: Vector3f): void {
t... | 36.995475 | 98 | 0.584516 |
f3fe5b285162756ee7c77054bec1ec7d91b1333e | 397 | tsx | TypeScript | packages/node/src/views/Page.tsx | sambacha/deth | 37b7029bc73e24140f15b47910ea678c7fd6ee91 | [
"MIT"
] | 1 | 2021-02-24T23:48:52.000Z | 2021-02-24T23:48:52.000Z | packages/node/src/views/Page.tsx | sambacha/deth | 37b7029bc73e24140f15b47910ea678c7fd6ee91 | [
"MIT"
] | null | null | null | packages/node/src/views/Page.tsx | sambacha/deth | 37b7029bc73e24140f15b47910ea678c7fd6ee91 | [
"MIT"
] | null | null | null | import React, { ReactNode } from 'react'
import cx from 'classnames'
import { Header } from './Header'
export interface PageProps {
children: ReactNode,
twoColumns?: boolean,
}
export function Page ({ children, twoColumns }: PageProps) {
return (
<>
<Header />
<main className={cx('page', twoColu... | 19.85 | 70 | 0.612091 |
6ddbeaeb77d9b04b0c43ce00c50d4e11cc8307c9 | 530 | ts | TypeScript | sites/yhs/src/views/BlogEntry.ts | estudiosone/Desk | 1f898c31a581c44e68a983816472a282c07f9fa9 | [
"MIT"
] | null | null | null | sites/yhs/src/views/BlogEntry.ts | estudiosone/Desk | 1f898c31a581c44e68a983816472a282c07f9fa9 | [
"MIT"
] | 13 | 2021-03-09T04:15:57.000Z | 2022-02-26T15:48:48.000Z | sites/yhs/src/views/BlogEntry.ts | estudiosone/Desk | 1f898c31a581c44e68a983816472a282c07f9fa9 | [
"MIT"
] | null | null | null | import Vue from "vue";
export default Vue.extend({
name: "p-blog-entry",
props: {
id: {
type: String,
required: true
}
},
data() {
return {
title: "",
tags: [""],
content: "",
childrens: [{ type: "", data: "" }],
};
},
mounted() {
const data = this.$st... | 18.928571 | 55 | 0.503774 |
a2fc663f7c2e881b001c87874cdf31aa0527a115 | 484 | ts | TypeScript | util/initialise-store.ts | AkshayPrajapati1999/trello-clone | bf1d09e40b5d3387e013f44382ae29a6a222ec71 | [
"MIT"
] | 109 | 2021-07-04T19:11:49.000Z | 2022-03-31T15:59:49.000Z | util/initialise-store.ts | AkshayPrajapati1999/trello-clone | bf1d09e40b5d3387e013f44382ae29a6a222ec71 | [
"MIT"
] | 43 | 2021-07-04T13:09:17.000Z | 2022-03-30T06:20:03.000Z | util/initialise-store.ts | AkshayPrajapati1999/trello-clone | bf1d09e40b5d3387e013f44382ae29a6a222ec71 | [
"MIT"
] | 20 | 2021-07-05T05:53:53.000Z | 2022-03-26T13:05:41.000Z | import createStore from '@/src/store';
let store;
export const setOrGetStore = (preloadedState = {}) => {
let _store = store ?? createStore(preloadedState);
if (preloadedState && store) {
_store = createStore({ ...store.getState(), ...preloadedState });
store = undefined;
}
// For SSG and SSR always ... | 24.2 | 69 | 0.661157 |
8bc3ed675216963915f0e5f816b6bf85cb29b9bf | 114 | ts | TypeScript | server-app/src/utils.ts | Miguel-Herrero/slice-it-pizza | 0c99aad20ee216d865a966194bbdb90037958492 | [
"BSD-Source-Code"
] | null | null | null | server-app/src/utils.ts | Miguel-Herrero/slice-it-pizza | 0c99aad20ee216d865a966194bbdb90037958492 | [
"BSD-Source-Code"
] | null | null | null | server-app/src/utils.ts | Miguel-Herrero/slice-it-pizza | 0c99aad20ee216d865a966194bbdb90037958492 | [
"BSD-Source-Code"
] | null | null | null | export * from "./utils/database-wrapper";
export * from "./utils/decorators";
export * from "./utils/loggers";
| 28.5 | 42 | 0.675439 |
8be06a44fdb530153fd2ff1c035837d219eeda2b | 131 | ts | TypeScript | common/utils/is-empty-object.ts | wellcometrust/wellcome-patterns-node | 05d8d2a83ce816a0000acf8e3f43c0009bd7744f | [
"MIT"
] | 26 | 2016-12-03T23:44:53.000Z | 2020-02-12T21:08:18.000Z | common/utils/is-empty-object.ts | wellcometrust/wellcome-patterns-node | 05d8d2a83ce816a0000acf8e3f43c0009bd7744f | [
"MIT"
] | 2,355 | 2016-10-05T14:00:55.000Z | 2020-02-13T18:09:54.000Z | common/utils/is-empty-object.ts | wellcometrust/wellcome-patterns-node | 05d8d2a83ce816a0000acf8e3f43c0009bd7744f | [
"MIT"
] | 6 | 2017-10-21T14:04:36.000Z | 2020-02-12T21:08:32.000Z | const isEmptyObject = (obj?: Object): boolean => {
return Object.keys(obj || {}).length === 0;
};
export default isEmptyObject;
| 21.833333 | 50 | 0.656489 |
edcfd5f67a745c6e59a66fa6cd0b814912231ed3 | 5,895 | ts | TypeScript | src/App/ConnectionWizard/Environment/TechnicalSetup/TLS/TLSServerCertificates/HubSC/sagas.ts | kleyow/mojaloop-payment-manager-ui | 99c9b9b95f1483543980de310906b3b0654b1c8d | [
"Apache-2.0"
] | null | null | null | src/App/ConnectionWizard/Environment/TechnicalSetup/TLS/TLSServerCertificates/HubSC/sagas.ts | kleyow/mojaloop-payment-manager-ui | 99c9b9b95f1483543980de310906b3b0654b1c8d | [
"Apache-2.0"
] | 2 | 2022-02-02T15:57:12.000Z | 2022-03-15T23:47:45.000Z | src/App/ConnectionWizard/Environment/TechnicalSetup/TLS/TLSServerCertificates/HubSC/sagas.ts | kleyow/mojaloop-payment-manager-ui | 99c9b9b95f1483543980de310906b3b0654b1c8d | [
"Apache-2.0"
] | 5 | 2021-09-28T14:06:43.000Z | 2022-02-04T13:03:30.000Z | import { all, put, select, takeLatest, call } from 'redux-saga/effects';
import { is20x, is404 } from 'utils/http';
import { downloadFile } from 'utils/html';
import { getEnvironmentName, getEnvironmentId } from 'App/ConnectionWizard/selectors';
import { showToast, showErrorModal } from 'App/actions';
import apis from ... | 40.102041 | 98 | 0.773537 |
690595a48ab92379f73411c620ff676ee49d888f | 876 | ts | TypeScript | integration_tests/integration/viewAndPrintLicence.spec.ts | ministryofjustice/create-and-vary-a-licence | dfc5f8c6abc9c340918d46eb06f56f3d82973660 | [
"MIT"
] | 1 | 2021-08-09T13:12:05.000Z | 2021-08-09T13:12:05.000Z | integration_tests/integration/viewAndPrintLicence.spec.ts | ministryofjustice/create-and-vary-a-licence | dfc5f8c6abc9c340918d46eb06f56f3d82973660 | [
"MIT"
] | 42 | 2021-09-22T12:21:35.000Z | 2022-03-22T02:51:04.000Z | integration_tests/integration/viewAndPrintLicence.spec.ts | ministryofjustice/create-and-vary-a-licence | dfc5f8c6abc9c340918d46eb06f56f3d82973660 | [
"MIT"
] | 2 | 2021-08-12T09:56:52.000Z | 2021-08-12T12:55:01.000Z | import Page from '../pages/page'
import IndexPage from '../pages'
context('View and print licence', () => {
beforeEach(() => {
cy.task('reset')
cy.task('stubPrisonSignIn')
cy.task('stubAuthUser')
cy.task('stubGetPrisonUserDetails')
cy.task('stubGetPrisonUserCaseloads')
cy.task('stubGetComplet... | 33.692308 | 73 | 0.714612 |
4817aef1759caedfda7c32deec0f3c3ff86aed28 | 112 | ts | TypeScript | src/modules/Hash/index.ts | vasiliev-alexey/react-js-tutorial | c59183947ae893e468ec42059b966a6c55cf783c | [
"MIT"
] | 74 | 2020-03-30T12:06:58.000Z | 2022-02-07T12:36:41.000Z | src/modules/Hash/index.ts | vasiliev-alexey/react-js-tutorial | c59183947ae893e468ec42059b966a6c55cf783c | [
"MIT"
] | 78 | 2020-03-30T09:41:41.000Z | 2022-03-26T10:24:30.000Z | src/modules/Hash/index.ts | vasiliev-alexey/react-js-tutorial | c59183947ae893e468ec42059b966a6c55cf783c | [
"MIT"
] | 112 | 2020-04-04T20:28:46.000Z | 2022-03-23T15:02:46.000Z | export { hashSlice } from "./reducer";
export { getHashModule } from "./module";
export { Hash } from "./Hash";
| 28 | 41 | 0.651786 |
48b53845f4abda9e75a23cb0b4f97737a4888bcd | 204 | ts | TypeScript | index.ts | dmitrysam88/mysql-smart-dump | 7abef4d50d52a3c4eb78b799824990b2c18852cc | [
"MIT"
] | null | null | null | index.ts | dmitrysam88/mysql-smart-dump | 7abef4d50d52a3c4eb78b799824990b2c18852cc | [
"MIT"
] | null | null | null | index.ts | dmitrysam88/mysql-smart-dump | 7abef4d50d52a3c4eb78b799824990b2c18852cc | [
"MIT"
] | 1 | 2021-07-14T07:31:00.000Z | 2021-07-14T07:31:00.000Z | export { RoutineDumper } from './lib/RoutineDumper';
export { TableDumper } from './lib/TableDumper';
export { EventDumper } from './lib/EventDumper';
export { ElementLoader } from './lib/ElementLoader';
| 40.8 | 52 | 0.72549 |
26e7a2e1e41d36a89ad3ea164031fd26cd80ec0f | 2,814 | ts | TypeScript | @types/ol-ext/interaction/SelectCluster.d.ts | Tomschi/types-ol-ext | c7c70803dd4e7e2f6a79ae7f097d26fcee418403 | [
"MIT"
] | null | null | null | @types/ol-ext/interaction/SelectCluster.d.ts | Tomschi/types-ol-ext | c7c70803dd4e7e2f6a79ae7f097d26fcee418403 | [
"MIT"
] | null | null | null | @types/ol-ext/interaction/SelectCluster.d.ts | Tomschi/types-ol-ext | c7c70803dd4e7e2f6a79ae7f097d26fcee418403 | [
"MIT"
] | null | null | null | import { Map as _ol_Map_ } from 'ol';
import Feature, { FeatureLike } from 'ol/Feature';
import { Vector } from 'ol/layer';
import { Style } from 'ol/style';
import { Select } from 'ol/interaction';
import { Coordinate } from 'ol/coordinate';
export interface Options {
featureStyle: Style;
selectCluster: boole... | 39.633803 | 127 | 0.703625 |
bf71bc08891ad573c4004afd3b17f74f23e7366f | 11,833 | ts | TypeScript | lib/structures/currency.ts | lewd-labs/Discord-easy-economy | d21d808a6cef44c6684901478840a2bd96a43381 | [
"MIT"
] | 3 | 2022-01-19T19:51:34.000Z | 2022-01-20T13:58:28.000Z | lib/structures/currency.ts | lewd-labs/Discord-easy-economy | d21d808a6cef44c6684901478840a2bd96a43381 | [
"MIT"
] | null | null | null | lib/structures/currency.ts | lewd-labs/Discord-easy-economy | d21d808a6cef44c6684901478840a2bd96a43381 | [
"MIT"
] | 1 | 2022-01-20T19:38:55.000Z | 2022-01-20T19:38:55.000Z | import { ErrorMessage } from "../util/functions";
import type { EconomyMethodOption } from "../typings/typings";
import { DataBaseController } from "..";
import { fetchManager } from "../managers/fetch";
import { Logger } from "../util/logger";
/**
* The class to handler user balance methods.
*/
export class Currenc... | 30.263427 | 159 | 0.602552 |
877c7c15eddd094913efd691dcc81f329f9b86db | 1,974 | ts | TypeScript | server/src/services/soundcloud.ts | alex42ins/bot-tu | 7a5d0c5a1e9ad3684c370a9a71cacdb01ae23c90 | [
"MIT"
] | null | null | null | server/src/services/soundcloud.ts | alex42ins/bot-tu | 7a5d0c5a1e9ad3684c370a9a71cacdb01ae23c90 | [
"MIT"
] | null | null | null | server/src/services/soundcloud.ts | alex42ins/bot-tu | 7a5d0c5a1e9ad3684c370a9a71cacdb01ae23c90 | [
"MIT"
] | null | null | null | import { scdl } from "../bot";
import { soundcloudTrackRegex } from "../constant/regex";
import { defaultSCArtWork } from "../constant/config";
import { Platform, Playlist, Resource } from "./types";
const searchTrack = async (keyword: string): Promise<string> => {
const res = await scdl.search({
query: keyword,... | 27.041096 | 80 | 0.618034 |
7b8e1769c3468a9eda69cbd05aa926e2f483e565 | 146 | ts | TypeScript | src/components/atoms/ToasterSnack/toaster-snack.interface.ts | meziaris/myriad-web | 9cda274b973fe426a46c349a87b00c508758ee19 | [
"Unlicense"
] | null | null | null | src/components/atoms/ToasterSnack/toaster-snack.interface.ts | meziaris/myriad-web | 9cda274b973fe426a46c349a87b00c508758ee19 | [
"Unlicense"
] | null | null | null | src/components/atoms/ToasterSnack/toaster-snack.interface.ts | meziaris/myriad-web | 9cda274b973fe426a46c349a87b00c508758ee19 | [
"Unlicense"
] | null | null | null | import {VariantType} from 'notistack';
export interface ToasterSnackProps {
variant: VariantType;
message: string;
key: string | number;
}
| 18.25 | 38 | 0.739726 |
51ea47ce94abb53d5214fb0b631509cbc20a686f | 2,611 | ts | TypeScript | backend/src/universities/universities.service.ts | Aleandro2000/licences-management-web-app | ac1c1b7db14db1c499160ad40573e4ccb843097e | [
"MIT"
] | null | null | null | backend/src/universities/universities.service.ts | Aleandro2000/licences-management-web-app | ac1c1b7db14db1c499160ad40573e4ccb843097e | [
"MIT"
] | null | null | null | backend/src/universities/universities.service.ts | Aleandro2000/licences-management-web-app | ac1c1b7db14db1c499160ad40573e4ccb843097e | [
"MIT"
] | null | null | null | import { Injectable } from '@nestjs/common'
import { UniversityDto } from './dto/universities.dto'
import { University } from './entities/universities.entity'
import { createQueryBuilder } from 'typeorm'
import { JwtService } from '@nestjs/jwt'
import { Request } from 'express'
@Injectable()
export class UniversitiesS... | 36.774648 | 111 | 0.636538 |
407a9afe78ba8eb82112da8ccaef5c47f11eaaa0 | 8,351 | ts | TypeScript | FrontEnd/src/app/organisation/organisation-picker/organisation-picker.component.ts | endeavourhealth/DataSharingManager | e0c4c7b4cc830dd7dcd42a16a9aa257852c6c132 | [
"Apache-2.0"
] | null | null | null | FrontEnd/src/app/organisation/organisation-picker/organisation-picker.component.ts | endeavourhealth/DataSharingManager | e0c4c7b4cc830dd7dcd42a16a9aa257852c6c132 | [
"Apache-2.0"
] | 8 | 2021-02-23T10:12:01.000Z | 2022-03-02T07:59:06.000Z | FrontEnd/src/app/organisation/organisation-picker/organisation-picker.component.ts | endeavourhealth/DataSharingManager | e0c4c7b4cc830dd7dcd42a16a9aa257852c6c132 | [
"Apache-2.0"
] | null | null | null | import { Component, OnInit, Input } from '@angular/core';
import {Organisation} from '../models/Organisation';
import {OrganisationService} from '../organisation.service';
import {LoggerService} from 'eds-angular4';
import {NgbModal, NgbActiveModal} from '@ng-bootstrap/ng-bootstrap';
import {RegionService} from "../../... | 33.007905 | 133 | 0.610825 |
7a646082a6548d98e5b346e77f3919234dd9fa34 | 385 | ts | TypeScript | src/lib/accessibility/Behaviors/List/ListItemBehavior.ts | bcalvery/react | 13817511bbee0e0f7269049e71f5117f19b698d8 | [
"MIT"
] | null | null | null | src/lib/accessibility/Behaviors/List/ListItemBehavior.ts | bcalvery/react | 13817511bbee0e0f7269049e71f5117f19b698d8 | [
"MIT"
] | null | null | null | src/lib/accessibility/Behaviors/List/ListItemBehavior.ts | bcalvery/react | 13817511bbee0e0f7269049e71f5117f19b698d8 | [
"MIT"
] | null | null | null | import SelectableListItemBehavior from './SelectableListItemBehavior'
import BasicListItemBehavior from './BasicListItemBehavior'
import { IAccessibilityDefinition } from '../../interfaces'
const ListItemBehavior: (props: any) => IAccessibilityDefinition = (props: any) =>
props.selection ? SelectableListItemBehavior... | 42.777778 | 82 | 0.815584 |
d83c8f64b526de5c03deab6d2b4d1f7f9d4d37a7 | 2,685 | ts | TypeScript | test/controller/certificates/llp-certificates/registered.office.options.unit.test.ts | companieshouse/certificates.orders.web.ch.gov.uk | a498632d95db67ac7b7b9a32066ca94bac6d2ebb | [
"MIT"
] | 2 | 2019-12-02T09:30:29.000Z | 2020-11-09T23:03:36.000Z | test/controller/certificates/llp-certificates/registered.office.options.unit.test.ts | companieshouse/certificates.orders.web.ch.gov.uk | a498632d95db67ac7b7b9a32066ca94bac6d2ebb | [
"MIT"
] | 4 | 2020-09-09T09:14:15.000Z | 2021-10-05T10:45:43.000Z | test/controller/certificates/llp-certificates/registered.office.options.unit.test.ts | companieshouse/certificates.orders.web.ch.gov.uk | a498632d95db67ac7b7b9a32066ca94bac6d2ebb | [
"MIT"
] | 1 | 2021-04-10T21:14:07.000Z | 2021-04-10T21:14:07.000Z | import chai from "chai";
import { generateBackLink, optionFilter, setRegOfficeOption } from "../../../../src/controllers/certificates/llp-certificates/registered.office.options.controller";
import { RegisteredOfficeAddressOptionName } from "../../../../src/controllers/certificates/llp-certificates/RegisteredOfficeAddre... | 49.722222 | 164 | 0.689758 |
59fb94682b35a114d08f99e9f5d6e07e94c77792 | 295 | tsx | TypeScript | packages/docs/pages/examples/reactivity/counter/app.tsx | leader22/qwik | 0b659e70ac2bc1e54a58133effe531b774ee515d | [
"MIT"
] | null | null | null | packages/docs/pages/examples/reactivity/counter/app.tsx | leader22/qwik | 0b659e70ac2bc1e54a58133effe531b774ee515d | [
"MIT"
] | null | null | null | packages/docs/pages/examples/reactivity/counter/app.tsx | leader22/qwik | 0b659e70ac2bc1e54a58133effe531b774ee515d | [
"MIT"
] | null | null | null | import { component$, useStore } from '@builder.io/qwik';
export const App = component$(() => {
const store = useStore({ count: 0 });
return (
<div>
<p>Count: {store.count}</p>
<p>
<button onClick$={() => store.count++}>Click</button>
</p>
</div>
);
});
| 19.666667 | 61 | 0.515254 |
ff2f3921b514d6454bf11fbb71b3ce3fecb570bf | 324 | ts | TypeScript | src/modules/actives/infra/typeorm/entities/Active.ts | marcosvaldeni/log-sierra | d473ebb211f413a06bdc82c2fbb1d8cf256d0224 | [
"MIT"
] | 15 | 2021-09-20T10:12:40.000Z | 2021-09-21T10:01:26.000Z | src/modules/actives/infra/typeorm/entities/Active.ts | marcosvaldeni/log-sierra | d473ebb211f413a06bdc82c2fbb1d8cf256d0224 | [
"MIT"
] | null | null | null | src/modules/actives/infra/typeorm/entities/Active.ts | marcosvaldeni/log-sierra | d473ebb211f413a06bdc82c2fbb1d8cf256d0224 | [
"MIT"
] | null | null | null | import {
Entity,
Column,
PrimaryGeneratedColumn,
CreateDateColumn,
} from 'typeorm';
@Entity('actives')
class Active {
@PrimaryGeneratedColumn('uuid')
id: string;
@CreateDateColumn()
activeOn: Date;
@CreateDateColumn()
activeOff: Date | null;
@Column()
user_id: string;
}
export default Acti... | 13.5 | 33 | 0.691358 |
66f2ba5939071d18a8169eb0ce6efeb76c07a3d2 | 509 | ts | TypeScript | ng/src/app/meilis/components/address/sanjiliandong/sanjiliandong.component.ts | yuxiaoxiong/angular3-beauty-project | 98ac5c8f4b44ec7d81a3bc8b830f49ce67e6857e | [
"MIT"
] | 1 | 2018-04-21T07:04:51.000Z | 2018-04-21T07:04:51.000Z | ng/src/app/meilis/components/address/sanjiliandong/sanjiliandong.component.ts | yuxiaoxiong/angular3-beauty-project | 98ac5c8f4b44ec7d81a3bc8b830f49ce67e6857e | [
"MIT"
] | null | null | null | ng/src/app/meilis/components/address/sanjiliandong/sanjiliandong.component.ts | yuxiaoxiong/angular3-beauty-project | 98ac5c8f4b44ec7d81a3bc8b830f49ce67e6857e | [
"MIT"
] | 1 | 2018-04-21T06:56:32.000Z | 2018-04-21T06:56:32.000Z | import { Component, OnInit } from '@angular/core';
import {Router} from "@angular/router";
@Component({
selector: 'sanjiliandong',
templateUrl: './sanjiliandong.component.html',
styleUrls: ['./sanjiliandong.component.css']
})
export class SanjiliandongComponent implements OnInit {
constructor() { }
ngOnInit... | 23.136364 | 55 | 0.687623 |
db53a0bd0eabc6ed93663eb804698441ba68497e | 97 | ts | TypeScript | src/features/auth/index.ts | Bsignx/bravel | b64ad6ab27fb29357ee6c95377967170d06be195 | [
"MIT"
] | 3 | 2022-01-14T03:46:17.000Z | 2022-01-16T19:25:41.000Z | src/features/auth/index.ts | Bsignx/bravel | b64ad6ab27fb29357ee6c95377967170d06be195 | [
"MIT"
] | 2 | 2022-03-08T00:22:11.000Z | 2022-03-30T18:53:35.000Z | src/features/auth/index.ts | Bsignx/bravel | b64ad6ab27fb29357ee6c95377967170d06be195 | [
"MIT"
] | null | null | null | export * from './auth-context'
export * from './auth-route'
export * from './auth-state-changed'
| 24.25 | 36 | 0.680412 |
44b70465bade844e1442be13c87e2e9d2e457140 | 192 | ts | TypeScript | dist/products-local/products-local.model.d.ts | pro123908/nestjs | 8a87cd69edfa1fca1d2d24ba37c873e4a9fde12c | [
"MIT"
] | null | null | null | dist/products-local/products-local.model.d.ts | pro123908/nestjs | 8a87cd69edfa1fca1d2d24ba37c873e4a9fde12c | [
"MIT"
] | null | null | null | dist/products-local/products-local.model.d.ts | pro123908/nestjs | 8a87cd69edfa1fca1d2d24ba37c873e4a9fde12c | [
"MIT"
] | null | null | null | export declare class Product {
id: String;
title: String;
description: String;
price: number;
constructor(id: String, title: String, description: String, price: number);
}
| 24 | 79 | 0.677083 |
35c500185df19d9275c3c6fd3b0f75601c91dd7b | 574 | ts | TypeScript | packages/content-management/lib/responses/base-responses.ts | ematipico/kentico-cloud-js | 7bfe0a6f3ce4f6e55e189d04482815bdbba08adf | [
"MIT"
] | null | null | null | packages/content-management/lib/responses/base-responses.ts | ematipico/kentico-cloud-js | 7bfe0a6f3ce4f6e55e189d04482815bdbba08adf | [
"MIT"
] | null | null | null | packages/content-management/lib/responses/base-responses.ts | ematipico/kentico-cloud-js | 7bfe0a6f3ce4f6e55e189d04482815bdbba08adf | [
"MIT"
] | null | null | null | export namespace BaseResponses {
export interface IContentManagementResponseDebug {
response: any;
}
export interface IContentManagementResponse {
data: any;
rawData: any;
debug: IContentManagementResponseDebug;
}
export abstract class BaseContentManagementResponse... | 26.090909 | 136 | 0.670732 |
c48d6859c9c6150fa79fd325d9a06b13dd886497 | 3,719 | tsx | TypeScript | packages/dialect-react-ui/components/Icon/DialectLogo.tsx | dialectlabs/react | 3725a4c4b65cb533dffb48bcc68bfa2fb2091dfd | [
"Apache-2.0"
] | 11 | 2022-02-14T05:55:04.000Z | 2022-03-21T18:43:06.000Z | packages/dialect-react-ui/components/Icon/DialectLogo.tsx | dialectlabs/react | 3725a4c4b65cb533dffb48bcc68bfa2fb2091dfd | [
"Apache-2.0"
] | 18 | 2022-02-12T18:56:02.000Z | 2022-03-29T04:12:10.000Z | packages/dialect-react-ui/components/Icon/DialectLogo.tsx | dialectlabs/react | 3725a4c4b65cb533dffb48bcc68bfa2fb2091dfd | [
"Apache-2.0"
] | null | null | null | import type { SVGProps } from 'react';
const SvgDialectLogo = (props: SVGProps<SVGSVGElement>) => (
<svg
width={44}
height={16}
fill="none"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 44 16"
preserveAspectRatio="xMidYMid meet"
{...props}
>
<path
d="M4.574 13.038H.863V3h3.7... | 177.095238 | 3,354 | 0.657435 |
0b5deed175fdc5033ee9ca59337cc6f841b3ed6b | 2,318 | ts | TypeScript | src/model/image-tag.test.ts | azeitler/unity-test-reporter | d0ea3397d1d8f54c7bee7e7c8cc2b8f8637285f6 | [
"MIT"
] | null | null | null | src/model/image-tag.test.ts | azeitler/unity-test-reporter | d0ea3397d1d8f54c7bee7e7c8cc2b8f8637285f6 | [
"MIT"
] | 4 | 2022-02-25T12:30:38.000Z | 2022-03-30T12:37:32.000Z | src/model/image-tag.test.ts | azeitler/unity-test-reporter | d0ea3397d1d8f54c7bee7e7c8cc2b8f8637285f6 | [
"MIT"
] | null | null | null | import ImageTag from './image-tag';
describe('ImageTag', () => {
const some = {
repository: 'test1',
name: 'test2',
version: '2099.9.f9f9',
platform: 'Test',
builderPlatform: '',
};
const defaults = {
repository: 'unityci',
name: 'editor',
image: 'unityci/editor',
};
describ... | 31.753425 | 87 | 0.605263 |
3afd68c37c5ad77a8122ef9e71885b04706b6d88 | 1,187 | tsx | TypeScript | components/Footer.tsx | TheNextCEO/personal-website | 46d7cfade86b9a9a96f8863614579b0482e68839 | [
"MIT"
] | 1 | 2022-03-23T12:19:21.000Z | 2022-03-23T12:19:21.000Z | components/Footer.tsx | TheNextCEO/personal-website | 46d7cfade86b9a9a96f8863614579b0482e68839 | [
"MIT"
] | 2 | 2022-03-23T02:28:57.000Z | 2022-03-23T03:14:03.000Z | components/Footer.tsx | TheNextCEO/personal-website | 46d7cfade86b9a9a96f8863614579b0482e68839 | [
"MIT"
] | null | null | null | import { Box, Center, Flex, Link, Text } from "@chakra-ui/react";
import {
GitHubLogoIcon,
InstagramLogoIcon,
LinkedInLogoIcon,
TwitterLogoIcon,
} from "@radix-ui/react-icons";
const Footer = () => {
return (
<Flex
justifyContent="space-between"
borderTop="1px"
borderColor="gray.200"
... | 25.255319 | 78 | 0.556866 |
3ee07259e20db51074e1f07dd1a56de0e7cf6491 | 246 | ts | TypeScript | src/test/test.resolver.ts | yoonsangwon0312/glowdayz | a0df9aa0d87f37c75f96dbcc12b75c1cae932594 | [
"MIT"
] | null | null | null | src/test/test.resolver.ts | yoonsangwon0312/glowdayz | a0df9aa0d87f37c75f96dbcc12b75c1cae932594 | [
"MIT"
] | null | null | null | src/test/test.resolver.ts | yoonsangwon0312/glowdayz | a0df9aa0d87f37c75f96dbcc12b75c1cae932594 | [
"MIT"
] | null | null | null | import { Query, Resolver } from '@nestjs/graphql';
@Resolver()
export class TestResolver {
@Query((returns) => Boolean) // GraphQL을 위함 Boolean은 필수
isPizzaGood(): boolean {
// 타입스크립트를 위함 : Boolean은 옵션
return true;
}
}
| 22.363636 | 59 | 0.621951 |
2ac2fdc6bd4e6c991f7d8ae382e1604b2704d834 | 406 | ts | TypeScript | lib/connections/connection-database/index.ts | yazaldefilimonepinto/JsonORM | 4c28a2249ccc7ce74771c03e44e1625242964d58 | [
"MIT"
] | 1 | 2021-10-13T12:20:43.000Z | 2021-10-13T12:20:43.000Z | lib/connections/connection-database/index.ts | yazaldefilimonepinto/JsonORM | 4c28a2249ccc7ce74771c03e44e1625242964d58 | [
"MIT"
] | null | null | null | lib/connections/connection-database/index.ts | yazaldefilimonepinto/JsonORM | 4c28a2249ccc7ce74771c03e44e1625242964d58 | [
"MIT"
] | null | null | null | import { IConnection } from "../../connections/interafce";
import { IReadFileAndWrite } from "../../readfiles-and-writefiles/interface";
export class DatabaseConnection implements IConnection<void>{
constructor( private readonly writeOnlyOfArchive: IReadFileAndWrite){}
async connect(thingConnect: string): Promis... | 36.909091 | 77 | 0.770936 |
67adb31db1bd671736e057d4300397e1491d53dd | 626 | tsx | TypeScript | src/components/Avatar/Avatar.tsx | Yuniro/telegram-chatview | 913bad43327479ece8cdc007d0a54501e51ec4da | [
"MIT"
] | null | null | null | src/components/Avatar/Avatar.tsx | Yuniro/telegram-chatview | 913bad43327479ece8cdc007d0a54501e51ec4da | [
"MIT"
] | null | null | null | src/components/Avatar/Avatar.tsx | Yuniro/telegram-chatview | 913bad43327479ece8cdc007d0a54501e51ec4da | [
"MIT"
] | null | null | null | import React from 'react';
import { Avatar as MuiAvatar, makeStyles } from '@material-ui/core';
import { styles } from './Avatar.styles';
import { IAvatarProps } from './Avatar.types';
const useStyles = makeStyles(styles);
export const Avatar: React.FunctionComponent<IAvatarProps> = ({src, firstName, lastName}) => {
... | 29.809524 | 94 | 0.674121 |
cdca3c19bf627ae0f82c8fd4141e70591df9f450 | 3,403 | ts | TypeScript | core/src/lib/local/index.ts | samlanning/synesthesia-composer | cd03263c390cfd0686fd01abbd3df4152643c0dc | [
"MIT"
] | 11 | 2019-01-07T02:30:09.000Z | 2021-10-02T13:36:02.000Z | core/src/lib/local/index.ts | samlanning/synesthesia-composer | cd03263c390cfd0686fd01abbd3df4152643c0dc | [
"MIT"
] | 46 | 2019-01-05T14:59:48.000Z | 2021-08-04T05:01:08.000Z | core/src/lib/local/index.ts | samlanning/synesthesia-composer | cd03263c390cfd0686fd01abbd3df4152643c0dc | [
"MIT"
] | 2 | 2019-10-14T01:30:28.000Z | 2020-04-05T17:38:44.000Z | /**
* This file facilitates communication between different components
* residing on the same machine.
*/
import * as fs from 'fs';
import JsonSocket = require('json-socket');
import * as net from 'net';
import * as os from 'os';
import * as path from 'path';
import { promisify } from 'util';
import * as messages f... | 26.379845 | 85 | 0.659418 |
3754f86b0c929c59c80c759ea96ed721f5d41c0c | 1,567 | tsx | TypeScript | src/icons/User/group-2-line.tsx | intermine/chromatin | 28168710c799544e40de7f9e267cbd2be6b954e6 | [
"MIT"
] | null | null | null | src/icons/User/group-2-line.tsx | intermine/chromatin | 28168710c799544e40de7f9e267cbd2be6b954e6 | [
"MIT"
] | null | null | null | src/icons/User/group-2-line.tsx | intermine/chromatin | 28168710c799544e40de7f9e267cbd2be6b954e6 | [
"MIT"
] | null | null | null | import { forwardRef } from 'react'
import cx from 'clsx'
import { createStyle, getThemeCSSObject } from '../../styles'
import type { ChromatinIcon } from '../types'
const useStyles = createStyle((theme) => ({
root: (props: ChromatinIcon) => ({
height: props.height ?? '100%',
width: props.width ?? ... | 46.088235 | 544 | 0.578175 |
a907d33371320eb717dc4951bbdf0f0ebbbba0bc | 4,949 | ts | TypeScript | cocos/core/math/size.ts | shrinktofit/engine | 1f3e4adf4f6df23a0c4fd3e72399f15f70ee760a | [
"MIT-0",
"MIT"
] | 1 | 2018-09-06T06:15:23.000Z | 2018-09-06T06:15:23.000Z | cocos/core/math/size.ts | shrinktofit/engine | 1f3e4adf4f6df23a0c4fd3e72399f15f70ee760a | [
"MIT-0",
"MIT"
] | 2 | 2020-04-06T21:39:58.000Z | 2020-04-21T10:40:25.000Z | cocos/core/math/size.ts | shrinktofit/engine | 1f3e4adf4f6df23a0c4fd3e72399f15f70ee760a | [
"MIT-0",
"MIT"
] | 1 | 2018-12-27T08:18:28.000Z | 2018-12-27T08:18:28.000Z | /*
Copyright (c) 2013-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated engine source code (the "Software"), a limited,
worldwide, royalty-free, ... | 26.324468 | 94 | 0.597494 |
95b4320bf1d3cff7cb7dd00a9f95b4977ac461d4 | 3,915 | ts | TypeScript | tests/individualDates.ts | arbre-app/read-gedcom-utils | 5d4de39dff40bcaa43401c20addf40fd9b089226 | [
"MIT"
] | null | null | null | tests/individualDates.ts | arbre-app/read-gedcom-utils | 5d4de39dff40bcaa43401c20addf40fd9b089226 | [
"MIT"
] | null | null | null | tests/individualDates.ts | arbre-app/read-gedcom-utils | 5d4de39dff40bcaa43401c20addf40fd9b089226 | [
"MIT"
] | null | null | null | import { describe, it } from 'mocha';
import { expect } from 'chai';
import { readGedcom, ValueSex } from 'read-gedcom';
import { estimateIndividualsDates, FiliationParameters } from '../src';
describe('Individual dates estimations', () => {
type Id = number;
type IntervalBound = string | null;
type Interval = [... | 32.355372 | 153 | 0.530268 |
81ce2cf309a425732e8349aa2ab2653789ce621c | 55 | ts | TypeScript | packages/shell/src/browser/apps/index.ts | wulinsheng123/malagu | 630e131c578fe5f7bf7a6350d1060c931d003168 | [
"MIT"
] | 395 | 2020-06-07T14:44:45.000Z | 2022-03-24T09:59:31.000Z | packages/shell/src/browser/apps/index.ts | wulinsheng123/malagu | 630e131c578fe5f7bf7a6350d1060c931d003168 | [
"MIT"
] | 61 | 2020-08-28T02:26:02.000Z | 2022-03-11T08:30:23.000Z | packages/shell/src/browser/apps/index.ts | wulinsheng123/malagu | 630e131c578fe5f7bf7a6350d1060c931d003168 | [
"MIT"
] | 65 | 2020-06-07T15:54:49.000Z | 2022-03-21T03:08:45.000Z | export * from './app-service';
export * from './apps';
| 18.333333 | 30 | 0.618182 |
81d27631e694b0bcb5ef86cc5a701e1b84099233 | 576 | ts | TypeScript | packages/core/elaborate/__tests__/map-next.ts | PrisisForks/growcss | b3d6c23f46dfaec805f3d82a2bf976036f1ffc97 | [
"MIT"
] | 6 | 2015-07-12T16:37:04.000Z | 2022-01-08T23:47:44.000Z | packages/core/elaborate/__tests__/map-next.ts | PrisisForks/growcss | b3d6c23f46dfaec805f3d82a2bf976036f1ffc97 | [
"MIT"
] | 360 | 2015-06-11T21:59:13.000Z | 2022-03-24T08:13:21.000Z | packages/core/elaborate/__tests__/map-next.ts | PrisisForks/growcss | b3d6c23f46dfaec805f3d82a2bf976036f1ffc97 | [
"MIT"
] | 15 | 2015-06-11T21:14:45.000Z | 2018-12-15T17:50:25.000Z | import _mapNext from '../src/components/mediaquery/_map-next';
import { Breakpoints } from '../src/components/mediaquery/media-query';
describe('Map Next', () => {
it('Returns the next value in a map', () => {
expect(_mapNext(Breakpoints, 'small')).toBe(640);
expect(_mapNext(Breakpoints, 'xxlarge')).toBeNull... | 32 | 71 | 0.638889 |
f45605c932a13457a6a72ed9215125f40ec30a19 | 631 | ts | TypeScript | stencil.config.dist.ts | TommyLindh2/lime-elements | 622c3143c45c9999da82f3bfedb3984ea10e59cd | [
"Apache-2.0"
] | 9 | 2019-08-08T11:15:57.000Z | 2022-01-26T09:36:34.000Z | stencil.config.dist.ts | TommyLindh2/lime-elements | 622c3143c45c9999da82f3bfedb3984ea10e59cd | [
"Apache-2.0"
] | 1,173 | 2019-08-01T07:16:03.000Z | 2022-03-31T13:11:34.000Z | stencil.config.dist.ts | TommyLindh2/lime-elements | 622c3143c45c9999da82f3bfedb3984ea10e59cd | [
"Apache-2.0"
] | 6 | 2020-03-02T12:36:50.000Z | 2021-12-06T13:19:02.000Z | import { Config } from '@stencil/core';
import { sass } from '@stencil/sass';
export const config: Config = {
namespace: 'lime-elements',
outputTargets: [
{
type: 'dist',
copy: [{ src: 'style/' }],
},
],
commonjs: {
namedExports: {
'node_modul... | 25.24 | 71 | 0.500792 |
a0bd37595609abc123eceedc451cff769bb4951f | 683 | ts | TypeScript | src/modules/product-images/productImages.entity.ts | Kirnukan/market_nest | 1fe67e3c6ffad3020af061345dc28f516f00d485 | [
"MIT"
] | null | null | null | src/modules/product-images/productImages.entity.ts | Kirnukan/market_nest | 1fe67e3c6ffad3020af061345dc28f516f00d485 | [
"MIT"
] | null | null | null | src/modules/product-images/productImages.entity.ts | Kirnukan/market_nest | 1fe67e3c6ffad3020af061345dc28f516f00d485 | [
"MIT"
] | null | null | null | import {
BaseEntity,
Column,
Entity,
ManyToOne,
PrimaryGeneratedColumn,
JoinColumn,
} from 'typeorm';
import { AttachmentsEntity } from '../attachment/attachment.entity';
@Entity('products_images')
export class ProductsImagesEntity extends BaseEntity {
@PrimaryGeneratedColumn()
id!: number;
@ManyToO... | 16.658537 | 68 | 0.664714 |
b8ea8387073ce61843ba89f0a50224b00e8b6655 | 680 | ts | TypeScript | blockchain/calls/proxyActions/adapters/CropjoinProxyActionsSmartContractAdapter.ts | tqtsar/oasis-borrow | 0bafd55d6597751f6013f0a9a300ba9eb6f42086 | [
"Apache-2.0"
] | null | null | null | blockchain/calls/proxyActions/adapters/CropjoinProxyActionsSmartContractAdapter.ts | tqtsar/oasis-borrow | 0bafd55d6597751f6013f0a9a300ba9eb6f42086 | [
"Apache-2.0"
] | null | null | null | blockchain/calls/proxyActions/adapters/CropjoinProxyActionsSmartContractAdapter.ts | tqtsar/oasis-borrow | 0bafd55d6597751f6013f0a9a300ba9eb6f42086 | [
"Apache-2.0"
] | null | null | null | import { ContractDesc } from '@oasisdex/web3-context'
import { DssProxyActionsCropjoin } from '../../../../types/web3-v1-contracts/dss-proxy-actions-cropjoin'
import { ContextConnected } from '../../../network'
import { ManagerlessProxyActionsContractAdapter } from './ManagerlessProxyActionsAdapter'
import { ProxyActi... | 40 | 104 | 0.805882 |
d6d74d3a99eb285dd21cbb0a54ffdfe883616b27 | 845 | tsx | TypeScript | ui/src/FixedWidth/FixedWidth.stories.tsx | otissv/redesign | d2838f8463d4222af1cd55bf93749ea445a0dcf3 | [
"MIT"
] | 1 | 2021-04-13T06:23:57.000Z | 2021-04-13T06:23:57.000Z | ui/src/FixedWidth/FixedWidth.stories.tsx | otissv/redesign | d2838f8463d4222af1cd55bf93749ea445a0dcf3 | [
"MIT"
] | null | null | null | ui/src/FixedWidth/FixedWidth.stories.tsx | otissv/redesign | d2838f8463d4222af1cd55bf93749ea445a0dcf3 | [
"MIT"
] | null | null | null | import React from 'react'
import { ThemeProvider } from '@redesign-system/ui-core'
import { FixedWidth } from './FixedWidth'
export default {
title: 'Components/FixedWidth',
component: FixedWidth,
}
export const Default = () => (
<ThemeProvider>
<FixedWidth mw="600px">
<p>
Lorem ipsum dolor s... | 32.5 | 79 | 0.700592 |
d6fdf956696409ce7668163f1f3b535702779569 | 1,771 | ts | TypeScript | src/entities/user/user.service.ts | yewei-EV/nodebb-plugin-hypeeyes | 46c071393db0b70dbc085e15782487c9fe381a2e | [
"MIT"
] | null | null | null | src/entities/user/user.service.ts | yewei-EV/nodebb-plugin-hypeeyes | 46c071393db0b70dbc085e15782487c9fe381a2e | [
"MIT"
] | null | null | null | src/entities/user/user.service.ts | yewei-EV/nodebb-plugin-hypeeyes | 46c071393db0b70dbc085e15782487c9fe381a2e | [
"MIT"
] | null | null | null | import { Injectable } from '@nestjs/common';
import * as userLib from '@bbs/user';
import { Principal } from './principal';
import { PrivilegeService } from '../privilege/privilege.service';
import { User } from './user';
import { UserRepository } from './user.repository';
@Injectable()
export class UserService {
co... | 40.25 | 100 | 0.734049 |
2baf986599ea48b9548b3027002e5e1671ed1cb4 | 8,308 | ts | TypeScript | src/app/admin/institutes/institutes.component.ts | huzoor/inst-front-end | 1ea45562171b4e88a4d6e85872ca376d5e9f4892 | [
"MIT"
] | 1 | 2018-03-12T18:12:46.000Z | 2018-03-12T18:12:46.000Z | src/app/admin/institutes/institutes.component.ts | huzoor/inst-front-end | 1ea45562171b4e88a4d6e85872ca376d5e9f4892 | [
"MIT"
] | null | null | null | src/app/admin/institutes/institutes.component.ts | huzoor/inst-front-end | 1ea45562171b4e88a4d6e85872ca376d5e9f4892 | [
"MIT"
] | null | null | null | import { Component, OnInit, TemplateRef, ElementRef } from '@angular/core';
import { BsModalService } from 'ngx-bootstrap/modal';
import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service';
import { FormControl, FormGroup, Validators } from '@angular/forms';
import { MyDatePickerModule, IMyDpOptions } from '... | 32.968254 | 202 | 0.632041 |
99e16f8559c625716f26265e4bc23cc67f0cf223 | 171 | ts | TypeScript | node_modules/wangeditor/dist/menus/code/bind-event/jump-code-block-down.d.ts | NyanShen/system_manage_vue3.x | 5a865faf6bece965a7c95431a49492272128be52 | [
"MIT"
] | 6 | 2021-07-22T01:17:35.000Z | 2022-03-04T12:36:11.000Z | node_modules/wangeditor/dist/menus/code/bind-event/jump-code-block-down.d.ts | NyanShen/system_manage_vue3.x | 5a865faf6bece965a7c95431a49492272128be52 | [
"MIT"
] | 1 | 2021-12-11T11:17:02.000Z | 2021-12-13T01:42:23.000Z | node_modules/wangeditor/dist/menus/code/bind-event/jump-code-block-down.d.ts | NyanShen/system_manage_vue3.x | 5a865faf6bece965a7c95431a49492272128be52 | [
"MIT"
] | 3 | 2021-09-07T11:21:32.000Z | 2022-01-25T18:21:40.000Z | import Editor from '../../../editor/index';
/**
* 在代码块最后一行 按方向下键跳出代码块的处理
* @param editor 编辑器实例
*/
export default function bindEventJumpCodeBlock(editor: Editor): void;
| 24.428571 | 69 | 0.719298 |
82028223d187aa4aef30e559cac38ca8947a2913 | 5,834 | ts | TypeScript | src/templates/packages/back/o-auth/src/@apps/iam/user/domain/user.aggregate.ts | techedge-group/aurora-cli | db98f8a6442807784eab6ee79352d21c34c2c90e | [
"MIT"
] | null | null | null | src/templates/packages/back/o-auth/src/@apps/iam/user/domain/user.aggregate.ts | techedge-group/aurora-cli | db98f8a6442807784eab6ee79352d21c34c2c90e | [
"MIT"
] | 22 | 2022-02-08T11:16:22.000Z | 2022-03-03T18:08:02.000Z | src/templates/packages/back/o-auth/src/@apps/iam/user/domain/user.aggregate.ts | techedge-group/aurora-cli | db98f8a6442807784eab6ee79352d21c34c2c90e | [
"MIT"
] | null | null | null | /* eslint-disable key-spacing */
import { LiteralObject } from '@nestjs/common';
import { AggregateRoot } from '@nestjs/cqrs';
import { Utils } from 'aurora-ts-core';
import {
UserId,
UserAccountId,
UserName,
UserSurname,
UserAvatar,
UserMobile,
UserLangId,
UserUsername,
UserPassword... | 26.518182 | 76 | 0.531368 |
82792a49a87017d64198a0e37ffe609ad5a1ef40 | 759 | ts | TypeScript | integration_tests/pages/page.ts | ministryofjustice/manage-a-workforce-ui | 9ae40ac95d6c744fd9e7ce78f08573c2478ab147 | [
"MIT"
] | 1 | 2022-01-19T08:44:44.000Z | 2022-01-19T08:44:44.000Z | integration_tests/pages/page.ts | ministryofjustice/manage-a-workforce-ui | 9ae40ac95d6c744fd9e7ce78f08573c2478ab147 | [
"MIT"
] | 3 | 2022-01-27T11:37:17.000Z | 2022-01-28T12:50:49.000Z | integration_tests/pages/page.ts | ministryofjustice/manage-a-workforce-ui | 9ae40ac95d6c744fd9e7ce78f08573c2478ab147 | [
"MIT"
] | null | null | null | export type PageElement = Cypress.Chainable<JQuery>
export default abstract class Page {
static verifyOnPage<T>(constructor: new () => T): T {
return new constructor()
}
constructor(private readonly title: string) {
this.checkOnPage()
this.checkBetaOnPage()
}
checkOnPage(): void {
cy.get('h... | 27.107143 | 84 | 0.673254 |
4f943a960ef14fb440a1dd66c9335e6a9871e43d | 114 | ts | TypeScript | web-client/src/app/game/services/scenes/main.scene.model.ts | JScriber/Kaboom | 97d895620ccdd53d6d158eb71bc9fd0a5d1cff9b | [
"MIT"
] | null | null | null | web-client/src/app/game/services/scenes/main.scene.model.ts | JScriber/Kaboom | 97d895620ccdd53d6d158eb71bc9fd0a5d1cff9b | [
"MIT"
] | 75 | 2018-12-06T22:18:44.000Z | 2019-07-01T10:14:57.000Z | web-client/src/app/game/services/scenes/main.scene.model.ts | JScriber/Kaboom | 97d895620ccdd53d6d158eb71bc9fd0a5d1cff9b | [
"MIT"
] | null | null | null | export enum SpriteSkin {
Player1 = 'player1',
Player2 = 'player2',
Player3 = 'player3',
Player4 = 'player4'
}
| 16.285714 | 24 | 0.666667 |
a55de6019e507a72019797c6624c6757010cce08 | 3,246 | tsx | TypeScript | frontend/packages/console-shared/src/components/actions/LazyActionMenu.tsx | ok3sd/console | 0ae6c7a0b60445c5ae1697ecf96317f3703d86ff | [
"Apache-2.0"
] | null | null | null | frontend/packages/console-shared/src/components/actions/LazyActionMenu.tsx | ok3sd/console | 0ae6c7a0b60445c5ae1697ecf96317f3703d86ff | [
"Apache-2.0"
] | 1 | 2020-04-22T13:04:09.000Z | 2020-04-22T13:04:09.000Z | frontend/packages/console-shared/src/components/actions/LazyActionMenu.tsx | ok3sd/console | 0ae6c7a0b60445c5ae1697ecf96317f3703d86ff | [
"Apache-2.0"
] | 2 | 2020-08-03T08:23:58.000Z | 2020-08-21T02:48:05.000Z | import * as React from 'react';
import { MenuToggle } from '@patternfly/react-core';
import { EllipsisVIcon } from '@patternfly/react-icons';
import * as _ from 'lodash';
import { useTranslation } from 'react-i18next';
import { Action } from '@console/dynamic-plugin-sdk';
import { checkAccess } from '@console/internal/... | 30.914286 | 100 | 0.634319 |
a5bdac268cffb5c9556bc2b7bca3319ce0193f7b | 7,303 | tsx | TypeScript | src/components/menu.tsx | BPHvZ/bartvanzeist_portfolio | 69e0b5f2cb2db0a362a84ee5075d8a45461ffdf2 | [
"MIT"
] | null | null | null | src/components/menu.tsx | BPHvZ/bartvanzeist_portfolio | 69e0b5f2cb2db0a362a84ee5075d8a45461ffdf2 | [
"MIT"
] | null | null | null | src/components/menu.tsx | BPHvZ/bartvanzeist_portfolio | 69e0b5f2cb2db0a362a84ee5075d8a45461ffdf2 | [
"MIT"
] | null | null | null | import React, {useEffect, useRef, useState} from 'react';
import {Helmet} from 'react-helmet';
import {Link} from 'gatsby';
import styled from 'styled-components';
import {navLinks} from '../config';
import {KEY_CODES} from '../utils';
import {useOnClickOutside} from '../hooks';
const StyledMenu = styled.div`
displa... | 25.182759 | 97 | 0.562919 |
ec336f1a79823ee55866256035cc74f57766203b | 1,522 | ts | TypeScript | src/functions/putTestStation.ts | dvsa/cvs-svc-stub-crm-test-stations | 2d53e6ec6767f117ac1321c8c6b398c42b1d13bb | [
"MIT"
] | null | null | null | src/functions/putTestStation.ts | dvsa/cvs-svc-stub-crm-test-stations | 2d53e6ec6767f117ac1321c8c6b398c42b1d13bb | [
"MIT"
] | 1 | 2018-11-02T15:02:43.000Z | 2018-11-02T15:02:43.000Z | src/functions/putTestStation.ts | dvsa/cvs-svc-stub-crm-test-stations | 2d53e6ec6767f117ac1321c8c6b398c42b1d13bb | [
"MIT"
] | null | null | null | import Joi from "joi";
import { TestStationService } from "../services/TestStationService";
import { TestStationDAO } from "../models/TestStationDAO";
import { ITestStation } from "../models/ITestStation";
export const putTestStation = async (testStation: ITestStation) => {
await validateTestStation(testStation);
... | 36.238095 | 68 | 0.693167 |
27f72870b89f0d9846c6dfe3f2966c94478fedce | 2,265 | tsx | TypeScript | src/Table.test.tsx | dfujiwara/financial_news_frontend | 3e54208963e4cb1f2bfb7fc16c519df891f6b023 | [
"MIT"
] | 1 | 2021-07-02T11:10:18.000Z | 2021-07-02T11:10:18.000Z | src/Table.test.tsx | dfujiwara/financial_news_frontend | 3e54208963e4cb1f2bfb7fc16c519df891f6b023 | [
"MIT"
] | 1 | 2020-03-15T02:14:11.000Z | 2020-03-15T02:14:11.000Z | src/Table.test.tsx | dfujiwara/financial_news_frontend | 3e54208963e4cb1f2bfb7fc16c519df891f6b023 | [
"MIT"
] | null | null | null | import React from 'react'
import { render } from '@testing-library/react'
import { ResultTable } from './Table'
const results = [
{
data: [
{
title: 'title 1',
contentSnippet: 'snippet 1',
sentimentResult: { score: 0.5, magnitude: 0.8 },
... | 31.901408 | 77 | 0.48521 |
0b07ffd480f1d403d2f44a4d7ebd714d0fa72ef2 | 300 | ts | TypeScript | demo/example1.ts | wezz/VueAppManager | 4013efc68ac93f1e2c7651314487e368bbdca4b8 | [
"MIT"
] | null | null | null | demo/example1.ts | wezz/VueAppManager | 4013efc68ac93f1e2c7651314487e368bbdca4b8 | [
"MIT"
] | null | null | null | demo/example1.ts | wezz/VueAppManager | 4013efc68ac93f1e2c7651314487e368bbdca4b8 | [
"MIT"
] | null | null | null | import VueAppManager from "../src/VueAppManager";
const vueAppManager = new VueAppManager();
vueAppManager.RegisterApp("example1app", getExample1App);
async function getExample1App() {
const appmodule = await import(/* webpackChunkName: "exampleapp1" */ './example1.vue');
return appmodule;
} | 42.857143 | 91 | 0.756667 |
c1cb79e3baeb6073ab92c5513329edaa8707de63 | 720 | ts | TypeScript | src/release-group.d.ts | wvanderp/musicbrainz-api-types | 20f56b435b8ea602fc8a07bb9d3adf1570b1d899 | [
"MIT"
] | null | null | null | src/release-group.d.ts | wvanderp/musicbrainz-api-types | 20f56b435b8ea602fc8a07bb9d3adf1570b1d899 | [
"MIT"
] | null | null | null | src/release-group.d.ts | wvanderp/musicbrainz-api-types | 20f56b435b8ea602fc8a07bb9d3adf1570b1d899 | [
"MIT"
] | null | null | null | import { Alias } from './alias';
import { Genre } from './genre';
import { Rating } from './rating';
import { Relations } from './relations';
import {ArtistCredit, Release} from './release';
import { Tag } from './tag';
export interface ReleaseGroup {
id: string;
count?: number;
title: string;
'sort-name'?: string... | 21.818182 | 48 | 0.659722 |
d74d3db5f2f17a395ed87d0698e2ae78ba32d783 | 683 | ts | TypeScript | explorer/src/entity/Admin.ts | johnnymugs/chainlink | 040df73f9e3e67059455c5dfd58cdb7256bd2aa8 | [
"MIT"
] | 1 | 2020-02-29T15:05:57.000Z | 2020-02-29T15:05:57.000Z | explorer/src/entity/Admin.ts | johnnymugs/chainlink | 040df73f9e3e67059455c5dfd58cdb7256bd2aa8 | [
"MIT"
] | 1 | 2020-03-09T15:31:32.000Z | 2020-03-09T15:31:32.000Z | explorer/src/entity/Admin.ts | johnnymugs/chainlink | 040df73f9e3e67059455c5dfd58cdb7256bd2aa8 | [
"MIT"
] | 3 | 2021-05-15T02:06:11.000Z | 2022-01-17T14:26:14.000Z | import { Column, Connection, Entity, PrimaryGeneratedColumn } from 'typeorm'
import { compare as comparePassword } from '../services/password'
@Entity()
export class Admin {
@PrimaryGeneratedColumn('uuid')
id: string
@Column()
username: string
@Column()
hashedPassword: string
@Column()
createdAt: Da... | 18.972222 | 76 | 0.711567 |
512b3eb34f2323a5518ba68b4ce1e9a7dbd0c738 | 571 | tsx | TypeScript | src/components/Labels/wallet.tsx | Yihen-Liu/seedlist-interface-ts | 40500a61888d9fd1d4b3b31e14aad2417ff79412 | [
"MIT"
] | null | null | null | src/components/Labels/wallet.tsx | Yihen-Liu/seedlist-interface-ts | 40500a61888d9fd1d4b3b31e14aad2417ff79412 | [
"MIT"
] | null | null | null | src/components/Labels/wallet.tsx | Yihen-Liu/seedlist-interface-ts | 40500a61888d9fd1d4b3b31e14aad2417ff79412 | [
"MIT"
] | null | null | null | import React from "react";
import {ButtonGroup} from "@chakra-ui/button";
import {Center} from "@chakra-ui/layout";
import {IBaseProps} from "../../interfaces/props";
import {BitcoinLabel} from "./bitcoin";
import {EthereumLabel} from "./ethereum";
import {WalletGeneratorSetting} from "../menu/brainwallet";
const Wall... | 23.791667 | 61 | 0.688266 |
f39665c9e78d87a0e68fa71c3603850c13a89585 | 2,286 | ts | TypeScript | codegen/src/relay/RelayGenerator.ts | skyplaying/graphql-ts-client | 997a8b1d2b134fc7fa84c8674a4946d252460e40 | [
"MIT"
] | 104 | 2021-06-17T07:49:06.000Z | 2022-03-25T02:32:26.000Z | codegen/src/relay/RelayGenerator.ts | skyplaying/graphql-ts-client | 997a8b1d2b134fc7fa84c8674a4946d252460e40 | [
"MIT"
] | 9 | 2021-08-19T10:54:52.000Z | 2022-03-31T07:35:40.000Z | codegen/src/relay/RelayGenerator.ts | skyplaying/graphql-ts-client | 997a8b1d2b134fc7fa84c8674a4946d252460e40 | [
"MIT"
] | 11 | 2021-06-21T14:44:20.000Z | 2022-03-18T03:49:57.000Z | import { WriteStream } from "fs";
import { GraphQLInterfaceType, GraphQLObjectType, GraphQLSchema, GraphQLUnionType } from "graphql";
import { join } from "path";
import { FetcherContext } from "../FetcherContext";
import { FetcherWriter } from "../FetcherWriter";
import { closeStream, createStreamAndLog, Generator } f... | 27.878049 | 99 | 0.680665 |
df90e528a455d772150ef45150ebf60eec6f011f | 652 | ts | TypeScript | quarkus-resteasy-jpa/src/main/angular-app/src/app/components/home/layout/layout.component.ts | naabbasi/learn-quarkus | 4d265668efae079a5e89fdb714e525fdbc68974c | [
"MIT"
] | null | null | null | quarkus-resteasy-jpa/src/main/angular-app/src/app/components/home/layout/layout.component.ts | naabbasi/learn-quarkus | 4d265668efae079a5e89fdb714e525fdbc68974c | [
"MIT"
] | null | null | null | quarkus-resteasy-jpa/src/main/angular-app/src/app/components/home/layout/layout.component.ts | naabbasi/learn-quarkus | 4d265668efae079a5e89fdb714e525fdbc68974c | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import {AuthService} from "../../../services/auth.service";
import {Router} from "@angular/router";
@Component({
selector: 'app-home',
templateUrl: './layout.component.html',
styleUrls: ['./layout.component.scss']
})
export class LayoutComponent implements OnIni... | 27.166667 | 75 | 0.691718 |
dfe8fed4a787d97760071ab958e8baf396f9dc26 | 130 | ts | TypeScript | configurator/frontend/src/ui/components/atom/ListItemDescription/index.ts | imorph/jitsu | 724196046c7cf0ff37714b850645f4ca5f7f27a6 | [
"MIT"
] | null | null | null | configurator/frontend/src/ui/components/atom/ListItemDescription/index.ts | imorph/jitsu | 724196046c7cf0ff37714b850645f4ca5f7f27a6 | [
"MIT"
] | null | null | null | configurator/frontend/src/ui/components/atom/ListItemDescription/index.ts | imorph/jitsu | 724196046c7cf0ff37714b850645f4ca5f7f27a6 | [
"MIT"
] | 1 | 2021-04-25T18:46:23.000Z | 2021-04-25T18:46:23.000Z | import { ListItemDescription } from './ListItemDescription';
export default ListItemDescription;
export { ListItemDescription };
| 26 | 60 | 0.807692 |
8ee6d7b4300b7dfc7813b909b5b676210c45366a | 577 | ts | TypeScript | server/app/controller/file.ts | manyuanrong/enok-blog | 4204d9d18437c7b56189ec471a7ce51a305bed4a | [
"MIT"
] | 5 | 2018-10-20T09:49:09.000Z | 2018-10-22T03:26:43.000Z | server/app/controller/file.ts | fengmu456/enok-blog | 4204d9d18437c7b56189ec471a7ce51a305bed4a | [
"MIT"
] | 14 | 2020-04-16T12:13:53.000Z | 2022-03-03T22:14:32.000Z | server/app/controller/file.ts | fengmu456/enok-blog | 4204d9d18437c7b56189ec471a7ce51a305bed4a | [
"MIT"
] | 2 | 2018-10-19T12:33:53.000Z | 2018-12-27T03:19:17.000Z | import {Controller} from 'egg';
import * as mime from 'mime';
import {JsonResult} from '../common/ErrorResult';
export default class extends Controller {
public async upload() {
const {ctx} = this;
const stream = await ctx.getFileStream();
const prefix = mime.getExtension(stream.mimeType);
... | 32.055556 | 60 | 0.59792 |
8ee878d78a3153ba197933337ab882e0e9660b96 | 586 | ts | TypeScript | packages/traceability/issuer-api/src/pods/certificate/transaction-log.entity.ts | patryk-kochanski/origin | c8effba57ca8ff8300043f51c579df393be46e76 | [
"MIT"
] | 89 | 2019-06-07T12:00:46.000Z | 2022-03-31T14:10:47.000Z | packages/traceability/issuer-api/src/pods/certificate/transaction-log.entity.ts | patryk-kochanski/origin | c8effba57ca8ff8300043f51c579df393be46e76 | [
"MIT"
] | 329 | 2019-06-18T09:37:48.000Z | 2022-03-18T15:33:22.000Z | packages/traceability/issuer-api/src/pods/certificate/transaction-log.entity.ts | patryk-kochanski/origin | c8effba57ca8ff8300043f51c579df393be46e76 | [
"MIT"
] | 59 | 2019-06-04T19:24:10.000Z | 2022-03-12T22:41:21.000Z | import { Column, Entity, PrimaryGeneratedColumn, Index } from 'typeorm';
import { BlockchainEventType } from './types';
export const TRANSACTION_LOG_TABLE_NAME = 'transaction_log';
@Entity({ name: TRANSACTION_LOG_TABLE_NAME })
export class TransactionLog {
@PrimaryGeneratedColumn()
id: number;
@Index()
... | 24.416667 | 72 | 0.6843 |
368ebefb28f169340ec843e81da2292de5d514d0 | 634 | tsx | TypeScript | src/pages/StreamingPage/index.tsx | iramacazo/lyvewire-web-app | 5b2552a28d2d5a263a2227069ebf0ba34659bc6e | [
"MIT"
] | null | null | null | src/pages/StreamingPage/index.tsx | iramacazo/lyvewire-web-app | 5b2552a28d2d5a263a2227069ebf0ba34659bc6e | [
"MIT"
] | null | null | null | src/pages/StreamingPage/index.tsx | iramacazo/lyvewire-web-app | 5b2552a28d2d5a263a2227069ebf0ba34659bc6e | [
"MIT"
] | null | null | null | import * as React from "react";
import StreamNavigation from "./components/Navigation";
import Sidebar from "./components/Sidebar";
import Stream from "./components/Stream";
import "./styles.css";
export default class StreamingPage extends React.Component {
public render() {
return (
<div class... | 28.818182 | 60 | 0.518927 |
b27af7ef394c283221d64e8464515dbb4a3a5764 | 1,078 | ts | TypeScript | Ng2BookStudy/Directives/src/app/app.component.ts | khjang4848/angular4study | eeafa3196c08442dffa352ff28e82cdaa02f0bd4 | [
"MIT"
] | null | null | null | Ng2BookStudy/Directives/src/app/app.component.ts | khjang4848/angular4study | eeafa3196c08442dffa352ff28e82cdaa02f0bd4 | [
"MIT"
] | null | null | null | Ng2BookStudy/Directives/src/app/app.component.ts | khjang4848/angular4study | eeafa3196c08442dffa352ff28e82cdaa02f0bd4 | [
"MIT"
] | null | null | null | import { Component } from '@angular/core';
@Component({
selector: 'app-root',
template: `
<div class="left-menu">
<div class="menu">
<li><a routerLink="/">
<h1>지시자</h1>
</a>
<ol class="tree-list">
<li><a routerLink="/custom-directive" routerLinkActive="active">커스... | 41.461538 | 104 | 0.602041 |
b72120e3b551600934abd6bd06037efee16891ca | 1,311 | tsx | TypeScript | src/client/components/InputSwitcher.tsx | swashcap/sample-graphql-answerer | ae3e31ed13e513892ac75a8e91ce9951995f842e | [
"MIT"
] | null | null | null | src/client/components/InputSwitcher.tsx | swashcap/sample-graphql-answerer | ae3e31ed13e513892ac75a8e91ce9951995f842e | [
"MIT"
] | null | null | null | src/client/components/InputSwitcher.tsx | swashcap/sample-graphql-answerer | ae3e31ed13e513892ac75a8e91ce9951995f842e | [
"MIT"
] | null | null | null | import * as React from 'react';
import DateInput from './DateInput';
import SelectableInput from './SelectableInput';
import TextInput from './TextInput';
import WithUniqueId from './WithUniqueId';
import {
DateInputProps,
typeName as dateInputTypeName,
} from '../../schema/types/DateInputType';
import {
Select... | 30.488372 | 73 | 0.709382 |
f713019bcd9c31af7cd31d865e5fe4b3e9d19ffb | 7,155 | ts | TypeScript | server/auth/types/openid/openid_auth.ts | OpenSource-THG/security-kibana-plugin | 81d39b1012531337212cdf25a5023a6b46bfcec7 | [
"Apache-2.0"
] | null | null | null | server/auth/types/openid/openid_auth.ts | OpenSource-THG/security-kibana-plugin | 81d39b1012531337212cdf25a5023a6b46bfcec7 | [
"Apache-2.0"
] | null | null | null | server/auth/types/openid/openid_auth.ts | OpenSource-THG/security-kibana-plugin | 81d39b1012531337212cdf25a5023a6b46bfcec7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... | 31.108696 | 102 | 0.665549 |
c8bafcc7b86787a442a4e1ed2663d9bc4c464603 | 2,557 | ts | TypeScript | gui/src/app/shared/request-item-input/request-item-input-multiselect/request-item-input-multiselect.component.ts | dBucik/perun-spRegistration-app | 2363a6ef93ea5ea68703dd11d8751e89ee3ac8dc | [
"BSD-2-Clause"
] | 1 | 2019-11-01T09:51:56.000Z | 2019-11-01T09:51:56.000Z | gui/src/app/shared/request-item-input/request-item-input-multiselect/request-item-input-multiselect.component.ts | dBucik/perun-spRegistration-app | 2363a6ef93ea5ea68703dd11d8751e89ee3ac8dc | [
"BSD-2-Clause"
] | 99 | 2018-12-04T12:02:13.000Z | 2022-03-31T06:22:58.000Z | gui/src/app/shared/request-item-input/request-item-input-multiselect/request-item-input-multiselect.component.ts | dBucik/perun-spRegistration-app | 2363a6ef93ea5ea68703dd11d8751e89ee3ac8dc | [
"BSD-2-Clause"
] | 5 | 2018-10-30T11:52:01.000Z | 2021-03-17T08:40:24.000Z | import {Component, Input, OnInit, ViewChild} from '@angular/core';
import {ApplicationItem} from '../../../core/models/ApplicationItem';
import {Attribute} from '../../../core/models/Attribute';
import {RequestItem} from '../../../core/models/RequestItem';
import {NgForm} from '@angular/forms';
import {RequestItemInput... | 28.730337 | 95 | 0.682831 |
7443c1d34884e5d9f2da71cf3a37e215a7b1dbfb | 64 | ts | TypeScript | src/redux/selectors/notification.ts | Jose24San/Fitomation | 823f4e0dadf861a5f6111b831875bf64a585a51b | [
"MIT"
] | null | null | null | src/redux/selectors/notification.ts | Jose24San/Fitomation | 823f4e0dadf861a5f6111b831875bf64a585a51b | [
"MIT"
] | 1 | 2021-09-02T12:09:29.000Z | 2021-09-02T12:09:29.000Z | src/redux/selectors/notification.ts | Jose24San/Gatsby_test | 823f4e0dadf861a5f6111b831875bf64a585a51b | [
"MIT"
] | null | null | null |
export const getNotification = state => state.notification;
| 10.666667 | 59 | 0.75 |
74f9ed965196daad4da71ab2ca3df82139b50eca | 166 | ts | TypeScript | packages/ui/src/components/Icon/contemberIcons/composedBlock.ts | landsman/admin | de69358b09089b8e3b858a5a53c7d0e7a62dcc94 | [
"Apache-2.0"
] | 30 | 2021-09-15T11:24:50.000Z | 2022-03-07T14:21:39.000Z | packages/ui/src/components/Icon/contemberIcons/composedBlock.ts | landsman/admin | de69358b09089b8e3b858a5a53c7d0e7a62dcc94 | [
"Apache-2.0"
] | 35 | 2021-09-16T15:10:37.000Z | 2022-03-31T17:59:15.000Z | packages/ui/src/components/Icon/contemberIcons/composedBlock.ts | landsman/admin | de69358b09089b8e3b858a5a53c7d0e7a62dcc94 | [
"Apache-2.0"
] | 2 | 2022-02-14T13:51:30.000Z | 2022-03-11T19:40:00.000Z | export const composedBlock = [
'M8.5 3v10h4V3zm1 1h2v8h-2zm-6-1h4v10h-4zm12 12a1 1 0 0 1-1 1h-13a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1h13a1 1 0 0 1 1 1zm-13-1h11V2h-11z',
]
| 41.5 | 132 | 0.698795 |
0857a5e00ab5a62c541fd5c2c1598b5b3ca0698b | 1,210 | ts | TypeScript | data/Sword & Shield/Chilling Reign/110.ts | JuneTwooo/cards-database | 40764a66329cacd9f04336e1d2d7b88e8e9bb2c7 | [
"MIT"
] | null | null | null | data/Sword & Shield/Chilling Reign/110.ts | JuneTwooo/cards-database | 40764a66329cacd9f04336e1d2d7b88e8e9bb2c7 | [
"MIT"
] | null | null | null | data/Sword & Shield/Chilling Reign/110.ts | JuneTwooo/cards-database | 40764a66329cacd9f04336e1d2d7b88e8e9bb2c7 | [
"MIT"
] | null | null | null | import { Card } from '../../../interfaces'
import Set from '../Chilling Reign'
const card: Card = {
set: Set,
name: {
en: "Lairon",
fr: "Galegon",
es: "Lairon",
it: "Lairon",
pt: "Lairon",
de: "Stollrak"
},
illustrator: "HYOGONOSUKE",
rarity: "Uncommon",
category: "Pokemon",
hp: 100,
types: ["Met... | 15.125 | 120 | 0.57438 |
54cb8a8cb26c4a0e37f353636493014bfc5e28ce | 1,799 | tsx | TypeScript | packages/synchro-charts/src/testing/test-routes/charts/status-timeline/status-timeline-dynamic-buffer.tsx | mpopv/synchro-charts | 7534e77e13fc24e98dbb499c48e56e66945b67c8 | [
"Apache-2.0"
] | 45 | 2021-10-11T20:10:06.000Z | 2022-03-22T08:28:52.000Z | packages/synchro-charts/src/testing/test-routes/charts/status-timeline/status-timeline-dynamic-buffer.tsx | mpopv/synchro-charts | 7534e77e13fc24e98dbb499c48e56e66945b67c8 | [
"Apache-2.0"
] | 10 | 2021-10-14T14:31:52.000Z | 2022-02-26T17:16:19.000Z | packages/synchro-charts/src/testing/test-routes/charts/status-timeline/status-timeline-dynamic-buffer.tsx | mpopv/synchro-charts | 7534e77e13fc24e98dbb499c48e56e66945b67c8 | [
"Apache-2.0"
] | 7 | 2021-11-11T17:19:20.000Z | 2022-03-16T18:57:50.000Z | import { Component, h, State } from '@stencil/core';
import { MONTH_IN_MS } from '../../../../utils/time';
import { DataPoint } from '../../../../utils/dataTypes';
import { DataType } from '../../../../utils/dataConstants';
// viewport boundaries
const Y_MIN = 0;
const Y_MAX = 5000;
const X_MIN = new Date(1998, 0, 0)... | 27.676923 | 97 | 0.502501 |
291f52c856458a4416204664800d9a111fbf475b | 722 | ts | TypeScript | src/api/types.ts | agoraxyz/telegram-runner | 386955253a30046851c1b06e06c2b47b0c26e325 | [
"MIT"
] | 1 | 2022-02-11T14:16:14.000Z | 2022-02-11T14:16:14.000Z | src/api/types.ts | agoraxyz/telegram-runner | 386955253a30046851c1b06e06c2b47b0c26e325 | [
"MIT"
] | 31 | 2022-01-09T09:09:07.000Z | 2022-03-30T13:01:53.000Z | src/api/types.ts | agoraxyz/telegram-runner | 386955253a30046851c1b06e06c2b47b0c26e325 | [
"MIT"
] | 1 | 2022-03-03T18:18:07.000Z | 2022-03-03T18:18:07.000Z | // prettier-ignore
type ManageGroupsParam = {
platformUserId: number;
groupIds : string[];
message : string;
};
type IsMemberParam = {
platformUserId: number;
groupIds: string[];
};
// prettier-ignore
type CommunityResult = {
id : string;
name : string;
url ... | 15.695652 | 34 | 0.598338 |
29db980bff54c114a36e8b52d8f49fa029e893b1 | 2,481 | ts | TypeScript | src/expressions/dataTypes/facets/facetsByDataTypeName.ts | olvidalo/fontoxpath | eb14e1727617959aa6c4585536fdc7917e85a94a | [
"MIT"
] | null | null | null | src/expressions/dataTypes/facets/facetsByDataTypeName.ts | olvidalo/fontoxpath | eb14e1727617959aa6c4585536fdc7917e85a94a | [
"MIT"
] | null | null | null | src/expressions/dataTypes/facets/facetsByDataTypeName.ts | olvidalo/fontoxpath | eb14e1727617959aa6c4585536fdc7917e85a94a | [
"MIT"
] | null | null | null | import decimalComparator from './comparators/decimalComparator';
// fractionDigits
function validateFractionDigits(value, fractionDigits) {
const string = value.toString();
if (string.indexOf('.') > -1 && fractionDigits === 0) {
return false;
}
const regex = /^[-+]?0*([1-9]\d*)?(?:\.((?:\d*[1-9])*)0*)?$/,
mat... | 25.316327 | 66 | 0.70133 |
33c37d09a7625dadbed93003e0b1e7d02d20fc12 | 90 | ts | TypeScript | Web/Ucrs.Web/app/domain/index.ts | YanaSlavcheva/UcrsApp | 29e3ee4725ae8bebf13fc5f6c15fdd8a9daadefb | [
"MIT"
] | null | null | null | Web/Ucrs.Web/app/domain/index.ts | YanaSlavcheva/UcrsApp | 29e3ee4725ae8bebf13fc5f6c15fdd8a9daadefb | [
"MIT"
] | null | null | null | Web/Ucrs.Web/app/domain/index.ts | YanaSlavcheva/UcrsApp | 29e3ee4725ae8bebf13fc5f6c15fdd8a9daadefb | [
"MIT"
] | null | null | null | export * from './course';
export * from './user-login';
export * from './user-register';
| 22.5 | 32 | 0.633333 |
893db7ac10b1b41ebc73303f7d1d12af3bf44378 | 4,783 | ts | TypeScript | clientApp/src/app/views/auth/login/login.component.ts | rainsha/polsl_mgr_obierki | cc5ddb3df7b6c75f385f64029a10bd4919827545 | [
"MIT"
] | null | null | null | clientApp/src/app/views/auth/login/login.component.ts | rainsha/polsl_mgr_obierki | cc5ddb3df7b6c75f385f64029a10bd4919827545 | [
"MIT"
] | null | null | null | clientApp/src/app/views/auth/login/login.component.ts | rainsha/polsl_mgr_obierki | cc5ddb3df7b6c75f385f64029a10bd4919827545 | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { AuthService } from 'src/app/infrastructure/services/auth.service';
import { LoaderService } from 'src/app/infrastructure/services/loader.service';
import { Router } from '@angular/router';
import { Meta } from '@angular/platform-browser';
import { finalize } f... | 27.488506 | 95 | 0.63203 |
8978525675b2b34177f142274d927055c0e46e1c | 703 | ts | TypeScript | src/common/logger/logger.middleware.ts | frogbubble711/nestjs-auth | b7a14663c477f2b37658a207ea66e9fa9027a9e9 | [
"MIT"
] | 2 | 2021-07-13T15:05:51.000Z | 2021-07-29T19:01:33.000Z | src/common/logger/logger.middleware.ts | frogbubble711/nestjs-auth | b7a14663c477f2b37658a207ea66e9fa9027a9e9 | [
"MIT"
] | null | null | null | src/common/logger/logger.middleware.ts | frogbubble711/nestjs-auth | b7a14663c477f2b37658a207ea66e9fa9027a9e9 | [
"MIT"
] | null | null | null | import { Injectable, NestMiddleware, Logger } from '@nestjs/common';
import { Request, Response, NextFunction } from 'express';
import * as morgan from 'morgan';
import { ConfigService } from '../config/config.service';
@Injectable()
export class LoggerMiddleware implements NestMiddleware {
constructor(private reado... | 33.47619 | 72 | 0.694168 |
fbf067fae204f0eaca7307c813943a1875d57f92 | 3,348 | ts | TypeScript | src/expansion.ts | caresx/ptcgo-dex | 2b7ab12d2ce24907562cfbff7be9c0c3a0335d0a | [
"Unlicense"
] | 1 | 2020-09-30T20:31:08.000Z | 2020-09-30T20:31:08.000Z | src/expansion.ts | caresx/ptcgo-dex | 2b7ab12d2ce24907562cfbff7be9c0c3a0335d0a | [
"Unlicense"
] | 4 | 2020-03-25T20:14:51.000Z | 2022-01-22T11:11:26.000Z | src/expansion.ts | caresx/ptcgo-dex | 2b7ab12d2ce24907562cfbff7be9c0c3a0335d0a | [
"Unlicense"
] | null | null | null | // @ts-ignore
import _allExps from '../data/expansions.json';
import {
ExpansionFlags,
ItemType,
Format,
ExpansionSeries,
Expansions_XY,
ItemIndex_BoosterPack,
SeriesExpansions,
PTCGOFormats,
ExpansionDefinition,
} from './defs';
import { Item } from './item';
import { Series } from './series';
const... | 22.172185 | 90 | 0.640084 |
42cb4d50234f06bcd3aec508227718477d8ec928 | 2,174 | ts | TypeScript | data/Sword & Shield/Darkness Ablaze/35.ts | Maxopoly/cards-database | cc075151f116676a59251f163eb33ef019b4f90f | [
"MIT"
] | 20 | 2020-03-10T11:51:37.000Z | 2022-03-31T08:31:26.000Z | data/Sword & Shield/Darkness Ablaze/35.ts | Maxopoly/cards-database | cc075151f116676a59251f163eb33ef019b4f90f | [
"MIT"
] | 81 | 2020-12-10T13:39:21.000Z | 2022-03-26T19:54:26.000Z | data/Sword & Shield/Darkness Ablaze/35.ts | Maxopoly/cards-database | cc075151f116676a59251f163eb33ef019b4f90f | [
"MIT"
] | 5 | 2021-02-12T15:48:29.000Z | 2022-02-09T12:25:24.000Z | import { Card } from '../../../interfaces'
import Set from '../Darkness Ablaze'
const card: Card = {
name: {
en: "Galarian Mr. Mime",
fr: "M. Mime de Galar",
es: "Mr. Mime de Galar",
it: "Mr. Mime di Galar",
pt: "Mr. Mime de Galar",
de: "Galar-Pantimos"
},
illustrator: "Misa Tsutsui",
rarity: "Common"... | 23.89011 | 175 | 0.648114 |
6e13290acf1d1f44b1e0b7563f813223a7f4d924 | 1,268 | ts | TypeScript | flex-demo/src/app/components/space-index/space-index.component.ts | RiaAguApo/FlexDemo | 9cad43143e777826967667eeca9b866158a794ac | [
"MIT"
] | 13 | 2020-10-19T16:14:23.000Z | 2022-03-03T05:53:06.000Z | flex-demo/src/app/components/space-index/space-index.component.ts | RiaAguApo/FlexDemo | 9cad43143e777826967667eeca9b866158a794ac | [
"MIT"
] | 2 | 2022-01-25T18:19:51.000Z | 2022-03-30T12:18:23.000Z | flex-demo/src/app/components/space-index/space-index.component.ts | RiaAguApo/FlexDemo | 9cad43143e777826967667eeca9b866158a794ac | [
"MIT"
] | 7 | 2020-09-09T20:26:58.000Z | 2022-02-22T13:36:39.000Z | import { Component, OnInit } from '@angular/core';
import { Store } from '@ngxs/store';
import { EntityComparer, AddExpands, Expand } from '@xbim/flex-webkit';
import { GridColumnDefinition } from '@xbim/grid';
import { CommonEntityColumns } from '../../common-columns';
import { SpaceIndexState } from './spaces-state';... | 26.978723 | 99 | 0.657729 |
6fa3e90fedbeadcdd99fecd17182499d6df4853e | 537 | tsx | TypeScript | src/components/github-button.tsx | giistr/giistr | 7ee1a73a7f7047f654e553db114d0a07ede6fd50 | [
"MIT"
] | 30 | 2016-09-02T07:40:31.000Z | 2022-02-16T06:08:21.000Z | src/components/github-button.tsx | alex3165/giistr | 7ee1a73a7f7047f654e553db114d0a07ede6fd50 | [
"MIT"
] | 6 | 2016-12-21T19:35:31.000Z | 2021-10-02T14:38:33.000Z | src/components/github-button.tsx | alex3165/github-issues | 7ee1a73a7f7047f654e553db114d0a07ede6fd50 | [
"MIT"
] | 2 | 2019-04-13T12:05:21.000Z | 2020-05-30T13:39:11.000Z | import * as React from 'react';
import Button from './button';
const githubIcon = {
display: 'inline-block',
marginRight: 10,
verticalAlign: 'middle'
};
const oauthLabel = {
verticalAlign: 'middle'
};
const button = {
marginTop: 0,
width: 300
};
export function GithubButton({
href
}: {
href: string
... | 15.794118 | 59 | 0.607076 |
b3443d920f183073076518a2ccc0a70cb3b6263b | 789 | tsx | TypeScript | front/did-showcase/src/components/atoms/BackBar/index.tsx | benjamingitt/didssi | f7ba4ec574b81afc2d8d87f6aed5b9382ffb9a1f | [
"MIT"
] | null | null | null | front/did-showcase/src/components/atoms/BackBar/index.tsx | benjamingitt/didssi | f7ba4ec574b81afc2d8d87f6aed5b9382ffb9a1f | [
"MIT"
] | null | null | null | front/did-showcase/src/components/atoms/BackBar/index.tsx | benjamingitt/didssi | f7ba4ec574b81afc2d8d87f6aed5b9382ffb9a1f | [
"MIT"
] | null | null | null | import React from 'react';
import {history} from '../../../routing';
import {Row} from '../../../ui';
import ArrowBack from '../../../assets/img/arrow-back.svg';
import styled from 'styled-components';
import {COLORS} from '../../../utils/static/colors';
export const BackBar = () => {
return (
<div>
... | 23.909091 | 91 | 0.558935 |
7ca877bf7fd1344ff91601f6aa76c89f2617b65f | 9,431 | ts | TypeScript | app/src/textTable.test.ts | cffbots/paired-data-form | 63090e805f69a23b8fda7cacb91c1154f14a165b | [
"Apache-2.0"
] | 3 | 2021-02-21T01:06:45.000Z | 2022-03-07T15:22:06.000Z | app/src/textTable.test.ts | cffbots/paired-data-form | 63090e805f69a23b8fda7cacb91c1154f14a165b | [
"Apache-2.0"
] | 190 | 2018-12-07T13:55:52.000Z | 2022-03-03T09:25:11.000Z | app/src/textTable.test.ts | cffbots/paired-data-form | 63090e805f69a23b8fda7cacb91c1154f14a165b | [
"Apache-2.0"
] | 3 | 2019-06-23T13:54:48.000Z | 2022-02-03T13:43:12.000Z | import { kitchenSinkDoc, minimalDoc } from './test.fixtures';
import { jsonDocument, textTable, tsvUrl } from './textTable';
import { IOMEGAPairedOmicsDataPlatform } from './schema';
describe('with schema loaded', () => {
let schema: any;
beforeEach(() => {
schema = require('../public/schema.json');
... | 46.230392 | 230 | 0.4833 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.