sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
41d31d218403bec8b2c35e531625dd61506e725bc11bac8d0814871401108db1 | TypeScript | 1,810 | 52 | /** Shared telemetry payload shape (OSS contract — transport lives in LSE). */
export type TelemetryPayload = {
event: string;
properties: Record<string, unknown>;
timestamp: string;
};
/** Optional dedupe / rate-limit hints passed to the LSE implementation. */
export type EmitEventOptions = {
/** Dedupe ident... |
7fd10d46dc34da2217f50cb01dc909c8237dc10d4eb065657ddb6c44726868b7 | TypeScript | 1,810 | 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... |
dce6ba7e36154bb46993e640f551a51bb48bce8f492705841f4be731e0f3bee1 | TypeScript | 1,814 | 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... |
1ceeccc014b34c1e41cbd7b2242511900d42f34ab9204b89a54ae7ac980a9282 | TypeScript | 1,817 | 56 | import type { AssetMetadataProps } from '../components/AssetMetadata';
import type { Asset, Relation } from '../typings/domain/asset';
function relationOf(asset: Asset): Relation | null {
return 'relation' in asset ? (asset.relation ?? null) : null;
}
/** Bridge the domain {@link Asset} union to the presentational ... |
09433d8e6d80b43c85d7b4af5ec916af86c6217621ccb4a1326a6a7a4c5c5b80 | TypeScript | 1,819 | 40 | import {useState} from 'react';
import {ScopedLocalStorage} from './scoped-local-storage';
export enum TIMESTAMP_KEYS {
WORKFLOW_NODE_STARTED = 'workflowNodeStarted',
WORKFLOW_NODE_FINISHED = 'workflowNodeFinished',
CLUSTER_WORKFLOW_TEMPLATE_LIST = 'clusterWorkflowTemplateList',
CRON_WORKFLOW_LIST_CRE... |
c991e7712a66e4992378bf72db72ed80c89d6f7404eac110772070665bb17e86 | TypeScript | 1,819 | 39 | /**
* 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... |
1be00d2f0a0ef9084dc26b49945dc34f3590ab0f428da183bdc3d93623509503 | TypeScript | 1,820 | 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... |
4ba97bb1b9540e41d34bdb213dd43640427d3c5d246b767f1a0979a1255a1d4f | TypeScript | 1,820 | 72 | /*
* 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 ... |
72873eb15c24ecc709eff6827075cf078c6ccb35de984105352e9a3ac6f18153 | TypeScript | 1,820 | 53 | export { TopBar } from "./TopBar";
export type { SharedTopBarProps } from "./TopBar";
export { AnnotationsCarousel } from "./AnnotationsCarousel";
export type { SharedAnnotationsCarouselProps } from "./AnnotationsCarousel";
export { AnnotationButton } from "./AnnotationButton";
export type { AnnotationButtonProps } fro... |
7dff1b0d0cb48dadfcaf7d908f37a495eb7afd02696f94caccb9851c2d9c125e | TypeScript | 1,820 | 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... |
a001626923078aba7912efc7d1b3dc37a2e11188a595917886188d1195d09d41 | TypeScript | 1,820 | 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... |
61408eb35f1d7847b0daa9cc99367c841fb1a8d9be888c28ee910102e55b5e7a | TypeScript | 1,821 | 44 | import { useQuery } from '@tanstack/react-query';
import { useMetadataDataSource } from '../context/MetadataDataProvider';
import type { MetadataDataSource } from '../data-sources/MetadataDataSource';
/**
* Shared substrate for the capability-gated read hooks (`useLineage`,
* `useFacets`, `useCapabilities`, `useDis... |
9d1a40459951f59b24af4fa8e10d7305b324eef5047f1c9a9e1f10bde692d059 | TypeScript | 1,821 | 68 | /**
* Shared utilities for state chip components
*
* This file re-exports the state registry functions for backward compatibility.
* The actual implementation is in state-registry.ts which provides an extensible
* semantic type system that LSE can extend.
*/
export {
stateRegistry,
StateType,
getStateColor... |
c918ac496e522247e740d4f5722b04482fcb880f9f417e9a6c9e397ec2857ca2 | TypeScript | 1,821 | 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 ... |
fe89071c96ac2a24b5f3fd5c6601c470482bb153ac41df4ad854f768b397f812 | TypeScript | 1,821 | 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... |
b68f6c0449beb0b89b9356722c3d1cc8473666b8dbe408adfe38aa7234eb07d9 | TypeScript | 1,822 | 50 | /**
* 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... |
346258a48c0753aacec878a11d7c31de03362b22eca1764a3751b8a6312f0228 | TypeScript | 1,827 | 53 | /**
* @file RCSB Datasource
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Log, DatasourceRegistry } from '../globals'
import { getFileInfo } from '../loader/loader-utils'
import Datasource from './datasource'
const baseUrl = '//files.rcsb.org/download/'
const bcifBaseUrl = '//model... |
aab0a3189fe88fb039bfcb9dcd5d8a5544ce1b95059dba60e291acd75ad137c9 | TypeScript | 1,827 | 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... |
52dd70a9f254abdaaf76d3ee7f4b6a45b685995ddcfc51037adb8b06d13b0002 | TypeScript | 1,829 | 77 | /*
* 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 ... |
83c70939d6621da9cd26bb886c86a4463223d35a69f499efe40196e776d3e889 | TypeScript | 1,830 | 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... |
e0e8f70c6ea43412519967f4a161cd6de3193889710701425348b4ebed45cff0 | TypeScript | 1,830 | 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... |
38abb0c6c996518efc956c0befd7dd957039714874d3ec81d10d73ac63257969 | TypeScript | 1,831 | 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... |
68e7ae757d50cdec33a7a21c1a3ce6f14791f8c97bf581b1bb2987fa7a540b69 | TypeScript | 1,832 | 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... |
019ac09962812448ab4a18b31d193735d21cdd311807ae0bc313074cdc5bb284 | TypeScript | 1,833 | 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... |
112aaaa40fe3969cce6c9882565854667255eaaffb1ae13d956f9f665da63ce9 | TypeScript | 1,833 | 52 | /* eslint-disable consistent-return */
/**
* 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 Licen... |
3a28d8cd1eba351a5b4369a0f6e8292c730d832e31f50d4fedcfdb70a4aea102 | TypeScript | 1,833 | 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... |
b94f9440641dc6aa6dee349d98e92e69253184d16e19b1f91ae7304446f6dfeb | TypeScript | 1,833 | 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... |
d9d62d7fbf23622a511821143073a279604c643ed54437f4d980bf29ce0951ff | TypeScript | 1,833 | 65 | /**
* @file Validation Representation
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { RepresentationRegistry } from '../globals'
import { defaults } from '../utils'
import StructureRepresentation, { StructureRepresentationParameters } from './structure-representation'
import CylinderB... |
8f0e004456f2e62bf0b0986e48aad271283afb4328c63ba6efcbdfc76557df79 | TypeScript | 1,835 | 59 | import { execFileSync } from 'node:child_process';
const GIT_BRANCH_METADATA_KEY = 'mlflow.source.git.branch';
const GIT_COMMIT_METADATA_KEY = 'mlflow.source.git.commit';
const GIT_REPO_URL_METADATA_KEY = 'mlflow.source.git.repoURL';
type GitCommandRunner = (args: string[], cwd: string) => string | undefined;
let ca... |
329274420ce549d5ddab7560e8d167b2752f103c52c02b97caadf68ff1a2d61b | TypeScript | 1,843 | 64 | import { Injectable } from "@angular/core";
import { createEffect } from "@ngrx/effects";
import { select, Store } from "@ngrx/store";
import { catchError, filter, map, mapTo, switchMap } from "rxjs/operators";
import * as constants from "./const"
import * as selectors from "./selectors"
import * as actions from "./act... |
43d9ee97aadec6b6b7f57e5e0f937a4ca9fa86287e1524a4d40ddeec1e877c3d | TypeScript | 1,845 | 56 | /**
* 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... |
b40b78f484748c63dd659ac4f9d989faffa119a8e0f4dde0760d503093785465 | TypeScript | 1,845 | 56 | export interface FilterConfig {
id: string;
label: string;
filterFn: (nodeData: any) => boolean;
}
export interface JsonViewerProps {
// Core data
/** JSON data to display */
data: any;
// Behavior
/** Read-only mode */
viewOnly?: boolean;
// UI Controls visibility
/** Show/hide search bar */
... |
495414d7934bb2184b779bfe7fec152c2bcd0047a281e2bea419e8f0e4653e0a | TypeScript | 1,846 | 86 | /**
* @file Features
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
import AtomProxy from '../../proxy/atom-proxy'
export interface Features {
types: FeatureType[]
groups: FeatureGroup[]
centers: { x: number[], y: number[], z: number[] }
atomSets: number[][]
}
export const enum FeatureType {
... |
e5b38784017d116651f3f05098793a6c66efdc8fa366b0fe6ea587fdf685e923 | TypeScript | 1,848 | 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... |
bcedae7032ec011a5a3b9eb6aaf66f1d45524ecf950c88d5dfe61221f8c86904 | TypeScript | 1,849 | 69 | /**
* @file Box Buffer
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { BoxGeometry, Vector3, Matrix4 } from 'three'
import { BufferRegistry } from '../globals'
import GeometryBuffer from './geometry-buffer'
import { BufferData, BufferParameters } from './buffer'
const scale = new Ve... |
c6989e065b0a6da84ee769f3265d14d72d33343370f308962323221de19e94d1 | TypeScript | 1,849 | 48 | /**
* @file Unitcell Representation
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import StructureRepresentation, { StructureRepresentationParameters, StructureRepresentationData } from './structure-representation';
import SphereBuffer from '../buffer/sphere-buffer';
import CylinderBuffer fro... |
d9ed3d47f136232574c7396da35d0d940f42100f053a76a0e074dbd800889a0d | TypeScript | 1,849 | 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... |
ee25a988e03046fba197806ef3239d233eb733fbdfb896a619155f49d80f065f | TypeScript | 1,850 | 71 | import { Component, ElementRef, Inject, Input, OnDestroy, Optional, ViewChild } from "@angular/core";
import { Point, POINT_ICON_CLASS } from "../point";
import { IAnnotationGeometry, TExportFormats, UDPATE_ANNOTATION_TOKEN } from "../type";
import { ToolCmpBase } from "../toolCmp.base";
import { Store } from "@ngrx/st... |
43d328c58e3e6d5995b6a8905c813eed97f3705f368d07aca701f1e79eb8e567 | TypeScript | 1,851 | 65 | /**
* 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... |
7707eced1da17096fa955e4262ab71439dbdd3bb455f7798643e747c7f5c2c40 | TypeScript | 1,859 | 50 | /**
* 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... |
30577f1b4de21cfa49bf122e4eb2204333bce84e67c219fd9f1b8a7530ffbd88 | TypeScript | 1,860 | 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... |
44b2f4517ef7467bf01a0f22239e5113709d24308b2235ec092141296387cb23 | TypeScript | 1,864 | 50 | /**
* 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... |
8e594a0aa29340faae02ba4ac4c027a0f2f3b4a96a991e147086ccf7d3c9485b | TypeScript | 1,864 | 45 | import { describe, expect, it } from 'vitest';
import { channelX } from './DagGroupsView';
// The gap the connectors cross: the right edge of a group-card column and the left
// edge of the root card, roughly what the real layout produces.
const FROM = 712;
const TO = 763;
describe('channelX', () => {
it('puts a l... |
15fdafc480f27e11f3e12d4eea9d61b8550ee6154f5d69f48599540909a12b93 | TypeScript | 1,865 | 50 | /**
* @file Surface Component
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import Component, { ComponentParameters } from './component';
import Stage from '../stage/stage';
import Surface from '../surface/surface';
import { Vector3, Box3 } from 'three';
import RepresentationElement from './r... |
5eb23bebb6f6e7d6bcfa517ffc9070be11ffb28094c37f5b5e20bef1bc0770d2 | TypeScript | 1,868 | 49 | import {CronWorkflow, CronWorkflowList} from '../models';
import requests from './requests';
import {queryParams} from './utils';
// Gracefully handle invalid CronWorkflows that are missing both
// "schedule" and "schedules".
function normalizeSchedules(cronWorkflow: any): CronWorkflow {
cronWorkflow.spec.schedule... |
7a283f0a4dfafa95f5b05f29b5e171e25385354ef3d059f4eb67df547f2145c7 | TypeScript | 1,868 | 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... |
23f1eebfc0b8f3734feedc6649b03a27787105d4acbb738e623810051b274df0 | TypeScript | 1,870 | 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... |
497aa9abffb166de2acff249737740ca7bc11dba4d8e898780c4e0f1062391f9 | TypeScript | 1,870 | 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... |
680a9eb35dac8cc2ad96f6048a21ad0bbc4216c324b7599e66b2593f1c61a6fc | TypeScript | 1,872 | 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... |
7adf925ab8652aae30e4604edd4e490ef67d6d3c77cd40befcac3e2517e8d55f | TypeScript | 1,872 | 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... |
ffab504c2d6e0349279fba450b1fc8e715372fd8b6f2ddb3f11d8426c63d58a7 | TypeScript | 1,872 | 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 ... |
c726c3b556866a72ec0baff4b0f3766120cc851bcd64ea062eb627fd54978c16 | TypeScript | 1,873 | 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... |
8eaf941f3c5cf262830f9c8e83183e99b54c2c938170f5f2f4e5b4fc3e57bbac | TypeScript | 1,874 | 63 | import * as ff from "./lib/utils/feature-flags/ff";
export * from "./lib/Tour";
export * from "./lib/topbar";
export * from "./lib/preview";
export * from "./lib/utils/analytics";
export * from "./lib/utils/urlJSON";
export * from "./lib/utils/parseLocationSearch";
export * from "./lib/utils/helpers";
export * from ".... |
75a3de62fbf513251de3852f1035b7cd05d946c49c54dfcce76dd5493397ac02 | TypeScript | 1,876 | 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... |
1c005ac190134f442f05a21f6904ae3e2dc0e1c37f64caa53d1dd70657ee8fe4 | TypeScript | 1,878 | 62 | /**
* @file Annotation
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector3 } from 'three';
import Stage from '../stage/stage';
import Viewer from '../viewer/viewer';
import Component from './component';
export interface AnnotationParams {
offsetX?: number;
offsetY?: number;... |
7c0e742abd5886e7341ffee3554829ee739344a4c41dcaa1996b1554df7dadcd | TypeScript | 1,878 | 102 | type DateTime = string;
export interface APIAnnotation {
id: number;
created_username?: string;
created_ago: string;
completed_by?: string;
ground_truth?: string;
result?: APIResult[];
was_cancelled?: boolean; // skipped
created_at: DateTime;
updated_at?: DateTime;
draft_created_at?: DateTime;
... |
3eebfc4eedaaaa7c7b3bc4105c22f9e05808485eb555613395d75a8ff0071b90 | TypeScript | 1,880 | 76 | /**
* @file Csv Parser
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { defaults } from '../utils'
import { ParserRegistry } from '../globals'
import Parser, { ParserParameters } from './parser'
import Streamer from '../streamer/streamer';
export interface CsvParserParameters extends ... |
1412d663f02bb1f9b0677d06a7beb5a4927b7d5d388ffa7dc091ad3f5c363887 | TypeScript | 1,881 | 82 | import { HttpClient } from "@angular/common/http";
import { Injectable, OnDestroy } from "@angular/core";
import { Observable, of, Subscription } from "rxjs";
import { catchError, map, shareReplay } from "rxjs/operators";
import { environment } from "src/environments/environment"
const IV_REDIRECT_TOKEN = `IV_REDIRECT... |
5891330b3cbc6feb516002e336574d75b639a9f48c8772d033c96be89170b654 | TypeScript | 1,881 | 68 | /**
* 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... |
dc7689e43fa2abd58c8af6d83a0ba3177534e8cb0938fe0291ce6ef2663c253e | TypeScript | 1,882 | 51 | import { guessElement } from '../../src/structure/structure-utils'
import StringStreamer from '../../src/streamer/string-streamer'
import PdbParser from '../../src/parser/pdb-parser'
import { join } from 'path'
import * as fs from 'fs'
import { Structure } from '../../src/ngl'
describe('structure-utils/guessElement',... |
30d0c2dc97f66086a70bb4b3114a56d56a69a2783eefe655c4373b2b50bd7aca | TypeScript | 1,883 | 67 | import { LabelStudio } from "@humansignal/frontend-test/helpers/LSF";
/**
* TreeValidation renders when annotationStore.validation has errors (e.g. invalid config).
*/
describe("Tree validation", () => {
it("shows validation errors when config has invalid toName reference (ERR_TAG_NOT_FOUND)", () => {
LabelStu... |
547a88406b3a82a11491bd3df758c6c5c1d0d8b317f00287d2e28dc94ecc2e95 | TypeScript | 1,883 | 75 | /**
* @file Bond Proxy
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector3 } from 'three';
import Structure from '../structure/structure';
import BondStore from '../store/bond-store';
import AtomProxy from '../proxy/atom-proxy';
/**
* Bond proxy
*/
declare class BondProxy {
r... |
e09a656d19486389081681c1e440dec19388d9688717c4ff9dca6bcbea3401b2 | TypeScript | 1,884 | 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... |
7b050182f074275478643e7e130a91d4bd38619242e024fbb378593283726064 | TypeScript | 1,887 | 56 | import { useCallback, useState } from 'react';
function getStorageValue<TValue>(
key: string,
validateValue: (value: any) => TValue | null,
defaultValue: TValue,
) {
const saved = localStorage.getItem(key);
if (!saved) return defaultValue;
try {
const initial = JSON.parse(saved);
return validateVa... |
ca417afee74054e99d5a8252b35bef26ca6e2942d67d343fce6b42fc9f432993 | TypeScript | 1,887 | 41 | /*! *****************************************************************************
Copyright (c) Microsoft Corporation. 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. You may obtain a copy of the
License at http://www.... |
d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a | TypeScript | 1,887 | 41 | /*! *****************************************************************************
Copyright (c) Microsoft Corporation. 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. You may obtain a copy of the
License at http://www.... |
04a28adcdb4aea325aedb852beadd3f4bccc5c038a0b3368b6da9cb4fe0f61db | TypeScript | 1,889 | 60 | /**
* @file Sphere Buffer
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector3, Matrix4 } from 'three';
import SphereGeometryBuffer, { SphereGeometryBufferParameters } from './spheregeometry-buffer';
import SphereImpostorBuffer from './sphereimpostor-buffer';
import { BufferData } f... |
659a73d7628cf7abd9f74a79a99a79c718de1f87b1b131c400fd1654ecb82419 | TypeScript | 1,889 | 46 | import { QueryClient } from '@tanstack/react-query';
import { describe, expect, it } from 'vitest';
import type { MetadataDataSource } from '../data-sources/MetadataDataSource';
import { createFakeDataSource } from '../testing/createFakeDataSource';
import { wrapDataSource } from './wrapDataSource';
/**
* `wrapDataS... |
2c9cec0736aa1f81ef864cd772f3073c1e585c4b2c3d4ccd81c2ea224186efc6 | TypeScript | 1,890 | 49 | // @generated by protoc-gen-es v2.2.5 with parameter "target=ts"
// @generated from file dbtlabs/proto/public/v1/events/fusion/update/update.proto (package v1.public.events.fusion.update, syntax proto3)
/* eslint-disable */
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, mes... |
1c58737a8bb3e49e38917b3542d4d45bb33d6bdf72f03e03162bebeb1f484d3e | TypeScript | 1,891 | 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... |
e5586716b27bfbfbd589f5912c3cefbbbb63c2733b3b439ecf669fae9f51d22d | TypeScript | 1,896 | 51 | import { z } from "zod";
import type { ProviderConfig, FieldDefinition } from "./types/common";
import { assembleSchema, extractDefaultValues } from "./types/provider";
// Registry of all available providers
export const providerRegistry: Record<string, ProviderConfig> = {};
// Helper function to get provider configu... |
6788636b73b58b8e077fa85070e29b2b49437fbfff7e17f668b0652600095a54 | TypeScript | 1,897 | 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... |
4b9a34b3f78c907fe0a4b6045337f49140d7ebbe84dec56ca4fadf332fba1010 | TypeScript | 1,898 | 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... |
98b637b042b48ef4ea1a39a165738939a790085729c9d831c89a4cf71467f209 | TypeScript | 1,901 | 73 | class DateTimeHelper {
private get _baseRootSelector() {
return ".htx-datetime";
}
private _rootSelector: string;
constructor(rootSelector) {
this._rootSelector = rootSelector.replace(/^&/, this._baseRootSelector);
}
get root() {
return cy.get(this._rootSelector);
}
get dateInput() {
... |
a3d84beb9cd3e6d8d2ed134cb667829fabf5ec5d12bcd9a276bb2475a49cd997 | TypeScript | 1,901 | 68 | /**
* @file Icosahedron Buffer
* @private
*/
import { IcosahedronGeometry, Vector3, Matrix4 } from 'three'
import { BufferRegistry } from '../globals'
import GeometryBuffer from './geometry-buffer'
import { BufferData, BufferParameters } from './buffer'
const scale = new Vector3()
const target = new Vector3()
con... |
d257864dd240a9c62a8b3915540e0cb233c74727bc2cfa6095fe3e597ca03dfc | TypeScript | 1,902 | 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... |
5b1227e30926d75dc4461d300062c13765c90f0ce4bd1d6d8db8d1193ef0e4f8 | TypeScript | 1,903 | 68 | /**
* 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... |
85cbde5983c2e5f94fa0acd68d4a4cc9fed9b21e20f44f5c0b5a145d96281a3b | TypeScript | 1,905 | 84 | /**
* MSW-based Gemini API mock server for testing
* Provides realistic Gemini API responses for comprehensive testing
*/
import { http, HttpResponse } from 'msw';
interface GeminiGenerateContentRequest {
model?: string;
contents: any;
config?: any;
}
interface GeminiGenerateContentResponse {
candidates?:... |
be31eae82e82bee8fdca9061df78f2b3113f1d309acae30ad4b9ce918cb25687 | TypeScript | 1,905 | 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... |
ce20e3084890b3ef4a8354842a0abb78f1c7973074e2b143dc554aca509f0efe | TypeScript | 1,905 | 54 | import { resolveGitMetadata } from '../../../src/core/utils/environment';
describe('resolveGitMetadata', () => {
it('uses the standard MLflow Git metadata keys', () => {
const values = new Map([
['rev-parse HEAD', 'abc123'],
['branch --show-current', 'main'],
['config --get remote.origin.url', ... |
7e2523ed8971f4b1ee0ba7f52a0800214bbd8e9bf817a4508606c60fb9468c3c | TypeScript | 1,907 | 59 | type ColumnType = 'number' | 'string' | 'date' | 'enum';
interface EnumOrderMap {
[key: string]: number;
}
/**
* Generic table sorting function that can handle various data types and null values
* @param data Array of objects to sort
* @param sortKey The key to sort by
* @param isDescending Whether to sort in d... |
e0b0498e7846041fa961c49c20c1aeafd34b6f3b8a50d05748f626a98b90ddda | TypeScript | 1,907 | 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 ... |
79afa7395296f3b51cabd911f2edfbba41df5c413c1bbca0b4e00e1a590c1607 | TypeScript | 1,909 | 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 ... |
ab03c1dac6b2c5e50282552b2960caf8b085062aae41e727441c53be201d883c | TypeScript | 1,909 | 105 | /**
* 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... |
df4f11de3085f63b5c4ae5959980b391e2d780a5ba839c2f1b90cdbaeac6d67a | TypeScript | 1,910 | 53 | import { CommonModule } from "@angular/common";
import { NgModule } from "@angular/core";
import { MarkdownModule } from "src/components/markdown";
import { ReadmoreModule } from "src/components/readmore";
import { SpinnerModule } from "src/components/spinner";
import { FeatureModule } from "src/features";
import { Ang... |
faa366fe49664d73190046090a068af1d25558aa607ce1267ae8ca5411424e9f | TypeScript | 1,913 | 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... |
38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119 | TypeScript | 1,916 | 31 | /*! *****************************************************************************
Copyright (c) Microsoft Corporation. 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. You may obtain a copy of the
License at http://www.... |
6c99cd17897e6f27328e0ec3998dfd7186ecc4abe6b9f9704871056202e5b0db | TypeScript | 1,916 | 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... |
ef11b5ac094b76b26c00ea67ca09520f3423de5bd036d660294f1ea816769c82 | TypeScript | 1,919 | 74 | /**
* @file Sstruc Colormaker
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { ColormakerRegistry } from '../globals'
import Colormaker, { StuctureColormakerParams, manageColor } from './colormaker'
import AtomProxy from '../proxy/atom-proxy'
import ResidueProxy from '../proxy/residue-... |
96a0a525d10ecb9f4fe243ff93745dc760a5e63385357262da46720142891ae8 | TypeScript | 1,920 | 56 | /**
* 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... |
5fc78bfb7a527c89369636a2432ba61a882891862a6c5d835e9a57ab7ec41240 | TypeScript | 1,921 | 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... |
db60c3ad64bc64f82130af4cbbbe336ed6051246310caf75bf2e7465d8b89d3c | TypeScript | 1,921 | 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... |
dd7cb12ed5e933783e536f35425e00f10e96dc9abb5861ace39f46f213e0b7f0 | TypeScript | 1,922 | 78 | import { Component, EventEmitter, Input, Output, inject, ViewChild } from "@angular/core";
import { BehaviorSubject, combineLatest } from "rxjs";
import { map, switchMap } from "rxjs/operators";
import { SxplrTemplate } from "src/atlasComponents/sapi/sxplrTypes";
import { MatTableDataSource, MatPaginator } from "src/sh... |
76f80faa86f1afaabb8123d18f57d5e2a7315cbfd3bf69bc48a9136209574cf7 | TypeScript | 1,924 | 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... |
05116fc75cbabd30e4e1bee38016555bd1035957ec5f286390d6e300e760195b | TypeScript | 1,927 | 56 | /**
* 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... |
a63bf868a75ed1f43419c5a0fa04b7b3b5960330f9053298f7823809315a04fc | TypeScript | 1,928 | 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... |
270a0cfedba0bf3ce5d80769e56ea01faa4d5f069f017e06d9ba136733192045 | TypeScript | 1,931 | 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... |
b3756e3936fde1448ed4c8268ee3a41af91fc0826e9c359421b6fc74c7c16461 | TypeScript | 1,933 | 74 | /**
* 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... |
b5ea16404f03f9d04f9ab8ee7aaf2b381cfab264b87855e073f55403a70aec54 | TypeScript | 1,935 | 54 | /**
* @file Kdtree
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { NumberArray } from '../types';
/**
* Kdtree
* @class
* @author Alexander Rose <alexander.rose@weirdbyte.de>, 2016
* @author Roman Bolzern <roman.bolzern@fhnw.ch>, 2013
* @author I4DS http://www.fhnw.ch/i4ds, 2013
... |
bf4d911066da9969d2d6e783b3f548294e3d702eb64f38ebb66f9355440e08a0 | TypeScript | 1,935 | 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.