@module-federation/enhanced 0.0.0-perf-devtools-20260107043700 → 0.0.0-perf-website-code-usage-20260914033703

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 (289) hide show
  1. package/README.md +1 -1
  2. package/dist/CHANGELOG.md +2678 -0
  3. package/dist/README.md +213 -0
  4. package/dist/rstestmigrate.md +140 -0
  5. package/dist/src/_virtual/_rolldown/runtime.js +47 -0
  6. package/dist/src/index.d.ts +22 -18
  7. package/dist/src/index.js +47 -41
  8. package/dist/src/index.js.map +1 -1
  9. package/dist/src/lib/Constants.js +136 -116
  10. package/dist/src/lib/Constants.js.map +1 -1
  11. package/dist/src/lib/container/AsyncBoundaryPlugin.d.ts +20 -16
  12. package/dist/src/lib/container/AsyncBoundaryPlugin.js +137 -196
  13. package/dist/src/lib/container/AsyncBoundaryPlugin.js.map +1 -1
  14. package/dist/src/lib/container/ContainerEntryDependency.d.ts +25 -23
  15. package/dist/src/lib/container/ContainerEntryDependency.js +37 -39
  16. package/dist/src/lib/container/ContainerEntryDependency.js.map +1 -1
  17. package/dist/src/lib/container/ContainerEntryModule.d.ts +104 -79
  18. package/dist/src/lib/container/ContainerEntryModule.js +213 -234
  19. package/dist/src/lib/container/ContainerEntryModule.js.map +1 -1
  20. package/dist/src/lib/container/ContainerEntryModuleFactory.d.ts +15 -10
  21. package/dist/src/lib/container/ContainerEntryModuleFactory.js +21 -25
  22. package/dist/src/lib/container/ContainerEntryModuleFactory.js.map +1 -1
  23. package/dist/src/lib/container/ContainerExposedDependency.d.ts +26 -23
  24. package/dist/src/lib/container/ContainerExposedDependency.js +47 -47
  25. package/dist/src/lib/container/ContainerExposedDependency.js.map +1 -1
  26. package/dist/src/lib/container/ContainerPlugin.d.ts +12 -8
  27. package/dist/src/lib/container/ContainerPlugin.js +144 -213
  28. package/dist/src/lib/container/ContainerPlugin.js.map +1 -1
  29. package/dist/src/lib/container/ContainerReferencePlugin.d.ts +16 -12
  30. package/dist/src/lib/container/ContainerReferencePlugin.js +72 -101
  31. package/dist/src/lib/container/ContainerReferencePlugin.js.map +1 -1
  32. package/dist/src/lib/container/FallbackDependency.d.ts +24 -19
  33. package/dist/src/lib/container/FallbackDependency.js +46 -44
  34. package/dist/src/lib/container/FallbackDependency.js.map +1 -1
  35. package/dist/src/lib/container/FallbackItemDependency.d.ts +13 -8
  36. package/dist/src/lib/container/FallbackItemDependency.js +24 -24
  37. package/dist/src/lib/container/FallbackItemDependency.js.map +1 -1
  38. package/dist/src/lib/container/FallbackModule.d.ts +82 -71
  39. package/dist/src/lib/container/FallbackModule.js +133 -145
  40. package/dist/src/lib/container/FallbackModule.js.map +1 -1
  41. package/dist/src/lib/container/FallbackModuleFactory.d.ts +15 -10
  42. package/dist/src/lib/container/FallbackModuleFactory.js +20 -24
  43. package/dist/src/lib/container/FallbackModuleFactory.js.map +1 -1
  44. package/dist/src/lib/container/HoistContainerReferencesPlugin.d.ts +11 -7
  45. package/dist/src/lib/container/HoistContainerReferencesPlugin.js +124 -188
  46. package/dist/src/lib/container/HoistContainerReferencesPlugin.js.map +1 -1
  47. package/dist/src/lib/container/ModuleFederationPlugin.d.ts +20 -16
  48. package/dist/src/lib/container/ModuleFederationPlugin.js +151 -170
  49. package/dist/src/lib/container/ModuleFederationPlugin.js.map +1 -1
  50. package/dist/src/lib/container/RemoteModule.d.ts +83 -74
  51. package/dist/src/lib/container/RemoteModule.js +149 -153
  52. package/dist/src/lib/container/RemoteModule.js.map +1 -1
  53. package/dist/src/lib/container/RemoteRuntimeModule.d.ts +12 -7
  54. package/dist/src/lib/container/RemoteRuntimeModule.js +86 -120
  55. package/dist/src/lib/container/RemoteRuntimeModule.js.map +1 -1
  56. package/dist/src/lib/container/RemoteToExternalDependency.d.ts +13 -8
  57. package/dist/src/lib/container/RemoteToExternalDependency.js +25 -23
  58. package/dist/src/lib/container/RemoteToExternalDependency.js.map +1 -1
  59. package/dist/src/lib/container/constant.d.ts +3 -0
  60. package/dist/src/lib/container/constant.js +11 -14
  61. package/dist/src/lib/container/constant.js.map +1 -1
  62. package/dist/src/lib/container/options.d.ts +12 -3
  63. package/dist/src/lib/container/options.js +51 -69
  64. package/dist/src/lib/container/options.js.map +1 -1
  65. package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.d.ts +14 -9
  66. package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.js +56 -64
  67. package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.js.map +1 -1
  68. package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.d.ts +23 -19
  69. package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.js +70 -101
  70. package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.js.map +1 -1
  71. package/dist/src/lib/container/runtime/FederationModulesPlugin.d.ts +20 -16
  72. package/dist/src/lib/container/runtime/FederationModulesPlugin.js +38 -46
  73. package/dist/src/lib/container/runtime/FederationModulesPlugin.js.map +1 -1
  74. package/dist/src/lib/container/runtime/FederationRuntimeDependency.d.ts +9 -4
  75. package/dist/src/lib/container/runtime/FederationRuntimeDependency.js +16 -12
  76. package/dist/src/lib/container/runtime/FederationRuntimeDependency.js.map +1 -1
  77. package/dist/src/lib/container/runtime/FederationRuntimeModule.d.ts +16 -11
  78. package/dist/src/lib/container/runtime/FederationRuntimeModule.js +39 -46
  79. package/dist/src/lib/container/runtime/FederationRuntimeModule.js.map +1 -1
  80. package/dist/src/lib/container/runtime/FederationRuntimePlugin.d.ts +31 -18
  81. package/dist/src/lib/container/runtime/FederationRuntimePlugin.js +263 -293
  82. package/dist/src/lib/container/runtime/FederationRuntimePlugin.js.map +1 -1
  83. package/dist/src/lib/container/runtime/getFederationGlobal.d.ts +9 -4
  84. package/dist/src/lib/container/runtime/getFederationGlobal.js +43 -41
  85. package/dist/src/lib/container/runtime/getFederationGlobal.js.map +1 -1
  86. package/dist/src/lib/container/runtime/normalizeToPosixPath.d.ts +5 -0
  87. package/dist/src/lib/container/runtime/normalizeToPosixPath.js +20 -0
  88. package/dist/src/lib/container/runtime/normalizeToPosixPath.js.map +1 -0
  89. package/dist/src/lib/container/runtime/utils.d.ts +22 -7
  90. package/dist/src/lib/container/runtime/utils.js +80 -102
  91. package/dist/src/lib/container/runtime/utils.js.map +1 -1
  92. package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.d.ts +15 -10
  93. package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.js +27 -25
  94. package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.js.map +1 -1
  95. package/dist/src/lib/sharing/ConsumeSharedModule.d.ts +77 -67
  96. package/dist/src/lib/sharing/ConsumeSharedModule.js +190 -214
  97. package/dist/src/lib/sharing/ConsumeSharedModule.js.map +1 -1
  98. package/dist/src/lib/sharing/ConsumeSharedPlugin.d.ts +13 -9
  99. package/dist/src/lib/sharing/ConsumeSharedPlugin.js +308 -472
  100. package/dist/src/lib/sharing/ConsumeSharedPlugin.js.map +1 -1
  101. package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.d.ts +16 -11
  102. package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js +108 -123
  103. package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js.map +1 -1
  104. package/dist/src/lib/sharing/ProvideForSharedDependency.d.ts +14 -9
  105. package/dist/src/lib/sharing/ProvideForSharedDependency.js +25 -25
  106. package/dist/src/lib/sharing/ProvideForSharedDependency.js.map +1 -1
  107. package/dist/src/lib/sharing/ProvideSharedDependency.d.ts +44 -38
  108. package/dist/src/lib/sharing/ProvideSharedDependency.js +72 -74
  109. package/dist/src/lib/sharing/ProvideSharedDependency.js.map +1 -1
  110. package/dist/src/lib/sharing/ProvideSharedModule.d.ts +91 -81
  111. package/dist/src/lib/sharing/ProvideSharedModule.js +177 -181
  112. package/dist/src/lib/sharing/ProvideSharedModule.js.map +1 -1
  113. package/dist/src/lib/sharing/ProvideSharedModuleFactory.d.ts +14 -9
  114. package/dist/src/lib/sharing/ProvideSharedModuleFactory.js +19 -25
  115. package/dist/src/lib/sharing/ProvideSharedModuleFactory.js.map +1 -1
  116. package/dist/src/lib/sharing/ProvideSharedPlugin.d.ts +27 -21
  117. package/dist/src/lib/sharing/ProvideSharedPlugin.js +341 -548
  118. package/dist/src/lib/sharing/ProvideSharedPlugin.js.map +1 -1
  119. package/dist/src/lib/sharing/SharePlugin.d.ts +55 -12
  120. package/dist/src/lib/sharing/SharePlugin.js +91 -91
  121. package/dist/src/lib/sharing/SharePlugin.js.map +1 -1
  122. package/dist/src/lib/sharing/ShareRuntimeModule.d.ts +12 -7
  123. package/dist/src/lib/sharing/ShareRuntimeModule.js +81 -99
  124. package/dist/src/lib/sharing/ShareRuntimeModule.js.map +1 -1
  125. package/dist/src/lib/sharing/resolveMatchedConfigs.d.ts +11 -7
  126. package/dist/src/lib/sharing/resolveMatchedConfigs.js +58 -71
  127. package/dist/src/lib/sharing/resolveMatchedConfigs.js.map +1 -1
  128. package/dist/src/lib/sharing/tree-shaking/CollectSharedEntryPlugin.d.ts +25 -0
  129. package/dist/src/lib/sharing/tree-shaking/CollectSharedEntryPlugin.js +85 -0
  130. package/dist/src/lib/sharing/tree-shaking/CollectSharedEntryPlugin.js.map +1 -0
  131. package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.d.ts +41 -0
  132. package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.js +227 -0
  133. package/dist/src/lib/sharing/tree-shaking/IndependentSharedPlugin.js.map +1 -0
  134. package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.d.ts +26 -0
  135. package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.js +32 -0
  136. package/dist/src/lib/sharing/tree-shaking/IndependentSharedRuntimeModule.js.map +1 -0
  137. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.d.ts +32 -0
  138. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.js +94 -0
  139. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedContainerPlugin.js.map +1 -0
  140. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.d.ts +31 -0
  141. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.js +49 -0
  142. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedDependency.js.map +1 -0
  143. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.d.ts +22 -0
  144. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.js +35 -0
  145. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryDependency.js.map +1 -0
  146. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.d.ts +87 -0
  147. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.js +144 -0
  148. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModule.js.map +1 -0
  149. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.d.ts +16 -0
  150. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.js +23 -0
  151. package/dist/src/lib/sharing/tree-shaking/SharedContainerPlugin/SharedEntryModuleFactory.js.map +1 -0
  152. package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.d.ts +23 -0
  153. package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.js +163 -0
  154. package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerPlugin.js.map +1 -0
  155. package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.d.ts +22 -0
  156. package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.js +28 -0
  157. package/dist/src/lib/sharing/tree-shaking/SharedUsedExportsOptimizerRuntimeModule.js.map +1 -0
  158. package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.d.ts +20 -0
  159. package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.js +44 -0
  160. package/dist/src/lib/sharing/tree-shaking/TreeShakingSharedPlugin.js.map +1 -0
  161. package/dist/src/lib/sharing/utils.d.ts +27 -23
  162. package/dist/src/lib/sharing/utils.js +224 -366
  163. package/dist/src/lib/sharing/utils.js.map +1 -1
  164. package/dist/src/lib/startup/MfStartupChunkDependenciesPlugin.d.ts +11 -7
  165. package/dist/src/lib/startup/MfStartupChunkDependenciesPlugin.js +56 -75
  166. package/dist/src/lib/startup/MfStartupChunkDependenciesPlugin.js.map +1 -1
  167. package/dist/src/lib/startup/StartupHelpers.d.ts +11 -6
  168. package/dist/src/lib/startup/StartupHelpers.js +128 -178
  169. package/dist/src/lib/startup/StartupHelpers.js.map +1 -1
  170. package/dist/src/rspack.d.ts +3 -2
  171. package/dist/src/rspack.js +35 -10
  172. package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.d.ts +8 -4
  173. package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js +19 -16
  174. package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js.map +1 -1
  175. package/dist/src/runtime.d.ts +1 -1
  176. package/dist/src/runtime.js +11 -18
  177. package/dist/src/runtime.mjs +3 -0
  178. package/dist/src/schemas/container/ContainerPlugin.check.d.ts +13 -5
  179. package/dist/src/schemas/container/ContainerPlugin.check.js +767 -1220
  180. package/dist/src/schemas/container/ContainerPlugin.check.js.map +1 -1
  181. package/dist/src/schemas/container/ContainerPlugin.d.ts +267 -268
  182. package/dist/src/schemas/container/ContainerPlugin.js +269 -361
  183. package/dist/src/schemas/container/ContainerPlugin.js.map +1 -1
  184. package/dist/src/schemas/container/ContainerReferencePlugin.check.d.ts +13 -5
  185. package/dist/src/schemas/container/ContainerReferencePlugin.check.js +335 -443
  186. package/dist/src/schemas/container/ContainerReferencePlugin.check.js.map +1 -1
  187. package/dist/src/schemas/container/ContainerReferencePlugin.d.ts +102 -99
  188. package/dist/src/schemas/container/ContainerReferencePlugin.js +122 -162
  189. package/dist/src/schemas/container/ContainerReferencePlugin.js.map +1 -1
  190. package/dist/src/schemas/container/ExternalsType.check.d.ts +13 -5
  191. package/dist/src/schemas/container/ExternalsType.check.js +36 -62
  192. package/dist/src/schemas/container/ExternalsType.check.js.map +1 -1
  193. package/dist/src/schemas/container/ExternalsType.d.ts +5 -2
  194. package/dist/src/schemas/container/ExternalsType.js +8 -11
  195. package/dist/src/schemas/container/ExternalsType.js.map +1 -1
  196. package/dist/src/schemas/container/ModuleFederationPlugin.check.js +3020 -4301
  197. package/dist/src/schemas/container/ModuleFederationPlugin.check.js.map +1 -1
  198. package/dist/src/schemas/container/ModuleFederationPlugin.d.ts +828 -758
  199. package/dist/src/schemas/container/ModuleFederationPlugin.js +788 -993
  200. package/dist/src/schemas/container/ModuleFederationPlugin.js.map +1 -1
  201. package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.d.ts +13 -5
  202. package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js +568 -739
  203. package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js.map +1 -1
  204. package/dist/src/schemas/sharing/ConsumeSharedPlugin.d.ts +197 -189
  205. package/dist/src/schemas/sharing/ConsumeSharedPlugin.js +212 -233
  206. package/dist/src/schemas/sharing/ConsumeSharedPlugin.js.map +1 -1
  207. package/dist/src/schemas/sharing/ProvideSharedPlugin.check.d.ts +13 -5
  208. package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js +598 -775
  209. package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js.map +1 -1
  210. package/dist/src/schemas/sharing/ProvideSharedPlugin.d.ts +184 -176
  211. package/dist/src/schemas/sharing/ProvideSharedPlugin.js +196 -224
  212. package/dist/src/schemas/sharing/ProvideSharedPlugin.js.map +1 -1
  213. package/dist/src/schemas/sharing/ProviderSharedPlugin.check.d.ts +12 -4
  214. package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js +285 -482
  215. package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js.map +1 -1
  216. package/dist/src/schemas/sharing/ProviderSharedPlugin.d.ts +103 -100
  217. package/dist/src/schemas/sharing/ProviderSharedPlugin.js +104 -126
  218. package/dist/src/schemas/sharing/ProviderSharedPlugin.js.map +1 -1
  219. package/dist/src/schemas/sharing/SharePlugin.check.d.ts +13 -5
  220. package/dist/src/schemas/sharing/SharePlugin.check.js +749 -794
  221. package/dist/src/schemas/sharing/SharePlugin.check.js.map +1 -1
  222. package/dist/src/schemas/sharing/SharePlugin.d.ts +245 -205
  223. package/dist/src/schemas/sharing/SharePlugin.js +256 -253
  224. package/dist/src/schemas/sharing/SharePlugin.js.map +1 -1
  225. package/dist/src/utils.d.ts +3 -0
  226. package/dist/src/utils.js +35 -26
  227. package/dist/src/utils.js.map +1 -1
  228. package/dist/src/webpack.d.ts +2 -2
  229. package/dist/src/webpack.js +6 -40
  230. package/dist/src/wrapper/AsyncBoundaryPlugin.d.ts +9 -7
  231. package/dist/src/wrapper/AsyncBoundaryPlugin.js +13 -17
  232. package/dist/src/wrapper/AsyncBoundaryPlugin.js.map +1 -1
  233. package/dist/src/wrapper/BaseWrapperPlugin.d.ts +32 -0
  234. package/dist/src/wrapper/BaseWrapperPlugin.js +43 -0
  235. package/dist/src/wrapper/BaseWrapperPlugin.js.map +1 -0
  236. package/dist/src/wrapper/ConsumeSharedPlugin.d.ts +10 -7
  237. package/dist/src/wrapper/ConsumeSharedPlugin.js +13 -17
  238. package/dist/src/wrapper/ConsumeSharedPlugin.js.map +1 -1
  239. package/dist/src/wrapper/ContainerPlugin.d.ts +9 -7
  240. package/dist/src/wrapper/ContainerPlugin.js +13 -17
  241. package/dist/src/wrapper/ContainerPlugin.js.map +1 -1
  242. package/dist/src/wrapper/ContainerReferencePlugin.d.ts +9 -7
  243. package/dist/src/wrapper/ContainerReferencePlugin.js +13 -17
  244. package/dist/src/wrapper/ContainerReferencePlugin.js.map +1 -1
  245. package/dist/src/wrapper/FederationModulesPlugin.d.ts +18 -10
  246. package/dist/src/wrapper/FederationModulesPlugin.js +20 -21
  247. package/dist/src/wrapper/FederationModulesPlugin.js.map +1 -1
  248. package/dist/src/wrapper/FederationRuntimePlugin.d.ts +11 -8
  249. package/dist/src/wrapper/FederationRuntimePlugin.js +19 -20
  250. package/dist/src/wrapper/FederationRuntimePlugin.js.map +1 -1
  251. package/dist/src/wrapper/HoistContainerReferencesPlugin.d.ts +8 -5
  252. package/dist/src/wrapper/HoistContainerReferencesPlugin.js +13 -16
  253. package/dist/src/wrapper/HoistContainerReferencesPlugin.js.map +1 -1
  254. package/dist/src/wrapper/ModuleFederationPlugin.d.ts +12 -9
  255. package/dist/src/wrapper/ModuleFederationPlugin.js +71 -104
  256. package/dist/src/wrapper/ModuleFederationPlugin.js.map +1 -1
  257. package/dist/src/wrapper/ProvideSharedPlugin.d.ts +10 -7
  258. package/dist/src/wrapper/ProvideSharedPlugin.js +13 -17
  259. package/dist/src/wrapper/ProvideSharedPlugin.js.map +1 -1
  260. package/dist/src/wrapper/SharePlugin.d.ts +10 -7
  261. package/dist/src/wrapper/SharePlugin.js +13 -17
  262. package/dist/src/wrapper/SharePlugin.js.map +1 -1
  263. package/dist/src/wrapper/TreeShakingSharedPlugin.d.ts +10 -0
  264. package/dist/src/wrapper/TreeShakingSharedPlugin.js +15 -0
  265. package/dist/src/wrapper/TreeShakingSharedPlugin.js.map +1 -0
  266. package/package.json +27 -29
  267. package/dist/package.json +0 -110
  268. package/dist/src/declarations/plugins/container/AsyncDependenciesBlock.d.ts +0 -57
  269. package/dist/src/declarations/plugins/container/ModuleFactory.d.ts +0 -33
  270. package/dist/src/declarations/plugins/container/ObjectDeserializerContext.d.ts +0 -4
  271. package/dist/src/declarations/plugins/container/StaticExportsDependency.d.ts +0 -28
  272. package/dist/src/declarations/plugins/container/Template.d.ts +0 -198
  273. package/dist/src/declarations/plugins/container/WebpackError.d.ts +0 -33
  274. package/dist/src/declarations/plugins/sharing/ConsumeSharedModule.d.ts +0 -82
  275. package/dist/src/declarations/plugins/sharing/ConsumeSharedPlugin.d.ts +0 -96
  276. package/dist/src/declarations/plugins/sharing/ProvideSharedPlugin.d.ts +0 -98
  277. package/dist/src/declarations/plugins/sharing/SharePlugin.d.ts +0 -108
  278. package/dist/src/lib/container/runtime/ChildCompilationRuntimePlugin.d.ts +0 -20
  279. package/dist/src/lib/container/runtime/ChildCompilationRuntimePlugin.js +0 -219
  280. package/dist/src/lib/container/runtime/ChildCompilationRuntimePlugin.js.map +0 -1
  281. package/dist/src/prefetch.d.ts +0 -2
  282. package/dist/src/prefetch.js +0 -8
  283. package/dist/src/prefetch.js.map +0 -1
  284. package/dist/src/rspack.js.map +0 -1
  285. package/dist/src/runtime.js.map +0 -1
  286. package/dist/src/types/runtime.d.ts +0 -10
  287. package/dist/src/types/runtime.js +0 -3
  288. package/dist/src/types/runtime.js.map +0 -1
  289. package/dist/src/webpack.js.map +0 -1
