ngrx-entity-crud 12.0.6-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/README.md +259 -0
  2. package/bundles/ngrx-entity-crud.umd.js +1829 -0
  3. package/bundles/ngrx-entity-crud.umd.js.map +1 -0
  4. package/esm2015/lib/actions.js +88 -0
  5. package/esm2015/lib/base-crud-gql.service.js +71 -0
  6. package/esm2015/lib/base-crud.service.js +136 -0
  7. package/esm2015/lib/create_adapter.js +14 -0
  8. package/esm2015/lib/effect.js +467 -0
  9. package/esm2015/lib/entity_state.js +23 -0
  10. package/esm2015/lib/ibase-crud-service.js +2 -0
  11. package/esm2015/lib/j-ngrx-filter.js +133 -0
  12. package/esm2015/lib/models.js +17 -0
  13. package/esm2015/lib/reducer.js +353 -0
  14. package/esm2015/lib/state_selectors.js +56 -0
  15. package/esm2015/lib/utils.js +19 -0
  16. package/esm2015/ngrx-entity-crud.js +5 -0
  17. package/esm2015/public-api.js +7 -0
  18. package/fesm2015/ngrx-entity-crud.js +1367 -0
  19. package/fesm2015/ngrx-entity-crud.js.map +1 -0
  20. package/lib/actions.d.ts +5 -0
  21. package/lib/actions.d.ts.map +1 -0
  22. package/lib/base-crud-gql.service.d.ts +19 -0
  23. package/lib/base-crud-gql.service.d.ts.map +1 -0
  24. package/lib/base-crud.service.d.ts +34 -0
  25. package/lib/base-crud.service.d.ts.map +1 -0
  26. package/lib/create_adapter.d.ts +6 -0
  27. package/lib/create_adapter.d.ts.map +1 -0
  28. package/lib/effect.d.ts +132 -0
  29. package/lib/effect.d.ts.map +1 -0
  30. package/lib/entity_state.d.ts +9 -0
  31. package/lib/entity_state.d.ts.map +1 -0
  32. package/lib/ibase-crud-service.d.ts +13 -0
  33. package/lib/ibase-crud-service.d.ts.map +1 -0
  34. package/lib/j-ngrx-filter.d.ts +14 -0
  35. package/lib/j-ngrx-filter.d.ts.map +1 -0
  36. package/lib/models.d.ts +494 -0
  37. package/lib/models.d.ts.map +1 -0
  38. package/lib/reducer.d.ts +11 -0
  39. package/lib/reducer.d.ts.map +1 -0
  40. package/lib/state_selectors.d.ts +5 -0
  41. package/lib/state_selectors.d.ts.map +1 -0
  42. package/lib/utils.d.ts +8 -0
  43. package/lib/utils.d.ts.map +1 -0
  44. package/ngrx-entity-crud.d.ts +5 -0
  45. package/ngrx-entity-crud.d.ts.map +1 -0
  46. package/ngrx-entity-crud.metadata.json +1 -0
  47. package/package.json +41 -0
  48. package/public-api.d.ts +7 -0
  49. package/public-api.d.ts.map +1 -0
  50. package/schematics/auth/files/model/auth.ts +17 -0
  51. package/schematics/auth/files/store/auth-store/actions.ts +30 -0
  52. package/schematics/auth/files/store/auth-store/auth-mock.service.ts +95 -0
  53. package/schematics/auth/files/store/auth-store/auth-store.module.ts +34 -0
  54. package/schematics/auth/files/store/auth-store/auth.guard.ts +44 -0
  55. package/schematics/auth/files/store/auth-store/auth.service.ts +28 -0
  56. package/schematics/auth/files/store/auth-store/conf.ts +2 -0
  57. package/schematics/auth/files/store/auth-store/effects.ts +53 -0
  58. package/schematics/auth/files/store/auth-store/index.d.ts +13 -0
  59. package/schematics/auth/files/store/auth-store/index.ts +13 -0
  60. package/schematics/auth/files/store/auth-store/names.ts +3 -0
  61. package/schematics/auth/files/store/auth-store/reducer.ts +16 -0
  62. package/schematics/auth/files/store/auth-store/selectors.ts +51 -0
  63. package/schematics/auth/files/store/auth-store/state.ts +16 -0
  64. package/schematics/auth/files/views/login/components/logout-button/logout-button.component.ts +49 -0
  65. package/schematics/auth/files/views/login/login-main/login-main.component.html +25 -0
  66. package/schematics/auth/files/views/login/login-main/login-main.component.ts +57 -0
  67. package/schematics/auth/files/views/login/login-routing.module.ts +30 -0
  68. package/schematics/auth/files/views/login/login.module.ts +30 -0
  69. package/schematics/auth/index.d.ts +2 -0
  70. package/schematics/auth/index.js +77 -0
  71. package/schematics/auth/index.js.map +1 -0
  72. package/schematics/auth/schema.json +21 -0
  73. package/schematics/auth0/files/store/auth-store/actions.ts +21 -0
  74. package/schematics/auth0/files/store/auth-store/auth-store.module.ts +32 -0
  75. package/schematics/auth0/files/store/auth-store/auth.guard.ts +44 -0
  76. package/schematics/auth0/files/store/auth-store/authentication.service.ts +32 -0
  77. package/schematics/auth0/files/store/auth-store/conf.ts +2 -0
  78. package/schematics/auth0/files/store/auth-store/effects.ts +59 -0
  79. package/schematics/auth0/files/store/auth-store/index.d.ts +13 -0
  80. package/schematics/auth0/files/store/auth-store/index.ts +13 -0
  81. package/schematics/auth0/files/store/auth-store/login.component.ts +75 -0
  82. package/schematics/auth0/files/store/auth-store/names.ts +3 -0
  83. package/schematics/auth0/files/store/auth-store/profile.ts +12 -0
  84. package/schematics/auth0/files/store/auth-store/reducer.ts +23 -0
  85. package/schematics/auth0/files/store/auth-store/selectors.ts +24 -0
  86. package/schematics/auth0/files/store/auth-store/state.ts +11 -0
  87. package/schematics/auth0/index.d.ts +2 -0
  88. package/schematics/auth0/index.js +67 -0
  89. package/schematics/auth0/index.js.map +1 -0
  90. package/schematics/auth0/schema.json +21 -0
  91. package/schematics/collection.json +30 -0
  92. package/schematics/my-utility.d.ts +58 -0
  93. package/schematics/my-utility.js +257 -0
  94. package/schematics/my-utility.js.map +1 -0
  95. package/schematics/ng-add/files/root-store/index.d.ts +8 -0
  96. package/schematics/ng-add/files/root-store/index.ts +8 -0
  97. package/schematics/ng-add/files/root-store/root-reducer.ts +11 -0
  98. package/schematics/ng-add/files/root-store/root-store.module.ts +29 -0
  99. package/schematics/ng-add/files/root-store/router-store/actions.ts +27 -0
  100. package/schematics/ng-add/files/root-store/router-store/effects.ts +65 -0
  101. package/schematics/ng-add/files/root-store/router-store/index.d.ts +11 -0
  102. package/schematics/ng-add/files/root-store/router-store/index.ts +11 -0
  103. package/schematics/ng-add/files/root-store/router-store/pop-up-base.component.ts +83 -0
  104. package/schematics/ng-add/files/root-store/router-store/pop-up-base.module.ts +24 -0
  105. package/schematics/ng-add/files/root-store/router-store/reducer.ts +31 -0
  106. package/schematics/ng-add/files/root-store/router-store/router-store.module.ts +30 -0
  107. package/schematics/ng-add/files/root-store/router-store/selectors.ts +63 -0
  108. package/schematics/ng-add/files/root-store/router-store/state.ts +18 -0
  109. package/schematics/ng-add/files/root-store/selectors.ts +20 -0
  110. package/schematics/ng-add/files/root-store/slide-menu-store/actions.ts +11 -0
  111. package/schematics/ng-add/files/root-store/slide-menu-store/effects.ts +10 -0
  112. package/schematics/ng-add/files/root-store/slide-menu-store/index.d.ts +13 -0
  113. package/schematics/ng-add/files/root-store/slide-menu-store/index.ts +13 -0
  114. package/schematics/ng-add/files/root-store/slide-menu-store/names.ts +3 -0
  115. package/schematics/ng-add/files/root-store/slide-menu-store/operators.ts +24 -0
  116. package/schematics/ng-add/files/root-store/slide-menu-store/reducer.ts +8 -0
  117. package/schematics/ng-add/files/root-store/slide-menu-store/selectors.ts +41 -0
  118. package/schematics/ng-add/files/root-store/slide-menu-store/slide-menu-store.module.ts +27 -0
  119. package/schematics/ng-add/files/root-store/slide-menu-store/state.ts +14 -0
  120. package/schematics/ng-add/files/root-store/state.ts +5 -0
  121. package/schematics/ng-add/index.d.ts +2 -0
  122. package/schematics/ng-add/index.js +78 -0
  123. package/schematics/ng-add/index.js.map +1 -0
  124. package/schematics/ng-add/schema.json +22 -0
  125. package/schematics/section/files/ionic/__clazz@dasherize__/__clazz@dasherize__-edit/__clazz@dasherize__-edit.component.html +52 -0
  126. package/schematics/section/files/ionic/__clazz@dasherize__/__clazz@dasherize__-edit/__clazz@dasherize__-edit.component.ts +57 -0
  127. package/schematics/section/files/ionic/__clazz@dasherize__/__clazz@dasherize__-list/__clazz@dasherize__-list.component.html +7 -0
  128. package/schematics/section/files/ionic/__clazz@dasherize__/__clazz@dasherize__-list/__clazz@dasherize__-list.component.ts +50 -0
  129. package/schematics/section/files/ionic/__clazz@dasherize__/__clazz@dasherize__-main/__clazz@dasherize__-main.component.html +15 -0
  130. package/schematics/section/files/ionic/__clazz@dasherize__/__clazz@dasherize__-main/__clazz@dasherize__-main.component.ts +23 -0
  131. package/schematics/section/files/ionic/__clazz@dasherize__/__clazz@dasherize__-routing.module.ts +36 -0
  132. package/schematics/section/files/ionic/__clazz@dasherize__/__clazz@dasherize__.module.ts +33 -0
  133. package/schematics/section/files/no-libs/__clazz@dasherize__/__clazz@dasherize__-edit/__clazz@dasherize__-edit.component.html +1 -0
  134. package/schematics/section/files/no-libs/__clazz@dasherize__/__clazz@dasherize__-edit/__clazz@dasherize__-edit.component.ts +16 -0
  135. package/schematics/section/files/no-libs/__clazz@dasherize__/__clazz@dasherize__-list/__clazz@dasherize__-list.component.html +1 -0
  136. package/schematics/section/files/no-libs/__clazz@dasherize__/__clazz@dasherize__-list/__clazz@dasherize__-list.component.ts +27 -0
  137. package/schematics/section/files/no-libs/__clazz@dasherize__/__clazz@dasherize__-main/__clazz@dasherize__-main.component.html +1 -0
  138. package/schematics/section/files/no-libs/__clazz@dasherize__/__clazz@dasherize__-main/__clazz@dasherize__-main.component.ts +18 -0
  139. package/schematics/section/files/no-libs/__clazz@dasherize__/__clazz@dasherize__-routing.module.ts +36 -0
  140. package/schematics/section/files/no-libs/__clazz@dasherize__/__clazz@dasherize__.module.ts +26 -0
  141. package/schematics/section/files/primeng/__clazz@dasherize__/__clazz@dasherize__-edit/__clazz@dasherize__-edit.component.html +38 -0
  142. package/schematics/section/files/primeng/__clazz@dasherize__/__clazz@dasherize__-edit/__clazz@dasherize__-edit.component.ts +50 -0
  143. package/schematics/section/files/primeng/__clazz@dasherize__/__clazz@dasherize__-list/__clazz@dasherize__-list.component.html +30 -0
  144. package/schematics/section/files/primeng/__clazz@dasherize__/__clazz@dasherize__-list/__clazz@dasherize__-list.component.ts +101 -0
  145. package/schematics/section/files/primeng/__clazz@dasherize__/__clazz@dasherize__-main/__clazz@dasherize__-main.component.html +12 -0
  146. package/schematics/section/files/primeng/__clazz@dasherize__/__clazz@dasherize__-main/__clazz@dasherize__-main.component.ts +21 -0
  147. package/schematics/section/files/primeng/__clazz@dasherize__/__clazz@dasherize__-routing.module.ts +37 -0
  148. package/schematics/section/files/primeng/__clazz@dasherize__/__clazz@dasherize__.module.ts +49 -0
  149. package/schematics/section/files/primeng/__clazz@dasherize__/components/button-create-many-test-__clazz@dasherize__.component.ts +46 -0
  150. package/schematics/section/files/primeng/__clazz@dasherize__/components/button-delete-__clazz@dasherize__.component.ts +35 -0
  151. package/schematics/section/files/primeng/__clazz@dasherize__/components/button-edit-many-test-__clazz@dasherize__.component.ts +45 -0
  152. package/schematics/section/files/primeng/__clazz@dasherize__/components/button-new-__clazz@dasherize__.component.ts +45 -0
  153. package/schematics/section/index.d.ts +2 -0
  154. package/schematics/section/index.js +56 -0
  155. package/schematics/section/index.js.map +1 -0
  156. package/schematics/section/schema.json +39 -0
  157. package/schematics/store/files/base-model/__clazz@dasherize__.ts +8 -0
  158. package/schematics/store/files/base-store/__clazz@dasherize__-store/__clazz@dasherize__-store.module.ts +26 -0
  159. package/schematics/store/files/base-store/__clazz@dasherize__-store/__clazz@dasherize__.actions.ts +9 -0
  160. package/schematics/store/files/base-store/__clazz@dasherize__-store/__clazz@dasherize__.effects.ts +11 -0
  161. package/schematics/store/files/base-store/__clazz@dasherize__-store/__clazz@dasherize__.names.ts +3 -0
  162. package/schematics/store/files/base-store/__clazz@dasherize__-store/__clazz@dasherize__.reducer.ts +8 -0
  163. package/schematics/store/files/base-store/__clazz@dasherize__-store/__clazz@dasherize__.selectors.ts +18 -0
  164. package/schematics/store/files/base-store/__clazz@dasherize__-store/__clazz@dasherize__.state.ts +6 -0
  165. package/schematics/store/files/base-store/__clazz@dasherize__-store/index.d.ts +13 -0
  166. package/schematics/store/files/base-store/__clazz@dasherize__-store/index.ts +13 -0
  167. package/schematics/store/files/crud-graphql/__clazz@dasherize__-store/__clazz@dasherize__.criteria.ts +39 -0
  168. package/schematics/store/files/crud-graphql/__clazz@dasherize__-store/__clazz@dasherize__.graphql +34 -0
  169. package/schematics/store/files/crud-model/__clazz@dasherize__.ts +8 -0
  170. package/schematics/store/files/crud-service/__clazz@dasherize__.service.ts +11 -0
  171. package/schematics/store/files/crud-service-graphql/__clazz@dasherize__.service.ts +16 -0
  172. package/schematics/store/files/crud-store/__clazz@dasherize__-store/__clazz@dasherize__-store.module.ts +26 -0
  173. package/schematics/store/files/crud-store/__clazz@dasherize__-store/__clazz@dasherize__.actions.ts +55 -0
  174. package/schematics/store/files/crud-store/__clazz@dasherize__-store/__clazz@dasherize__.effects.ts +90 -0
  175. package/schematics/store/files/crud-store/__clazz@dasherize__-store/__clazz@dasherize__.names.ts +3 -0
  176. package/schematics/store/files/crud-store/__clazz@dasherize__-store/__clazz@dasherize__.reducer.ts +103 -0
  177. package/schematics/store/files/crud-store/__clazz@dasherize__-store/__clazz@dasherize__.selectors.ts +26 -0
  178. package/schematics/store/files/crud-store/__clazz@dasherize__-store/__clazz@dasherize__.state.ts +11 -0
  179. package/schematics/store/files/crud-store/__clazz@dasherize__-store/index.d.ts +15 -0
  180. package/schematics/store/files/crud-store/__clazz@dasherize__-store/index.ts +15 -0
  181. package/schematics/store/index.d.ts +2 -0
  182. package/schematics/store/index.js +100 -0
  183. package/schematics/store/index.js.map +1 -0
  184. package/schematics/store/schema.json +45 -0
