@abp/ng.core 5.0.1 → 5.0.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 (300) hide show
  1. package/README.md +3 -3
  2. package/abp-ng.core.d.ts +5 -5
  3. package/bundles/abp-ng.core-locale.umd.js +361 -361
  4. package/bundles/abp-ng.core-locale.umd.js.map +1 -1
  5. package/bundles/abp-ng.core-testing.umd.js +442 -442
  6. package/bundles/abp-ng.core-testing.umd.js.map +1 -1
  7. package/bundles/abp-ng.core.umd.js +4873 -4868
  8. package/bundles/abp-ng.core.umd.js.map +1 -1
  9. package/esm2015/abp-ng.core.js +4 -4
  10. package/esm2015/lib/abstracts/index.js +2 -2
  11. package/esm2015/lib/abstracts/ng-model.component.js +59 -59
  12. package/esm2015/lib/components/dynamic-layout.component.js +89 -89
  13. package/esm2015/lib/components/index.js +4 -4
  14. package/esm2015/lib/components/replaceable-route-container.component.js +42 -42
  15. package/esm2015/lib/components/router-outlet.component.js +15 -15
  16. package/esm2015/lib/constants/different-locales.js +337 -337
  17. package/esm2015/lib/constants/index.js +2 -2
  18. package/esm2015/lib/core.module.js +281 -281
  19. package/esm2015/lib/directives/autofocus.directive.js +30 -30
  20. package/esm2015/lib/directives/debounce.directive.js +36 -36
  21. package/esm2015/lib/directives/for.directive.js +151 -151
  22. package/esm2015/lib/directives/form-submit.directive.js +69 -69
  23. package/esm2015/lib/directives/index.js +9 -9
  24. package/esm2015/lib/directives/init.directive.js +21 -21
  25. package/esm2015/lib/directives/permission.directive.js +48 -48
  26. package/esm2015/lib/directives/replaceable-template.directive.js +121 -121
  27. package/esm2015/lib/directives/stop-propagation.directive.js +32 -32
  28. package/esm2015/lib/enums/common.js +2 -2
  29. package/esm2015/lib/enums/index.js +2 -2
  30. package/esm2015/lib/guards/auth.guard.js +29 -29
  31. package/esm2015/lib/guards/index.js +3 -3
  32. package/esm2015/lib/guards/permission.guard.js +44 -44
  33. package/esm2015/lib/handlers/oauth-configuration.handler.js +37 -37
  34. package/esm2015/lib/handlers/routes.handler.js +47 -47
  35. package/esm2015/lib/interceptors/api.interceptor.js +54 -54
  36. package/esm2015/lib/interceptors/index.js +2 -2
  37. package/esm2015/lib/localization.module.js +16 -16
  38. package/esm2015/lib/models/auth.js +2 -2
  39. package/esm2015/lib/models/common.js +2 -2
  40. package/esm2015/lib/models/dtos.js +119 -119
  41. package/esm2015/lib/models/environment.js +2 -2
  42. package/esm2015/lib/models/index.js +10 -10
  43. package/esm2015/lib/models/localization.js +2 -2
  44. package/esm2015/lib/models/replaceable-components.js +2 -2
  45. package/esm2015/lib/models/rest.js +2 -2
  46. package/esm2015/lib/models/session.js +2 -2
  47. package/esm2015/lib/models/utility.js +2 -2
  48. package/esm2015/lib/pipes/index.js +3 -3
  49. package/esm2015/lib/pipes/localization.pipe.js +33 -33
  50. package/esm2015/lib/pipes/sort.pipe.js +49 -49
  51. package/esm2015/lib/providers/cookie-language.provider.js +22 -22
  52. package/esm2015/lib/providers/locale.provider.js +22 -22
  53. package/esm2015/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.js +29 -29
  54. package/esm2015/lib/proxy/pages/abp/multi-tenancy/index.js +2 -2
  55. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.js +24 -24
  56. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/index.js +2 -2
  57. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.js +25 -25
  58. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/index.js +5 -5
  59. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/models.js +2 -2
  60. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/index.js +2 -2
  61. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/models.js +3 -3
  62. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/index.js +2 -2
  63. package/esm2015/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models.js +2 -2
  64. package/esm2015/lib/proxy/volo/abp/http/modeling/index.js +2 -2
  65. package/esm2015/lib/proxy/volo/abp/http/modeling/models.js +3 -3
  66. package/esm2015/lib/proxy/volo/abp/localization/index.js +2 -2
  67. package/esm2015/lib/proxy/volo/abp/localization/models.js +2 -2
  68. package/esm2015/lib/proxy/volo/abp/models.js +2 -2
  69. package/esm2015/lib/services/auth.service.js +47 -47
  70. package/esm2015/lib/services/config-state.service.js +130 -130
  71. package/esm2015/lib/services/content-projection.service.js +17 -17
  72. package/esm2015/lib/services/dom-insertion.service.js +32 -32
  73. package/esm2015/lib/services/environment.service.js +35 -35
  74. package/esm2015/lib/services/http-error-reporter.service.js +29 -29
  75. package/esm2015/lib/services/http-wait.service.js +72 -72
  76. package/esm2015/lib/services/index.js +22 -22
  77. package/esm2015/lib/services/lazy-load.service.js +38 -38
  78. package/esm2015/lib/services/list.service.js +103 -103
  79. package/esm2015/lib/services/localization.service.js +182 -182
  80. package/esm2015/lib/services/multi-tenancy.service.js +48 -48
  81. package/esm2015/lib/services/permission.service.js +64 -64
  82. package/esm2015/lib/services/replaceable-components.service.js +49 -49
  83. package/esm2015/lib/services/resource-wait.service.js +39 -39
  84. package/esm2015/lib/services/rest.service.js +63 -63
  85. package/esm2015/lib/services/router-events.service.js +38 -38
  86. package/esm2015/lib/services/router-wait.service.js +51 -51
  87. package/esm2015/lib/services/routes.service.js +147 -147
  88. package/esm2015/lib/services/session-state.service.js +76 -76
  89. package/esm2015/lib/services/subscription.service.js +41 -41
  90. package/esm2015/lib/services/track-by.service.js +21 -21
  91. package/esm2015/lib/strategies/auth-flow.strategy.js +202 -202
  92. package/esm2015/lib/strategies/container.strategy.js +38 -38
  93. package/esm2015/lib/strategies/content-security.strategy.js +28 -28
  94. package/esm2015/lib/strategies/content.strategy.js +48 -48
  95. package/esm2015/lib/strategies/context.strategy.js +37 -37
  96. package/esm2015/lib/strategies/cross-origin.strategy.js +26 -26
  97. package/esm2015/lib/strategies/dom.strategy.js +27 -27
  98. package/esm2015/lib/strategies/index.js +9 -9
  99. package/esm2015/lib/strategies/loading.strategy.js +58 -58
  100. package/esm2015/lib/strategies/projection.strategy.js +80 -80
  101. package/esm2015/lib/tokens/app-config.token.js +3 -3
  102. package/esm2015/lib/tokens/cookie-language-key.token.js +5 -5
  103. package/esm2015/lib/tokens/index.js +9 -9
  104. package/esm2015/lib/tokens/list.token.js +3 -3
  105. package/esm2015/lib/tokens/localization.token.js +10 -10
  106. package/esm2015/lib/tokens/lodaer-delay.token.js +3 -3
  107. package/esm2015/lib/tokens/manage-profile.token.js +12 -12
  108. package/esm2015/lib/tokens/options.token.js +8 -8
  109. package/esm2015/lib/tokens/tenant-key.token.js +3 -3
  110. package/esm2015/lib/utils/array-utils.js +7 -7
  111. package/esm2015/lib/utils/auth-utils.js +42 -42
  112. package/esm2015/lib/utils/common-utils.js +29 -29
  113. package/esm2015/lib/utils/date-extensions.js +6 -6
  114. package/esm2015/lib/utils/date-utils.js +13 -13
  115. package/esm2015/lib/utils/environment-utils.js +36 -36
  116. package/esm2015/lib/utils/factory-utils.js +24 -24
  117. package/esm2015/lib/utils/file-utils.js +14 -14
  118. package/esm2015/lib/utils/form-utils.js +12 -12
  119. package/esm2015/lib/utils/generator-utils.js +34 -34
  120. package/esm2015/lib/utils/http-utils.js +19 -19
  121. package/esm2015/lib/utils/index.js +21 -21
  122. package/esm2015/lib/utils/initial-utils.js +64 -64
  123. package/esm2015/lib/utils/internal-store-utils.js +36 -36
  124. package/esm2015/lib/utils/lazy-load-utils.js +40 -40
  125. package/esm2015/lib/utils/localization-utils.js +50 -50
  126. package/esm2015/lib/utils/multi-tenancy-utils.js +83 -83
  127. package/esm2015/lib/utils/number-utils.js +4 -4
  128. package/esm2015/lib/utils/object-utils.js +37 -37
  129. package/esm2015/lib/utils/route-utils.js +27 -27
  130. package/esm2015/lib/utils/string-utils.js +25 -21
  131. package/esm2015/lib/utils/tree-utils.js +54 -54
  132. package/esm2015/lib/validators/age.validator.js +14 -14
  133. package/esm2015/lib/validators/credit-card.validator.js +21 -21
  134. package/esm2015/lib/validators/index.js +23 -23
  135. package/esm2015/lib/validators/range.validator.js +15 -15
  136. package/esm2015/lib/validators/required.validator.js +13 -13
  137. package/esm2015/lib/validators/string-length.validator.js +15 -15
  138. package/esm2015/lib/validators/url.validator.js +16 -16
  139. package/esm2015/locale/abp-ng.core-locale.js +4 -4
  140. package/esm2015/locale/public-api.js +2 -2
  141. package/esm2015/locale/utils/register-locale.js +43 -43
  142. package/esm2015/public-api.js +26 -26
  143. package/esm2015/testing/abp-ng.core-testing.js +4 -4
  144. package/esm2015/testing/lib/core-testing.module.js +62 -62
  145. package/esm2015/testing/lib/services/index.js +3 -3
  146. package/esm2015/testing/lib/services/mock-permission.service.js +35 -35
  147. package/esm2015/testing/lib/services/mock-rest.service.js +30 -30
  148. package/esm2015/testing/lib/utils/clear-page.util.js +10 -10
  149. package/esm2015/testing/lib/utils/index.js +3 -3
  150. package/esm2015/testing/lib/utils/wait.util.js +5 -5
  151. package/esm2015/testing/public-api.js +4 -4
  152. package/fesm2015/abp-ng.core-locale.js +40 -40
  153. package/fesm2015/abp-ng.core-locale.js.map +1 -1
  154. package/fesm2015/abp-ng.core-testing.js +113 -113
  155. package/fesm2015/abp-ng.core-testing.js.map +1 -1
  156. package/fesm2015/abp-ng.core.js +3979 -3975
  157. package/fesm2015/abp-ng.core.js.map +1 -1
  158. package/lib/abstracts/index.d.ts +1 -1
  159. package/lib/abstracts/ng-model.component.d.ts +25 -25
  160. package/lib/components/dynamic-layout.component.d.ts +27 -27
  161. package/lib/components/index.d.ts +3 -3
  162. package/lib/components/replaceable-route-container.component.d.ts +17 -17
  163. package/lib/components/router-outlet.component.d.ts +5 -5
  164. package/lib/constants/different-locales.d.ts +334 -334
  165. package/lib/constants/index.d.ts +1 -1
  166. package/lib/core.module.d.ts +56 -56
  167. package/lib/directives/autofocus.directive.d.ts +12 -12
  168. package/lib/directives/debounce.directive.d.ts +13 -13
  169. package/lib/directives/for.directive.d.ts +36 -36
  170. package/lib/directives/form-submit.directive.d.ts +19 -19
  171. package/lib/directives/index.d.ts +8 -8
  172. package/lib/directives/init.directive.d.ts +10 -10
  173. package/lib/directives/permission.directive.d.ts +18 -18
  174. package/lib/directives/replaceable-template.directive.d.ts +30 -30
  175. package/lib/directives/stop-propagation.directive.d.ts +12 -12
  176. package/lib/enums/common.d.ts +5 -5
  177. package/lib/enums/index.d.ts +1 -1
  178. package/lib/guards/auth.guard.d.ts +13 -13
  179. package/lib/guards/index.d.ts +2 -2
  180. package/lib/guards/permission.guard.d.ts +16 -16
  181. package/lib/handlers/oauth-configuration.handler.d.ts +13 -13
  182. package/lib/handlers/routes.handler.d.ts +11 -11
  183. package/lib/interceptors/api.interceptor.d.ts +16 -16
  184. package/lib/interceptors/index.d.ts +1 -1
  185. package/lib/localization.module.d.ts +7 -7
  186. package/lib/models/auth.d.ts +6 -6
  187. package/lib/models/common.d.ts +77 -77
  188. package/lib/models/dtos.d.ts +95 -95
  189. package/lib/models/environment.d.ts +35 -35
  190. package/lib/models/index.d.ts +9 -9
  191. package/lib/models/localization.d.ts +5 -5
  192. package/lib/models/replaceable-components.d.ts +45 -45
  193. package/lib/models/rest.d.ts +35 -35
  194. package/lib/models/session.d.ts +7 -7
  195. package/lib/models/utility.d.ts +14 -14
  196. package/lib/pipes/index.d.ts +2 -2
  197. package/lib/pipes/localization.pipe.d.ts +12 -12
  198. package/lib/pipes/sort.pipe.d.ts +9 -9
  199. package/lib/providers/cookie-language.provider.d.ts +3 -3
  200. package/lib/providers/locale.provider.d.ts +9 -9
  201. package/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.d.ts +12 -12
  202. package/lib/proxy/pages/abp/multi-tenancy/index.d.ts +1 -1
  203. package/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.d.ts +11 -11
  204. package/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/index.d.ts +1 -1
  205. package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.d.ts +11 -11
  206. package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/index.d.ts +4 -4
  207. package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/models.d.ts +85 -85
  208. package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/index.d.ts +1 -1
  209. package/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/object-extending/models.d.ts +71 -71
  210. package/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/index.d.ts +1 -1
  211. package/lib/proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models.d.ts +14 -14
  212. package/lib/proxy/volo/abp/http/modeling/index.d.ts +1 -1
  213. package/lib/proxy/volo/abp/http/modeling/models.d.ts +70 -70
  214. package/lib/proxy/volo/abp/localization/index.d.ts +1 -1
  215. package/lib/proxy/volo/abp/localization/models.d.ts +6 -6
  216. package/lib/proxy/volo/abp/models.d.ts +4 -4
  217. package/lib/services/auth.service.d.ts +17 -17
  218. package/lib/services/config-state.service.d.ts +339 -339
  219. package/lib/services/content-projection.service.d.ts +10 -10
  220. package/lib/services/dom-insertion.service.d.ts +10 -10
  221. package/lib/services/environment.service.d.ts +96 -96
  222. package/lib/services/http-error-reporter.service.d.ts +12 -12
  223. package/lib/services/http-wait.service.d.ts +30 -30
  224. package/lib/services/index.d.ts +21 -21
  225. package/lib/services/lazy-load.service.d.ts +13 -13
  226. package/lib/services/list.service.d.ts +39 -39
  227. package/lib/services/localization.service.d.ts +47 -47
  228. package/lib/services/multi-tenancy.service.d.ts +22 -22
  229. package/lib/services/permission.service.d.ts +19 -19
  230. package/lib/services/replaceable-components.service.d.ts +19 -19
  231. package/lib/services/resource-wait.service.d.ts +15 -15
  232. package/lib/services/rest.service.d.ts +20 -20
  233. package/lib/services/router-events.service.d.ts +29 -29
  234. package/lib/services/router-wait.service.d.ts +20 -20
  235. package/lib/services/routes.service.d.ts +50 -50
  236. package/lib/services/session-state.service.d.ts +25 -25
  237. package/lib/services/subscription.service.d.ts +17 -17
  238. package/lib/services/track-by.service.d.ts +11 -11
  239. package/lib/strategies/auth-flow.strategy.d.ts +367 -367
  240. package/lib/strategies/container.strategy.d.ts +22 -22
  241. package/lib/strategies/content-security.strategy.d.ts +17 -17
  242. package/lib/strategies/content.strategy.d.ts +26 -26
  243. package/lib/strategies/context.strategy.d.ts +23 -23
  244. package/lib/strategies/cross-origin.strategy.d.ts +14 -14
  245. package/lib/strategies/dom.strategy.d.ts +13 -13
  246. package/lib/strategies/index.d.ts +8 -8
  247. package/lib/strategies/loading.strategy.d.ts +28 -28
  248. package/lib/strategies/projection.strategy.d.ts +39 -39
  249. package/lib/tokens/app-config.token.d.ts +3 -3
  250. package/lib/tokens/cookie-language-key.token.d.ts +2 -2
  251. package/lib/tokens/index.d.ts +8 -8
  252. package/lib/tokens/list.token.d.ts +2 -2
  253. package/lib/tokens/localization.token.d.ts +6 -6
  254. package/lib/tokens/lodaer-delay.token.d.ts +2 -2
  255. package/lib/tokens/manage-profile.token.d.ts +2 -2
  256. package/lib/tokens/options.token.d.ts +4 -4
  257. package/lib/tokens/tenant-key.token.d.ts +2 -2
  258. package/lib/utils/array-utils.d.ts +1 -1
  259. package/lib/utils/auth-utils.d.ts +162 -162
  260. package/lib/utils/common-utils.d.ts +9 -9
  261. package/lib/utils/date-extensions.d.ts +6 -6
  262. package/lib/utils/date-utils.d.ts +4 -4
  263. package/lib/utils/environment-utils.d.ts +3 -3
  264. package/lib/utils/factory-utils.d.ts +9 -9
  265. package/lib/utils/file-utils.d.ts +1 -1
  266. package/lib/utils/form-utils.d.ts +2 -2
  267. package/lib/utils/generator-utils.d.ts +3 -3
  268. package/lib/utils/http-utils.d.ts +8 -8
  269. package/lib/utils/index.d.ts +20 -20
  270. package/lib/utils/initial-utils.d.ts +159 -159
  271. package/lib/utils/internal-store-utils.d.ts +14 -14
  272. package/lib/utils/lazy-load-utils.d.ts +4 -4
  273. package/lib/utils/localization-utils.d.ts +5 -5
  274. package/lib/utils/multi-tenancy-utils.d.ts +3 -3
  275. package/lib/utils/number-utils.d.ts +1 -1
  276. package/lib/utils/object-utils.d.ts +1 -1
  277. package/lib/utils/route-utils.d.ts +8 -8
  278. package/lib/utils/string-utils.d.ts +3 -2
  279. package/lib/utils/tree-utils.d.ts +19 -19
  280. package/lib/validators/age.validator.d.ts +10 -10
  281. package/lib/validators/credit-card.validator.d.ts +5 -5
  282. package/lib/validators/index.d.ts +22 -22
  283. package/lib/validators/range.validator.d.ts +12 -12
  284. package/lib/validators/required.validator.d.ts +8 -8
  285. package/lib/validators/string-length.validator.d.ts +14 -14
  286. package/lib/validators/url.validator.d.ts +5 -5
  287. package/locale/abp-ng.core-locale.d.ts +5 -5
  288. package/locale/public-api.d.ts +1 -1
  289. package/locale/utils/register-locale.d.ts +13 -13
  290. package/package.json +2 -2
  291. package/public-api.d.ts +24 -24
  292. package/testing/abp-ng.core-testing.d.ts +5 -5
  293. package/testing/lib/core-testing.module.d.ts +16 -16
  294. package/testing/lib/services/index.d.ts +2 -2
  295. package/testing/lib/services/mock-permission.service.d.ts +10 -10
  296. package/testing/lib/services/mock-rest.service.d.ts +13 -13
  297. package/testing/lib/utils/clear-page.util.d.ts +2 -2
  298. package/testing/lib/utils/index.d.ts +2 -2
  299. package/testing/lib/utils/wait.util.d.ts +2 -2
  300. package/testing/public-api.d.ts +3 -3
