@ngrx/schematics
Advanced tools
Comparing version 5.1.0 to 5.2.0
{ | ||
"name": "@ngrx/schematics", | ||
"version": "5.1.0", | ||
"version": "5.2.0", | ||
"description": "NgRx Schematics for Angular", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -33,3 +33,3 @@ import { Action } from '@ngrx/store'; | ||
constructor(public payload: { <%= camelize(name) %>: <%= classify(name) %> }) {} | ||
constructor(public payload: { <%= camelize(name) %>: Update<<%= classify(name) %>> }) {} | ||
} | ||
@@ -46,3 +46,3 @@ | ||
constructor(public payload: { <%= camelize(name) %>s: <%= classify(name) %>[] }) {} | ||
constructor(public payload: { <%= camelize(name) %>s: Update<<%= classify(name) %>>[] }) {} | ||
} | ||
@@ -49,0 +49,0 @@ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/* istanbul ignore file */ | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
var ts = require("typescript"); | ||
@@ -12,0 +4,0 @@ var change_1 = require("./change"); |
@@ -9,3 +9,3 @@ "use strict"; | ||
*/ | ||
NoopChange = (function () { | ||
NoopChange = /** @class */ (function () { | ||
function NoopChange() { | ||
@@ -28,3 +28,3 @@ this.description = 'No operation.'; | ||
*/ | ||
InsertChange = (function () { | ||
InsertChange = /** @class */ (function () { | ||
function InsertChange(path, pos, toAdd) { | ||
@@ -66,3 +66,3 @@ this.path = path; | ||
*/ | ||
RemoveChange = (function () { | ||
RemoveChange = /** @class */ (function () { | ||
function RemoveChange(path, pos, toRemove) { | ||
@@ -96,3 +96,3 @@ this.path = path; | ||
*/ | ||
ReplaceChange = (function () { | ||
ReplaceChange = /** @class */ (function () { | ||
function ReplaceChange(path, pos, oldText, newText) { | ||
@@ -99,0 +99,0 @@ this.path = path; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
var core_1 = require("@angular-devkit/core"); | ||
@@ -11,0 +4,0 @@ var strings_1 = require("../strings"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
var ts = require("typescript"); | ||
@@ -59,3 +52,3 @@ var ast_utils_1 = require("./ast-utils"); | ||
// no such import declaration exists | ||
var useStrict = ast_utils_1.findNodes(rootNode, ts.SyntaxKind.StringLiteral).filter(function (n) { return n.text === 'use strict'; }); | ||
var useStrict = ast_utils_1.findNodes(rootNode, ts.SyntaxKind.StringLiteral).filter(function (n) { return n.getText() === 'use strict'; }); | ||
var fallbackPos = 0; | ||
@@ -62,0 +55,0 @@ if (useStrict.length > 0) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98437
2621