UNPKG

@optro/create-trello-powerup

Version:

Easily create Trello Power-Ups from the Command Line

31 lines (30 loc) 1.84 kB
export declare const TEMPLATE_REPO = "https://github.com/optro-cloud/trello-powerup-full-sample.git"; export declare const WEBPACK_REPLACEMENT_STRING = "new MiniCssExtractPlugin(),"; export declare const REACT_ROUTER_MODULE_REPLACEMENT_STRING = "<Router basename={process.env.CONTEXT_PATH || undefined}>"; export declare const REACT_ROUTER_LOADER_REPLACEMENT_STRING = "// Lazy Loaders"; export declare const CAPABILITIES_REPLACEMENT_STRING = "window.TrelloPowerUp.initialize({"; export declare const CAPABILITIES_IMPORT_REPLACEMENT_STRING = "// Capability Imports Here"; export declare const REACT_ROUTER_IMPORT_REPLACEMENT_STRING = "import {TrelloProvider} from '@optro/ui-react';"; export declare const REACT_ROUTER_CLIENT_REPLACEMENT_STRING = "const t = window.TrelloPowerUp.iframe();"; export declare const REACT_ROUTER_CLIENT_PROVIDER_REPLACEMENT_STRING = "<TrelloProvider t={t}>"; export declare const REACT_ROUTER_CLIENT_PROVIDER_CLOSE_REPLACEMENT_STRING = "</Suspense>"; export declare const CARD_BUTTON_CONDITIONAL_IMPORT_REPLACEMENT_STRING = "import {useProvidedTrello} from '@optro/ui-react';"; export declare const CARD_BUTTON_CONDITIONAL_START_REPLACEMENT_STRING = "<div className=\"color-picker-container\">"; export declare const CARD_BUTTON_CONDITIONAL_END_REPLACEMENT_STRING = "<label htmlFor=\"note\">"; export declare const CARD_BUTTON_STATUS_REPLACEMENT_STRING = "<div id=\"container\">"; export declare const ALL_CAPABILITIES: string[]; export declare const ALL_HTML_BACKED_CAPABILITIES: string[]; export declare const CAPABILITY_MODULES: any; export declare const INPUT_ARGUMENTS: ({ name: string; required: boolean; description: string; default: undefined; options?: undefined; } | { name: string; required: boolean; description: string; default: string; options: string[]; })[];