id
stringlengths
1
3
code_masked
stringlengths
797
182k
target
stringlengths
3
41
200
import { BuildableType, BuilderType, JSObject, Nullable } from 'javascriptutilities'; import { MiddlewareFilter, RequestType, RequestBuilderType } from 'jsrequestframework'; export let builder = (): Builder => new Builder(); /** * Represents a GraphQL request. * @implements {BuildableType<Builder>} Builda...
buildable
201
import { assertEquals } from '@std/assert'; import { assertSnapshot } from '@std/testing/snapshot'; import { assert } from "@std/assert/assert"; const textDecoder = new TextDecoder('utf-8'); const textEncoder = new TextEncoder(); Deno.test("arg_get", async (t) => { const output = await new Deno.Command("wasmtime"...
process
202
/* Copyright 2020-2021. Huawei Technologies Co., Ltd. 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 https://www.apache.org/licenses/LICENSE-2.0 Un...
result
203
import { readMetadata } from '../services/readMetadata'; import { deleteLoginAction } from '../services/deleteLoginAction'; /** * Ensure the V1 Action exists. */ export function v1LoginActionMustExist() { Cypress.log({ message: '**--- Action check: start**' }); readMetadata().then(response => { const [MASK...
actionExists
204
// import * as fs from 'fs'; import * as commander from 'commander'; const zlogger = require('zlogger'); // import * as ConsoleLogger from 'zlogger'; export interface IOption { typescript: boolean; host?: string; source?: string; } const defaultOption: IOption = { typescript: false, source: 'static', }; /...
input
205
import { Injectable, Inject } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { stringify } from 'querystring'; @Injectable() export class AccountService { constructor(private http: HttpClient,@Inject('BASE_URL') private baseUrl: string){ } ...
userId
206
"use strict"; import * as assert from "assert"; import { Promise } from "es6-promise"; import * as fs from "fs"; import * as request from "request"; export class Imageclassification { private apiKey: string; private baseUrl: string; constructor( apiKey: any, baseUrl: string = "https://sandbox.api.sap....
body
207
import dbConnect from '../../src/middleware/mongodb'; import Image from '../../src/api/db/ImageUrl'; import initMiddleware from '../../src/middleware/init-middleware'; import { v4 as uuidv4 } from 'uuid'; import multer from 'multer'; const upload = multer(); export const config = { api: { bodyParser: false, }, }; c...
found
208
// 右键扩展 import editor from '@/store/editor' import EventEmitter from '@/utils/EventEmitter' import { isAppendAction } from '@/utils/BpmnDesignerUtils' import type Modeler from 'bpmn-js/lib/Modeler' import type PopupMenu from 'diagram-js/lib/features/popup-menu/PopupMenu' import type { Element } from 'diagram-js/lib/mo...
offset
209
import { Recorder } from './recorder'; export class Observer { protected _options: any; protected _recorder: Recorder; protected _media: HTMLVideoElement; protected _is_live: boolean; constructor(media: HTMLVideoElement, options?: any) { this._options = options this._media = media; ...
video_playback_quality
210
import { Application } from "./Application"; import { Renderer } from "../renderers/Renderer"; import { TextureFormat } from "../resources/TextureFormat"; export abstract class WindowApplication extends Application { protected _date: Date protected _windowTitle: string protected _xPosition: number pro...
theApp
211
import * as http from 'http'; import * as fs from 'fs'; import { IDataConnector } from '../libs/dataconnector/dataconnector'; import { DatabaseConnector } from '../libs/dataconnector/databaseconnector'; import { FileConnector } from '../libs/dataconnector/fileconnector'; import { CMSResources } from '../libs/cms/resou...
cmsFormItems
212
import { Component, OnInit } from '@angular/core'; import { select, Store } from '@ngrx/store'; import { includes, toLower } from 'lodash-es'; import moment from 'moment'; import { FormGroupState } from 'ngrx-forms'; import { NgrxAutocompleteConverter, NgrxDateToISO8601UTC, } from 'ngrx-forms-material'; import { Ng...
field
213
type JsonPrimitive = string | number | boolean | null | undefined; type JsonArray = JsonAny[]; type JsonAny = JsonPrimitive | JsonArray | JsonObject; interface JsonObject { [key: string]: JsonAny; } /** https://docs.splunk.com/Documentation/Splunk/latest/Data/FormateventsforHTTPEventCollector */ interface HecOverri...
fullEvent
214
import axios from 'axios'; import type { Logging } from 'homebridge'; export interface ControlDProfile { PK: string; name: string; updated: number; disable_ttl?: number; profile?: { da?: { status: number; do: number; }; }; filteringEnabled?: boolean; // Helper property to track filter...
isZero
215
import {OfferStoreSelectors} from './offer-store'; import {DictionaryStoreSelectors} from './dictionary-store'; import {createSelector, MemoizedSelector} from '@ngrx/store'; import {ExtraChannel, Hardware, InvoiceRow, Service, Summary} from '../models'; import {DemoStoreSelectors} from './demo-store'; export const sel...
intervalsDict
216
'use server' import admin from "@/lib/firebase/firebase-server"; import { prisma } from "@/lib/prisma"; import { ERROR_CODES } from "@/lib/responses/errors"; import { CODES_SUCCESS } from "@/lib/responses/success"; export async function signInWithFirebase( [MASK] : string) { try { const user = await prisma.user....
uid
217
import { DType } from "../types/dtypes"; import { Connection, ConnectionChangedCallback, ValueChangedCallback, SubscriptionType, DeviceQueriedCallback } from "./plugin"; export class ConnectionForwarder implements Connection { private prefixConnections: [string, Connection | undefined][]; private connect...
valueCallback
218
import { Component, OnInit } from '@angular/core'; import { CommonModule } from '@angular/common'; import { ActivatedRoute, Router, RouterModule } from '@angular/router'; import { FormBuilder, FormGroup, Validators, ReactiveFormsModule } from '@angular/forms'; import { MatButtonModule } from '@angular/material/button';...
type
219
import { v } from "convex/values"; import { internalQuery, mutation, query } from "./_generated/server"; import { vDocumentId } from "./schema"; import { hash as sha256 } from "fast-sha256"; export const submitSnapshot = mutation({ args: { documentId: vDocumentId, data: v.bytes(), debugDump: v.optional(v...
binary
220
import { App, Editor, MarkdownView, Modal, Notice, Plugin, PluginSettingTab, Setting, requestUrl, TFile } from 'obsidian'; interface Workspace { name: string; slug: string; } interface AnythingObsidianSettings { apiKey: string; rootUrl: string; workspaces: Workspace[]; selectedWorkspaces: string[]; syncedFolde...
localKeys
221
import TheaterModel from "../models/theaters.model"; import { Request, Response } from "express"; export const getTheaters = async (req: Request, res: Response) => { const page: number = Number(req.query.page); const moviesPerPage: number = Number(req.query.moviesPerPage) try { const theaters = aw...
Cityname
222
import { Component, OnInit } from '@angular/core'; import { Location } from '@angular/common'; import { ScenarioDetailService } from '../scenario-detail/scenario-detail.service'; import { SettingsTable } from '../scenario-new/scenario-new'; import { ScenarioNewService } from '../scenario-new/scenario-new.service'; impo...
scenarioIDsToCompare
223
"use server" import { sql, isUniqueViolation } from "@/lib/db" export async function requestEarlyAccess( [MASK] : FormData) { const email = [MASK] .get("email") as string if (!email) { return { success: false, message: "Please provide your email address.", } } try { await sql` ...
formData
224
import { ElevenLabsClient } from "elevenlabs"; import * as admin from "firebase-admin"; import { FieldValue } from "firebase-admin/firestore"; import * as functions from "firebase-functions"; import * as stream from "stream"; import config from "./config"; import { GenerateAudioRequest } from "./types"; import { buildR...
change
225
import { describe, expect, test } from "vitest"; import { Result } from "../src/index"; import type { ErrorResultType, SuccessResultType } from "../src/index"; describe("Result utility", () => { describe("Result.ok", () => { test("should create a success result with default type", () => { const result = Result.o...
invalidParse
226
import express from 'express'; import bcrypt from 'bcryptjs'; import jwt from 'jsonwebtoken'; import { OAuth2Client } from 'google-auth-library'; import { putItem, getItem, updateItem } from '../../packages/shared/src/dynamo'; import { policyMiddleware } from '../../packages/shared/src/policyMiddleware'; import { initS...
match
227
import { readFile } from "node:fs/promises"; import type { PathLike } from "node:fs"; // type Digit = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0; // type Month = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; // type Day = // | `${Month}` // | 13 // | 14 // | 15 // | 16 // | 17 // | 18 // | 19 // | 20 ...
vList
228
// eslint-disable-next-line @typescript-eslint/triple-slash-reference /// <reference path="./poker.commanding.api.d.ts" /> import { getAuthToken, setAuthToken } from "@poker/api-server"; import * as $ from "jquery"; import * as ko from "knockout"; import { appConfig } from "poker/appconfig"; import { authManager } from...
websiteService
229
import {PAGASADocument} from "../scraper/PagasaScraper"; export function findCycloneNumber(name: string) : [number, number] { const [MASK] = name.toLowerCase(); for (const [year, set] of Object.entries(CycloneNames)) { for (let id = 0; id < set.length; id++) { const name = set[id]...
toFind
230
import { ChangeDetectorRef, Component, ElementRef, EventEmitter, forwardRef, Input, OnInit, Output, Renderer2, ViewChild } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; /** * Component that wraps the native HTML5 color picker for supported browsers...
updateValue
231
/// <reference lib="webworker" /> const CACHE_NAME = 'rural-societies-v1'; const OFFLINE_URL = '/offline.html'; self.addEventListener('install', (event: ExtendableEvent) => { event.waitUntil( caches.open(CACHE_NAME).then((cache) => { return cache.addAll([ OFFLINE_URL, '/', '/index....
cacheNames
232
import {multiselection_style} from "../utils/style_manager"; import {multiView, viewOption, viewOptionClicked} from "../css/multiselection.css"; import {windowMain} from "../css/index.css"; export class MultiSelectionComponent { private page : {[key:string] : { container: JQuery<HTMLElement>, click...
menuElement
233
import {Directive, EventEmitter, HostListener, Input, OnChanges, Output, SimpleChanges} from '@angular/core'; import {fromEvent, Observable, of} from 'rxjs'; import {map, switchMap} from 'rxjs/operators'; export interface ImageResizeInputOptions { maxWidth: number; maxHeight: number; quality: number; ...
contentType
234
import { useState, useRef, useEffect, useCallback } from 'react'; import gsap from 'gsap'; import { ScrollTrigger } from 'gsap/ScrollTrigger'; import { ScrollToPlugin } from 'gsap/ScrollToPlugin'; gsap.registerPlugin(ScrollTrigger, ScrollToPlugin); interface HorizontalScrollOptions { itemSelector: string; } export...
targetCard
235
// SPDX-FileCopyrightText: 2022 Digital Dasein <https://digital-dasein.gitlab.io/> // SPDX-FileCopyrightText: 2022 <NAME> <<EMAIL>> // SPDX-FileCopyrightText: 2022 <NAME> <<EMAIL>> // // SPDX-License-Identifier: MIT import { html, css, LitElement } from 'lit'; import { property } from 'lit/decorators.js'; import { uns...
organisationEl
236
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import {Client4} from 'mattermost-redux/client'; import {Action, ActionFunc, DispatchFunc} from 'mattermost-redux/types/actions'; import {AppCallResponse, AppForm, AppCallType, AppCallRequest, AppContext} fr...
context
237
import { Octokit } from '@octokit/rest'; import { Callback, Context, Handler } from 'aws-lambda'; import * as AWS from 'aws-sdk'; import { CodePipelineEvent } from './codepipeline'; import { fetchParameters, getParameter } from './ssm'; const JSON_INDENT = 2; export const handler: Handler = async ( event: CodePipe...
githubToken
238
import {Provider} from "../../utils/decorators/provider"; import * as Hapi from '@hapi/hapi'; import {ClockService} from "./clock.service"; import { validateDate, validateClock } from "./clock.validator"; import { ClockDto } from "./data/clock.dto"; @Provider() export class ClockController { constructor( p...
clocks
239
import { Tokens } from '@/types/app-request'; import { AuthFailureError, InternalError } from '@core/ApiError'; import JWT, { JwtPayload } from '@core/JWT'; import { Types } from 'mongoose'; import { IUser } from '@model/User/User'; import { tokenInfo } from '../config'; import { Credential, CredentialModel } from '@mo...
refreshTokenKey
240
import {Component, OnDestroy, OnInit} from '@angular/core'; import {DeadLettersGridService} from "../deadletters-grid.service"; import {FormBuilder, FormGroup} from "@angular/forms"; import {debounceTime, filter, takeWhile, take} from "rxjs/operators"; import { MessageFilters, MessageTypeDto} from "../../portal-client"...
newFilters
241
import express = require('express') import { dbClient } from '../db' const MedicineRoute = express.Router() MedicineRoute.get('/', async (_, res) => { const { rows: results } = await dbClient.query('select * from medicines;') res.send({ res: results, }) }) MedicineRoute.post('/', async (req, res) => { co...
tomorrow
242
import { flags } from '@oclif/command' import { BaseCommand } from '../../base-command' import { GitSyncOptions } from '../../providers/harness/applications' export default class ApplicationsCreate extends BaseCommand { static aliases = ['app:create', 'apps:create', 'applications:create', 'application:create'] ...
gitSyncOptions
243
import dotenv from 'dotenv'; import fs from 'fs'; import { ethers } from 'hardhat'; import { OraclePredeploy } from '../types'; import { waitNBlocks } from './utils'; const network = process.env.HARDHAT_NETWORK; const CiphertextType = { 0: 'bool', 1: 'uint8', // corresponding to euint4 2: 'uint8', // correspon...
eventDecryptionResult
244
// Copyright 2020 <NAME> // SPDX-License-Identifier: Apache-2.0 import {Bech32, Blake2b} from "@iota/crypto.js" import * as wasmlib from "wasmlib" // Thank you, @iota/crypto.js, for making my life easy export class Codec { public static bech32Prefix: string = "smr"; public static bech32Decode(bech32: string)...
iscAddr
245
import { ItemEventData } from "ui/list-view" import { SearchBar } from "ui/search-bar"; import { Component, ElementRef, OnInit, ViewChild } from '@angular/core'; import { CFAlertDialog, DialogOptions, CFAlertGravity, CFAlertActionAlignment, CFAlertActionStyle, CFAlertStyle } from 'nativescript-cfale...
cmdLoad
246
import EventEmitter from "node:events" import Log from "./log.js" import Redis from "./redis.js" /** * @class GameState * @description handle game updates from Redis and maintain local state */ export default class GameState extends EventEmitter implements Game.State { public gameType = Game.Type.CUSTOM public ga...
enableTurnByTurnUpdates
247
/* * (C) Copyright 2017 Hewlett Packard Enterprise Development LP * * 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.apache.org/licenses/LICENSE-2.0 * * U...
promiseChain
248
"use client" import type React from "react" import { useCallback, useRef, useState, type ChangeEvent, type DragEvent, type InputHTMLAttributes, } from "react" export type FileMetadata = { name: string size: number type: string url: string // Can be server URL post-upload or preview URL id: strin...
found
249
export class Vector2 { x: number y: number constructor (x: number, y: number) { this.x = x this.y = y } } export class Vector3 extends Vector2 { z: number constructor (x: number, y: number, z: number) { super(x, y) this.z = z } } export interface Color { r: number g: number b: numb...
sizeProjection
250
import hre from "hardhat"; async function Deployer( [MASK] :string){ try{ const ContractFactory = await hre.ethers.getContractFactory( [MASK] ); const risc0VerifierContractAddressSepolia = "0x925d8331ddc0a1F0d96E68CF073DFE1d92b69187"; const risczeroVerifierContractAddressHole = "0xf70aBAb...
contractName
251
import Clang from "./clang.js"; import LLD from "./lld.js"; export { Clang, LLD }; export type FileList = { [fileName: string]: string | ArrayBuffer }; export type CompilationJob = { source: string; fileName: string; flags: string[]; extraFiles?: FileList; }; export type CompilationResult = { compileOutpu...
inputFile
252
import {Service} from "typedi"; import {LoggingService} from "./logging-service"; import * as fs from 'fs'; import * as path from 'path'; @Service() export class FileSystemHelper { constructor(private readonly _loggingService: LoggingService) { } createFolderIfNotExist(fullPath: string): boolean { if (!fs....
fileName
253
/* eslint-disable @typescript-eslint/no-unused-vars */ import { Address, isSome, IAccountMeta, IAccountSignerMeta, IInstruction, Option, TransactionSigner, } from "@solana/kit" /* eslint-enable @typescript-eslint/no-unused-vars */ import BN from "bn.js" // eslint-disable-line @typescript-eslint/no-unused-...
buffer
254
import type { API, Characteristic, DynamicPlatformPlugin, Logging, PlatformAccessory, PlatformConfig, Service } from 'homebridge'; import { SwitchAccessory } from './switch-accessory.js'; import { PLATFORM_NAME, PLUGIN_NAME } from './const.js'; import type { PushoverNotificationConfig } from './types.js'; import { Push...
pushoverClient
255
import { Injectable } from '@angular/core'; import { Plugins, CameraResultType, Capacitor, FilesystemDirectory, CameraPhoto, CameraSource } from '@capacitor/core'; const {Camera, Filesystem, Storage} = Plugins; @Injectable({ providedIn: 'root' }) export class PhotoService { public photos: Photo[] = []; private...
capturedPhoto
256
import { BrowserHeaders } from "../src/BrowserHeaders"; import { getHeaderValues } from "../src/util"; const { deepEqual, ok } = require("assert"); declare function describe(name: string, test: () => void): void; declare function it(name: string, test: () => void): void; // Declare that there is a global property na...
toInit
257
import Fastify from "fastify"; import alertRoutes from "../feature/alert/routes/alert.routes"; import cors from "@fastify/cors"; import helmet from "@fastify/helmet"; jest.mock("fastify"); jest.mock("@fastify/cors"); jest.mock("@fastify/helmet"); jest.mock("../feature/alert/routes/alert.routes"); jest.mock("../feature...
reply
258
import { CreateChatTokenResponse } from '@aws-sdk/client-ivschat'; import { chatSdk, ddbSdk } from '@Lambda/sdk'; import { APIException, CreateChatTokenBody } from '@Lambda/types'; import { createErrorResponse, createSuccessResponse, getUserData } from '@Lambda/utils'; import { APIGatewayProxyResultV2, APIGat...
userData
259
import { HttpClient } from '@angular/common/http'; import { Component, OnInit } from '@angular/core'; import { AbstractControl, FormBuilder, FormGroup, Validators } from '@angular/forms'; import { MatSnackBar } from '@angular/material/snack-bar'; import { environment } from '../environment'; import { FileService } from...
caFileName
260
import { use, expect, assert } from 'chai' import { ethers } from "ethers" import { deployContract, solidity } from 'ethereum-waffle' import { waffle } from "@nomiclabs/buidler"; // The actual contract import DKG from "../build/DKG.json" use(solidity); describe('DKG', () => { const provider = waffle.provider; ...
pubkey1
261
import { Component, OnInit } from '@angular/core'; import { FormControl } from '@angular/forms'; import { MatAutocompleteActivatedEvent } from '@angular/material/autocomplete'; import { MatIconRegistry } from '@angular/material/icon'; import { DomSanitizer } from '@angular/platform-browser'; import { Subject } from 'r...
encodedSVG
262
import { HardhatRuntimeEnvironment } from "hardhat/types"; import { DeployFunction } from "hardhat-deploy/types"; interface ConstructorArgs { root: string; totalUsesPerConsumer: number; tokenAddress: string; voucherValue: number; } const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {...
vaultDeployment
263
import type { DynamicData, SyncData } from '../common'; // 优先发布图文 export async function DynamicDouban(data: SyncData) { const dynamicData = data.data as DynamicData; console.debug('DynamicDouban', data); // 辅助函数:等待元素出现 function waitForElement(selector: string, timeout = 10000): Promise<Element> { return n...
fileInput
264
import { get, post } from '$lib/api'; export type ModelLabel = { default: string | number; type: string; comment: string; required: boolean; }; export interface ModelOption { model: Record<string, ModelLabel>; trainer: Record<string, ModelLabel>; } export const getModelOptions = async () => { const res = await ...
modelType
265
import NextAuth, {AuthOptions} from "next-auth"; import Credentials from "next-auth/providers/credentials"; import prismadb from "@/lib/prismadb"; import { compare } from "bcrypt"; import GithubProvider from "next-auth/providers/github"; import GoogleProvider from "next-auth/providers/google"; import { PrismaAdapter } ...
isCorrectPassword
266
import * as fs from 'fs'; import * as path from 'path'; import { Organization, getClient, getOrderer } from './client'; import config from './config'; const CHANNEL_1_PATH = './../ksachdeva-exp-channel-1.tx'; async function main() { const [MASK] = await getClient(Organization.ORG1); const orderer = await getOr...
org1Client
267
function escapeBrackets(text: string): string { const pattern = /(```[\S\s]*?```|`.*?`)|\\\[([\S\s]*?[^\\])\\]|\\\((.*?)\\\)/g; return text.replace( pattern, ( match: string, codeBlock: string | undefined, [MASK] : string | undefined, roundBracket: string | undefined, ): string ...
squareBracket
268
import axios, { AxiosResponse } from "axios"; import baseURL from "./index"; //const baseURL: string | undefined = "http://localhost/api"; const api = axios.create({ baseURL, }); export interface Stuff { id: number; name: string; price: number; img: string; type: string; rating: number; } export inter...
filters
269
import type { RayHandler } from "./RayHandler"; import { ShadowShader, WithoutShadowShader, GaussianShader, DiffuseShader, createShadowShader, createDiffuseShader, createWithoutShadowShader, createGaussianShader, } from "./shaders"; import { VertexBufferObject } from "./utils/VertexBuffe...
fboHeight
270
import { Component, OnInit } from '@angular/core'; import { fabric } from 'fabric'; import { SocketWebService } from '../services/socket-web.service'; import * as uuid from 'uuid'; import { THIS_EXPR } from '@angular/compiler/src/output/output_ast'; @Component({ selector: 'app-canvas', templateUrl: './canvas.compo...
arrowEvent
271
// (C) Copyright 2015 Moodle Pty Ltd. // // 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.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
totalSize
272
import { CreateNoteRequest } from "./types/createNoteRequest.js"; import { NoteResponse } from "./types/noteResponse.js"; import { PaginatedResponse } from "./types/paginatedResponse.js"; import { UpdateNoteRequest } from "./types/updateNoteRequest.js"; export interface ApiInterface { getNotes( pageNumber: numbe...
baseUrl
273
import ax, { AxiosError } from "axios"; import { getSession, signOut } from "next-auth/react"; const axios = ax.create({ baseURL: process.env.NEXT_PUBLIC_BASE_URL, headers: { post: { "Content-Type": "application/json", }, }, }); axios.interceptors.request.use(async (request) => { const [MASK] ...
tokenDefault
274
import { endpoint,account,namespace,expiration,xAuthEmail,xAuthKey } from "../env" const headers = { "X-Auth-Email": xAuthEmail, "X-Auth-Key": xAuthKey, 'Access-Control-Allow-Origin': '*', "Content-Type": "application/json" } const keyURL = endpoint + account + namespace + "_noKeys" + expiration /** * This f...
existing
275
// Arquivo: router.ts import { Router } from "express"; import { isValidateObjectRequest } from './helpers/validate'; import { loadContatos, saveContato } from './helpers/load-data'; const router = Router(); router.get('/', function (req, res) { res.send({ api_name: 'api-contatos', descricao: 'AP...
mensagem
276
import { CanActivate, ExecutionContext, HttpStatus, Injectable } from '@nestjs/common'; import { Reflector } from '@nestjs/core'; import { JwtService } from '@nestjs/jwt'; import { Request } from 'express'; import appConfig from '../../config/auth.config'; import { IS_PUBLIC_KEY } from '../helpers/skipAuth'; import * a...
payload
277
import type { AbstractMesh } from '@babylonjs/core/Meshes/abstractMesh' import { PhysicsAggregate } from '@babylonjs/core/Physics/v2/physicsAggregate' import { moveTowards } from '../utils/utils.ts' import type { Scene } from '@babylonjs/core/scene' import type { AnimationGroup } from '@babylonjs/core/Animations/animat...
textureHeight
278
import { Game } from "crystal-maze"; import { memory } from "crystal-maze/crystal_maze_bg"; const ACTIONS = [ "All off", "All but self toggle", "Toggle self", "On evens", "Off evens", "On odds", "Off odds", "Toggle ±1", "Toggle ±2", "Toggle ±3" ]; const game = Game.new(BigInt(new Date().getTime())...
displayedMapping
279
import { FieldType, LoadingState, dateTime } from '@grafana/data'; import { RelativeRangeCache } from 'RelativeRangeRequestCache/RelativeRangeCache'; import { QueryType, SiteWiseTimeOrder } from 'types'; import { generateSiteWiseRequestCacheId } from './cacheIdUtils'; describe('RelativeRangeCache', () => { const req...
requestDescending
280
import {v4 as uuid} from 'uuid'; import axios from "axios"; import * as log4js from 'log4js'; const logger = log4js.getLogger('azure-sentinel-dispatcher'); logger.level = process.env.LOG_LEVEL || 'info'; const express = require("express"); const { HTTP } = require("cloudevents"); const app = express(); const msal = req...
chunk
281
window.addEventListener("load", () => { // Handle disabling all relevant inputs if one patient selection method has been interacted with const patientInputs = Array.from( document.querySelectorAll<HTMLInputElement>(".patient-option input, .patient-option select") || [], ); patientInputs.forEach(...
otherInput
282
import { createAgent } from "@connectifi/agent-web"; let selectedChannel : string | null = null; document.addEventListener('DOMContentLoaded',async () => { const fdc3 = await createAgent('https://platform.connectifi.app', 'example@sandbox', { headless:true, onChannelJoined: joinHandler...
userChannels
283
import { MultiplicationTable } from "./MultiplicationTable" import { range } from "./utils" export class FiniteGroup<T> { private _identity: T get identity() { return this._identity } readonly order = this.table.size readonly elements = this.table.elements constructor (public readonly table: Read...
indexOfInverse
284
import { Address } from "@graphprotocol/graph-ts"; import { Creator } from "../../generated/schema"; import * as constant from "../constant"; import { getOrCreatePlatform } from "./platform"; export function getOrCreateCreator(id: Address): Creator { let [MASK] = Creator.load(id.toHex()); if ( [MASK] ) { re...
creator
285
import {logger} from "@atomist/automation-client"; import fs = require("fs"); import _ = require("lodash"); import stripJsonComments = require("strip-json-comments"); import {Cluster} from "./Cluster"; import {HttpAuth} from "./HttpAuth"; import {SubatomicConfig} from "./SubatomicConfig"; export class QMConfig { ...
configRaw
286
import { Component, OnInit, ViewChild, AfterViewInit, OnDestroy, ViewContainerRef } from '@angular/core'; import { Subscription } from 'rxjs'; import { ModalService } from './modal.service'; declare var $; @Component({ selector: 'app-modal', template: ` <div #inner></div> `, styleUrls: ['./modal.componen...
$event
287
import type { INetwork } from '@onekeyhq/engine/src/types'; import { CHAINS_DISPLAYED_IN_DEV } from '@onekeyhq/shared/src/engine/engineConsts'; import platformEnv from '@onekeyhq/shared/src/platformEnv'; import logoUrl from '@onekeyhq/kit/src/utils/data/logoUrl'; import { makeSelector } from './redux'; export type I...
subscript
288
import { HAQuerySelector, HAQuerySelectorEvent, OnListenDetail } from 'home-assistant-query-selector'; import HomeAssistantJavaScriptTemplates, { HomeAssistantJavaScriptTemplatesRenderer, HomeAssistant as HomeAssistantExtended } from 'home-assistant-javascript-templates'; import { HomeAssistant,...
matches
289
import { web3 } from "@coral-xyz/anchor"; import * as anchor from "@coral-xyz/anchor"; import idl from "@/utils/smart-contract/event_protocol.json"; import { EventProtocol } from "@/utils/smart-contract/event_protocol"; import { useAnchorWallet } from "@solana/wallet-adapter-react"; import { useUserStore } from "@/stor...
endpoint
290
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
downstreamLambdaWidget
291
/** * SPDX-License-Identifier: Apache-2.0 */ import * as WalletMigration from "fabric-wallet-migration"; import { Wallet, Wallets, X509Identity } from "fabric-network"; import { promises as fs } from "node:fs"; import * as os from "node:os"; import * as path from "node:path"; const oldWalletPath = path.resolve(__d...
oldIdentity
292
import { ModuleObserver } from './bus'; import { ModuleAction } from './models'; import { ModuleEvents, appKey } from './events'; import { Container } from './container-abstract'; export class Orchestrator<T> extends ModuleObserver { private bindTypeContainer = new Map(); private shippedContainersLabel = new Map()...
dependencies
293
import { Logger } from "log4js"; import Operator, { ResourceEventType, ResourceEvent, ResourceMeta, ResourceMetaImpl } from '@dot-i/k8s-operator'; import { setIntervalAsync, SetIntervalAsyncTimer } from 'set-interval-async/fixed'; import * as k8s from '@kubernetes/client-node'; import {Mutex} from 'async-mutex'; import...
reconcileInterval
294
import { DramaList } from '../../entity/HomepageData'; import HomepageData from '../../entity/HomepageData'; import Logger from '../../utils/Logger'; import EpisodeInfo from '../../entity/EpisodeInfo'; import VideoInfo from '../../entity/VideoInfo'; import EpisodeList from '../../entity/EpisodeList'; import VideoDetail...
keyword
295
import * as os from "os"; import * as path from "path"; import * as fs from "fs"; import * as cache from "@actions/cache"; import * as core from "@actions/core"; import * as tc from "@actions/tool-cache"; import { GitHub, getOctokitOptions } from "@actions/github/lib/utils"; import { throttling } from "@octokit/plugin...
normalized_obj_name
296
import { AmplifyAppsResponse, AmplifyBuildLogsResponse, TriggerBuildRequest, TriggerBuildResponse } from '../types/amplify'; const API_BASE_URL = '/api'; export const amplifyApi = { /** * Get all Amplify apps for a specific environment */ async getApps(environment: string, profile?: string): Pro...
request
297
import { Analytics } from "@plattar/plattar-analytics"; import { Project, Scene, Server } from "@plattar/plattar-api"; import { Configurator } from "@plattar/plattar-services"; import { Util } from "../util/util"; import { ARViewer } from "../viewers/ar-viewer"; import QuicklookViewer from "../viewers/quicklook-viewer"...
results
298
import fs from 'fs'; import * as _path from 'path'; import process from 'process'; import { Meta } from './app.mjs'; import * as server from './server.mjs'; async function main(meta: Meta): Promise<void>{ /** * server */ const [MASK] = new server.Server('localhost', 8080); /** * modu...
webServer
299
import * as NatureRemo from 'nature-remo'; import { API, HAP, Logging, AccessoryConfig, Service, Characteristic } from 'homebridge'; import { brightnessDown, brightnessUp, LocalSignal, toggleLight } from './signals'; let hap: HAP; /** * This method registers the platform with Homebridge */ export = (api: API) => { ...
newPercent