repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
marvinody/stock-tracker
src/util/logger.ts
<reponame>marvinody/stock-tracker import {createLogger, format, transports} from 'winston'; import path from 'path'; const logger = createLogger({ level: process.env.LOG_LEVEL || 'info', format: format.combine( format.timestamp({ format: 'YYYY-MM-DD HH:mm:ss', }), format.errors({stack: true}), ...
marvinody/stock-tracker
src/extractors/PokemonCenter.ts
<filename>src/extractors/PokemonCenter.ts import {Extractor, Item, genericDiscordMessage} from './IExtractor'; import {waitBetweenCalls} from '../util/minWait'; import logger from '../util/logger'; import {get as getValue} from 'lodash'; import fetch from 'node-fetch'; const DELAY_BETWEEN_LOOKUPS_IN_MS = 5000; const ...
marvinody/stock-tracker
src/util/discord.ts
<reponame>marvinody/stock-tracker import axios from 'axios'; import logger from './logger'; export const makeWebhook = (url: string | undefined, username?: string) => { if (url === undefined) { throw new Error('UNDEFINED DISCORD WEBHOOK URL'); } return async (message: string | DiscordEmbed, username?: strin...
marvinody/stock-tracker
src/index.ts
<gh_stars>1-10 import {config} from 'dotenv'; config(); import jsonc from './util/jsonc'; const path = require('path'); const SKU_FILE = path.join(__dirname, '..', 'skus.jsonc'); const bestbuySkus = jsonc(SKU_FILE); import {findOrCreate, updateById} from './db'; import logger from './util/logger'; import bot from '...
marvinody/stock-tracker
src/sitrep/index.ts
<gh_stars>1-10 // Check out the readme if need explanation on this folder/file... require('dotenv').config(); import {getExtractor} from '../extractors'; import {makeWebhook} from '../util/discord'; const webhook = makeWebhook(process.env.WEBHOOK_URL, process.env.USERNAME); const cases = [ { url: 'https:...
marvinody/stock-tracker
src/util/delay.ts
const delay = (ms: number) => { return new Promise(res => { setTimeout(() => { res(null); }, ms); }); }; export default delay;
marvinody/stock-tracker
src/extractors/Bestbuy.ts
<filename>src/extractors/Bestbuy.ts import XRay from 'x-ray'; import {get} from '../util/http'; import logger from '../util/logger'; import {waitBetweenCalls} from '../util/minWait'; import {Extractor, Item, genericDiscordMessage} from './IExtractor'; const DELAY_BETWEEN_LOOKUPS_IN_MS = 5000; const x = XRay(); const...
marvinody/stock-tracker
src/extractors/index.ts
<filename>src/extractors/index.ts import {BestBuyExtractor} from './Bestbuy'; export {BestBuyExtractor} from './Bestbuy'; import {GiftgiftExtractor} from './Giftgift'; export {GiftgiftExtractor} from './Giftgift'; import {PokemonCenterExtractor} from './PokemonCenter'; export {PokemonCenterExtractor} from './PokemonCen...
marvinody/stock-tracker
src/extractors/IExtractor.ts
<reponame>marvinody/stock-tracker import {DiscordEmbed} from '../util/discord'; export type Item = { store: string; url: string; id: string; title: string; status: string; }; export type Extractor = { isValidUrl(url: string): boolean; _TestUrls: string[]; extract(url: string): Promise<Item>; // if o...
marvinody/stock-tracker
src/types/x-ray.d.ts
declare module 'x-ray';
marvinody/stock-tracker
src/util/minWait.ts
<filename>src/util/minWait.ts<gh_stars>1-10 import logger from './logger'; import delay from './delay'; export const waitBetweenCalls = <T extends (...args: any[]) => any>( waitTime: number ) => (fn: T) => { type resolveFn = (arg: Promise<any>) => void; type waitingFn = () => void; let queue: waitingFn[] = [];...
marvinody/stock-tracker
src/util/cleanup.ts
<reponame>marvinody/stock-tracker /* eslint-disable no-process-exit */ import logger from './logger'; const noOp = () => {}; export default function Cleanup(callback: () => void) { // attach user callback to the process event emitter // if no callback, it will still exit gracefully on Ctrl-C callback = callback...
marvinody/stock-tracker
src/util/jsonc.ts
import fs from 'fs'; const stripJSONComments = (data: string) => { const re = new RegExp('^\\s+//(.*)', 'g'); return data.replace(re, ''); }; export default (filePath: string) => { const jsonData = fs.readFileSync(filePath, 'utf8'); const stripped = stripJSONComments(jsonData); console.log(stripped); cons...
marvinody/stock-tracker
src/util/http.ts
<filename>src/util/http.ts const {curly} = require('node-libcurl'); const objectToStringArray = (obj: Object) => Object.entries(obj).map(([key, value]) => `${key}: ${value}`); export const get = async ( url: string, {headers: reqHeaders = {}, followRedirects = true} ) => { const {data, statusCode, headers} = ...
marvinody/stock-tracker
src/db/index.ts
const DB_FILENAME = 'shitty_db.json'; import path from 'path'; import fs from 'fs'; import logger from '../util/logger'; import cleanup from '../util/cleanup'; const DB_FILEPATH = path.join(__dirname, '..', '..', DB_FILENAME); const emptyData = {}; const writeData = (d: Object) => fs.writeFileSync(DB_FILEPATH, J...
lino79/kinkajou-tools
Tools.d.ts
export namespace Tools { //#region Is /** * Returns `true` if arg is an object. * @param arg the input value. */ function isObject(arg: any): boolean; /** * Returns `true` if arg is a function. * @param arg the input value. */ function isFunction(arg: any): boolean; /** * Returns `true` if arg ...
patrimart/try-then
lib/libs/log.d.ts
<filename>lib/libs/log.d.ts export declare function info(info: string, filename?: string): void; export declare function error(e: Error): void;
patrimart/try-then
src/either.ts
<filename>src/either.ts import {Option} from "./option"; /** * The Either<L, R> abstract class. */ export abstract class Either <L, R> { abstract getOrElse (f: () => R): R; abstract getOrElseGet (right: R): R; abstract getOrThrow (err?: Error): R; abstract orElse (f: () => Either<L, R>): Either<L, ...
patrimart/try-then
src/libs/child_context_queue.ts
/** * This module is a simple message queue to handle users' functions responses. * Guarantees response order. */ import * as log from "./log"; // Error message, data, isDestroyable, isComplete type queueItem = [string, any, boolean, boolean]; // Also on child_context_pool.ts const UNDEFINED = "2m!!4?U=8th==Z_utd...
patrimart/try-then
lib/libs/child_context_pool.d.ts
import { TryFunction, TryType } from "../try"; import { Either } from "../either"; export declare const UNDEFINED: string; export interface IChildProcess { pid: number; isDestroyable: boolean; isComplete: boolean; addListener<T>(f: (r: Either<Error, T>) => void): void; send<T, U>(func: TryFunction<T...
patrimart/try-then
src/try.ts
<reponame>patrimart/try-then<gh_stars>1-10 import {Either} from "./either"; import {Option} from "./option"; import * as log from "./libs/log"; export type TryType = "run-once" | "subscription" | "observable"; /** * The return type of the user function. */ export type TryFunctionReturn<T> = Promise<T> | Either<Err...
patrimart/try-then
lib/try.d.ts
import { Either } from "./either"; import { Option } from "./option"; export declare type TryType = "run-once" | "subscription" | "observable"; export declare type TryFunctionReturn<T> = Promise<T> | Either<Error, T> | Option<T> | T; export interface TryFunction<T, U extends TryFunctionReturn<U>> extends Function { ...
patrimart/try-then
lib/either.d.ts
import { Option } from "./option"; export declare abstract class Either<L, R> { abstract getOrElse(f: () => R): R; abstract getOrElseGet(right: R): R; abstract getOrThrow(err?: Error): R; abstract orElse(f: () => Either<L, R>): Either<L, R>; abstract toObject(): { left?: L; right?: R...
patrimart/try-then
src/option.ts
import {Either} from "./either"; /** * The Option<T> abstract class. */ export abstract class Option <T> { abstract getOrElse (f: () => T): T; abstract getOrElseGet (value: T): T; abstract getOrThrow (err: Error): T; abstract orElse (o: () => Option<T>): Option<T>; abstract toObject (): {some: ...
patrimart/try-then
src/libs/child_context.ts
<filename>src/libs/child_context.ts /** * This module runs the users' functions in a VM context, * sending responses and uncaught exceptions to the parent. * Uncaught exceptions will cause the child process to die. */ const path = require("path"); const vm = require("vm"); const co = require("co"); import {Either...
patrimart/try-then
src/index.ts
export {Either} from "./either"; export {Option} from "./option"; export {Try} from "./try";
patrimart/try-then
lib/index.d.ts
export { Either } from "./either"; export { Option } from "./option"; export { Try } from "./try";
patrimart/try-then
src/libs/child_context_pool.ts
<gh_stars>1-10 /** * This module instantiates and manages the child context pool. */ import * as child_process from "child_process"; import * as os from "os"; // A 3rd party dependency. Importing this spawns min child processes. import {Pool} from "generic-pool"; import {TryFunction, TryType} from "../try"; import...
patrimart/try-then
lib/libs/child_context_queue.d.ts
<reponame>patrimart/try-then export declare function onComplete(callback?: (err: Error) => void): void; export declare function onNext(r: any, callback?: (err: Error) => void): void; export declare function onFailure(e: Error, callback?: (err: Error) => void): void; export declare function onFatalException(e: Error, ca...
patrimart/try-then
src/libs/log.ts
const isDebug = !! (process.env.NODE_DEBUG || "").split(",").find((m: string) => m.trim() === "try-func"); export function info (info: string, filename = "") { if (isDebug) { console.log("[%s] [info] %s: %s", new Date().toLocaleString(), info, filename); } } export function error (e: Error) { if ...
Magicianred/react-beautiful-tree
stories/Tree.stories.tsx
<reponame>Magicianred/react-beautiful-tree<filename>stories/Tree.stories.tsx import React, { Component, KeyboardEvent } from 'react' import { Tree, mutateTree, RenderItemParams, TreeItem, TreeData, ItemId, moveItemOnTree, TreeSourcePosition, TreeDestinationPosition, } from '../src' import { treeWithTw...
Magicianred/react-beautiful-tree
src/components/Tree/Tree-types.tsx
import { ReactNode } from 'react' import { DraggableLocation, DraggableId, DroppableId, DraggableProvided, DraggableStateSnapshot, } from 'react-beautiful-dnd' import { TreeData, Path, ItemId, FlattenedTree, TreeSourcePosition, TreeDestinationPosition, TreeItem, FlattenedItem, } from '../../ty...
bonitasoft-labs/bpmn-js
src/component/mxgraph/GraphCellUpdater.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
src/component/mxgraph/style/identifiers.ts
<reponame>bonitasoft-labs/bpmn-js<filename>src/component/mxgraph/style/identifiers.ts<gh_stars>1-10 /** * Copyright 2021 <NAME>. * * 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 * * htt...
bonitasoft-labs/bpmn-js
test/unit/component/mxgraph/renderer/StyleComputer.test.ts
/** * @jest-environment jsdom */ /** * Copyright 2020 Bonitasoft S.A. * * 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 requ...
bonitasoft-labs/bpmn-js
src/component/registry/bpmn-model-registry.ts
/** * Copyright 2021 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/unit/component/parser/xml/BpmnXmlParser.omnitracker-bpmn-11_5.test.ts
<gh_stars>1-10 /** * Copyright 2020 <NAME>. * * 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 ag...
bonitasoft-labs/bpmn-js
src/model/bpmn/json/baseElement/flowNode/event.ts
<reponame>bonitasoft-labs/bpmn-js /** * Copyright 2020 <NAME>. * * 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 a...
bonitasoft-labs/bpmn-js
test/unit/component/parser/xml/BpmnXmlParser.bic-cloud-design-6_2_0.test.ts
<gh_stars>1-10 /** * Copyright 2020 <NAME>. * * 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 ag...
bonitasoft-labs/bpmn-js
src/component/version.ts
<reponame>bonitasoft-labs/bpmn-js /** * Copyright 2022 <NAME>. * * 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 a...
bonitasoft-labs/bpmn-js
src/component/registry/css-registry.ts
/** * Copyright 2021 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
src/component/parser/BpmnParser.ts
<reponame>bonitasoft-labs/bpmn-js /** * Copyright 2020 <NAME>. * * 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 a...
bonitasoft-labs/bpmn-js
test/integration/mxGraph.model.overlays.test.ts
/** * Copyright 2021 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
src/model/bpmn/json/BPMN20.ts
<filename>src/model/bpmn/json/BPMN20.ts /** * Copyright 2020 <NAME>. * * 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 require...
bonitasoft-labs/bpmn-js
test/e2e/diagram.navigation.zoom.pan.test.ts
<reponame>bonitasoft-labs/bpmn-js /** * Copyright 2020 <NAME>. * * 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 a...
bonitasoft-labs/bpmn-js
test/integration/dom.container.div.test.ts
/** * Copyright 2021 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/unit/component/parser/json/BpmnJsonParser.callActivity.test.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
src/component/mxgraph/renderer/style-utils.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
src/component/helpers/array-utils.ts
/** * Copyright 2021 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/integration/matchers/index.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/unit/model/bpmn/internal/shape/utils.test.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
src/component/mxgraph/style/utils.ts
<reponame>bonitasoft-labs/bpmn-js /** * Copyright 2020 <NAME>. * * 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 a...
bonitasoft-labs/bpmn-js
src/component/registry/bpmn-elements-registry.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/unit/component/parser/xml/BpmnXmlParser.00.special.parsing.cases.test.ts
<filename>test/unit/component/parser/xml/BpmnXmlParser.00.special.parsing.cases.test.ts /** * Copyright 2021 <NAME>. * * 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.apac...
bonitasoft-labs/bpmn-js
test/unit/component/parser/json/BpmnJsonParser.marker.test.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/integration/diagram.navigation.test.ts
<gh_stars>1-10 /** * Copyright 2022 <NAME>. * * 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 ag...
bonitasoft-labs/bpmn-js
src/component/parser/json/BpmnJsonParser.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/integration/dom.bpmn.elements.test.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
src/model/bpmn/json/baseElement/artifact.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/unit/component/mxgraph/overlay/OverlayConverter.test.ts
<reponame>bonitasoft-labs/bpmn-js /** * @jest-environment jsdom */ /** * Copyright 2021 Bonitasoft S.A. * * 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/lice...
bonitasoft-labs/bpmn-js
test/integration/matchers/toBeCell/index.ts
<filename>test/integration/matchers/toBeCell/index.ts /** * Copyright 2020 <NAME>. * * 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 * * ...
bonitasoft-labs/bpmn-js
test/unit/component/parser/json/JsonTestUtils.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
src/model/bpmn/json/baseElement/baseElement.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/integration/BpmnVisualization.test.ts
<filename>test/integration/BpmnVisualization.test.ts<gh_stars>1-10 /** * Copyright 2021 <NAME>. * * 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/LICEN...
bonitasoft-labs/bpmn-js
src/component/mxgraph/shape/text-annotation-shapes.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
src/model/bpmn/json/baseElement/flowElement.ts
<reponame>bonitasoft-labs/bpmn-js<gh_stars>1-10 /** * Copyright 2020 <NAME>. * * 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...
bonitasoft-labs/bpmn-js
test/performance/bpmn.navigation.performance.test.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/helpers/query-selectors.ts
<reponame>bonitasoft-labs/bpmn-js /** * Copyright 2021 <NAME>. * * 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 a...
bonitasoft-labs/bpmn-js
test/e2e/overlays.rendering.test.ts
<gh_stars>1-10 /** * Copyright 2020 <NAME>. * * 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 ag...
bonitasoft-labs/bpmn-js
test/e2e/helpers/test-utils.ts
<gh_stars>1-10 /** * Copyright 2020 <NAME>. * * 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 ag...
bonitasoft-labs/bpmn-js
src/component/BpmnVisualization.ts
<reponame>bonitasoft-labs/bpmn-js<gh_stars>1-10 /** * Copyright 2020 <NAME>. * * 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...
bonitasoft-labs/bpmn-js
src/component/options.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/unit/component/mxgraph/shape/render/utils.test.ts
<gh_stars>10-100 /** * Copyright 2020 <NAME>. * * 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 ...
bonitasoft-labs/bpmn-js
test/e2e/bpmn.theme.test.ts
/** * Copyright 2022 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/unit/component/parser/json/BpmnJsonParser.diagram.test.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
src/component/mxgraph/shape/gateway-shapes.ts
<filename>src/component/mxgraph/shape/gateway-shapes.ts /** * Copyright 2020 <NAME>. * * 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 * ...
bonitasoft-labs/bpmn-js
test/unit/component/parser/json/BpmnJsonParser.text.annotation.test.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/unit/component/parser/json/BpmnJsonParser.messageFlow.test.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/integration/mxGraph.model.bpmn.elements.test.ts
<reponame>bonitasoft-labs/bpmn-js<filename>test/integration/mxGraph.model.bpmn.elements.test.ts /** * Copyright 2020 <NAME>. * * 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://...
bonitasoft-labs/bpmn-js
test/unit/component/parser/xml/BpmnXmlParser.bizagi-modeler-2_8_0_8.test.ts
<reponame>bonitasoft-labs/bpmn-js /** * Copyright 2020 <NAME>. * * 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 a...
bonitasoft-labs/bpmn-js
src/model/bpmn/internal/edge/flows.ts
<gh_stars>10-100 /** * Copyright 2020 <NAME>. * * 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 ...
bonitasoft-labs/bpmn-js
src/component/mxgraph/BpmnGraph.ts
<filename>src/component/mxgraph/BpmnGraph.ts /** * Copyright 2020 <NAME>. * * 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 re...
bonitasoft-labs/bpmn-js
test/unit/component/parser/json/BpmnJsonParser.group.test.ts
/** * Copyright 2021 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
src/model/bpmn/json/baseElement/rootElement/globalTask.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/integration/helpers/html-utils.ts
<gh_stars>1-10 /** * Copyright 2020 <NAME>. * * 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 ag...
bonitasoft-labs/bpmn-js
src/model/bpmn/json/baseElement/correlation.ts
<gh_stars>1-10 /** * Copyright 2020 <NAME>. * * 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 ag...
bonitasoft-labs/bpmn-js
dev/ts/component/SvgExporter.ts
<gh_stars>1-10 /** * Copyright 2021 <NAME>. * * 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 ag...
bonitasoft-labs/bpmn-js
test/performance/helpers/metrics-chromium.ts
<reponame>bonitasoft-labs/bpmn-js /** * Copyright 2021 <NAME>. * * 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 a...
bonitasoft-labs/bpmn-js
test/unit/component/parser/xml/BpmnXmlParser.miwg.test.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/integration/helpers/bpmn-visualization-initialization.ts
<reponame>bonitasoft-labs/bpmn-js /** * Copyright 2021 <NAME>. * * 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 a...
bonitasoft-labs/bpmn-js
src/component/parser/json/converter/EventDefinitionConverter.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
src/model/bpmn/internal/shape/utils.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/config/jest.image.ts
<gh_stars>1-10 /** * Copyright 2020 <NAME>. * * 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 ag...
bonitasoft-labs/bpmn-js
src/model/bpmn/json/baseElement/loopCharacteristics.ts
/** * Copyright 2020 <NAME>. * * 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 agreed to in writ...
bonitasoft-labs/bpmn-js
test/integration/dom.css.classes.test.ts
<filename>test/integration/dom.css.classes.test.ts /** * Copyright 2021 <NAME>. * * 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 * * Unl...
bonitasoft-labs/bpmn-js
test/e2e/generated.svg.test.ts
<gh_stars>1-10 /** * Copyright 2020 <NAME>. * * 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 ag...
bonitasoft-labs/bpmn-js
src/component/navigation.ts
<reponame>bonitasoft-labs/bpmn-js<gh_stars>1-10 /** * Copyright 2022 <NAME>. * * 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...
bonitasoft-labs/bpmn-js
dev/ts/utils/shared-helpers.ts
<filename>dev/ts/utils/shared-helpers.ts /** * Copyright 2022 <NAME>. * * 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 requir...
bonitasoft-labs/bpmn-js
src/component/mxgraph/overlay/custom-overlay.ts
<gh_stars>1-10 /** * Copyright 2021 <NAME>. * * 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 ag...
bonitasoft-labs/bpmn-js
test/e2e/helpers/visu/bpmn-page-utils.ts
/** * Copyright 2021 <NAME>. * * 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 agreed to in writ...