sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
7b88c620c866e63462c8ad4df8a9af8230cd641c11631e13d2d770c6d0d9f51f
TypeScript
1,936
58
import type { TaxonomyItem, SelectedItem, TaxonomyPath } from "../components/NewTaxonomy/NewTaxonomy"; export const parseCommentClassificationConfig = (config: string | null): TaxonomyItem[] => { /** * Assume that there is a single root Taxonomy element for now, which may have multiple * TaxonomyItem children,...
d2afb21b1fd6f519eb0fcf458912ae5a5c7bc8550463f53bb34259c7b9a721ff
TypeScript
1,936
53
import { atom } from "jotai"; import { getVisitedProjectIds } from "@humansignal/core"; /** * Atom to track when the HomePage is visited or returned to. * Updated from the HomePage component whenever the location changes to trigger a refresh of visited projects. */ export const locationKeyAtom = atom<string>(""); ...
2f9d53a589b08a23d3d64e7b5b0c48a5af46c2bec39050bf2120eeb5b7b3d2d4
TypeScript
1,937
49
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
d808a0ce26f621ec3f56f1412305438f75382aa3352201bec86a2514f3b39576
TypeScript
1,938
58
import { afterEach, describe, expect, it, mock } from "bun:test"; import { interactiveCapabilityStore } from "../store"; function jsonResponse(body: unknown, init: ResponseInit = {}) { return new Response(JSON.stringify(body), { status: 200, headers: { "Content-Type": "application/json" }, ...init, })...
31669ce55659622888a24e084b39ddab68c42f8c1b37ce9e041aa4a917874930
TypeScript
1,939
53
import {map} from 'rxjs/operators'; import {LogEntry, Sensor, SensorList, SensorWatchEvent} from '../models/sensor'; import requests from './requests'; export const SensorService = { list(namespace: string) { return requests.get(`api/v1/sensors/${namespace}`).then(res => res.body as SensorList); }, ...
d0ee83e990e82394655dbbb5ab527302a048401ece7789653e1007e52710c832
TypeScript
1,940
58
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
dfca91d49bc89d5ac71c7a4ba0a9643d20298cf3da5b16dfc486e8488f9a4406
TypeScript
1,940
65
/** * @file Shape Component * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { ComponentRegistry } from '../globals' import Component, { ComponentParameters } from './component' import Stage from '../stage/stage' import Shape from '../geometry/shape' import { Vector3, Box3 } from 'three'...
09b55487afa4eb78a971a2799b9304a755829ed3c5745ee4c3427182dff9eab4
TypeScript
1,942
70
/** * MLflow Span Link Entities * * This module provides TypeScript implementations of MLflow span link entities, * compatible with OpenTelemetry for correlating spans across different traces. */ /** * Parameters for creating a SpanLink instance. */ export interface SpanLinkParams { /** The trace ID of the li...
62d54a4499194b07fb12d76b569a71ac3b93b412d60a7d20977abad5acc1811c
TypeScript
1,942
62
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
9f9de15cf90cf692f4d46b28f32cdf139ff8652bcff9e1b15898f1b2513041b7
TypeScript
1,942
68
/** * @file Octahedron Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { OctahedronGeometry, Vector3, Matrix4 } from 'three' import { BufferRegistry } from '../globals' import GeometryBuffer from './geometry-buffer' import { BufferData, BufferParameters } from './buffer' const s...
8f9eed86237be9b5de79c1a6435078536e091aaf8c4f67861dbdd78d18924d7d
TypeScript
1,943
63
/** * @file Sphere Geometry Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { IcosahedronGeometry, Vector3, Matrix4 } from 'three' import { defaults } from '../utils' import GeometryBuffer from './geometry-buffer' import { SphereBufferData } from './sphere-buffer' import { Buffer...
d6c2fde8a2e8ef4d0df2ced1e659f7e5e4f77b9060e576212c90af49e3b2019f
TypeScript
1,943
53
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
77fbe95d0f459929866fc0863aa9f20250cae55ef2244e355eb93171545f4c56
TypeScript
1,944
48
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
d08dc07a1e8db0923f4b57024e4201725cc9992187d9d681882fdb4d48013f26
TypeScript
1,944
51
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
3915de39c8e57e93b529b71d2943cfe80a76075c9e0abebdee4c4b3480384b01
TypeScript
1,945
63
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
6f6733377268b4fe9dfca074b67ba9c6bc7096395d5f4ddfc34547d8bb18d862
TypeScript
1,945
60
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
d1fa6765a28c3779b113c5405342232a41bbf64dc6ccdcdca0d2e09797fcc986
TypeScript
1,951
63
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
94971815e5b9b760e0811c166823cd44b93ac4adb89bee0742552d48525a0eac
TypeScript
1,954
51
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
10a60953934060419c0a2481fc7d0a63ba358f182bf65f5d7fcff8346e873c18
TypeScript
1,956
48
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
90d048587e4bcf646e6e8b3b2b247ecacee36e4c3e13b9a7b9cbaaea95334eec
TypeScript
1,956
68
/** * @file Tetrahedron Buffer * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { TetrahedronGeometry, Vector3, Matrix4 } from 'three' import { BufferRegistry } from '../globals' import GeometryBuffer from './geometry-buffer' import { BufferData, BufferParameters } from './buffer' const...
ffe32f426b7c6b6aca5ec1279b6322570dd94e54c76fb39ec9d1005a8bf9f6fe
TypeScript
1,960
76
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
97939783cb59b5945e5b1b77e549d1ce31f59b4b64f2465c9de9bfb3b76087f7
TypeScript
1,962
57
/** * @file Molecular Surface * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Worker from '../worker/worker'; import Surface, { SurfaceData } from './surface'; import { Structure } from '../ngl'; import { AtomData, RadiusParams } from '../structure/structure-data'; /** * Molecular surfa...
f64f40f5fb24eda4c634b4b025eaa767a69c726459f014957a6740a54319fcce
TypeScript
1,962
60
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
10e3b124d8508a6183f629f42bb7f0cc1a49d44426bde4a1823102018e041239
TypeScript
1,963
49
import { describe, expect, it } from 'vitest'; import { isParquetBytes } from './engine'; /** * The engine itself is not unit-testable — it dynamically imports DuckDB-WASM from a * runtime-computed CDN URL and needs a Worker — so what is tested here is the decision * that made a missing artifact look present: whet...
83dbef15473c5efa2bbf4887ad85831c4bfeb1c465e4add26b90919885c01645
TypeScript
1,964
78
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
3af891bb6138c10f7fe67e7b9e9d9587a1713fa3a4d264abbf8fb9a987100360
TypeScript
1,965
75
import { Directive, HostListener, Inject, Input } from "@angular/core"; import { TZipFileConfig } from "./type"; import * as JSZip from "jszip"; import { DOCUMENT } from "@angular/common"; import { isObservable, Observable } from "rxjs"; import { take } from "rxjs/operators"; @Directive({ selector: '[zip-files-outpu...
56035ac779ae393c4d1a82bbd7773bb1440306e5b154f6d248490ac62030f861
TypeScript
1,965
46
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
7fa925c4acdbf6a6b7c06142dcf2c8f6b136c182551b2116a551ef9e59ca64bb
TypeScript
1,967
43
/** * @jest-environment jsdom */ import {Workflow} from '../models'; import {WorkflowsService} from './workflows-service'; const workflow = (name: string, namespace: string, uid: string): Workflow => { return { metadata: { name, namespace, uid }, spec: ...
1fcb0193477704fa69ea35c854db9aac23080d47807099b72ef7db97424f4194
TypeScript
1,968
60
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
eb989026380f2f24b89d1dd2f7612a5f26266b770b909d92e7fee96161050cac
TypeScript
1,968
52
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
780f13a2091e09d5a6fdd7f84d13891c4217ea16fb38264c86f746914e28415b
TypeScript
1,969
80
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { PointAssignmentComponent, processRow } from './point-assignment.component'; import { SAPI } from 'src/atlasComponents/sapi/sapi.service'; import { EMPTY } from 'rxjs'; import { provideMockStore } from '@ngrx/store/testing'; import { VolumesMod...
a54c32b188f8f47b3ff2cd0ae3e8c00a1df182dd80ff6395ba46ca6f12a96769
TypeScript
1,969
61
import { init } from './core/config'; import { getLastActiveTraceId, getCurrentActiveSpan, updateCurrentTrace, startSpan, trace, withSpan, } from './core/api'; import { tracingContext } from './core/context'; import { flushTraces } from './core/provider'; import { MlflowClient, MlflowHttpError } from './cli...
0daeb4919b3947a46cb6e2d652eaddb4800127185748f7d1fcbc6dab97ab9ace
TypeScript
1,972
54
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
36574760b970ed5114786f08475cfbf9dbff1a08c62e61aeb40f737ea8d288cd
TypeScript
1,973
46
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
5f4d00261aa7b81143a30f0a112a74a40fd05eabea9770e23f381300d8e88fe8
TypeScript
1,974
44
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
197277bc8776b1e94204ce94933c9e05bb75125be8fd94f5e5b975daf25bede2
TypeScript
1,977
80
/** * @file Symmetry Utils * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Matrix4 } from 'three' import { Log } from '../globals' import { EncodedSymOp, SymOpCode } from './symmetry-constants' const reInteger = /^[1-9]$/ export function getSymmetryOperations (spacegroup: string) {...
73116419b6df5b2f2ae28e28464dc27e216f865e80a6472f6c05bdd11daf23fd
TypeScript
1,979
73
import { describe, expect, it } from "bun:test"; import type { BezierPoint } from "../types"; import { resolveDrawingOriginPointId } from "../utils"; function makePoints(count: number): BezierPoint[] { return Array.from({ length: count }, (_, i) => ({ id: `p${i}`, x: i * 10, y: 0, prevPointId: i === ...
2982e66969d9c535efd1a8bb6828359d66b528628af2c6a399c097e45d0dcfde
TypeScript
1,981
58
/* eslint-disable camelcase */ /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Vers...
65ccfa05d995a67a5d72c288380e57586a55c9d98186e6e6e941628554936a93
TypeScript
1,984
70
/** * @file Loader * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { ParserRegistry } from '../globals' import { createParams } from '../utils' import FileStreamer from '../streamer/file-streamer' import NetworkStreamer from '../streamer/network-streamer' import { LoaderParameters, Load...
44bbd166eb17b1a0697b35b6374b60abcf2953a49b92282ec5ad27554ca9a9e2
TypeScript
1,985
57
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
6b117ac2f463a5bca0f3fd7c469ccf94108949135661490378d9ddf31242a823
TypeScript
1,985
53
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
75046668cfa59fad70ddae2bc75ffd441404a4ce33f5a0741a55e110b1d09e1a
TypeScript
1,985
51
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
9f9d81841e448fd4f8c6e64d16e54410c2efc387950ef09feb13a99dd22cfcbf
TypeScript
1,985
53
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
deda801b74c481d5bf4afec1c00302405252e0bfab387160b361d578907a2324
TypeScript
1,985
84
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
3f0380c0f38a3060f1552a9cd8cd1feb203d37bc00e1101920c8f797a5ea1f81
TypeScript
1,986
67
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
849e7c90647c4742977522e18917809b2123b2eaa739f54b8ce69d163e729d0b
TypeScript
1,986
59
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
57e60d347947c13253be9fe454f224d1b0591d379cd6a3f192e82d3cdc9c2964
TypeScript
1,988
83
export type Endpoints = Record<string, EndpointConfig>; export type RequestMethod = "GET" | "POST" | "PATCH" | "DELETE" | "PUT" | "HEAD" | "OPTIONS"; export type RequestMode = "same-origin" | "cors"; export type ResponseConverter = (response: any) => Promise<any>; export type EndpointConfig = | string | { ...
41571b284d8adda8763b885768646d10735dcb398dc6bc18e9687cb20cb24796
TypeScript
1,989
55
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
71b61720b5ab1145dacfa58a1899ba4e02b1babe79c87a123ec79bc815f374bb
TypeScript
1,992
58
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts" // @generated from file dbtlabs/proto/public/v1/events/fusion/compat/otlp.proto (package v1.public.events.fusion.compat, syntax proto3) /* eslint-disable */ import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv1"; import { enumDesc, fileDesc...
4a66194609b82cebd8a6496e82c343bd11c8abb2f570b19694c1a894c91c3dc6
TypeScript
1,994
71
/** * @file Validation * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Color } from 'three'; import { ClashPicker } from '../utils/picker'; import Structure from '../structure/structure'; declare class Validation { readonly name: string; readonly path: string; rsrzDict: { ...
d764b5754b1eb7827c83c127b97f0f604bbc3f494dec99f6d6083c82b32f9aab
TypeScript
1,994
51
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
96faa6b2af4d32d77e08d120b3c0fecc3772699d44509a27a67d41668eab8013
TypeScript
1,995
71
import { safeJsonStringify } from '../../../src/core/utils/json'; describe('safeJsonStringify', () => { it('should stringify simple values correctly', () => { expect(safeJsonStringify('hello')).toBe('"hello"'); expect(safeJsonStringify(123)).toBe('123'); expect(safeJsonStringify(true)).toBe('true'); ...
a51dbf512fc09e9e852d6fdae637993534a7e9cada6d70723fc5700c53319af4
TypeScript
1,999
77
import { types } from "mobx-state-tree"; /** * Validates the value against the given range. * By default range is from 0 to 1 including ends. * @param {Number} min Minimal value * @param {Number} max Maximal value */ const Range = (min = 0, max = 1) => types.custom<any, number>({ name: `Range(${min}..${max}...
aa73f6194fddc47d81d0fc11259bd6434f748277c72b6732a6e333c98125caa4
TypeScript
1,999
67
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
7519b5547e183f8435c8d249bb7a18498fb80643174e6abd919570f75b9d573a
TypeScript
2,002
70
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
9c69a7781f1bf4605e38815ec701bf41425f0edfa2c472c8afb2903264446dda
TypeScript
2,004
53
/** * @file Buffer Representation * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ /// <reference types="node" /> import Representation, { RepresentationParameters } from './representation'; import Viewer from '../viewer/viewer'; /** * Representation for showing buffer objects. Good for efficie...
a30e2d0f48e1e3f830b0014212c2e8f028907a21ea2b9d5d8232d456f1252bae
TypeScript
2,005
57
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
13ff4f863164c102c1ac3ddb2303a4428b44df02e2f5fcfe4867fefe76726c71
TypeScript
2,006
48
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
a215e15473a8791f283c7a2248db068b14b8bd62a45be3b9a0e00a71091f034c
TypeScript
2,006
71
/** * @file Representation Utils * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Debug, Log, RepresentationRegistry } from '../globals' import Viewer from '../viewer/viewer' import Structure from '../structure/structure' import Surface from '../surface/surface' import Volume from '.....
dcbc2c62bbc14538ff131f18e31c685988485cb4054cdc37fea8fb6b2339ddec
TypeScript
2,008
48
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
799302e83e0f1017064d6b5f65d8a203c46113c2cf1cab563ac19222ff6a6a0c
TypeScript
2,010
69
import { InjectionToken } from "@angular/core"; import { Observable } from "rxjs"; /** * Inject click interceptor */ export const CLICK_INTERCEPTOR_INJECTOR = new InjectionToken<ClickInterceptor>('CLICK_INTERCEPTOR_INJECTOR') export type TClickInterceptorConfig = { last?: boolean } /** * Register callbacks * i...
9c5d9d5e259e3d768d460c61891eec0876f7c33e661b4737035038872a874ca8
TypeScript
2,012
70
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
a1e012c4c5f8deba4d772b1b2e4001ccdd491339103edcf89a094b973c28c707
TypeScript
2,012
82
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
cf4dc0db0e7f4180259d4ae74ec797d20d01cd0a8f586c23d284301d87093c05
TypeScript
2,014
66
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
d1e7e849fa020ceff284298bd42f4886f288e1934a33f9e35f62b367de20469a
TypeScript
2,015
52
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
a5e5a843b7e599aec92a3ee664815136e98723dd18209daea96e9a3c192be6ea
TypeScript
2,016
88
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
ec2a3d6d9b7d25a58ba04ed06e735ef3330ed8e3ee6b396ec7fc96f7768f2661
TypeScript
2,016
54
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
db5308ca7d18f55f15d05f8229dbbfa57ca28b48ab712364a2f01edbe6c16977
TypeScript
2,017
88
/** * @file Frames Trajectory * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { defaults } from '../utils' import Structure from '../structure/structure' import Frames from './frames' import Trajectory, { TrajectoryParameters } from './trajectory' /** * Frames trajectory class. Gets d...
8cda19e05eea07088317c6196f2093ae0dbd6df893024c2087937071f80c841d
TypeScript
2,019
72
import { describe, expect, test } from 'vitest'; import type { Capabilities, Distribution } from '../shared'; import { deriveUpgradeCapabilities } from './useCapabilities'; const cap = (overrides: Partial<Capabilities> = {}): Capabilities => ({ hasColumnLineage: false, hasQueryHistory: false, hasCostInsights: f...
9849d3cfe4c593ce6c73cb7c30518a81196b5ebd87bd40047a69dd01047eb120
TypeScript
2,021
67
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
b272000a72816501f35f13beec98b0997dae0592f7487e9089a70bebcc5eac0b
TypeScript
2,023
56
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts" // @generated from file dbtlabs/proto/public/v1/events/fusion/process/process.proto (package v1.public.events.fusion.process, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import { fileDesc, ...
c2dd5a9acbe85fb8d4133d8fc337afd7b5cce13d6a0226160a21e278a823ce11
TypeScript
2,024
69
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
4f052121177ea093a0fbfda89b7943416af928af0fa301188f1084693e83e2ad
TypeScript
2,027
73
export type TooltipPlacement = "below" | "above" | "right"; export interface TooltipPosition { top: number; left: number; placement: TooltipPlacement; arrowOffset?: number; } export interface RectLike { top: number; right: number; bottom: number; height: number; } export interface SizeLike { width:...
b11810ebf7e4a09f356868a802ee59a42823ebd5b1dffa464898952c149b3097
TypeScript
2,029
62
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
ce76d57c101f50f5f8ffe1ee0abe891846a86919df00111a9c5c47d08e625e9b
TypeScript
2,029
57
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
e99a65f21b80a8cf598fce4c92661cf706b83d9634631d2f0255602b8bd056a8
TypeScript
2,030
57
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
183411d3e19c45172a9903e0fcf42decbccfd8c53bb17fecdb66ff9592d5f858
TypeScript
2,031
61
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
c6edee7350c900a1e66ba2dafecf123b182e55f03e4286a743db11e7452a67c6
TypeScript
2,031
60
/** * Shared utility functions for SegmentAnything — DOM queries and coordinate helpers. */ /** * Compute the centroid of foreground pixels in a binary mask. * Returns a single-element array with the centroid point, or empty if no foreground. */ export function computeCentroidFromMask( mask: Uint8Array, width...
9aa1e692b1e3667d45c8ff7cc25d000bc3dfbaeccf5dc4913f66eb4c48123353
TypeScript
2,033
51
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
17971ff16396ad7e0528103c2a41eca67315dcc0b855bc6ada35a5beeacd3395
TypeScript
2,034
61
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
f473f03415924c7f2fd3647774f3aef35786e808dfce364e89f13f82e53168ad
TypeScript
2,034
77
import { UrlSegment, UrlTree } from "@angular/router" import { Component, InjectionToken } from "@angular/core" export const encodeId = (id: string) => id && id.replace(/\//g, ':') export const decodeId = (codedId: string) => codedId && codedId.replace(/:/g, '/') export const encodePath = (key: string, val: string|st...
fb70faf4c9e1e43c0ead7bdecf097163e123e8d830a588cefa5d055ef99bf422
TypeScript
2,040
59
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
22dbdc20561895ae5ef22fa39bac25a107320963251dcaca07e1be5aea2fcfd5
TypeScript
2,041
54
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
1f7e1c397f6473b0e66b098d25ec08b0757877b630701834a7e7626a60b1435d
TypeScript
2,050
64
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
2134df689012335e0ae95e434e3c583e532527e5000400287535d856afc01607
TypeScript
2,050
62
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
3648665ed6144a5d957061d6a0b7da720609be58852db88620c8b7cbca31df60
TypeScript
2,051
44
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
79cf008085cb5971ef9b6352a8362202bbd8dcaa28a4b69ab0c5fb924d70128f
TypeScript
2,051
72
/** * @file ChemComp Map * @author Paul Pillot <paul.pillot@tandemai.com> * @private */ import Structure from "../structure/structure" import { ResidueBonds } from "../structure/structure-utils" interface ChemCompBonds { atom1: string[] atom2: string[] bondOrders: number[] } class ChemCompMap { ...
ddff817102d190f7acb6833aa59b355c42c9398fac8e5ffd694df30778091d81
TypeScript
2,051
59
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
981bdd544aedc1a3d64401305a174f4de425b77e6e9e851e288a007297597a5c
TypeScript
2,053
71
import { APIProxy } from "../api-proxy"; import type { ApiProviderConfig } from "./types"; let apiInstance: APIProxy<Record<string, unknown>> | null = null; /** * Creates and initializes the API instance with the provided configuration. * This should be called once at application startup. * * @param config - Conf...
e4b733f76d8dc9017ad37ebd33929b5d9564ec0f3420196c83fa76c81fef46c5
TypeScript
2,053
67
import tags from "@humansignal/core/lib/utils/schema/tags.json"; import { schemaInfoToXmlConfig } from "./schema-info-to-xml-config"; describe("schemaInfoToXmlConfig", () => { it("maps View as top-level element with children", () => { const { elements } = schemaInfoToXmlConfig(tags); const view = elements.f...
8572ad1dd2d57e5a817829eee1cb51d2607861ac305e24e0b76eab3dc16c15a0
TypeScript
2,054
44
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
96e168d2339a99cb754610c982042d21e8e8290224829956292845318b82f175
TypeScript
2,054
66
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
7ea9491f6ebb51f0cab1730ed0ad566e8607852116d7ae7cdbd2d67ec0a1adb5
TypeScript
2,055
53
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
c48d65e2bf15eba3b69de2c9c1c62324f0bca77ddf065f58e348f94f943f2481
TypeScript
2,056
63
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
bc1bd2a2546d88cce8df5017107d023fe9e5e3157baef1c5b892d39cffd21c72
TypeScript
2,057
75
import { DOCUMENT } from "@angular/common"; import { APP_INITIALIZER, InjectionToken, NgModule } from "@angular/core"; import { BehaviorSubject, fromEvent, Observable } from "rxjs"; import { filter, scan, take } from "rxjs/operators"; import { MatSnackBar } from "src/sharedModules"; const CODE_DICT = { ArrowUp: "Arr...
c6e4ea399452f5cd51ca1fc3b023a899edb3258d5fed5c5e5e189a71a1057273
TypeScript
2,058
41
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
cd3365a361054f743b967399db93075ea3fc904deb2efcaaa872e8b502bca42d
TypeScript
2,058
69
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
a77d3d1987133bdd43599fd164ef8108a5ec95c5e35a27ebba8bdab700d665ce
TypeScript
2,059
82
import { Component, CUSTOM_ELEMENTS_SCHEMA, Inject, inject } from "@angular/core"; import { MAT_DIALOG_DATA } from "src/sharedModules/angularMaterial.exports" import { ARIA_LABELS, CONST } from 'common/constants' import { BehaviorSubject, combineLatest, concat, of, timer } from "rxjs"; import { map, take } from "rxjs/o...
e8af44ce5dddd6facf9c6c86ad584d0edbd3f80d0fc5a1ba181b0b7dc4772537
TypeScript
2,059
77
import { Inject, Injectable } from "@angular/core"; import { NavigationEnd, Router } from '@angular/router' import { distinctUntilChanged, filter, map, shareReplay, switchMap, take } from "rxjs/operators"; import { BehaviorSubject, merge } from 'rxjs' import { scan } from 'rxjs/operators' import { SAPI } from "src/atla...
2a046826a8fa2f01b992995ca2810d2efe2a02d2544609468463465b888be1ef
TypeScript
2,061
54
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...