- Question: What do you want to do?
- Option: Create a new task
- Question: What is the task name (leave blank to cancel)
- Feedback: A task with this name already exists, please type a unique name
- _Feedback: The task name must include only these characters: A-Z, 0-9, -, _ _
- Feedback: Task named ${taskName}’ created
- Feedback: Task creation cancelled
- Question: What is the task name (leave blank to cancel)
- Option: Modify an existing task
- Question: Select a task to modify
- Option: Create a new task
- Feedback: Entering task ‘${taskName}’ edit mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function deepClone(source, customizer){ | |
const _deepClone = function (source, customizer, sourcePath) { | |
// If the source isn't an Object or Array, throw an error. | |
if ( !(source instanceof Object) || source instanceof Date || source instanceof String) { | |
throw new Error('Only Objects or Arrays are supported.'); | |
} | |
// Set the target data type before copying. | |
var target = source instanceof Array ? [] : {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// NOTICE - this scraper is using date range to fetch transactions. It breaks the installments support of our scrapers | |
// since it doesn't return installments beside the first one. | |
// see https://gist.github.com/esakal/75a291267530fa7a7980577ae5dd055c | |
import buildUrl from 'build-url'; | |
import moment from 'moment'; | |
import { fetchGetWithinPage } from '../helpers/fetch'; | |
import { BaseScraperWithBrowser, LOGIN_RESULT } from './base-scraper-with-browser'; | |
import { waitForRedirect } from '../helpers/navigation'; | |
import { waitUntilElementFound, elementPresentOnPage, clickButton } from '../helpers/elements-interactions'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import buildUrl from 'build-url'; | |
import moment from 'moment'; | |
import { fetchGetWithinPage } from '../helpers/fetch'; | |
import { BaseScraperWithBrowser, LOGIN_RESULT } from './base-scraper-with-browser'; | |
import { waitForRedirect } from '../helpers/navigation'; | |
import { waitUntilElementFound, elementPresentOnPage, clickButton } from '../helpers/elements-interactions'; | |
import { | |
NORMAL_TXN_TYPE, | |
INSTALLMENTS_TXN_TYPE, | |
TRANSACTION_STATUS, |
Note This code is under development and is missing features that will be added later.
This is generator code creates Typescript based classes for defined data tables.
- One-To-One relations retrieving
- One-To-Many relations retrieving
- Generate
Users
interface (no need for class as any changes should be done in cloud code) - fix indentation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var contextMenus = {}; | |
var context = "image"; | |
var title = "Copy Actual Image"; | |
contextMenus.copyImageNotUrl = chrome.contextMenus.create({"title": title, | |
"contexts":[context], | |
onclick: async (info, tab) => { | |
const imageSrc = info?.srcUrl; | |
console.log('got a request to download an image', { info}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ReactDOM from "react-dom"; | |
import React, {ComponentType, Suspense} from "react"; | |
import { MediaSpaceThemeProvider } from "@mediaspace/ui/theme"; <--- TODO Tal replace all occurences of import { ThemeProvider } from "@kep-ui-kit/ui-theme"; | |
// eslint-disable-next-line @nrwl/nx/enforce-module-boundaries | |
import { RegistrationSiteHeaderProps } from "@mediaspace/shared/registration-site-header"; | |
import { Config, ConfigProvider } from "@mediaspace/shared/data-kms-config"; | |
const RegistrationSiteHeader = React.lazy(() => import("@mediaspace/shared/registration-site-header")); |