package/README.md ADDED
@@ -0,0 +1,259 @@
1
+ # ngrx-entity-crud
2
+ This library helps create the CRUD Angular application that makes use of NgRx.
3
+ Commands for code generation:
4
+ - `store`: Generates a feature set containing an `entity`, `actions`, `reducer`, ... file.
5
+ - `section`: Generates a new Angular CRUD page containing an `list`, `detail`, `search`, ... file.
6
+ - `auth`: Generates a boilerplate for authentication implementation containing an `store section` and `components` file.
7
+ - `auth0`: Generates Auth0 implementation containing an `store section` and `components` file.
8
+
9
+ # How to use it?
10
+ To create your first project, follow this [guide](https://github.com/jucasoft/ngrx-entity-crud-prime-ng-boilerplate).
11
+
12
+ # Command detail for generation
13
+
14
+ ## store
15
+
16
+ ---
17
+
18
+ ### Overview
19
+
20
+ Generates a feature set containing an `actions`, `effects`, `reducer`, and `selectors` file. You use this to build out a new feature area that provides a new piece of state.
21
+
22
+ ### Command
23
+
24
+ ```sh
25
+ ng generate ngrx-entity-crud:store [options]
26
+ ```
27
+
28
+ ### Options
29
+
30
+ Name of the store section
31
+ - `--name`
32
+ - Type: `string`
33
+ - Default: `false`
34
+
35
+ Name of the class that will be managed
36
+ - `--clazz`
37
+ - Type: `string`
38
+ - Default: `false`
39
+
40
+ Store type:
41
+ - CRUD: generate action, effect and reducer for the crud management of the entity.
42
+ - BASE: generate an empty boilerplate
43
+
44
+ - `--type`
45
+ - Type: `string`
46
+ - Enum: `"CRUD" or "BASE"`
47
+ - Default: `false`
48
+
49
+ #### Examples
50
+
51
+ ```sh
52
+ ng generate ngrx-entity-crud:store --name=coin --clazz=Coin --type=CRUD
53
+ ```
54
+
55
+ or
56
+
57
+ ```sh
58
+ ng generate ngrx-entity-crud:store --name=coin --clazz=Coin --type=BASE
59
+ ```
60
+
61
+ #### Files generated/changed by the “:store” command
62
+
63
+ ```sh
64
+ CREATE src/app/root-store/coin-store/coin-store.module.ts (787 bytes)
65
+ CREATE src/app/root-store/coin-store/__clazz@dasherize__.actions.ts (462 bytes)
66
+ CREATE src/app/root-store/coin-store/__clazz@dasherize__.effects.ts (1186 bytes)
67
+ CREATE src/app/root-store/coin-store/index.d.ts (265 bytes)
68
+ CREATE src/app/root-store/coin-store/index.ts (267 bytes)
69
+ CREATE src/app/root-store/coin-store/__clazz@dasherize__.names.ts (46 bytes)
70
+ CREATE src/app/root-store/coin-store/__clazz@dasherize__.reducer.ts (162 bytes)
71
+ CREATE src/app/root-store/coin-store/__clazz@dasherize__.selectors.ts (543 bytes)
72
+ CREATE src/app/root-store/coin-store/__clazz@dasherize__.state.ts (385 bytes)
73
+ CREATE src/app/main/services/coin.service.ts (347 bytes)
74
+ CREATE src/app/main/models/vo/coin.ts (221 bytes)
75
+
76
+ UPDATE src/app/root-store/index.ts (309 bytes)
77
+ UPDATE src/app/root-store/index.d.ts (309 bytes)
78
+ UPDATE src/app/root-store/__clazz@dasherize__.state.ts (217 bytes)
79
+ UPDATE src/app/root-store/__clazz@dasherize__.selectors.ts (665 bytes)
80
+ UPDATE src/app/root-store/root-store.module.ts (1051 bytes)
81
+ ```
82
+
83
+
84
+ ## section
85
+
86
+ ---
87
+
88
+ ### Overview
89
+
90
+ Generates a new Angular CRUD page containing an `table`, `detail`, `search`, `reactive form`, ... file.
91
+
92
+ ### Command
93
+
94
+ ```sh
95
+ ng generate ngrx-entity-crud:section [options]
96
+ ```
97
+
98
+ ### Options
99
+
100
+ Name of the class that will be managed
101
+ - `--clazz`
102
+ - Type: `string`
103
+ - Default: `false`
104
+
105
+ Allows you to decide whether to use the graphic components of PrimeNg, or to create an empty boilerplate
106
+ - `--lib`
107
+ - Type: `string`
108
+ - Enum: `"primeng" or "no-libs"`
109
+ - Default: `true`
110
+
111
+ #### Examples
112
+
113
+ ```sh
114
+ ng generate ngrx-entity-crud:section --clazz=Coin --lib=primeng
115
+ ```
116
+
117
+ or
118
+
119
+ ```sh
120
+ ng generate ngrx-entity-crud:section --clazz=Coin --lib=no-libs
121
+ ```
122
+
123
+ #### Files generated/changed by the “:section” command
124
+
125
+ ```sh
126
+ CREATE src/app/main/views/coin/coin-routing.module.ts (722 bytes)
127
+ CREATE src/app/main/views/coin/coin.module.ts (1102 bytes)
128
+ CREATE src/app/main/views/coin/coin-edit/coin-edit.component.html (1325 bytes)
129
+ CREATE src/app/main/views/coin/coin-edit/coin-edit.component.ts (1626 bytes)
130
+ CREATE src/app/main/views/coin/coin-list/coin-list.component.html (706 bytes)
131
+ CREATE src/app/main/views/coin/coin-list/coin-list.component.ts (2254 bytes)
132
+ CREATE src/app/main/views/coin/coin-main/coin-main.component.html (188 bytes)
133
+ CREATE src/app/main/views/coin/coin-main/coin-main.component.ts (536 bytes)
134
+
135
+ UPDATE src/app/app-routing.module.ts (517 bytes)
136
+ ```
137
+
138
+ ## auth
139
+
140
+ ---
141
+
142
+ ### Overview
143
+
144
+ Generates a boilerplate for authentication implementation containing an `store section` and `components` file.
145
+
146
+ ### Command
147
+
148
+ ```sh
149
+ ng generate ngrx-entity-crud:auth
150
+ ```
151
+
152
+ #### Examples
153
+
154
+ ```sh
155
+ ng generate ngrx-entity-crud:auth
156
+ ```
157
+
158
+ #### Files generated/changed by the “:auth” command
159
+
160
+ ```sh
161
+ CREATE src/app/main/views/login/login-routing.module.ts (546 bytes)
162
+ CREATE src/app/main/views/login/login.module.ts (819 bytes)
163
+ CREATE src/app/main/views/login/components/logout-button/logout-button.component.ts (1158 bytes)
164
+ CREATE src/app/main/views/login/login-main/login-main.component.html (1074 bytes)
165
+ CREATE src/app/main/views/login/login-main/login-main.component.ts (1590 bytes)
166
+ CREATE src/app/root-store/auth-store/__clazz@dasherize__.actions.ts (1148 bytes)
167
+ CREATE src/app/root-store/auth-store/auth-mock.service.ts (2021 bytes)
168
+ CREATE src/app/root-store/auth-store/auth-store.module.ts (1017 bytes)
169
+ CREATE src/app/root-store/auth-store/auth.guard.ts (1359 bytes)
170
+ CREATE src/app/root-store/auth-store/auth.service.ts (731 bytes)
171
+ CREATE src/app/root-store/auth-store/conf.ts (76 bytes)
172
+ CREATE src/app/root-store/auth-store/__clazz@dasherize__.effects.ts (1503 bytes)
173
+ CREATE src/app/root-store/auth-store/index.d.ts (271 bytes)
174
+ CREATE src/app/root-store/auth-store/index.ts (271 bytes)
175
+ CREATE src/app/root-store/auth-store/__clazz@dasherize__.names.ts (47 bytes)
176
+ CREATE src/app/root-store/auth-store/__clazz@dasherize__.reducer.ts (731 bytes)
177
+ CREATE src/app/root-store/auth-store/__clazz@dasherize__.selectors.ts (1525 bytes)
178
+ CREATE src/app/root-store/auth-store/__clazz@dasherize__.state.ts (319 bytes)
179
+ CREATE src/app/main/models/vo/auth.ts (277 bytes)
180
+
181
+ UPDATE src/app/app-routing.module.ts (558 bytes)
182
+ UPDATE src/app/root-store/index.ts (309 bytes)
183
+ UPDATE src/app/root-store/index.d.ts (309 bytes)
184
+ UPDATE src/app/root-store/__clazz@dasherize__.state.ts (184 bytes)
185
+ UPDATE src/app/root-store/root-store.module.ts (1051 bytes)
186
+ ```
187
+
188
+ ## auth0
189
+
190
+ ---
191
+
192
+ ### Overview
193
+
194
+ Generates a boilerplate for authentication implementation containing an `store section` and `components` file.
195
+
196
+ ### Command
197
+
198
+ ```sh
199
+ ng generate ngrx-entity-crud:auth0
200
+ ```
201
+
202
+ #### Examples
203
+
204
+ ```sh
205
+ ng generate ngrx-entity-crud:auth0
206
+ ```
207
+
208
+ #### Files generated/changed by the “:auth0” command
209
+
210
+ ```sh
211
+ CREATE src/app/root-store/auth-store/__clazz@dasherize__.actions.ts (776 bytes)
212
+ CREATE src/app/root-store/auth-store/auth-store.module.ts (1044 bytes)
213
+ CREATE src/app/root-store/auth-store/auth.guard.ts (1359 bytes)
214
+ CREATE src/app/root-store/auth-store/authentication.service.ts (675 bytes)
215
+ CREATE src/app/root-store/auth-store/conf.ts (75 bytes)
216
+ CREATE src/app/root-store/auth-store/__clazz@dasherize__.effects.ts (1754 bytes)
217
+ CREATE src/app/root-store/auth-store/index.d.ts (271 bytes)
218
+ CREATE src/app/root-store/auth-store/index.ts (271 bytes)
219
+ CREATE src/app/root-store/auth-store/login.component.ts (2117 bytes)
220
+ CREATE src/app/root-store/auth-store/__clazz@dasherize__.names.ts (47 bytes)
221
+ CREATE src/app/root-store/auth-store/profile.ts (224 bytes)
222
+ CREATE src/app/root-store/auth-store/__clazz@dasherize__.reducer.ts (475 bytes)
223
+ CREATE src/app/root-store/auth-store/__clazz@dasherize__.selectors.ts (699 bytes)
224
+ CREATE src/app/root-store/auth-store/__clazz@dasherize__.state.ts (192 bytes)
225
+
226
+ UPDATE src/app/root-store/index.ts (309 bytes)
227
+ UPDATE src/app/root-store/index.d.ts (309 bytes)
228
+ UPDATE src/app/root-store/__clazz@dasherize__.state.ts (184 bytes)
229
+ UPDATE src/app/root-store/root-store.module.ts (1051 bytes)
230
+ ```
231
+
232
+ ## Running unit tests
233
+ Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
234
+
235
+ ## Help
236
+ If you need help, or want to help me: [https://github.com/jucasoft/ngrx-entity-crud/issues](https://github.com/jucasoft/ngrx-entity-crud/issues)
237
+
238
+ ## MIT License
239
+
240
+ Permission is hereby granted, free of charge, to any person
241
+ obtaining a copy of this software and associated documentation
242
+ files (the "Software"), to deal in the Software without
243
+ restriction, including without limitation the rights to use,
244
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
245
+ copies of the Software, and to permit persons to whom the
246
+ Software is furnished to do so, subject to the following
247
+ conditions:
248
+
249
+ The above copyright notice and this permission notice shall be
250
+ included in all copies or substantial portions of the Software.
251
+
252
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
253
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
254
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
255
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
256
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
257
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
258
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
259
+ OTHER DEALINGS IN THE SOFTWARE.