renaming config-serializer upper camel case file names to dash case (#320)
* renaming: config-serializer upper camel case file names to dash case (closes #305) * fix: remove then add same source with lowercase * fix: d.ts file with lowercase
This commit is contained in:
committed by
László Monda
parent
121807a65a
commit
22a59160fb
@@ -3,7 +3,7 @@ import {
|
||||
} from '@angular/core';
|
||||
import { animate, keyframes, state, style, transition, trigger } from '@angular/animations';
|
||||
|
||||
import { Layer } from '../../../config-serializer/config-items/Layer';
|
||||
import { Layer } from '../../../config-serializer/config-items/layer';
|
||||
|
||||
type AnimationKeyboard =
|
||||
'leftIn' |
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Observable } from 'rxjs/Observable';
|
||||
import 'rxjs/add/operator/combineLatest';
|
||||
import 'rxjs/add/operator/publishReplay';
|
||||
|
||||
import { Keymap } from '../../../config-serializer/config-items/Keymap';
|
||||
import { Keymap } from '../../../config-serializer/config-items/keymap';
|
||||
import { AppState } from '../../../store';
|
||||
import { KeymapActions } from '../../../store/actions';
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import 'rxjs/add/operator/switchMap';
|
||||
|
||||
import { Store } from '@ngrx/store';
|
||||
|
||||
import { Keymap } from './../../../config-serializer/config-items/Keymap';
|
||||
import { Keymap } from './../../../config-serializer/config-items/keymap';
|
||||
import { AppState } from '../../../store/index';
|
||||
import { getKeymaps } from '../../../store/reducers/user-configuration';
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ import 'rxjs/add/operator/switchMap';
|
||||
|
||||
import { saveAs } from 'file-saver';
|
||||
|
||||
import { Keymap } from '../../../config-serializer/config-items/Keymap';
|
||||
import { Keymap } from '../../../config-serializer/config-items/keymap';
|
||||
import { AppState } from '../../../store';
|
||||
import { getKeymap, getKeymaps, getUserConfiguration } from '../../../store/reducers/user-configuration';
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
|
||||
import { Store } from '@ngrx/store';
|
||||
|
||||
import { Keymap } from '../../../config-serializer/config-items/Keymap';
|
||||
import { Keymap } from '../../../config-serializer/config-items/keymap';
|
||||
|
||||
import { AppState } from '../../../store';
|
||||
import { KeymapActions } from '../../../store/actions';
|
||||
|
||||
@@ -5,8 +5,8 @@ import { Store } from '@ngrx/store';
|
||||
|
||||
import { Subscription } from 'rxjs/Subscription';
|
||||
|
||||
import { Macro } from '../../../config-serializer/config-items/Macro';
|
||||
import { MacroAction } from '../../../config-serializer/config-items/macro-action/MacroAction';
|
||||
import { Macro } from '../../../config-serializer/config-items/macro';
|
||||
import { MacroAction } from '../../../config-serializer/config-items/macro-action/macro-action';
|
||||
|
||||
import { MacroActions } from '../../../store/actions';
|
||||
import { AppState } from '../../../store/index';
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
|
||||
import { Store } from '@ngrx/store';
|
||||
|
||||
import { Macro } from '../../../config-serializer/config-items/Macro';
|
||||
import { Macro } from '../../../config-serializer/config-items/macro';
|
||||
|
||||
import { MacroActions } from '../../../store/actions';
|
||||
import { AppState } from '../../../store/index';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Component, Input, Output, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
||||
import { animate, state, style, transition, trigger } from '@angular/animations';
|
||||
|
||||
import { KeyModifiers } from '../../../config-serializer/config-items/KeyModifiers';
|
||||
import { KeyModifiers } from '../../../config-serializer/config-items/key-modifiers';
|
||||
import {
|
||||
DelayMacroAction,
|
||||
KeyMacroAction,
|
||||
|
||||
@@ -3,7 +3,7 @@ import { animate, state, style, transition, trigger } from '@angular/animations'
|
||||
|
||||
import { DragulaService } from 'ng2-dragula/ng2-dragula';
|
||||
|
||||
import { Macro } from '../../../config-serializer/config-items/Macro';
|
||||
import { Macro } from '../../../config-serializer/config-items/macro';
|
||||
import { MacroAction } from '../../../config-serializer/config-items/macro-action';
|
||||
import { MacroItemComponent } from './../index';
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import { Store } from '@ngrx/store';
|
||||
|
||||
import { AppState } from '../../../store/index';
|
||||
import { getMacros } from '../../../store/reducers/user-configuration';
|
||||
import { Macro } from './../../../config-serializer/config-items/Macro';
|
||||
import { Macro } from './../../../config-serializer/config-items/macro';
|
||||
|
||||
@Injectable()
|
||||
export class MacroNotFoundGuard implements CanActivate {
|
||||
|
||||
@@ -16,7 +16,7 @@ import {
|
||||
SwitchKeymapAction,
|
||||
SwitchLayerAction
|
||||
} from '../../config-serializer/config-items/key-action';
|
||||
import { Keymap } from '../../config-serializer/config-items/Keymap';
|
||||
import { Keymap } from '../../config-serializer/config-items/keymap';
|
||||
|
||||
import { Tab } from './tab/tab';
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import { ChangeDetectionStrategy, Component, Input, OnChanges, OnInit } from '@a
|
||||
import { Select2OptionData } from 'ng2-select2/ng2-select2';
|
||||
|
||||
import { KeyAction, SwitchKeymapAction } from '../../../../config-serializer/config-items/key-action';
|
||||
import { Keymap } from '../../../../config-serializer/config-items/Keymap';
|
||||
import { Keymap } from '../../../../config-serializer/config-items/keymap';
|
||||
import { Tab } from '../tab';
|
||||
|
||||
@Component({
|
||||
|
||||
@@ -7,7 +7,7 @@ import { Subscription } from 'rxjs/Subscription';
|
||||
import { Select2OptionData } from 'ng2-select2/ng2-select2';
|
||||
|
||||
import { KeyAction, PlayMacroAction } from '../../../../config-serializer/config-items/key-action';
|
||||
import { Macro } from '../../../../config-serializer/config-items/Macro';
|
||||
import { Macro } from '../../../../config-serializer/config-items/macro';
|
||||
|
||||
import { Tab } from '../tab';
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@ import 'rxjs/add/operator/do';
|
||||
import 'rxjs/add/operator/map';
|
||||
import 'rxjs/add/operator/let';
|
||||
|
||||
import { Keymap } from '../../config-serializer/config-items/Keymap';
|
||||
import { Macro } from '../../config-serializer/config-items/Macro';
|
||||
import { Keymap } from '../../config-serializer/config-items/keymap';
|
||||
import { Macro } from '../../config-serializer/config-items/macro';
|
||||
|
||||
import { AppState } from '../../store';
|
||||
import { MacroActions } from '../../store/actions';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Component, EventEmitter, Input, OnInit, Output, SimpleChanges, ChangeDetectionStrategy } from '@angular/core';
|
||||
import { animate, state, trigger, style, transition } from '@angular/animations';
|
||||
|
||||
import { Module } from '../../../config-serializer/config-items/Module';
|
||||
import { Module } from '../../../config-serializer/config-items/module';
|
||||
import { SvgModule } from '../module';
|
||||
import { SvgModuleProviderService } from '../../../services/svg-module-provider.service';
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@ import {
|
||||
SwitchKeymapAction,
|
||||
SwitchLayerAction
|
||||
} from '../../../../config-serializer/config-items/key-action';
|
||||
import { KeyModifiers } from '../../../../config-serializer/config-items/KeyModifiers';
|
||||
import { Macro } from '../../../../config-serializer/config-items/Macro';
|
||||
import { KeyModifiers } from '../../../../config-serializer/config-items/key-modifiers';
|
||||
import { Macro } from '../../../../config-serializer/config-items/macro';
|
||||
|
||||
import { CaptureService } from '../../../../services/capture.service';
|
||||
import { MapperService } from '../../../../services/mapper.service';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Component, Input, OnChanges, OnInit, ChangeDetectionStrategy } from '@angular/core';
|
||||
|
||||
import { KeystrokeAction } from '../../../../config-serializer/config-items/key-action';
|
||||
import { KeyModifiers } from '../../../../config-serializer/config-items/KeyModifiers';
|
||||
import { KeyModifiers } from '../../../../config-serializer/config-items/key-modifiers';
|
||||
import { MapperService } from '../../../../services/mapper.service';
|
||||
|
||||
class SvgAttributes {
|
||||
|
||||
@@ -31,9 +31,9 @@ import {
|
||||
SwitchKeymapAction,
|
||||
SwitchLayerAction
|
||||
} from '../../../config-serializer/config-items/key-action';
|
||||
import { Keymap } from '../../../config-serializer/config-items/Keymap';
|
||||
import { Layer } from '../../../config-serializer/config-items/Layer';
|
||||
import { LongPressAction } from '../../../config-serializer/config-items/LongPressAction';
|
||||
import { Keymap } from '../../../config-serializer/config-items/keymap';
|
||||
import { Layer } from '../../../config-serializer/config-items/layer';
|
||||
import { LongPressAction } from '../../../config-serializer/config-items/long-press-action';
|
||||
import { camelCaseToSentence, capitalizeFirstLetter } from '../../../util';
|
||||
|
||||
import { AppState } from '../../../store';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { assertUInt8, assertUInt32 } from '../assert';
|
||||
import { UhkBuffer } from '../UhkBuffer';
|
||||
import { UhkBuffer } from '../uhk-buffer';
|
||||
|
||||
export class HardwareConfiguration {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
import {
|
||||
KeyAction,
|
||||
KeyActionId,
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
keyActionType
|
||||
} from './index';
|
||||
|
||||
import { Macro } from '../Macro';
|
||||
import { Macro } from '../macro';
|
||||
|
||||
export class Helper {
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
export * from './KeyAction';
|
||||
export * from './KeystrokeAction';
|
||||
export * from './MouseAction';
|
||||
export * from './NoneAction';
|
||||
export * from './PlayMacroAction';
|
||||
export * from './SwitchKeymapAction';
|
||||
export * from './SwitchLayerAction';
|
||||
export * from './key-action';
|
||||
export * from './keystroke-action';
|
||||
export * from './mouse-action';
|
||||
export * from './none-action';
|
||||
export * from './play-macro-action';
|
||||
export * from './switch-keymap-action';
|
||||
export * from './switch-layer-action';
|
||||
export * from './helper';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/// <reference path="../../Function.d.ts" />
|
||||
/// <reference path="../../function.d.ts" />
|
||||
|
||||
import { Macro } from '../Macro';
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { Macro } from '../macro';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
|
||||
export enum KeyActionId {
|
||||
NoneAction = 0,
|
||||
@@ -1,8 +1,8 @@
|
||||
import { assertEnum, assertUInt8 } from '../../assert';
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { KeyModifiers } from '../KeyModifiers';
|
||||
import { LongPressAction } from '../LongPressAction';
|
||||
import { KeyAction, KeyActionId, keyActionType } from './KeyAction';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
import { KeyModifiers } from '../key-modifiers';
|
||||
import { LongPressAction } from '../long-press-action';
|
||||
import { KeyAction, KeyActionId, keyActionType } from './key-action';
|
||||
import { KeystrokeType } from './keystroke-type';
|
||||
|
||||
export enum KeystrokeActionFlag {
|
||||
@@ -1,6 +1,6 @@
|
||||
import { assertEnum } from '../../assert';
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { KeyAction, KeyActionId, keyActionType } from './KeyAction';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
import { KeyAction, KeyActionId, keyActionType } from './key-action';
|
||||
|
||||
export enum MouseActionParam {
|
||||
leftClick,
|
||||
@@ -1,5 +1,5 @@
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { KeyAction, KeyActionId, keyActionType } from './KeyAction';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
import { KeyAction, KeyActionId, keyActionType } from './key-action';
|
||||
|
||||
/**
|
||||
* NoneAction is only intended for binary serialization of undefined key actions
|
||||
@@ -1,7 +1,7 @@
|
||||
import { assertUInt8 } from '../../assert';
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { Macro } from '../Macro';
|
||||
import { KeyAction, KeyActionId, keyActionType } from './KeyAction';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
import { Macro } from '../macro';
|
||||
import { KeyAction, KeyActionId, keyActionType } from './key-action';
|
||||
|
||||
export class PlayMacroAction extends KeyAction {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { Keymap } from '../Keymap';
|
||||
import { KeyAction, KeyActionId, keyActionType } from './KeyAction';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
import { Keymap } from '../keymap';
|
||||
import { KeyAction, KeyActionId, keyActionType } from './key-action';
|
||||
|
||||
export class SwitchKeymapAction extends KeyAction {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { assertEnum } from '../../assert';
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { KeyAction, KeyActionId, keyActionType } from './KeyAction';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
import { KeyAction, KeyActionId, keyActionType } from './key-action';
|
||||
|
||||
export enum LayerName {
|
||||
mod,
|
||||
@@ -1,6 +1,6 @@
|
||||
import { UhkBuffer } from '../UhkBuffer';
|
||||
import { Layer } from './Layer';
|
||||
import { Macro } from './Macro';
|
||||
import { UhkBuffer } from '../uhk-buffer';
|
||||
import { Layer } from './layer';
|
||||
import { Macro } from './macro';
|
||||
import { SwitchLayerAction, KeyAction } from './key-action';
|
||||
|
||||
export class Keymap {
|
||||
@@ -1,6 +1,6 @@
|
||||
import { UhkBuffer } from '../UhkBuffer';
|
||||
import { Macro } from './Macro';
|
||||
import { Module } from './Module';
|
||||
import { UhkBuffer } from '../uhk-buffer';
|
||||
import { Macro } from './macro';
|
||||
import { Module } from './module';
|
||||
|
||||
export class Layer {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { assertUInt16 } from '../../assert';
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { MacroAction, MacroActionId, macroActionType } from './MacroAction';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
import { MacroAction, MacroActionId, macroActionType } from './macro-action';
|
||||
|
||||
export class DelayMacroAction extends MacroAction {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { KeyAction, KeystrokeAction, keyActionType } from '../key-action';
|
||||
import { DelayMacroAction } from './DelayMacroAction';
|
||||
import { KeyMacroAction } from './KeyMacroAction';
|
||||
import { MacroAction, MacroSubAction, macroActionType } from './MacroAction';
|
||||
import { MouseButtonMacroAction } from './MouseButtonMacroAction';
|
||||
import { MoveMouseMacroAction } from './MoveMouseMacroAction';
|
||||
import { ScrollMouseMacroAction } from './ScrollMouseMacroAction';
|
||||
import { TextMacroAction } from './TextMacroAction';
|
||||
import { DelayMacroAction } from './delay-macro-action';
|
||||
import { KeyMacroAction } from './key-macro-action';
|
||||
import { MacroAction, MacroSubAction, macroActionType } from './macro-action';
|
||||
import { MouseButtonMacroAction } from './mouse-button-macro-action';
|
||||
import { MoveMouseMacroAction } from './move-mouse-macro-action';
|
||||
import { ScrollMouseMacroAction } from './scroll-mouse-macro-action';
|
||||
import { TextMacroAction } from './text-macro-action';
|
||||
|
||||
interface JsObjectEditableMacroAction {
|
||||
macroActionType: string;
|
||||
@@ -1,4 +1,4 @@
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
import {
|
||||
DelayMacroAction,
|
||||
KeyMacroAction,
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
export * from './DelayMacroAction';
|
||||
export * from './EditableMacroAction';
|
||||
export * from './KeyMacroAction';
|
||||
export * from './MacroAction';
|
||||
export * from './MoveMouseMacroAction';
|
||||
export * from './MouseButtonMacroAction';
|
||||
export * from './ScrollMouseMacroAction';
|
||||
export * from './TextMacroAction';
|
||||
export * from './delay-macro-action';
|
||||
export * from './editable-macro-action';
|
||||
export * from './key-macro-action';
|
||||
export * from './macro-action';
|
||||
export * from './move-mouse-macro-action';
|
||||
export * from './mouse-button-macro-action';
|
||||
export * from './scroll-mouse-macro-action';
|
||||
export * from './text-macro-action';
|
||||
export * from './helper';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { assertEnum, assertUInt8 } from '../../assert';
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { KeyModifiers } from '../KeyModifiers';
|
||||
import { MacroAction, MacroActionId, MacroSubAction, macroActionType } from './MacroAction';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
import { KeyModifiers } from '../key-modifiers';
|
||||
import { MacroAction, MacroActionId, MacroSubAction, macroActionType } from './macro-action';
|
||||
|
||||
const NUM_OF_COMBINATIONS = 3; // Cases: scancode, modifer, both
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
|
||||
export enum MacroActionId {
|
||||
KeyMacroAction = 0,
|
||||
@@ -1,6 +1,6 @@
|
||||
import { assertEnum, assertUInt8 } from '../../assert';
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { MacroAction, MacroActionId, MacroSubAction, macroActionType } from './MacroAction';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
import { MacroAction, MacroActionId, MacroSubAction, macroActionType } from './macro-action';
|
||||
|
||||
export enum MouseButtons {
|
||||
Left = 1 << 0,
|
||||
@@ -1,6 +1,6 @@
|
||||
import { assertInt16 } from '../../assert';
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { MacroAction, MacroActionId, macroActionType } from './MacroAction';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
import { MacroAction, MacroActionId, macroActionType } from './macro-action';
|
||||
|
||||
export class MoveMouseMacroAction extends MacroAction {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { assertInt16 } from '../../assert';
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { MacroAction, MacroActionId, macroActionType } from './MacroAction';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
import { MacroAction, MacroActionId, macroActionType } from './macro-action';
|
||||
|
||||
export class ScrollMouseMacroAction extends MacroAction {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { UhkBuffer } from '../../UhkBuffer';
|
||||
import { MacroAction, MacroActionId, macroActionType } from './MacroAction';
|
||||
import { UhkBuffer } from '../../uhk-buffer';
|
||||
import { MacroAction, MacroActionId, macroActionType } from './macro-action';
|
||||
|
||||
export class TextMacroAction extends MacroAction {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { assertUInt8 } from '../assert';
|
||||
import { UhkBuffer } from '../UhkBuffer';
|
||||
import { UhkBuffer } from '../uhk-buffer';
|
||||
import { Helper as MacroActionHelper, MacroAction } from './macro-action';
|
||||
|
||||
export class Macro {
|
||||
@@ -1,5 +1,5 @@
|
||||
import { assertUInt8 } from '../assert';
|
||||
import { UhkBuffer } from '../UhkBuffer';
|
||||
import { UhkBuffer } from '../uhk-buffer';
|
||||
|
||||
export class ModuleConfiguration {
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
import { assertEnum, assertUInt8 } from '../assert';
|
||||
import { UhkBuffer } from '../UhkBuffer';
|
||||
import { Helper as KeyActionHelper, KeyAction, NoneAction } from './key-action';
|
||||
import { Macro } from './Macro';
|
||||
import { PlayMacroAction, SwitchKeymapAction } from './key-action';
|
||||
import { UhkBuffer } from '../uhk-buffer';
|
||||
import { Helper as KeyActionHelper, KeyAction, NoneAction, PlayMacroAction, SwitchKeymapAction } from './key-action';
|
||||
import { Macro } from './macro';
|
||||
|
||||
enum PointerRole {
|
||||
none,
|
||||
@@ -1,8 +1,8 @@
|
||||
import { assertUInt16 } from '../assert';
|
||||
import { UhkBuffer } from '../UhkBuffer';
|
||||
import { Keymap } from './Keymap';
|
||||
import { Macro } from './Macro';
|
||||
import { ModuleConfiguration } from './ModuleConfiguration';
|
||||
import { UhkBuffer } from '../uhk-buffer';
|
||||
import { Keymap } from './keymap';
|
||||
import { Macro } from './macro';
|
||||
import { ModuleConfiguration } from './module-configuration';
|
||||
|
||||
export class UserConfiguration {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { InjectionToken } from '@angular/core';
|
||||
|
||||
import { UserConfiguration } from '../config-serializer/config-items/UserConfiguration';
|
||||
import { UserConfiguration } from '../config-serializer/config-items/user-configuration';
|
||||
import { AutoUpdateSettings } from '../models/auto-update-settings';
|
||||
|
||||
export interface DataStorageRepositoryService {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { UserConfiguration } from '../config-serializer/config-items/UserConfiguration';
|
||||
import { UserConfiguration } from '../config-serializer/config-items/user-configuration';
|
||||
|
||||
@Injectable()
|
||||
export class DefaultUserConfigurationService {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
import { UserConfiguration } from '../config-serializer/config-items/UserConfiguration';
|
||||
import { UserConfiguration } from '../config-serializer/config-items/user-configuration';
|
||||
import { DataStorageRepositoryService } from './datastorage-repository.service';
|
||||
import { State as AutoUpdateSettings } from '../store/reducers/auto-update-settings';
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Action } from '@ngrx/store';
|
||||
|
||||
import { KeyAction } from '../../config-serializer/config-items/key-action';
|
||||
import { Keymap } from '../../config-serializer/config-items/Keymap';
|
||||
import { Macro } from '../../config-serializer/config-items/Macro';
|
||||
import { Keymap } from '../../config-serializer/config-items/keymap';
|
||||
import { Macro } from '../../config-serializer/config-items/macro';
|
||||
|
||||
export namespace KeymapActions {
|
||||
export const PREFIX = '[Keymap] ';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Action } from '@ngrx/store';
|
||||
|
||||
import { Macro } from '../../config-serializer/config-items/Macro';
|
||||
import { Macro } from '../../config-serializer/config-items/macro';
|
||||
import { MacroAction } from '../../config-serializer/config-items/macro-action';
|
||||
|
||||
export namespace MacroActions {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Action } from '@ngrx/store';
|
||||
|
||||
import { type } from '../../util';
|
||||
import { UserConfiguration } from '../../config-serializer/config-items/UserConfiguration';
|
||||
import { UserConfiguration } from '../../config-serializer/config-items/user-configuration';
|
||||
|
||||
const PREFIX = '[user-config] ';
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import 'rxjs/add/observable/of';
|
||||
import { KeymapActions } from '../actions';
|
||||
import { AppState } from '../index';
|
||||
|
||||
import { Keymap } from '../../config-serializer/config-items/Keymap';
|
||||
import { Keymap } from '../../config-serializer/config-items/keymap';
|
||||
|
||||
@Injectable()
|
||||
export class KeymapEffects {
|
||||
|
||||
@@ -16,7 +16,7 @@ import {
|
||||
SaveUserConfigSuccessAction
|
||||
} from '../actions/user-config';
|
||||
|
||||
import { UserConfiguration } from '../../config-serializer/config-items/UserConfiguration';
|
||||
import { UserConfiguration } from '../../config-serializer/config-items/user-configuration';
|
||||
import { DATA_STORAGE_REPOSITORY, DataStorageRepositoryService } from '../../services/datastorage-repository.service';
|
||||
import { DefaultUserConfigurationService } from '../../services/default-user-configuration.service';
|
||||
import { AppState, getUserConfiguration } from '../index';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { createSelector } from 'reselect';
|
||||
|
||||
import { Keymap } from '../config-serializer/config-items/Keymap';
|
||||
import { UserConfiguration } from '../config-serializer/config-items/UserConfiguration';
|
||||
import { Keymap } from '../config-serializer/config-items/keymap';
|
||||
import { UserConfiguration } from '../config-serializer/config-items/user-configuration';
|
||||
import * as autoUpdate from './reducers/auto-update-settings';
|
||||
|
||||
// State interface for the application
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Action } from '@ngrx/store';
|
||||
|
||||
import { Keymap } from '../../config-serializer/config-items/Keymap';
|
||||
import { Keymap } from '../../config-serializer/config-items/keymap';
|
||||
import { KeymapActions } from '../actions/keymap';
|
||||
|
||||
const initialState: Keymap[] = [];
|
||||
|
||||
@@ -6,11 +6,11 @@ import 'rxjs/add/observable/of';
|
||||
import 'rxjs/add/operator/map';
|
||||
|
||||
import { Helper as KeyActionHelper, KeyAction } from '../../config-serializer/config-items/key-action';
|
||||
import { Keymap } from '../../config-serializer/config-items/Keymap';
|
||||
import { Macro } from '../../config-serializer/config-items/Macro';
|
||||
import { UserConfiguration } from '../../config-serializer/config-items/UserConfiguration';
|
||||
import { Layer } from '../../config-serializer/config-items/Layer';
|
||||
import { Module } from '../../config-serializer/config-items/Module';
|
||||
import { Keymap } from '../../config-serializer/config-items/keymap';
|
||||
import { Macro } from '../../config-serializer/config-items/macro';
|
||||
import { UserConfiguration } from '../../config-serializer/config-items/user-configuration';
|
||||
import { Layer } from '../../config-serializer/config-items/layer';
|
||||
import { Module } from '../../config-serializer/config-items/module';
|
||||
import { KeymapActions, MacroActions } from '../actions';
|
||||
import { AppState } from '../index';
|
||||
import { ActionTypes } from '../actions/user-config';
|
||||
|
||||
Reference in New Issue
Block a user