@proteinjs/reflection-build 1.2.0 → 1.2.1

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 (295) hide show
  1. package/dist/test/examples/source-repository/a/generated/index.js +1 -1
  2. package/dist/test/examples/source-repository/a/generated/index.js.map +1 -1
  3. package/dist/test/examples/source-repository/b/generated/index.js +1 -1
  4. package/dist/test/examples/source-repository/b/generated/index.js.map +1 -1
  5. package/package.json +4 -5
  6. package/test/examples/source-repository/a/dist/generated/index.js +1 -1
  7. package/test/examples/source-repository/a/dist/generated/index.js.map +1 -1
  8. package/test/examples/source-repository/a/generated/index.ts +33 -38
  9. package/test/examples/source-repository/a/node_modules/.package-lock.json +59 -6
  10. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/.eslintrc.js +20 -0
  11. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/.prettierignore +4 -0
  12. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/.prettierrc +8 -0
  13. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/CHANGELOG.md +58 -0
  14. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/index.d.ts +5 -0
  15. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/index.js +18 -0
  16. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/index.js.map +1 -0
  17. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.d.ts +19 -0
  18. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js +555 -0
  19. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js.map +1 -0
  20. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/Loadable.d.ts +3 -0
  21. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/Loadable.js +5 -0
  22. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/Loadable.js.map +1 -0
  23. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepository.d.ts +45 -0
  24. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js +176 -0
  25. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js.map +1 -0
  26. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.d.ts +11 -0
  27. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js +9 -0
  28. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js.map +1 -0
  29. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.d.ts +13 -0
  30. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js +19 -0
  31. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js.map +1 -0
  32. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/types.d.ts +221 -0
  33. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/types.js +234 -0
  34. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/types.js.map +1 -0
  35. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/index.ts +5 -0
  36. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/jest.config.js +9 -0
  37. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/package.json +42 -0
  38. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/FlattenedSourceGraph.ts +702 -0
  39. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/Loadable.ts +2 -0
  40. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/SourceRepository.ts +250 -0
  41. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/SourceRepositoryFilter.ts +15 -0
  42. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/sourceGraphTypes.ts +14 -0
  43. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/types.ts +236 -0
  44. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/tsconfig.json +19 -0
  45. package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/types/@dagrejs/graphlib.d.ts +1 -0
  46. package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/CHANGELOG.md +13 -0
  47. package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/dist/src/Fs.d.ts +23 -0
  48. package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/dist/src/Fs.js +67 -0
  49. package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/dist/src/Fs.js.map +1 -1
  50. package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/dist/src/GitUtil.d.ts +297 -10
  51. package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/dist/src/GitUtil.js +349 -112
  52. package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/dist/src/GitUtil.js.map +1 -1
  53. package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/dist/src/cmd.d.ts +10 -1
  54. package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/dist/src/cmd.js +91 -48
  55. package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/dist/src/cmd.js.map +1 -1
  56. package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/package.json +2 -2
  57. package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/src/Fs.ts +75 -0
  58. package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/src/GitUtil.ts +248 -110
  59. package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/src/cmd.ts +84 -59
  60. package/test/examples/source-repository/a/node_modules/bindings/LICENSE.md +22 -0
  61. package/test/examples/source-repository/a/node_modules/bindings/README.md +98 -0
  62. package/test/examples/source-repository/a/node_modules/bindings/bindings.js +221 -0
  63. package/test/examples/source-repository/a/node_modules/bindings/package.json +28 -0
  64. package/test/examples/source-repository/a/node_modules/file-uri-to-path/.travis.yml +30 -0
  65. package/test/examples/source-repository/a/node_modules/file-uri-to-path/History.md +21 -0
  66. package/test/examples/source-repository/a/node_modules/file-uri-to-path/LICENSE +20 -0
  67. package/test/examples/source-repository/a/node_modules/file-uri-to-path/README.md +74 -0
  68. package/test/examples/source-repository/a/node_modules/file-uri-to-path/index.d.ts +2 -0
  69. package/test/examples/source-repository/a/node_modules/file-uri-to-path/index.js +66 -0
  70. package/test/examples/source-repository/a/node_modules/file-uri-to-path/package.json +32 -0
  71. package/test/examples/source-repository/a/node_modules/file-uri-to-path/test/test.js +24 -0
  72. package/test/examples/source-repository/a/node_modules/file-uri-to-path/test/tests.json +13 -0
  73. package/test/examples/source-repository/a/node_modules/fsevents/LICENSE +22 -0
  74. package/test/examples/source-repository/a/node_modules/fsevents/README.md +89 -0
  75. package/test/examples/source-repository/a/node_modules/fsevents/fsevents.d.ts +46 -0
  76. package/test/examples/source-repository/a/node_modules/fsevents/fsevents.js +83 -0
  77. package/test/examples/source-repository/a/node_modules/fsevents/fsevents.node +0 -0
  78. package/test/examples/source-repository/a/node_modules/fsevents/package.json +62 -0
  79. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/.travis.yml +103 -0
  80. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/ISSUE_TEMPLATE.md +8 -0
  81. package/{LICENSE → test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/LICENSE} +6 -5
  82. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/Readme.md +78 -0
  83. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/binding.gyp +21 -0
  84. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/.target.mk +53 -0
  85. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Makefile +352 -0
  86. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/.node.d +1 -0
  87. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/obj.target/fse/fsevents.o.d.raw +75 -0
  88. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.node +0 -0
  89. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/binding.Makefile +6 -0
  90. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/fse.target.mk +188 -0
  91. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/gyp-mac-tool +772 -0
  92. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/fsevents.cc +88 -0
  93. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/fsevents.js +106 -0
  94. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/install.js +13 -0
  95. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/package.json +34 -0
  96. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/async.cc +43 -0
  97. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/constants.cc +110 -0
  98. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/methods.cc +44 -0
  99. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/storage.cc +27 -0
  100. package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/thread.cc +71 -0
  101. package/test/examples/source-repository/a/node_modules/nan/CHANGELOG.md +557 -0
  102. package/test/examples/source-repository/a/node_modules/nan/CMakeLists.txt +138 -0
  103. package/test/examples/source-repository/a/node_modules/nan/LICENSE.md +9 -0
  104. package/test/examples/source-repository/a/node_modules/nan/README.md +456 -0
  105. package/test/examples/source-repository/a/node_modules/nan/doc/asyncworker.md +146 -0
  106. package/test/examples/source-repository/a/node_modules/nan/doc/buffers.md +54 -0
  107. package/test/examples/source-repository/a/node_modules/nan/doc/callback.md +76 -0
  108. package/test/examples/source-repository/a/node_modules/nan/doc/converters.md +41 -0
  109. package/test/examples/source-repository/a/node_modules/nan/doc/errors.md +226 -0
  110. package/test/examples/source-repository/a/node_modules/nan/doc/json.md +62 -0
  111. package/test/examples/source-repository/a/node_modules/nan/doc/maybe_types.md +583 -0
  112. package/test/examples/source-repository/a/node_modules/nan/doc/methods.md +672 -0
  113. package/test/examples/source-repository/a/node_modules/nan/doc/new.md +147 -0
  114. package/test/examples/source-repository/a/node_modules/nan/doc/node_misc.md +123 -0
  115. package/test/examples/source-repository/a/node_modules/nan/doc/object_wrappers.md +263 -0
  116. package/test/examples/source-repository/a/node_modules/nan/doc/persistent.md +296 -0
  117. package/test/examples/source-repository/a/node_modules/nan/doc/scopes.md +73 -0
  118. package/test/examples/source-repository/a/node_modules/nan/doc/script.md +58 -0
  119. package/test/examples/source-repository/a/node_modules/nan/doc/string_bytes.md +62 -0
  120. package/test/examples/source-repository/a/node_modules/nan/doc/v8_internals.md +199 -0
  121. package/test/examples/source-repository/a/node_modules/nan/doc/v8_misc.md +85 -0
  122. package/test/examples/source-repository/a/node_modules/nan/include_dirs.js +1 -0
  123. package/test/examples/source-repository/a/node_modules/nan/nan.h +2958 -0
  124. package/test/examples/source-repository/a/node_modules/nan/nan_callbacks.h +92 -0
  125. package/test/examples/source-repository/a/node_modules/nan/nan_callbacks_12_inl.h +520 -0
  126. package/test/examples/source-repository/a/node_modules/nan/nan_callbacks_pre_12_inl.h +520 -0
  127. package/test/examples/source-repository/a/node_modules/nan/nan_converters.h +72 -0
  128. package/test/examples/source-repository/a/node_modules/nan/nan_converters_43_inl.h +68 -0
  129. package/test/examples/source-repository/a/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
  130. package/test/examples/source-repository/a/node_modules/nan/nan_define_own_property_helper.h +29 -0
  131. package/test/examples/source-repository/a/node_modules/nan/nan_implementation_12_inl.h +430 -0
  132. package/test/examples/source-repository/a/node_modules/nan/nan_implementation_pre_12_inl.h +263 -0
  133. package/test/examples/source-repository/a/node_modules/nan/nan_json.h +166 -0
  134. package/test/examples/source-repository/a/node_modules/nan/nan_maybe_43_inl.h +356 -0
  135. package/test/examples/source-repository/a/node_modules/nan/nan_maybe_pre_43_inl.h +268 -0
  136. package/test/examples/source-repository/a/node_modules/nan/nan_new.h +340 -0
  137. package/test/examples/source-repository/a/node_modules/nan/nan_object_wrap.h +156 -0
  138. package/test/examples/source-repository/a/node_modules/nan/nan_persistent_12_inl.h +132 -0
  139. package/test/examples/source-repository/a/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
  140. package/test/examples/source-repository/a/node_modules/nan/nan_private.h +73 -0
  141. package/test/examples/source-repository/a/node_modules/nan/nan_scriptorigin.h +76 -0
  142. package/test/examples/source-repository/a/node_modules/nan/nan_string_bytes.h +305 -0
  143. package/test/examples/source-repository/a/node_modules/nan/nan_typedarray_contents.h +96 -0
  144. package/test/examples/source-repository/a/node_modules/nan/nan_weak.h +437 -0
  145. package/test/examples/source-repository/a/node_modules/nan/package.json +38 -0
  146. package/test/examples/source-repository/a/node_modules/nan/tools/1to2.js +412 -0
  147. package/test/examples/source-repository/a/node_modules/nan/tools/README.md +14 -0
  148. package/test/examples/source-repository/a/node_modules/nan/tools/package.json +19 -0
  149. package/test/examples/source-repository/a/package-lock.json +8 -8
  150. package/test/examples/source-repository/a/package.json +3 -3
  151. package/test/examples/source-repository/b/dist/generated/index.js +1 -1
  152. package/test/examples/source-repository/b/dist/generated/index.js.map +1 -1
  153. package/test/examples/source-repository/b/generated/index.ts +11 -10
  154. package/test/examples/source-repository/b/node_modules/.package-lock.json +57 -4
  155. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/.eslintrc.js +20 -0
  156. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/.prettierignore +4 -0
  157. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/.prettierrc +8 -0
  158. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/CHANGELOG.md +58 -0
  159. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/index.d.ts +5 -0
  160. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/index.js +18 -0
  161. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/index.js.map +1 -0
  162. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.d.ts +19 -0
  163. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js +555 -0
  164. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js.map +1 -0
  165. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/Loadable.d.ts +3 -0
  166. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/Loadable.js +5 -0
  167. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/Loadable.js.map +1 -0
  168. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepository.d.ts +45 -0
  169. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js +176 -0
  170. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js.map +1 -0
  171. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.d.ts +11 -0
  172. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js +9 -0
  173. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js.map +1 -0
  174. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.d.ts +13 -0
  175. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js +19 -0
  176. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js.map +1 -0
  177. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/types.d.ts +221 -0
  178. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/types.js +234 -0
  179. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/types.js.map +1 -0
  180. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/index.ts +5 -0
  181. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/jest.config.js +9 -0
  182. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/package.json +42 -0
  183. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/FlattenedSourceGraph.ts +702 -0
  184. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/Loadable.ts +2 -0
  185. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/SourceRepository.ts +250 -0
  186. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/SourceRepositoryFilter.ts +15 -0
  187. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/sourceGraphTypes.ts +14 -0
  188. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/types.ts +236 -0
  189. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/tsconfig.json +19 -0
  190. package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/types/@dagrejs/graphlib.d.ts +1 -0
  191. package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/CHANGELOG.md +13 -0
  192. package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/dist/src/Fs.d.ts +23 -0
  193. package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/dist/src/Fs.js +67 -0
  194. package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/dist/src/Fs.js.map +1 -1
  195. package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/dist/src/GitUtil.d.ts +297 -10
  196. package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/dist/src/GitUtil.js +349 -112
  197. package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/dist/src/GitUtil.js.map +1 -1
  198. package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/dist/src/cmd.d.ts +10 -1
  199. package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/dist/src/cmd.js +91 -48
  200. package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/dist/src/cmd.js.map +1 -1
  201. package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/package.json +2 -2
  202. package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/src/Fs.ts +75 -0
  203. package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/src/GitUtil.ts +248 -110
  204. package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/src/cmd.ts +84 -59
  205. package/test/examples/source-repository/b/node_modules/bindings/LICENSE.md +22 -0
  206. package/test/examples/source-repository/b/node_modules/bindings/README.md +98 -0
  207. package/test/examples/source-repository/b/node_modules/bindings/bindings.js +221 -0
  208. package/test/examples/source-repository/b/node_modules/bindings/package.json +28 -0
  209. package/test/examples/source-repository/b/node_modules/file-uri-to-path/.travis.yml +30 -0
  210. package/test/examples/source-repository/b/node_modules/file-uri-to-path/History.md +21 -0
  211. package/test/examples/source-repository/b/node_modules/file-uri-to-path/LICENSE +20 -0
  212. package/test/examples/source-repository/b/node_modules/file-uri-to-path/README.md +74 -0
  213. package/test/examples/source-repository/b/node_modules/file-uri-to-path/index.d.ts +2 -0
  214. package/test/examples/source-repository/b/node_modules/file-uri-to-path/index.js +66 -0
  215. package/test/examples/source-repository/b/node_modules/file-uri-to-path/package.json +32 -0
  216. package/test/examples/source-repository/b/node_modules/file-uri-to-path/test/test.js +24 -0
  217. package/test/examples/source-repository/b/node_modules/file-uri-to-path/test/tests.json +13 -0
  218. package/test/examples/source-repository/b/node_modules/fsevents/LICENSE +22 -0
  219. package/test/examples/source-repository/b/node_modules/fsevents/README.md +89 -0
  220. package/test/examples/source-repository/b/node_modules/fsevents/fsevents.d.ts +46 -0
  221. package/test/examples/source-repository/b/node_modules/fsevents/fsevents.js +83 -0
  222. package/test/examples/source-repository/b/node_modules/fsevents/fsevents.node +0 -0
  223. package/test/examples/source-repository/b/node_modules/fsevents/package.json +62 -0
  224. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/.travis.yml +103 -0
  225. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/ISSUE_TEMPLATE.md +8 -0
  226. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/LICENSE +22 -0
  227. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/Readme.md +78 -0
  228. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/binding.gyp +21 -0
  229. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/.target.mk +53 -0
  230. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Makefile +352 -0
  231. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/.node.d +1 -0
  232. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/obj.target/fse/fsevents.o.d.raw +75 -0
  233. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.node +0 -0
  234. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/binding.Makefile +6 -0
  235. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/fse.target.mk +188 -0
  236. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/gyp-mac-tool +772 -0
  237. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/fsevents.cc +88 -0
  238. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/fsevents.js +106 -0
  239. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/install.js +13 -0
  240. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/package.json +34 -0
  241. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/async.cc +43 -0
  242. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/constants.cc +110 -0
  243. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/methods.cc +44 -0
  244. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/storage.cc +27 -0
  245. package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/thread.cc +71 -0
  246. package/test/examples/source-repository/b/node_modules/nan/CHANGELOG.md +557 -0
  247. package/test/examples/source-repository/b/node_modules/nan/CMakeLists.txt +138 -0
  248. package/test/examples/source-repository/b/node_modules/nan/LICENSE.md +9 -0
  249. package/test/examples/source-repository/b/node_modules/nan/README.md +456 -0
  250. package/test/examples/source-repository/b/node_modules/nan/doc/asyncworker.md +146 -0
  251. package/test/examples/source-repository/b/node_modules/nan/doc/buffers.md +54 -0
  252. package/test/examples/source-repository/b/node_modules/nan/doc/callback.md +76 -0
  253. package/test/examples/source-repository/b/node_modules/nan/doc/converters.md +41 -0
  254. package/test/examples/source-repository/b/node_modules/nan/doc/errors.md +226 -0
  255. package/test/examples/source-repository/b/node_modules/nan/doc/json.md +62 -0
  256. package/test/examples/source-repository/b/node_modules/nan/doc/maybe_types.md +583 -0
  257. package/test/examples/source-repository/b/node_modules/nan/doc/methods.md +672 -0
  258. package/test/examples/source-repository/b/node_modules/nan/doc/new.md +147 -0
  259. package/test/examples/source-repository/b/node_modules/nan/doc/node_misc.md +123 -0
  260. package/test/examples/source-repository/b/node_modules/nan/doc/object_wrappers.md +263 -0
  261. package/test/examples/source-repository/b/node_modules/nan/doc/persistent.md +296 -0
  262. package/test/examples/source-repository/b/node_modules/nan/doc/scopes.md +73 -0
  263. package/test/examples/source-repository/b/node_modules/nan/doc/script.md +58 -0
  264. package/test/examples/source-repository/b/node_modules/nan/doc/string_bytes.md +62 -0
  265. package/test/examples/source-repository/b/node_modules/nan/doc/v8_internals.md +199 -0
  266. package/test/examples/source-repository/b/node_modules/nan/doc/v8_misc.md +85 -0
  267. package/test/examples/source-repository/b/node_modules/nan/include_dirs.js +1 -0
  268. package/test/examples/source-repository/b/node_modules/nan/nan.h +2958 -0
  269. package/test/examples/source-repository/b/node_modules/nan/nan_callbacks.h +92 -0
  270. package/test/examples/source-repository/b/node_modules/nan/nan_callbacks_12_inl.h +520 -0
  271. package/test/examples/source-repository/b/node_modules/nan/nan_callbacks_pre_12_inl.h +520 -0
  272. package/test/examples/source-repository/b/node_modules/nan/nan_converters.h +72 -0
  273. package/test/examples/source-repository/b/node_modules/nan/nan_converters_43_inl.h +68 -0
  274. package/test/examples/source-repository/b/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
  275. package/test/examples/source-repository/b/node_modules/nan/nan_define_own_property_helper.h +29 -0
  276. package/test/examples/source-repository/b/node_modules/nan/nan_implementation_12_inl.h +430 -0
  277. package/test/examples/source-repository/b/node_modules/nan/nan_implementation_pre_12_inl.h +263 -0
  278. package/test/examples/source-repository/b/node_modules/nan/nan_json.h +166 -0
  279. package/test/examples/source-repository/b/node_modules/nan/nan_maybe_43_inl.h +356 -0
  280. package/test/examples/source-repository/b/node_modules/nan/nan_maybe_pre_43_inl.h +268 -0
  281. package/test/examples/source-repository/b/node_modules/nan/nan_new.h +340 -0
  282. package/test/examples/source-repository/b/node_modules/nan/nan_object_wrap.h +156 -0
  283. package/test/examples/source-repository/b/node_modules/nan/nan_persistent_12_inl.h +132 -0
  284. package/test/examples/source-repository/b/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
  285. package/test/examples/source-repository/b/node_modules/nan/nan_private.h +73 -0
  286. package/test/examples/source-repository/b/node_modules/nan/nan_scriptorigin.h +76 -0
  287. package/test/examples/source-repository/b/node_modules/nan/nan_string_bytes.h +305 -0
  288. package/test/examples/source-repository/b/node_modules/nan/nan_typedarray_contents.h +96 -0
  289. package/test/examples/source-repository/b/node_modules/nan/nan_weak.h +437 -0
  290. package/test/examples/source-repository/b/node_modules/nan/package.json +38 -0
  291. package/test/examples/source-repository/b/node_modules/nan/tools/1to2.js +412 -0
  292. package/test/examples/source-repository/b/node_modules/nan/tools/README.md +14 -0
  293. package/test/examples/source-repository/b/node_modules/nan/tools/package.json +19 -0
  294. package/test/examples/source-repository/b/package-lock.json +6 -6
  295. package/test/examples/source-repository/b/package.json +3 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlattenedSourceGraph.js","sourceRoot":"","sources":["../../src/FlattenedSourceGraph.ts"],"names":[],"mappings":";;;AAAA,8CAA+C;AAC/C,iCASiB;AACjB,wCAA+C;AAC/C,uCAAqD;AACrD,mEAAmF;AACnF,uDAAwD;AASxD,SAAgB,kBAAkB,CAChC,WAAkB,EAClB,WAA6C;IAE7C,IAAM,oBAAoB,GAAyB;QACjD,SAAS,EAAE,EAAE;QACb,WAAW,EAAE,EAAE;QACf,OAAO,EAAE,EAAE;QACX,UAAU,EAAE,EAAE;KACf,CAAC;IACF,IAAM,4BAA4B,GAAG,IAAI,4BAAoB,CAAC,uBAAuB,EAAE,UAAU,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnH,WAAW,CAAC,OAAO,CAAC,kCAAuB,EAAE,4BAA4B,CAAC,CAAC;IAC3E,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,gEAAuC,CAAC,EAAE;QACjE,WAAW,CAAC,OAAO,CACjB,gEAAuC,EACvC,IAAI,4BAAoB,CACtB,uBAAuB,EACvB,wBAAwB,EACxB,EAAE,EACF,EAAE,EACF,EAAE,EACF,CAAC,4BAA4B,CAAC,CAC/B,CACF,CAAC;QACF,WAAW,CAAC,OAAO,CACjB,gEAAuC,EACvC,kCAAuB,EACvB,qCAAkB,CAAC,gBAAgB,CACpC,CAAC;KACH;IACD,cAAc,CAAC,WAAW,EAAE,WAAW,EAAE,oBAAoB,CAAC,CAAC;IAC/D,eAAe,CAAC,WAAW,EAAE,WAAW,EAAE,oBAAoB,CAAC,CAAC;IAChE,iBAAiB,CAAC,oBAAoB,EAAE,WAAW,CAAC,CAAC;IACrD,iBAAiB,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,KAAA,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,UAAU,CAAC,EAA5C,cAA4C,EAA5C,IAA4C,EAAE;QAArE,IAAM,aAAa,SAAA;QACtB,IAAM,UAAU,GAAG,oBAAoB,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;QAClE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,kCAAuB,CAAC,IAAI,aAAa,IAAI,kCAAuB,EAAE;YAC/F,OAAO,oBAAoB,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;SACvD;KACF;AACH,CAAC"}
