sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
73d1e61fc4cf2e25b1c6d2f629fe2a167ed8f110f970c68089d8e210b6cb1d73
TypeScript
1,592
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...
995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399
TypeScript
1,592
33
/*! ***************************************************************************** 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....
62578e1925704baa358d4868003b03a7545f17140a49357e2ed8e7a39b91838e
TypeScript
1,593
76
export const allClassificationsConfig = `<View> <Text name="text" value="$text"></Text> <Choices name="choices" toName="text" fromPrediction="true"> <Choice value="Choice 1" /> <Choice value="Choice 2" /> </Choices> <DateTime name="datetime" toName="text"/> <Number name="number" toNa...
1986a848af2e2ba55da7545bfbbdd8544090ffd51485797e7985e33bafc35748
TypeScript
1,594
43
/** * Helpers for Django REST Framework-style `validation_errors` payloads returned * through {@link WrappedResponse} (see `callApi` / api-proxy). */ export type ValidationErrorsMap = Record<string, unknown>; /** * Reads `validation_errors` from a wrapped API error result. * Prefers `result.response.validation_e...
cdab4d5c5deebbde3437859a4b1814af873143dfb4a7f91a4f9ea3218ca9d7e8
TypeScript
1,595
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...
1fe9a72a25f467d453305ea271b563aa469b9202fbb94c607693e9946441814d
TypeScript
1,597
32
export const IDS = { ATLAES: { HUMAN: "juelich/iav/atlas/v1.0.0/1", RAT: "minds/core/parcellationatlas/v1.0.0/522b368e-49a3-49fa-88d3-0870a307974a", }, TEMPLATES: { BIG_BRAIN: "minds/core/referencespace/v1.0.0/a1655b99-82f1-420f-a3c2-fe80fd4c8588", MNI152: "minds/core/referencespace/v1.0.0/dafcffc...
473e29353a18de8b3753be6b66685eb72334b32d0766a72df808fca64392082d
TypeScript
1,597
43
/** * 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...
0ee8d594593127ff2e749021a3efc268a27cc3ab18679422495cd2fe4990ddf6
TypeScript
1,598
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...
4460c74072011f17c257f49755e9b89604610a15a57631afffd18358264cd74e
TypeScript
1,598
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...
a2cc97a2794574a83dc29b22b6291bda11d4410bba5434024a5558a848d291d4
TypeScript
1,598
37
/** * 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...
03ad2ca43b76fd572bfd579817f4c1d5947a4e3d2680792256f3a5064e8ebd0c
TypeScript
1,599
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 ...
e19f0fb2984859bd7a70a82319368e6d59f26ce0726b63dda5ea7e1d010309f5
TypeScript
1,600
59
import { CommonModule } from '@angular/common'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { EMPTY } from 'rxjs'; import { SAPI } from 'src/atlasComponents/sapi'; import { DARKTHEME } from 'src/util/injectionTokens'; import { FeatureViewComponent } from './feature-view.component'; import...
6523b314829c34382c11ad80114a968d3d05307b111f3746be70dfa6b165ab42
TypeScript
1,601
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...
ba0e6ab55f7954099f2664fb424cb756e212301e417c28aa27d923fa89b56b34
TypeScript
1,601
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...
8a85752de834389e83aa34fb33ce476105ed57aaf0405dbca33c56b3c4cdde41
TypeScript
1,602
63
import { HttpClient } from "@angular/common/http"; import { Injectable } from "@angular/core"; import { throwError } from "rxjs"; import { catchError, mapTo, switchMap, take } from "rxjs/operators"; import { IKeyValStore, NotFoundError } from '../type' import { environment } from "src/environments/environment"; import ...
3ee63387f59c91c8baf61ab6c3438dac4e0f7972eb4b752a87d10e973baab948
TypeScript
1,603
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...
8877151df399fefb2334e0de748fcef4dd92f0da75a0a34f41f0eb66818d76f1
TypeScript
1,603
42
import type { Capabilities, Distribution } from '../shared'; /** * Flat capability flags consumed by the upsell pipeline. The shape is * deliberately decoupled from the domain {@link Capabilities} / * {@link Distribution} so the upsell components don't have to know whether a * given signal came from the BE today, ...
b2da64c328ab208c3546e82cc7e3cf18b32a1b910ca885311c12afbead1cd295
TypeScript
1,603
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 ...
9c5b613014674052ade130d999a2cf840ceb5922d978bac76addb3f83bc41b55
TypeScript
1,605
53
/** * @file Edt * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { NumberArray } from '../types' // 2D Euclidean distance transform by Felzenszwalb & Huttenlocher https://cs.brown.edu/~pff/papers/dt-final.pdf export function edt(data: NumberArray, width: number, height: number, f: Numbe...
30bf28b017bf87c9807bafe724965d1ab06583eb7062db6fe7c3c9f760daac40
TypeScript
1,606
47
/* * 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 ...
59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867
TypeScript
1,606
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....
c6cb715177ade638cf71ced97881f2e38a48fce8cc6996eba7380889ac73bbe8
TypeScript
1,606
40
import { describe, expect, it } from "bun:test"; import { clipString, DEFAULT_STRING_TRUNCATE, formatNodeClipboardText, resolveInitialExpandDepth, resolvePathFilterQuery, resolveStringTruncate, VIRTUALIZED_DEFAULT_EXPAND_DEPTH, } from "./virtualized-json-viewer-utils"; describe("virtualized-json-viewer-u...
3d780f096750ee1caa285cbba3fd4820ea2984ad819a53fecbd5d22b30c3971b
TypeScript
1,607
45
/** * 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...
46faeae4e63c9da55d94c41aeae4239cf96a38b328cdcc641347ec1e2ea6597c
TypeScript
1,608
54
import { CommonModule } from "@angular/common" import { TestBed, async } from "@angular/core/testing" import { MAT_DIALOG_DATA } from "src/sharedModules/angularMaterial.exports" import { AngularMaterialModule } from "src/sharedModules" import { ComponentsModule } from "../components.module" import { ConfirmDialogCompon...
ac602e350f6a9b054690da6196388467eeee5102c6efa70c0d267d5a567f8a3e
TypeScript
1,612
40
/** * 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...
7a46470155125739d7846cf907b57e1a4bf881eece2f0818c938df50af939765
TypeScript
1,613
44
import type { UnityCatalogLocation } from './entities/trace_location'; /** * Databricks experiment tag keys carrying the linked UC trace location. * Matches Python's `MLFLOW_EXPERIMENT_DATABRICKS_TRACE_*` constants in * mlflow/utils/mlflow_tags.py. */ export const DATABRICKS_TRACE_DESTINATION_PATH_TAG = 'mlflow....
aa647c8cf56310c61ea7a4794090d7e4dd392fc06fab8b1c8e34cba72864995b
TypeScript
1,613
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...
f3c85b12d166123514c11c16e739c75a36d8df22bea3391f3375d0271f15204e
TypeScript
1,613
47
import { Injectable } from "@angular/core"; import { Actions, createEffect, ofType } from "@ngrx/effects"; import * as userInterface from "../userInterface" import * as atlasSelection from "../atlasSelection" import * as actions from "./actions" import { filter, map, mapTo, pairwise } from "rxjs/operators"; import { St...
ec355624b166fccb6a6e2b5ab3bd2b5f7f83a5d8999c79891af7372ff1338b66
TypeScript
1,615
36
/** * 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...
2c41d6638216cb6fb7efd9fa6135b49a67c5f3275f4a473a8f7dc2695fecefdc
TypeScript
1,617
39
import type { AssetArgs, ResourceType } from '../shared'; import type { NodeSummary } from '../types'; /** * Resource types whose `unique_id` is a bare name (no * `<resource_type>.<package>.<name>` prefix). Today this is only * `saved_query` — `dbt.saved_queries` holds ids like * `dbt_invocations_by_billing_email`...
f11730bb9e709988c17ab46b5f407a6897038040b9b3b34ac30e37233fdba4c4
TypeScript
1,622
76
import { createSelector } from "@ngrx/store" import { nameSpace, AtlasSelectionState } from "./const" export const viewerStateHelperStoreName = 'viewerStateHelper' export const selectStore = (state: any) => state[nameSpace] as AtlasSelectionState export const selectedAtlas = createSelector( selectStore, state =>...
2852c6dda8e0d77f29405d707e32b4eaddb955d462fecb67136ea4213a47c161
TypeScript
1,623
34
/** * 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...
c2a3daeaa2112d1ba11f62e1c7add69fe2548c9197488af2c5a10f6e5d9ed259
TypeScript
1,623
42
/** * 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...
c2fd1d7ba441ff7d0275b97c36802ad6d497ba1a0c06b7616e624f2bfea68b3e
TypeScript
1,623
64
/** * @file Adjacency List * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ export interface Edges { nodeArray1: ArrayLike<number> nodeArray2: ArrayLike<number> edgeCount: number nodeCount: number } export interface AdjacencyList { /* number of edges for each node */ countArray: Ui...
c8ca15420530f4369aac95d7132881c2f9f2976183b62d42c23f7ef15ad93bd4
TypeScript
1,623
32
/* * 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 ...
0187e8cad85f411fbf2d5d9b3d6fc428670f8fa979e8ae10fb9312b90e4df44a
TypeScript
1,625
60
/** * @file Geoquality 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 { countSetBits } from '../math/m...
dec9084e9d9a2b80473d78cf28856761e1f11bc93237a73cb20986f51bfe3b80
TypeScript
1,627
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...
4f63c38c458c5ddaf662c03e9d6852f6e3f74f6f201e1693078370bd954ba6a0
TypeScript
1,628
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 ...
ce469ce44b042bf38a272515f5b7c809b3971271b1987a43940941c034de4901
TypeScript
1,628
57
/** * @file Principal Axes * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Vector3, Matrix4, Quaternion } from 'three'; import { Matrix } from './matrix-utils'; import Structure from '../structure/structure'; /** * Principal axes */ declare class PrincipalAxes { begA: Vector3; ...
6a533ed54db987eafa3f86865425470ad2b93f2a67c8598155052a6b43a33fc8
TypeScript
1,630
63
/** * @file Rope Representation * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { RepresentationRegistry } from '../globals' import { defaults } from '../utils' import CartoonRepresentation, { CartoonRepresentationParameters } from './cartoon-representation' import Helixorient from '../...
182ca79bb1b789e38739aedff1499066d8cdb2c34027ccb6324a3f70d175d3b9
TypeScript
1,631
39
import { type Instance, type SnapshotIn, types } from "mobx-state-tree"; import { guidGenerator } from "../utils/unique"; export type CustomButtonType = Instance<typeof CustomButton>; export type CustomButtonSnType = SnapshotIn<typeof CustomButton>; /** * Custom buttons that can be injected from outside application. ...
5327fa3b492635da22d35f76c141182e74d5da83b6df0ffb0a88b614944f5889
TypeScript
1,632
42
import { useQuery } from '@tanstack/react-query'; import { useMetadataDataSource } from '../context/MetadataDataProvider'; import type { AssetArgs } from '../typings/args'; import type { Asset } from '../typings/domain/asset'; import type { ExecutionInfo } from '../typings/domain/executionInfo'; import { assetKey } fr...
2e5476592c9b993746a46615a02b91c6748831d674fa907c075d65c010db2889
TypeScript
1,633
43
/** * 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...
f8aab16e834a4e2f7c2284af84f418f759ef85a0f45784a0322b270b9f167336
TypeScript
1,633
34
import {bearer} from '../fixtures/auth'; import {expect, test} from '../fixtures/test'; // Exercises the login page itself, so it must start unauthenticated. test.use({storageState: {cookies: [], origins: []}}); test('logs in with a client token and lands on the workflows list', async ({page, loginPage}) => { awa...
14b3663bd9a9ad9d011e0ba3f2d5fe5fd291b169e9f49851796ba940319a91d8
TypeScript
1,634
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...
a5aa019688daefe9205fe4d2c564aa09d4dbfc54eea23a655847749375bbc50d
TypeScript
1,634
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...
fb2dd80c62346487f3a700cabcf884a0d04608cc9b2f55f8b47ddba24523b9dc
TypeScript
1,635
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...
850d29d4298bc876cd8301ed9289f90dacfeeac0af6d93df60b8da2f78d074e9
TypeScript
1,636
71
import { Directive, OnDestroy, Output, EventEmitter, Input, OnChanges, SimpleChanges, HostBinding } from "@angular/core"; import { FabSpeedDialService } from "./fabSpeedDial.service"; import { Subscription } from "rxjs"; import { SCALE_ORIGIN } from './fabSpeedDial.service' import { distinctUntilChanged } from "rxjs/op...
103c6d498a01250d624c8ceb434e14e9f124e5394e8d124ad13f8302d11e72d9
TypeScript
1,637
47
import type { UpsellAnalyticsEvent } from '../shared'; import { trackReferralLinkClicked, trackUpsellEvent } from './telemetry'; /** * Map a shared {@link UpsellAnalyticsEvent} from the metadata-shared upsell * components onto the docs-v2 analytics wire events. A single handler is wired * at every upsell render sit...
cdad21ec1e8a137867e2130b5eda7d61bf4ab639f5dda5f7b16fc1bf6c1318ef
TypeScript
1,637
77
import { Directive, EventEmitter, HostListener, Input, Output, TemplateRef } from "@angular/core"; import { MatDialog, MatDialogConfig, MatDialogRef } from 'src/sharedModules/angularMaterial.exports' import { DialogFallbackCmp } from "./tmpl/tmpl.component" type DialogSize = 's' | 'm' | 'l' | 'xl' | 'auto' const size...
4880013bd90b5ac2639c09ac00b8ff8398cc53b643cca611e12a53e72f563ba8
TypeScript
1,638
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...
773376db8977a184694c8815f12dc04d008fe1d170522da9c65f0218fb6f077d
TypeScript
1,638
53
/** * Tests for string utilities (camelCase, snakeCase, kebabCase, capitalize, startCase). * Validates the es-toolkit/compat re-exports behave as expected. */ import { camelCase, capitalize, kebabCase, snakeCase, startCase } from "./string"; describe("camelCase", () => { it("converts space-separated words to cam...
23741063b607a35265010e75622b54b9ae7b703024eaa969cb6072ece7d4eda1
TypeScript
1,640
61
import { useHotkeys } from "react-hotkeys-hook"; import { pascalCase } from "@humansignal/core"; import { keymap } from "./keymap"; export type Hotkey = { title: string; shortcut?: string; macos?: string; other?: string; }; const readableShortcut = (shortcut: string | null | undefined) => { if (!shortcut ||...
e67a6f45c621d80d8c454754756acc9e0b8ada4b9b6cb199a851e4971997629b
TypeScript
1,640
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 ...
6ef7213a3e6da035d335d51f04cb96a8dd602b6c81649c0eb67412de2a4a3cb1
TypeScript
1,641
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...
185158fe6536e96e8077a171bc487c5ec1d6257b188de39a91f39edd2aaf9828
TypeScript
1,642
47
import { Directive, ElementRef, Input, OnChanges, OnDestroy, OnInit, TemplateRef } from "@angular/core"; import { QuickTourService } from "src/ui/quickTour/quickTour.service"; import { EnumQuickTourSeverity, IQuickTourOverwritePosition, TQuickTourPosition, QuickTourSeverity } from "src/ui/quickTour/constrants"; @Direc...
230be98e7effb13de6d7b442fcb837f5286767a311715e41d666df4614b7865e
TypeScript
1,642
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...
578b9dccfd5a1142353d8c37e44ebaab60730f6ef8bf0ac83554de2893639c18
TypeScript
1,643
45
/** * @file Shape Component * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Component, { ComponentParameters } from './component'; import Stage from '../stage/stage'; import Shape from '../geometry/shape'; import { Vector3, Box3 } from 'three'; import RepresentationElement from './repres...
c68742eb184ed46cab82216cf237f1aca7e9d914de80ff59e2b48c0a8a01fe1e
TypeScript
1,643
52
import { CommonModule } from "@angular/common"; import { NgModule } from "@angular/core"; import { AuthModule } from "src/auth"; import { ComponentsModule } from "src/components"; import { FabSpeedDialModule } from "src/components/fabSpeedDial"; import { PluginModule } from "src/plugin"; import { UtilModule } from "src...
253cf9c9ff479debeee607b61c6dbadff7a5d7f7d60a2ebc802938fc514a6b1a
TypeScript
1,644
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 ...
60b3242530c8d6d74514d8f534bed1c2806f5f871fbd312c4c6f8c1979c4f0f0
TypeScript
1,644
38
import {execFileSync} from 'child_process'; // The UI is exercised in `client` auth mode: the argo-server reads an // `authorization` cookie whose value is a `Bearer <token>` string. We source // that token from the same place the Go e2e suite does — the // `argo-server.service-account-token` secret in the argo namesp...
cdc92612ff4ea284b9174b3ecccfb130b72dcb116ade2dd65af19ed005e14dbc
TypeScript
1,645
47
/** * 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...
4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d
TypeScript
1,649
46
/*! ***************************************************************************** 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....
b7274bf410f7842ed0283cb88b70995007f3104859222ade9cfed051fed153a3
TypeScript
1,649
45
/** * 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...
7a9b36418b8fc34a20b7f650c7ebe284a69ca9af0d7c1157899babbf45ed0671
TypeScript
1,651
34
/* 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...
f7846f2b98001c2d54f595aad340ef6ba56d9e54d31bff35f8e1be0d552f0282
TypeScript
1,652
58
/** * @file Atomindex Colormaker * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { ColormakerRegistry } from '../globals' import { defaults } from '../utils' import Colormaker, { StuctureColormakerParams, ColormakerScale, manageColor } from './colormaker' import AtomProxy from '../proxy...
ace005d4c1b80c0d5d4f286ad8e74bd8bef0bcfe49c597b832623ca03375939e
TypeScript
1,653
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 ...
2d96c0843d8d13a908a1f9090869f95d3dbf8bcd46644a929b59a1e13e2006a7
TypeScript
1,654
40
/* * 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 ...
989e6d470ab0f87200fca6b5e43df53afe2fdd574640c03ab2bb63711af10f2d
TypeScript
1,656
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...
c507431170fcbf011a96f48b46e0c45a6ff1e3a6baf4f957f5573d8812acf94d
TypeScript
1,656
51
/** * Read an env var and require a strictly positive integer. */ export const readPositiveInt = (envName: string, fallback: number): number => { const raw = process.env[envName]; if (raw === undefined || raw === '') { return fallback; } // `Number` (vs `Number.parseInt`) refuses trailing garbage and unit...
60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9
TypeScript
1,658
34
/*! ***************************************************************************** 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....
17ce8926380e7c5471d0430e640e9dcc85c34f68de76ad4831046e67a838cf3a
TypeScript
1,659
39
/** * @file Refine Contacts * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Structure from '../../structure/structure'; import AtomProxy from '../../proxy/atom-proxy'; import { FrozenContacts } from './contact'; export interface LineOfSightParams { lineOfSightDistFactor?: number; ...
ec18d1f79e70eaff6181f31dec0c02eabe82901c2aea5453dfe42aa428a464a7
TypeScript
1,659
47
/** * 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...
67362d887f982e59f048c9fe6c57d3fb673627aeab3a0087286c9dc7d03bca86
TypeScript
1,660
74
/** * @file Element * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import { Signal } from 'signals' import { createParams } from '../utils' import { generateUUID } from '../math/math-utils' import Stage from '../stage/stage' export const ElementDefaultParameters = { name: 'some element', ...
c9219a462c69c2d46c80e683ad6f68f0c0ce739c7efe6c4435eb1a2691a7b0eb
TypeScript
1,660
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...
c37467b300c1776bc72226f9fdb1893740a107a3c86367983bcc94de375778ac
TypeScript
1,662
68
import { Directive, EventEmitter, HostListener, Input, Output, TemplateRef } from "@angular/core"; import { MatDialog, MatDialogRef } from "src/sharedModules/angularMaterial.exports"; import { FileInputModal } from "./fileInputModal/fileInputModal.component"; import { IFileInputConfig, TFileInputEvent } from "./type"; ...
efa326cccc8adbe725f7e3dc2a31a44e170eb7da6227781dc7650ab14a64cacc
TypeScript
1,663
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...
07ff6e39436fe5a5848c6e10eeabcb15b610ea9a221383d6459ddf36d48dd906
TypeScript
1,664
60
/** * @file Functional Groups * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import AtomProxy from '../proxy/atom-proxy'; /** * Nitrogen in a quaternary amine */ export declare function isQuaternaryAmine(a: AtomProxy): boolean; /** * Nitrogen in a tertiary amine */ export declare function isTertiaryAm...
239506a6140d4090ab6b670c978466277e386f2fed338ea5c47b84264158f118
TypeScript
1,664
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 ...
6a833be3c36b3ad39174fcaedaa735672a768309b7252c50f4ca1160a3d4d341
TypeScript
1,664
43
/** * 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...
b9956ff08258b59af7ec54014ba27f8642f9383a436011d4d4a1517d2144fb74
TypeScript
1,664
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 ...
dd27f186e2e3909fbde11870bb29547469605e659beef2a7b71b463d4667679a
TypeScript
1,667
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...
bfa2b5f9ea00a13b817a18a64294cdc43bf5c05cc973ded1fa51fbd895ff6ac9
TypeScript
1,668
40
/* * 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 ...
1c33943d3cc689af5762aef42de6c98a5bfdad47548f1b638ce63b58e29c960a
TypeScript
1,670
45
/** * 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...
951854340e638fc777b4dbd570e9da75d23e408382e59e5904f20f69152f62aa
TypeScript
1,672
68
import { Directive, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output } from "@angular/core"; import { Subscription } from "rxjs"; import { ResizeObserverService } from "./windowResize.service"; @Directive({ selector: '[iav-window-resize]', exportAs: 'iavWindowResize' }) export class ResizeObserverDirecti...
d54935e99731f2e6f395333240b512d2cacbb96d58a831436319ed71d5b4037e
TypeScript
1,672
43
/** * 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...
9f50c8d323e75154cde1d967df73d49a7995ed2c2d1b3e861d6c68188013bc80
TypeScript
1,673
46
/* 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...
67f33baf6a00b1db57ce2076b7cb9bb1c3190f43eec9047d9579cb7668cdee9b
TypeScript
1,675
78
// Shared domain types for the PR Readiness Helper. Type-only module: it // strips to nothing at runtime, so always import from it with `import type`. export type SignalState = 'pending' | 'failure' | 'success' | 'not-applicable'; export interface SignalMatch { check: string; app?: string; } export interface Sig...
bde692de9698f1e9190f790867a2a9dfebad356ba1ae41624a72e291b206ded4
TypeScript
1,676
78
import { getUuid } from "./fn" const MM_ID_ALT = "id.link/mm" as const export const MM_ID = "https://openminds.om-i.org/instances/unitOfMeasurement/millimeter" as const export const MM_IDS = [ MM_ID_ALT, MM_ID ] export const QV_T = "https://openminds.om-i.org/types/QuantitativeValue" as const type TSandsQValue = { '...
e5eac418c3550c41b9844b3144e45a7ce529e8155a32a8e3bcc54ba69ac524af
TypeScript
1,676
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...
1b5955690c49d1ab71fd1147cc621ae22ece427eea268b9b753e69fd4dbfd120
TypeScript
1,677
45
/* 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...
40a952615855233cb1b52ad2d0932bd17417198fa29f2a6bc5e6144082a3739e
TypeScript
1,679
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 ...
4e4ea81817adfce14abc01e670a31bb669aef729679f8a5ec04487c9b7ffad3a
TypeScript
1,680
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...
c6cf3e1317e1e557367fe233e6fc47e685ef7066d41a20ca095d0f4630cc0ae1
TypeScript
1,680
56
/** * Unit tests for NormalizationMixin (mixins/Normalization.ts) */ import { types } from "mobx-state-tree"; import NormalizationMixin from "../Normalization"; const TestModel = types.compose(NormalizationMixin); describe("NormalizationMixin", () => { it("has default empty meta", () => { const model = TestMo...
9b57b898d51f0186dd4e96051d6c19d193932b564a7ee75cd661af9556b5713a
TypeScript
1,682
52
import { useCallback, useEffect, useState } from 'react'; export type Theme = 'dark' | 'light' | 'system'; const STORAGE_KEY = 'dbt-docs-v2:theme'; const DEFAULT: Theme = 'dark'; function read(): Theme { try { const raw = localStorage.getItem(STORAGE_KEY); return raw === 'light' || raw === 'dark' || raw ===...
165999b7d364e7e2f411c0b35f1a9b4de62d526ed6457184b4d2554062b8cede
TypeScript
1,685
74
/** * @file Chain Store * @author Alexander Rose <alexander.rose@weirdbyte.de> * @private */ import Store, { StoreField } from './store' /** * Chain store */ export default class ChainStore extends Store { entityIndex: Uint16Array modelIndex: Uint16Array residueOffset: Uint32Array residueCount: Uint32Ar...
510d91c5f7b78154e8603819b90924037c0255a50fc24080d24de92b74104be2
TypeScript
1,685
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...
ee140d5c44646b0522f04e0785acc40a0f22e5cedeaf52c81ede5ac595a8d5af
TypeScript
1,686
58
/** * @file PDB Europe Datasource * @author Paul Pillot <paul.pillot@tandemai.com> * @private */ import { Log, DatasourceRegistry } from '../globals' import { getFileInfo } from '../loader/loader-utils' import Datasource from './datasource' const baseUrl = '//www.ebi.ac.uk/pdbe/entry-files/download/' // Examples...
f7abbdaa458a6b0ded285aaf57731fb5dca6bb394458ffc03d60ac79336f8e0f
TypeScript
1,689
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...
634e458a283ee5dbdb3130a600c34be065a19dbeb2173eb3df6bdf4acc5fbcda
TypeScript
1,691
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...