@@ -1,7 +1,7 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./pipes/localization.pipe";
3
- export declare class LocalizationModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<LocalizationModule, [typeof i1.LocalizationPipe], never, [typeof i1.LocalizationPipe]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<LocalizationModule>;
7
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./pipes/localization.pipe";
3
+ export declare class LocalizationModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LocalizationModule, [typeof i1.LocalizationPipe], never, [typeof i1.LocalizationPipe]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<LocalizationModule>;
7
+ }
@@ -1,6 +1,6 @@
1
- export interface LoginParams {
2
- username: string;
3
- password: string;
4
- rememberMe?: boolean;
5
- redirectUrl?: string;
6
- }
1
+ export interface LoginParams {
2
+ username: string;
3
+ password: string;
4
+ rememberMe?: boolean;
5
+ redirectUrl?: string;
6
+ }
@@ -1,77 +1,77 @@
1
- import { EventEmitter, Type } from '@angular/core';
2
- import { Routes } from '@angular/router';
3
- import { Subject } from 'rxjs';
4
- import { eLayoutType } from '../enums/common';
5
- import { Environment } from './environment';
6
- export declare namespace ABP {
7
- interface Root {
8
- environment: Partial<Environment>;
9
- registerLocaleFn: (locale: string) => Promise<any>;
10
- skipGetAppConfiguration?: boolean;
11
- sendNullsAsQueryParam?: boolean;
12
- tenantKey?: string;
13
- localizations?: Localization[];
14
- }
15
- interface Child {
16
- localizations?: Localization[];
17
- }
18
- interface Localization {
19
- culture: string;
20
- resources: LocalizationResource[];
21
- }
22
- interface LocalizationResource {
23
- resourceName: string;
24
- texts: Record<string, string>;
25
- }
26
- interface HasPolicy {
27
- requiredPolicy?: string;
28
- }
29
- interface Test extends Partial<Root> {
30
- baseHref?: string;
31
- listQueryDebounceTime?: number;
32
- routes?: Routes;
33
- }
34
- type PagedResponse<T> = {
35
- totalCount: number;
36
- } & PagedItemsResponse<T>;
37
- interface PagedItemsResponse<T> {
38
- items: T[];
39
- }
40
- interface PageQueryParams {
41
- filter?: string;
42
- sorting?: string;
43
- skipCount?: number;
44
- maxResultCount?: number;
45
- }
46
- interface Lookup {
47
- id: string;
48
- displayName: string;
49
- }
50
- interface Nav {
51
- name: string;
52
- parentName?: string;
53
- requiredPolicy?: string;
54
- order?: number;
55
- invisible?: boolean;
56
- }
57
- interface Route extends Nav {
58
- path?: string;
59
- layout?: eLayoutType;
60
- iconClass?: string;
61
- }
62
- interface Tab extends Nav {
63
- component: Type<any>;
64
- }
65
- interface BasicItem {
66
- id: string;
67
- name: string;
68
- }
69
- interface Option<T> {
70
- key: Extract<keyof T, string>;
71
- value: T[Extract<keyof T, string>];
72
- }
73
- interface Dictionary<T = any> {
74
- [key: string]: T;
75
- }
76
- type ExtractFromOutput<T extends EventEmitter<any> | Subject<any>> = T extends EventEmitter<infer X> ? X : T extends Subject<infer Y> ? Y : never;
77
- }
1
+ import { EventEmitter, Type } from '@angular/core';
2
+ import { Routes } from '@angular/router';
3
+ import { Subject } from 'rxjs';
4
+ import { eLayoutType } from '../enums/common';
5
+ import { Environment } from './environment';
6
+ export declare namespace ABP {
7
+ interface Root {
8
+ environment: Partial<Environment>;
9
+ registerLocaleFn: (locale: string) => Promise<any>;
10
+ skipGetAppConfiguration?: boolean;
11
+ sendNullsAsQueryParam?: boolean;
12
+ tenantKey?: string;
13
+ localizations?: Localization[];
14
+ }
15
+ interface Child {
16
+ localizations?: Localization[];
17
+ }
18
+ interface Localization {
19
+ culture: string;
20
+ resources: LocalizationResource[];
21
+ }
22
+ interface LocalizationResource {
23
+ resourceName: string;
24
+ texts: Record<string, string>;
25
+ }
26
+ interface HasPolicy {
27
+ requiredPolicy?: string;
28
+ }
29
+ interface Test extends Partial<Root> {
30
+ baseHref?: string;
31
+ listQueryDebounceTime?: number;
32
+ routes?: Routes;
33
+ }
34
+ type PagedResponse<T> = {
35
+ totalCount: number;
36
+ } & PagedItemsResponse<T>;
37
+ interface PagedItemsResponse<T> {
38
+ items: T[];
39
+ }
40
+ interface PageQueryParams {
41
+ filter?: string;
42
+ sorting?: string;
43
+ skipCount?: number;
44
+ maxResultCount?: number;
45
+ }
46
+ interface Lookup {
47
+ id: string;
48
+ displayName: string;
49
+ }
50
+ interface Nav {
51
+ name: string;
52
+ parentName?: string;
53
+ requiredPolicy?: string;
54
+ order?: number;
55
+ invisible?: boolean;
56
+ }
57
+ interface Route extends Nav {
58
+ path?: string;
59
+ layout?: eLayoutType;
60
+ iconClass?: string;
61
+ }
62
+ interface Tab extends Nav {
63
+ component: Type<any>;
64
+ }
65
+ interface BasicItem {
66
+ id: string;
67
+ name: string;
68
+ }
69
+ interface Option<T> {
70
+ key: Extract<keyof T, string>;
71
+ value: T[Extract<keyof T, string>];
72
+ }
73
+ interface Dictionary<T = any> {
74
+ [key: string]: T;
75
+ }
76
+ type ExtractFromOutput<T extends EventEmitter<any> | Subject<any>> = T extends EventEmitter<infer X> ? X : T extends Subject<infer Y> ? Y : never;
77
+ }
@@ -1,95 +1,95 @@
1
- import { ABP } from './common';
2
- export declare class ListResultDto<T> {
3
- items?: T[];
4
- constructor(initialValues?: Partial<ListResultDto<T>>);
5
- }
6
- export declare class PagedResultDto<T> extends ListResultDto<T> {
7
- totalCount?: number;
8
- constructor(initialValues?: Partial<PagedResultDto<T>>);
9
- }
10
- export declare class LimitedResultRequestDto {
11
- maxResultCount: number;
12
- constructor(initialValues?: Partial<LimitedResultRequestDto>);
13
- }
14
- export declare class PagedResultRequestDto extends LimitedResultRequestDto {
15
- skipCount?: number;
16
- constructor(initialValues?: Partial<PagedResultRequestDto>);
17
- }
18
- export declare class PagedAndSortedResultRequestDto extends PagedResultRequestDto {
19
- sorting?: string;
20
- constructor(initialValues?: Partial<PagedAndSortedResultRequestDto>);
21
- }
22
- export declare class EntityDto<TKey = string> {
23
- id?: TKey;
24
- constructor(initialValues?: Partial<EntityDto<TKey>>);
25
- }
26
- export declare class CreationAuditedEntityDto<TPrimaryKey = string> extends EntityDto<TPrimaryKey> {
27
- creationTime?: string | Date;
28
- creatorId?: string;
29
- constructor(initialValues?: Partial<CreationAuditedEntityDto<TPrimaryKey>>);
30
- }
31
- export declare class CreationAuditedEntityWithUserDto<TUserDto, TPrimaryKey = string> extends CreationAuditedEntityDto<TPrimaryKey> {
32
- creator?: TUserDto;
33
- constructor(initialValues?: Partial<CreationAuditedEntityWithUserDto<TUserDto, TPrimaryKey>>);
34
- }
35
- export declare class AuditedEntityDto<TPrimaryKey = string> extends CreationAuditedEntityDto<TPrimaryKey> {
36
- lastModificationTime?: string | Date;
37
- lastModifierId?: string;
38
- constructor(initialValues?: Partial<AuditedEntityDto<TPrimaryKey>>);
39
- }
40
- export declare class AuditedEntityWithUserDto<TUserDto, TPrimaryKey = string> extends AuditedEntityDto<TPrimaryKey> {
41
- creator?: TUserDto;
42
- lastModifier?: TUserDto;
43
- constructor(initialValues?: Partial<AuditedEntityWithUserDto<TUserDto, TPrimaryKey>>);
44
- }
45
- export declare class FullAuditedEntityDto<TPrimaryKey = string> extends AuditedEntityDto<TPrimaryKey> {
46
- isDeleted?: boolean;
47
- deleterId?: string;
48
- deletionTime?: Date | string;
49
- constructor(initialValues?: Partial<FullAuditedEntityDto<TPrimaryKey>>);
50
- }
51
- export declare class FullAuditedEntityWithUserDto<TUserDto, TPrimaryKey = string> extends FullAuditedEntityDto<TPrimaryKey> {
52
- creator?: TUserDto;
53
- lastModifier?: TUserDto;
54
- deleter?: TUserDto;
55
- constructor(initialValues?: Partial<FullAuditedEntityWithUserDto<TUserDto, TPrimaryKey>>);
56
- }
57
- export declare class ExtensibleObject {
58
- extraProperties: ABP.Dictionary<any>;
59
- constructor(initialValues?: Partial<ExtensibleObject>);
60
- }
61
- export declare class ExtensibleEntityDto<TKey = string> extends ExtensibleObject {
62
- id: TKey;
63
- constructor(initialValues?: Partial<ExtensibleEntityDto<TKey>>);
64
- }
65
- export declare class ExtensibleCreationAuditedEntityDto<TPrimaryKey = string> extends ExtensibleEntityDto<TPrimaryKey> {
66
- creationTime: Date | string;
67
- creatorId?: string;
68
- constructor(initialValues?: Partial<ExtensibleCreationAuditedEntityDto<TPrimaryKey>>);
69
- }
70
- export declare class ExtensibleAuditedEntityDto<TPrimaryKey = string> extends ExtensibleCreationAuditedEntityDto<TPrimaryKey> {
71
- lastModificationTime?: Date | string;
72
- lastModifierId?: string;
73
- constructor(initialValues?: Partial<ExtensibleAuditedEntityDto<TPrimaryKey>>);
74
- }
75
- export declare class ExtensibleAuditedEntityWithUserDto<TPrimaryKey = string, TUserDto = any> extends ExtensibleAuditedEntityDto<TPrimaryKey> {
76
- creator: TUserDto;
77
- lastModifier: TUserDto;
78
- constructor(initialValues?: Partial<ExtensibleAuditedEntityWithUserDto<TPrimaryKey>>);
79
- }
80
- export declare class ExtensibleCreationAuditedEntityWithUserDto<TPrimaryKey = string, TUserDto = any> extends ExtensibleCreationAuditedEntityDto<TPrimaryKey> {
81
- creator: TUserDto;
82
- constructor(initialValues?: Partial<ExtensibleCreationAuditedEntityWithUserDto<TPrimaryKey>>);
83
- }
84
- export declare class ExtensibleFullAuditedEntityDto<TPrimaryKey = string> extends ExtensibleAuditedEntityDto<TPrimaryKey> {
85
- isDeleted: boolean;
86
- deleterId?: string;
87
- deletionTime: Date | string;
88
- constructor(initialValues?: Partial<ExtensibleFullAuditedEntityDto<TPrimaryKey>>);
89
- }
90
- export declare class ExtensibleFullAuditedEntityWithUserDto<TPrimaryKey = string, TUserDto = any> extends ExtensibleFullAuditedEntityDto<TPrimaryKey> {
91
- creator: TUserDto;
92
- lastModifier: TUserDto;
93
- deleter: TUserDto;
94
- constructor(initialValues?: Partial<ExtensibleFullAuditedEntityWithUserDto<TPrimaryKey>>);
95
- }
1
+ import { ABP } from './common';
2
+ export declare class ListResultDto<T> {
3
+ items?: T[];
4
+ constructor(initialValues?: Partial<ListResultDto<T>>);
5
+ }
6
+ export declare class PagedResultDto<T> extends ListResultDto<T> {
7
+ totalCount?: number;
8
+ constructor(initialValues?: Partial<PagedResultDto<T>>);
9
+ }
10
+ export declare class LimitedResultRequestDto {
11
+ maxResultCount: number;
12
+ constructor(initialValues?: Partial<LimitedResultRequestDto>);
13
+ }
14
+ export declare class PagedResultRequestDto extends LimitedResultRequestDto {
15
+ skipCount?: number;
16
+ constructor(initialValues?: Partial<PagedResultRequestDto>);
17
+ }
18
+ export declare class PagedAndSortedResultRequestDto extends PagedResultRequestDto {
19
+ sorting?: string;
20
+ constructor(initialValues?: Partial<PagedAndSortedResultRequestDto>);
21
+ }
22
+ export declare class EntityDto<TKey = string> {
23
+ id?: TKey;
24
+ constructor(initialValues?: Partial<EntityDto<TKey>>);
25
+ }
26
+ export declare class CreationAuditedEntityDto<TPrimaryKey = string> extends EntityDto<TPrimaryKey> {
27
+ creationTime?: string | Date;
28
+ creatorId?: string;
29
+ constructor(initialValues?: Partial<CreationAuditedEntityDto<TPrimaryKey>>);
30
+ }
31
+ export declare class CreationAuditedEntityWithUserDto<TUserDto, TPrimaryKey = string> extends CreationAuditedEntityDto<TPrimaryKey> {
32
+ creator?: TUserDto;
33
+ constructor(initialValues?: Partial<CreationAuditedEntityWithUserDto<TUserDto, TPrimaryKey>>);
34
+ }
35
+ export declare class AuditedEntityDto<TPrimaryKey = string> extends CreationAuditedEntityDto<TPrimaryKey> {
36
+ lastModificationTime?: string | Date;
37
+ lastModifierId?: string;
38
+ constructor(initialValues?: Partial<AuditedEntityDto<TPrimaryKey>>);
39
+ }
40
+ export declare class AuditedEntityWithUserDto<TUserDto, TPrimaryKey = string> extends AuditedEntityDto<TPrimaryKey> {
41
+ creator?: TUserDto;
42
+ lastModifier?: TUserDto;
43
+ constructor(initialValues?: Partial<AuditedEntityWithUserDto<TUserDto, TPrimaryKey>>);
44
+ }
45
+ export declare class FullAuditedEntityDto<TPrimaryKey = string> extends AuditedEntityDto<TPrimaryKey> {
46
+ isDeleted?: boolean;
47
+ deleterId?: string;
48
+ deletionTime?: Date | string;
49
+ constructor(initialValues?: Partial<FullAuditedEntityDto<TPrimaryKey>>);
50
+ }
51
+ export declare class FullAuditedEntityWithUserDto<TUserDto, TPrimaryKey = string> extends FullAuditedEntityDto<TPrimaryKey> {
52
+ creator?: TUserDto;
53
+ lastModifier?: TUserDto;
54
+ deleter?: TUserDto;
55
+ constructor(initialValues?: Partial<FullAuditedEntityWithUserDto<TUserDto, TPrimaryKey>>);
56
+ }
57
+ export declare class ExtensibleObject {
58
+ extraProperties: ABP.Dictionary<any>;
59
+ constructor(initialValues?: Partial<ExtensibleObject>);
60
+ }
61
+ export declare class ExtensibleEntityDto<TKey = string> extends ExtensibleObject {
62
+ id: TKey;
63
+ constructor(initialValues?: Partial<ExtensibleEntityDto<TKey>>);
64
+ }
65
+ export declare class ExtensibleCreationAuditedEntityDto<TPrimaryKey = string> extends ExtensibleEntityDto<TPrimaryKey> {
66
+ creationTime: Date | string;
67
+ creatorId?: string;
68
+ constructor(initialValues?: Partial<ExtensibleCreationAuditedEntityDto<TPrimaryKey>>);
69
+ }
70
+ export declare class ExtensibleAuditedEntityDto<TPrimaryKey = string> extends ExtensibleCreationAuditedEntityDto<TPrimaryKey> {
71
+ lastModificationTime?: Date | string;
72
+ lastModifierId?: string;
73
+ constructor(initialValues?: Partial<ExtensibleAuditedEntityDto<TPrimaryKey>>);
74
+ }
75
+ export declare class ExtensibleAuditedEntityWithUserDto<TPrimaryKey = string, TUserDto = any> extends ExtensibleAuditedEntityDto<TPrimaryKey> {
76
+ creator: TUserDto;
77
+ lastModifier: TUserDto;
78
+ constructor(initialValues?: Partial<ExtensibleAuditedEntityWithUserDto<TPrimaryKey>>);
79
+ }
80
+ export declare class ExtensibleCreationAuditedEntityWithUserDto<TPrimaryKey = string, TUserDto = any> extends ExtensibleCreationAuditedEntityDto<TPrimaryKey> {
81
+ creator: TUserDto;
82
+ constructor(initialValues?: Partial<ExtensibleCreationAuditedEntityWithUserDto<TPrimaryKey>>);
83
+ }
84
+ export declare class ExtensibleFullAuditedEntityDto<TPrimaryKey = string> extends ExtensibleAuditedEntityDto<TPrimaryKey> {
85
+ isDeleted: boolean;
86
+ deleterId?: string;
87
+ deletionTime: Date | string;
88
+ constructor(initialValues?: Partial<ExtensibleFullAuditedEntityDto<TPrimaryKey>>);
89
+ }
90
+ export declare class ExtensibleFullAuditedEntityWithUserDto<TPrimaryKey = string, TUserDto = any> extends ExtensibleFullAuditedEntityDto<TPrimaryKey> {
91
+ creator: TUserDto;
92
+ lastModifier: TUserDto;
93
+ deleter: TUserDto;
94
+ constructor(initialValues?: Partial<ExtensibleFullAuditedEntityWithUserDto<TPrimaryKey>>);
95
+ }
@@ -1,35 +1,35 @@
1
- import { AuthConfig } from 'angular-oauth2-oidc';
2
- import { ABP } from './common';
3
- export interface Environment {
4
- apis: Apis;
5
- application: ApplicationInfo;
6
- hmr?: boolean;
7
- test?: boolean;
8
- localization?: {
9
- defaultResourceName?: string;
10
- };
11
- oAuthConfig: AuthConfig;
12
- production: boolean;
13
- remoteEnv?: RemoteEnv;
14
- }
15
- export interface ApplicationInfo {
16
- name: string;
17
- baseUrl?: string;
18
- logoUrl?: string;
19
- }
20
- export interface ApiConfig {
21
- [key: string]: string;
22
- url: string;
23
- rootNamespace?: string;
24
- }
25
- export interface Apis {
26
- [key: string]: Partial<ApiConfig>;
27
- default: ApiConfig;
28
- }
29
- export declare type customMergeFn = (localEnv: Partial<Environment>, remoteEnv: any) => Environment;
30
- export interface RemoteEnv {
31
- url: string;
32
- mergeStrategy: 'deepmerge' | 'overwrite' | customMergeFn;
33
- method?: string;
34
- headers?: ABP.Dictionary<string>;
35
- }
1
+ import { AuthConfig } from 'angular-oauth2-oidc';
2
+ import { ABP } from './common';
3
+ export interface Environment {
4
+ apis: Apis;
5
+ application: ApplicationInfo;
6
+ hmr?: boolean;
7
+ test?: boolean;
8
+ localization?: {
9
+ defaultResourceName?: string;
10
+ };
11
+ oAuthConfig: AuthConfig;
12
+ production: boolean;
13
+ remoteEnv?: RemoteEnv;
14
+ }
15
+ export interface ApplicationInfo {
16
+ name: string;
17
+ baseUrl?: string;
18
+ logoUrl?: string;
19
+ }
20
+ export interface ApiConfig {
21
+ [key: string]: string;
22
+ url: string;
23
+ rootNamespace?: string;
24
+ }
25
+ export interface Apis {
26
+ [key: string]: Partial<ApiConfig>;
27
+ default: ApiConfig;
28
+ }
29
+ export declare type customMergeFn = (localEnv: Partial<Environment>, remoteEnv: any) => Environment;
30
+ export interface RemoteEnv {
31
+ url: string;
32
+ mergeStrategy: 'deepmerge' | 'overwrite' | customMergeFn;
33
+ method?: string;
34
+ headers?: ABP.Dictionary<string>;
35
+ }
@@ -1,9 +1,9 @@
1
- export * from './auth';
2
- export * from './common';
3
- export * from './dtos';
4
- export * from './environment';
5
- export * from './localization';
6
- export * from './replaceable-components';
7
- export * from './rest';
8
- export * from './session';
9
- export * from './utility';
1
+ export * from './auth';
2
+ export * from './common';
3
+ export * from './dtos';
4
+ export * from './environment';
5
+ export * from './localization';
6
+ export * from './replaceable-components';
7
+ export * from './rest';
8
+ export * from './session';
9
+ export * from './utility';
@@ -1,5 +1,5 @@
1
- export interface LocalizationWithDefault {
2
- key: string;
3
- defaultValue: string;
4
- }
5
- export declare type LocalizationParam = string | LocalizationWithDefault;
1
+ export interface LocalizationWithDefault {
2
+ key: string;
3
+ defaultValue: string;
4
+ }
5
+ export declare type LocalizationParam = string | LocalizationWithDefault;
@@ -1,45 +1,45 @@
1
- import { EventEmitter, Type } from '@angular/core';
2
- import { Subject } from 'rxjs';
3
- import { ABP } from './common';
4
- export declare namespace ReplaceableComponents {
5
- interface State {
6
- replaceableComponents: ReplaceableComponent[];
7
- }
8
- interface ReplaceableComponent {
9
- component: Type<any>;
10
- key: string;
11
- }
12
- interface ReplaceableTemplateDirectiveInput<I, O extends {
13
- [K in keyof O]: EventEmitter<any> | Subject<any>;
14
- }> {
15
- inputs?: {
16
- -readonly [K in keyof I]: {
17
- value: I[K];
18
- twoWay?: boolean;
19
- };
20
- };
21
- outputs?: {
22
- -readonly [K in keyof O]: (value: ABP.ExtractFromOutput<O[K]>) => void;
23
- };
24
- componentKey: string;
25
- }
26
- interface ReplaceableTemplateData<I, O extends {
27
- [K in keyof O]: EventEmitter<any> | Subject<any>;
28
- }> {
29
- inputs: ReplaceableTemplateInputs<I>;
30
- outputs: ReplaceableTemplateOutputs<O>;
31
- componentKey: string;
32
- }
33
- type ReplaceableTemplateInputs<T> = {
34
- [K in keyof T]: T[K];
35
- };
36
- type ReplaceableTemplateOutputs<T extends {
37
- [K in keyof T]: EventEmitter<any> | Subject<any>;
38
- }> = {
39
- [K in keyof T]: (value: ABP.ExtractFromOutput<T[K]>) => void;
40
- };
41
- interface RouteData<T = any> {
42
- key: string;
43
- defaultComponent: Type<T>;
44
- }
45
- }
1
+ import { EventEmitter, Type } from '@angular/core';
2
+ import { Subject } from 'rxjs';
3
+ import { ABP } from './common';
4
+ export declare namespace ReplaceableComponents {
5
+ interface State {
6
+ replaceableComponents: ReplaceableComponent[];
7
+ }
8
+ interface ReplaceableComponent {
9
+ component: Type<any>;
10
+ key: string;
11
+ }
12
+ interface ReplaceableTemplateDirectiveInput<I, O extends {
13
+ [K in keyof O]: EventEmitter<any> | Subject<any>;
14
+ }> {
15
+ inputs?: {
16
+ -readonly [K in keyof I]: {
17
+ value: I[K];
18
+ twoWay?: boolean;
19
+ };
20
+ };
21
+ outputs?: {
22
+ -readonly [K in keyof O]: (value: ABP.ExtractFromOutput<O[K]>) => void;
23
+ };
24
+ componentKey: string;
25
+ }
26
+ interface ReplaceableTemplateData<I, O extends {
27
+ [K in keyof O]: EventEmitter<any> | Subject<any>;
28
+ }> {
29
+ inputs: ReplaceableTemplateInputs<I>;
30
+ outputs: ReplaceableTemplateOutputs<O>;
31
+ componentKey: string;
32
+ }
33
+ type ReplaceableTemplateInputs<T> = {
34
+ [K in keyof T]: T[K];
35
+ };
36
+ type ReplaceableTemplateOutputs<T extends {
37
+ [K in keyof T]: EventEmitter<any> | Subject<any>;
38
+ }> = {
39
+ [K in keyof T]: (value: ABP.ExtractFromOutput<T[K]>) => void;
40
+ };
41
+ interface RouteData<T = any> {
42
+ key: string;
43
+ defaultComponent: Type<T>;
44
+ }
45
+ }
@@ -1,35 +1,35 @@
1
- import { HttpHeaders, HttpParameterCodec, HttpParams } from '@angular/common/http';
2
- export declare namespace Rest {
3
- type Config = Partial<{
4
- apiName: string;
5
- skipHandleError: boolean;
6
- observe: Observe;
7
- httpParamEncoder?: HttpParameterCodec;
8
- }>;
9
- const enum Observe {
10
- Body = "body",
11
- Events = "events",
12
- Response = "response"
13
- }
14
- const enum ResponseType {
15
- ArrayBuffer = "arraybuffer",
16
- Blob = "blob",
17
- JSON = "json",
18
- Text = "text"
19
- }
20
- type Params = HttpParams | {
21
- [param: string]: any;
22
- };
23
- interface Request<T> {
24
- body?: T;
25
- headers?: HttpHeaders | {
26
- [header: string]: string | string[];
27
- };
28
- method: string;
29
- params?: Params;
30
- reportProgress?: boolean;
31
- responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
32
- url: string;
33
- withCredentials?: boolean;
34
- }
35
- }
1
+ import { HttpHeaders, HttpParameterCodec, HttpParams } from '@angular/common/http';
2
+ export declare namespace Rest {
3
+ type Config = Partial<{
4
+ apiName: string;
5
+ skipHandleError: boolean;
6
+ observe: Observe;
7
+ httpParamEncoder?: HttpParameterCodec;
8
+ }>;
9
+ const enum Observe {
10
+ Body = "body",
11
+ Events = "events",
12
+ Response = "response"
13
+ }
14
+ const enum ResponseType {
15
+ ArrayBuffer = "arraybuffer",
16
+ Blob = "blob",
17
+ JSON = "json",
18
+ Text = "text"
19
+ }
20
+ type Params = HttpParams | {
21
+ [param: string]: any;
22
+ };
23
+ interface Request<T> {
24
+ body?: T;
25
+ headers?: HttpHeaders | {
26
+ [header: string]: string | string[];
27
+ };
28
+ method: string;
29
+ params?: Params;
30
+ reportProgress?: boolean;
31
+ responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
32
+ url: string;
33
+ withCredentials?: boolean;
34
+ }
35
+ }
@@ -1,7 +1,7 @@
1
- import { CurrentTenantDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models';
2
- export declare namespace Session {
3
- interface State {
4
- language: string;
5
- tenant: CurrentTenantDto;
6
- }
7
- }
1
+ import { CurrentTenantDto } from '../proxy/volo/abp/asp-net-core/mvc/multi-tenancy/models';
2
+ export declare namespace Session {
3
+ interface State {
4
+ language: string;
5
+ tenant: CurrentTenantDto;
6
+ }
7
+ }