gina 0.3.2 → 0.3.3
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 +29 -0
- package/README.md +18 -8
- package/ROADMAP.md +10 -9
- package/framework/v0.3.3/VERSION +1 -0
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/README.md +7 -8
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/toolbar.html +1 -1
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/html/toolbar.html.br +0 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/html/toolbar.html.gz +0 -0
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +2 -0
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +103 -0
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/js/gina.js +293 -201
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js +21636 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +286 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- package/framework/{v0.3.2 → v0.3.3}/core/config.js +6 -1
- package/framework/{v0.3.2 → v0.3.3}/core/connectors/mysql/index.js +52 -0
- package/framework/{v0.3.2 → v0.3.3}/core/connectors/postgresql/index.js +45 -0
- package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/index.js +46 -0
- package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.js +1 -1
- package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/types/multipart.js +2 -1
- package/framework/v0.3.3/core/deps/streamsearch-1.1.0/LICENSE +19 -0
- package/framework/v0.3.3/core/deps/streamsearch-1.1.0/lib/sbmh.js +267 -0
- package/framework/v0.3.3/core/deps/streamsearch-1.1.0/package.json +34 -0
- package/framework/{v0.3.2 → v0.3.3}/core/gna.js +30 -30
- package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/src/main.js +3 -3
- package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/src/main.js +34 -29
- package/framework/{v0.3.2 → v0.3.3}/core/server.isaac.js +77 -13
- package/framework/{v0.3.2 → v0.3.3}/core/server.js +66 -18
- package/framework/{v0.3.2 → v0.3.3}/helpers/json/src/main.js +14 -1
- package/framework/{v0.3.2 → v0.3.3}/lib/cache/src/main.js +2 -2
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/aliases.json +3 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/arguments.json +2 -1
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/help.txt +21 -1
- package/framework/v0.3.3/lib/cmd/bundle/oas.js +6 -0
- package/framework/v0.3.3/lib/cmd/bundle/openapi.js +519 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/start.js +4 -1
- package/framework/v0.3.3/lib/cmd/framework/get.js +98 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/help.txt +8 -3
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/help.txt +7 -2
- package/framework/v0.3.3/lib/cmd/port/set.js +348 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/collection/src/main.js +4 -4
- package/framework/{v0.3.2 → v0.3.3}/lib/index.js +1 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/listener.js +2 -2
- package/framework/v0.3.3/lib/uuid/package.json +7 -0
- package/framework/v0.3.3/lib/uuid/src/main.js +99 -0
- package/framework/v0.3.3/package.json +8 -0
- package/gna.js +86 -0
- package/llms.txt +94 -4
- package/package.json +107 -101
- package/types/globals.d.ts +205 -0
- package/types/gna.d.ts +67 -0
- package/types/index.d.ts +566 -0
- package/framework/v0.3.2/VERSION +0 -1
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/html/toolbar.html.br +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/html/toolbar.html.gz +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -532
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -8
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- package/framework/v0.3.2/core/deps/swig-1.4.2/CONTRIBUTING.md +0 -107
- package/framework/v0.3.2/core/deps/swig-1.4.2/HISTORY.md +0 -498
- package/framework/v0.3.2/core/deps/swig-1.4.2/LICENSE +0 -7
- package/framework/v0.3.2/core/deps/swig-1.4.2/Makefile +0 -192
- package/framework/v0.3.2/core/deps/swig-1.4.2/README.md +0 -88
- package/framework/v0.3.2/core/deps/swig-1.4.2/bin/swig.js +0 -161
- package/framework/v0.3.2/core/deps/swig-1.4.2/browser/comments.js +0 -2
- package/framework/v0.3.2/core/deps/swig-1.4.2/browser/index.js +0 -9
- package/framework/v0.3.2/core/deps/swig-1.4.2/dist/swig.min.js +0 -7
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/api.html +0 -136
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/browser.html +0 -36
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/cli.html +0 -64
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/extending.html +0 -183
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/filters.html +0 -97
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/includes/TYPES.html +0 -0
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/includes/macros.html +0 -9
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/index.html +0 -212
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/layout.html +0 -43
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/loaders.html +0 -106
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/previous.html +0 -25
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/tags.html +0 -72
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs.json +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/index.html +0 -98
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/index.json +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/js/lib/rainbow.min.js +0 -11
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/js/master.js +0 -106
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/layouts/html5.html +0 -25
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/layouts/master.html +0 -59
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/button.less +0 -22
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/fork.less +0 -23
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/header.less +0 -61
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/layout.less +0 -96
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/mixins.less +0 -268
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/rainbow.less +0 -58
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/reset.less +0 -250
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/sidenav.less +0 -16
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/swig.less +0 -124
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/variables.less +0 -42
- package/framework/v0.3.2/core/deps/swig-1.4.2/index.js +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/dateformatter.js +0 -198
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/filters.js +0 -630
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/lexer.js +0 -306
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/filesystem.js +0 -59
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/index.js +0 -53
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/memory.js +0 -63
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/parser.js +0 -744
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/swig.js +0 -740
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/autoescape.js +0 -37
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/block.js +0 -25
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/else.js +0 -25
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/elseif.js +0 -28
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/extends.js +0 -19
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/filter.js +0 -68
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/for.js +0 -130
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/if.js +0 -86
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/import.js +0 -91
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/include.js +0 -100
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/index.js +0 -16
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/macro.js +0 -79
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/parent.js +0 -51
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/raw.js +0 -23
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/set.js +0 -109
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/spaceless.js +0 -42
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/utils.js +0 -184
- package/framework/v0.3.2/core/deps/swig-1.4.2/package.json +0 -41
- package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/config-lint.js +0 -41
- package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/githooks/post-merge +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/githooks/pre-commit +0 -59
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/basic.test.js +0 -296
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.filters.js +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.locals.js +0 -5
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.locals.json +0 -7
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.tags.js +0 -15
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.test.js +0 -159
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_filter.bin.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_tag.bin.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_tagControls.bin.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_varControls.bin.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/options.js +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_1.expectation.html +0 -6
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_1.test.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_2.expectation.html +0 -6
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_2.test.html +0 -5
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_base.html +0 -6
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_4.base.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_4.middle.html +0 -2
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_bare.html +0 -2
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_base.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_include.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_real_base.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_set.expectation.html +0 -6
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_set.test.html +0 -4
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_3.expectation.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_3.test.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_4.expectation.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_4.test.html +0 -2
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/import.expectation.html +0 -24
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/import.test.html +0 -10
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include.expectation.html +0 -24
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include.test.html +0 -13
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_bar.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_extends.expectation.html +0 -4
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_extends.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/includes.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.expectation.html +0 -8
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.html +0 -23
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.test.html +0 -11
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks.expectation.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks.test.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks_parent.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent-parent.expectation.html +0 -8
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent-parent.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent.expectation.html +0 -8
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent.test.html +0 -9
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/set.expectation.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/set.test.html +0 -8
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/circular.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/circular_parent.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/extends-non-existent.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/report-filename-partial.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/report-filename.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/comments.test.js +0 -12
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/filters.test.js +0 -316
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/loaders.test.js +0 -119
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/regressions.test.js +0 -41
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/autoescape.test.js +0 -45
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/else.test.js +0 -61
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/extend.test.js +0 -11
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/filter.test.js +0 -29
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/for.test.js +0 -63
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/if.test.js +0 -75
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/import.test.js +0 -15
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/include.test.js +0 -26
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/macro.test.js +0 -38
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/parent.test.js +0 -14
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/raw.test.js +0 -33
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/set.test.js +0 -56
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/spaceless.test.js +0 -26
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags.test.js +0 -56
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/templates.test.js +0 -62
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/variables.test.js +0 -183
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/whitespace.test.js +0 -43
- package/framework/v0.3.2/lib/cmd/framework/get.js +0 -0
- package/framework/v0.3.2/lib/cmd/port/set.js +0 -0
- package/framework/v0.3.2/package.json +0 -5
- /package/framework/{v0.3.2 → v0.3.3}/AUTHORS +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/html/static.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/ai/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/ai/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v2.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v4.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v2.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/mysql/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/postgresql/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/redis/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/redis/lib/session-store.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sql-parser.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/lib/session-store.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/content.encoding +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-json.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-stream.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-swig.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-v1.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/types/urlencoded.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/utils.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/readme.markdown +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/swig-client/swig-2.0.0.min.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/swig-client/swig.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/dev/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/currency.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/mime.types +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/model/entity.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/model/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/model/template/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/src/form-validator.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/router.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/server.express.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/status.codes +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/_gitignore +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/connectors.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/watchers.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/home.css +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/env.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/settings.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/console.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/context.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/data/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/data/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/data/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/json/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/json/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/path.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/prototypes.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/task.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/text.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/async/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/async/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cache/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cache/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cache/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/build.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/copy.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/remove.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/rename.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/restart.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/status.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/cache/stats.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/arguments.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/init.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/link.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/restart.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/start.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/status.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/stop.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/tail.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/update.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/version.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina-framework.1.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/helper.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/open.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/minion/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/minion/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/arguments.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/remove.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/rename.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/status.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/set.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/link-production.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/view/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/collection/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/collection/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/collection/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/config.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cron/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cron/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/2025-03-14_13-41-20_UTC.dat +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat.br +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat.gz +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/generator/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/lib/logrotator/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/lib/logrotator/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/math/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/merge/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/merge/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/merge/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/model.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/proc.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/src/radix.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/session-store.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/shell.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/state.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/url/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/url/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/url/routing.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/validator.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/watcher/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/watcher/src/main.js +0 -0
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* onGinaLoaded
|
|
4
|
+
*
|
|
5
|
+
* Used in the framework to load gina from the Super controller
|
|
6
|
+
*
|
|
7
|
+
* NB.:
|
|
8
|
+
* - This file is built appart
|
|
9
|
+
* - On change, you have to restart the bundle !!
|
|
10
|
+
*
|
|
11
|
+
* Must be placed before gina <script> tag
|
|
12
|
+
*
|
|
13
|
+
* Instructions for closure compiler: https://github.com/google/closure-compiler/wiki/@suppress-annotations
|
|
14
|
+
* */
|
|
15
|
+
|
|
16
|
+
window['originalContext'] = null;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* onGinaLoaded
|
|
20
|
+
* By modifying this portion of code, yo have to restart the bundle to apply changes
|
|
21
|
+
* @param {object} gina
|
|
22
|
+
*
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
window['onGinaLoaded'] = function(gina) {
|
|
26
|
+
|
|
27
|
+
if (!gina) {
|
|
28
|
+
//console.debug('gina not ready yet');
|
|
29
|
+
return false
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
if ( gina["isFrameworkLoaded"] ) {
|
|
33
|
+
return true
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
var options = {
|
|
37
|
+
/**@js_externs bundle*/
|
|
38
|
+
'bundle': '{{ page.environment.bundle }}',
|
|
39
|
+
/**@js_externs env*/
|
|
40
|
+
'env' : '{{ page.environment.env }}',
|
|
41
|
+
/**@js_externs envIsDev*/
|
|
42
|
+
'envIsDev' : ( /^true$/.test('{{ page.environment.envIsDev }}') ) ? true : false,
|
|
43
|
+
/**@js_externs scope*/
|
|
44
|
+
'scope' : '{{ page.environment.scope }}',
|
|
45
|
+
/**@js_externs scopeIsLocal*/
|
|
46
|
+
'scopeIsLocal' : ( /^true$/.test('{{ page.environment.scopeIsLocal }}') ) ? true : false,
|
|
47
|
+
/**@js_externs scopeIsProduction*/
|
|
48
|
+
'scopeIsProduction' : ( /^true$/.test('{{ page.environment.scopeIsProduction }}') ) ? true : false,
|
|
49
|
+
/**@js_externs isProxyHost*/
|
|
50
|
+
'isProxyHost' : ( /^true$/.test('{{ page.environment.isProxyHost }}') ) ? true : false,
|
|
51
|
+
/**@js_externs hostname*/
|
|
52
|
+
'hostname': '{{ page.environment.hostname }}',
|
|
53
|
+
/**@js_externs routing*/
|
|
54
|
+
'routing': JSON.parse(decodeURIComponent('{{ page.environment.routing }}')),
|
|
55
|
+
/**@js_externs reverseRouting*/
|
|
56
|
+
'reverseRouting': JSON.parse(decodeURIComponent('{{ page.environment.reverseRouting }}')),
|
|
57
|
+
/**@js_externs forms*/
|
|
58
|
+
//'forms': JSON.parse(decodeURIComponent('{{ page.environment.forms }}')),
|
|
59
|
+
/**@js_externs version*/
|
|
60
|
+
version : '{{ page.environment.version }}',
|
|
61
|
+
/**@js_externs webroot*/
|
|
62
|
+
'webroot' : '{{ page.environment.webroot }}',
|
|
63
|
+
/**@js_externs protocol*/
|
|
64
|
+
'protocol' : '{{ page.environment.protocol }}'
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
if (
|
|
68
|
+
typeof(gina['config']['routing']) != 'undefined'
|
|
69
|
+
&& gina['config']['routing'].count() > 0
|
|
70
|
+
&& typeof(gina['config']['reverseRouting']) != 'undefined'
|
|
71
|
+
&& !gina['config']['reverseRouting'].count()
|
|
72
|
+
||
|
|
73
|
+
typeof(gina['config']['routing']) != 'undefined'
|
|
74
|
+
&& gina['config']['routing'].count() > 0
|
|
75
|
+
&& typeof(gina['config']['reverseRouting']) == 'undefined'
|
|
76
|
+
) {
|
|
77
|
+
// console.debug('[REQUIRED] reverseRouting');
|
|
78
|
+
var routing = gina['config']['routing'];
|
|
79
|
+
var reverseRouting = {};
|
|
80
|
+
for (let rule in routing) {
|
|
81
|
+
// Route filtering is done on server side (server.js)
|
|
82
|
+
if ( /\,/.test(routing[rule].url) ) {
|
|
83
|
+
let urls = routing[rule].url.split(/\,/g);
|
|
84
|
+
let r = 0;
|
|
85
|
+
let rLen = urls.length;
|
|
86
|
+
for (; r < rLen; ++r) {
|
|
87
|
+
reverseRouting[ urls[r] ] = rule
|
|
88
|
+
}
|
|
89
|
+
} else {
|
|
90
|
+
reverseRouting[ routing[rule].url ] = rule
|
|
91
|
+
}
|
|
92
|
+
}// EO for (let rule in routing)
|
|
93
|
+
|
|
94
|
+
gina['config']['reverseRouting'] = reverseRouting;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
// Overriding in case of already defined config
|
|
99
|
+
if ( typeof(gina['config']) != 'undefined' ) {
|
|
100
|
+
for (let prop in gina['config'] ) {
|
|
101
|
+
options[prop] = gina['config'][prop];
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
gina['config'] = options;
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
if ( /^true$/i.test(options.isProxyHost) ) {
|
|
108
|
+
/**@js_externs proxyHost*/
|
|
109
|
+
options['proxyHost'] = gina['config']['proxyHost'] = '{{ page.environment.proxyHost }}';
|
|
110
|
+
/**@js_externs proxyHostname*/
|
|
111
|
+
options['proxyHostname'] = gina['config']['proxyHostname'] = '{{ page.environment.proxyHostname }}';
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* getTimeout
|
|
116
|
+
* Get session timeout
|
|
117
|
+
*
|
|
118
|
+
* @param {object} _this - `gina.session`
|
|
119
|
+
*
|
|
120
|
+
* @returns {date} extpiresAt
|
|
121
|
+
*/
|
|
122
|
+
var getTimeout = function(_this) {
|
|
123
|
+
if (!_this['lastModified']) {
|
|
124
|
+
return null;
|
|
125
|
+
}
|
|
126
|
+
if ( _this['lastModified'] && typeof(_this['lastModified']) == 'string' ) {
|
|
127
|
+
_this['lastModified'] = new Date(_this['lastModified']);
|
|
128
|
+
}
|
|
129
|
+
if ( _this['createdAt'] && typeof(_this['createdAt']) == 'string' ) {
|
|
130
|
+
_this['createdAt'] = new Date(_this['createdAt']);
|
|
131
|
+
}
|
|
132
|
+
if ( _this['originalTimeout'] && typeof(_this['originalTimeout']) == 'string' ) {
|
|
133
|
+
_this['originalTimeout'] = parseInt(_this['originalTimeout']);
|
|
134
|
+
}
|
|
135
|
+
_this['expiresAt'] = new Date(new Date(_this['lastModified']).getTime() + _this['originalTimeout'])
|
|
136
|
+
|
|
137
|
+
return _this['expiresAt'] - new Date();
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
gina['session'] = {
|
|
141
|
+
/**@js_externs id*/
|
|
142
|
+
'id' : '{{ page.data.session.id }}' || null,
|
|
143
|
+
/**@js_externs originalTimeout*/
|
|
144
|
+
'originalTimeout' : '{{ page.data.session.timeout }}' || (1000 * 60 * 5),
|
|
145
|
+
/**@js_externs createdAt*/
|
|
146
|
+
'createdAt' : '{{ page.data.session.createdAt }}' || null,
|
|
147
|
+
/**@js_externs lastModified*/
|
|
148
|
+
'lastModified' : '{{ page.data.session.lastModified }}' || null,
|
|
149
|
+
/**@js_externs expiresAt*/
|
|
150
|
+
'expiresAt' : null
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
gina['session'].__defineGetter__("timeout", function () {
|
|
154
|
+
return getTimeout(this);
|
|
155
|
+
});
|
|
156
|
+
// trigger timeout assignment - will trigger a compilation warning
|
|
157
|
+
gina['session'].timeout;
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* getRouting
|
|
163
|
+
*
|
|
164
|
+
* @param {string} [bundle|rule] - Where rule is <route@bundle>
|
|
165
|
+
*
|
|
166
|
+
* @returns {Object} routing
|
|
167
|
+
*/
|
|
168
|
+
gina['config']['getRouting'] = function(bundle) {
|
|
169
|
+
|
|
170
|
+
var routes = {};
|
|
171
|
+
var routing = gina['config']['routing'];
|
|
172
|
+
|
|
173
|
+
if ( typeof(bundle) == 'undefined' ) {
|
|
174
|
+
return routing;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// // In case we need route from another bundle
|
|
178
|
+
// // This should only get exposed routes
|
|
179
|
+
// if ( bundle != gina['config']['bundle'] ) {
|
|
180
|
+
// // _gina/routes/get/<rule>
|
|
181
|
+
|
|
182
|
+
// // Add to current routing
|
|
183
|
+
// }
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
var re = new RegExp("\\@" + bundle + String.fromCharCode(36)); // Closure compiler requirements: $ -> String.fromCharCode(36)
|
|
187
|
+
|
|
188
|
+
// var route = null;
|
|
189
|
+
for (var route in routing) {
|
|
190
|
+
if ( re.test(route) )
|
|
191
|
+
routes[route] = routing[route]
|
|
192
|
+
}
|
|
193
|
+
re = null;
|
|
194
|
+
|
|
195
|
+
return (routes['count']() > 0) ? routes : null
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
// Globals
|
|
199
|
+
window['GINA_ENV'] = '{{ page.environment.env }}';
|
|
200
|
+
window['GINA_ENV_IS_DEV'] = /^true$/i.test('{{ page.environment.envIsDev }}') ? true: false;
|
|
201
|
+
if (
|
|
202
|
+
typeof(location.search) != 'undefined' && /debug\=/i.test(location.search)
|
|
203
|
+
||
|
|
204
|
+
!location.search && /\?/.test(location.href)
|
|
205
|
+
) {
|
|
206
|
+
// Deep copy
|
|
207
|
+
var search = (' ' + location.search).slice(1);
|
|
208
|
+
if (!search && /\?/.test(location.href) ) {
|
|
209
|
+
search = location.href.match(/\?.*/);
|
|
210
|
+
if (Array.isArray(search) && search.length > 0) {
|
|
211
|
+
search = search[0]
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
var matched = search.match(/debug=(true|false)/);
|
|
215
|
+
if (matched) {
|
|
216
|
+
window['GINA_ENV_IS_DEV'] = gina['config']['envIsDev'] = ( /^true$/i.test(matched[0].split(/\=/)[1]) ) ? true: false;
|
|
217
|
+
}
|
|
218
|
+
matched = null;
|
|
219
|
+
search = null;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
gina["isFrameworkLoaded"] = true;
|
|
223
|
+
gina["setOptions"](options);
|
|
224
|
+
|
|
225
|
+
try {
|
|
226
|
+
gina["forms"] = JSON.parse(decodeURIComponent('{{ page.environment.forms }}'));
|
|
227
|
+
} catch (err) {
|
|
228
|
+
throw err
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
// Adding css to the head
|
|
233
|
+
var link = null
|
|
234
|
+
, cssPath = "css/vendor/gina/gina.min.css"
|
|
235
|
+
;
|
|
236
|
+
|
|
237
|
+
// check if css has not been added yet
|
|
238
|
+
var links = document.head.getElementsByTagName('link')
|
|
239
|
+
, i = 0
|
|
240
|
+
, len = links.length
|
|
241
|
+
, found = false
|
|
242
|
+
, re = new RegExp(cssPath)
|
|
243
|
+
;
|
|
244
|
+
|
|
245
|
+
for (; i < len; ++i ) {
|
|
246
|
+
if ( re.test(links[i].href) ) {
|
|
247
|
+
found = true;
|
|
248
|
+
break
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
links = null;
|
|
252
|
+
i = null;
|
|
253
|
+
len = null;
|
|
254
|
+
re = null;
|
|
255
|
+
|
|
256
|
+
if (!found) { // add css
|
|
257
|
+
link = document.createElement('link');
|
|
258
|
+
link.href = options['webroot'] + cssPath;
|
|
259
|
+
link.media = "screen";
|
|
260
|
+
link.rel = "stylesheet";
|
|
261
|
+
link.type = "text/css";
|
|
262
|
+
|
|
263
|
+
// document.getElementsByTagName('head')[0].appendChild(link);
|
|
264
|
+
var headEls = document.getElementsByTagName('head')[0];
|
|
265
|
+
var existingLinks = headEls.getElementsByTagName('link');
|
|
266
|
+
if (
|
|
267
|
+
existingLinks
|
|
268
|
+
&& typeof(existingLinks.length) != 'undefined'
|
|
269
|
+
&& existingLinks.length > 0
|
|
270
|
+
) {
|
|
271
|
+
// Must be the first link
|
|
272
|
+
// console.debug("placed before");
|
|
273
|
+
headEls.insertBefore(link, existingLinks[0]);
|
|
274
|
+
} else {
|
|
275
|
+
// console.debug("placed after");
|
|
276
|
+
headEls.appendChild(link);
|
|
277
|
+
}
|
|
278
|
+
existingLinks = null;
|
|
279
|
+
headEls = null;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
// removed: toolbar is no longer bundled into gina.min.js
|
|
283
|
+
// In dev mode, statusbar.html provides ginaToolbar via Object.defineProperty shim
|
|
284
|
+
|
|
285
|
+
return true;
|
|
286
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -688,7 +688,12 @@ function Config(opt, contextResetNeeded) {
|
|
|
688
688
|
// even in environments where the MIDDLEWARE file is absent (e.g. containers).
|
|
689
689
|
setContext('gina.version', version);
|
|
690
690
|
|
|
691
|
-
|
|
691
|
+
var _middlewarePath = _( getEnvVar('GINA_FRAMEWORK_DIR') + '/MIDDLEWARE', true);
|
|
692
|
+
if ( fs.existsSync(_middlewarePath) ) {
|
|
693
|
+
self.middleware = middleware = fs.readFileSync(_middlewarePath).toString() || 'none';
|
|
694
|
+
} else {
|
|
695
|
+
self.middleware = middleware = 'none';
|
|
696
|
+
}
|
|
692
697
|
setContext('gina.middleware', middleware);
|
|
693
698
|
|
|
694
699
|
} catch (err) {
|
|
@@ -65,6 +65,8 @@ function Mysql(conn, infos) {
|
|
|
65
65
|
// Keys are lowercase table names; values are [{ name, primary }].
|
|
66
66
|
// null when no indexes.sql exists (grey N/A badge in Inspector).
|
|
67
67
|
var _knownIndexes = null;
|
|
68
|
+
/** @type {boolean} #QI2 — true after live introspection has populated _knownIndexes */
|
|
69
|
+
var _liveIntrospected = false;
|
|
68
70
|
|
|
69
71
|
// -------------------------------------------------------------------------
|
|
70
72
|
// init — load entities + SQL methods
|
|
@@ -140,6 +142,55 @@ function Mysql(conn, infos) {
|
|
|
140
142
|
}
|
|
141
143
|
}
|
|
142
144
|
|
|
145
|
+
// #QI2 — live index introspection listener (dev mode only).
|
|
146
|
+
// The /_gina/indexes endpoint emits this event; the connector responds
|
|
147
|
+
// with live index data from INFORMATION_SCHEMA, updating _knownIndexes
|
|
148
|
+
// so all subsequent QI entries benefit automatically.
|
|
149
|
+
if (envIsDev) {
|
|
150
|
+
process.on('inspector#indexes', function(_cb) {
|
|
151
|
+
if (_liveIntrospected) {
|
|
152
|
+
return _cb(null, 'mysql', infos.database, _knownIndexes);
|
|
153
|
+
}
|
|
154
|
+
try {
|
|
155
|
+
conn.execute(
|
|
156
|
+
'SELECT TABLE_NAME, INDEX_NAME, NON_UNIQUE FROM INFORMATION_SCHEMA.STATISTICS'
|
|
157
|
+
+ ' WHERE TABLE_SCHEMA = ? ORDER BY TABLE_NAME, INDEX_NAME',
|
|
158
|
+
[infos.database],
|
|
159
|
+
function(err, rows) {
|
|
160
|
+
if (err) return _cb(err, 'mysql', infos.database, _knownIndexes);
|
|
161
|
+
var map = {};
|
|
162
|
+
for (var r = 0, rLen = rows.length; r < rLen; r++) {
|
|
163
|
+
var tbl = rows[r].TABLE_NAME.toLowerCase();
|
|
164
|
+
var idx = rows[r].INDEX_NAME;
|
|
165
|
+
if (!map[tbl]) map[tbl] = [];
|
|
166
|
+
// Dedup by index name within the same table
|
|
167
|
+
var dup = false;
|
|
168
|
+
for (var d = 0; d < map[tbl].length; d++) {
|
|
169
|
+
if (map[tbl][d].name === idx) { dup = true; break; }
|
|
170
|
+
}
|
|
171
|
+
if (!dup) {
|
|
172
|
+
map[tbl].push({
|
|
173
|
+
name: idx,
|
|
174
|
+
primary: idx === 'PRIMARY'
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
// Merge live data into _knownIndexes (live wins)
|
|
179
|
+
if (_knownIndexes === null) _knownIndexes = {};
|
|
180
|
+
var tables = Object.keys(map);
|
|
181
|
+
for (var i = 0; i < tables.length; i++) {
|
|
182
|
+
_knownIndexes[tables[i]] = map[tables[i]];
|
|
183
|
+
}
|
|
184
|
+
_liveIntrospected = true;
|
|
185
|
+
_cb(null, 'mysql', infos.database, _knownIndexes);
|
|
186
|
+
}
|
|
187
|
+
);
|
|
188
|
+
} catch (e) {
|
|
189
|
+
_cb(e, 'mysql', infos.database, _knownIndexes);
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
|
|
143
194
|
return entities;
|
|
144
195
|
};
|
|
145
196
|
|
|
@@ -294,6 +345,7 @@ function Mysql(conn, infos) {
|
|
|
294
345
|
resultCount : 0,
|
|
295
346
|
resultSize : 0,
|
|
296
347
|
indexes : _indexes,
|
|
348
|
+
table : _tbl || null,
|
|
297
349
|
error : null,
|
|
298
350
|
source : source || '',
|
|
299
351
|
origin : infos.bundle,
|
|
@@ -65,6 +65,8 @@ function Postgresql(conn, infos) {
|
|
|
65
65
|
// Keys are lowercase table names; values are [{ name, primary }].
|
|
66
66
|
// null when no indexes.sql exists (grey N/A badge in Inspector).
|
|
67
67
|
var _knownIndexes = null;
|
|
68
|
+
/** @type {boolean} #QI2 — true after live introspection has populated _knownIndexes */
|
|
69
|
+
var _liveIntrospected = false;
|
|
68
70
|
|
|
69
71
|
// -------------------------------------------------------------------------
|
|
70
72
|
// init — load entities + SQL methods
|
|
@@ -140,6 +142,48 @@ function Postgresql(conn, infos) {
|
|
|
140
142
|
}
|
|
141
143
|
}
|
|
142
144
|
|
|
145
|
+
// #QI2 — live index introspection listener (dev mode only).
|
|
146
|
+
// The /_gina/indexes endpoint emits this event; the connector responds
|
|
147
|
+
// with live index data from pg_indexes, updating _knownIndexes
|
|
148
|
+
// so all subsequent QI entries benefit automatically.
|
|
149
|
+
if (envIsDev) {
|
|
150
|
+
process.on('inspector#indexes', function(_cb) {
|
|
151
|
+
if (_liveIntrospected) {
|
|
152
|
+
return _cb(null, 'postgresql', infos.database, _knownIndexes);
|
|
153
|
+
}
|
|
154
|
+
try {
|
|
155
|
+
conn.query(
|
|
156
|
+
"SELECT tablename, indexname, indexdef FROM pg_indexes WHERE schemaname = 'public'",
|
|
157
|
+
function(err, result) {
|
|
158
|
+
if (err) return _cb(err, 'postgresql', infos.database, _knownIndexes);
|
|
159
|
+
var map = {};
|
|
160
|
+
var rows = result.rows;
|
|
161
|
+
for (var r = 0, rLen = rows.length; r < rLen; r++) {
|
|
162
|
+
var tbl = rows[r].tablename.toLowerCase();
|
|
163
|
+
var idx = rows[r].indexname;
|
|
164
|
+
var def = rows[r].indexdef || '';
|
|
165
|
+
if (!map[tbl]) map[tbl] = [];
|
|
166
|
+
map[tbl].push({
|
|
167
|
+
name: idx,
|
|
168
|
+
primary: /_pkey$/.test(idx) || /PRIMARY KEY/.test(def)
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
// Merge live data into _knownIndexes (live wins)
|
|
172
|
+
if (_knownIndexes === null) _knownIndexes = {};
|
|
173
|
+
var tables = Object.keys(map);
|
|
174
|
+
for (var i = 0; i < tables.length; i++) {
|
|
175
|
+
_knownIndexes[tables[i]] = map[tables[i]];
|
|
176
|
+
}
|
|
177
|
+
_liveIntrospected = true;
|
|
178
|
+
_cb(null, 'postgresql', infos.database, _knownIndexes);
|
|
179
|
+
}
|
|
180
|
+
);
|
|
181
|
+
} catch (e) {
|
|
182
|
+
_cb(e, 'postgresql', infos.database, _knownIndexes);
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
|
|
143
187
|
return entities;
|
|
144
188
|
};
|
|
145
189
|
|
|
@@ -295,6 +339,7 @@ function Postgresql(conn, infos) {
|
|
|
295
339
|
resultCount : 0,
|
|
296
340
|
resultSize : 0,
|
|
297
341
|
indexes : _indexes,
|
|
342
|
+
table : _tbl || null,
|
|
298
343
|
error : null,
|
|
299
344
|
source : source || '',
|
|
300
345
|
origin : infos.bundle,
|
|
@@ -68,6 +68,8 @@ function Sqlite(conn, infos) {
|
|
|
68
68
|
// Keys are lowercase table names; values are [{ name, primary }].
|
|
69
69
|
// null when no indexes.sql exists (grey N/A badge in Inspector).
|
|
70
70
|
var _knownIndexes = null;
|
|
71
|
+
/** @type {boolean} #QI2 — true after live introspection has populated _knownIndexes */
|
|
72
|
+
var _liveIntrospected = false;
|
|
71
73
|
|
|
72
74
|
// -------------------------------------------------------------------------
|
|
73
75
|
// init — load entities + SQL methods
|
|
@@ -143,6 +145,49 @@ function Sqlite(conn, infos) {
|
|
|
143
145
|
}
|
|
144
146
|
}
|
|
145
147
|
|
|
148
|
+
// #QI2 — live index introspection listener (dev mode only).
|
|
149
|
+
// The /_gina/indexes endpoint emits this event; the connector responds
|
|
150
|
+
// with live index data from PRAGMA index_list, updating _knownIndexes
|
|
151
|
+
// so all subsequent QI entries benefit automatically.
|
|
152
|
+
if (envIsDev) {
|
|
153
|
+
process.on('inspector#indexes', function(_cb) {
|
|
154
|
+
if (_liveIntrospected) {
|
|
155
|
+
return _cb(null, 'sqlite', infos.database, _knownIndexes);
|
|
156
|
+
}
|
|
157
|
+
try {
|
|
158
|
+
var tables = conn.prepare(
|
|
159
|
+
"SELECT name FROM sqlite_master WHERE type='table' AND name NOT LIKE 'sqlite_%'"
|
|
160
|
+
).all();
|
|
161
|
+
var map = {};
|
|
162
|
+
for (var ti = 0; ti < tables.length; ti++) {
|
|
163
|
+
var tbl = tables[ti].name.toLowerCase();
|
|
164
|
+
var idxList = conn.prepare(
|
|
165
|
+
'PRAGMA index_list("' + tables[ti].name + '")'
|
|
166
|
+
).all();
|
|
167
|
+
if (idxList.length > 0) {
|
|
168
|
+
map[tbl] = [];
|
|
169
|
+
for (var ii = 0; ii < idxList.length; ii++) {
|
|
170
|
+
map[tbl].push({
|
|
171
|
+
name: idxList[ii].name,
|
|
172
|
+
primary: idxList[ii].origin === 'pk'
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
// Merge live data into _knownIndexes (live wins)
|
|
178
|
+
if (_knownIndexes === null) _knownIndexes = {};
|
|
179
|
+
var mapTables = Object.keys(map);
|
|
180
|
+
for (var i = 0; i < mapTables.length; i++) {
|
|
181
|
+
_knownIndexes[mapTables[i]] = map[mapTables[i]];
|
|
182
|
+
}
|
|
183
|
+
_liveIntrospected = true;
|
|
184
|
+
_cb(null, 'sqlite', infos.database, _knownIndexes);
|
|
185
|
+
} catch (e) {
|
|
186
|
+
_cb(e, 'sqlite', infos.database, _knownIndexes);
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
|
|
146
191
|
return entities;
|
|
147
192
|
};
|
|
148
193
|
|
|
@@ -329,6 +374,7 @@ function Sqlite(conn, infos) {
|
|
|
329
374
|
resultCount : 0,
|
|
330
375
|
resultSize : 0,
|
|
331
376
|
indexes : _indexes,
|
|
377
|
+
table : _tbl || null,
|
|
332
378
|
error : null,
|
|
333
379
|
source : source || '',
|
|
334
380
|
origin : infos.bundle,
|
|
@@ -53,7 +53,7 @@ var routingLib = lib.routing;
|
|
|
53
53
|
// removed: Domain import + domainLib instantiation — domainLib was never used in active code
|
|
54
54
|
// (only usage at line 508 is commented out); re-instantiating Domain on every dev-mode request
|
|
55
55
|
// via refreshCoreDependencies() caused [DOMAIN] PSL Loaded ×2 noise per request
|
|
56
|
-
var swig = require('
|
|
56
|
+
var swig = require('@rhinostone/swig');
|
|
57
57
|
const { type } = require('node:os');
|
|
58
58
|
var SwigFilters = lib.SwigFilters;
|
|
59
59
|
var statusCodes = requireJSON( _( getPath('gina').core + '/status.codes') );
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright Brian White. All rights reserved.
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
of this software and associated documentation files (the "Software"), to
|
|
5
|
+
deal in the Software without restriction, including without limitation the
|
|
6
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7
|
+
sell copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
|
11
|
+
all copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
18
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
19
|
+
IN THE SOFTWARE.
|