@proteinjs/reflection-build 1.4.2 → 1.4.4
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.
- package/CHANGELOG.md +11 -0
- package/{test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/LICENSE → LICENSE} +5 -6
- package/dist/test/examples/source-repository/a/generated/index.js +1 -1
- package/dist/test/examples/source-repository/a/generated/index.js.map +1 -1
- package/dist/test/examples/source-repository/b/generated/index.js +1 -1
- package/dist/test/examples/source-repository/b/generated/index.js.map +1 -1
- package/package.json +8 -7
- package/test/examples/source-repository/a/dist/generated/index.js +1 -1
- package/test/examples/source-repository/a/dist/generated/index.js.map +1 -1
- package/test/examples/source-repository/a/generated/index.ts +38 -33
- package/test/examples/source-repository/a/node_modules/.package-lock.json +16 -73
- package/test/examples/source-repository/a/node_modules/@proteinjs/util/CHANGELOG.md +11 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/util/dist/src/isInstanceOf.d.ts +1 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/util/dist/src/isInstanceOf.js +0 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/util/dist/src/isInstanceOf.js.map +1 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/util/package.json +2 -2
- package/test/examples/source-repository/a/node_modules/@proteinjs/util/src/isInstanceOf.ts +1 -2
- package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/CHANGELOG.md +8 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/package.json +3 -3
- package/test/examples/source-repository/a/package-lock.json +20 -24
- package/test/examples/source-repository/a/package.json +5 -5
- package/test/examples/source-repository/b/dist/generated/index.js +1 -1
- package/test/examples/source-repository/b/dist/generated/index.js.map +1 -1
- package/test/examples/source-repository/b/generated/index.ts +10 -11
- package/test/examples/source-repository/b/node_modules/.package-lock.json +12 -69
- package/test/examples/source-repository/b/node_modules/@proteinjs/util/CHANGELOG.md +11 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/util/dist/src/isInstanceOf.d.ts +1 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/util/dist/src/isInstanceOf.js +0 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/util/dist/src/isInstanceOf.js.map +1 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/util/package.json +2 -2
- package/test/examples/source-repository/b/node_modules/@proteinjs/util/src/isInstanceOf.ts +1 -2
- package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/CHANGELOG.md +8 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/package.json +3 -3
- package/test/examples/source-repository/b/package-lock.json +16 -20
- package/test/examples/source-repository/b/package.json +5 -5
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/.eslintrc.js +0 -20
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/.prettierignore +0 -4
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/.prettierrc +0 -8
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/CHANGELOG.md +0 -58
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/index.d.ts +0 -5
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/index.js +0 -18
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/index.js.map +0 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.d.ts +0 -19
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js +0 -555
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js.map +0 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/Loadable.d.ts +0 -3
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/Loadable.js +0 -5
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/Loadable.js.map +0 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepository.d.ts +0 -45
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js +0 -176
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js.map +0 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.d.ts +0 -11
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js +0 -9
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js.map +0 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.d.ts +0 -13
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js +0 -19
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js.map +0 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/types.d.ts +0 -221
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/types.js +0 -234
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/dist/src/types.js.map +0 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/index.ts +0 -5
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/jest.config.js +0 -9
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/package.json +0 -42
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/FlattenedSourceGraph.ts +0 -702
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/Loadable.ts +0 -2
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/SourceRepository.ts +0 -250
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/SourceRepositoryFilter.ts +0 -15
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/sourceGraphTypes.ts +0 -14
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/src/types.ts +0 -236
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/tsconfig.json +0 -19
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/types/@dagrejs/graphlib.d.ts +0 -1
- package/test/examples/source-repository/a/node_modules/bindings/LICENSE.md +0 -22
- package/test/examples/source-repository/a/node_modules/bindings/README.md +0 -98
- package/test/examples/source-repository/a/node_modules/bindings/bindings.js +0 -221
- package/test/examples/source-repository/a/node_modules/bindings/package.json +0 -28
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/.travis.yml +0 -30
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/History.md +0 -21
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/LICENSE +0 -20
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/README.md +0 -74
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/index.d.ts +0 -2
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/index.js +0 -66
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/package.json +0 -32
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/test/test.js +0 -24
- package/test/examples/source-repository/a/node_modules/file-uri-to-path/test/tests.json +0 -13
- package/test/examples/source-repository/a/node_modules/fsevents/LICENSE +0 -22
- package/test/examples/source-repository/a/node_modules/fsevents/README.md +0 -89
- package/test/examples/source-repository/a/node_modules/fsevents/fsevents.d.ts +0 -46
- package/test/examples/source-repository/a/node_modules/fsevents/fsevents.js +0 -83
- package/test/examples/source-repository/a/node_modules/fsevents/fsevents.node +0 -0
- package/test/examples/source-repository/a/node_modules/fsevents/package.json +0 -62
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/.travis.yml +0 -103
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/ISSUE_TEMPLATE.md +0 -8
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/Readme.md +0 -78
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/binding.gyp +0 -21
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/.target.mk +0 -53
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Makefile +0 -352
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/.node.d +0 -1
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/obj.target/fse/fsevents.o.d.raw +0 -79
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.node +0 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/binding.Makefile +0 -6
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/fse.target.mk +0 -191
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/gyp-mac-tool +0 -766
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/fsevents.cc +0 -88
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/fsevents.js +0 -106
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/install.js +0 -13
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/package.json +0 -34
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/async.cc +0 -43
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/constants.cc +0 -110
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/methods.cc +0 -44
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/storage.cc +0 -27
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/src/thread.cc +0 -71
- package/test/examples/source-repository/a/node_modules/nan/CHANGELOG.md +0 -557
- package/test/examples/source-repository/a/node_modules/nan/CMakeLists.txt +0 -138
- package/test/examples/source-repository/a/node_modules/nan/LICENSE.md +0 -9
- package/test/examples/source-repository/a/node_modules/nan/README.md +0 -456
- package/test/examples/source-repository/a/node_modules/nan/doc/asyncworker.md +0 -146
- package/test/examples/source-repository/a/node_modules/nan/doc/buffers.md +0 -54
- package/test/examples/source-repository/a/node_modules/nan/doc/callback.md +0 -76
- package/test/examples/source-repository/a/node_modules/nan/doc/converters.md +0 -41
- package/test/examples/source-repository/a/node_modules/nan/doc/errors.md +0 -226
- package/test/examples/source-repository/a/node_modules/nan/doc/json.md +0 -62
- package/test/examples/source-repository/a/node_modules/nan/doc/maybe_types.md +0 -583
- package/test/examples/source-repository/a/node_modules/nan/doc/methods.md +0 -672
- package/test/examples/source-repository/a/node_modules/nan/doc/new.md +0 -147
- package/test/examples/source-repository/a/node_modules/nan/doc/node_misc.md +0 -123
- package/test/examples/source-repository/a/node_modules/nan/doc/object_wrappers.md +0 -263
- package/test/examples/source-repository/a/node_modules/nan/doc/persistent.md +0 -296
- package/test/examples/source-repository/a/node_modules/nan/doc/scopes.md +0 -73
- package/test/examples/source-repository/a/node_modules/nan/doc/script.md +0 -58
- package/test/examples/source-repository/a/node_modules/nan/doc/string_bytes.md +0 -62
- package/test/examples/source-repository/a/node_modules/nan/doc/v8_internals.md +0 -199
- package/test/examples/source-repository/a/node_modules/nan/doc/v8_misc.md +0 -85
- package/test/examples/source-repository/a/node_modules/nan/include_dirs.js +0 -1
- package/test/examples/source-repository/a/node_modules/nan/nan.h +0 -2958
- package/test/examples/source-repository/a/node_modules/nan/nan_callbacks.h +0 -92
- package/test/examples/source-repository/a/node_modules/nan/nan_callbacks_12_inl.h +0 -520
- package/test/examples/source-repository/a/node_modules/nan/nan_callbacks_pre_12_inl.h +0 -520
- package/test/examples/source-repository/a/node_modules/nan/nan_converters.h +0 -72
- package/test/examples/source-repository/a/node_modules/nan/nan_converters_43_inl.h +0 -68
- package/test/examples/source-repository/a/node_modules/nan/nan_converters_pre_43_inl.h +0 -42
- package/test/examples/source-repository/a/node_modules/nan/nan_define_own_property_helper.h +0 -29
- package/test/examples/source-repository/a/node_modules/nan/nan_implementation_12_inl.h +0 -430
- package/test/examples/source-repository/a/node_modules/nan/nan_implementation_pre_12_inl.h +0 -263
- package/test/examples/source-repository/a/node_modules/nan/nan_json.h +0 -166
- package/test/examples/source-repository/a/node_modules/nan/nan_maybe_43_inl.h +0 -356
- package/test/examples/source-repository/a/node_modules/nan/nan_maybe_pre_43_inl.h +0 -268
- package/test/examples/source-repository/a/node_modules/nan/nan_new.h +0 -340
- package/test/examples/source-repository/a/node_modules/nan/nan_object_wrap.h +0 -156
- package/test/examples/source-repository/a/node_modules/nan/nan_persistent_12_inl.h +0 -132
- package/test/examples/source-repository/a/node_modules/nan/nan_persistent_pre_12_inl.h +0 -242
- package/test/examples/source-repository/a/node_modules/nan/nan_private.h +0 -73
- package/test/examples/source-repository/a/node_modules/nan/nan_scriptorigin.h +0 -76
- package/test/examples/source-repository/a/node_modules/nan/nan_string_bytes.h +0 -305
- package/test/examples/source-repository/a/node_modules/nan/nan_typedarray_contents.h +0 -96
- package/test/examples/source-repository/a/node_modules/nan/nan_weak.h +0 -437
- package/test/examples/source-repository/a/node_modules/nan/package.json +0 -38
- package/test/examples/source-repository/a/node_modules/nan/tools/1to2.js +0 -412
- package/test/examples/source-repository/a/node_modules/nan/tools/README.md +0 -14
- package/test/examples/source-repository/a/node_modules/nan/tools/package.json +0 -19
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/.eslintrc.js +0 -20
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/.prettierignore +0 -4
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/.prettierrc +0 -8
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/CHANGELOG.md +0 -58
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/index.d.ts +0 -5
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/index.js +0 -18
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/index.js.map +0 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.d.ts +0 -19
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js +0 -555
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/FlattenedSourceGraph.js.map +0 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/Loadable.d.ts +0 -3
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/Loadable.js +0 -5
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/Loadable.js.map +0 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepository.d.ts +0 -45
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js +0 -176
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepository.js.map +0 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.d.ts +0 -11
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js +0 -9
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/SourceRepositoryFilter.js.map +0 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.d.ts +0 -13
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js +0 -19
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/sourceGraphTypes.js.map +0 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/types.d.ts +0 -221
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/types.js +0 -234
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/types.js.map +0 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/index.ts +0 -5
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/jest.config.js +0 -9
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/package.json +0 -42
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/FlattenedSourceGraph.ts +0 -702
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/Loadable.ts +0 -2
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/SourceRepository.ts +0 -250
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/SourceRepositoryFilter.ts +0 -15
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/sourceGraphTypes.ts +0 -14
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/src/types.ts +0 -236
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/tsconfig.json +0 -19
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/types/@dagrejs/graphlib.d.ts +0 -1
- package/test/examples/source-repository/b/node_modules/bindings/LICENSE.md +0 -22
- package/test/examples/source-repository/b/node_modules/bindings/README.md +0 -98
- package/test/examples/source-repository/b/node_modules/bindings/bindings.js +0 -221
- package/test/examples/source-repository/b/node_modules/bindings/package.json +0 -28
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/.travis.yml +0 -30
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/History.md +0 -21
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/LICENSE +0 -20
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/README.md +0 -74
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/index.d.ts +0 -2
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/index.js +0 -66
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/package.json +0 -32
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/test/test.js +0 -24
- package/test/examples/source-repository/b/node_modules/file-uri-to-path/test/tests.json +0 -13
- package/test/examples/source-repository/b/node_modules/fsevents/LICENSE +0 -22
- package/test/examples/source-repository/b/node_modules/fsevents/README.md +0 -89
- package/test/examples/source-repository/b/node_modules/fsevents/fsevents.d.ts +0 -46
- package/test/examples/source-repository/b/node_modules/fsevents/fsevents.js +0 -83
- package/test/examples/source-repository/b/node_modules/fsevents/fsevents.node +0 -0
- package/test/examples/source-repository/b/node_modules/fsevents/package.json +0 -62
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/.travis.yml +0 -103
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/ISSUE_TEMPLATE.md +0 -8
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/LICENSE +0 -22
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/Readme.md +0 -78
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/binding.gyp +0 -21
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/.target.mk +0 -53
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Makefile +0 -352
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/.node.d +0 -1
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/obj.target/fse/fsevents.o.d.raw +0 -79
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.node +0 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/binding.Makefile +0 -6
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/fse.target.mk +0 -191
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/gyp-mac-tool +0 -766
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/fsevents.cc +0 -88
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/fsevents.js +0 -106
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/install.js +0 -13
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/package.json +0 -34
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/async.cc +0 -43
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/constants.cc +0 -110
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/methods.cc +0 -44
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/storage.cc +0 -27
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/src/thread.cc +0 -71
- package/test/examples/source-repository/b/node_modules/nan/CHANGELOG.md +0 -557
- package/test/examples/source-repository/b/node_modules/nan/CMakeLists.txt +0 -138
- package/test/examples/source-repository/b/node_modules/nan/LICENSE.md +0 -9
- package/test/examples/source-repository/b/node_modules/nan/README.md +0 -456
- package/test/examples/source-repository/b/node_modules/nan/doc/asyncworker.md +0 -146
- package/test/examples/source-repository/b/node_modules/nan/doc/buffers.md +0 -54
- package/test/examples/source-repository/b/node_modules/nan/doc/callback.md +0 -76
- package/test/examples/source-repository/b/node_modules/nan/doc/converters.md +0 -41
- package/test/examples/source-repository/b/node_modules/nan/doc/errors.md +0 -226
- package/test/examples/source-repository/b/node_modules/nan/doc/json.md +0 -62
- package/test/examples/source-repository/b/node_modules/nan/doc/maybe_types.md +0 -583
- package/test/examples/source-repository/b/node_modules/nan/doc/methods.md +0 -672
- package/test/examples/source-repository/b/node_modules/nan/doc/new.md +0 -147
- package/test/examples/source-repository/b/node_modules/nan/doc/node_misc.md +0 -123
- package/test/examples/source-repository/b/node_modules/nan/doc/object_wrappers.md +0 -263
- package/test/examples/source-repository/b/node_modules/nan/doc/persistent.md +0 -296
- package/test/examples/source-repository/b/node_modules/nan/doc/scopes.md +0 -73
- package/test/examples/source-repository/b/node_modules/nan/doc/script.md +0 -58
- package/test/examples/source-repository/b/node_modules/nan/doc/string_bytes.md +0 -62
- package/test/examples/source-repository/b/node_modules/nan/doc/v8_internals.md +0 -199
- package/test/examples/source-repository/b/node_modules/nan/doc/v8_misc.md +0 -85
- package/test/examples/source-repository/b/node_modules/nan/include_dirs.js +0 -1
- package/test/examples/source-repository/b/node_modules/nan/nan.h +0 -2958
- package/test/examples/source-repository/b/node_modules/nan/nan_callbacks.h +0 -92
- package/test/examples/source-repository/b/node_modules/nan/nan_callbacks_12_inl.h +0 -520
- package/test/examples/source-repository/b/node_modules/nan/nan_callbacks_pre_12_inl.h +0 -520
- package/test/examples/source-repository/b/node_modules/nan/nan_converters.h +0 -72
- package/test/examples/source-repository/b/node_modules/nan/nan_converters_43_inl.h +0 -68
- package/test/examples/source-repository/b/node_modules/nan/nan_converters_pre_43_inl.h +0 -42
- package/test/examples/source-repository/b/node_modules/nan/nan_define_own_property_helper.h +0 -29
- package/test/examples/source-repository/b/node_modules/nan/nan_implementation_12_inl.h +0 -430
- package/test/examples/source-repository/b/node_modules/nan/nan_implementation_pre_12_inl.h +0 -263
- package/test/examples/source-repository/b/node_modules/nan/nan_json.h +0 -166
- package/test/examples/source-repository/b/node_modules/nan/nan_maybe_43_inl.h +0 -356
- package/test/examples/source-repository/b/node_modules/nan/nan_maybe_pre_43_inl.h +0 -268
- package/test/examples/source-repository/b/node_modules/nan/nan_new.h +0 -340
- package/test/examples/source-repository/b/node_modules/nan/nan_object_wrap.h +0 -156
- package/test/examples/source-repository/b/node_modules/nan/nan_persistent_12_inl.h +0 -132
- package/test/examples/source-repository/b/node_modules/nan/nan_persistent_pre_12_inl.h +0 -242
- package/test/examples/source-repository/b/node_modules/nan/nan_private.h +0 -73
- package/test/examples/source-repository/b/node_modules/nan/nan_scriptorigin.h +0 -76
- package/test/examples/source-repository/b/node_modules/nan/nan_string_bytes.h +0 -305
- package/test/examples/source-repository/b/node_modules/nan/nan_typedarray_contents.h +0 -96
- package/test/examples/source-repository/b/node_modules/nan/nan_weak.h +0 -437
- package/test/examples/source-repository/b/node_modules/nan/package.json +0 -38
- package/test/examples/source-repository/b/node_modules/nan/tools/1to2.js +0 -412
- package/test/examples/source-repository/b/node_modules/nan/tools/README.md +0 -14
- package/test/examples/source-repository/b/node_modules/nan/tools/package.json +0 -19
|
@@ -1,45 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,176 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,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,CAC9D,gBAAgB,CAAC,GAAG,EAAE,CAAC,WAAW,EAClC,gBAAgB,CAAC,GAAG,EAAE,CAAC,WAAW,CACnC,CAAC;IACJ,CAAC;IAEc,iCAAgB,GAA/B,UAAgC,SAAc;QAC5C,IAAI,SAAS,CAAC,UAAU,KAAK,6BAAU,CAAC,QAAQ,EAAE;YAChD,OAAO,2BAAmB,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;SACnD;aAAM,IAAI,SAAS,CAAC,UAAU,KAAK,6BAAU,CAAC,SAAS,EAAE;YACxD,OAAO,4BAAoB,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;SACpD;aAAM,IAAI,SAAS,CAAC,UAAU,KAAK,6BAAU,CAAC,KAAK,EAAE;YACpD,OAAO,wBAAgB,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;SAChD;aAAM,IAAI,SAAS,CAAC,UAAU,KAAK,6BAAU,CAAC,SAAS,EAAE;YACxD,OAAO,4BAAoB,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;SACpD;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;IAsDH,uBAAC;AAAD,CAAC,AAtOD,IAsOC;AAtOY,4CAAgB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Loadable } from './Loadable';
|
|
2
|
-
export declare const SOURCE_REPOSITORY_FILTER_QUALIFIED_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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/dist/src/types.d.ts
DELETED
|
@@ -1,221 +0,0 @@
|
|
|
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
|
-
}
|