This file contains hidden or 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 { createMigrationHistory, updateMigrationHistory, setMigrationResult } from './mutation'; | |
import { CustomContext } from '../../../types'; | |
import MigrationService from '../../../core/service/migration/migrationService'; | |
jest.mock('../../../core/service/migration/migrationService'); | |
const mockContext: CustomContext = { | |
injector: { | |
get: jest.fn().mockReturnValue(new MigrationService()), | |
}, |
This file contains hidden or 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
{ | |
"migrationParams": { | |
"migrationId": "0", | |
"bulkImportEntityStatuses": { | |
"attachment": { | |
"importDate": "", | |
"result":null, | |
"status": "SUCCESSFUL", | |
}, | |
"checklist": { |
This file contains hidden or 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
# | |
# nginx simple Dockerfile | |
# | |
# Pull base image. | |
FROM ubuntu | |
# Install Nginx. | |
RUN \ |
This file contains hidden or 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
Overall Comments | |
* Difficult to understand logic | |
* Magic numbers | |
* Consider rewriting with functional programming and not object oriented | |
Line by Line |
This file contains hidden or 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 { makeVar } from '@apollo/client'; | |
// could strongly type here | |
// leaving it dynamic for general use | |
type Store = { [key: string]: any } | |
const store: Store = {} | |
export const add = (key: string) => { | |
store[key] = makeVar(key); |
This file contains hidden or 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
1. [Build](#build) | |
1.1 [Build Images](#base-images) | |
1.1.1 [Current Base Images](#current-base-images) | |
1.2 [Special Folders](#special-folders) | |
1.3 [Build Manually](#build-manually) | |
1.3.1 [Infrastructure](#infrastructure) | |
1.3.2 [Services](#services) | |
1.4 [Current Services](#current-services) | |
1.4.1 [Adding a new service](#adding-a-new-service) | |
1.5 [Build Process Overview](#overview-of-build-process) |
This file contains hidden or 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 'styles/variables/variables'; | |
@import 'src/features/navigation/navigation.var'; | |
.card { | |
&__container { | |
height: calc(100% - 3rem); | |
.card { | |
display: flex; | |
flex-direction: column; |
This file contains hidden or 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
'use strict'; | |
const autoprefixer = require('autoprefixer'); | |
const path = require('path'); | |
const webpack = require('webpack'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); | |
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | |
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin'); | |
const ManifestPlugin = require('webpack-manifest-plugin'); |
This file contains hidden or 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
grunt.initConfig({ | |
babel: { | |
options: { | |
sourceMap: false, | |
presets: ['es2015'] | |
}, | |
core: { | |
files: [{ expand: true, cwd: './', src: ['main.js', 'js/**/*.js'], dest: 'dist/'}] | |
}, |
This file contains hidden or 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 app = app || {}; | |
var app.engine = app.engine || {}; | |
var app.engine.renderer = app.engine.renderer || {}; |
NewerOlder