How to use the @ngrx/schematics/schematics-core.stringUtils.group function in @ngrx/schematics

To help you get started, we’ve selected a few @ngrx/schematics examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ngrx / platform / modules / schematics / src / entity / index.ts View on Github external
'group-actions': (name: string) =>
        stringUtils.group(name, options.group ? 'actions' : ''),
      'group-models': (name: string) =>
github ngrx / platform / modules / schematics / src / action / index.ts View on Github external
'if-flat': (s: string) =>
            stringUtils.group(
              options.flat ? '' : s,
              options.group ? 'actions' : ''
            ),
          ...options,
github ngrx / platform / modules / schematics / src / entity / index.ts View on Github external
'group-reducers': (s: string) =>
        stringUtils.group(s, options.group ? 'reducers' : ''),
      ...(options as object),
github ngrx / platform / modules / schematics / src / effect / index.ts View on Github external
'if-flat': (s: string) =>
          stringUtils.group(
            options.flat ? '' : s,
            options.group ? 'effects' : ''
          ),
        effectMethod: getEffectMethod(options.creators),
github ngrx / platform / modules / schematics / src / entity / index.ts View on Github external
'group-models': (name: string) =>
        stringUtils.group(name, options.group ? 'models' : ''),
      'group-reducers': (s: string) =>
github ngrx / platform / modules / schematics / src / reducer / index.ts View on Github external
'if-flat': (s: string) =>
        stringUtils.group(
          options.flat ? '' : s,
          options.group ? 'reducers' : ''
        ),
      ...(options as object),