@@ -1,225 +1,197 @@
1
- "use strict";
2
- // @ts-nocheck
3
- /* eslint-disable */
4
- /*
5
- * This file was automatically generated.
6
- * DO NOT MODIFY BY HAND.
7
- */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.default = {
10
- definitions: {
11
- Provides: {
12
- description: 'Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.',
13
- anyOf: [
14
- {
15
- type: 'array',
16
- items: {
17
- description: 'Modules that should be provided as shared modules to the share scope.',
18
- anyOf: [
19
- {
20
- $ref: '#/definitions/ProvidesItem',
21
- },
22
- {
23
- $ref: '#/definitions/ProvidesObject',
24
- },
25
- ],
26
- },
27
- },
28
- {
29
- $ref: '#/definitions/ProvidesObject',
30
- },
31
- ],
32
- },
33
- ProvidesConfig: {
34
- description: 'Advanced configuration for modules that should be provided as shared modules to the share scope.',
35
- type: 'object',
36
- additionalProperties: false,
37
- properties: {
38
- eager: {
39
- description: 'Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.',
40
- type: 'boolean',
41
- },
42
- shareKey: {
43
- description: 'Key in the share scope under which the shared modules should be stored.',
44
- type: 'string',
45
- minLength: 1,
46
- },
47
- request: {
48
- description: 'Import request to match on',
49
- type: 'string',
50
- minLength: 1,
51
- },
52
- shareScope: {
53
- description: 'Share scope name.',
54
- anyOf: [
55
- {
56
- type: 'string',
57
- minLength: 1,
58
- },
59
- {
60
- type: 'array',
61
- items: {
62
- type: 'string',
63
- minLength: 1,
64
- },
65
- },
66
- ],
67
- },
68
- requiredVersion: {
69
- description: 'Version requirement from module in share scope.',
70
- anyOf: [
71
- {
72
- description: 'No version requirement check.',
73
- enum: [false],
74
- },
75
- {
76
- description: "Version as string. Can be prefixed with '^' or '~' for minimum matches. Each part of the version should be separated by a dot '.'.",
77
- type: 'string',
78
- },
79
- ],
80
- },
81
- strictVersion: {
82
- description: 'Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).',
83
- type: 'boolean',
84
- },
85
- singleton: {
86
- description: 'Allow only a single version of the shared module in share scope (disabled by default).',
87
- type: 'boolean',
88
- },
89
- layer: {
90
- description: 'Layer in which the shared module should be placed.',
91
- type: 'string',
92
- minLength: 1,
93
- },
94
- issuerLayer: {
95
- description: 'Layer of the issuer.',
96
- type: 'string',
97
- minLength: 1,
98
- },
99
- version: {
100
- description: 'Version of the provided module. Will replace lower matching versions, but not higher.',
101
- anyOf: [
102
- {
103
- description: "Don't provide a version.",
104
- enum: [false],
105
- },
106
- {
107
- description: "Version as string. Each part of the version should be separated by a dot '.'.",
108
- type: 'string',
109
- },
110
- ],
111
- },
112
- exclude: {
113
- description: 'Filter for the shared module.',
114
- $ref: '#/definitions/IncludeExcludeOptions',
115
- },
116
- include: {
117
- description: "Options for including only certain versions or requests of the provided module. Cannot be used with 'exclude'.",
118
- $ref: '#/definitions/IncludeExcludeOptions',
119
- },
120
- allowNodeModulesSuffixMatch: {
121
- description: 'Enable reconstructed lookup for node_modules paths for this share item',
122
- type: 'boolean',
123
- },
124
- },
125
- },
126
- ProvidesItem: {
127
- description: 'Request to a module that should be provided as shared module to the share scope (will be resolved when relative).',
128
- type: 'string',
129
- minLength: 1,
130
- },
131
- ProvidesObject: {
132
- description: 'Modules that should be provided as shared modules to the share scope. Property names are used as share keys.',
133
- type: 'object',
134
- additionalProperties: {
135
- description: 'Modules that should be provided as shared modules to the share scope.',
136
- anyOf: [
137
- {
138
- $ref: '#/definitions/ProvidesConfig',
139
- },
140
- {
141
- $ref: '#/definitions/ProvidesItem',
142
- },
143
- ],
144
- },
145
- },
146
- ProvidesList: {
147
- type: 'array',
148
- description: 'A list of module requests to be provided to the shared scope.',
149
- items: {
150
- type: 'string',
151
- },
152
- },
153
- IncludeExcludeOptions: {
154
- type: 'object',
155
- properties: {
156
- request: {
157
- anyOf: [
158
- {
159
- type: 'string',
160
- description: 'Request string to match exactly.',
161
- },
162
- {
163
- instanceof: 'RegExp',
164
- description: 'Regular expression to match the request path.',
165
- },
166
- ],
167
- },
168
- version: {
169
- type: 'string',
170
- description: "Semantic versioning range to match against the module's version.",
171
- },
172
- fallbackVersion: {
173
- type: 'string',
174
- description: 'Optional specific version string to check against the version range instead of reading package.json.',
175
- },
176
- },
177
- additionalProperties: false,
178
- anyOf: [
179
- {
180
- required: ['request'],
181
- },
182
- {
183
- required: ['version'],
184
- },
185
- ],
186
- },
187
- },
188
- title: 'ProvideSharedPluginOptions',
189
- type: 'object',
190
- additionalProperties: false,
191
- properties: {
192
- provides: {
193
- $ref: '#/definitions/Provides',
194
- },
195
- shareScope: {
196
- description: "Share scope name used for all provided modules (defaults to 'default').",
197
- anyOf: [
198
- {
199
- type: 'string',
200
- minLength: 1,
201
- },
202
- {
203
- type: 'array',
204
- items: {
205
- type: 'string',
206
- minLength: 1,
207
- },
208
- },
209
- ],
210
- },
211
- experiments: {
212
- description: 'Experimental features configuration',
213
- type: 'object',
214
- additionalProperties: false,
215
- properties: {
216
- allowNodeModulesSuffixMatch: {
217
- description: 'Enable reconstructed lookup for node_modules paths',
218
- type: 'boolean',
219
- },
220
- },
221
- },
222
- },
223
- required: ['provides'],
224
- };
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ const require_runtime = require('../../_virtual/_rolldown/runtime.js');
3
+
4
+ //#region src/schemas/sharing/ProvideSharedPlugin.ts
5
+ var ProvideSharedPlugin_exports = /* @__PURE__ */ require_runtime.__exportAll({ default: () => ProvideSharedPlugin_default });
6
+ var ProvideSharedPlugin_default;
7
+ var init_ProvideSharedPlugin = require_runtime.__esmMin((() => {
8
+ ProvideSharedPlugin_default = {
9
+ definitions: {
10
+ Provides: {
11
+ description: "Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.",
12
+ anyOf: [{
13
+ type: "array",
14
+ items: {
15
+ description: "Modules that should be provided as shared modules to the share scope.",
16
+ anyOf: [{ $ref: "#/definitions/ProvidesItem" }, { $ref: "#/definitions/ProvidesObject" }]
17
+ }
18
+ }, { $ref: "#/definitions/ProvidesObject" }]
19
+ },
20
+ ProvidesConfig: {
21
+ description: "Advanced configuration for modules that should be provided as shared modules to the share scope.",
22
+ type: "object",
23
+ additionalProperties: false,
24
+ properties: {
25
+ eager: {
26
+ description: "Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.",
27
+ type: "boolean"
28
+ },
29
+ shareKey: {
30
+ description: "Key in the share scope under which the shared modules should be stored.",
31
+ type: "string",
32
+ minLength: 1
33
+ },
34
+ request: {
35
+ description: "Import request to match on",
36
+ type: "string",
37
+ minLength: 1
38
+ },
39
+ shareScope: {
40
+ description: "Share scope name.",
41
+ anyOf: [{
42
+ type: "string",
43
+ minLength: 1
44
+ }, {
45
+ type: "array",
46
+ items: {
47
+ type: "string",
48
+ minLength: 1
49
+ }
50
+ }]
51
+ },
52
+ requiredVersion: {
53
+ description: "Version requirement from module in share scope.",
54
+ anyOf: [{
55
+ description: "No version requirement check.",
56
+ enum: [false]
57
+ }, {
58
+ description: "Version as string. Can be prefixed with '^' or '~' for minimum matches. Each part of the version should be separated by a dot '.'.",
59
+ type: "string"
60
+ }]
61
+ },
62
+ strictVersion: {
63
+ description: "Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).",
64
+ type: "boolean"
65
+ },
66
+ singleton: {
67
+ description: "Allow only a single version of the shared module in share scope (disabled by default).",
68
+ type: "boolean"
69
+ },
70
+ layer: {
71
+ description: "Layer in which the shared module should be placed.",
72
+ type: "string",
73
+ minLength: 1
74
+ },
75
+ issuerLayer: {
76
+ description: "Layer of the issuer.",
77
+ type: "string",
78
+ minLength: 1
79
+ },
80
+ version: {
81
+ description: "Version of the provided module. Will replace lower matching versions, but not higher.",
82
+ anyOf: [{
83
+ description: "Don't provide a version.",
84
+ enum: [false]
85
+ }, {
86
+ description: "Version as string. Each part of the version should be separated by a dot '.'.",
87
+ type: "string"
88
+ }]
89
+ },
90
+ exclude: {
91
+ description: "Filter for the shared module.",
92
+ $ref: "#/definitions/IncludeExcludeOptions"
93
+ },
94
+ include: {
95
+ description: "Options for including only certain versions or requests of the provided module. Cannot be used with 'exclude'.",
96
+ $ref: "#/definitions/IncludeExcludeOptions"
97
+ },
98
+ allowNodeModulesSuffixMatch: {
99
+ description: "Enable reconstructed lookup for node_modules paths for this share item",
100
+ type: "boolean"
101
+ },
102
+ treeShakingMode: {
103
+ description: "Tree shaking mode for the shared module.",
104
+ type: "string",
105
+ enum: ["server-calc", "runtime-infer"]
106
+ }
107
+ }
108
+ },
109
+ ProvidesItem: {
110
+ description: "Request to a module that should be provided as shared module to the share scope (will be resolved when relative).",
111
+ type: "string",
112
+ minLength: 1
113
+ },
114
+ ProvidesObject: {
115
+ description: "Modules that should be provided as shared modules to the share scope. Property names are used as share keys.",
116
+ type: "object",
117
+ additionalProperties: {
118
+ description: "Modules that should be provided as shared modules to the share scope.",
119
+ anyOf: [{ $ref: "#/definitions/ProvidesConfig" }, { $ref: "#/definitions/ProvidesItem" }]
120
+ }
121
+ },
122
+ ProvidesList: {
123
+ type: "array",
124
+ description: "A list of module requests to be provided to the shared scope.",
125
+ items: { type: "string" }
126
+ },
127
+ IncludeExcludeOptions: {
128
+ type: "object",
129
+ properties: {
130
+ request: { anyOf: [{
131
+ type: "string",
132
+ description: "Request string to match exactly."
133
+ }, {
134
+ instanceof: "RegExp",
135
+ description: "Regular expression to match the request path."
136
+ }] },
137
+ version: {
138
+ type: "string",
139
+ description: "Semantic versioning range to match against the module's version."
140
+ },
141
+ fallbackVersion: {
142
+ type: "string",
143
+ description: "Optional specific version string to check against the version range instead of reading package.json."
144
+ }
145
+ },
146
+ additionalProperties: false,
147
+ anyOf: [{ required: ["request"] }, { required: ["version"] }]
148
+ }
149
+ },
150
+ title: "ProvideSharedPluginOptions",
151
+ type: "object",
152
+ additionalProperties: false,
153
+ properties: {
154
+ provides: { $ref: "#/definitions/Provides" },
155
+ shareScope: {
156
+ description: "Share scope name used for all provided modules (defaults to 'default').",
157
+ anyOf: [{
158
+ type: "string",
159
+ minLength: 1
160
+ }, {
161
+ type: "array",
162
+ items: {
163
+ type: "string",
164
+ minLength: 1
165
+ }
166
+ }]
167
+ },
168
+ experiments: {
169
+ description: "Experimental features configuration",
170
+ type: "object",
171
+ additionalProperties: false,
172
+ properties: { allowNodeModulesSuffixMatch: {
173
+ description: "Enable reconstructed lookup for node_modules paths",
174
+ type: "boolean"
175
+ } }
176
+ }
177
+ },
178
+ required: ["provides"]
179
+ };
180
+ }));
181
+
182
+ //#endregion
183
+ init_ProvideSharedPlugin();
184
+ Object.defineProperty(exports, 'ProvideSharedPlugin_exports', {
185
+ enumerable: true,
186
+ get: function () {
187
+ return ProvideSharedPlugin_exports;
188
+ }
189
+ });
190
+ exports.default = ProvideSharedPlugin_default;
191
+ Object.defineProperty(exports, 'init_ProvideSharedPlugin', {
192
+ enumerable: true,
193
+ get: function () {
194
+ return init_ProvideSharedPlugin;
195
+ }
196
+ });
225
197
  //# sourceMappingURL=ProvideSharedPlugin.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProvideSharedPlugin.js","sourceRoot":"","sources":["../../../../src/schemas/sharing/ProvideSharedPlugin.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"ProvideSharedPlugin.js","names":[],"sources":["../../../../src/schemas/sharing/ProvideSharedPlugin.ts"],"sourcesContent":["// @ts-nocheck\n/* eslint-disable */\n/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n */\n\nexport default {\n definitions: {\n Provides: {\n description:\n 'Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.',\n anyOf: [\n {\n type: 'array',\n items: {\n description:\n 'Modules that should be provided as shared modules to the share scope.',\n anyOf: [\n {\n $ref: '#/definitions/ProvidesItem',\n },\n {\n $ref: '#/definitions/ProvidesObject',\n },\n ],\n },\n },\n {\n $ref: '#/definitions/ProvidesObject',\n },\n ],\n },\n ProvidesConfig: {\n description:\n 'Advanced configuration for modules that should be provided as shared modules to the share scope.',\n type: 'object',\n additionalProperties: false,\n properties: {\n eager: {\n description:\n 'Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.',\n type: 'boolean',\n },\n shareKey: {\n description:\n 'Key in the share scope under which the shared modules should be stored.',\n type: 'string',\n minLength: 1,\n },\n request: {\n description: 'Import request to match on',\n type: 'string',\n minLength: 1,\n },\n shareScope: {\n description: 'Share scope name.',\n anyOf: [\n {\n type: 'string',\n minLength: 1,\n },\n {\n type: 'array',\n items: {\n type: 'string',\n minLength: 1,\n },\n },\n ],\n },\n requiredVersion: {\n description: 'Version requirement from module in share scope.',\n anyOf: [\n {\n description: 'No version requirement check.',\n enum: [false],\n },\n {\n description:\n \"Version as string. Can be prefixed with '^' or '~' for minimum matches. Each part of the version should be separated by a dot '.'.\",\n type: 'string',\n },\n ],\n },\n strictVersion: {\n description:\n 'Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).',\n type: 'boolean',\n },\n singleton: {\n description:\n 'Allow only a single version of the shared module in share scope (disabled by default).',\n type: 'boolean',\n },\n layer: {\n description: 'Layer in which the shared module should be placed.',\n type: 'string',\n minLength: 1,\n },\n issuerLayer: {\n description: 'Layer of the issuer.',\n type: 'string',\n minLength: 1,\n },\n version: {\n description:\n 'Version of the provided module. Will replace lower matching versions, but not higher.',\n anyOf: [\n {\n description: \"Don't provide a version.\",\n enum: [false],\n },\n {\n description:\n \"Version as string. Each part of the version should be separated by a dot '.'.\",\n type: 'string',\n },\n ],\n },\n exclude: {\n description: 'Filter for the shared module.',\n $ref: '#/definitions/IncludeExcludeOptions',\n },\n include: {\n description:\n \"Options for including only certain versions or requests of the provided module. Cannot be used with 'exclude'.\",\n $ref: '#/definitions/IncludeExcludeOptions',\n },\n allowNodeModulesSuffixMatch: {\n description:\n 'Enable reconstructed lookup for node_modules paths for this share item',\n type: 'boolean',\n },\n treeShakingMode: {\n description: 'Tree shaking mode for the shared module.',\n type: 'string',\n enum: ['server-calc', 'runtime-infer'],\n },\n },\n },\n ProvidesItem: {\n description:\n 'Request to a module that should be provided as shared module to the share scope (will be resolved when relative).',\n type: 'string',\n minLength: 1,\n },\n ProvidesObject: {\n description:\n 'Modules that should be provided as shared modules to the share scope. Property names are used as share keys.',\n type: 'object',\n additionalProperties: {\n description:\n 'Modules that should be provided as shared modules to the share scope.',\n anyOf: [\n {\n $ref: '#/definitions/ProvidesConfig',\n },\n {\n $ref: '#/definitions/ProvidesItem',\n },\n ],\n },\n },\n ProvidesList: {\n type: 'array',\n description:\n 'A list of module requests to be provided to the shared scope.',\n items: {\n type: 'string',\n },\n },\n IncludeExcludeOptions: {\n type: 'object',\n properties: {\n request: {\n anyOf: [\n {\n type: 'string',\n description: 'Request string to match exactly.',\n },\n {\n instanceof: 'RegExp',\n description: 'Regular expression to match the request path.',\n },\n ],\n },\n version: {\n type: 'string',\n description:\n \"Semantic versioning range to match against the module's version.\",\n },\n fallbackVersion: {\n type: 'string',\n description:\n 'Optional specific version string to check against the version range instead of reading package.json.',\n },\n },\n additionalProperties: false,\n anyOf: [\n {\n required: ['request'],\n },\n {\n required: ['version'],\n },\n ],\n },\n },\n title: 'ProvideSharedPluginOptions',\n type: 'object',\n additionalProperties: false,\n properties: {\n provides: {\n $ref: '#/definitions/Provides',\n },\n shareScope: {\n description:\n \"Share scope name used for all provided modules (defaults to 'default').\",\n anyOf: [\n {\n type: 'string',\n minLength: 1,\n },\n {\n type: 'array',\n items: {\n type: 'string',\n minLength: 1,\n },\n },\n ],\n },\n experiments: {\n description: 'Experimental features configuration',\n type: 'object',\n additionalProperties: false,\n properties: {\n allowNodeModulesSuffixMatch: {\n description: 'Enable reconstructed lookup for node_modules paths',\n type: 'boolean',\n },\n },\n },\n },\n required: ['provides'],\n} as const;\n"],"mappings":";;;;;;;+BAOe;EACb,aAAa;GACX,UAAU;IACR,aACE;IACF,OAAO,CACL;KACE,MAAM;KACN,OAAO;MACL,aACE;MACF,OAAO,CACL,EACE,MAAM,8BACP,EACD,EACE,MAAM,gCACP,CACF;MACF;KACF,EACD,EACE,MAAM,gCACP,CACF;IACF;GACD,gBAAgB;IACd,aACE;IACF,MAAM;IACN,sBAAsB;IACtB,YAAY;KACV,OAAO;MACL,aACE;MACF,MAAM;MACP;KACD,UAAU;MACR,aACE;MACF,MAAM;MACN,WAAW;MACZ;KACD,SAAS;MACP,aAAa;MACb,MAAM;MACN,WAAW;MACZ;KACD,YAAY;MACV,aAAa;MACb,OAAO,CACL;OACE,MAAM;OACN,WAAW;OACZ,EACD;OACE,MAAM;OACN,OAAO;QACL,MAAM;QACN,WAAW;QACZ;OACF,CACF;MACF;KACD,iBAAiB;MACf,aAAa;MACb,OAAO,CACL;OACE,aAAa;OACb,MAAM,CAAC,MAAM;OACd,EACD;OACE,aACE;OACF,MAAM;OACP,CACF;MACF;KACD,eAAe;MACb,aACE;MACF,MAAM;MACP;KACD,WAAW;MACT,aACE;MACF,MAAM;MACP;KACD,OAAO;MACL,aAAa;MACb,MAAM;MACN,WAAW;MACZ;KACD,aAAa;MACX,aAAa;MACb,MAAM;MACN,WAAW;MACZ;KACD,SAAS;MACP,aACE;MACF,OAAO,CACL;OACE,aAAa;OACb,MAAM,CAAC,MAAM;OACd,EACD;OACE,aACE;OACF,MAAM;OACP,CACF;MACF;KACD,SAAS;MACP,aAAa;MACb,MAAM;MACP;KACD,SAAS;MACP,aACE;MACF,MAAM;MACP;KACD,6BAA6B;MAC3B,aACE;MACF,MAAM;MACP;KACD,iBAAiB;MACf,aAAa;MACb,MAAM;MACN,MAAM,CAAC,eAAe,gBAAgB;MACvC;KACF;IACF;GACD,cAAc;IACZ,aACE;IACF,MAAM;IACN,WAAW;IACZ;GACD,gBAAgB;IACd,aACE;IACF,MAAM;IACN,sBAAsB;KACpB,aACE;KACF,OAAO,CACL,EACE,MAAM,gCACP,EACD,EACE,MAAM,8BACP,CACF;KACF;IACF;GACD,cAAc;IACZ,MAAM;IACN,aACE;IACF,OAAO,EACL,MAAM,UACP;IACF;GACD,uBAAuB;IACrB,MAAM;IACN,YAAY;KACV,SAAS,EACP,OAAO,CACL;MACE,MAAM;MACN,aAAa;MACd,EACD;MACE,YAAY;MACZ,aAAa;MACd,CACF,EACF;KACD,SAAS;MACP,MAAM;MACN,aACE;MACH;KACD,iBAAiB;MACf,MAAM;MACN,aACE;MACH;KACF;IACD,sBAAsB;IACtB,OAAO,CACL,EACE,UAAU,CAAC,UAAU,EACtB,EACD,EACE,UAAU,CAAC,UAAU,EACtB,CACF;IACF;GACF;EACD,OAAO;EACP,MAAM;EACN,sBAAsB;EACtB,YAAY;GACV,UAAU,EACR,MAAM,0BACP;GACD,YAAY;IACV,aACE;IACF,OAAO,CACL;KACE,MAAM;KACN,WAAW;KACZ,EACD;KACE,MAAM;KACN,OAAO;MACL,MAAM;MACN,WAAW;MACZ;KACF,CACF;IACF;GACD,aAAa;IACX,aAAa;IACb,MAAM;IACN,sBAAsB;IACtB,YAAY,EACV,6BAA6B;KAC3B,aAAa;KACb,MAAM;KACP,EACF;IACF;GACF;EACD,UAAU,CAAC,WAAW;EACvB"}
@@ -1,5 +1,13 @@
1
- declare function t(r: any, { instancePath: s, parentData: n, parentDataProperty: o, rootData: a, }?: {
2
- instancePath?: string | undefined;
3
- rootData?: any;
1
+ //#region src/schemas/sharing/ProviderSharedPlugin.check.d.ts
2
+ declare function t(r: any, {
3
+ instancePath: s,
4
+ parentData: n,
5
+ parentDataProperty: o,
6
+ rootData: a
7
+ }?: {
8
+ instancePath?: string | undefined;
9
+ rootData?: any;
4
10
  }): any;
5
- export default t;
11
+ //#endregion
12
+ export { t as default };
13
+ //# sourceMappingURL=ProviderSharedPlugin.check.d.ts.map