@@ -0,0 +1,3 @@
1
+ export interface Loadable {
2
+ }
3
+ export declare const LOADABLE_QUALIFIED_NAME = "@proteinjs/reflection/Loadable";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LOADABLE_QUALIFIED_NAME = void 0;
4
+ exports.LOADABLE_QUALIFIED_NAME = '@proteinjs/reflection/Loadable';
5
+ //# sourceMappingURL=Loadable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Loadable.js","sourceRoot":"","sources":["../../src/Loadable.ts"],"names":[],"mappings":";;;AACa,QAAA,uBAAuB,GAAG,gCAAgC,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { Graph } from '@dagrejs/graphlib';
2
+ import { Class, Variable, TypeAlias, Interface } from './types';
3
+ import { FlattenedSourceGraph } from './FlattenedSourceGraph';
4
+ declare type TypeMap = {
5
+ [qualifiedName: string]: Interface | TypeAlias | Class | Variable;
6
+ };
7
+ export declare class SourceRepository {
8
+ readonly sourceGraph: Graph;
9
+ private readonly sourceLinks;
10
+ flattenedSourceGraph: FlattenedSourceGraph;
11
+ private readonly objectCache;
12
+ private constructor();
13
+ static get(): SourceRepository;
14
+ private static getGlobal;
15
+ interface(qualifiedInterfaceName: string): Interface;
16
+ interfaceExtends(_interface: Interface, type: string): boolean;
17
+ /**
18
+ * Same as SourceRepository.objects except assumes it will find only 1 object.
19
+ *
20
+ * @param extendingType a Type or Interface that the Class or Variable extends
21
+ * @return variable or instantiated class that extends `extendingType`
22
+ */
23
+ object<T>(extendingType: string): T;
24
+ /**
25
+ * @param extendingType a Type, Interface, or Class that the Class or Variable extends
26
+ * @return variables and instantiated classes that extend `extendingType`
27
+ */
28
+ objects<T>(extendingType: string): T[];
29
+ /**
30
+ * @param extendingType a Type, Interface, or Class that the Class or Variable extends
31
+ * @returns a hashmap (key is qualified name) of base child types (vs the instantiated objects provided by the objects method) that extend `extendingType`
32
+ */
33
+ baseChildren(extendingType: string): TypeMap;
34
+ /**
35
+ * @param extendingType a Type, Interface, or Class that the Class or Variable extends
36
+ * @returns a hashmap (key is qualified name) of direct child types (vs the instantiated objects provided by the objects method) that extend `extendingType`
37
+ */
38
+ directChildren(extendingType: string): TypeMap;
39
+ private filterObjects;
40
+ static merge(serializedSourceGraph: string, sourceLinks: {
41
+ [qualifiedName: string]: any;
42
+ }): void;
43
+ private static deserializeClass;
44
+ }
45
+ export {};
@@ -0,0 +1,176 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SourceRepository = void 0;
4
+ var graphlib_1 = require("@dagrejs/graphlib");
5
+ var util_1 = require("@proteinjs/util");
6
+ var sourceGraphTypes_1 = require("./sourceGraphTypes");
7
+ var types_1 = require("./types");
8
+ var FlattenedSourceGraph_1 = require("./FlattenedSourceGraph");
9
+ var SourceRepositoryFilter_1 = require("./SourceRepositoryFilter");
10
+ var SourceRepository = /** @class */ (function () {
11
+ function SourceRepository() {
12
+ this.sourceGraph = new graphlib_1.Graph();
13
+ this.sourceLinks = {};
14
+ this.flattenedSourceGraph = { variables: {}, typeAliases: {}, classes: {}, interfaces: {} };
15
+ // private readonly typeCache: { [type: string]: (ClassDeclaration|VariableDeclaration)[] } = {};
16
+ this.objectCache = {};
17
+ }
18
+ SourceRepository.get = function () {
19
+ if (!SourceRepository.getGlobal().__proteinjs_reflection_SourceRepository) {
20
+ SourceRepository.getGlobal().__proteinjs_reflection_SourceRepository = new SourceRepository();
21
+ }
22
+ return SourceRepository.getGlobal().__proteinjs_reflection_SourceRepository;
23
+ };
24
+ SourceRepository.getGlobal = function () {
25
+ if (typeof window !== 'undefined') {
26
+ return window;
27
+ }
28
+ return globalThis;
29
+ };
30
+ SourceRepository.prototype.interface = function (qualifiedInterfaceName) {
31
+ return this.flattenedSourceGraph.interfaces[qualifiedInterfaceName];
32
+ };
33
+ SourceRepository.prototype.interfaceExtends = function (_interface, type) {
34
+ return typeof _interface.allParents[type] !== 'undefined';
35
+ };
36
+ /**
37
+ * Same as SourceRepository.objects except assumes it will find only 1 object.
38
+ *
39
+ * @param extendingType a Type or Interface that the Class or Variable extends
40
+ * @return variable or instantiated class that extends `extendingType`
41
+ */
42
+ SourceRepository.prototype.object = function (extendingType) {
43
+ return this.objects(extendingType)[0];
44
+ };
45
+ /**
46
+ * @param extendingType a Type, Interface, or Class that the Class or Variable extends
47
+ * @return variables and instantiated classes that extend `extendingType`
48
+ */
49
+ SourceRepository.prototype.objects = function (extendingType) {
50
+ if (this.objectCache[extendingType]) {
51
+ return this.objectCache[extendingType];
52
+ }
53
+ var baseChildren = this.baseChildren(extendingType);
54
+ var extendingObjects = [];
55
+ for (var baseChildQualifiedName in baseChildren) {
56
+ var child = baseChildren[baseChildQualifiedName];
57
+ if (util_1.isInstanceOf(child, types_1.Class)) {
58
+ extendingObjects.push(new child._constructor());
59
+ }
60
+ else if (util_1.isInstanceOf(child, types_1.Variable)) {
61
+ extendingObjects.push(child.value);
62
+ }
63
+ }
64
+ this.objectCache[extendingType] = extendingObjects;
65
+ return extendingObjects;
66
+ };
67
+ /**
68
+ * @param extendingType a Type, Interface, or Class that the Class or Variable extends
69
+ * @returns a hashmap (key is qualified name) of base child types (vs the instantiated objects provided by the objects method) that extend `extendingType`
70
+ */
71
+ SourceRepository.prototype.baseChildren = function (extendingType) {
72
+ var _interface = SourceRepository.get().flattenedSourceGraph.interfaces[extendingType];
73
+ var typeAlias = SourceRepository.get().flattenedSourceGraph.typeAliases[extendingType];
74
+ var _class = SourceRepository.get().flattenedSourceGraph.classes[extendingType];
75
+ var baseChildren;
76
+ if (_interface) {
77
+ baseChildren = _interface.baseChildren;
78
+ }
79
+ else if (typeAlias) {
80
+ baseChildren = typeAlias.baseChildren;
81
+ }
82
+ else if (_class) {
83
+ baseChildren = _class.baseChildren;
84
+ }
85
+ else {
86
+ throw new Error("Unable to find type: " + extendingType);
87
+ }
88
+ if (extendingType === SourceRepositoryFilter_1.SOURCE_REPOSITORY_FILTER_QUALIFIED_NAME) {
89
+ return baseChildren;
90
+ }
91
+ return this.filterObjects(baseChildren);
92
+ };
93
+ /**
94
+ * @param extendingType a Type, Interface, or Class that the Class or Variable extends
95
+ * @returns a hashmap (key is qualified name) of direct child types (vs the instantiated objects provided by the objects method) that extend `extendingType`
96
+ */
97
+ SourceRepository.prototype.directChildren = function (extendingType) {
98
+ var _interface = SourceRepository.get().flattenedSourceGraph.interfaces[extendingType];
99
+ var typeAlias = SourceRepository.get().flattenedSourceGraph.typeAliases[extendingType];
100
+ var _class = SourceRepository.get().flattenedSourceGraph.classes[extendingType];
101
+ var directChildren;
102
+ if (_interface) {
103
+ directChildren = _interface.directChildren;
104
+ }
105
+ else if (typeAlias) {
106
+ directChildren = typeAlias.directChildren;
107
+ }
108
+ else if (_class) {
109
+ directChildren = _class.directChildren;
110
+ }
111
+ else {
112
+ throw new Error("Unable to find type: " + extendingType);
113
+ }
114
+ if (extendingType === SourceRepositoryFilter_1.SOURCE_REPOSITORY_FILTER_QUALIFIED_NAME) {
115
+ return directChildren;
116
+ }
117
+ return this.filterObjects(directChildren);
118
+ };
119
+ SourceRepository.prototype.filterObjects = function (typeMap) {
120
+ var filteredTypeMap = {};
121
+ var filters = SourceRepositoryFilter_1.getSourceRepositoryFilters();
122
+ for (var _i = 0, _a = Object.keys(typeMap); _i < _a.length; _i++) {
123
+ var qualifiedName = _a[_i];
124
+ var packageScope = typeMap[qualifiedName];
125
+ var filtered = true;
126
+ for (var _b = 0, filters_1 = filters; _b < filters_1.length; _b++) {
127
+ var filter = filters_1[_b];
128
+ if (!filter.filterObject(qualifiedName)) {
129
+ filtered = false;
130
+ break;
131
+ }
132
+ }
133
+ if (filtered) {
134
+ filteredTypeMap[qualifiedName] = packageScope;
135
+ }
136
+ }
137
+ return filteredTypeMap;
138
+ };
139
+ SourceRepository.merge = function (serializedSourceGraph, sourceLinks) {
140
+ var unescapedSerializedSourceGraph = serializedSourceGraph.replace(/\\'/g, "'");
141
+ var sourceGraph = util_1.graphSerializer.deserialize(unescapedSerializedSourceGraph);
142
+ for (var _i = 0, _a = sourceGraph.nodes(); _i < _a.length; _i++) {
143
+ var nodeName = _a[_i];
144
+ var nodeValue = sourceGraph.node(nodeName);
145
+ if (!nodeValue) {
146
+ continue;
147
+ }
148
+ SourceRepository.get().sourceGraph.setNode(nodeName, SourceRepository.deserializeClass(nodeValue));
149
+ }
150
+ for (var _b = 0, _c = sourceGraph.edges(); _b < _c.length; _b++) {
151
+ var edge = _c[_b];
152
+ var edgeValue = sourceGraph.edge(edge);
153
+ SourceRepository.get().sourceGraph.setEdge(edge, edgeValue);
154
+ }
155
+ Object.assign(SourceRepository.get().sourceLinks, sourceLinks);
156
+ SourceRepository.get().flattenedSourceGraph = FlattenedSourceGraph_1.flattenSourceGraph(SourceRepository.get().sourceGraph, SourceRepository.get().sourceLinks);
157
+ };
158
+ SourceRepository.deserializeClass = function (classJson) {
159
+ if (classJson.sourceType === sourceGraphTypes_1.SourceType.variable) {
160
+ return types_1.VariableDeclaration.deserialize(classJson);
161
+ }
162
+ else if (classJson.sourceType === sourceGraphTypes_1.SourceType.typeAlias) {
163
+ return types_1.TypeAliasDeclaration.deserialize(classJson);
164
+ }
165
+ else if (classJson.sourceType === sourceGraphTypes_1.SourceType.class) {
166
+ return types_1.ClassDeclaration.deserialize(classJson);
167
+ }
168
+ else if (classJson.sourceType === sourceGraphTypes_1.SourceType.interface) {
169
+ return types_1.InterfaceDeclaration.deserialize(classJson);
170
+ }
171
+ return classJson;
172
+ };
173
+ return SourceRepository;
174
+ }());
175
+ exports.SourceRepository = SourceRepository;
176
+ //# sourceMappingURL=SourceRepository.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourceRepository.js","sourceRoot":"","sources":["../../src/SourceRepository.ts"],"names":[],"mappings":";;;AAAA,8CAA0C;AAC1C,wCAAgE;AAChE,uDAAgD;AAChD,iCAUiB;AACjB,+DAAkF;AAClF,mEAA+G;AAI/G;IAOE;QANgB,gBAAW,GAAG,IAAI,gBAAK,EAAE,CAAC;QACzB,gBAAW,GAAqC,EAAE,CAAC;QAC7D,yBAAoB,GAAyB,EAAE,SAAS,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;QACpH,iGAAiG;QAChF,gBAAW,GAA8B,EAAE,CAAC;IAEtC,CAAC;IAEjB,oBAAG,GAAV;QACE,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,uCAAuC,EAAE;YACzE,gBAAgB,CAAC,SAAS,EAAE,CAAC,uCAAuC,GAAG,IAAI,gBAAgB,EAAE,CAAC;SAC/F;QAED,OAAO,gBAAgB,CAAC,SAAS,EAAE,CAAC,uCAAuC,CAAC;IAC9E,CAAC;IAEc,0BAAS,GAAxB;QACE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;YACjC,OAAO,MAAM,CAAC;SACf;QAED,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,oCAAS,GAAT,UAAU,sBAA8B;QACtC,OAAO,IAAI,CAAC,oBAAoB,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC;IACtE,CAAC;IAED,2CAAgB,GAAhB,UAAiB,UAAqB,EAAE,IAAY;QAClD,OAAO,OAAO,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,WAAW,CAAC;IAC5D,CAAC;IAED;;;;;OAKG;IACH,i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IFIED_NAME = "@proteinjs/reflection/SourceRepositoryFilter";
3
+ export declare const getSourceRepositoryFilters: () => SourceRepositoryFilter[];
4
+ export interface SourceRepositoryFilter extends Loadable {
5
+ /**
6
+ * Filter objects that would be returned by `SourceRepository.object` and `SourceRepository.objects`
7
+ * @param qualifiedName the package-qualified name of the object to be filtered (ie. `@dependency/package/ClassName`)
8
+ * @return true if the object should be returned by the `SourceRepository`
9
+ */
10
+ filterObject(qualifiedName: string): boolean;
11
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getSourceRepositoryFilters = exports.SOURCE_REPOSITORY_FILTER_QUALIFIED_NAME = void 0;
4
+ var SourceRepository_1 = require("./SourceRepository");
5
+ exports.SOURCE_REPOSITORY_FILTER_QUALIFIED_NAME = '@proteinjs/reflection/SourceRepositoryFilter';
6
+ exports.getSourceRepositoryFilters = function () {
7
+ return SourceRepository_1.SourceRepository.get().objects(exports.SOURCE_REPOSITORY_FILTER_QUALIFIED_NAME);
8
+ };
9
+ //# sourceMappingURL=SourceRepositoryFilter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourceRepositoryFilter.js","sourceRoot":"","sources":["../../src/SourceRepositoryFilter.ts"],"names":[],"mappings":";;;AACA,uDAAsD;AAEzC,QAAA,uCAAuC,GAAG,8CAA8C,CAAC;AACzF,QAAA,0BAA0B,GAAG;IACxC,OAAA,mCAAgB,CAAC,GAAG,EAAE,CAAC,OAAO,CAAyB,+CAAuC,CAAC;AAA/F,CAA+F,CAAC"}
@@ -0,0 +1,13 @@
1
+ export declare enum SourceType {
2
+ variable = 0,
3
+ typeAlias = 1,
4
+ class = 2,
5
+ interface = 3
6
+ }
7
+ export declare enum SourceRelationship {
8
+ hasType = "has type",
9
+ extendsType = "extends type",
10
+ extendsClass = "extends class",
11
+ implementsInterface = "implements interface",
12
+ extendsInterface = "extends interface"
13
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SourceRelationship = exports.SourceType = void 0;
4
+ var SourceType;
5
+ (function (SourceType) {
6
+ SourceType[SourceType["variable"] = 0] = "variable";
7
+ SourceType[SourceType["typeAlias"] = 1] = "typeAlias";
8
+ SourceType[SourceType["class"] = 2] = "class";
9
+ SourceType[SourceType["interface"] = 3] = "interface";
10
+ })(SourceType = exports.SourceType || (exports.SourceType = {}));
11
+ var SourceRelationship;
12
+ (function (SourceRelationship) {
13
+ SourceRelationship["hasType"] = "has type";
14
+ SourceRelationship["extendsType"] = "extends type";
15
+ SourceRelationship["extendsClass"] = "extends class";
16
+ SourceRelationship["implementsInterface"] = "implements interface";
17
+ SourceRelationship["extendsInterface"] = "extends interface";
18
+ })(SourceRelationship = exports.SourceRelationship || (exports.SourceRelationship = {}));
19
+ //# sourceMappingURL=sourceGraphTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sourceGraphTypes.js","sourceRoot":"","sources":["../../src/sourceGraphTypes.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,mDAAQ,CAAA;IACR,qDAAS,CAAA;IACT,6CAAK,CAAA;IACL,qDAAS,CAAA;AACX,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB;AAED,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC5B,0CAAoB,CAAA;IACpB,kDAA4B,CAAA;IAC5B,oDAA8B,CAAA;IAC9B,kEAA4C,CAAA;IAC5C,4DAAsC,CAAA;AACxC,CAAC,EANW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAM7B"}
@@ -0,0 +1,221 @@
1
+ export declare abstract class PackageScope {
2
+ readonly packageName: string;
3
+ readonly name: string;
4
+ readonly filePath?: string | undefined;
5
+ readonly qualifiedName: string;
6
+ constructor(packageName: string, name: string, filePath?: string | undefined);
7
+ }
8
+ export declare class Variable extends PackageScope {
9
+ readonly isExported: boolean;
10
+ readonly isConst: boolean;
11
+ readonly value: any;
12
+ readonly typeParameters: {
13
+ [qualifiedName: string]: (TypeAlias | Interface)[];
14
+ };
15
+ directParentTypes: {
16
+ [qualifiedName: string]: TypeAlias | Interface;
17
+ };
18
+ allParentTypes: {
19
+ [qualifiedName: string]: TypeAlias | Interface;
20
+ };
21
+ rootParentTypes: {
22
+ [qualifiedName: string]: TypeAlias | Interface;
23
+ };
24
+ constructor(packageName: string, name: string, filePath: string, isExported: boolean, isConst: boolean, value: any, typeParameters?: {
25
+ [qualifiedName: string]: (TypeAlias | Interface)[];
26
+ }, directParentTypes?: {
27
+ [qualifiedName: string]: TypeAlias | Interface;
28
+ }, allParentTypes?: {
29
+ [qualifiedName: string]: TypeAlias | Interface;
30
+ }, rootParentTypes?: {
31
+ [qualifiedName: string]: TypeAlias | Interface;
32
+ });
33
+ }
34
+ export declare class TypeAlias extends PackageScope {
35
+ readonly typeParameters: {
36
+ [qualifiedName: string]: (TypeAlias | Interface)[];
37
+ };
38
+ readonly directParents: {
39
+ [qualifiedName: string]: TypeAlias | Interface;
40
+ };
41
+ allParents: {
42
+ [qualifiedName: string]: TypeAlias | Interface;
43
+ };
44
+ rootParents: {
45
+ [qualifiedName: string]: TypeAlias | Interface;
46
+ };
47
+ directChildren: {
48
+ [qualifiedName: string]: TypeAlias | Variable;
49
+ };
50
+ allChildren: {
51
+ [qualifiedName: string]: TypeAlias | Variable;
52
+ };
53
+ baseChildren: {
54
+ [qualifiedName: string]: TypeAlias | Variable;
55
+ };
56
+ constructor(packageName: string, name: string, filePath?: string, typeParameters?: {
57
+ [qualifiedName: string]: (TypeAlias | Interface)[];
58
+ }, directParents?: {
59
+ [qualifiedName: string]: TypeAlias | Interface;
60
+ }, allParents?: {
61
+ [qualifiedName: string]: TypeAlias | Interface;
62
+ }, rootParents?: {
63
+ [qualifiedName: string]: TypeAlias | Interface;
64
+ }, directChildren?: {
65
+ [qualifiedName: string]: TypeAlias | Variable;
66
+ }, allChildren?: {
67
+ [qualifiedName: string]: TypeAlias | Variable;
68
+ }, baseChildren?: {
69
+ [qualifiedName: string]: TypeAlias | Variable;
70
+ });
71
+ }
72
+ export declare class Class extends PackageScope {
73
+ readonly isAbstract: boolean;
74
+ readonly isStatic: boolean;
75
+ readonly visibility: Visibility;
76
+ readonly properties: Property[];
77
+ readonly methods: Method[];
78
+ readonly _constructor: any;
79
+ readonly directParents: {
80
+ [qualifiedName: string]: Class | Interface | TypeAlias;
81
+ };
82
+ readonly typeParameters: {
83
+ [qualifiedName: string]: (TypeAlias | Interface | TypeAlias)[];
84
+ };
85
+ allParents: {
86
+ [qualifiedName: string]: Class | Interface | TypeAlias;
87
+ };
88
+ rootParents: {
89
+ [qualifiedName: string]: Class | Interface | TypeAlias;
90
+ };
91
+ directChildren: {
92
+ [qualifiedName: string]: Class;
93
+ };
94
+ allChildren: {
95
+ [qualifiedName: string]: Class;
96
+ };
97
+ baseChildren: {
98
+ [qualifiedName: string]: Class;
99
+ };
100
+ constructor(packageName: string, name: string, filePath: string, isAbstract: boolean, isStatic: boolean, visibility: Visibility, properties: Property[], methods: Method[], _constructor: any, directParents?: {
101
+ [qualifiedName: string]: Class | Interface | TypeAlias;
102
+ }, typeParameters?: {
103
+ [qualifiedName: string]: (TypeAlias | Interface | TypeAlias)[];
104
+ }, allParents?: {
105
+ [qualifiedName: string]: Class | Interface | TypeAlias;
106
+ }, rootParents?: {
107
+ [qualifiedName: string]: Class | Interface | TypeAlias;
108
+ }, directChildren?: {
109
+ [qualifiedName: string]: Class;
110
+ }, allChildren?: {
111
+ [qualifiedName: string]: Class;
112
+ }, baseChildren?: {
113
+ [qualifiedName: string]: Class;
114
+ });
115
+ }
116
+ export declare class Interface extends PackageScope {
117
+ readonly properties: Property[];
118
+ readonly methods: Method[];
119
+ readonly typeParameters: {
120
+ [qualifiedName: string]: (TypeAlias | Interface)[];
121
+ };
122
+ readonly directParents: {
123
+ [qualifiedName: string]: Interface | TypeAlias;
124
+ };
125
+ allParents: {
126
+ [qualifiedName: string]: Interface | TypeAlias;
127
+ };
128
+ rootParents: {
129
+ [qualifiedName: string]: Interface | TypeAlias;
130
+ };
131
+ readonly directChildren: {
132
+ [qualifiedName: string]: Interface | TypeAlias | Class | Variable;
133
+ };
134
+ allChildren: {
135
+ [qualifiedName: string]: Interface | TypeAlias | Class | Variable;
136
+ };
137
+ baseChildren: {
138
+ [qualifiedName: string]: Interface | TypeAlias | Class | Variable;
139
+ };
140
+ constructor(packageName: string, name: string, properties: Property[], methods: Method[], filePath?: string, typeParameters?: {
141
+ [qualifiedName: string]: (TypeAlias | Interface)[];
142
+ }, directParents?: {
143
+ [qualifiedName: string]: Interface | TypeAlias;
144
+ }, allParents?: {
145
+ [qualifiedName: string]: Interface | TypeAlias;
146
+ }, rootParents?: {
147
+ [qualifiedName: string]: Interface | TypeAlias;
148
+ }, directChildren?: {
149
+ [qualifiedName: string]: Interface | TypeAlias | Class | Variable;
150
+ }, allChildren?: {
151
+ [qualifiedName: string]: Interface | TypeAlias | Class | Variable;
152
+ }, baseChildren?: {
153
+ [qualifiedName: string]: Interface | TypeAlias | Class | Variable;
154
+ });
155
+ }
156
+ export declare class Method {
157
+ readonly name: string;
158
+ readonly returnType: TypeAliasDeclaration | undefined;
159
+ readonly isAsync: boolean;
160
+ readonly isOptional: boolean;
161
+ readonly isAbstract: boolean;
162
+ readonly isStatic: boolean;
163
+ readonly visibility: Visibility;
164
+ readonly parameters: Parameter[];
165
+ constructor(name: string, returnType: TypeAliasDeclaration | undefined, isAsync: boolean, isOptional: boolean, isAbstract: boolean, isStatic: boolean, visibility: Visibility, parameters: Parameter[]);
166
+ }
167
+ export declare type Visibility = 'public' | 'protected' | 'private' | undefined;
168
+ export declare class Property {
169
+ readonly name: string;
170
+ readonly type: TypeAliasDeclaration | undefined;
171
+ readonly isOptional: boolean;
172
+ readonly isAbstract: boolean;
173
+ readonly isStatic: boolean;
174
+ readonly visibility: Visibility;
175
+ constructor(name: string, type: TypeAliasDeclaration | undefined, isOptional: boolean, isAbstract: boolean, isStatic: boolean, visibility: Visibility);
176
+ }
177
+ export declare class Parameter {
178
+ readonly name: string;
179
+ readonly type: TypeAliasDeclaration | undefined;
180
+ constructor(name: string, type: TypeAliasDeclaration | undefined);
181
+ }
182
+ /**
183
+ * Declarations are intermediary types created by the parser. They do not contain the deeply-nested, relational
184
+ * information possible at runtime.
185
+ *
186
+ * Note: The declaration types specified in typescript-parser are not used because they are not package-scoped.
187
+ * The typescript-parser package is a file-level parser, and reflection is a package-level parser.
188
+ */
189
+ export declare class VariableDeclaration extends PackageScope {
190
+ type: TypeAliasDeclaration;
191
+ isExported: boolean;
192
+ isConst: boolean;
193
+ constructor(packageName: string, name: string, filePath: string, type: TypeAliasDeclaration, isExported: boolean, isConst: boolean);
194
+ static deserialize(json: any): VariableDeclaration;
195
+ }
196
+ export declare class TypeAliasDeclaration extends PackageScope {
197
+ typeParameters?: string[] | undefined;
198
+ directParents?: TypeAliasDeclaration[] | undefined;
199
+ constructor(packageName: string, name: string, typeParameters?: string[] | undefined, directParents?: TypeAliasDeclaration[] | undefined, filePath?: string);
200
+ static deserialize(json: any): TypeAliasDeclaration;
201
+ }
202
+ export declare class ClassDeclaration extends PackageScope {
203
+ readonly isAbstract: boolean;
204
+ readonly isStatic: boolean;
205
+ readonly visibility: Visibility;
206
+ readonly properties: Property[];
207
+ readonly methods: Method[];
208
+ readonly typeParameters: string[];
209
+ readonly directParentInterfaces: InterfaceDeclaration[];
210
+ readonly directParentClasses: ClassDeclaration[];
211
+ constructor(packageName: string, name: string, isAbstract: boolean, isStatic: boolean, visibility: Visibility, properties: Property[], methods: Method[], typeParameters: string[], directParentInterfaces: InterfaceDeclaration[], directParentClasses: ClassDeclaration[], filePath?: string);
212
+ static deserialize(json: any): ClassDeclaration;
213
+ }
214
+ export declare class InterfaceDeclaration extends PackageScope {
215
+ readonly properties: Property[];
216
+ readonly methods: Method[];
217
+ readonly typeParameters: string[];
218
+ readonly directParents: InterfaceDeclaration[];
219
+ constructor(packageName: string, name: string, properties: Property[], methods: Method[], typeParameters: string[], directParents: InterfaceDeclaration[], filePath?: string);
220
+ static deserialize(json: any): InterfaceDeclaration;
221
+ }